diff --git a/ChangeLog.md b/ChangeLog.md index 62549f7c5..96b846b26 100755 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,9 @@ +### 18.1.0 + +AdWords: + - Added support and examples for v201705. + - Removed support for AdWords Express (AWX) API. + ### 18.0.0 DFP: diff --git a/examples/AdWords/v201607/Express/AddPromotion.php b/examples/AdWords/v201607/Express/AddPromotion.php deleted file mode 100755 index dfcd34779..000000000 --- a/examples/AdWords/v201607/Express/AddPromotion.php +++ /dev/null @@ -1,122 +0,0 @@ -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 - City of California - $location = new Location(); - $location->id = 21137; - $criteria[] = $location; - - $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/v201607/Express/GetBudgetSuggestion.php b/examples/AdWords/v201607/Express/GetBudgetSuggestion.php deleted file mode 100755 index c84610f62..000000000 --- a/examples/AdWords/v201607/Express/GetBudgetSuggestion.php +++ /dev/null @@ -1,112 +0,0 @@ -GetService('BudgetSuggestionService', - ADWORDS_VERSION); - - $criteria = array(); - - // Create selector. - $selector = new BudgetSuggestionSelector(); - - // Criterion - Travel Agency product/service. - // See GetProductServicesExample.php for an example of how to get valid - // product/service settings. - $productService = new ProductService(); - $productService->text = "Travel Agency"; - $productService->locale = "en_US"; - $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 - Mountain View, California location. - // The ID can be found in the documentation: - // https://developers.google.com/adwords/api/docs/appendix/geotargeting - // https://developers.google.com/adwords/api/docs/appendix/cities-DMAregions - $location = new Location(); - $location->id = 1014044; - $criteria[] = $location; - - $selector->criteria = $criteria; - - $budgetSuggestion = $budgetSuggestionService->get($selector); - - printf( - "Budget suggestion for criteria is:\n" . - " SuggestedBudget=%s\n" . - " Min/MaxBudget=%s/%s\n" . - " Min/MaxCpc=%s/%s\n" . - " CPM=%s\n" . - " CPC=%s\n" . - " Impressions=%d\n", - toString($budgetSuggestion->suggestedBudget), - toString($budgetSuggestion->minBudget), - toString($budgetSuggestion->maxBudget), - toString($budgetSuggestion->minCpc), - toString($budgetSuggestion->maxCpc), - toString($budgetSuggestion->cpm), - toString($budgetSuggestion->cpc), - $budgetSuggestion->impressions - ); -} - -function toString($money) { - if (!$money) return ''; - return strval($money->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. - GetBudgetSuggestionExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201609/Express/AddExpressBusinesses.php b/examples/AdWords/v201609/Express/AddExpressBusinesses.php deleted file mode 100755 index cbc2d12fc..000000000 --- a/examples/AdWords/v201609/Express/AddExpressBusinesses.php +++ /dev/null @@ -1,87 +0,0 @@ -GetService('ExpressBusinessService', - ADWORDS_VERSION); - - $business1 = new ExpressBusiness(); - $business1->status = 'ENABLED'; - $business1->name = 'Express Interplanetary Cruise #' . uniqid(); - $business1->website = 'http://www.example.com/cruise1'; - - $business2 = new ExpressBusiness(); - $business2->status = 'ENABLED'; - $business2->name = 'Express Interplanetary Cruise #' . uniqid(); - $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/v201609/Express/AddPromotion.php b/examples/AdWords/v201609/Express/AddPromotion.php deleted file mode 100755 index 17896aabb..000000000 --- a/examples/AdWords/v201609/Express/AddPromotion.php +++ /dev/null @@ -1,115 +0,0 @@ -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 - City of California - $location = new Location(); - $location->id = 21137; - $criteria[] = $location; - - $marsTourPromotion->criteria = $criteria; - - // Expanded creative - $expandedCreative = new ExpandedCreative( - 'Standard Mars Trip', 'Fly coach to Mars', 'Free in-flight pretzels'); - - $marsTourPromotion->expandedCreative = $expandedCreative; - - $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/v201609/Express/GetBudgetSuggestion.php b/examples/AdWords/v201609/Express/GetBudgetSuggestion.php deleted file mode 100755 index 1c3ae86a2..000000000 --- a/examples/AdWords/v201609/Express/GetBudgetSuggestion.php +++ /dev/null @@ -1,112 +0,0 @@ -GetService('BudgetSuggestionService', - ADWORDS_VERSION); - - $criteria = array(); - - // Create selector. - $selector = new BudgetSuggestionSelector(); - - // Criterion - Travel Agency product/service. - // See GetProductServicesExample.php for an example of how to get valid - // product/service settings. - $productService = new ProductService(); - $productService->text = "Travel Agency"; - $productService->locale = "en_US"; - $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 - Mountain View, California location. - // The ID can be found in the documentation: - // https://developers.google.com/adwords/api/docs/appendix/geotargeting - // https://developers.google.com/adwords/api/docs/appendix/cities-DMAregions - $location = new Location(); - $location->id = 1014044; - $criteria[] = $location; - - $selector->criteria = $criteria; - - $budgetSuggestion = $budgetSuggestionService->get($selector); - - printf( - "Budget suggestion for criteria is:\n" . - " SuggestedBudget=%s\n" . - " Min/MaxBudget=%s/%s\n" . - " Min/MaxCpc=%s/%s\n" . - " CPM=%s\n" . - " CPC=%s\n" . - " Impressions=%d\n", - toString($budgetSuggestion->suggestedBudget), - toString($budgetSuggestion->minBudget), - toString($budgetSuggestion->maxBudget), - toString($budgetSuggestion->minCpc), - toString($budgetSuggestion->maxCpc), - toString($budgetSuggestion->cpm), - toString($budgetSuggestion->cpc), - $budgetSuggestion->impressions - ); -} - -function toString($money) { - if (!$money) return ''; - return strval($money->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. - GetBudgetSuggestionExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201702/Express/AddExpressBusinesses.php b/examples/AdWords/v201702/Express/AddExpressBusinesses.php deleted file mode 100755 index bbd0432a7..000000000 --- a/examples/AdWords/v201702/Express/AddExpressBusinesses.php +++ /dev/null @@ -1,87 +0,0 @@ -GetService('ExpressBusinessService', - ADWORDS_VERSION); - - $business1 = new ExpressBusiness(); - $business1->status = 'ENABLED'; - $business1->name = 'Express Interplanetary Cruise #' . uniqid(); - $business1->website = 'http://www.example.com/cruise1'; - - $business2 = new ExpressBusiness(); - $business2->status = 'ENABLED'; - $business2->name = 'Express Interplanetary Cruise #' . uniqid(); - $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/v201702/Express/AddPromotion.php b/examples/AdWords/v201702/Express/AddPromotion.php deleted file mode 100755 index 002414cb0..000000000 --- a/examples/AdWords/v201702/Express/AddPromotion.php +++ /dev/null @@ -1,115 +0,0 @@ -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 - City of California - $location = new Location(); - $location->id = 21137; - $criteria[] = $location; - - $marsTourPromotion->criteria = $criteria; - - // Expanded creative - $expandedCreative = new ExpandedCreative( - 'Standard Mars Trip', 'Fly coach to Mars', 'Free in-flight pretzels'); - - $marsTourPromotion->expandedCreative = $expandedCreative; - - $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/v201702/Express/GetBudgetSuggestion.php b/examples/AdWords/v201702/Express/GetBudgetSuggestion.php deleted file mode 100755 index fb888336b..000000000 --- a/examples/AdWords/v201702/Express/GetBudgetSuggestion.php +++ /dev/null @@ -1,112 +0,0 @@ -GetService('BudgetSuggestionService', - ADWORDS_VERSION); - - $criteria = array(); - - // Create selector. - $selector = new BudgetSuggestionSelector(); - - // Criterion - Travel Agency product/service. - // See GetProductServicesExample.php for an example of how to get valid - // product/service settings. - $productService = new ProductService(); - $productService->text = "Travel Agency"; - $productService->locale = "en_US"; - $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 - Mountain View, California location. - // The ID can be found in the documentation: - // https://developers.google.com/adwords/api/docs/appendix/geotargeting - // https://developers.google.com/adwords/api/docs/appendix/cities-DMAregions - $location = new Location(); - $location->id = 1014044; - $criteria[] = $location; - - $selector->criteria = $criteria; - - $budgetSuggestion = $budgetSuggestionService->get($selector); - - printf( - "Budget suggestion for criteria is:\n" . - " SuggestedBudget=%s\n" . - " Min/MaxBudget=%s/%s\n" . - " Min/MaxCpc=%s/%s\n" . - " CPM=%s\n" . - " CPC=%s\n" . - " Impressions=%d\n", - toString($budgetSuggestion->suggestedBudget), - toString($budgetSuggestion->minBudget), - toString($budgetSuggestion->maxBudget), - toString($budgetSuggestion->minCpc), - toString($budgetSuggestion->maxCpc), - toString($budgetSuggestion->cpm), - toString($budgetSuggestion->cpc), - $budgetSuggestion->impressions - ); -} - -function toString($money) { - if (!$money) return ''; - return strval($money->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. - GetBudgetSuggestionExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201702/Express/UpdatePromotion.php b/examples/AdWords/v201702/Express/UpdatePromotion.php deleted file mode 100755 index fbf146be0..000000000 --- a/examples/AdWords/v201702/Express/UpdatePromotion.php +++ /dev/null @@ -1,86 +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/v201607/Express/UpdatePromotion.php b/examples/AdWords/v201705/AccountManagement/AcceptServiceLink.php similarity index 57% rename from examples/AdWords/v201607/Express/UpdatePromotion.php rename to examples/AdWords/v201705/AccountManagement/AcceptServiceLink.php index 4361a0ba5..5aa34ed07 100755 --- a/examples/AdWords/v201607/Express/UpdatePromotion.php +++ b/examples/AdWords/v201705/AccountManagement/AcceptServiceLink.php @@ -1,7 +1,7 @@ SetExpressBusinessId($businessId); - +function AcceptServiceLinkExample(AdWordsUser $user, $serviceLinkId) { // 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; + $customerService = $user->GetService('CustomerService', ADWORDS_VERSION); - $operations = array(); + // Create service link and set the status to ACTIVE. + $serviceLink = new ServiceLink(); + $serviceLink->serviceLinkId = $serviceLinkId; + $serviceLink->serviceType = 'MERCHANT_CENTER'; + $serviceLink->linkStatus = 'ACTIVE'; - $operation = new PromotionOperation(); - $operation->operand = $promotion; + // Create operation. + $operation = new ServiceLinkOperation(); $operation->operator = 'SET'; - $operations[] = $operation; + $operation->operand = $serviceLink; + + $operations = array($operation); - $result = $promotionService->mutate($operations); - $mutatedPromotion = $result[0]; + // Make the mutate request. + $serviceLinks = $customerService->mutateServiceLinks($operations); - printf("Promotion ID %d for business ID %d now has budget micro amount %d\n", - $mutatedPromotion->id, $businessId, - $mutatedPromotion->budget->microAmount); + // Display the results. + foreach ($serviceLinks as $serviceLink) { + printf( + "Service link with service link ID %d, type '%s' updated to status: %s." + . "\n", + $serviceLink->serviceLinkId, + $serviceLink->serviceType, + $serviceLink->linkStatus + ); + } } // Don't run the example if the file is being included. @@ -80,7 +82,7 @@ function UpdatePromotionExample(AdWordsUser $user, $businessId, $promotionId) { $user->LogAll(); // Run the example. - UpdatePromotionExample($user, $businessId, $promotionId); + AcceptServiceLinkExample($user, $serviceLinkId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/AccountManagement/CreateAccount.php b/examples/AdWords/v201705/AccountManagement/CreateAccount.php new file mode 100755 index 000000000..74eaa9732 --- /dev/null +++ b/examples/AdWords/v201705/AccountManagement/CreateAccount.php @@ -0,0 +1,83 @@ +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/v201705/AccountManagement/GetAccountChanges.php b/examples/AdWords/v201705/AccountManagement/GetAccountChanges.php new file mode 100755 index 000000000..b5071f3f2 --- /dev/null +++ b/examples/AdWords/v201705/AccountManagement/GetAccountChanges.php @@ -0,0 +1,138 @@ +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 campaign criteria: %s\n", + ArrayToString($campaignChangeData->addedCampaignCriteria)); + printf("\tRemoved campaign criteria: %s\n", + ArrayToString($campaignChangeData->removedCampaignCriteria)); + 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\tRemoved criteria: %s\n", + ArrayToString($adGroupChangeData->removedCriteria)); + } + } + } + } + } + } + } 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/v201705/AccountManagement/GetAccountHierarchy.php b/examples/AdWords/v201705/AccountManagement/GetAccountHierarchy.php new file mode 100755 index 000000000..938f2d3de --- /dev/null +++ b/examples/AdWords/v201705/AccountManagement/GetAccountHierarchy.php @@ -0,0 +1,125 @@ +GetService('ManagedCustomerService', ADWORDS_VERSION); + + // Create selector. + $selector = new Selector(); + // Specify the fields to retrieve. + $selector->fields = array('CustomerId', 'Name'); + $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); + + // Create map from customerID to account. + $accounts = array(); + // Create map from customerId to parent and child links. + $childLinks = array(); + $parentLinks = array(); + do { + // Make the get request. + $graph = $managedCustomerService->get($selector); + + // Create links between manager and clients. + if (isset($graph->entries)) { + if (isset($graph->links)) { + foreach ($graph->links as $link) { + $childLinks[$link->managerCustomerId][] = $link; + $parentLinks[$link->clientCustomerId] = $link; + } + } + foreach ($graph->entries as $account) { + $accounts[$account->customerId] = $account; + } + } + $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; + } while ($selector->paging->startIndex < $graph->totalNumEntries); + + $rootAccount = null; + foreach ($accounts as $account) { + if (!array_key_exists($account->customerId, $parentLinks)) { + $rootAccount = $account; + break; + } + } + + if ($rootAccount !== null) { + // Display account tree. + print "(Customer Id, Account Name)\n"; + DisplayAccountTree($rootAccount, $accounts, $childLinks, 0); + } else { + printf("No accounts were found.\n"); + } +} + +/** + * Displays an account tree, starting at the account provided, and recursing to + * all child accounts. + * @param ManagedCustomer $account the account to display + * @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, $accounts, $links, $depth) { + print str_repeat('-', $depth * 2); + printf("%s, %s\n", $account->customerId, $account->name); + if (array_key_exists($account->customerId, $links)) { + foreach ($links[$account->customerId] as $childLink) { + $childAccount = $accounts[$childLink->clientCustomerId]; + DisplayAccountTree($childAccount, $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/v201705/AdvancedOperations/AddAdCustomizer.php b/examples/AdWords/v201705/AdvancedOperations/AddAdCustomizer.php new file mode 100755 index 000000000..e1f6fa433 --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/AddAdCustomizer.php @@ -0,0 +1,238 @@ +GetService('AdCustomizerFeedService', + ADWORDS_VERSION); + + $nameAttribute = new AdCustomizerFeedAttribute(); + $nameAttribute->name = 'Name'; + $nameAttribute->type = 'STRING'; + + $priceAttribute = new AdCustomizerFeedAttribute(); + $priceAttribute->name = 'Price'; + $priceAttribute->type = 'STRING'; + + $dateAttribute = new AdCustomizerFeedAttribute(); + $dateAttribute->name = 'Date'; + $dateAttribute->type = 'DATE_TIME'; + + $customizerFeed = new AdCustomizerFeed(); + $customizerFeed->feedName = $feedName; + $customizerFeed->feedAttributes = array($nameAttribute, $priceAttribute, + $dateAttribute); + + $feedOperation = new AdCustomizerFeedOperation(); + $feedOperation->operand = $customizerFeed; + $feedOperation->operator = 'ADD'; + + $operations = array($feedOperation); + + // Add the feed. + $result = $adCustomizerFeedService->mutate($operations); + $addedFeed = $result->value[0]; + + printf("Created ad customizer feed with ID %d and name '%s'.\n", + $addedFeed->feedId, $addedFeed->feedName); + + return $addedFeed; +} + +/** + * Creates FeedItems with the values to use in ad customizations for each ad + * group in adGroupIds + * + * @param AdWordsUser $user the user to run the example with + * @param array $adGroupIds the IDs of the ad groups to target with the FeedItem + * @param AdCustomizerFeed $adCustomizerFeed the customizer feed + */ +function CreateCustomizerFeedItems(AdWordsUser $user, $adGroupIds, + $adCustomizerFeed) { + // Get the FeedItemService, which loads the required classes. + $feedItemService = $user->GetService('FeedItemService', ADWORDS_VERSION); + + $operations = array(); + + $marsDate = mktime(0, 0, 0, date('m'), 1, date('Y')); + $venusDate = mktime(0, 0, 0, date('m'), 15, date('Y')); + // Create operations to add FeedItems. + $operations[] = CreateFeedItemAddOperation('Mars', '$1234.56', + date('Ymd His', $marsDate), $adGroupIds[0], $adCustomizerFeed); + $operations[] = CreateFeedItemAddOperation('Venus', '$1450.00', + date('Ymd His', $venusDate), $adGroupIds[1], $adCustomizerFeed); + + $result = $feedItemService->mutate($operations); + + foreach ($result->value as $feedItem) { + printf("FeedItem with feedItemId %d was added.\n", $feedItem->feedItemId); + } + + return $adCustomizerFeed; +} + +/** + * Creates a FeedItemOperation that will create a FeedItem with the specified + * values and ad group target when sent to FeedItemService.mutate. + * + * @param string $name the value for the name attribute of the FeedItem + * @param string $price the value for the price attribute of the FeedItem + * @param string $date the value for the date attribute of the FeedItem + * @param string $adGroupId the ID of the ad group to target with the FeedItem + * @param AdCustomizerFeed $adCustomizerFeed the customizer feed + */ +function CreateFeedItemAddOperation($name, $price, $date, $adGroupId, + $adCustomizerFeed) { + // Create the FeedItemAttributeValues for our text values. + $nameAttributeValue = new FeedItemAttributeValue(); + $nameAttributeValue->feedAttributeId = + $adCustomizerFeed->feedAttributes[0]->id; + $nameAttributeValue->stringValue = $name; + $priceAttributeValue = new FeedItemAttributeValue(); + $priceAttributeValue->feedAttributeId = + $adCustomizerFeed->feedAttributes[1]->id; + $priceAttributeValue->stringValue = $price; + $dateAttributeValue = new FeedItemAttributeValue(); + $dateAttributeValue->feedAttributeId = + $adCustomizerFeed->feedAttributes[2]->id; + $dateAttributeValue->stringValue = $date; + + // Create the feed item and operation. + $item = new FeedItem(); + $item->feedId = $adCustomizerFeed->feedId; + $item->attributeValues = + array($nameAttributeValue, $priceAttributeValue, $dateAttributeValue); + + $adGroupTargeting = new FeedItemAdGroupTargeting(); + $adGroupTargeting->TargetingAdGroupId = $adGroupId; + $item->adGroupTargeting = $adGroupTargeting; + + $operation = new FeedItemOperation(); + $operation->operand = $item; + $operation->operator = 'ADD'; + return $operation; +} + +/** + * Creates text ads that use ad customizations for the specified ad group IDs. + * + * @param AdWordsUser $user the user to run the example with + * @param array $adGroupIds the IDs of the ad groups to target with the FeedItem + * @param string $feedName the name of the new AdCustomizerFeed + */ +function CreateAdsWithCustomizations(AdWordsUser $user, $adGroupIds, + $feedName) { + // Get the service, which loads the required classes. + $adGroupAdService = $user->GetService('AdGroupAdService', ADWORDS_VERSION); + + $expandedTextAd = new ExpandedTextAd(); + $expandedTextAd->headlinePart1 = + sprintf('Luxury Cruise to {=%s.Name}', $feedName); + $expandedTextAd->headlinePart2 = sprintf('Only {=%s.Price}', $feedName); + $expandedTextAd->description = sprintf('Offer ends in {=countdown(%s.Date)}!', + $feedName); + $expandedTextAd->finalUrls = array('http://www.example.com'); + + // We add the same ad to both ad groups. When they serve, they will show + // different values, since they match different feed items. + $operations = array(); + + foreach ($adGroupIds as $adGroupId) { + // Create ad group ad. + $adGroupAd = new AdGroupAd(); + $adGroupAd->adGroupId = $adGroupId; + $adGroupAd->ad = $expandedTextAd; + + // 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 ID %d and status '%s' was added.\n", + $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. + AddAdCustomizerExample($user, $adGroupIds, $feedName); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/AdvancedOperations/AddAdGroupBidModifier.php b/examples/AdWords/v201705/AdvancedOperations/AddAdGroupBidModifier.php new file mode 100755 index 000000000..59106c2fa --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/AddAdGroupBidModifier.php @@ -0,0 +1,98 @@ +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 (is_numeric($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/v201705/AdvancedOperations/AddClickToDownloadAd.php b/examples/AdWords/v201705/AdvancedOperations/AddClickToDownloadAd.php new file mode 100755 index 000000000..f7bee6492 --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/AddClickToDownloadAd.php @@ -0,0 +1,139 @@ +GetService('AdGroupAdService', ADWORDS_VERSION); + + // Optionally specify a landscape image. The image needs to be in a BASE64 + // encoded form. Here we download a demo image and encode it for this ad. + $imageData = MediaUtils::GetBase64Data('http://goo.gl/9JmyKk'); + + // Create the template ad. + $clickToDownloadAppAd = new TemplateAd(); + + $clickToDownloadAppAd->name = 'Ad for demo game'; + $clickToDownloadAppAd->templateId = 353; + $clickToDownloadAppAd->finalUrls = array( + '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'; + + $landscapeImage = new TemplateElementField(); + $landscapeImage->name = 'landscapeImage'; + $landscapeImage->fieldMedia = new Image($imageData); + $landscapeImage->type = 'IMAGE'; + + $adData = new TemplateElement(); + $adData->uniqueName = 'adData'; + $adData->fields = array($headline, $description1, $description2, $appId, + $appStore, $landscapeImage); + + $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->finalUrls[0]); + } +} + +// 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/v201705/AdvancedOperations/AddExpandedTextAdWithUpgradedUrls.php b/examples/AdWords/v201705/AdvancedOperations/AddExpandedTextAdWithUpgradedUrls.php new file mode 100755 index 000000000..661517b1c --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/AddExpandedTextAdWithUpgradedUrls.php @@ -0,0 +1,141 @@ +GetService('AdGroupAdService', ADWORDS_VERSION); + + $operations = array(); + + // Create expanded text ad with a tracking template and custom parameters. + $expandedTextAd = new ExpandedTextAd(); + $expandedTextAd->headlinePart1 = 'Luxury Cruise to Mars'; + $expandedTextAd->headlinePart2 = 'Visit the Red Planet in style.'; + $expandedTextAd->description = 'Low-gravity fun for everyone!'; + + // Specify a tracking url for 3rd party tracking provider. You may + // specify one at customer, campaign, ad group, ad, criterion or + // feed item levels. + $expandedTextAd->trackingUrlTemplate = + 'http://tracker.example.com/?season={_season}&promocode={_promocode}' . + '&u={lpurl}'; + + // Since your tracking url has two custom parameters, provide their + // values too. This can be provided at campaign, ad group, ad, criterion + // or feed item levels. + $seasonParameter = new CustomParameter(); + $seasonParameter->key = 'season'; + $seasonParameter->value = 'christmas'; + + $promoCodeParameter = new CustomParameter(); + $promoCodeParameter->key = 'promocode'; + $promoCodeParameter->value = 'NYC123'; + + $expandedTextAd->urlCustomParameters = new CustomParameters(); + $expandedTextAd->urlCustomParameters->parameters = array($seasonParameter, + $promoCodeParameter); + + // Specify a list of final urls. This field cannot be set if url field is + // set. This may be specified at ad, criterion and feed item levels. + $expandedTextAd->finalUrls = array('http://www.example.com/cruise/space/', + 'http://www.example.com/locations/mars/'); + + // Specify a list of final mobile urls. This field cannot be set if url + // field is set, or finalUrls is unset. This may be specified at ad, + // criterion and feed item levels. + $expandedTextAd->finalMobileUrls = array( + 'http://mobile.example.com/cruise/space/', + 'http://mobile.example.com/locations/mars/' + ); + + // Create ad group ad. + $adGroupAd = new AdGroupAd(); + $adGroupAd->adGroupId = $adGroupId; + $adGroupAd->ad = $expandedTextAd; + + // 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) { + $ad = $adGroupAd->ad; + printf("Ad with ID %d was added.\n", $ad->id); + print("Upgraded URL properties:\n"); + printf(" Final URLs: %s\n", implode(', ', $ad->finalUrls)); + printf(" Final Mobile URLs: %s\n", implode(', ', $ad->finalMobileUrls)); + printf(" Tracking URL template: %s\n", $ad->trackingUrlTemplate); + printf(" Custom parameters: %s\n", + implode(', ', + array_map(function($param) { + return sprintf('%s=%s', $param->key, $param->value); + }, + $ad->urlCustomParameters->parameters))); + } +} + +// 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. + AddExpandedTextAdWithUpgradedUrlsExample($user, $adGroupId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/AdvancedOperations/AddHtml5Ad.php b/examples/AdWords/v201705/AdvancedOperations/AddHtml5Ad.php new file mode 100755 index 000000000..6c50d070f --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/AddHtml5Ad.php @@ -0,0 +1,132 @@ +GetService('AdGroupAdService', ADWORDS_VERSION); + + // Create the template ad. + $html5Ad = new TemplateAd(); + + $html5Ad->name = 'Ad for HTML5'; + $html5Ad->templateId = 419; + $html5Ad->finalUrls = array('http://example.com/html5'); + $html5Ad->displayUrl = 'example.com/html5'; + + $dimensions = new Dimensions(); + $dimensions->width = 300; + $dimensions->height = 250; + $html5Ad->dimensions = $dimensions; + + // The HTML5 zip file contains all the HTML, CSS, and images needed for the + // HTML5 ad. For help on creating an HTML5 zip file, check out Google Web + // Designer (https://www.google.com/webdesigner/). + $html5Zip = MediaUtils::GetBase64Data('https://goo.gl/9Y7qI2'); + + // Create a media bundle containing the zip file with all the HTML5 + // components. + // NOTE: You may also upload an HTML5 zip using MediaService.upload() + // and simply set the mediaId field below. See UploadMediaBundle.php for an + // example. + $mediaBundle = new MediaBundle(); + $mediaBundle->data = $html5Zip; + $mediaBundle->entryPoint = 'carousel/index.html'; + $mediaBundle->type = 'MEDIA_BUNDLE'; + + // 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. + $media = new TemplateElementField(); + $media->name = 'Custom_layout'; + $media->fieldMedia = $mediaBundle; + $media->type = 'MEDIA_BUNDLE'; + + $layout = new TemplateElementField(); + $layout->name = 'layout'; + $layout->fieldText = 'Custom'; + $layout->type = 'ENUM'; + + $adData = new TemplateElement(); + $adData->uniqueName = 'adData'; + $adData->fields = array($media, $layout); + + $html5Ad->templateElements = array($adData); + + // Create the ad group ad. + $html5AdGroupAd = new AdGroupAd(); + $html5AdGroupAd->adGroupId = $adGroupId; + $html5AdGroupAd->ad = $html5Ad; + + // Optional: Set the status. + $html5AdGroupAd->status = 'PAUSED'; + + // Create the operation. + $operation = new AdGroupAdOperation(); + $operation->operator = 'ADD'; + $operation->operand = $html5AdGroupAd; + + $operations = array($operation); + + // Create the ads. + $result = $adGroupAdService->mutate($operations); + + foreach ($result->value as $adGroupAd) { + printf("New HTML5 ad with ID %d and display URL '%s' was created.\n", + $adGroupAd->ad->id, $adGroupAd->ad->displayUrl); + } +} + +// 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. + AddHtml5Ad($user, $adGroupId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/AdvancedOperations/AddResponsiveDisplayAd.php b/examples/AdWords/v201705/AdvancedOperations/AddResponsiveDisplayAd.php new file mode 100755 index 000000000..5bbf6758a --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/AddResponsiveDisplayAd.php @@ -0,0 +1,115 @@ +GetService('MediaService', ADWORDS_VERSION); + + // Creates image. + $image = new Image(); + $image->data = MediaUtils::GetBase64Data('https://goo.gl/3b9Wfh'); + $image->type = 'IMAGE'; + + // Make the upload request. + $result = $mediaService->upload(array($image)); + $image = $result[0]; + + // Get the service, which loads the required classes. + $adGroupAdService = $user->GetService('AdGroupAdService', ADWORDS_VERSION); + + // Create a responsive display ad. + $responsiveDisplayAd = new ResponsiveDisplayAd(); + + // This ad format does not allow the creation of an image using the + // Image.data field. An image must first be created using the MediaService, + // and Image.mediaId must be populated when creating the ad. + $marketingImage = new Image(); + $marketingImage->mediaId = $image->mediaId; + + $responsiveDisplayAd->marketingImage = $marketingImage; + $responsiveDisplayAd->shortHeadline = 'Travel'; + $responsiveDisplayAd->longHeadline = 'Travel the World'; + $responsiveDisplayAd->description = 'Take to the air!'; + $responsiveDisplayAd->businessName = 'Google'; + $responsiveDisplayAd->finalUrls = array('http://www.example.com'); + + // Create ad group ad. + $adGroupAd = new AdGroupAd(); + $adGroupAd->adGroupId = $adGroupId; + $adGroupAd->ad = $responsiveDisplayAd; + + // 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("Responsive display ad with ID '%d' and short headline '%s'" + . " was added.\n", $adGroupAd->ad->id, $adGroupAd->ad->shortHeadline); + } +} + +// 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. + AddResponsiveDisplayAd($user, $adGroupId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/AdvancedOperations/AddTextAdWithUpgradedUrls.php b/examples/AdWords/v201705/AdvancedOperations/AddTextAdWithUpgradedUrls.php new file mode 100755 index 000000000..8af2d5b53 --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/AddTextAdWithUpgradedUrls.php @@ -0,0 +1,147 @@ +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'; + + // Specify a tracking url for 3rd party tracking provider. You may + // specify one at customer, campaign, ad group, ad, criterion or + // feed item levels. + $textAd->trackingUrlTemplate = + 'http://tracker.example.com/?season={_season}&promocode={_promocode}' . + '&u={lpurl}'; + + // Since your tracking url has two custom parameters, provide their + // values too. This can be provided at campaign, ad group, ad, criterion + // or feed item levels. + $seasonParameter = new CustomParameter(); + $seasonParameter->key = 'season'; + $seasonParameter->value = 'christmas'; + + $promoCodeParameter = new CustomParameter(); + $promoCodeParameter->key = 'promocode'; + $promoCodeParameter->value = 'NYC123'; + + $textAd->urlCustomParameters = new CustomParameters(); + $textAd->urlCustomParameters->parameters = array($seasonParameter, + $promoCodeParameter); + + // Specify a list of final urls. This field cannot be set if url field is + // set. This may be specified at ad, criterion and feed item levels. + $textAd->finalUrls = array('http://www.example.com/cruise/space/', + 'http://www.example.com/locations/mars/'); + + // Specify a list of final mobile urls. This field cannot be set if url + // field is set, or finalUrls is unset. This may be specified at ad, + // criterion and feed item levels. + $textAd->finalMobileUrls = array('http://mobile.example.com/cruise/space/', + 'http://mobile.example.com/locations/mars/'); + + // 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) { + $ad = $adGroupAd->ad; + printf("Text ad with headline '%s' and ID '%d' was added.\n", + $ad->headline, $ad->id); + printf(" displayUrl is '%s'\n", + $ad->displayUrl); + print("Upgraded URL properties:\n"); + printf(" Final URLs: %s\n", + implode(', ', $ad->finalUrls)); + printf(" Final Mobile URLs: %s\n", + implode(', ', $ad->finalMobileUrls)); + printf(" Tracking URL template: %s\n", + $ad->trackingUrlTemplate); + printf(" Custom parameters: %s\n", + implode(', ', + array_map(function($param) { + return sprintf('%s=%s', $param->key, $param->value); + }, + $ad->urlCustomParameters->parameters))); + } +} + +// 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. + AddTextAdWithUpgradedUrlsExample($user, $adGroupId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/AdvancedOperations/AddUniversalAppCampaign.php b/examples/AdWords/v201705/AdvancedOperations/AddUniversalAppCampaign.php new file mode 100755 index 000000000..18a7a2053 --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/AddUniversalAppCampaign.php @@ -0,0 +1,231 @@ +GetService('CampaignService', ADWORDS_VERSION); + + // Create campaign with some properties set. + $campaign = new Campaign(); + $campaign->name = 'Interplanetary Cruise #' . uniqid(); + // Recommendation: Set the campaign to PAUSED when creating it to stop + // the ads from immediately serving. Set to ENABLED once you've added + // targeting and the ads are ready to serve. + $campaign->status = 'PAUSED'; + + // Set the advertising channel and subchannel types for Universal app + // campaigns. + $campaign->advertisingChannelType = 'MULTI_CHANNEL'; + $campaign->advertisingChannelSubType = 'UNIVERSAL_APP_CAMPAIGN'; + + // Set the campaign's bidding strategy. Universal App campaigns + // only support TARGET_CPA bidding strategy. + $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); + $biddingStrategyConfiguration->biddingStrategyType = 'TARGET_CPA'; + + // Set the target CPA to $1 / app install. + $biddingScheme = new TargetCpaBiddingScheme(); + $biddingScheme->targetCpa = new Money(1000000); + + $biddingStrategyConfiguration->biddingScheme = $biddingScheme; + $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; + + // Set the campaign's budget. + $campaign->budget = new Budget(); + $campaign->budget->budgetId = CreateBudget($user); + + // Optional: Set the start date. + $campaign->startDate = date('Ymd', strtotime('+1 day')); + + // Optional: Set the end date. + $campaign->endDate = date('Ymd', strtotime('+1 year')); + + // Set the campaign's assets and ad text ideas. These values will be used to + // generate ads. + $universalAppSetting = new UniversalAppCampaignSetting(); + $universalAppSetting->appId = 'com.labpixies.colordrips'; + $universalAppSetting->description1 = 'A cool puzzle game'; + $universalAppSetting->description2 = 'Remove connected blocks'; + $universalAppSetting->description3 = '3 difficulty levels'; + $universalAppSetting->description4 = '4 colorful fun skins'; + + // Optional: You can set up to 10 image assets for your campaign. + // See UploadImage.php for an example on how to upload images. + // + // $universalAppSetting->imageMediaIds = array(INSERT_IMAGE_MEDIA_ID_HERE); + + // Optimize this campaign for getting new users for your app. + $universalAppSetting->universalAppBiddingStrategyGoalType = + 'OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME'; + + // If you select bidding strategy goal type as + // OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME, then you may specify a set of + // conversion types for in-app actions to optimize the campaign towards. + // Conversion type IDs can be retrieved using ConversionTrackerService.get. + // + // $campaign->selectiveOptimization = new SelectiveOptimization(); + // $campaign->selectiveOptimization->conversionTypeIds = array( + // INSERT_CONVERSION_TYPE_ID_1_HERE, + // INSERT_CONVERSION_TYPE_ID_2_HERE + // ); + + // Optional: Set the campaign settings for Advanced location options. + $geoTargetTypeSetting = new GeoTargetTypeSetting(); + $geoTargetTypeSetting->negativeGeoTargetType = 'LOCATION_OF_PRESENCE'; + $campaign->settings = array($universalAppSetting, $geoTargetTypeSetting); + + // Create the campaign operation. + $operations = array(); + $operation = new CampaignOperation(); + $operation->operand = $campaign; + $operation->operator = 'ADD'; + $operations[] = $operation; + + // Add campaigns on the server. + $result = $campaignService->mutate($operations); + + // Print information for each campaign. + foreach ($result->value as $campaign) { + printf("Universal App Campaign with name '%s' and ID %d was added.\n", + $campaign->name, $campaign->id); + // Optional: Set the campaign's location and language targeting. No other + // targeting criteria can be used for Universal App campaigns. + SetCampaignTargetingCriteria($campaign->id, $user); + } +} + +/** + * Creates the budget for the campaign. + * + * @return the new budget ID + */ +function CreateBudget(AdWordsUser $user) { + // Get the BudgetService, which loads the required classes. + $budgetService = $user->GetService('BudgetService', ADWORDS_VERSION); + + // Create the shared budget (required). + $budget = new Budget(); + $budget->name = 'Interplanetary Cruise Budget #' . uniqid(); + $budget->amount = new Money(50000000); + $budget->deliveryMethod = 'STANDARD'; + + // Universal App campaigns don't support shared budgets. + $budget->isExplicitlyShared = false; + $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]; + + printf("Budget with name '%s' and ID %d was created.\n", + $budget->name, $budget->budgetId); + + return $budget->budgetId; +} + +/** + * Sets the campaign's targeting criteria. + * + * @param AdWordsUser $user the AdWords user object + */ +function SetCampaignTargetingCriteria($campaignId, AdWordsUser $user) { + // Get the service, which loads the required classes. + $campaignCriterionService = + $user->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); + + // Create operations to add each of the criteria above. + $operations = array(); + foreach ($campaignCriteria as $campaignCriterion) { + $operations[] = new CampaignCriterionOperation($campaignCriterion, 'ADD'); + } + + // Set the campaign targets. + $result = $campaignCriterionService->mutate($operations); + + // Display added campaign targets. + foreach ($result->value as $campaignCriterion) { + printf("Campaign criterion of type '%s' and ID %d was added.\n", + $campaignCriterion->criterion->CriterionType, + $campaignCriterion->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. + AddUniversalAppCampaignExample($user); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201607/Express/GetExpressBusinesses.php b/examples/AdWords/v201705/AdvancedOperations/GetAdGroupBidModifiers.php similarity index 67% rename from examples/AdWords/v201607/Express/GetExpressBusinesses.php rename to examples/AdWords/v201705/AdvancedOperations/GetAdGroupBidModifiers.php index 1010eb8f0..1d1ebac2c 100755 --- a/examples/AdWords/v201607/Express/GetExpressBusinesses.php +++ b/examples/AdWords/v201705/AdvancedOperations/GetAdGroupBidModifiers.php @@ -1,7 +1,7 @@ GetService('ExpressBusinessService', - ADWORDS_VERSION); + $bidModifierService = $user->GetService('AdGroupBidModifierService', + ADWORDS_VERSION); // Create selector. $selector = new Selector(); - $selector->fields = array('Id', 'Name', 'Website', 'Status'); - $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); + $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 = $businessService->get($selector); + $page = $bidModifierService->get($selector); // Display results. if (isset($page->entries)) { - foreach ($page->entries as $business) { - printf( - "Express business found with name '%s' id %s website: %s " - . "status: %s\n", - $business->name, - $business->id, - $business->website, - $business->status + foreach ($page->entries as $modifier) { + $value = 'none'; + if (is_numeric($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 express businesses were found.\n"; + print "No bid modifiers were found.\n"; } // Advance the paging index. @@ -84,7 +87,7 @@ function GetExpressBusinessesExample(AdWordsUser $user) { $user->LogAll(); // Run the example. - GetExpressBusinessesExample($user); + GetAdGroupBidModifiersExample($user); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/AdvancedOperations/UsePortfolioBiddingStrategy.php b/examples/AdWords/v201705/AdvancedOperations/UsePortfolioBiddingStrategy.php new file mode 100755 index 000000000..09888ff1e --- /dev/null +++ b/examples/AdWords/v201705/AdvancedOperations/UsePortfolioBiddingStrategy.php @@ -0,0 +1,191 @@ +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 portfolio bidding strategy. + $biddingStrategy = new SharedBiddingStrategy(); + $biddingStrategy->name = "Maximize Clicks " . uniqid(); + + $biddingScheme = new TargetSpendBiddingScheme(); + // Optionally set additional bidding scheme parameters. + $biddingScheme->bidCeiling = new Money('2000000'); + $biddingScheme->spendTarget = new Money('20000000'); + + $biddingStrategy->biddingScheme = $biddingScheme; + + // Create operation. + $operation = new BiddingStrategyOperation(); + $operation->operator = 'ADD'; + $operation->operand = $biddingStrategy; + + $result = $biddingStrategyService->mutate(array($operation)); + + $newBiddingStrategy = $result->value[0]; + + printf( + "Portfolio 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 Portfolio 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; + $campaign->advertisingChannelType = 'SEARCH'; + + // Set bidding strategy (required). + $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); + $biddingStrategyConfiguration->biddingStrategyId = $biddingStrategyId; + + $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; + + // Set network targeting (recommended). + $networkSetting = new NetworkSetting(); + $networkSetting->targetGoogleSearch = true; + $networkSetting->targetSearchNetwork = true; + $networkSetting->targetContentNetwork = true; + $campaign->networkSetting = $networkSetting; + // Recommendation: Set the campaign to PAUSED when creating it to stop + // the ads from immediately serving. Set to ENABLED once you've added + // targeting and the ads are ready to serve. + $campaign->status = 'PAUSED'; + + // 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. + UsePortfolioBiddingStrategyExample($user, $budgetId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/BasicOperations/AddAdGroupDemographicCriteria.php b/examples/AdWords/v201705/BasicOperations/AddAdGroupDemographicCriteria.php new file mode 100755 index 000000000..eef4f28b1 --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/AddAdGroupDemographicCriteria.php @@ -0,0 +1,107 @@ +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/v201705/BasicOperations/AddAdGroups.php b/examples/AdWords/v201705/BasicOperations/AddAdGroups.php new file mode 100755 index 000000000..3076af19e --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/AddAdGroups.php @@ -0,0 +1,111 @@ +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'; + + // Targeting restriction settings. Depending on the criterionTypeGroup + // value, most TargetingSettingDetail only affect Display campaigns. + // However, the USER_INTEREST_AND_LIST value works for RLSA campaigns - + // Search campaigns targeting using a remarketing list. + $targetingSetting = new TargetingSetting(); + // Restricting to serve ads that match your ad group placements. + // This is equivalent to choosing "Target and bid" in the UI. + $targetingSetting->details[] = + new TargetingSettingDetail('PLACEMENT', false); + // Using your ad group verticals only for bidding. This is equivalent + // to choosing "Bid only" in the UI. + $targetingSetting->details[] = + new TargetingSettingDetail('VERTICAL', true); + $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/v201705/BasicOperations/AddCampaigns.php b/examples/AdWords/v201705/BasicOperations/AddCampaigns.php new file mode 100755 index 000000000..61f5d0954 --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/AddCampaigns.php @@ -0,0 +1,145 @@ +GetService('BudgetService', ADWORDS_VERSION); + + // Create the shared budget (required). + $budget = new Budget(); + $budget->name = 'Interplanetary Cruise Budget #' . uniqid(); + $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 network targeting (optional). + $networkSetting = new NetworkSetting(); + $networkSetting->targetGoogleSearch = true; + $networkSetting->targetSearchNetwork = true; + $networkSetting->targetContentNetwork = true; + $campaign->networkSetting = $networkSetting; + + // Set additional settings (optional). + // Recommendation: Set the campaign to PAUSED when creating it to stop + // the ads from immediately serving. Set to ENABLED once you've added + // targeting and the ads are ready to serve. + $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/v201607/Express/GetPromotions.php b/examples/AdWords/v201705/BasicOperations/AddExpandedTextAds.php similarity index 50% rename from examples/AdWords/v201607/Express/GetPromotions.php rename to examples/AdWords/v201705/BasicOperations/AddExpandedTextAds.php index c78277f88..232fe90d8 100755 --- a/examples/AdWords/v201607/Express/GetPromotions.php +++ b/examples/AdWords/v201705/BasicOperations/AddExpandedTextAds.php @@ -1,7 +1,7 @@ SetExpressBusinessId($businessId); - +function AddExpandedTextAdsExample(AdWordsUser $user, $adGroupId) { // Get the service, which loads the required classes. - $promotionService = $user->GetService('PromotionService', ADWORDS_VERSION); + $adGroupAdService = $user->GetService('AdGroupAdService', ADWORDS_VERSION); + + // Create an expanded text ad. + $expandedTextAd = new ExpandedTextAd(); + $expandedTextAd->headlinePart1 = 'Cruise to Mars #' . uniqid(); + $expandedTextAd->headlinePart2 = 'Best Space Cruise Line'; + $expandedTextAd->description = 'Buy your tickets now!'; + $expandedTextAd->finalUrls = array('http://www.example.com'); + $expandedTextAd->path1 = 'all-inclusive'; + $expandedTextAd->path2 = 'deals'; + + // Create ad group ad. + $adGroupAd = new AdGroupAd(); + $adGroupAd->adGroupId = $adGroupId; + $adGroupAd->ad = $expandedTextAd; - // Create selector. - $selector = new Selector(); - $selector->fields = array('PromotionId', 'Name', 'Status', 'DestinationUrl', - 'CallTrackingEnabled', 'Budget', 'PromotionCriteria', 'RemainingBudget', - 'Creatives', 'CampaignIds'); - $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); + // Set additional settings (optional). + $adGroupAd->status = 'PAUSED'; - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); + // Create operation. + $operation = new AdGroupAdOperation(); + $operation->operand = $adGroupAd; + $operation->operator = 'ADD'; - do { - // Make the get request. - $page = $promotionService->get($selector); + $operations = array($operation); - // 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"; - } + // Make the mutate request. + $result = $adGroupAdService->mutate($operations); - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); + // Display results. + foreach ($result->value as $adGroupAd) { + printf( + "Expanded text ad with ID '%d' and headline '%s - %s' was added.\n", + $adGroupAd->ad->id, + $adGroupAd->ad->headlinePart1, + $adGroupAd->ad->headlinePart2 + ); + } } // Don't run the example if the file is being included. @@ -85,7 +92,7 @@ function GetPromotionsExample(AdWordsUser $user, $businessId) { $user->LogAll(); // Run the example. - GetPromotionsExample($user, $businessId); + AddExpandedTextAdsExample($user, $adGroupId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/BasicOperations/AddKeywords.php b/examples/AdWords/v201705/BasicOperations/AddKeywords.php new file mode 100755 index 000000000..4c0c2685b --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/AddKeywords.php @@ -0,0 +1,107 @@ +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->finalUrls = array('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/v201702/Express/GetPromotions.php b/examples/AdWords/v201705/BasicOperations/GetAdGroups.php similarity index 70% rename from examples/AdWords/v201702/Express/GetPromotions.php rename to examples/AdWords/v201705/BasicOperations/GetAdGroups.php index 73937eec8..2d2c4a5c9 100755 --- a/examples/AdWords/v201702/Express/GetPromotions.php +++ b/examples/AdWords/v201705/BasicOperations/GetAdGroups.php @@ -1,7 +1,7 @@ SetExpressBusinessId($businessId); - +function GetAdGroupsExample(AdWordsUser $user, $campaignId) { // Get the service, which loads the required classes. - $promotionService = $user->GetService('PromotionService', ADWORDS_VERSION); + $adGroupService = $user->GetService('AdGroupService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); - $selector->fields = array('PromotionId', 'Name', 'Status', 'DestinationUrl', - 'CallTrackingEnabled', 'Budget', 'PromotionCriteria', 'ExpandedCreative', - 'CampaignIds'); + $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 = $promotionService->get($selector); + $page = $adGroupService->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); + foreach ($page->entries as $adGroup) { + printf("Ad group with name '%s' and ID '%s' was found.\n", + $adGroup->name, $adGroup->id); } } else { - print "No express promotions were found.\n"; + print "No ad groups were found.\n"; } // Advance the paging index. @@ -85,7 +85,7 @@ function GetPromotionsExample(AdWordsUser $user, $businessId) { $user->LogAll(); // Run the example. - GetPromotionsExample($user, $businessId); + GetAdGroupsExample($user, $campaignId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201609/Express/GetExpressBusinesses.php b/examples/AdWords/v201705/BasicOperations/GetCampaigns.php similarity index 72% rename from examples/AdWords/v201609/Express/GetExpressBusinesses.php rename to examples/AdWords/v201705/BasicOperations/GetCampaigns.php index d25b78790..806575262 100755 --- a/examples/AdWords/v201609/Express/GetExpressBusinesses.php +++ b/examples/AdWords/v201705/BasicOperations/GetCampaigns.php @@ -1,7 +1,7 @@ GetService('ExpressBusinessService', - ADWORDS_VERSION); + $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); - $selector->fields = array('Id', 'Name', 'Website', 'Status'); + $selector->fields = array('Id', 'Name'); $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); // Create paging controls. @@ -47,22 +46,16 @@ function GetExpressBusinessesExample(AdWordsUser $user) { do { // Make the get request. - $page = $businessService->get($selector); + $page = $campaignService->get($selector); // Display results. if (isset($page->entries)) { - foreach ($page->entries as $business) { - printf( - "Express business found with name '%s' id %s website: %s " - . "status: %s\n", - $business->name, - $business->id, - $business->website, - $business->status - ); + foreach ($page->entries as $campaign) { + printf("Campaign with name '%s' and ID '%s' was found.\n", + $campaign->name, $campaign->id); } } else { - print "No express businesses were found.\n"; + print "No campaigns were found.\n"; } // Advance the paging index. @@ -84,7 +77,7 @@ function GetExpressBusinessesExample(AdWordsUser $user) { $user->LogAll(); // Run the example. - GetExpressBusinessesExample($user); + GetCampaignsExample($user); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/BasicOperations/GetCampaignsWithAwql.php b/examples/AdWords/v201705/BasicOperations/GetCampaignsWithAwql.php new file mode 100755 index 000000000..4bb617966 --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/GetCampaignsWithAwql.php @@ -0,0 +1,83 @@ +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/v201705/BasicOperations/GetExpandedTextAds.php b/examples/AdWords/v201705/BasicOperations/GetExpandedTextAds.php new file mode 100755 index 000000000..792460341 --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/GetExpandedTextAds.php @@ -0,0 +1,101 @@ +GetService('AdGroupAdService', ADWORDS_VERSION); + + // Create selector. + $selector = new Selector(); + $selector->fields = + array('Id', 'Status', 'HeadlinePart1', 'HeadlinePart2', 'Description'); + $selector->ordering[] = new OrderBy('Id', 'ASCENDING'); + + // Create predicates. + $selector->predicates[] = new Predicate('AdGroupId', 'IN', array($adGroupId)); + $selector->predicates[] = + new Predicate('AdType', 'IN', array('EXPANDED_TEXT_AD')); + $selector->predicates[] = + new Predicate('Status', 'IN', array('ENABLED', 'PAUSED')); + + // 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( + "Expanded text ad with ID '%d' status '%s', and headline '%s - %s' " + . "was found.\n", + $adGroupAd->ad->id, + $adGroupAd->status, + $adGroupAd->ad->headlinePart1, + $adGroupAd->ad->headlinePart2 + ); + } + } else { + print "No expanded 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. + GetExpandedTextAdsExample($user, $adGroupId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201702/Express/GetProductServices.php b/examples/AdWords/v201705/BasicOperations/GetKeywords.php similarity index 62% rename from examples/AdWords/v201702/Express/GetProductServices.php rename to examples/AdWords/v201705/BasicOperations/GetKeywords.php index 3d081c8f6..eae7d672f 100755 --- a/examples/AdWords/v201702/Express/GetProductServices.php +++ b/examples/AdWords/v201705/BasicOperations/GetKeywords.php @@ -1,7 +1,7 @@ GetService('ProductServiceService', - ADWORDS_VERSION); + $adGroupCriterionService = + $user->GetService('AdGroupCriterionService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); - $selector->fields = array('ProductServiceText'); + $selector->fields = array('Id', 'CriteriaType', 'KeywordMatchType', + 'KeywordText'); + $selector->ordering[] = new OrderBy('KeywordText', 'ASCENDING'); // Create predicates. - $selector->predicates[] = new Predicate('ProductServiceText', 'EQUALS', - array($productServiceSuggestion)); - $selector->predicates[] = new Predicate('Locale', 'EQUALS', - array($localeText)); + $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 = $productServiceService->get($selector); + $page = $adGroupCriterionService->get($selector); // Display results. if (isset($page->entries)) { - foreach ($page->entries as $productService) { - printf("Product/service with text '%s' found\n", $productService->text); + foreach ($page->entries as $adGroupCriterion) { + printf("Keyword with text '%s', match type '%s', criteria type '%s', " + . "and ID '%s' was found.\n", + $adGroupCriterion->criterion->text, + $adGroupCriterion->criterion->matchType, + $adGroupCriterion->criterion->type, + $adGroupCriterion->criterion->id); } } else { - print "No products/services were found.\n"; + print "No keywords were found.\n"; } // Advance the paging index. @@ -87,7 +92,7 @@ function GetProductServicesExample(AdWordsUser $user, $productServiceSuggestion, $user->LogAll(); // Run the example. - GetProductServicesExample($user, $productServiceSuggestion, $localeText); + GetKeywordsExample($user, $adGroupId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201702/Express/GetExpressBusinesses.php b/examples/AdWords/v201705/BasicOperations/GetLabels.php similarity index 70% rename from examples/AdWords/v201702/Express/GetExpressBusinesses.php rename to examples/AdWords/v201705/BasicOperations/GetLabels.php index f7a554f7d..5ad1c33ee 100755 --- a/examples/AdWords/v201702/Express/GetExpressBusinesses.php +++ b/examples/AdWords/v201705/BasicOperations/GetLabels.php @@ -1,7 +1,6 @@ GetService('ExpressBusinessService', - ADWORDS_VERSION); + $labelService = $user->GetService('LabelService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); - $selector->fields = array('Id', 'Name', 'Website', 'Status'); - $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); + $selector->fields = array('LabelId', 'LabelName'); + $selector->ordering[] = new OrderBy('LabelName', 'ASCENDING'); // Create paging controls. $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); do { // Make the get request. - $page = $businessService->get($selector); + $page = $labelService->get($selector); // Display results. if (isset($page->entries)) { - foreach ($page->entries as $business) { - printf( - "Express business found with name '%s' id %s website: %s " - . "status: %s\n", - $business->name, - $business->id, - $business->website, - $business->status - ); + foreach ($page->entries as $label) { + printf("Label with name '%s' and ID '%s' was found.\n", + $label->name, $label->id); } } else { - print "No express businesses were found.\n"; + print "No labels were found.\n"; } // Advance the paging index. @@ -84,7 +76,7 @@ function GetExpressBusinessesExample(AdWordsUser $user) { $user->LogAll(); // Run the example. - GetExpressBusinessesExample($user); + GetLabelsExample($user); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201609/Express/GetProductServices.php b/examples/AdWords/v201705/BasicOperations/GetTextAds.php similarity index 64% rename from examples/AdWords/v201609/Express/GetProductServices.php rename to examples/AdWords/v201705/BasicOperations/GetTextAds.php index 579c921c7..0ef70a747 100755 --- a/examples/AdWords/v201609/Express/GetProductServices.php +++ b/examples/AdWords/v201705/BasicOperations/GetTextAds.php @@ -1,7 +1,6 @@ GetService('ProductServiceService', - ADWORDS_VERSION); + $adGroupAdService = $user->GetService('AdGroupAdService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); - $selector->fields = array('ProductServiceText'); + $selector->fields = array('Headline', 'Id'); + $selector->ordering[] = new OrderBy('Headline', 'ASCENDING'); // Create predicates. - $selector->predicates[] = new Predicate('ProductServiceText', 'EQUALS', - array($productServiceSuggestion)); - $selector->predicates[] = new Predicate('Locale', 'EQUALS', - array($localeText)); + $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 = $productServiceService->get($selector); + $page = $adGroupAdService->get($selector); // Display results. if (isset($page->entries)) { - foreach ($page->entries as $productService) { - printf("Product/service with text '%s' found\n", $productService->text); + 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 products/services were found.\n"; + print "No text ads were found.\n"; } // Advance the paging index. @@ -87,7 +88,7 @@ function GetProductServicesExample(AdWordsUser $user, $productServiceSuggestion, $user->LogAll(); // Run the example. - GetProductServicesExample($user, $productServiceSuggestion, $localeText); + GetTextAdsExample($user, $adGroupId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/BasicOperations/PauseAd.php b/examples/AdWords/v201705/BasicOperations/PauseAd.php new file mode 100755 index 000000000..2a443cfdb --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/PauseAd.php @@ -0,0 +1,91 @@ +GetService('AdGroupAdService', ADWORDS_VERSION); + + // Create ad using an existing ID. Use the base class Ad instead of + // ExpandedTextAd 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/v201609/Express/UpdatePromotion.php b/examples/AdWords/v201705/BasicOperations/RemoveAd.php similarity index 57% rename from examples/AdWords/v201609/Express/UpdatePromotion.php rename to examples/AdWords/v201705/BasicOperations/RemoveAd.php index 9a5cdcd68..d8de00e1f 100755 --- a/examples/AdWords/v201609/Express/UpdatePromotion.php +++ b/examples/AdWords/v201705/BasicOperations/RemoveAd.php @@ -1,7 +1,6 @@ SetExpressBusinessId($businessId); - +function RemoveAdExample(AdWordsUser $user, $adGroupId, $adId) { // Get the service, which loads the required classes. - $promotionService = $user->GetService('PromotionService', - ADWORDS_VERSION); + $adGroupAdService = $user->GetService('AdGroupAdService', ADWORDS_VERSION); + + // Create base class ad to avoid setting type specific fields. + $ad = new Ad(); + $ad->id = $adId; - // Update the budget for the promotion. - $promotion = new Promotion(); - $promotion->id = $promotionId; - $newBudget = new Money(); - $newBudget->microAmount = 2000000; - $promotion->budget = $newBudget; + // Create ad group ad. + $adGroupAd = new AdGroupAd(); + $adGroupAd->adGroupId = $adGroupId; + $adGroupAd->ad = $ad; - $operations = array(); + // Create operation. + $operation = new AdGroupAdOperation(); + $operation->operand = $adGroupAd; + $operation->operator = 'REMOVE'; - $operation = new PromotionOperation(); - $operation->operand = $promotion; - $operation->operator = 'SET'; - $operations[] = $operation; + $operations = array($operation); - $result = $promotionService->mutate($operations); - $mutatedPromotion = $result[0]; + // Make the mutate request. + $result = $adGroupAdService->mutate($operations); - printf("Promotion ID %d for business ID %d now has budget micro amount %d\n", - $mutatedPromotion->id, $businessId, - $mutatedPromotion->budget->microAmount); + // Display result. + $adGroupAd = $result->value[0]; + printf("Ad with ID '%d' was removed.\n", $adGroupAd->ad->id); } // Don't run the example if the file is being included. @@ -80,7 +79,7 @@ function UpdatePromotionExample(AdWordsUser $user, $businessId, $promotionId) { $user->LogAll(); // Run the example. - UpdatePromotionExample($user, $businessId, $promotionId); + RemoveAdExample($user, $adGroupId, $adId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201702/Express/UpdateExpressBusiness.php b/examples/AdWords/v201705/BasicOperations/RemoveAdGroup.php similarity index 62% rename from examples/AdWords/v201702/Express/UpdateExpressBusiness.php rename to examples/AdWords/v201705/BasicOperations/RemoveAdGroup.php index a31f60ea1..d76a76601 100755 --- a/examples/AdWords/v201702/Express/UpdateExpressBusiness.php +++ b/examples/AdWords/v201705/BasicOperations/RemoveAdGroup.php @@ -1,7 +1,6 @@ GetService('ExpressBusinessService', - ADWORDS_VERSION); + $adGroupService = $user->GetService('AdGroupService', 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(); + // Create ad group with REMOVED status. + $adGroup = new AdGroup(); + $adGroup->id = $adGroupId; + $adGroup->status = 'REMOVED'; - $operations = array(); - - $operation = new ExpressBusinessOperation(); - $operation->operand = $business; + // Create operations. + $operation = new AdGroupOperation(); + $operation->operand = $adGroup; $operation->operator = 'SET'; - $operations[] = $operation; - $result = $businessService->mutate($operations); - $mutatedBusiness = $result[0]; + $operations = array($operation); + + // Make the mutate request. + $result = $adGroupService->mutate($operations); - printf("Express business with ID %d and name '%s' was updated\n", - $mutatedBusiness->id, $mutatedBusiness->name); + // Display result. + $adGroup = $result->value[0]; + printf("Ad group with ID '%d' was removed.\n", $adGroup->id); } // Don't run the example if the file is being included. @@ -74,7 +73,7 @@ function UpdateExpressBusinessExample(AdWordsUser $user, $businessId) { $user->LogAll(); // Run the example. - UpdateExpressBusinessExample($user, $businessId); + RemoveAdGroupExample($user, $adGroupId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201609/Express/UpdateExpressBusiness.php b/examples/AdWords/v201705/BasicOperations/RemoveCampaign.php similarity index 62% rename from examples/AdWords/v201609/Express/UpdateExpressBusiness.php rename to examples/AdWords/v201705/BasicOperations/RemoveCampaign.php index a69adacbe..c2f11008f 100755 --- a/examples/AdWords/v201609/Express/UpdateExpressBusiness.php +++ b/examples/AdWords/v201705/BasicOperations/RemoveCampaign.php @@ -1,7 +1,6 @@ GetService('ExpressBusinessService', - ADWORDS_VERSION); + $campaignService = $user->GetService('CampaignService', 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(); + // Create campaign with REMOVED status. + $campaign = new Campaign(); + $campaign->id = $campaignId; + $campaign->status = 'REMOVED'; - $operations = array(); - - $operation = new ExpressBusinessOperation(); - $operation->operand = $business; + // Create operations. + $operation = new CampaignOperation(); + $operation->operand = $campaign; $operation->operator = 'SET'; - $operations[] = $operation; - $result = $businessService->mutate($operations); - $mutatedBusiness = $result[0]; + $operations = array($operation); + + // Make the mutate request. + $result = $campaignService->mutate($operations); - printf("Express business with ID %d and name '%s' was updated\n", - $mutatedBusiness->id, $mutatedBusiness->name); + // Display result. + $campaign = $result->value[0]; + printf("Campaign with ID '%d' was removed.\n", $campaign->id); } // Don't run the example if the file is being included. @@ -74,7 +73,7 @@ function UpdateExpressBusinessExample(AdWordsUser $user, $businessId) { $user->LogAll(); // Run the example. - UpdateExpressBusinessExample($user, $businessId); + RemoveCampaignExample($user, $campaignId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/BasicOperations/RemoveKeyword.php b/examples/AdWords/v201705/BasicOperations/RemoveKeyword.php new file mode 100755 index 000000000..47781256c --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/RemoveKeyword.php @@ -0,0 +1,88 @@ +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 '%d' was removed.\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. + RemoveKeywordExample($user, $adGroupId, $criterionId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/BasicOperations/UpdateAdGroup.php b/examples/AdWords/v201705/BasicOperations/UpdateAdGroup.php new file mode 100755 index 000000000..6962bc126 --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/UpdateAdGroup.php @@ -0,0 +1,89 @@ +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/v201607/Express/UpdateExpressBusiness.php b/examples/AdWords/v201705/BasicOperations/UpdateCampaign.php similarity index 62% rename from examples/AdWords/v201607/Express/UpdateExpressBusiness.php rename to examples/AdWords/v201705/BasicOperations/UpdateCampaign.php index 468c6f746..bd53473b8 100755 --- a/examples/AdWords/v201607/Express/UpdateExpressBusiness.php +++ b/examples/AdWords/v201705/BasicOperations/UpdateCampaign.php @@ -1,7 +1,7 @@ GetService('ExpressBusinessService', - ADWORDS_VERSION); + $campaignService = $user->GetService('CampaignService', 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(); + // Create campaign using an existing ID. + $campaign = new Campaign(); + $campaign->id = $campaignId; + $campaign->status = 'PAUSED'; - $operations = array(); - - $operation = new ExpressBusinessOperation(); - $operation->operand = $business; + // Create operation. + $operation = new CampaignOperation(); + $operation->operand = $campaign; $operation->operator = 'SET'; - $operations[] = $operation; - $result = $businessService->mutate($operations); - $mutatedBusiness = $result[0]; + $operations = array($operation); + + // Make the mutate request. + $result = $campaignService->mutate($operations); - printf("Express business with ID %d and name '%s' was updated\n", - $mutatedBusiness->id, $mutatedBusiness->name); + // 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. @@ -74,7 +74,7 @@ function UpdateExpressBusinessExample(AdWordsUser $user, $businessId) { $user->LogAll(); // Run the example. - UpdateExpressBusinessExample($user, $businessId); + UpdateCampaignExample($user, $campaignId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/BasicOperations/UpdateKeyword.php b/examples/AdWords/v201705/BasicOperations/UpdateKeyword.php new file mode 100755 index 000000000..b289ba8d2 --- /dev/null +++ b/examples/AdWords/v201705/BasicOperations/UpdateKeyword.php @@ -0,0 +1,89 @@ +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 final URL. + $adGroupCriterion->finalUrls = array('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 final URL '%s'.\n", + $adGroupCriterion->criterion->id, $adGroupCriterion->finalUrls->urls[0]); +} + +// 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/v201705/CampaignManagement/AddCampaignLabels.php b/examples/AdWords/v201705/CampaignManagement/AddCampaignLabels.php new file mode 100755 index 000000000..145104bc8 --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/AddCampaignLabels.php @@ -0,0 +1,84 @@ +GetService('CampaignService', ADWORDS_VERSION); + + $operations = array(); + foreach ($campaignIds as $campaignId) { + $campaignLabel = new CampaignLabel(); + $campaignLabel->campaignId = $campaignId; + $campaignLabel->labelId = $labelId; + + $operation = new CampaignLabelOperation(); + $operation->operand = $campaignLabel; + $operation->operator = 'ADD'; + + $operations[] = $operation; + } + + // Make the mutate request. + $result = $campaignService->mutateLabel($operations); + + // Display results. + foreach ($result->value as $campaignLabel) { + printf("Campaign label for campaign ID '%s' and label ID '%d' was added.\n", + $campaignLabel->campaignId, $campaignLabel->labelId); + } +} + +// 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. + AddCampaignLabelsExample($user, $campaignIds, $labelId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/CampaignManagement/AddCompleteCampaignsUsingBatchJob.php b/examples/AdWords/v201705/CampaignManagement/AddCompleteCampaignsUsingBatchJob.php new file mode 100755 index 000000000..cba2f4170 --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/AddCompleteCampaignsUsingBatchJob.php @@ -0,0 +1,386 @@ +GetService('BatchJobService', ADWORDS_VERSION); + + // Create a BatchJob. + $addOp = new BatchJobOperation(); + $addOp->operator = 'ADD'; + $addOp->operand = new BatchJob(); + $addOps[] = $addOp; + + $result = $batchJobService->mutate($addOps); + $batchJob = $result->value[0]; + + // Get the upload URL from the new job. + $uploadUrl = $batchJob->uploadUrl->url; + printf("Created BatchJob with ID %d, status '%s' and upload 'URL' %s.\n", + $batchJob->id, $batchJob->status, $uploadUrl); + + $namePrefix = uniqid(); + // Create and add an operation to create a new budget. + $budgetOperation = buildBudgetOperation($namePrefix); + $operations = array($budgetOperation); + + // Create and add an operation to create new campaigns. + $campaignOperations = buildCampaignOperations($namePrefix, $budgetOperation); + $operations = array_merge($operations, $campaignOperations); + + // Create and add operations to create new negative keyword criteria for + // each campaign. + $campaignCriterionOperations = + buildCampaignCriterionOperations($campaignOperations); + $operations = array_merge($operations, $campaignCriterionOperations); + + // Create and add operations to create new ad groups. + $adGroupOperations = buildAdGroupOperations($namePrefix, $campaignOperations); + $operations = array_merge($operations, $adGroupOperations); + + // Create and add operations to create new ad group criteria (keywords). + $adGroupCriterionOperations = + buildAdGroupCriterionOperations($adGroupOperations); + $operations = array_merge($operations, $adGroupCriterionOperations); + + // Create and add operations to create new ad group ads (text ads). + $adGroupAdOperations = buildAdGroupAdOperations($adGroupOperations); + $operations = array_merge($operations, $adGroupAdOperations); + + // Use BatchJobUtils to upload all operations. + $batchJobUtils = new BatchJobUtils($batchJob->uploadUrl->url); + $batchJobUtils->UploadBatchJobOperations($operations); + + printf("Uploaded %d operations for batch job with ID %d.\n", + count($operations), $batchJob->id); + + // Poll for completion of the batch job using an exponential back off. + $pollAttempts = 0; + $isPending = true; + do { + $sleepSeconds = POLL_FREQUENCY_SECONDS * pow(2, $pollAttempts); + printf("Sleeping %d seconds...\n", $sleepSeconds); + sleep($sleepSeconds); + + $selector = new Selector(); + $selector->fields = array('Id', 'Status', 'DownloadUrl', 'ProcessingErrors', + 'ProgressStats'); + $selector->predicates[] = new Predicate('Id', 'EQUALS', $batchJob->id); + $batchJob = $batchJobService->get($selector)->entries[0]; + printf("Batch job ID %d has status '%s'.\n", $batchJob->id, + $batchJob->status); + + $pollAttempts++; + if ($batchJob->status !== 'ACTIVE' && + $batchJob->status !== 'AWAITING_FILE' && + $batchJob->status !== 'CANCELING') { + $isPending = false; + } + } while ($isPending && $pollAttempts <= MAX_POLL_ATTEMPTS); + + if ($isPending) { + throw new BatchJobException( + sprintf("Job is still pending state after polling %d times.", + MAX_POLL_ATTEMPTS)); + } + + if ($batchJob->processingErrors !== null) { + $i = 0; + foreach ($batchJob->processingErrors as $processingError) { + printf( + " Processing error [%d]: errorType=%s, trigger=%s, errorString=%s," + . " fieldPath=%s, reason=%s\n", + $i++, + $processingError->ApiErrorType, + $processingError->trigger, + $processingError->errorString, + $processingError->fieldPath, + $processingError->reason + ); + } + } else { + printf("No processing errors found.\n"); + } + + if ($batchJob->downloadUrl !== null && $batchJob->downloadUrl->url !== null) { + $xmlResponse = + $batchJobUtils->DownloadBatchJobResults($batchJob->downloadUrl->url); + printf("Downloaded results from %s:\n", $batchJob->downloadUrl->url); + $deserializer = new XmlDeserializer(BatchJobUtils::$CLASS_MAP); + $mutateResponse = $deserializer->ConvertXmlToObject($xmlResponse); + if (empty($mutateResponse)) { + printf(" No results available.\n"); + } else { + foreach ($mutateResponse->rval as $mutateResult) { + $outcome = $mutateResult->errorList === null ? 'SUCCESS' : 'FAILURE'; + printf(" Operation [%d] - %s\n", $mutateResult->index, $outcome); + } + } + } else { + printf("No results available for download.\n"); + } +} + +/** + * Builds objects of AdGroupAdOperation for creating an ad group ad for + * ad groups in the specified ad group operations. + * + * @param array $adGroupOperations an array of AdGroupOperation + * @return array an array of AdGroupAdOperation + */ +function buildAdGroupAdOperations(array $adGroupOperations) { + $operations = array(); + foreach ($adGroupOperations as $adGroupOperation) { + $adGroupId = $adGroupOperation->operand->id; + $adGroupAd = new AdGroupAd(); + $adGroupAd->adGroupId = $adGroupId; + + $expandedTextAd = new ExpandedTextAd(); + $expandedTextAd->headlinePart1 = 'Luxury Cruise to Mars'; + $expandedTextAd->headlinePart2 = 'Visit the Red Planet in style.'; + $expandedTextAd->description = 'Low-gravity fun for everyone!'; + $expandedTextAd->finalUrls[] = 'http://www.example.com/1'; + + $adGroupAd->ad = $expandedTextAd; + + $operation = new AdGroupAdOperation(); + $operation->operator = 'ADD'; + $operation->operand = $adGroupAd; + + $operations[] = $operation; + } + return $operations; +} + +/** + * Builds objects of AdGroupCriterionOperation for creating biddable criteria + * (as keywords) for ad groups in the specified ad group operations. 50% of + * keywords are created with some invalid characters to demonstrate how + * BatchJobService returns information about such errors. + * + * @param array $adGroupOperations an array of AdGroupOperation + * @return array an array of AdGroupCriterionOperation + */ +function buildAdGroupCriterionOperations(array $adGroupOperations) { + $adGroupCriteriaOperations = array(); + + // Create AdGroupCriterionOperations to add keywords. + foreach ($adGroupOperations as $adGroupOperation) { + $newAdGroupId = $adGroupOperation->operand->id; + for ($i = 0; $i < NUMBER_OF_KEYWORDS_TO_ADD; $i++) { + // Create Keyword. + $text = sprintf("mars%d", $i); + + // Make 50% of keywords invalid to demonstrate error handling. + if ($i % 2 == 0) { + $text = $text . '!!!'; + } + $keyword = new Keyword(); + $keyword->text = $text; + $keyword->matchType = 'BROAD'; + + // Create BiddableAdGroupCriterion. + $biddableAdGroupCriterion = new BiddableAdGroupCriterion(); + $biddableAdGroupCriterion->adGroupId = $newAdGroupId; + $biddableAdGroupCriterion->criterion = $keyword; + + // Create AdGroupCriterionOperation. + $operation = new AdGroupCriterionOperation(); + $operation->operand = $biddableAdGroupCriterion; + $operation->operator = 'ADD'; + + // Add to list. + $adGroupCriteriaOperations[] = $operation; + } + } + return $adGroupCriteriaOperations; +} + +/** + * Builds objects of AdGroupOperation for creating ad groups for campaigns in + * the specified campaign operations. + * + * @param string $namePrefix a prefix string used to name ad groups + * @param array $campaignOperations an array of CampaignOperation + * @return array an array of AdGroupOperation + */ +function buildAdGroupOperations($namePrefix, array $campaignOperations) { + $operations = array(); + foreach ($campaignOperations as $campaignOperation) { + for ($i = 0; $i < NUMBER_OF_ADGROUPS_TO_ADD; $i++) { + $adGroup = new AdGroup(); + $adGroup->campaignId = $campaignOperation->operand->id; + $adGroup->id = TempIdGenerator::Generate(); + $adGroup->name = sprintf("Batch Ad Group %s.%s", $namePrefix, + strval($adGroup->id)); + + $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); + $bid = new CpcBid(); + $bid->bid = new Money(10000000); + $biddingStrategyConfiguration->bids[] = $bid; + + $adGroup->biddingStrategyConfiguration = $biddingStrategyConfiguration; + + $operation = new AdGroupOperation(); + $operation->operand = $adGroup; + $operation->operator = 'ADD'; + + $operations[] = $operation; + } + } + return $operations; +} + +/** + * Builds objects of CampaignCriterionOperation for creating a negative campaign + * criterion (as keyword) for campaigns in the specified campaign operations. + * + * @param array $campaignOperations an array of CampaignOperation + * @return array an array of CampaignCriterionOperation + */ +function buildCampaignCriterionOperations(array $campaignOperations) { + $operations = array(); + foreach ($campaignOperations as $campaignOperation) { + $keyword = new Keyword(); + $keyword->matchType = 'BROAD'; + $keyword->text = 'venus'; + + $negativeCriterion = new NegativeCampaignCriterion(); + $negativeCriterion->campaignId = $campaignOperation->operand->id; + $negativeCriterion->criterion = $keyword; + + $operation = new CampaignCriterionOperation(); + $operation->operand = $negativeCriterion; + $operation->operator = 'ADD'; + + $operations[] = $operation; + } + return $operations; +} + +/** + * Builds objects of CampaignOperation for creating a campaign using the ID of + * budget in the specified budget operation. + * + * @param string $namePrefix a prefix string used to name campaigns + * @param BudgetOperation $budgetOperation an object of BudgetOperation + * @return array an array of CampaignOperation + */ +function buildCampaignOperations($namePrefix, + BudgetOperation $budgetOperation) { + $budgetId = $budgetOperation->operand->budgetId; + + $operations = array(); + for ($i = 0; $i < NUMBER_OF_CAMPAIGNS_TO_ADD; $i++) { + $campaign = new Campaign(); + $campaign->id = TempIdGenerator::Generate(); + $campaign->name = sprintf("Batch Campaign %s.%s", $namePrefix, + strval($campaign->id)); + + // Recommendation: Set the campaign to PAUSED when creating it to stop + // the ads from immediately serving. Set to ENABLED once you've added + // targeting and the ads are ready to serve. + $campaign->status = 'PAUSED'; + $campaign->advertisingChannelType = 'SEARCH'; + + $budget = new Budget(); + $budget->budgetId = $budgetId; + $campaign->budget = $budget; + $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); + $biddingStrategyConfiguration->biddingStrategyType = 'MANUAL_CPC'; + + // You can optionally provide a bidding scheme in place of the type. + $cpcBiddingScheme = new ManualCpcBiddingScheme(); + $cpcBiddingScheme->enhancedCpcEnabled = false; + $biddingStrategyConfiguration->biddingScheme = $cpcBiddingScheme; + + $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; + + $operation = new CampaignOperation(); + $operation->operand = $campaign; + $operation->operator = 'ADD'; + $operations[] = $operation; + } + return $operations; +} + +/** + * Builds BudgetOperation for creating a budget. + * + * @param string $namePrefix a prefix string used to name a budget + * @return BudgetOperation an object of BudgetOperation + */ +function buildBudgetOperation($namePrefix) { + $budget = new Budget(); + $budget->budgetId = TempIdGenerator::Generate(); + $budget->name = 'Interplanetary Cruise #' . $namePrefix; + $budgetAmount = new Money(); + $budgetAmount->microAmount = 50000000; + $budget->amount = $budgetAmount; + $budget->deliveryMethod = 'STANDARD'; + + $budgetOperation = new BudgetOperation(); + $budgetOperation->operand = $budget; + $budgetOperation->operator = 'ADD'; + return $budgetOperation; +} + +// 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. + AddCompleteCampaignUsingBatchJobExample($user); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/CampaignManagement/AddDraft.php b/examples/AdWords/v201705/CampaignManagement/AddDraft.php new file mode 100755 index 000000000..9689cf3eb --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/AddDraft.php @@ -0,0 +1,114 @@ +GetService('DraftService', ADWORDS_VERSION); + + // Create a draft. + $draft = new Draft(); + $draft->baseCampaignId = $baseCampaignId; + $draft->draftName = 'Test Draft #' . uniqid(); + + // Create an operation. + $operation = new DraftOperation(); + $operation->operand = $draft; + $operation->operator = 'ADD'; + $operations[] = $operation; + + // Make the mutate request. + $result = $draftService->mutate($operations); + $draft = $result->value[0]; + printf( + "Draft with ID %d, base campaign ID %d, and draft campaign ID" + . " %d was added.\n", + $draft->draftId, + $draft->baseCampaignId, + $draft->draftCampaignId + ); + + // Once the draft is created, you can modify the draft campaign as if it were + // a real campaign. For example, you may add criteria, adjust bids, or even + // include additional ads. Adding a criterion is shown here. + $campaignCriterionService = + $user->GetService('CampaignCriterionService', ADWORDS_VERSION); + + // Create a criterion. + $language = new Language(); + $language->id = 1003; // Spanish + $campaignCriterion = new CampaignCriterion(); + $campaignCriterion->campaignId = $draft->draftCampaignId; + $campaignCriterion->criterion = $language; + + // Create an operation. + $operations = array(); + $operation = new CampaignCriterionOperation(); + $operation->operand = $campaignCriterion; + $operation->operator = 'ADD'; + $operations[] = $operation; + + // Make the mutate request. + $result = $campaignCriterionService->mutate($operations); + $campaignCriterion = $result->value[0]; + + printf("Draft updated to include criteria in the campaign with ID %d.\n", + $draft->draftCampaignId); +} + +// 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. + AddDraftExample($user, $baseCampaignId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/CampaignManagement/AddKeywordsUsingIncrementalBatchJob.php b/examples/AdWords/v201705/CampaignManagement/AddKeywordsUsingIncrementalBatchJob.php new file mode 100755 index 000000000..916917702 --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/AddKeywordsUsingIncrementalBatchJob.php @@ -0,0 +1,253 @@ +GetService('BatchJobService', ADWORDS_VERSION); + + // Create a BatchJob. + $addOp = new BatchJobOperation(); + $addOp->operator = 'ADD'; + $addOp->operand = new BatchJob(); + $addOps[] = $addOp; + + $result = $batchJobService->mutate($addOps); + $batchJob = $result->value[0]; + + // Get the upload URL from the new job. + $uploadUrl = $batchJob->uploadUrl->url; + printf("Created BatchJob with ID %d, status '%s' and upload URL '%s'.\n", + $batchJob->id, $batchJob->status, $uploadUrl); + + // Use BatchJobUtils to upload all operations. + $batchJobUtils = new BatchJobUtils($uploadUrl); + + // Generate and upload the first set of operations. + $adGroupCriterionOperations = + buildAdGroupCriterionOperations($adGroupId); + $batchJobUtils->UploadIncrementalBatchJobOperations( + $adGroupCriterionOperations); + printf("Uploaded %d operations for batch job with ID %d.\n", + count($adGroupCriterionOperations), $batchJob->id); + + // Generate and upload the second set of operations. + $adGroupCriterionOperations = + buildAdGroupCriterionOperations($adGroupId); + $batchJobUtils->UploadIncrementalBatchJobOperations( + $adGroupCriterionOperations); + printf("Uploaded %d operations for batch job with ID %d.\n", + count($adGroupCriterionOperations), $batchJob->id); + + // Generate and upload the third and final set of operations. + $adGroupCriterionOperations = + buildAdGroupCriterionOperations($adGroupId); + $batchJobUtils->UploadIncrementalBatchJobOperations( + $adGroupCriterionOperations, true); + printf("Uploaded %d operations for batch job with ID %d.\n", + count($adGroupCriterionOperations), $batchJob->id); + + // Poll for completion of the batch job using an exponential back off. + $pollAttempts = 0; + $isPending = true; + $wasCancelRequested = false; + + $selector = new Selector(); + $selector->fields = array('Id', 'Status', 'DownloadUrl', 'ProcessingErrors', + 'ProgressStats'); + $selector->predicates[] = new Predicate('Id', 'EQUALS', $batchJob->id); + do { + $sleepSeconds = POLL_FREQUENCY_SECONDS * pow(2, $pollAttempts); + printf("Sleeping %d seconds...\n", $sleepSeconds); + sleep($sleepSeconds); + + $batchJob = $batchJobService->get($selector)->entries[0]; + printf("Batch job ID %d has status '%s'.\n", $batchJob->id, + $batchJob->status); + + $pollAttempts++; + if ($batchJob->status !== 'ACTIVE' && + $batchJob->status !== 'AWAITING_FILE' && + $batchJob->status !== 'CANCELING') { + $isPending = false; + } + + // Optional: Cancel the job if it has not completed after polling + // MAX_POLL_ATTEMPTS times. + if ($isPending && !$wasCancelRequested + && $pollAttempts == MAX_POLL_ATTEMPTS) { + $batchJob->status = 'CANCELING'; + $batchJobSetOperation = new BatchJobOperation(); + $batchJobSetOperation->operand = $batchJob; + $batchJobSetOperation->operator = 'SET'; + + // Only request cancellation once per job. + $wasCancelRequested = true; + try { + $operations[] = $batchJobSetOperation; + $batchJob = $batchJobService->mutate($operations)->value[0]; + printf("Requested cancellation of batch job with ID %d.\n", + $batchJob->id); + // Reset the poll attempt counter to wait for cancellation. + $pollAttempts = 0; + } catch (Exception $e) { + $errors = $e->detail->ApiExceptionFault->errors; + if ($errors !== null + && $errors->enc_value instanceof BatchJobError) { + if ($errors->enc_value->reason === 'INVALID_STATE_CHANGE') { + printf("Attempt to cancel batch job with ID %d was rejected because" + . " the job already completed or was canceled.\n", + $batchJob->id); + // Reset the poll attempt counter to wait for cancellation. + $pollAttempts = 0; + continue; + } + } + throw $e; + } + } + } while ($isPending && $pollAttempts <= MAX_POLL_ATTEMPTS); + + if ($isPending) { + throw new BatchJobException( + sprintf("Job is still pending state after polling %d times.", + MAX_POLL_ATTEMPTS)); + } + + if ($batchJob->processingErrors !== null) { + $i = 0; + foreach ($batchJob->processingErrors as $processingError) { + printf( + " Processing error [%d]: errorType=%s, trigger=%s, errorString=%s," + . " fieldPath=%s, reason=%s\n", + $i++, + $processingError->ApiErrorType, + $processingError->trigger, + $processingError->errorString, + $processingError->fieldPath, + $processingError->reason + ); + } + } else { + printf("No processing errors found.\n"); + } + + if ($batchJob->downloadUrl !== null && $batchJob->downloadUrl->url !== null) { + $xmlResponse = + $batchJobUtils->DownloadBatchJobResults($batchJob->downloadUrl->url); + printf("Downloaded results from %s:\n", $batchJob->downloadUrl->url); + $deserializer = new XmlDeserializer(BatchJobUtils::$CLASS_MAP); + $mutateResponse = $deserializer->ConvertXmlToObject($xmlResponse); + if (empty($mutateResponse)) { + printf(" No results available.\n"); + } else { + foreach ($mutateResponse->rval as $mutateResult) { + $outcome = $mutateResult->errorList === null ? 'SUCCESS' : 'FAILURE'; + printf(" Operation [%d] - %s\n", $mutateResult->index, $outcome); + } + } + } else { + printf("No results available for download.\n"); + } +} + +/** + * Builds objects of AdGroupCriterionOperation for creating biddable criteria + * (as keywords) for an ad group with the specified ID. 10% of + * keywords are created with some invalid characters to demonstrate how + * BatchJobService returns information about such errors. + * + * @param string $adGroupId the ID of the ad group to add the keywords to + * @return array an array of AdGroupCriterionOperation + */ +function buildAdGroupCriterionOperations($adGroupId) { + $adGroupCriterionOperations = array(); + + $suffix = uniqid(); + // Create AdGroupCriterionOperations to add keywords. + for ($i = 0; $i < NUMBER_OF_KEYWORDS_TO_ADD; $i++) { + // Create Keyword. + $text = sprintf("mars%s-%d", $suffix, $i); + + // Make 10% of keywords invalid to demonstrate error handling. + if ($i % 10 == 0) { + $text = $text . '!!!'; + } + $keyword = new Keyword(); + $keyword->text = $text; + $keyword->matchType = 'BROAD'; + + // Create BiddableAdGroupCriterion. + $biddableAdGroupCriterion = new BiddableAdGroupCriterion(); + $biddableAdGroupCriterion->adGroupId = $adGroupId; + $biddableAdGroupCriterion->criterion = $keyword; + + // Create AdGroupCriterionOperation. + $operation = new AdGroupCriterionOperation(); + $operation->operand = $biddableAdGroupCriterion; + $operation->operator = 'ADD'; + + // Add to list. + $adGroupCriterionOperations[] = $operation; + } + return $adGroupCriterionOperations; +} + +// 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. + AddKeywordsUsingIncrementalBatchJob($user, $adGroupId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/CampaignManagement/AddTrial.php b/examples/AdWords/v201705/CampaignManagement/AddTrial.php new file mode 100755 index 000000000..6c5d130b0 --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/AddTrial.php @@ -0,0 +1,139 @@ +GetService('TrialService', ADWORDS_VERSION); + $trialAsynErrorService = + $user->GetService('TrialAsyncErrorService', ADWORDS_VERSION); + + // Create a trial. + $trial = new Trial(); + $trial->draftId = $draftId; + $trial->baseCampaignId = $baseCampaignId; + $trial->name = 'Test Trial #' . uniqid(); + $trial->trafficSplitPercent = 50; + + // Create an operation. + $operation = new TrialOperation(); + $operation->operand = $trial; + $operation->operator = 'ADD'; + $operations[] = $operation; + + // Make the mutate request. + $result = $trialService->mutate($operations); + $trial = $result->value[0]; + + $selector = new Selector(); + $selector->fields = + array('Id', 'Status', 'BaseCampaignId', 'TrialCampaignId'); + $selector->predicates = new Predicate('Id', 'IN', array($trial->id)); + + // Since creating a trial is asynchronous, we have to poll it to wait for it + // to finish. + $pollAttempts = 0; + $isPending = true; + $trial = null; + do { + $sleepSeconds = POLL_FREQUENCY_SECONDS * pow(2, $pollAttempts); + printf("Sleeping %d seconds...\n", $sleepSeconds); + sleep($sleepSeconds); + + $trial = $trialService->get($selector)->entries[0]; + printf("Trial ID %d has status '%s'.\n", $trial->id, $trial->status); + + $pollAttempts++; + $isPending = ($trial->status === 'CREATING') ? true : false; + } while ($isPending && $pollAttempts <= MAX_POLL_ATTEMPTS); + + if ($trial->status === 'ACTIVE') { + // The trial creation was successful. + printf("Trial created with ID %d and trial campaign ID %d\n", $trial->id, + $trial->trialCampaignId); + } else if ($trial->status === 'CREATION_FAILED') { + // The trial creation failed, and errors can be fetched from the + // TrialAsyncErrorService. + $selector = new Selector(); + $selector->fields = array('TrialId', 'AsyncError'); + $selector->predicates = new Predicate('TrialId', 'IN', array($trial->id)); + + $errors = $trialAsynErrorService->get($selector)->entries; + + if (count($errors) === 0) { + printf("Could not retrieve errors for the trial with ID %d\n", + $trial->id); + } else { + printf("Could not create trial due to the following errors:\n"); + $i = 0; + foreach ($errors as $error) { + printf("Error #%d: %s\n", $i++, $error->asyncError); + } + } + } else { + // Most likely, the trial is still being created. You can continue polling, + // but we have limited the number of attempts in the example. + printf("Timed out waiting to create trial from draft with ID %d with base " + . "campaign with ID %d\n", $draftId, $baseCampaignId); + } +} + +// 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. + AddTrialExample($user, $draftId, $baseCampaignId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/CampaignManagement/GetAdGroupsForDraft.php b/examples/AdWords/v201705/CampaignManagement/GetAdGroupsForDraft.php new file mode 100755 index 000000000..c871816a8 --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/GetAdGroupsForDraft.php @@ -0,0 +1,84 @@ +GetService('AdGroupService', ADWORDS_VERSION); + + // Create selector. + $selector = new Selector(); + $selector->fields = array('Id'); + + // Create predicates. + $selector->predicates[] = + new Predicate('CampaignId', 'EQUALS', $draftCampaignId); + + // Create paging controls. + $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); + + // Make the get request. + $page = $adGroupService->get($selector); + + // Display results. + if ($page->totalNumEntries !== null && $page->totalNumEntries > 0) { + printf("Found %d ad groups.\n", $page->totalNumEntries); + } else { + print "No ad groups 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. + GetAdGroupsForDraftExample($user, $draftCampaignId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/CampaignManagement/GetAllDisapprovedAds.php b/examples/AdWords/v201705/CampaignManagement/GetAllDisapprovedAds.php new file mode 100755 index 000000000..61966b747 --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/GetAllDisapprovedAds.php @@ -0,0 +1,109 @@ +GetService('AdGroupAdService', ADWORDS_VERSION); + + // Create selector. + $selector = new Selector(); + $selector->fields = array('Id', 'PolicySummary'); + $selector->ordering = array(new OrderBy('Id', 'ASCENDING')); + + // Create predicates. + $selector->predicates[] = new Predicate('AdGroupId', 'IN', array($adGroupId)); + + // Create paging controls. + $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); + + $disapprovedAdsCount = 0; + do { + // Make the get request. + $page = $adGroupAdService->get($selector); + + // Display results. + if (isset($page->entries)) { + foreach ($page->entries as $adGroupAd) { + if ($adGroupAd->policySummary->combinedApprovalStatus + !== 'DISAPPROVED') { + // Skip ad group ads that are not disapproved. + continue; + } + + $disapprovedAdsCount++; + printf( + "Ad with ID %d, and type '%s' was disapproved with the " + . "following policy topic entries:\n", + $adGroupAd->ad->id, + $adGroupAd->ad->AdType + ); + foreach ($adGroupAd->policySummary->policyTopicEntries + as $policyTopicEntry) { + printf( + " topic id: %s, topic name: '%s'\n", + $policyTopicEntry->policyTopicId, + $policyTopicEntry->policyTopicName + ); + } + } + } + + // Advance the paging index. + $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; + } while ($page->totalNumEntries > $selector->paging->startIndex); + printf("%d disapproved ads were found.\n", $disapprovedAdsCount); +} + +// 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/v201705/CampaignManagement/GetAllDisapprovedAdsWithAwql.php b/examples/AdWords/v201705/CampaignManagement/GetAllDisapprovedAdsWithAwql.php new file mode 100755 index 000000000..e91a717bd --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/GetAllDisapprovedAdsWithAwql.php @@ -0,0 +1,107 @@ +GetService('AdGroupAdService', ADWORDS_VERSION); + + // Create a query. + $query = sprintf('SELECT Id, PolicySummary WHERE AdGroupId = %d ORDER BY Id', + $adGroupId); + + // Create paging controls. + $offset = 0; + $disapprovedAdsCount = 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) { + if ($adGroupAd->policySummary->combinedApprovalStatus + !== 'DISAPPROVED') { + // Skip ad group ads that are not disapproved. + continue; + } + + $disapprovedAdsCount++; + printf( + "Ad with ID %d, and type '%s' was disapproved with the " + . "following policy topic entries:\n", + $adGroupAd->ad->id, + $adGroupAd->ad->AdType + ); + foreach ($adGroupAd->policySummary->policyTopicEntries + as $policyTopicEntry) { + printf( + " topic id: %s, topic name: '%s'\n", + $policyTopicEntry->policyTopicId, + $policyTopicEntry->policyTopicName + ); + } + } + } + + // Advance the paging offset. + $offset += AdWordsConstants::RECOMMENDED_PAGE_SIZE; + } while ($page->totalNumEntries > $offset); + printf("%d disapproved ads were found.\n", $disapprovedAdsCount); +} + +// 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/v201609/Express/GetPromotions.php b/examples/AdWords/v201705/CampaignManagement/GetCampaignsByLabel.php similarity index 61% rename from examples/AdWords/v201609/Express/GetPromotions.php rename to examples/AdWords/v201705/CampaignManagement/GetCampaignsByLabel.php index 8e8869b0b..d9a27e0f2 100755 --- a/examples/AdWords/v201609/Express/GetPromotions.php +++ b/examples/AdWords/v201705/CampaignManagement/GetCampaignsByLabel.php @@ -1,7 +1,7 @@ SetExpressBusinessId($businessId); - +function GetCampaignsByLabelExample(AdWordsUser $user, $labelId) { // Get the service, which loads the required classes. - $promotionService = $user->GetService('PromotionService', ADWORDS_VERSION); + $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); - $selector->fields = array('PromotionId', 'Name', 'Status', 'DestinationUrl', - 'CallTrackingEnabled', 'Budget', 'PromotionCriteria', 'ExpandedCreative', - 'CampaignIds'); + $selector->fields = array('Id', 'Name', 'Labels'); + // Labels filtering is performed by ID. You can use containsAny to select + // campaigns with any of the label IDs, containsAll to select campaigns with + // all of the label IDs, or containsNone to select campaigns with none of the + // label IDs. + $selector->predicates[] = new Predicate('Labels', 'CONTAINS_ANY', + array($labelId)); $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); // Create paging controls. @@ -53,17 +55,20 @@ function GetPromotionsExample(AdWordsUser $user, $businessId) { do { // Make the get request. - $page = $promotionService->get($selector); + $page = $campaignService->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); + foreach ($page->entries as $campaign) { + printf("Campaign with name '%s' and ID '%d' and labels '%s'" . + " was found.\n", $campaign->name, $campaign->id, + implode(', ', + array_map(function($label) { + return sprintf('%d/%s', $label->id, $label->name); + }, $campaign->labels))); } } else { - print "No express promotions were found.\n"; + print "No campaigns were found.\n"; } // Advance the paging index. @@ -85,7 +90,7 @@ function GetPromotionsExample(AdWordsUser $user, $businessId) { $user->LogAll(); // Run the example. - GetPromotionsExample($user, $businessId); + GetCampaignsByLabelExample($user, $labelId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/CampaignManagement/GraduateTrial.php b/examples/AdWords/v201705/CampaignManagement/GraduateTrial.php new file mode 100755 index 000000000..bb96e7aaa --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/GraduateTrial.php @@ -0,0 +1,107 @@ +GetService('TrialService', ADWORDS_VERSION); + $budgetService = $user->GetService('BudgetService', ADWORDS_VERSION); + + // To graduate a trial, you must specify a different budget from the base + // campaign. The base campaign (in order to have had a trial based on it) + // must have a non-shared budget, so it cannot be shared with the new + // independent campaign created by graduation. + $budget = new Budget(); + $budget->name = 'Trial Budget #' . uniqid(); + $budget->amount = new Money(50000000); + $budget->deliveryMethod = 'STANDARD'; + + $operations = array(); + $operation = new BudgetOperation(); + $operation->operand = $budget; + $operation->operator = 'ADD'; + $operations[] = $operation; + + $budget = $budgetService->mutate($operations)->value[0]; + + // Create a trial. + $trial = new Trial(); + $trial->id = $trialId; + $trial->budgetId = $budget->budgetId; + $trial->status = 'GRADUATED'; + + // Create an operation. + $operations = array(); + $operation = new TrialOperation(); + $operation->operand = $trial; + $operation->operator = 'SET'; + $operations[] = $operation; + + // Make the mutate request. + $trial = $trialService->mutate($operations)->value[0]; + + // Graduation is a synchronous operation, so the campaign is already ready. + // If you promote instead, make sure to see the polling scheme demonstrated + // in AddTrial.php to wait for the asynchronous operation to finish. + printf( + "Trial with ID %d graduated. Campaign with ID %d was given a new budget " + . "ID %d and is no longer dependent on this trial.\n", + $trial->id, + $trial->trialCampaignId, + $budget->budgetId + ); +} + +// 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. + GraduateTrialExample($user, $trialId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/CampaignManagement/SetAdParameters.php b/examples/AdWords/v201705/CampaignManagement/SetAdParameters.php new file mode 100755 index 000000000..df74e7a97 --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/SetAdParameters.php @@ -0,0 +1,89 @@ +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/v201705/CampaignManagement/SetBidModifier.php b/examples/AdWords/v201705/CampaignManagement/SetBidModifier.php new file mode 100755 index 000000000..e55587161 --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/SetBidModifier.php @@ -0,0 +1,98 @@ +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/v201705/CampaignManagement/ValidateTextAd.php b/examples/AdWords/v201705/CampaignManagement/ValidateTextAd.php new file mode 100755 index 000000000..4575f8c6f --- /dev/null +++ b/examples/AdWords/v201705/CampaignManagement/ValidateTextAd.php @@ -0,0 +1,101 @@ +GetService('AdGroupAdService', ADWORDS_VERSION, null, null, true); + + // Create invalid expanded text ad. + $expandedTextAd = new ExpandedTextAd(); + $expandedTextAd->headlinePart1 = 'Luxury Cruise to Mars'; + $expandedTextAd->headlinePart2 = 'Visit the Red Planet in style.'; + $expandedTextAd->description = 'Low-gravity fun for all astronauts in orbit.'; + $expandedTextAd->finalUrls = array('http://www.example.com'); + + // Create ad group ad. + $adGroupAd = new AdGroupAd(); + $adGroupAd->adGroupId = $adGroupId; + $adGroupAd->ad = $expandedTextAd; + + // 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 expanded text ad is valid.\n"); + } catch (SoapFault $e) { + $errors = ErrorUtils::GetApiErrors($e); + if (sizeof($errors) > 0) { + printf("The expanded 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/v201705/ErrorHandling/HandlePartialFailures.php b/examples/AdWords/v201705/ErrorHandling/HandlePartialFailures.php new file mode 100755 index 000000000..407248b71 --- /dev/null +++ b/examples/AdWords/v201705/ErrorHandling/HandlePartialFailures.php @@ -0,0 +1,113 @@ +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/v201705/ErrorHandling/HandlePolicyViolationError.php b/examples/AdWords/v201705/ErrorHandling/HandlePolicyViolationError.php new file mode 100755 index 000000000..c023a8c71 --- /dev/null +++ b/examples/AdWords/v201705/ErrorHandling/HandlePolicyViolationError.php @@ -0,0 +1,141 @@ +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->finalUrls = array('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); + 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/v201705/Extensions/AddGoogleMyBusinessLocationExtensions.php b/examples/AdWords/v201705/Extensions/AddGoogleMyBusinessLocationExtensions.php new file mode 100755 index 000000000..0f5a06f14 --- /dev/null +++ b/examples/AdWords/v201705/Extensions/AddGoogleMyBusinessLocationExtensions.php @@ -0,0 +1,206 @@ +GetService('FeedService'); + + // Create a feed that will sync to the Google My Business account specified + // by gmbEmailAddress. Do not add FeedAttributes to this object, as AdWords + // will add them automatically because this will be a system generated feed. + $gmbFeed = new Feed(); + $gmbFeed->name = 'Google My Business feed #' . uniqid(); + + $feedData = new PlacesLocationFeedData(); + $feedData->emailAddress = $gmbEmailAddress; + $feedData->businessAccountIdentifier = $gmbBusinessAccount; + + // Optional: specify labels to filter Google My Business listings. If + // specified, only listings that have any of the labels set are + // synchronized into FeedItems. + $feedData->labelFilters = array('Stores in New York City'); + + $oAuthInfo = new OAuthInfo(); + $oAuthInfo->httpMethod = 'GET'; + $oAuthInfo->httpRequestUrl = 'https://www.googleapis.com/auth/adwords'; + $oAuthInfo->httpAuthorizationHeader = sprintf('Bearer %s', $gmbAccessToken); + $feedData->oAuthInfo = $oAuthInfo; + + $gmbFeed->systemFeedGenerationData = $feedData; + + // Since this feed's feed items will be managed by AdWords, + // you must set its origin to ADWORDS. + $gmbFeed->origin = 'ADWORDS'; + + // Create an operation to add the feed. + $feedOperation = new FeedOperation(); + $feedOperation->operand = $gmbFeed; + $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 GMB 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 GMB 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(); + + $oAuth2Info = $user->GetOAuth2Info(); + $oAuth2Handler = $user->GetOAuth2Handler(); + if (!isset($oAuth2Info['access_token'])) { + $oAuth2Info = $oAuth2Handler->GetOrRefreshAccessToken($oAuth2Info); + $user->SetOAuth2Info($oAuth2Info); + } + + // Log every SOAP XML request and response. + $user->LogAll(); + + // If the GMB_EMAIL_ADDRESS is the same user you used to generate your + // AdWords API refresh token, leave the assignment below unchanged. + // Otherwise, to obtain an access token for your GMB account, run the + // Auth/GetRefreshToken example. Make sure you are logged in as the same user + // as GMB_EMAIL_ADDRESS above when you follow the link provided by the example + // then call GetOAuth2Info on the generated AdWordsUser object and copy and + // paste the value into the assignment below. + define('GMB_ACCESS_TOKEN', $oAuth2Info['access_token']); + + // Run the example. + AddGoogleMyBusinessLocationExtensions( + $user, GMB_EMAIL_ADDRESS, GMB_ACCESS_TOKEN, BUSINESS_ACCOUNT_IDENTIFIER); + +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/Extensions/AddPrices.php b/examples/AdWords/v201705/Extensions/AddPrices.php new file mode 100755 index 000000000..8ae02fec0 --- /dev/null +++ b/examples/AdWords/v201705/Extensions/AddPrices.php @@ -0,0 +1,152 @@ +GetService('CustomerExtensionSettingService', ADWORDS_VERSION); + + // Create the price extension feed item. + $priceFeedItem = new PriceFeedItem(); + $priceFeedItem->priceExtensionType = 'SERVICES'; + // Price qualifer is optional. + $priceFeedItem->priceQualifier = 'FROM'; + $priceFeedItem->trackingUrlTemplate = 'http://tracker.example.com/?u={lpurl}'; + $priceFeedItem->language = 'en'; + $priceFeedItem->campaignTargeting = + new FeedItemCampaignTargeting($campaignId); + $priceFeedItem->scheduling = new FeedItemScheduling(array( + new FeedItemSchedule('SUNDAY', 10, 'ZERO', 18, 'ZERO'), + new FeedItemSchedule('SATURDAY', 10, 'ZERO', 22, 'ZERO') + )); + + // To create a price extension, at least three table rows are needed. + $tableRows = array(); + $tableRows[] = createPriceTableRow( + 'Scrubs', + 'Body Scrub, Salt Scrub', + 'http://www.example.com/scrubs', + 60 * AdWordsConstants::MICROS_PER_DOLLAR, + 'USD', + 'PER_HOUR' + ); + $tableRows[] = createPriceTableRow( + 'Hair Cuts', + 'Once a month', + 'http://www.example.com/haircuts', + 75 * AdWordsConstants::MICROS_PER_DOLLAR, + 'USD', + 'PER_MONTH' + ); + $tableRows[] = createPriceTableRow( + 'Skin Care Package', + 'Four times a month', + 'http://www.example.com/skincarepackage', + 250 * AdWordsConstants::MICROS_PER_DOLLAR, + 'USD', + 'PER_MONTH' + ); + + $priceFeedItem->tableRows = $tableRows; + + // Create your customer extension settings. This associates the price + // extension to your account. + $customerExtensionSetting = new CustomerExtensionSetting(); + $customerExtensionSetting->extensionType = 'PRICE'; + $customerExtensionSetting->extensionSetting = new ExtensionSetting(); + $customerExtensionSetting->extensionSetting->extensions = + array($priceFeedItem); + + // Create operation. + $operation = new CustomerExtensionSettingOperation(); + $operation->operator = 'ADD'; + $operation->operand = $customerExtensionSetting; + + $operations = array($operation); + + // Add the price extension. + $result = $customerExtensionSettingService->mutate($operations); + + // Print the results. + $newExtensionSetting = $result->value[0]; + printf("Extension setting with type '%s' was added to your account.\n", + $newExtensionSetting->extensionType); +} + +/** + * Creates a new price table row with the specified attributes. + * + * @param string $header the header of price table row + * @param string $description the description of price table row + * @param string $finalUrl the final url of price table row + * @param integer $priceInMicros the price in micro amount + * @param string $currencyCode the 3-character currency code + * @param string $priceUnit the unit of shown price + */ +function createPriceTableRow($header, $description, $finalUrl, $priceInMicros, + $currencyCode, $priceUnit) { + $priceTableRow = new PriceTableRow(); + $priceTableRow->header = $header; + $priceTableRow->description = $description; + $priceTableRow->finalUrls = new UrlList(array($finalUrl)); + $priceTableRow->price = + new MoneyWithCurrency(new Money($priceInMicros), $currencyCode); + $priceTableRow->priceUnit = $priceUnit; + return $priceTableRow; +} + +// 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. + AddPricesExample($user, $campaignId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/Extensions/AddSitelinks.php b/examples/AdWords/v201705/Extensions/AddSitelinks.php new file mode 100755 index 000000000..3f5d9e84f --- /dev/null +++ b/examples/AdWords/v201705/Extensions/AddSitelinks.php @@ -0,0 +1,154 @@ +GetService('CampaignExtensionSettingService', ADWORDS_VERSION); + $customerService = $user->GetService('CustomerService', ADWORDS_VERSION); + + // Find the matching customer and its time zone. The getCustomers method will + // return a single Customer object corresponding to the user's + // clientCustomerId. + $customers = $customerService->getCustomers(); + $customer = $customers[0]; + printf("Found customer ID %d with time zone %s.\n", $customer->customerId, + $customer->dateTimeZone); + + // Create the sitelinks: + + // A simple one. + $sitelink1 = new SitelinkFeedItem(); + $sitelink1->sitelinkText = 'Store Hours'; + $sitelink1->sitelinkFinalUrls = + new UrlList(array('http://www.example.com/storehours')); + + // This one to show the Thanksgiving specials link only from 20 - 27 Nov. + $sitelink2 = new SitelinkFeedItem(); + $sitelink2->sitelinkText = 'Thanksgiving Specials'; + $sitelink2->sitelinkFinalUrls = + new UrlList(array('http://www.example.com/thanksgiving')); + $sitelink2->startTime = date('Y') . '1120 000000 ' . $customer->dateTimeZone; + $sitelink2->endTime = date('Y') . '1127 235959 ' . $customer->dateTimeZone; + // Target this sitelink for United States only. See + // https://developers.google.com/adwords/api/docs/appendix/geotargeting + // for valid geolocation codes. + $location = new Location(); + $location->id = 2840; + $sitelink2->geoTargeting = $location; + + // Restrict targeting only to people physically within the United States. + // Otherwise, this could also show to people interested in the United States + // but not physically located there. + $sitelink2->geoTargetingRestriction = + new FeedItemGeoRestriction('LOCATION_OF_PRESENCE'); + + // Sitelink targetted on high end mobile. + $sitelink3 = new SitelinkFeedItem(); + $sitelink3->sitelinkText = 'Wifi available'; + $sitelink3->sitelinkFinalUrls = + new UrlList(array('http://www.example.com/mobile/wifi')); + $sitelink3->devicePreference = 30001; + // Target this sitelink only when the ad is triggered by the keyword + // "free wifi". + $keyword = new Keyword(); + $keyword->text = 'free wifi'; + $keyword->matchType = 'BROAD'; + $sitelink3->keywordTargeting = $keyword; + + // Show the happy hours link only during Mon - Fri 6PM to 9PM. + $sitelink4 = new SitelinkFeedItem(); + $sitelink4->sitelinkText = 'Happy Hours Now!'; + $sitelink4->sitelinkFinalUrls = + new UrlList(array('http://www.example.com/happyhours')); + $sitelink4->scheduling = new FeedItemScheduling(array( + new FeedItemSchedule('MONDAY', 18, 'ZERO', 21, 'ZERO'), + new FeedItemSchedule('TUESDAY', 18, 'ZERO', 21, 'ZERO'), + new FeedItemSchedule('WEDNESDAY', 18, 'ZERO', 21, 'ZERO'), + new FeedItemSchedule('THURSDAY', 18, 'ZERO', 21, 'ZERO'), + new FeedItemSchedule('FRIDAY', 18, 'ZERO', 21, 'ZERO') + )); + + // Create your campaign extension settings. This associates the sitelinks + // to your campaign. + $campaignExtensionSetting = new CampaignExtensionSetting(); + $campaignExtensionSetting->campaignId = $campaignId; + $campaignExtensionSetting->extensionType = 'SITELINK'; + $campaignExtensionSetting->extensionSetting = new ExtensionSetting(); + $campaignExtensionSetting->extensionSetting->extensions = array(); + $campaignExtensionSetting->extensionSetting->extensions[] = $sitelink1; + $campaignExtensionSetting->extensionSetting->extensions[] = $sitelink2; + $campaignExtensionSetting->extensionSetting->extensions[] = $sitelink3; + $campaignExtensionSetting->extensionSetting->extensions[] = $sitelink4; + + // Create operation. + $operation = new CampaignExtensionSettingOperation(); + $operation->operator = 'ADD'; + $operation->operand = $campaignExtensionSetting; + + $operations = array($operation); + + // Add the sitelinks. + $result = $campaignExtensionSettingService->mutate($operations); + + // Print the results. + $newExtensionSetting = $result->value[0]; + printf("Extension setting with type '%s' was added to campaign ID %d\n", + $newExtensionSetting->extensionType, $newExtensionSetting->campaignId); + + return $newExtensionSetting; +} + +// 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/v201705/Extensions/AddSitelinksUsingFeeds.php b/examples/AdWords/v201705/Extensions/AddSitelinksUsingFeeds.php new file mode 100755 index 000000000..f75907104 --- /dev/null +++ b/examples/AdWords/v201705/Extensions/AddSitelinksUsingFeeds.php @@ -0,0 +1,315 @@ +GetService('FeedService', ADWORDS_VERSION); + + // Create attributes. + $textAttribute = new FeedAttribute(); + $textAttribute->type = 'STRING'; + $textAttribute->name = 'Link Text'; + $finalUrlAttribute = new FeedAttribute(); + $finalUrlAttribute->type = 'URL_LIST'; + $finalUrlAttribute->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 Sitelinks'; + $sitelinksFeed->attributes = array($textAttribute, $finalUrlAttribute, + $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['linkFinalUrlFeedAttributeId'] = $savedAttributes[1]->id; + $sitelinksData['line1FeedAttribute'] = $savedAttributes[2]->id; + $sitelinksData['line2FeedAttribute'] = $savedAttributes[3]->id; + + printf('Feed with name "%s" and ID %d with linkTextAttributeId %d' + . ", linkFinalUrlAttributeId %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 array $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'); + // This site link is using geographical targeting by specifying the criterion + // ID for California. + $aboutUs = NewSitelinkFeedItemAddOperation($sitelinksData, 'About Us', + 'http://www.example.com/about', 'About Us line 1', 'About Us line 2', + 21137); + + $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_FINAL_URL', 5); +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 array $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; + $linkFinalUrlFieldMapping = new AttributeFieldMapping(); + $linkFinalUrlFieldMapping->feedAttributeId = + $sitelinksData['linkFinalUrlFeedAttributeId']; + $linkFinalUrlFieldMapping->fieldId = PLACEHOLDER_FIELD_SITELINK_FINAL_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, $linkFinalUrlFieldMapping, + $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 array $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); + $matchingFunctionString = sprintf( + 'AND( IN(FEED_ITEM_ID, {%s}), EQUALS(CONTEXT.DEVICE, "Mobile") )', + implode(',', $sitelinksData['sitelinkFeedItemIds'])); + + $campaignFeed = new CampaignFeed(); + $campaignFeed->feedId = $sitelinksData['sitelinksFeedId']; + $campaignFeed->campaignId = $campaignId; + + $matchingFunction = new FeedFunction(); + $matchingFunction->functionString = $matchingFunctionString; + $campaignFeed->matchingFunction = $matchingFunction; + // 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 array $sitelinksData IDs associated to created sitelinks feed metadata + * @param string $text text of the sitelink + * @param string $finalUrl URL of the sitelink + * @param string $line1 first line of the sitelink description + * @param string $line2 second line of the sitelink description + * @param int $locationId the criterion ID of location to be targeted + */ +function NewSitelinkFeedItemAddOperation($sitelinksData, $text, $finalUrl, + $line1, $line2, $locationId = null) { + // Create the FeedItemAttributeValues for our text values. + $linkTextAttributeValue = new FeedItemAttributeValue(); + $linkTextAttributeValue->feedAttributeId = + $sitelinksData['linkTextFeedAttributeId']; + $linkTextAttributeValue->stringValue = $text; + $linkFinalUrlAttributeValue = new FeedItemAttributeValue(); + $linkFinalUrlAttributeValue->feedAttributeId = + $sitelinksData['linkFinalUrlFeedAttributeId']; + $linkFinalUrlAttributeValue->stringValues = array($finalUrl); + $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, $linkFinalUrlAttributeValue, + $line1AttributeValue, $line2AttributeValue); + + // OPTIONAL: Use geographical targeting on a feed. + // The IDs can be found in the documentation or retrieved with the + // LocationCriterionService. + if ($locationId !== null) { + $location = new Location(); + $location->id = $locationId; + $item->geoTargeting = $location; + $item->geoTargetingRestriction = + new FeedItemGeoRestriction('LOCATION_OF_PRESENCE'); + } + + $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. + AddSitelinksUsingFeedsExample($user, $campaignId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/Migration/MigrateToExtensionSettings.php b/examples/AdWords/v201705/Migration/MigrateToExtensionSettings.php new file mode 100755 index 000000000..bb687f229 --- /dev/null +++ b/examples/AdWords/v201705/Migration/MigrateToExtensionSettings.php @@ -0,0 +1,374 @@ +feedId = $feedId; + $this->feedItemId = $feedItemId; + } +} + +/** + * Runs the example. + * @param AdWordsUser $user the user to run the example with + */ +function MigrateToExtensionSettingsExample(AdWordsUser $user) { + $feeds = GetFeeds($user); + foreach ($feeds as $feed) { + // Retrieve all the sitelinks from the current feed. + $feedItems = GetSitelinksFromFeed($user, $feed->id); + printf("Loaded %d sitelinks for feed ID %d.\n", + count($feedItems), $feed->id); + + // Get all the instances where a sitelink from this feed has been added + // to a campaign. + $campaignFeeds = + GetCampaignFeeds($user, $feed->id, PLACEHOLDER_TYPE_SITELINKS); + printf("Loaded %d sitelink to campaign mappings for feed ID %d.\n", + count($campaignFeeds), $feed->id); + + if (!empty($campaignFeeds)) { + $allFeedItemsToDelete = array(); + foreach ($campaignFeeds as $campaignFeed) { + // Retrieve the sitelinks that have been associated with this campaign. + $feedItemIds = GetFeedItemsForCampaign($campaignFeed); + $platformRestrictions = + GetPlatformRestrictionsForCampaign($campaignFeed); + + if(empty($feedItemIds)) { + printf("Skipping feed ID %d for campaign %d -- matching function is " + . "missing or too complex for this script.\n", + $campaignFeed->feedId, $campaignFeed->campaignId); + continue; + } + + // Delete the campaign feed that associates the sitelinks from the feed + // to the campaign. + DeleteCampaignFeed($user, $campaignFeed); + + // Mark the sitelinks from the feed for deletion. + $allFeedItemsToDelete = + array_merge($allFeedItemsToDelete, $feedItemIds); + + // Create extension settings instead of sitelinks. + CreateExtensionSetting( + $user, $feedItems, $campaignFeed->campaignId, $feedItemIds, + $platformRestrictions); + } + // Delete all the sitelinks from the feed. + $allFeedItemsToDelete = array_unique($allFeedItemsToDelete); + DeleteOldFeedItems($user, $allFeedItemsToDelete, $feed->id); + + } + } +} + +function GetFeeds($user) { + $feedService = $user->GetService('FeedService', ADWORDS_VERSION); + $page = $feedService->query('SELECT Id, Name, Attributes WHERE ' + . 'Origin="USER" AND FeedStatus="ENABLED"'); + return $page->entries; +} + +function GetFeedItems($user, $feedId) { + $feedItemService = $user->GetService('FeedItemService', ADWORDS_VERSION); + $page = $feedItemService->query( + sprintf('SELECT FeedItemId, AttributeValues, Scheduling WHERE ' + . 'Status = "ENABLED" AND FeedId = %d', $feedId)); + return $page->entries; +} + +function GetCampaignFeeds($user, $feedId, $placeholderId) { + $campaignFeedService = + $user->GetService('CampaignFeedService', ADWORDS_VERSION); + + $page = $campaignFeedService->query( + sprintf('SELECT CampaignId, MatchingFunction, PlaceholderTypes WHERE ' + . 'Status="ENABLED" AND FeedId = %d AND PlaceholderTypes ' + . 'CONTAINS_ANY[%d]', $feedId, $placeholderId)); + return $page->entries; +} + +function GetFeedMapping($user, $feedId, $placeholderTypeId) { + $feedMappingService = + $user->GetService('FeedMappingService', ADWORDS_VERSION); + $page = $feedMappingService->query( + sprintf('SELECT FeedMappingId, AttributeFieldMappings WHERE FeedId="%d" ' + . 'AND PlaceholderType="%d" AND Status="ENABLED"', + $feedId, $placeholderTypeId)); + $attributeMappings = array(); + if (!empty($page->entries)) { + // Normally, a feed attribute is mapped only to one field. However, + // you may map it to more than one field if needed. + foreach ($page->entries as $feedMapping) { + foreach ($feedMapping->attributeFieldMappings as $attributeMapping) { + if (!isset($attributeMappings[$attributeMapping->feedAttributeId])) { + $attributeMappings[$attributeMapping->feedAttributeId] = array(); + } + $attributeMappings[$attributeMapping->feedAttributeId][] = + $attributeMapping->fieldId; + } + } + } + return $attributeMappings; +} + +function GetSitelinksFromFeed($user, $feedId) { + printf("Processing feed ID %d...\n", $feedId); + $sitelinks = array(); + + // Retrieve all the feed items from the feed. + $feedItems = GetFeedItems($user, $feedId); + + if (!empty($feedItems)) { + // Retrieve the feed's attribute mapping. + $feedMappings = GetFeedMapping($user, $feedId, PLACEHOLDER_TYPE_SITELINKS); + + foreach ($feedItems as $feedItem) { + $sitelinkFromFeed = + new SitelinkFromFeed($feedItem->feedId, $feedItem->feedItemId); + + foreach ($feedItem->attributeValues as $attributeValue) { + // This attribute hasn't been mapped to a field. + if (!isset($feedMappings[$attributeValue->feedAttributeId])) { + continue; + } + // Get the list of all the fields to which this attribute has been + // mapped. + foreach ($feedMappings[$attributeValue->feedAttributeId] as $fieldId) { + // Read the appropriate value depending on the ID of the mapped field. + switch ($fieldId) { + case PLACEHOLDER_FIELD_TEXT: + $sitelinkFromFeed->text = $attributeValue->stringValue; + break; + case PLACEHOLDER_FIELD_URL: + $sitelinkFromFeed->url = $attributeValue->stringValue; + break; + case PLACEHOLDER_FIELD_FINAL_URLS: + $sitelinkFromFeed->finalUrls = $attributeValue->stringValues; + break; + case PLACEHOLDER_FIELD_FINAL_MOBILE_URLS: + $sitelinkFromFeed->finalMobileUrls = + $attributeValue->stringValues; + break; + case PLACEHOLDER_FIELD_TRACKING_URL_TEMPLATE: + $sitelinkFromFeed->trackingUrlTemplate = + $attributeValue->stringValue; + break; + case PLACEHOLDER_FIELD_LINE2: + $sitelinkFromFeed->line2 = $attributeValue->stringValue; + break; + case PLACEHOLDER_FIELD_LINE3: + $sitelinkFromFeed->line3 = $attributeValue->stringValue; + break; + } + } + } + $sitelinkFromFeed->scheduling = $feedItem->scheduling; + $sitelinks[$feedItem->feedItemId] = $sitelinkFromFeed; + } + } + return $sitelinks; +} + +function GetPlatformRestrictionsForCampaign($campaignFeed) { + $platformRestrictions = 'NONE'; + if ($campaignFeed->matchingFunction->operator == 'AND') { + foreach ($campaignFeed->matchingFunction->lhsOperand as $argument) { + if (get_class($argument) == 'FunctionOperand') { + if ($argument->value->operator == 'EQUALS' && + get_class($argument->value->lhsOperand[0]) == + 'RequestContextOperand') { + $requestContextOperand = $argument->value->lhsOperand[0]; + if ($requestContextOperand->contextType == 'DEVICE_PLATFORM') { + $platformRestrictions = + strtoupper($argument->value->rhsOperand[0]->stringValue); + } + } + } + } + } + return $platformRestrictions; +} + +function GetFeedItemsForCampaign($campaignFeed) { + $feedItems = array(); + + if ($campaignFeed->matchingFunction->operator == 'IN') { + // Check if matchingFunction is of the form IN(FEED_ITEM_ID,{xxx,xxx}). + // Extract feed items if applicable. + $feedItems = array_merge($feedItems, + GetFeedItemsFromArgument($campaignFeed->matchingFunction)); + } else if ($campaignFeed->matchingFunction->operator == 'AND') { + foreach ($campaignFeed->matchingFunction->lhsOperand as $argument) { + // Check if matchingFunction is of the form IN(FEED_ITEM_ID,{xxx,xxx}). + // Extract feed items if applicable. + if (get_class($argument) == 'FunctionOperand') { + if ($argument->value->operator == 'IN') { + $feedItems = array_merge($feedItems, + GetFeedItemsFromArgument($argument->value)); + } + } + } + } + // There are no other matching functions involving feed item IDs. + return $feedItems; +} + +function GetFeedItemsFromArgument($function) { + $feedItems = array(); + + if (count($function->lhsOperand) == 1 && + get_class($function->lhsOperand[0]) == + 'RequestContextOperand' && + $function->lhsOperand[0]->contextType == + 'FEED_ITEM_ID' && + $function->operator == 'IN') { + foreach ($function->rhsOperand as $argument) { + $feedItems[] = $argument->longValue; + } + } + return $feedItems; +} + +function CreateExtensionSetting($user, $feedItems, $campaignId, $feedItemIds, + $platformRestrictions) { + $campaignExtensionSettingService = + $user->GetService('CampaignExtensionSettingService', ADWORDS_VERSION); + + $extensionSetting = new CampaignExtensionSetting(); + $extensionSetting->campaignId = $campaignId; + $extensionSetting->extensionType = 'SITELINK'; + $extensionSetting->extensionSetting = new ExtensionSetting(); + + $extensionFeedItems = array(); + foreach ($feedItemIds as $feedItemId) { + $feedItem = $feedItems[$feedItemId]; + $newFeedItem = new SitelinkFeedItem($feedItem->text, $feedItem->url, + $feedItem->line2, $feedItem->line3, $feedItem->finalUrls, + $feedItem->finalMobileUrls, $feedItem->trackingUrlTemplate, null, null, + null, null, null, null, null, $feedItem->scheduling); + $extensionFeedItems[] = $newFeedItem; + } + $extensionSetting->extensionSetting->extensions = $extensionFeedItems; + $extensionSetting->extensionSetting->platformRestrictions = + $platformRestrictions; + $extensionSetting->extensionType = 'SITELINK'; + + $operation = new CampaignExtensionSettingOperation($extensionSetting, 'ADD'); + + printf("Adding %d sitelinks for campaign ID %d...\n", + count($feedItemIds), $campaignId); + + return $campaignExtensionSettingService->mutate(array($operation)); +} + +function DeleteCampaignFeed($user, $campaignFeed) { + $campaignFeedService = + $user->GetService('CampaignFeedService', ADWORDS_VERSION); + + printf("Deleting association of feed ID %d and and campaign ID %d...\n", + $campaignFeed->feedId, $campaignFeed->campaignId); + + $operation = new CampaignFeedOperation($campaignFeed, 'REMOVE'); + return $campaignFeedService->mutate(array($operation)); +} + +function DeleteOldFeedItems($user, $feedItemIds, $feedId) { + if (empty($feedItemIds)) { + return; + } + + $feedItemService = $user->GetService('FeedItemService', ADWORDS_VERSION); + + $operations = array(); + foreach ($feedItemIds as $feedItemId) { + $feedItem = new FeedItem(); + $feedItem->feedId = $feedId; + $feedItem->feedItemId = $feedItemId; + $operation = new FeedItemOperation($feedItem, 'REMOVE'); + $operations[] = $operation; + } + + printf("Deleting %d old feed items from feed ID %d...\n", + count($feedItemIds), $feedId); + + return $feedItemService->mutate($operations); +} + +// 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. + MigrateToExtensionSettingsExample($user); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/Misc/GetAllImagesAndVideos.php b/examples/AdWords/v201705/Misc/GetAllImagesAndVideos.php new file mode 100755 index 000000000..8da450651 --- /dev/null +++ b/examples/AdWords/v201705/Misc/GetAllImagesAndVideos.php @@ -0,0 +1,97 @@ +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/v201705/Misc/UploadImage.php b/examples/AdWords/v201705/Misc/UploadImage.php new file mode 100755 index 000000000..3879fe897 --- /dev/null +++ b/examples/AdWords/v201705/Misc/UploadImage.php @@ -0,0 +1,74 @@ +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/v201705/Misc/UploadMediaBundle.php b/examples/AdWords/v201705/Misc/UploadMediaBundle.php new file mode 100755 index 000000000..c4b21f7ad --- /dev/null +++ b/examples/AdWords/v201705/Misc/UploadMediaBundle.php @@ -0,0 +1,79 @@ +GetService('MediaService', ADWORDS_VERSION); + + // Create HTML5 media. + $html5Zip = new MediaBundle(); + $html5Zip->data = MediaUtils::GetBase64Data('https://goo.gl/9Y7qI2'); + $html5Zip->type = 'MEDIA_BUNDLE'; + + // Make the upload request. + $result = $mediaService->upload(array($html5Zip)); + + // Display result. + $mediaBundle = $result[0]; + $dimensions = MapUtils::GetMap($mediaBundle->dimensions); + printf( + "HTML5 media with ID %d, dimensions '%dx%d', MIME type '%s' was " + . "uploaded.\n", + $mediaBundle->mediaId, + $dimensions['FULL']->width, + $dimensions['FULL']->height, + $mediaBundle->mimeType + ); +} + +// 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. + UploadMediaBundleExample($user); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/Optimization/EstimateKeywordTraffic.php b/examples/AdWords/v201705/Optimization/EstimateKeywordTraffic.php new file mode 100755 index 000000000..90622408e --- /dev/null +++ b/examples/AdWords/v201705/Optimization/EstimateKeywordTraffic.php @@ -0,0 +1,195 @@ +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'); + + // Create a keyword estimate request for each keyword. + $keywordEstimateRequests = array(); + foreach ($keywords as $keyword) { + $keywordEstimateRequest = new KeywordEstimateRequest(); + $keywordEstimateRequest->keyword = $keyword; + $keywordEstimateRequests[] = $keywordEstimateRequest; + } + + // 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 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; + + // Optional: Set additional criteria for filtering estimates. + // See http://code.google.com/apis/adwords/docs/appendix/countrycodes.html + // for a detailed list of country codes. + // Set targeting criteria. Only locations and languages are supported. + $unitedStates = new Location(); + $unitedStates->id = 2840; + $campaignEstimateRequest->criteria[] = $unitedStates; + + // See http://code.google.com/apis/adwords/docs/appendix/languagecodes.html + // for a detailed list of language codes. + $english = new Language(); + $english->id = 1000; + $campaignEstimateRequest->criteria[] = $english; + + // Create selector. + $selector = new TrafficEstimatorSelector(); + $selector->campaignEstimateRequests[] = $campaignEstimateRequest; + + // Optional: Request a list of campaign level estimates segmented by platform. + $selector->platformEstimateRequested = true; + + // Make the get request. + $result = $trafficEstimatorService->get($selector); + + // Display results. + $platformEstimates = $result->campaignEstimates[0]->platformEstimates; + if ($platformEstimates !== null) { + foreach ($platformEstimates as $platformEstimate) { + if ($platformEstimate->minEstimate !== null + && $platformEstimate->maxEstimate !== null) { + printf( + "Results for the platform with ID %d and name '%s':\n", + $platformEstimate->platform->id, + $platformEstimate->platform->platformName + ); + printMeanEstimate($platformEstimate->minEstimate, + $platformEstimate->maxEstimate); + } + } + } + + $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]; + + if ($keywordEstimate->min !== null && $keywordEstimate->max !== null) { + // Print the mean of the min and max values. + printf("Results for the keyword with text '%s' and match type '%s':\n", + $keyword->text, $keyword->matchType); + printMeanEstimate($keywordEstimate->min, $keywordEstimate->max); + } + } + } +} + +/** + * Prints estimated average CPC, ad position, daily clicks, and daily costs + * between the provided lower bound and upper bound of estimated stats. + * + * @param StatsEstimate $minEstimate the lower bound on the estimated stats + * @param StatsEstimate $maxEstimate the upper bound on the estimated stats + */ +function printMeanEstimate(StatsEstimate $minEstimate, + StatsEstimate $maxEstimate) { + $minEstimateAverageCpcMicroAmount = ($minEstimate->averageCpc === null) + ? 0 : $minEstimate->averageCpc->microAmount; + $maxEstimateAverageCpcMicroAmount = ($maxEstimate->averageCpc === null) + ? 0 : $maxEstimate->averageCpc->microAmount; + $meanAverageCpc = + ($minEstimateAverageCpcMicroAmount + $maxEstimateAverageCpcMicroAmount) + / 2; + + $minEstimateAveragePosition = ($minEstimate->averagePosition === null) + ? 0 : $minEstimate->averagePosition; + $maxEstimateAveragePosition = ($maxEstimate->averagePosition === null) + ? 0 : $maxEstimate->averagePosition; + $meanAveragePosition = + ($minEstimateAveragePosition + $maxEstimateAveragePosition) / 2; + + $minEstimateClicksPerDay = ($minEstimate->clicksPerDay === null) + ? 0 : $minEstimate->clicksPerDay; + $maxEstimateClicksPerDay = ($maxEstimate->clicksPerDay === null) + ? 0 : $maxEstimate->clicksPerDay; + $meanClicks = ($minEstimateClicksPerDay + $maxEstimateClicksPerDay) / 2; + + $minEstimateTotalCostMicroAmount = ($minEstimate->totalCost === null) + ? 0 : $minEstimate->totalCost->microAmount; + $maxEstimateTotalCostMicroAmount = ($maxEstimate->totalCost === null) + ? 0 : $maxEstimate->totalCost->microAmount; + $meanTotalCost = + ($minEstimateTotalCostMicroAmount + $maxEstimateTotalCostMicroAmount) / 2; + + printf(" Estimated avaerage CPC: %.0f\n", $meanAverageCpc); + printf(" Estimated ad position: %.2f\n", $meanAveragePosition); + printf(" Estimated daily clicks: %d\n", $meanClicks); + printf(" Estimated daily cost: %.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/v201705/Optimization/GetCampaignCriterionBidModifierSimulations.php b/examples/AdWords/v201705/Optimization/GetCampaignCriterionBidModifierSimulations.php new file mode 100755 index 000000000..20bb5cfd7 --- /dev/null +++ b/examples/AdWords/v201705/Optimization/GetCampaignCriterionBidModifierSimulations.php @@ -0,0 +1,127 @@ +GetService('DataService', ADWORDS_VERSION); + + // Create selector. + $selector = new Selector(); + $selector->fields = array( + 'BidModifier', + 'CampaignId', + 'CriterionId', + 'StartDate', + 'EndDate', + 'LocalClicks', + 'LocalCost', + 'LocalImpressions', + 'TotalLocalClicks', + 'TotalLocalCost', + 'TotalLocalImpressions', + 'RequiredBudget' + ); + + // 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 getCampaignCriterionBidLandscape request. + $page = $dataService->getCampaignCriterionBidLandscape($selector); + + // Display results. + if (isset($page->entries)) { + foreach ($page->entries as $bidModifierLandscape) { + printf( + "Found campaign-level criterion bid modifier landscapes for" + . " criterion with ID %d, start date '%s', end date '%s', and" + . " landscape points:\n", + $bidModifierLandscape->criterionId, + $bidModifierLandscape->startDate, + $bidModifierLandscape->endDate + ); + foreach ($bidModifierLandscape->landscapePoints as $landscapePoint) { + printf( + " bid modifier: %.2f => clicks: %d, cost: %.0f, " + . "impressions: %d, total clicks: %d, total cost: %.0f, " + . "total impressions: %d, and required budget: %.0f\n", + $landscapePoint->bidModifier, + $landscapePoint->clicks, + $landscapePoint->cost->microAmount, + $landscapePoint->impressions, + $landscapePoint->totalLocalClicks, + $landscapePoint->totalLocalCost->microAmount, + $landscapePoint->totalLocalImpressions, + $landscapePoint->requiredBudget->microAmount + ); + } + print "\n"; + } + } else if ($selector->paging->startIndex === 0) { + printf("No campaign criterion bid modifier landscapes were found.\n"); + } + // Advance the paging index. + $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; + } while (isset($page->entries) && count($page->entries) > 0); +} + +// 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. + GetCampaignCriterionBidModifierSimulationsExample($user, $campaignId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/Optimization/GetKeywordBidSimulations.php b/examples/AdWords/v201705/Optimization/GetKeywordBidSimulations.php new file mode 100755 index 000000000..85eb513c2 --- /dev/null +++ b/examples/AdWords/v201705/Optimization/GetKeywordBidSimulations.php @@ -0,0 +1,101 @@ +GetService('DataService', ADWORDS_VERSION); + + // Create selector. + $selector = new Selector(); + $selector->fields = array('AdGroupId', 'CriterionId', 'StartDate', 'EndDate', + 'Bid', 'LocalClicks', 'LocalCost', '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, impressions: %d\n", + $bidLandscapePoint->bid->microAmount, + $bidLandscapePoint->clicks, + $bidLandscapePoint->cost->microAmount, + $bidLandscapePoint->impressions + ); + } + print "\n"; + } + } else if ($selector->paging->startIndex === 0) { + printf("No criterion bid landscapes were found.\n"); + } + // Advance the paging index. + $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; + } while (isset($page->entries) && count($page->entries) > 0); +} + +// 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/v201705/Optimization/GetKeywordIdeas.php b/examples/AdWords/v201705/Optimization/GetKeywordIdeas.php new file mode 100755 index 000000000..630ea08e4 --- /dev/null +++ b/examples/AdWords/v201705/Optimization/GetKeywordIdeas.php @@ -0,0 +1,126 @@ +GetService('TargetingIdeaService', ADWORDS_VERSION); + + // Create selector. + $selector = new TargetingIdeaSelector(); + $selector->requestType = 'IDEAS'; + $selector->ideaType = 'KEYWORD'; + $selector->requestedAttributeTypes = array('KEYWORD_TEXT', 'SEARCH_VOLUME', + 'CATEGORY_PRODUCTS_AND_SERVICES'); + + // Create seed keyword. + $keyword = 'mars cruise'; + // Create related to query search parameter. + $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter(); + $relatedToQuerySearchParameter->queries = array($keyword); + $selector->searchParameters[] = $relatedToQuerySearchParameter; + + // 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); + $selector->searchParameters[] = $languageParameter; + + // Create network search parameter (optional). + $networkSetting = new NetworkSetting(); + $networkSetting->targetGoogleSearch = true; + $networkSetting->targetSearchNetwork = false; + $networkSetting->targetContentNetwork = false; + $networkSetting->targetPartnerSearchNetwork = false; + + $networkSearchParameter = new NetworkSearchParameter(); + $networkSearchParameter->networkSetting = $networkSetting; + $selector->searchParameters[] = $networkSearchParameter; + + // 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; + if ($data['CATEGORY_PRODUCTS_AND_SERVICES']->value === null) { + $categoryIds = ''; + } else { + $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/v201705/Remarketing/AddAudience.php b/examples/AdWords/v201705/Remarketing/AddAudience.php new file mode 100755 index 000000000..ef27773f1 --- /dev/null +++ b/examples/AdWords/v201705/Remarketing/AddAudience.php @@ -0,0 +1,104 @@ +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/v201607/Express/AddExpressBusinesses.php b/examples/AdWords/v201705/Remarketing/AddConversionTracker.php similarity index 53% rename from examples/AdWords/v201607/Express/AddExpressBusinesses.php rename to examples/AdWords/v201705/Remarketing/AddConversionTracker.php index 1e12916d9..cdd482cf2 100755 --- a/examples/AdWords/v201607/Express/AddExpressBusinesses.php +++ b/examples/AdWords/v201705/Remarketing/AddConversionTracker.php @@ -1,7 +1,8 @@ GetService('ExpressBusinessService', - ADWORDS_VERSION); - - $business1 = new ExpressBusiness(); - $business1->status = 'ENABLED'; - $business1->name = 'Express Interplanetary Cruise #' . uniqid(); - $business1->website = 'http://www.example.com/cruise1'; + $conversionTrackerService = + $user->GetService('ConversionTrackerService', ADWORDS_VERSION); - $business2 = new ExpressBusiness(); - $business2->status = 'ENABLED'; - $business2->name = 'Express Interplanetary Cruise #' . uniqid(); - $business2->website = 'http://www.example.com/cruise2'; + // Create conversion tracker. + $conversionTracker = new AdWordsConversionTracker(); + $conversionTracker->name = 'Interplanetary Cruise Conversion #' . uniqid(); - $operations = array(); + // Set additional settings (optional). + $conversionTracker->status = 'ENABLED'; + $conversionTracker->category = 'DEFAULT'; + $conversionTracker->viewthroughLookbackWindow = 15; + $conversionTracker->textFormat = 'HIDDEN'; + $conversionTracker->conversionPageLanguage = 'en'; + $conversionTracker->backgroundColor = '#0000FF'; - $operation1 = new ExpressBusinessOperation(); - $operation1->operand = $business1; - $operation1->operator = 'ADD'; - $operations[] = $operation1; + // Create operation. + $operation = new ConversionTrackerOperation(); + $operation->operand = $conversionTracker; + $operation->operator = 'ADD'; - $operation2 = new ExpressBusinessOperation(); - $operation2->operand = $business2; - $operation2->operator = 'ADD'; - $operations[] = $operation2; + $operations = array($operation); - $addedBusinesses = $businessService->mutate($operations); + // Make the mutate request. + $result = $conversionTrackerService->mutate($operations); - foreach($addedBusinesses as $addedBusiness) { - printf("Added express business with ID %d and name '%s'\n", - $addedBusiness->id, $addedBusiness->name); - } + // 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. @@ -81,7 +81,7 @@ function AddExpressBusinessesExample(AdWordsUser $user) { $user->LogAll(); // Run the example. - AddExpressBusinessesExample($user); + AddConversionTrackerExample($user); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/Remarketing/AddCrmBasedUserList.php b/examples/AdWords/v201705/Remarketing/AddCrmBasedUserList.php new file mode 100755 index 000000000..dcd5b3a8e --- /dev/null +++ b/examples/AdWords/v201705/Remarketing/AddCrmBasedUserList.php @@ -0,0 +1,163 @@ + + * Note: It may take up to several hours for the list to be populated + * with members. + * Email addresses must be associated with a Google account. + * For privacy purposes, the user list size will show as zero until the list has + * at least 1,000 members. After that, the size will be rounded to the two most + * significant digits. + *
+ * + * PHP version 5 + * + * Copyright 2016, 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 v201705 + * @category WebServices + * @copyright 2016, Google Inc. All Rights Reserved. + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, + * Version 2.0 + */ + +// Include the initialization file. +require_once dirname(dirname(__FILE__)) . '/init.php'; + +$EMAILS = array('customer1@example.com', 'customer2@example.com', + 'Client3@example.com '); + +/** + * Runs the example. + * @param AdWordsUser $user the user to run the example with + * @param array $EMAILS a list of member emails to be added to a user list + */ +function AddCrmBasedUserList(AdWordsUser $user, array $EMAILS) { + // Get the services, which loads the required classes. + $userListService = $user->GetService('AdwordsUserListService', + ADWORDS_VERSION); + + // Create a user list. + $userList = new CrmBasedUserList(); + $userList->name = 'Customer relationship management list #' . uniqid(); + $userList->description = + 'A list of customers that originated from email addresses'; + + // Maximum life span is 180 days. + $userList->membershipLifeSpan = 180; + + // Create operations to add the user list. + $operation = new UserListOperation(); + $operation->operand = $userList; + $operation->operator = 'ADD'; + + $operations = array($operation); + + // Add user list. + $result = $userListService->mutate($operations); + + // Display user list. + $userListAdded = $result->value[0]; + printf("User list with name '%s' and ID '%d' was added.\n", + $userListAdded->name, $userListAdded->id); + + // Get a user list ID. + $userListId = $userListAdded->id; + + $mutateMembersOperations = array(); + // Create operation to add members to the user list based on email addresses. + $mutateMembersOperation = new MutateMembersOperation(); + $operand = new MutateMembersOperand(); + $operand->userListId = $userListId; + + $members = array(); + // Hash normalized email addresses based on SHA-256 hashing algorithm. + foreach ($EMAILS as $email) { + $memberByEmail = new Member(); + $memberByEmail->hashedEmail = normalizeAndHash($email); + $members[] = $memberByEmail; + } + + // Adding address info is currently available on a whitelist-only basis. + // This code demonstrates how to do it, and you can uncomment it if you are on + // the whitelist. + /* + $firstName = 'John'; + $lastName = 'Doe'; + $countryCode = 'US'; + $zipCode = '10011'; + + $addressInfo = new AddressInfo(); + // First and last name must be normalized and hashed. + $addressInfo->hashedFirstName = normalizeAndHash($firstName); + $addressInfo->hashedLastName = normalizeAndHash($lastName); + // Country code and zip code are sent in plain text. + $addressInfo->countryCode = $countryCode; + $addressInfo->zipCode = $zipCode; + + $memberByAddress = new Member(); + $memberByAddress->addressInfo = $addressInfo; + $members[] = $memberByAddress; + */ + + // Add members to the operand and add the operation to the list. + $operand->membersList = $members; + $mutateMembersOperation->operand = $operand; + $mutateMembersOperation->operator = 'ADD'; + $mutateMembersOperations[] = $mutateMembersOperation; + + // Add members to the user list based on email addresses. + $mutateMembersResult = + $userListService->mutateMembers($mutateMembersOperations); + + // Display results. + // Reminder: it may take several hours for the list to be populated with + // members. + foreach ($mutateMembersResult->userLists as $userListResult) { + printf( + "%d email addresses were uploaded to user list with name '%s' and ID" + . " '%d' and are scheduled for review.\n", + count($EMAILS), + $userListResult->name, + $userListResult->id + ); + } +} + +function normalizeAndHash($value) { + return hash('sha256', strtolower(trim($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. + AddCrmBasedUserList($user, $EMAILS); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/Remarketing/AddRuleBasedUserLists.php b/examples/AdWords/v201705/Remarketing/AddRuleBasedUserLists.php new file mode 100755 index 000000000..422837e3d --- /dev/null +++ b/examples/AdWords/v201705/Remarketing/AddRuleBasedUserLists.php @@ -0,0 +1,179 @@ +GetService('AdwordsUserListService', + ADWORDS_VERSION); + + // First rule item group - users who visited the checkout page and had more + // than one item in their shopping cart. + $checkoutStringRuleItem = new StringRuleItem(); + $checkoutStringKey = new StringKey(); + $checkoutStringKey->name = 'ecomm_pagetype'; + $checkoutStringRuleItem->key = $checkoutStringKey; + $checkoutStringRuleItem->op = 'EQUALS'; + $checkoutStringRuleItem->value = 'checkout'; + $checkoutRuleItem = new RuleItem(); + $checkoutRuleItem->StringRuleItem = $checkoutStringRuleItem; + + $cartSizeNumberRuleItem = new NumberRuleItem(); + $cartSizeNumberKey = new NumberKey(); + $cartSizeNumberKey->name = 'cartsize'; + $cartSizeNumberRuleItem->key = $cartSizeNumberKey; + $cartSizeNumberRuleItem->op = 'GREATER_THAN'; + $cartSizeNumberRuleItem->value = 1.0; + $cartSizeRuleItem = new RuleItem(); + $cartSizeRuleItem->NumberRuleItem = $cartSizeNumberRuleItem; + + // Combine the two rule items into a RuleItemGroup so AdWords will AND their + // rules together. + $checkoutMultipleItemGroup = new RuleItemGroup(); + $checkoutMultipleItemGroup->items = array($checkoutRuleItem, + $cartSizeRuleItem); + + // Second rule item group - users who checked out within the next 3 months. + $today = new DateTime(); + $startDateDateRuleItem = new DateRuleItem(); + $startDateDateKey = new DateKey(); + $startDateDateKey->name = 'checkoutdate'; + $startDateDateRuleItem->key = $startDateDateKey; + $startDateDateRuleItem->op = 'AFTER'; + $startDateDateRuleItem->value = $today->format('Ymd'); + $startDateRuleItem = new RuleItem(); + $startDateRuleItem->DateRuleItem = $startDateDateRuleItem; + + $threeMonthsLater = clone($today); + $threeMonthsLater->modify('+3 month'); + $endDateDateRuleItem = new DateRuleItem(); + $endDateDateKey = new DateKey(); + $endDateDateKey->name = 'checkoutdate'; + $endDateDateRuleItem->key = $endDateDateKey; + $endDateDateRuleItem->op = 'BEFORE'; + $endDateDateRuleItem->value = $threeMonthsLater->format('Ymd'); + $endDateRuleItem = new RuleItem(); + $endDateRuleItem->DateRuleItem = $endDateDateRuleItem; + + // Combine the date rule items into a RuleItemGroup. + $checkedOutDateRangeItemGroup = new RuleItemGroup(); + $checkedOutDateRangeItemGroup->items = array($startDateRuleItem, + $endDateRuleItem); + + // Combine the rule item groups into a Rule so AdWords knows how to apply + // the rules. + $rule = new Rule(); + $rule->groups = array($checkoutMultipleItemGroup, + $checkedOutDateRangeItemGroup); + // ExpressionRuleUserLists can use either CNF or DNF for matching. CNF means + // 'at least one item in each rule item group must match', and DNF means 'at + // least one entire rule item group must match'. DateSpecificRuleUserList + // only supports DNF. You can also omit the rule type altogether to default + // to DNF. + $rule->ruleType = 'DNF'; + + // Create the user list with no restrictions on site visit date. + $expressionUserList = new ExpressionRuleUserList(); + $expressionUserList->name = sprintf('Expression based user list created at ' + . '%s', date('Y-m-d_His')); + $expressionUserList->description = 'Users who checked out in three month ' + . 'window OR visited the checkout page with more than one item in ' + . 'their cart'; + $expressionUserList->rule = $rule; + + // Create the user list restricted to users who visit your site within the + // next six months. + $startDate = clone($today); + $endDate = clone($today); + $endDate->modify('+6 month'); + + $dateUserList = new DateSpecificRuleUserList(); + $dateUserList->name = sprintf('Date rule user list created at %s', + date('Y-m-d_His')); + $dateUserList->description = sprintf('Users who visited the site between %s ' + . 'and %s and checked out in three month window OR visited the checkout ' + . 'page with more than one item in their cart', + $startDate->format('Ymd'), + $endDate->format('Ymd')); + $dateUserList->rule = $rule; + + // Set the start and end dates of the user list. + $dateUserList->startDate = $startDate->format('Ymd'); + $dateUserList->endDate = $endDate->format('Ymd'); + + // Create operations to add the user lists. + $operations = array(); + foreach (array($expressionUserList, $dateUserList) as $userList) { + $operation = new UserListOperation(); + $operation->operand = $userList; + $operation->operator = 'ADD'; + $operations[] = $operation; + } + + // Submit the operations. + $result = $userListService->mutate($operations); + + // Display the results. + foreach ($result->value as $userListResult) { + printf("User list added with ID %d, name '%s', status '%s', list type '%s'" + . ", accountUserListStatus '%s', description '%s'.\n", + $userListResult->id, + $userListResult->name, + $userListResult->status, + $userListResult->listType, + $userListResult->accountUserListStatus, + $userListResult->description); + } +} + +// 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. + AddRuleBasedUserLists($user); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/Remarketing/UploadOfflineCallConversions.php b/examples/AdWords/v201705/Remarketing/UploadOfflineCallConversions.php new file mode 100755 index 000000000..3b88a13a9 --- /dev/null +++ b/examples/AdWords/v201705/Remarketing/UploadOfflineCallConversions.php @@ -0,0 +1,103 @@ +GetService('OfflineCallConversionFeedService', ADWORDS_VERSION); + + // Associate offline call conversions with the existing named conversion + // tracker. If this tracker was newly created, it may be a few hours before + // it can accept conversions. + $feed = new OfflineCallConversionFeed(); + $feed->callerId = $callerId; + $feed->callStartTime = $callStartTime; + $feed->conversionName = $conversionName; + $feed->conversionTime = $conversionTime; + $feed->conversionValue = $conversionValue; + + $offlineCallConversionOperation = new OfflineCallConversionFeedOperation(); + $offlineCallConversionOperation->operator = 'ADD'; + $offlineCallConversionOperation->operand = $feed; + + $offlineCallConversionOperations = array($offlineCallConversionOperation); + // This example uploads only one call conversion, but you can upload multiple + // call conversions by passing additional operations. + $result = + $offlineCallConversionService->mutate($offlineCallConversionOperations); + + $feed = $result->value[0]; + printf("Uploaded offline call conversion value of '%s' for caller ID '%s'.\n", + $feed->conversionValue, $feed->callerId); +} + +// 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. + UploadOfflineCallConversionsExample($user, $callerId, $callStartTime, + $conversionName, $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/v201705/Remarketing/UploadOfflineConversions.php b/examples/AdWords/v201705/Remarketing/UploadOfflineConversions.php new file mode 100755 index 000000000..35341badd --- /dev/null +++ b/examples/AdWords/v201705/Remarketing/UploadOfflineConversions.php @@ -0,0 +1,97 @@ +GetService('OfflineConversionFeedService', + ADWORDS_VERSION); + + // Associate offline conversions with the existing named conversion tracker. + // If this tracker was newly created, it may be a few hours before it can + // accept conversions. + $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/v201705/Reporting/DownloadCriteriaReport.php b/examples/AdWords/v201705/Reporting/DownloadCriteriaReport.php new file mode 100755 index 000000000..ee324c383 --- /dev/null +++ b/examples/AdWords/v201705/Reporting/DownloadCriteriaReport.php @@ -0,0 +1,102 @@ +LoadService('ReportDefinitionService', ADWORDS_VERSION); + // Optional: Set clientCustomerId to get reports of your child accounts + // $user->SetClientCustomerId('INSERT_CLIENT_CUSTOMER_ID_HERE'); + + // Create selector. + $selector = new Selector(); + $selector->fields = array('CampaignId', 'AdGroupId', 'Id', 'Criteria', + 'CriteriaType', 'Impressions', 'Clicks', 'Cost'); + + // Optional: use predicate to filter out paused criteria. + $selector->predicates[] = new Predicate('Status', 'NOT_IN', array('PAUSED')); + + // 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'; + + // Set additional options. + $options = array('version' => ADWORDS_VERSION); + + // Optional: Set skipReportHeader, skipColumnHeader, skipReportSummary to + // suppress headers or summary rows. + // $options['skipReportHeader'] = true; + // $options['skipColumnHeader'] = true; + // $options['skipReportSummary'] = true; + // + // Optional: Set useRawEnumValues to return enum values instead of enum + // display values. + // $options['useRawEnumValues'] = true; + // + // Optional: Set includeZeroImpressions to include zero impression rows in + // the report output. + // $options['includeZeroImpressions'] = true; + + // Download report. + $reportUtils = new ReportUtils(); + $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/v201705/Reporting/DownloadCriteriaReportWithAwql.php b/examples/AdWords/v201705/Reporting/DownloadCriteriaReportWithAwql.php new file mode 100755 index 000000000..0f5c2f5b6 --- /dev/null +++ b/examples/AdWords/v201705/Reporting/DownloadCriteriaReportWithAwql.php @@ -0,0 +1,98 @@ +SetClientCustomerId('INSERT_CLIENT_CUSTOMER_ID_HERE'); + + // Prepare a date range for the last week. Instead you can use 'LAST_7_DAYS'. + $dateRange = sprintf('%d,%d', + date('Ymd', strtotime('-7 day')), date('Ymd', strtotime('-1 day'))); + + // Create report query. + $reportQuery = 'SELECT CampaignId, AdGroupId, Id, Criteria, CriteriaType, ' + . 'Impressions, Clicks, Cost FROM CRITERIA_PERFORMANCE_REPORT ' + . 'WHERE Status IN [ENABLED, PAUSED] DURING ' . $dateRange; + + // Set additional options. + $options = array('version' => ADWORDS_VERSION); + + // Optional: Set skipReportHeader, skipColumnHeader, skipReportSummary to + // suppress headers or summary rows. + // $options['skipReportHeader'] = true; + // $options['skipColumnHeader'] = true; + // $options['skipReportSummary'] = true; + // + // Optional: Set useRawEnumValues to return enum values instead of enum + // display values. + // $options['useRawEnumValues'] = false; + // + // Optional: Set includeZeroImpressions to include zero impression rows in + // the report output. + // $options['includeZeroImpressions'] = true; + + // Download report. + $reportUtils = new ReportUtils(); + $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/v201705/Reporting/GetReportFields.php b/examples/AdWords/v201705/Reporting/GetReportFields.php new file mode 100755 index 000000000..f7a8d098a --- /dev/null +++ b/examples/AdWords/v201705/Reporting/GetReportFields.php @@ -0,0 +1,75 @@ +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/v201705/Reporting/ParallelReportDownload.php b/examples/AdWords/v201705/Reporting/ParallelReportDownload.php new file mode 100755 index 000000000..a910c08ed --- /dev/null +++ b/examples/AdWords/v201705/Reporting/ParallelReportDownload.php @@ -0,0 +1,196 @@ +LoadService('ReportDefinitionService', ADWORDS_VERSION); + + // Create selector. + $selector = new Selector(); + $selector->fields = + array('CampaignId', 'AdGroupId', 'Impressions', 'Clicks', 'Cost'); + + // Create report definition. + $reportDefinition = new ReportDefinition(); + $reportDefinition->selector = $selector; + $reportDefinition->reportName = 'Custom ADGROUP_PERFORMANCE_REPORT'; + $reportDefinition->dateRangeType = 'LAST_7_DAYS'; + $reportDefinition->reportType = 'ADGROUP_PERFORMANCE_REPORT'; + $reportDefinition->downloadFormat = 'CSV'; + + // Set additional options. + $options = array('version' => ADWORDS_VERSION); + + // Optional: Set skipReportHeader, skipColumnHeader, skipReportSummary to + // suppress headers or summary rows. + // $options['skipReportHeader'] = true; + // $options['skipColumnHeader'] = true; + // $options['skipReportSummary'] = true; + // + // Optional: Set useRawEnumValues to return enum values instead of enum + // display values. + // $options['useRawEnumValues'] = true; + // + // Optional: Set includeZeroImpressions to include zero impression rows in + // the report output. + // $options['includeZeroImpressions'] = true; + + $customerIds = getAllManagedCustomerIds($user); + printf("Downloading reports for %d managed customers.\n", + count($customerIds)); + + $successfulReports = array(); + $failedReports = array(); + $reportDir = sys_get_temp_dir(); + $reportUtils = new ReportUtils(); + + foreach ($customerIds as $customerId) { + $filePath = sprintf('%s.csv', tempnam($reportDir, 'adgroup_')); + $user->SetClientCustomerId($customerId); + + $retryCount = 0; + $doContinue = true; + do { + $retryCount++; + try { + $reportUtils->DownloadReport($reportDefinition, $filePath, $user, + $options); + printf( + "Report for client customer ID %d successfully downloaded to: %s\n", + $customerId, + $filePath + ); + $successfulReports[$customerId] = $filePath; + $doContinue = false; + } catch (ReportDownloadException $e) { + printf( + "Report attempt #%d for client customer ID %d was not downloaded" + . " due to: %s\n", + $retryCount, + $customerId, + $e->getMessage() + ); + + if ($e->GetHttpCode() >= 500 && $retryCount < MAX_RETRIES) { + $sleepTime = $retryCount * BACKOFF_FACTOR; + printf( + "Sleeping %d seconds before retrying report for client customer " + . "ID %d.\n", + $sleepTime, + $customerId + ); + sleep($sleepTime); + } else { + printf( + "Report request failed for client customer ID %d.\n", + $customerId + ); + $failedReports[$customerId] = $filePath; + $doContinue = false; + } + + } + } while ($doContinue === true); + } + + print "All downloads completed. Results:\n"; + print "Successful reports:\n"; + foreach ($successfulReports as $customerId => $filePath) { + printf("\tClient ID %d => '%s'\n", $customerId, $filePath); + } + print "Failed reports:\n"; + foreach ($failedReports as $customerId => $filePath) { + printf("\tClient ID %d => '%s'\n", $customerId, $filePath); + } + print "End of results.\n"; +} + +/** + * Retrieves all the customer IDs under a manager account. + * + * @param AdWordsUser $user the user to run the example with + * @return array the list of customer IDs under a manager account + */ +function getAllManagedCustomerIds(AdWordsUser $user) { + // Optional: Set clientCustomerId to any manager account you want to get + // reports for its client accounts. + // $user->SetClientCustomerId('INSERT_CLIENT_CUSTOMER_ID_HERE'); + $managedCustomerService = + $user->GetService('ManagedCustomerService', ADWORDS_VERSION); + + $selector = new Selector(); + $selector->fields = array('CustomerId'); + $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); + $selector->predicates[] = + new Predicate('CanManageClients', 'EQUALS', 'false'); + + $customerIds = array(); + do { + $page = $managedCustomerService->get($selector); + if (isset($page->entries)) { + foreach ($page->entries as $customer) { + $customerIds[] = $customer->customerId; + } + } + $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; + } while ($selector->paging->startIndex < $page->totalNumEntries); + + return $customerIds; +} + +// 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. + ParallelReportDownloadExample($user); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201705/ShoppingCampaigns/AddProductPartitionTree.php b/examples/AdWords/v201705/ShoppingCampaigns/AddProductPartitionTree.php new file mode 100755 index 000000000..a5ebce08c --- /dev/null +++ b/examples/AdWords/v201705/ShoppingCampaigns/AddProductPartitionTree.php @@ -0,0 +1,263 @@ +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/v201705/ShoppingCampaigns/AddProductScope.php b/examples/AdWords/v201705/ShoppingCampaigns/AddProductScope.php new file mode 100755 index 000000000..6f3a57ce1 --- /dev/null +++ b/examples/AdWords/v201705/ShoppingCampaigns/AddProductScope.php @@ -0,0 +1,92 @@ +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/v201705/ShoppingCampaigns/AddShoppingCampaign.php b/examples/AdWords/v201705/ShoppingCampaigns/AddShoppingCampaign.php new file mode 100755 index 000000000..e7424b486 --- /dev/null +++ b/examples/AdWords/v201705/ShoppingCampaigns/AddShoppingCampaign.php @@ -0,0 +1,142 @@ +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'; + // Recommendation: Set the campaign to PAUSED when creating it to stop + // the ads from immediately serving. Set to ENABLED once you've added + // targeting and the ads are ready to serve. + $campaign->status = 'PAUSED'; + + // Set portfolio budget (required). + $campaign->budget = new Budget(); + $campaign->budget->budgetId = $budgetId; + + // Set bidding strategy (required). + $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); + $biddingStrategyConfiguration->biddingStrategyType = 'MANUAL_CPC'; + + $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; + + // All Shopping campaigns need a ShoppingSetting. + $shoppingSetting = new ShoppingSetting(); + $shoppingSetting->salesCountry = 'US'; + $shoppingSetting->campaignPriority = 0; + $shoppingSetting->merchantId = $merchantId; + // Set to "true" to enable Local Inventory Ads in your campaign. + $shoppingSetting->enableLocal = true; + $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/v201705/ShoppingCampaigns/GetProductCategoryTaxonomy.php b/examples/AdWords/v201705/ShoppingCampaigns/GetProductCategoryTaxonomy.php new file mode 100755 index 000000000..598615f4b --- /dev/null +++ b/examples/AdWords/v201705/ShoppingCampaigns/GetProductCategoryTaxonomy.php @@ -0,0 +1,107 @@ +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/v201705/Targeting/AddCampaignTargetingCriteria.php b/examples/AdWords/v201705/Targeting/AddCampaignTargetingCriteria.php new file mode 100755 index 000000000..74893fb11 --- /dev/null +++ b/examples/AdWords/v201705/Targeting/AddCampaignTargetingCriteria.php @@ -0,0 +1,132 @@ +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); + + if ($locationFeedId !== null) { + // Distance targeting. Area of 10 miles around targets above. + $radius = new ConstantOperand(); + $radius->type = 'DOUBLE'; + $radius->unit = 'MILES'; + $radius->doubleValue = 10.0; + $distance = new LocationExtensionOperand($radius); + $locationGroup = new LocationGroups(); + $locationGroup->feedId = intval($locationFeedId); + $locationGroup->matchingFunction = new FeedFunction('IDENTITY', $distance); + $campaignCriteria[] = + new CampaignCriterion($campaignId, null, $locationGroup); + } + + // Create operations. + $operations = array(); + foreach ($campaignCriteria as $campaignCriterion) { + $operations[] = new CampaignCriterionOperation($campaignCriterion, 'ADD'); + } + + // Add a negative campaign criterion. + $negativeKeyword = new Keyword(); + $negativeKeyword->text = 'jupiter cruise'; + $negativeKeyword->matchType = 'BROAD'; + $negativeCriterion = new NegativeCampaignCriterion(); + $negativeCriterion->campaignId = $campaignId; + $negativeCriterion->criterion = $negativeKeyword; + + $operations[] = new CampaignCriterionOperation($negativeCriterion, '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, $locationFeedId); +} catch (Exception $e) { + printf("An error has occurred: %s\n", $e->getMessage()); +} diff --git a/examples/AdWords/v201607/Express/GetProductServices.php b/examples/AdWords/v201705/Targeting/GetCampaignTargetingCriteria.php similarity index 62% rename from examples/AdWords/v201607/Express/GetProductServices.php rename to examples/AdWords/v201705/Targeting/GetCampaignTargetingCriteria.php index 8ef3b6cad..a69f6c001 100755 --- a/examples/AdWords/v201607/Express/GetProductServices.php +++ b/examples/AdWords/v201705/Targeting/GetCampaignTargetingCriteria.php @@ -1,7 +1,7 @@ GetService('ProductServiceService', - ADWORDS_VERSION); + $campaignCriterionService = + $user->GetService('CampaignCriterionService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); - $selector->fields = array('ProductServiceText'); + $selector->fields = array('Id', 'CriteriaType'); // Create predicates. - $selector->predicates[] = new Predicate('ProductServiceText', 'EQUALS', - array($productServiceSuggestion)); - $selector->predicates[] = new Predicate('Locale', 'EQUALS', - array($localeText)); + $selector->predicates[] = + new Predicate('CampaignId', 'IN', array($campaignId)); + $selector->predicates[] = new Predicate('CriteriaType', 'IN', + array('LANGUAGE', 'LOCATION', 'AGE_RANGE', 'CARRIER', + 'OPERATING_SYSTEM_VERSION', 'GENDER', 'PROXIMITY', 'PLATFORM')); // Create paging controls. $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); do { // Make the get request. - $page = $productServiceService->get($selector); + $page = $campaignCriterionService->get($selector); // Display results. if (isset($page->entries)) { - foreach ($page->entries as $productService) { - printf("Product/service with text '%s' found\n", $productService->text); + 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 products/services were found.\n"; + print "No campaign targeting criteria were found.\n"; } // Advance the paging index. @@ -87,7 +90,7 @@ function GetProductServicesExample(AdWordsUser $user, $productServiceSuggestion, $user->LogAll(); // Run the example. - GetProductServicesExample($user, $productServiceSuggestion, $localeText); + GetCampaignTargetingCriteriaExample($user, $campaignId); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } diff --git a/examples/AdWords/v201705/Targeting/GetTargetableLanguagesAndCarriers.php b/examples/AdWords/v201705/Targeting/GetTargetableLanguagesAndCarriers.php new file mode 100755 index 000000000..65dc825e0 --- /dev/null +++ b/examples/AdWords/v201705/Targeting/GetTargetableLanguagesAndCarriers.php @@ -0,0 +1,74 @@ +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/v201705/Targeting/LookupLocation.php b/examples/AdWords/v201705/Targeting/LookupLocation.php new file mode 100755 index 000000000..915781444 --- /dev/null +++ b/examples/AdWords/v201705/Targeting/LookupLocation.php @@ -0,0 +1,106 @@ +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/v201705/init.php b/examples/AdWords/v201705/init.php new file mode 100755 index 000000000..12267f0d8 --- /dev/null +++ b/examples/AdWords/v201705/init.php @@ -0,0 +1,47 @@ +serviceName === 'PromotionService') { - $soapHeaderClassName = 'ExpressSoapHeader'; - } $headerObject = $this->Create($soapHeaderClassName); foreach (get_object_vars($headerObject) as $var => $value) { $headerObject->$var = $this->GetHeaderValue($var); diff --git a/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php b/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php index 7acd5dba1..f97897c73 100755 --- a/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php +++ b/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php @@ -277,40 +277,6 @@ public function SetClientCustomerId($clientCustomerId) { $this->SetHeaderValue('clientCustomerId', $clientCustomerId); } - /** - * Gets the AdWords Express business ID required for AdWords Express - * PromotionService - */ - public function GetExpressBusinessId() { - return $this->GetHeaderValue('expressBusinessId'); - } - - /** - * Sets the AdWords Express business ID required for AdWords Express - * PromotionService - * @param string AdWords Express business ID - */ - public function SetExpressBusinessId($businessId) { - $this->SetHeaderValue('expressBusinessId', $businessId); - } - - /** - * Gets the Google My Business page ID used by AdWords Express - * PromotionService - */ - public function GetExpressPlusPageId() { - return $this->GetHeaderValue('pageId'); - } - - /** - * Sets the Google My Business page ID used by AdWords Express - * PromotionService - * @param string Google My Business page ID - */ - public function SetExpressPlusPageId($pageId) { - $this->SetHeaderValue('pageId', $pageId); - } - /** * Gets the raw user agent for this user. * @return string The raw user agent. diff --git a/src/Google/Api/Ads/AdWords/Lib/api.properties b/src/Google/Api/Ads/AdWords/Lib/api.properties index a4681b06b..90e5beaf8 100755 --- a/src/Google/Api/Ads/AdWords/Lib/api.properties +++ b/src/Google/Api/Ads/AdWords/Lib/api.properties @@ -18,12 +18,12 @@ wsdl2php.skipClassNameCheckTypes=Target,Location ;; API api.server=https://adwords.google.com -api.versions=v201607,v201609,v201702 +api.versions=v201607,v201609,v201702,v201705 api.soapClientClassNamespace=Google_Api_Ads_AdWords_Lib ;; v201607 api.versions.v201607.namespace=Google_Api_Ads_AdWords_v201607 -api.versions.v201607.services=AdGroupAdService,AdGroupBidModifierService,AdGroupCriterionService,AdGroupFeedService,AdGroupService,AdParamService,AdwordsUserListService,BatchJobService,BiddingStrategyService,BudgetOrderService,BudgetService,CampaignCriterionService,CampaignFeedService,CampaignService,ConstantDataService,ConversionTrackerService,CustomerFeedService,CustomerService,CustomerSyncService,DataService,ExperimentService,FeedItemService,FeedMappingService,FeedService,LabelService,LocationCriterionService,ManagedCustomerService,MediaService,OfflineConversionFeedService,ReportDefinitionService,TargetingIdeaService,TrafficEstimatorService,ExpressBusinessService,ProductServiceService,BudgetSuggestionService,PromotionService,CampaignSharedSetService,SharedCriterionService,SharedSetService,CampaignExtensionSettingService,AdGroupExtensionSettingService,CustomerExtensionSettingService,AdCustomizerFeedService,AccountLabelService,DraftService,DraftAsyncErrorService,TrialService,TrialAsyncErrorService +api.versions.v201607.services=AdGroupAdService,AdGroupBidModifierService,AdGroupCriterionService,AdGroupFeedService,AdGroupService,AdParamService,AdwordsUserListService,BatchJobService,BiddingStrategyService,BudgetOrderService,BudgetService,CampaignCriterionService,CampaignFeedService,CampaignService,ConstantDataService,ConversionTrackerService,CustomerFeedService,CustomerService,CustomerSyncService,DataService,ExperimentService,FeedItemService,FeedMappingService,FeedService,LabelService,LocationCriterionService,ManagedCustomerService,MediaService,OfflineConversionFeedService,ReportDefinitionService,TargetingIdeaService,TrafficEstimatorService,CampaignSharedSetService,SharedCriterionService,SharedSetService,CampaignExtensionSettingService,AdGroupExtensionSettingService,CustomerExtensionSettingService,AdCustomizerFeedService,AccountLabelService,DraftService,DraftAsyncErrorService,TrialService,TrialAsyncErrorService api.versions.v201607.services.AdGroupAdService.wsdl=${api.server}/api/adwords/cm/v201607/AdGroupAdService?wsdl api.versions.v201607.services.AdGroupBidModifierService.wsdl=${api.server}/api/adwords/cm/v201607/AdGroupBidModifierService?wsdl api.versions.v201607.services.AdGroupCriterionService.wsdl=${api.server}/api/adwords/cm/v201607/AdGroupCriterionService?wsdl @@ -35,7 +35,6 @@ api.versions.v201607.services.BatchJobService.wsdl=${api.server}/api/adwords/cm/ api.versions.v201607.services.BiddingStrategyService.wsdl=${api.server}/api/adwords/cm/v201607/BiddingStrategyService?wsdl api.versions.v201607.services.BudgetOrderService.wsdl=${api.server}/api/adwords/billing/v201607/BudgetOrderService?wsdl api.versions.v201607.services.BudgetService.wsdl=${api.server}/api/adwords/cm/v201607/BudgetService?wsdl -api.versions.v201607.services.BudgetSuggestionService.wsdl=${api.server}/api/adwords/express/v201607/BudgetSuggestionService?wsdl api.versions.v201607.services.CampaignCriterionService.wsdl=${api.server}/api/adwords/cm/v201607/CampaignCriterionService?wsdl api.versions.v201607.services.CampaignFeedService.wsdl=${api.server}/api/adwords/cm/v201607/CampaignFeedService?wsdl api.versions.v201607.services.CampaignService.wsdl=${api.server}/api/adwords/cm/v201607/CampaignService?wsdl @@ -47,7 +46,6 @@ api.versions.v201607.services.CustomerService.wsdl=${api.server}/api/adwords/mcm api.versions.v201607.services.CustomerSyncService.wsdl=${api.server}/api/adwords/ch/v201607/CustomerSyncService?wsdl api.versions.v201607.services.DataService.wsdl=${api.server}/api/adwords/cm/v201607/DataService?wsdl api.versions.v201607.services.ExperimentService.wsdl=${api.server}/api/adwords/cm/v201607/ExperimentService?wsdl -api.versions.v201607.services.ExpressBusinessService.wsdl=${api.server}/api/adwords/express/v201607/ExpressBusinessService?wsdl api.versions.v201607.services.FeedItemService.wsdl=${api.server}/api/adwords/cm/v201607/FeedItemService?wsdl api.versions.v201607.services.FeedMappingService.wsdl=${api.server}/api/adwords/cm/v201607/FeedMappingService?wsdl api.versions.v201607.services.FeedService.wsdl=${api.server}/api/adwords/cm/v201607/FeedService?wsdl @@ -56,8 +54,6 @@ api.versions.v201607.services.LocationCriterionService.wsdl=${api.server}/api/ad api.versions.v201607.services.ManagedCustomerService.wsdl=${api.server}/api/adwords/mcm/v201607/ManagedCustomerService?wsdl api.versions.v201607.services.MediaService.wsdl=${api.server}/api/adwords/cm/v201607/MediaService?wsdl api.versions.v201607.services.OfflineConversionFeedService.wsdl=${api.server}/api/adwords/cm/v201607/OfflineConversionFeedService?wsdl -api.versions.v201607.services.ProductServiceService.wsdl=${api.server}/api/adwords/express/v201607/ProductServiceService?wsdl -api.versions.v201607.services.PromotionService.wsdl=${api.server}/api/adwords/express/v201607/PromotionService?wsdl api.versions.v201607.services.ReportDefinitionService.wsdl=${api.server}/api/adwords/cm/v201607/ReportDefinitionService?wsdl api.versions.v201607.services.SharedCriterionService.wsdl=${api.server}/api/adwords/cm/v201607/SharedCriterionService?wsdl api.versions.v201607.services.SharedSetService.wsdl=${api.server}/api/adwords/cm/v201607/SharedSetService?wsdl @@ -75,7 +71,7 @@ api.versions.v201607.services.TrialAsyncErrorService.wsdl=${api.server}/api/adwo ;; v201609 api.versions.v201609.namespace=Google_Api_Ads_AdWords_v201609 -api.versions.v201609.services=AdGroupAdService,AdGroupBidModifierService,AdGroupCriterionService,AdGroupFeedService,AdGroupService,AdParamService,AdwordsUserListService,BatchJobService,BiddingStrategyService,BudgetOrderService,BudgetService,CampaignCriterionService,CampaignFeedService,CampaignService,ConstantDataService,ConversionTrackerService,CustomerFeedService,CustomerService,CustomerSyncService,DataService,FeedItemService,FeedMappingService,FeedService,LabelService,LocationCriterionService,ManagedCustomerService,MediaService,OfflineConversionFeedService,ReportDefinitionService,TargetingIdeaService,TrafficEstimatorService,ExpressBusinessService,ProductServiceService,BudgetSuggestionService,PromotionService,CampaignSharedSetService,SharedCriterionService,SharedSetService,CampaignExtensionSettingService,AdGroupExtensionSettingService,CustomerExtensionSettingService,AdCustomizerFeedService,AccountLabelService,DraftService,DraftAsyncErrorService,TrialService,TrialAsyncErrorService,OfflineCallConversionFeedService +api.versions.v201609.services=AdGroupAdService,AdGroupBidModifierService,AdGroupCriterionService,AdGroupFeedService,AdGroupService,AdParamService,AdwordsUserListService,BatchJobService,BiddingStrategyService,BudgetOrderService,BudgetService,CampaignCriterionService,CampaignFeedService,CampaignService,ConstantDataService,ConversionTrackerService,CustomerFeedService,CustomerService,CustomerSyncService,DataService,FeedItemService,FeedMappingService,FeedService,LabelService,LocationCriterionService,ManagedCustomerService,MediaService,OfflineConversionFeedService,ReportDefinitionService,TargetingIdeaService,TrafficEstimatorService,CampaignSharedSetService,SharedCriterionService,SharedSetService,CampaignExtensionSettingService,AdGroupExtensionSettingService,CustomerExtensionSettingService,AdCustomizerFeedService,AccountLabelService,DraftService,DraftAsyncErrorService,TrialService,TrialAsyncErrorService,OfflineCallConversionFeedService api.versions.v201609.services.AdGroupAdService.wsdl=${api.server}/api/adwords/cm/v201609/AdGroupAdService?wsdl api.versions.v201609.services.AdGroupBidModifierService.wsdl=${api.server}/api/adwords/cm/v201609/AdGroupBidModifierService?wsdl api.versions.v201609.services.AdGroupCriterionService.wsdl=${api.server}/api/adwords/cm/v201609/AdGroupCriterionService?wsdl @@ -87,7 +83,6 @@ api.versions.v201609.services.BatchJobService.wsdl=${api.server}/api/adwords/cm/ api.versions.v201609.services.BiddingStrategyService.wsdl=${api.server}/api/adwords/cm/v201609/BiddingStrategyService?wsdl api.versions.v201609.services.BudgetOrderService.wsdl=${api.server}/api/adwords/billing/v201609/BudgetOrderService?wsdl api.versions.v201609.services.BudgetService.wsdl=${api.server}/api/adwords/cm/v201609/BudgetService?wsdl -api.versions.v201609.services.BudgetSuggestionService.wsdl=${api.server}/api/adwords/express/v201609/BudgetSuggestionService?wsdl api.versions.v201609.services.CampaignCriterionService.wsdl=${api.server}/api/adwords/cm/v201609/CampaignCriterionService?wsdl api.versions.v201609.services.CampaignFeedService.wsdl=${api.server}/api/adwords/cm/v201609/CampaignFeedService?wsdl api.versions.v201609.services.CampaignService.wsdl=${api.server}/api/adwords/cm/v201609/CampaignService?wsdl @@ -98,7 +93,6 @@ api.versions.v201609.services.CustomerFeedService.wsdl=${api.server}/api/adwords api.versions.v201609.services.CustomerService.wsdl=${api.server}/api/adwords/mcm/v201609/CustomerService?wsdl api.versions.v201609.services.CustomerSyncService.wsdl=${api.server}/api/adwords/ch/v201609/CustomerSyncService?wsdl api.versions.v201609.services.DataService.wsdl=${api.server}/api/adwords/cm/v201609/DataService?wsdl -api.versions.v201609.services.ExpressBusinessService.wsdl=${api.server}/api/adwords/express/v201609/ExpressBusinessService?wsdl api.versions.v201609.services.FeedItemService.wsdl=${api.server}/api/adwords/cm/v201609/FeedItemService?wsdl api.versions.v201609.services.FeedMappingService.wsdl=${api.server}/api/adwords/cm/v201609/FeedMappingService?wsdl api.versions.v201609.services.FeedService.wsdl=${api.server}/api/adwords/cm/v201609/FeedService?wsdl @@ -108,8 +102,6 @@ api.versions.v201609.services.ManagedCustomerService.wsdl=${api.server}/api/adwo api.versions.v201609.services.MediaService.wsdl=${api.server}/api/adwords/cm/v201609/MediaService?wsdl api.versions.v201609.services.OfflineCallConversionFeedService.wsdl=${api.server}/api/adwords/cm/v201609/OfflineCallConversionFeedService?wsdl api.versions.v201609.services.OfflineConversionFeedService.wsdl=${api.server}/api/adwords/cm/v201609/OfflineConversionFeedService?wsdl -api.versions.v201609.services.ProductServiceService.wsdl=${api.server}/api/adwords/express/v201609/ProductServiceService?wsdl -api.versions.v201609.services.PromotionService.wsdl=${api.server}/api/adwords/express/v201609/PromotionService?wsdl api.versions.v201609.services.ReportDefinitionService.wsdl=${api.server}/api/adwords/cm/v201609/ReportDefinitionService?wsdl api.versions.v201609.services.SharedCriterionService.wsdl=${api.server}/api/adwords/cm/v201609/SharedCriterionService?wsdl api.versions.v201609.services.SharedSetService.wsdl=${api.server}/api/adwords/cm/v201609/SharedSetService?wsdl @@ -172,3 +164,54 @@ api.versions.v201702.services.DraftService.wsdl=${api.server}/api/adwords/cm/v20 api.versions.v201702.services.DraftAsyncErrorService.wsdl=${api.server}/api/adwords/cm/v201702/DraftAsyncErrorService?wsdl api.versions.v201702.services.TrialService.wsdl=${api.server}/api/adwords/cm/v201702/TrialService?wsdl api.versions.v201702.services.TrialAsyncErrorService.wsdl=${api.server}/api/adwords/cm/v201702/TrialAsyncErrorService?wsdl + +;; v201705 +api.versions.v201705.namespace=Google_Api_Ads_AdWords_v201705 +api.versions.v201705.services=AdGroupAdService,AdGroupBidModifierService,AdGroupCriterionService,AdGroupFeedService,AdGroupService,AdParamService,AdwordsUserListService,BatchJobService,BiddingStrategyService,BudgetOrderService,BudgetService,CampaignBidModifierService,CampaignCriterionService,CampaignFeedService,CampaignGroupService,CampaignGroupPerformanceTargetService,CampaignService,ConstantDataService,ConversionTrackerService,CustomerFeedService,CustomerService,CustomerSyncService,DataService,FeedItemService,FeedMappingService,FeedService,LabelService,LocationCriterionService,ManagedCustomerService,MediaService,OfflineConversionFeedService,ReportDefinitionService,TargetingIdeaService,TrafficEstimatorService,CampaignSharedSetService,SharedCriterionService,SharedSetService,CampaignExtensionSettingService,AdGroupExtensionSettingService,CustomerExtensionSettingService,AdCustomizerFeedService,AccountLabelService,DraftService,DraftAsyncErrorService,TrialService,TrialAsyncErrorService,OfflineCallConversionFeedService +api.versions.v201705.services.AdGroupAdService.wsdl=${api.server}/api/adwords/cm/v201705/AdGroupAdService?wsdl +api.versions.v201705.services.AdGroupBidModifierService.wsdl=${api.server}/api/adwords/cm/v201705/AdGroupBidModifierService?wsdl +api.versions.v201705.services.AdGroupCriterionService.wsdl=${api.server}/api/adwords/cm/v201705/AdGroupCriterionService?wsdl +api.versions.v201705.services.AdGroupFeedService.wsdl=${api.server}/api/adwords/cm/v201705/AdGroupFeedService?wsdl +api.versions.v201705.services.AdGroupService.wsdl=${api.server}/api/adwords/cm/v201705/AdGroupService?wsdl +api.versions.v201705.services.AdParamService.wsdl=${api.server}/api/adwords/cm/v201705/AdParamService?wsdl +api.versions.v201705.services.AdwordsUserListService.wsdl=${api.server}/api/adwords/rm/v201705/AdwordsUserListService?wsdl +api.versions.v201705.services.BatchJobService.wsdl=${api.server}/api/adwords/cm/v201705/BatchJobService?wsdl +api.versions.v201705.services.BiddingStrategyService.wsdl=${api.server}/api/adwords/cm/v201705/BiddingStrategyService?wsdl +api.versions.v201705.services.BudgetOrderService.wsdl=${api.server}/api/adwords/billing/v201705/BudgetOrderService?wsdl +api.versions.v201705.services.BudgetService.wsdl=${api.server}/api/adwords/cm/v201705/BudgetService?wsdl +api.versions.v201705.services.CampaignBidModifierService.wsdl=${api.server}/api/adwords/cm/v201705/CampaignBidModifierService?wsdl +api.versions.v201705.services.CampaignCriterionService.wsdl=${api.server}/api/adwords/cm/v201705/CampaignCriterionService?wsdl +api.versions.v201705.services.CampaignFeedService.wsdl=${api.server}/api/adwords/cm/v201705/CampaignFeedService?wsdl +api.versions.v201705.services.CampaignGroupService.wsdl=${api.server}/api/adwords/cm/v201705/CampaignGroupService?wsdl +api.versions.v201705.services.CampaignGroupPerformanceTargetService.wsdl=${api.server}/api/adwords/cm/v201705/CampaignGroupPerformanceTargetService?wsdl +api.versions.v201705.services.CampaignService.wsdl=${api.server}/api/adwords/cm/v201705/CampaignService?wsdl +api.versions.v201705.services.CampaignSharedSetService.wsdl=${api.server}/api/adwords/cm/v201705/CampaignSharedSetService?wsdl +api.versions.v201705.services.ConstantDataService.wsdl=${api.server}/api/adwords/cm/v201705/ConstantDataService?wsdl +api.versions.v201705.services.ConversionTrackerService.wsdl=${api.server}/api/adwords/cm/v201705/ConversionTrackerService?wsdl +api.versions.v201705.services.CustomerFeedService.wsdl=${api.server}/api/adwords/cm/v201705/CustomerFeedService?wsdl +api.versions.v201705.services.CustomerService.wsdl=${api.server}/api/adwords/mcm/v201705/CustomerService?wsdl +api.versions.v201705.services.CustomerSyncService.wsdl=${api.server}/api/adwords/ch/v201705/CustomerSyncService?wsdl +api.versions.v201705.services.DataService.wsdl=${api.server}/api/adwords/cm/v201705/DataService?wsdl +api.versions.v201705.services.FeedItemService.wsdl=${api.server}/api/adwords/cm/v201705/FeedItemService?wsdl +api.versions.v201705.services.FeedMappingService.wsdl=${api.server}/api/adwords/cm/v201705/FeedMappingService?wsdl +api.versions.v201705.services.FeedService.wsdl=${api.server}/api/adwords/cm/v201705/FeedService?wsdl +api.versions.v201705.services.LabelService.wsdl=${api.server}/api/adwords/cm/v201705/LabelService?wsdl +api.versions.v201705.services.LocationCriterionService.wsdl=${api.server}/api/adwords/cm/v201705/LocationCriterionService?wsdl +api.versions.v201705.services.ManagedCustomerService.wsdl=${api.server}/api/adwords/mcm/v201705/ManagedCustomerService?wsdl +api.versions.v201705.services.MediaService.wsdl=${api.server}/api/adwords/cm/v201705/MediaService?wsdl +api.versions.v201705.services.OfflineCallConversionFeedService.wsdl=${api.server}/api/adwords/cm/v201705/OfflineCallConversionFeedService?wsdl +api.versions.v201705.services.OfflineConversionFeedService.wsdl=${api.server}/api/adwords/cm/v201705/OfflineConversionFeedService?wsdl +api.versions.v201705.services.ReportDefinitionService.wsdl=${api.server}/api/adwords/cm/v201705/ReportDefinitionService?wsdl +api.versions.v201705.services.SharedCriterionService.wsdl=${api.server}/api/adwords/cm/v201705/SharedCriterionService?wsdl +api.versions.v201705.services.SharedSetService.wsdl=${api.server}/api/adwords/cm/v201705/SharedSetService?wsdl +api.versions.v201705.services.TargetingIdeaService.wsdl=${api.server}/api/adwords/o/v201705/TargetingIdeaService?wsdl +api.versions.v201705.services.TrafficEstimatorService.wsdl=${api.server}/api/adwords/o/v201705/TrafficEstimatorService?wsdl +api.versions.v201705.services.CampaignExtensionSettingService.wsdl=${api.server}/api/adwords/cm/v201705/CampaignExtensionSettingService?wsdl +api.versions.v201705.services.AdGroupExtensionSettingService.wsdl=${api.server}/api/adwords/cm/v201705/AdGroupExtensionSettingService?wsdl +api.versions.v201705.services.CustomerExtensionSettingService.wsdl=${api.server}/api/adwords/cm/v201705/CustomerExtensionSettingService?wsdl +api.versions.v201705.services.AdCustomizerFeedService.wsdl=${api.server}/api/adwords/cm/v201705/AdCustomizerFeedService?wsdl +api.versions.v201705.services.AccountLabelService.wsdl=${api.server}/api/adwords/mcm/v201705/AccountLabelService?wsdl +api.versions.v201705.services.DraftService.wsdl=${api.server}/api/adwords/cm/v201705/DraftService?wsdl +api.versions.v201705.services.DraftAsyncErrorService.wsdl=${api.server}/api/adwords/cm/v201705/DraftAsyncErrorService?wsdl +api.versions.v201705.services.TrialService.wsdl=${api.server}/api/adwords/cm/v201705/TrialService?wsdl +api.versions.v201705.services.TrialAsyncErrorService.wsdl=${api.server}/api/adwords/cm/v201705/TrialAsyncErrorService?wsdl diff --git a/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobClasses.php b/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobClasses.php new file mode 100755 index 000000000..bd479f09b --- /dev/null +++ b/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobClasses.php @@ -0,0 +1,337 @@ +errors = $errors; + } + } +} + +if (!class_exists("MutateResult", false)) { + class MutateResult { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MutateResult"; + + /** + * @var tnsOperand + */ + public $result; + + /** + * @var tnsErrorList + */ + public $errorList; + + /** + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($result = null, $errorList = null, + $index = null) { + $this->result = $result; + $this->errorList = $errorList; + $this->index = $index; + } + } +} + +if (!class_exists("Operand", false)) { + class Operand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operand"; + + /** + * @var AdGroupAdLabel + */ + public $AdGroupAdLabel; + + /** + * @var AdGroupAd + */ + public $AdGroupAd; + + /** + * @var AdGroupBidModifier + */ + public $AdGroupBidModifier; + + /** + * @var AdGroupCriterionLabel + */ + public $AdGroupCriterionLabel; + + /** + * @var AdGroupExtensionSetting + */ + public $AdGroupExtensionSetting; + + /** + * @var AdGroupCriterion + */ + public $AdGroupCriterion; + + /** + * @var AdGroupLabel + */ + public $AdGroupLabel; + + /** + * @var AdGroup + */ + public $AdGroup; + + /** + * @var Ad + */ + public $Ad; + + /** + * @var Budget + */ + public $Budget; + + /** + * @var CampaignCriterion + */ + public $CampaignCriterion; + + /** + * @var CampaignExtensionSetting + */ + public $CampaignExtensionSetting; + + /** + * @var CampaignLabel + */ + public $CampaignLabel; + + /** + * @var Campaign + */ + public $Campaign; + + /** + * @var CustomerExtensionSetting + */ + public $CustomerExtensionSetting; + + /** + * @var FeedItem + */ + public $FeedItem; + + /** + * @var Label + */ + public $Label; + + /** + * @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( + $AdGroupAdLabel = null, + $AdGroupAd = null, + $AdGroupBidModifier = null, + $AdGroupCriterionLabel = null, + $AdGroupCriterion = null, + $AdGroupExtensionSetting = null, + $AdGroupLabel = null, + $AdGroup = null, + $Ad = null, + $Budget = null, + $CampaignCriterion = null, + $CampaignExtensionSetting = null, + $CampaignLabel = null, + $Campaign = null, + $CustomerExtensionSetting = null, + $FeedItem = null, + $Label = null, + $Media = null + ) { + $this->AdGroupAdLabel = $AdGroupAdLabel; + $this->AdGroupAd = $AdGroupAd; + $this->AdGroupBidModifier = $AdGroupBidModifier; + $this->AdGroupCriterionLabel = $AdGroupCriterionLabel; + $this->AdGroupCriterion = $AdGroupCriterion; + $this->AdGroupExtensionSetting = $AdGroupExtensionSetting; + $this->AdGroupLabel = $AdGroupLabel; + $this->AdGroup = $AdGroup; + $this->Ad = $Ad; + $this->Budget = $Budget; + $this->CampaignCriterion = $CampaignCriterion; + $this->CampaignExtensionSetting = $CampaignExtensionSetting; + $this->CampaignLabel = $CampaignLabel; + $this->Campaign = $Campaign; + $this->CustomerExtensionSetting = $CustomerExtensionSetting; + $this->FeedItem = $FeedItem; + $this->Label = $Label; + $this->Media = $Media; + } + } +} + +if (!class_exists("BatchJobOpsMutate", false)) { + class BatchJobOpsMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @var Operation[] + */ + 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("BatchJobOpsMutateResponse", false)) { + class BatchJobOpsMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @var MutateResult[] + */ + 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; + } + } +} diff --git a/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobUtils.php b/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobUtils.php new file mode 100755 index 000000000..d1bef2b4d --- /dev/null +++ b/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobUtils.php @@ -0,0 +1,117 @@ + "ErrorList", + "MutateResult" => "MutateResult", + "Operand" => "Operand", + "mutate" => "BatchJobOpsMutate", + "mutateResponse" => "BatchJobOpsMutateResponse", + ); + + private $batchJobUtilsDelegate; + private $adsUtilityRegistry; + + /** + * Create an instance of BatchJobUtils with the specified upload URL, total + * uploaded content bytes, CurlUtils object, BatchJobUtilsDelegate object and + * ads utility registry. + * + * @param string $uploadUrl the upload URL to which the operations will be + * uploaded + * @param int|null $totalContentBytes the total content bytes uploaded so far, + * used in incremental batch job uploads + * @param CurlUtils|null $curlUtils the CurlUtils object for uploading batch + * job operations and downloading the results of batch job processing + * @param BatchJobUtilsDelegate|null $batchJobUtilsDelegate the batch job + * utils delegate that uploads batch job operations and downloads the + * results + * @param AdsUtilityRegistry|null $adsUtilityRegistry the ads utility registry + */ + public function __construct( + $uploadUrl, + $totalContentBytes = null, + CurlUtils $curlUtils = null, + BatchJobUtilsDelegate $batchJobUtilsDelegate = null, + AdsUtilityRegistry $adsUtilityRegistry = null + ) { + $this->batchJobUtilsDelegate = ($batchJobUtilsDelegate === null) + ? new BatchJobUtilsDelegate($uploadUrl, $totalContentBytes, $curlUtils) + : $batchJobUtilsDelegate; + $this->adsUtilityRegistry = ($adsUtilityRegistry === null) + ? AdsUtilityRegistry::getInstance() + : $adsUtilityRegistry; + } + + /** + * Uploads batch job operations to the specified upload URL. + * + * @param array $operations operations to be uploaded via the upload URL + * $uploadUrl + * @throws BatchJobException if the HTTP code is not equal to 200 + */ + public function UploadBatchJobOperations(array $operations) { + // Starting with v201601, all uploads must go through the incremental + // upload workflow. + $this->UploadIncrementalBatchJobOperations($operations, true); + } + + /** + * Uploads batch job operations incrementally to the specified upload URL. + * + * @param array $operations operations to be uploaded via the upload URL + * @param bool $isLastRequest if this is last upload request + * @throws BatchJobException if the HTTP code is not equal to 200 and 308 + */ + public function UploadIncrementalBatchJobOperations(array $operations, + $isLastRequest = null) { + $this->adsUtilityRegistry->addUtility(AdsUtility::BATCHJOB_UTILS); + $this->batchJobUtilsDelegate + ->UploadIncrementalBatchJobOperations($operations, $isLastRequest); + } + + /** + * Downloads the results of batch processing from $downloadUrl. + * + * @param string $downloadUrl the download URL from which the results are + * downloaded + * @throws BatchJobException if the HTTP code is not equal to 200 + * @return string the contents of returned HTTP response + */ + public function DownloadBatchJobResults($downloadUrl) { + $this->adsUtilityRegistry->addUtility(AdsUtility::BATCHJOB_UTILS); + return $this->batchJobUtilsDelegate->DownloadBatchJobResults($downloadUrl); + } +} diff --git a/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobUtilsDelegate.php b/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobUtilsDelegate.php new file mode 100755 index 000000000..3a6e63371 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/Util/v201705/BatchJobUtilsDelegate.php @@ -0,0 +1,300 @@ +totalContentBytes = + ($totalContentBytes === null) ? 0 : $totalContentBytes; + $this->curlUtils = ($curlUtils === null) ? new CurlUtils() : $curlUtils; + $this->curlSession = null; + // If this is the first upload, then issue a request to get the resumable + // session URI from Google Cloud Storage. + $this->uploadUrl = ($this->totalContentBytes === 0) ? + $this->InitiateResumableUpload($uploadUrl) : + $this->uploadUrl; + } + + /** + * @see BatchJobUtils::UploadIncrementalBatchJobOperations + */ + public function UploadIncrementalBatchJobOperations(array $operations, + $isLastRequest = null) { + if ($isLastRequest === null) { + $isLastRequest = false; + } + + $uploadRequest = + $this->PrepareIncrementalUploadRequest($operations, $isLastRequest); + + $flatHeaders = array(); + foreach ($uploadRequest['headers'] as $name => $value) { + $flatHeaders[] = sprintf('%s: %s', $name, $value); + } + + // If this is the first upload request for this instance, initialize the + // curl session object. + if ($this->curlSession === null) { + $this->curlSession = $this->curlUtils->CreateSession($this->uploadUrl); + $this->curlUtils->SetOpt($this->curlSession, CURLOPT_CUSTOMREQUEST, + 'PUT'); + $this->curlUtils->SetOpt($this->curlSession, CURLINFO_HEADER_OUT, true); + } + $this->curlUtils->SetOpt($this->curlSession, CURLOPT_HTTPHEADER, + $flatHeaders); + $this->curlUtils->SetOpt($this->curlSession, CURLOPT_POSTFIELDS, + $uploadRequest['body']); + + $response = $this->curlUtils->Exec($this->curlSession); + $errorMessage = $this->curlUtils->Error($this->curlSession); + $httpCode = $this->curlUtils->GetInfo($this->curlSession, + CURLINFO_HTTP_CODE); + + if ($isLastRequest === true) { + $this->curlUtils->Close($this->curlSession); + $this->curlSession = null; + $this->uploadUrl = null; + $this->totalContentBytes = 0; + } else { + $this->totalContentBytes += $uploadRequest['length']; + } + + // 308 also indicates that the incremental upload succeeded. + if ($httpCode != 200 && $httpCode != 308) { + $errorMessage .= ' Failed response status from batch upload URL.'; + throw new BatchJobException(sprintf( + "Error message: %s, HTTP code %d.", + $errorMessage, + $httpCode + )); + } + } + + /** + * Creates the HTTP headers and body for incremental upload request that will + * be used to upload batch operations to. Content-Length and Content-Range + * are required for incremental upload. + * + * @param array $operations operations to be uploaded to the upload URL + * @param bool $isLastRequest if this is last upload request + * @return array an associative array containing the HTTP headers, body, and + * content length of incremental upload request + */ + private function PrepareIncrementalUploadRequest(array $operations, + $isLastRequest) { + $headers = array('Content-Type' => self::$UPLOAD_URL_HEADER_CONTENT_TYPE); + + $batchJobOpsMutate = new BatchJobOpsMutate(); + $batchJobOpsMutate->operations = $operations; + // Get body of this HTTP upload request. + $serializer = new XmlSerializer(); + $content = $this->PostProcessContent( + $serializer->ConvertObjectToXml($batchJobOpsMutate, 'ns1:mutate', true), + $this->totalContentBytes == 0, + $isLastRequest + ); + $contentLength = mb_strlen($content, '8bit'); + $headers['Content-Length'] = $contentLength; + + // On the last request, specify the total number of bytes. + // e.g., bytes 500-999/1000 + $lowerBound = $this->totalContentBytes; + $upperBound = $this->totalContentBytes + $contentLength - 1; + $totalBytes = ($isLastRequest) ? strval($upperBound + 1) : '*'; + $contentRange = + sprintf('bytes %d-%d/%s', $lowerBound, $upperBound, $totalBytes); + $headers['Content-Range'] = $contentRange; + return array( + 'headers' => $headers, + 'body' => $content, + 'length' => $contentLength + ); + } + + /** + * @see BatchJobUtils::DownloadBatchJobResults + */ + public function DownloadBatchJobResults($downloadUrl) { + $downloadRequest = array( + 'headers' => + array('Accept-Encoding' => self::$DOWNLOAD_URL_ACCEPT_ENCODING) + ); + $flatHeaders = array(); + foreach ($downloadRequest['headers'] as $name => $value) { + $flatHeaders[] = sprintf('%s: %s', $name, $value); + } + + $ch = $this->curlUtils->CreateSession($downloadUrl); + $this->curlUtils->SetOpt($ch, CURLINFO_HEADER_OUT, true); + $this->curlUtils->SetOpt($ch, CURLOPT_HTTPHEADER, $flatHeaders); + + $response = $this->curlUtils->Exec($ch); + $errorMessage = $this->curlUtils->Error($ch); + $httpCode = $this->curlUtils->GetInfo($ch, CURLINFO_HTTP_CODE); + + $this->curlUtils->Close($ch); + + if ($httpCode != 200) { + throw new BatchJobException( + sprintf("Error message: %s, HTTP code %d.", $errorMessage, + $httpCode)); + } else { + return $response; + } + } + + /** + * Initiates the resumable upload by sending a request to Google Cloud + * Storage. + * + * @param string $uploadUrl the upload URL of a batch job + * @return string the URL for the initiated resumable upload + */ + private function InitiateResumableUpload($uploadUrl) { + // This follows the Google Cloud Storage guidelines for initiating + // resumable uploads: + // https://cloud.google.com/storage/docs/resumable-uploads-xml + $headers = array( + 'Content-Type: ' . self::$UPLOAD_URL_HEADER_CONTENT_TYPE, + 'Content-Length: 0', + 'x-goog-resumable: start' + ); + + $ch = $this->curlUtils->CreateSession($uploadUrl); + $this->curlUtils->SetOpt($ch, CURLOPT_POST, true); + $this->curlUtils->SetOpt($ch, CURLOPT_HEADER, true); + $this->curlUtils->SetOpt($ch, CURLINFO_HEADER_OUT, true); + $this->curlUtils->SetOpt($ch, CURLOPT_HTTPHEADER, $headers); + + // Response returned is composed of only headers. Body is always empty. + $response = $this->curlUtils->Exec($ch); + $errorMessage = $this->curlUtils->Error($ch); + $httpCode = $this->curlUtils->GetInfo($ch, CURLINFO_HTTP_CODE); + + $this->curlUtils->Close($ch); + + // A resumable upload URL is provided in the value of "Location". + preg_match('/Location:\s([^\s]*)\s/', $response, $matches); + if (!isset($matches[1]) || $matches[1] === '') { + $message = 'Internal Google Cloud Storage error - cannot retrieve' + . ' resumable upload URL at this time - please try again later.'; + throw new BatchJobException($message); + } else { + return $matches[1]; + } + } + + /** + * Post-processes the request content to conform to the requirements of + * Google Cloud Storage. + * + * @param string $content the request content + * @param bool $isFirstRequest if this is the first request of the batch job + * @param bool $isLastRequest if this is the last request of the batch job + * @return string the post-processed content + */ + private function PostProcessContent($content, $isFirstRequest, + $isLastRequest) { + if (($isFirstRequest === true) && ($isLastRequest === true)) { + return $content; + } + + $content = $this->TrimStartEndElements($content, $isFirstRequest, + $isLastRequest); + + // The request is part of a set of incremental uploads, so pad to the + // required content length. This is not necessary if all operations for the + // job are being uploaded in a single request. + $numBytes = mb_strlen($content, '8bit'); + $remainder = $numBytes % self::$REQUIRED_CONTENT_BYTES_INCREMENT; + if ($remainder > 0) { + $targetLength = $numBytes + + (self::$REQUIRED_CONTENT_BYTES_INCREMENT - $remainder); + $content = str_pad($content, $targetLength, ' '); + } + return $content; + } + + /** + * Returns the request content with the start or end mutate element removed, + * depending on whether the request is the first and/or last request. + * + * @param string $content the request content + * @param bool $isFirstRequest if this is the first request of the batch job + * @param bool $isLastRequest if this is the last request of the batch job + * @return string the trimmed request content + */ + private function TrimStartEndElements($content, $isFirstRequest, + $isLastRequest) { + if ($isFirstRequest === false) { + $content = preg_replace('/^.*?Auto-generated fields: headline and optional tracking URL.
+ *Auto-generated fields: headline and final URL.
* - *Required fields: {@code description1}, {@code description2}, - * {@code displayUrl}.
+ *Note: we recommend using the ExpandedDynamicSearchAd type, introduced in v201705, rather than + * the DynamicSearchAd type.
+ * + *Required fields: {@code description1}, {@code description2}, {@code displayUrl}.
* *The tracking URL field must contain at least one of the following placeholder tags * (URL parameters):
diff --git a/src/Google/Api/Ads/AdWords/v201607/AdGroupBidModifierService.php b/src/Google/Api/Ads/AdWords/v201607/AdGroupBidModifierService.php index 62d34c9d5..5b9aaf400 100755 --- a/src/Google/Api/Ads/AdWords/v201607/AdGroupBidModifierService.php +++ b/src/Google/Api/Ads/AdWords/v201607/AdGroupBidModifierService.php @@ -3550,6 +3550,9 @@ public function __construct($errors = null, $message = null, $ApplicationExcepti if (!class_exists("AdGroupBidModifierOperation", false)) { /** * Operation used to create or mutate a AdGroupBidModifier. + * + *If you try to ADD a criterion that already exists, it will be treated as a SET operation + * on the existing criterion. * @package Google_Api_Ads_AdWords_v201607 * @subpackage v201607 */ diff --git a/src/Google/Api/Ads/AdWords/v201607/AdGroupCriterionService.php b/src/Google/Api/Ads/AdWords/v201607/AdGroupCriterionService.php index c833d0063..72d815d86 100755 --- a/src/Google/Api/Ads/AdWords/v201607/AdGroupCriterionService.php +++ b/src/Google/Api/Ads/AdWords/v201607/AdGroupCriterionService.php @@ -1135,7 +1135,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *
Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. @@ -9249,6 +9252,9 @@ public function __construct($limitType = null, $reason = null, $enclosingId = nu if (!class_exists("AdGroupCriterionOperation", false)) { /** * Operation (add, remove and set) on adgroup criteria. + * + *
If you try to ADD a criterion that already exists, it will be treated as a SET operation + * on the existing criterion. * @package Google_Api_Ads_AdWords_v201607 * @subpackage v201607 */ diff --git a/src/Google/Api/Ads/AdWords/v201607/AdGroupService.php b/src/Google/Api/Ads/AdWords/v201607/AdGroupService.php index 0dcf9079f..b03922da5 100755 --- a/src/Google/Api/Ads/AdWords/v201607/AdGroupService.php +++ b/src/Google/Api/Ads/AdWords/v201607/AdGroupService.php @@ -1545,7 +1545,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *
Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. diff --git a/src/Google/Api/Ads/AdWords/v201607/AdwordsUserListService.php b/src/Google/Api/Ads/AdWords/v201607/AdwordsUserListService.php index b0c6218bf..7a14b23c1 100755 --- a/src/Google/Api/Ads/AdWords/v201607/AdwordsUserListService.php +++ b/src/Google/Api/Ads/AdWords/v201607/AdwordsUserListService.php @@ -2414,7 +2414,6 @@ public function __construct($key = null, $op = null, $value = null) { if (!class_exists("Rule", false)) { /** * A client defined rule based on custom parameters sent by web sites. - * It consists of rule item groups that are connected by OR. * @package Google_Api_Ads_AdWords_v201607 * @subpackage v201607 */ @@ -2508,7 +2507,9 @@ public function __construct($DateRuleItem = null, $NumberRuleItem = null, $Strin if (!class_exists("RuleItemGroup", false)) { /** - * A group of rule items that are ANDed together. + * A group of rule items that are ANDed together before version V201705. + * Starting from version V201705, rule item groups will be grouped together based on + * {@link Rule#getRuleType()}. * @package Google_Api_Ads_AdWords_v201607 * @subpackage v201607 */ diff --git a/src/Google/Api/Ads/AdWords/v201607/BiddingStrategyService.php b/src/Google/Api/Ads/AdWords/v201607/BiddingStrategyService.php index 4e7052e88..44588a832 100755 --- a/src/Google/Api/Ads/AdWords/v201607/BiddingStrategyService.php +++ b/src/Google/Api/Ads/AdWords/v201607/BiddingStrategyService.php @@ -4513,7 +4513,7 @@ public function __construct($targetOutrankShare = null, $competitorDomain = null if (!class_exists("TargetRoasBiddingScheme", false)) { /** * Target Roas bidding strategy helps you maximize revenue while averaging a specific target - * Return On Average Spend (ROAS). + * 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. diff --git a/src/Google/Api/Ads/AdWords/v201607/BudgetOrderService.php b/src/Google/Api/Ads/AdWords/v201607/BudgetOrderService.php index 9fce41ba8..0b632148b 100755 --- a/src/Google/Api/Ads/AdWords/v201607/BudgetOrderService.php +++ b/src/Google/Api/Ads/AdWords/v201607/BudgetOrderService.php @@ -4487,9 +4487,10 @@ public function __construct() { * * * 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. + * @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_v201607 * @subpackage v201607 @@ -4570,8 +4571,8 @@ public function __construct($rval = null) { if (!class_exists("GetBillingAccounts", false)) { /** - * Returns all the open/active BillingAccounts associated with the current - * manager. + * 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_v201607 @@ -4653,7 +4654,7 @@ public function __construct($rval = null) { * * * - * Mutates BudgetOrders, supported operations are: + * Adds, updates, or removes budget orders. 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
@@ -4662,6 +4663,7 @@ public function __construct($rval = null) {
*
Warning: The BudgetOrderService
* is limited to one operation per mutate request. Any attempt to make more
* than one operation will result in an ApiException
.
Note: This action is available only on a whitelist basis.
* @param operations A list of operations, however currently we only * support one operation per mutate call. * @return BudgetOrders affected by the mutate operation. @@ -5028,9 +5030,10 @@ public function __construct($wsdl, $options, $user) { * * * 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. + * @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) { @@ -5039,8 +5042,8 @@ public function get($serviceSelector) { return $result->rval; } /** - * Returns all the open/active BillingAccounts associated with the current - * manager. + * Returns all the open/active BillingAccounts associated with the current manager. + * * @return A list of {@link BillingAccount}s. * @throws ApiException */ @@ -5057,7 +5060,7 @@ public function getBillingAccounts() { * * * - * Mutates BudgetOrders, supported operations are: + * Adds, updates, or removes budget orders. 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
@@ -5066,6 +5069,7 @@ public function getBillingAccounts() {
*
Warning: The BudgetOrderService
* is limited to one operation per mutate request. Any attempt to make more
* than one operation will result in an ApiException
.
Note: This action is available only on a whitelist basis.
* @param operations A list of operations, however currently we only * support one operation per mutate call. * @return BudgetOrders affected by the mutate operation. diff --git a/src/Google/Api/Ads/AdWords/v201607/CampaignService.php b/src/Google/Api/Ads/AdWords/v201607/CampaignService.php index db76d04d4..5558b5a17 100755 --- a/src/Google/Api/Ads/AdWords/v201607/CampaignService.php +++ b/src/Google/Api/Ads/AdWords/v201607/CampaignService.php @@ -488,7 +488,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. diff --git a/src/Google/Api/Ads/AdWords/v201607/TrialService.php b/src/Google/Api/Ads/AdWords/v201607/TrialService.php index bfd0e572a..d579f73d9 100755 --- a/src/Google/Api/Ads/AdWords/v201607/TrialService.php +++ b/src/Google/Api/Ads/AdWords/v201607/TrialService.php @@ -3745,8 +3745,8 @@ public function __construct($operand = null, $operator = null, $OperationType = if (!class_exists("TrialPage", false)) { /** - * Contains a filtered and paged subset of campaign trials as returned by {@link - * TrialService#get(com.google.ads.api.services.common.selector.Selector)}. + * Contains a filtered and paged subset of campaign trials as returned by + * {@link TrialService#get}. * @package Google_Api_Ads_AdWords_v201607 * @subpackage v201607 */ diff --git a/src/Google/Api/Ads/AdWords/v201609/AdGroupAdService.php b/src/Google/Api/Ads/AdWords/v201609/AdGroupAdService.php index 89cbf45eb..fc0043e08 100755 --- a/src/Google/Api/Ads/AdWords/v201609/AdGroupAdService.php +++ b/src/Google/Api/Ads/AdWords/v201609/AdGroupAdService.php @@ -5169,15 +5169,16 @@ public function __construct($durationMillis = null, $streamingUrl = null, $ready if (!class_exists("DynamicSearchAd", false)) { /** - * Represents a dynamic search ad. This ad will have its headline and - * tracking URL auto-generated at serving time according to domain name - * specific information provided by {@link DomainInfoExtension} linked at the - * campaign level. + * Represents a dynamic search ad. This ad will have its headline and final URL auto-generated at + * serving time according to domain name specific information provided by DynamicSearchAdsSetting at + * the campaign level. * - *
Auto-generated fields: headline and optional tracking URL.
+ *Auto-generated fields: headline and final URL.
* - *Required fields: {@code description1}, {@code description2}, - * {@code displayUrl}.
+ *Note: we recommend using the ExpandedDynamicSearchAd type, introduced in v201705, rather than + * the DynamicSearchAd type.
+ * + *Required fields: {@code description1}, {@code description2}, {@code displayUrl}.
* *The tracking URL field must contain at least one of the following placeholder tags * (URL parameters):
diff --git a/src/Google/Api/Ads/AdWords/v201609/AdGroupBidModifierService.php b/src/Google/Api/Ads/AdWords/v201609/AdGroupBidModifierService.php index 44e0ca2a9..fcffa70ef 100755 --- a/src/Google/Api/Ads/AdWords/v201609/AdGroupBidModifierService.php +++ b/src/Google/Api/Ads/AdWords/v201609/AdGroupBidModifierService.php @@ -3550,6 +3550,9 @@ public function __construct($errors = null, $message = null, $ApplicationExcepti if (!class_exists("AdGroupBidModifierOperation", false)) { /** * Operation used to create or mutate a AdGroupBidModifier. + * + *If you try to ADD a criterion that already exists, it will be treated as a SET operation + * on the existing criterion. * @package Google_Api_Ads_AdWords_v201609 * @subpackage v201609 */ diff --git a/src/Google/Api/Ads/AdWords/v201609/AdGroupCriterionService.php b/src/Google/Api/Ads/AdWords/v201609/AdGroupCriterionService.php index 8fcbd46c1..87045c0c0 100755 --- a/src/Google/Api/Ads/AdWords/v201609/AdGroupCriterionService.php +++ b/src/Google/Api/Ads/AdWords/v201609/AdGroupCriterionService.php @@ -945,7 +945,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *
Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. @@ -8831,6 +8834,9 @@ public function __construct($limitType = null, $reason = null, $enclosingId = nu if (!class_exists("AdGroupCriterionOperation", false)) { /** * Operation (add, remove and set) on adgroup criteria. + * + *
If you try to ADD a criterion that already exists, it will be treated as a SET operation + * on the existing criterion. * @package Google_Api_Ads_AdWords_v201609 * @subpackage v201609 */ diff --git a/src/Google/Api/Ads/AdWords/v201609/AdGroupService.php b/src/Google/Api/Ads/AdWords/v201609/AdGroupService.php index 95120df90..ee538951b 100755 --- a/src/Google/Api/Ads/AdWords/v201609/AdGroupService.php +++ b/src/Google/Api/Ads/AdWords/v201609/AdGroupService.php @@ -1321,7 +1321,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *
Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. diff --git a/src/Google/Api/Ads/AdWords/v201609/AdwordsUserListService.php b/src/Google/Api/Ads/AdWords/v201609/AdwordsUserListService.php index 8f5d1e442..03e18498b 100755 --- a/src/Google/Api/Ads/AdWords/v201609/AdwordsUserListService.php +++ b/src/Google/Api/Ads/AdWords/v201609/AdwordsUserListService.php @@ -2421,7 +2421,6 @@ public function __construct($key = null, $op = null, $value = null) { if (!class_exists("Rule", false)) { /** * A client defined rule based on custom parameters sent by web sites. - * It consists of rule item groups that are connected by OR. * @package Google_Api_Ads_AdWords_v201609 * @subpackage v201609 */ @@ -2515,7 +2514,9 @@ public function __construct($DateRuleItem = null, $NumberRuleItem = null, $Strin if (!class_exists("RuleItemGroup", false)) { /** - * A group of rule items that are ANDed together. + * A group of rule items that are ANDed together before version V201705. + * Starting from version V201705, rule item groups will be grouped together based on + * {@link Rule#getRuleType()}. * @package Google_Api_Ads_AdWords_v201609 * @subpackage v201609 */ diff --git a/src/Google/Api/Ads/AdWords/v201609/BiddingStrategyService.php b/src/Google/Api/Ads/AdWords/v201609/BiddingStrategyService.php index 5b1cce84c..ac8690ec6 100755 --- a/src/Google/Api/Ads/AdWords/v201609/BiddingStrategyService.php +++ b/src/Google/Api/Ads/AdWords/v201609/BiddingStrategyService.php @@ -4513,7 +4513,7 @@ public function __construct($targetOutrankShare = null, $competitorDomain = null if (!class_exists("TargetRoasBiddingScheme", false)) { /** * Target Roas bidding strategy helps you maximize revenue while averaging a specific target - * Return On Average Spend (ROAS). + * 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. diff --git a/src/Google/Api/Ads/AdWords/v201609/BudgetOrderService.php b/src/Google/Api/Ads/AdWords/v201609/BudgetOrderService.php index 9246297d0..26e3512ba 100755 --- a/src/Google/Api/Ads/AdWords/v201609/BudgetOrderService.php +++ b/src/Google/Api/Ads/AdWords/v201609/BudgetOrderService.php @@ -4494,9 +4494,10 @@ public function __construct() { * * * 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. + * @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_v201609 * @subpackage v201609 @@ -4577,8 +4578,8 @@ public function __construct($rval = null) { if (!class_exists("GetBillingAccounts", false)) { /** - * Returns all the open/active BillingAccounts associated with the current - * manager. + * 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_v201609 @@ -4660,7 +4661,7 @@ public function __construct($rval = null) { * * * - * Mutates BudgetOrders, supported operations are: + * Adds, updates, or removes budget orders. 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
@@ -4669,6 +4670,7 @@ public function __construct($rval = null) {
*
Warning: The BudgetOrderService
* is limited to one operation per mutate request. Any attempt to make more
* than one operation will result in an ApiException
.
Note: This action is available only on a whitelist basis.
* @param operations A list of operations, however currently we only * support one operation per mutate call. * @return BudgetOrders affected by the mutate operation. @@ -5035,9 +5037,10 @@ public function __construct($wsdl, $options, $user) { * * * 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. + * @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) { @@ -5046,8 +5049,8 @@ public function get($serviceSelector) { return $result->rval; } /** - * Returns all the open/active BillingAccounts associated with the current - * manager. + * Returns all the open/active BillingAccounts associated with the current manager. + * * @return A list of {@link BillingAccount}s. * @throws ApiException */ @@ -5064,7 +5067,7 @@ public function getBillingAccounts() { * * * - * Mutates BudgetOrders, supported operations are: + * Adds, updates, or removes budget orders. 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
@@ -5073,6 +5076,7 @@ public function getBillingAccounts() {
*
Warning: The BudgetOrderService
* is limited to one operation per mutate request. Any attempt to make more
* than one operation will result in an ApiException
.
Note: This action is available only on a whitelist basis.
* @param operations A list of operations, however currently we only * support one operation per mutate call. * @return BudgetOrders affected by the mutate operation. diff --git a/src/Google/Api/Ads/AdWords/v201609/CampaignService.php b/src/Google/Api/Ads/AdWords/v201609/CampaignService.php index db03b71b8..e0856c8b0 100755 --- a/src/Google/Api/Ads/AdWords/v201609/CampaignService.php +++ b/src/Google/Api/Ads/AdWords/v201609/CampaignService.php @@ -488,7 +488,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. @@ -7324,7 +7327,7 @@ public function __construct() { if (!class_exists("UniversalAppBiddingStrategyGoalType", false)) { /** * Represents the goal towards which the bidding strategy, of a universal app - * campaign, should optimize for. See go/walnut-pie-apdr for more. + * campaign, should optimize for. * @package Google_Api_Ads_AdWords_v201609 * @subpackage v201609 */ diff --git a/src/Google/Api/Ads/AdWords/v201609/TrialService.php b/src/Google/Api/Ads/AdWords/v201609/TrialService.php index 23ec38035..ea2260e74 100755 --- a/src/Google/Api/Ads/AdWords/v201609/TrialService.php +++ b/src/Google/Api/Ads/AdWords/v201609/TrialService.php @@ -3745,8 +3745,8 @@ public function __construct($operand = null, $operator = null, $OperationType = if (!class_exists("TrialPage", false)) { /** - * Contains a filtered and paged subset of campaign trials as returned by {@link - * TrialService#get(com.google.ads.api.services.common.selector.Selector)}. + * Contains a filtered and paged subset of campaign trials as returned by + * {@link TrialService#get}. * @package Google_Api_Ads_AdWords_v201609 * @subpackage v201609 */ diff --git a/src/Google/Api/Ads/AdWords/v201702/AdGroupAdService.php b/src/Google/Api/Ads/AdWords/v201702/AdGroupAdService.php index ce12276f0..d04098afb 100755 --- a/src/Google/Api/Ads/AdWords/v201702/AdGroupAdService.php +++ b/src/Google/Api/Ads/AdWords/v201702/AdGroupAdService.php @@ -5638,15 +5638,16 @@ public function __construct($durationMillis = null, $streamingUrl = null, $ready if (!class_exists("DynamicSearchAd", false)) { /** - * Represents a dynamic search ad. This ad will have its headline and - * tracking URL auto-generated at serving time according to domain name - * specific information provided by {@link DomainInfoExtension} linked at the - * campaign level. + * Represents a dynamic search ad. This ad will have its headline and final URL auto-generated at + * serving time according to domain name specific information provided by DynamicSearchAdsSetting at + * the campaign level. * - *
Auto-generated fields: headline and optional tracking URL.
+ *Auto-generated fields: headline and final URL.
* - *Required fields: {@code description1}, {@code description2}, - * {@code displayUrl}.
+ *Note: we recommend using the ExpandedDynamicSearchAd type, introduced in v201705, rather than + * the DynamicSearchAd type.
+ * + *Required fields: {@code description1}, {@code description2}, {@code displayUrl}.
* *The tracking URL field must contain at least one of the following placeholder tags * (URL parameters):
diff --git a/src/Google/Api/Ads/AdWords/v201702/AdGroupBidModifierService.php b/src/Google/Api/Ads/AdWords/v201702/AdGroupBidModifierService.php index 302d424d1..660e5a761 100755 --- a/src/Google/Api/Ads/AdWords/v201702/AdGroupBidModifierService.php +++ b/src/Google/Api/Ads/AdWords/v201702/AdGroupBidModifierService.php @@ -3629,6 +3629,9 @@ public function __construct($errors = null, $message = null, $ApplicationExcepti if (!class_exists("AdGroupBidModifierOperation", false)) { /** * Operation used to create or mutate a AdGroupBidModifier. + * + *If you try to ADD a criterion that already exists, it will be treated as a SET operation + * on the existing criterion. * @package Google_Api_Ads_AdWords_v201702 * @subpackage v201702 */ diff --git a/src/Google/Api/Ads/AdWords/v201702/AdGroupCriterionService.php b/src/Google/Api/Ads/AdWords/v201702/AdGroupCriterionService.php index 6bd7957ec..166d63ba2 100755 --- a/src/Google/Api/Ads/AdWords/v201702/AdGroupCriterionService.php +++ b/src/Google/Api/Ads/AdWords/v201702/AdGroupCriterionService.php @@ -955,7 +955,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *
Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. @@ -8930,6 +8933,9 @@ public function __construct($limitType = null, $reason = null, $enclosingId = nu if (!class_exists("AdGroupCriterionOperation", false)) { /** * Operation (add, remove and set) on adgroup criteria. + * + *
If you try to ADD a criterion that already exists, it will be treated as a SET operation + * on the existing criterion. * @package Google_Api_Ads_AdWords_v201702 * @subpackage v201702 */ diff --git a/src/Google/Api/Ads/AdWords/v201702/AdGroupService.php b/src/Google/Api/Ads/AdWords/v201702/AdGroupService.php index 99968da9f..203d0c091 100755 --- a/src/Google/Api/Ads/AdWords/v201702/AdGroupService.php +++ b/src/Google/Api/Ads/AdWords/v201702/AdGroupService.php @@ -1375,7 +1375,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *
Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. diff --git a/src/Google/Api/Ads/AdWords/v201702/AdwordsUserListService.php b/src/Google/Api/Ads/AdWords/v201702/AdwordsUserListService.php index dd19f6ea5..fce26be23 100755 --- a/src/Google/Api/Ads/AdWords/v201702/AdwordsUserListService.php +++ b/src/Google/Api/Ads/AdWords/v201702/AdwordsUserListService.php @@ -2575,7 +2575,6 @@ public function __construct($offsetInDays = null) { if (!class_exists("Rule", false)) { /** * A client defined rule based on custom parameters sent by web sites. - * It consists of rule item groups that are connected by OR. * @package Google_Api_Ads_AdWords_v201702 * @subpackage v201702 */ @@ -2669,7 +2668,9 @@ public function __construct($DateRuleItem = null, $NumberRuleItem = null, $Strin if (!class_exists("RuleItemGroup", false)) { /** - * A group of rule items that are ANDed together. + * A group of rule items that are ANDed together before version V201705. + * Starting from version V201705, rule item groups will be grouped together based on + * {@link Rule#getRuleType()}. * @package Google_Api_Ads_AdWords_v201702 * @subpackage v201702 */ diff --git a/src/Google/Api/Ads/AdWords/v201702/BiddingStrategyService.php b/src/Google/Api/Ads/AdWords/v201702/BiddingStrategyService.php index c7b78b982..5e9d10516 100755 --- a/src/Google/Api/Ads/AdWords/v201702/BiddingStrategyService.php +++ b/src/Google/Api/Ads/AdWords/v201702/BiddingStrategyService.php @@ -4556,7 +4556,7 @@ public function __construct($targetOutrankShare = null, $competitorDomain = null if (!class_exists("TargetRoasBiddingScheme", false)) { /** * Target Roas bidding strategy helps you maximize revenue while averaging a specific target - * Return On Average Spend (ROAS). + * 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. diff --git a/src/Google/Api/Ads/AdWords/v201702/BudgetOrderService.php b/src/Google/Api/Ads/AdWords/v201702/BudgetOrderService.php index 52fb1c91f..a18ca4d6d 100755 --- a/src/Google/Api/Ads/AdWords/v201702/BudgetOrderService.php +++ b/src/Google/Api/Ads/AdWords/v201702/BudgetOrderService.php @@ -4586,9 +4586,10 @@ public function __construct() { * * * 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. + * @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_v201702 * @subpackage v201702 @@ -4669,8 +4670,8 @@ public function __construct($rval = null) { if (!class_exists("GetBillingAccounts", false)) { /** - * Returns all the open/active BillingAccounts associated with the current - * manager. + * 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_v201702 @@ -4752,7 +4753,7 @@ public function __construct($rval = null) { * * * - * Mutates BudgetOrders, supported operations are: + * Adds, updates, or removes budget orders. 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
@@ -4761,6 +4762,7 @@ public function __construct($rval = null) {
*
Warning: The BudgetOrderService
* is limited to one operation per mutate request. Any attempt to make more
* than one operation will result in an ApiException
.
Note: This action is available only on a whitelist basis.
* @param operations A list of operations, however currently we only * support one operation per mutate call. * @return BudgetOrders affected by the mutate operation. @@ -5128,9 +5130,10 @@ public function __construct($wsdl, $options, $user) { * * * 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. + * @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) { @@ -5139,8 +5142,8 @@ public function get($serviceSelector) { return $result->rval; } /** - * Returns all the open/active BillingAccounts associated with the current - * manager. + * Returns all the open/active BillingAccounts associated with the current manager. + * * @return A list of {@link BillingAccount}s. * @throws ApiException */ @@ -5157,7 +5160,7 @@ public function getBillingAccounts() { * * * - * Mutates BudgetOrders, supported operations are: + * Adds, updates, or removes budget orders. 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
@@ -5166,6 +5169,7 @@ public function getBillingAccounts() {
*
Warning: The BudgetOrderService
* is limited to one operation per mutate request. Any attempt to make more
* than one operation will result in an ApiException
.
Note: This action is available only on a whitelist basis.
* @param operations A list of operations, however currently we only * support one operation per mutate call. * @return BudgetOrders affected by the mutate operation. diff --git a/src/Google/Api/Ads/AdWords/v201702/CampaignService.php b/src/Google/Api/Ads/AdWords/v201702/CampaignService.php index 825ee4329..32f3d4909 100755 --- a/src/Google/Api/Ads/AdWords/v201702/CampaignService.php +++ b/src/Google/Api/Ads/AdWords/v201702/CampaignService.php @@ -498,7 +498,10 @@ public function __construct($BiddingSchemeType = null) { /** * Encapsulates the information about bids and bidding strategies. * - *Bidding Strategy can be set on campaigns, ad groups or ad group criteria. + *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and ad + * group criteria. + * *
A bidding strategy can be set using one of the following: *
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. @@ -7423,7 +7426,7 @@ public function __construct() { if (!class_exists("UniversalAppBiddingStrategyGoalType", false)) { /** * Represents the goal towards which the bidding strategy, of a universal app - * campaign, should optimize for. See go/walnut-pie-apdr for more. + * campaign, should optimize for. * @package Google_Api_Ads_AdWords_v201702 * @subpackage v201702 */ diff --git a/src/Google/Api/Ads/AdWords/v201702/TrialService.php b/src/Google/Api/Ads/AdWords/v201702/TrialService.php index f30e2a84d..8a0856b24 100755 --- a/src/Google/Api/Ads/AdWords/v201702/TrialService.php +++ b/src/Google/Api/Ads/AdWords/v201702/TrialService.php @@ -3828,8 +3828,8 @@ public function __construct($operand = null, $operator = null, $OperationType = if (!class_exists("TrialPage", false)) { /** - * Contains a filtered and paged subset of campaign trials as returned by {@link - * TrialService#get(com.google.ads.api.services.common.selector.Selector)}. + * Contains a filtered and paged subset of campaign trials as returned by + * {@link TrialService#get}. * @package Google_Api_Ads_AdWords_v201702 * @subpackage v201702 */ diff --git a/src/Google/Api/Ads/AdWords/v201609/ExpressBusinessService.php b/src/Google/Api/Ads/AdWords/v201705/AccountLabelService.php similarity index 76% rename from src/Google/Api/Ads/AdWords/v201609/ExpressBusinessService.php rename to src/Google/Api/Ads/AdWords/v201705/AccountLabelService.php index a7f44c569..8dcc7fce5 100755 --- a/src/Google/Api/Ads/AdWords/v201609/ExpressBusinessService.php +++ b/src/Google/Api/Ads/AdWords/v201705/AccountLabelService.php @@ -1,6 +1,6 @@ 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. @@ -36,23 +94,23 @@ * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DateRange { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DateRange"; /** * @access public - * @var string + * @var Date */ public $min; /** * @access public - * @var string + * @var Date */ public $max; @@ -80,6 +138,57 @@ public function __construct($min = null, $max = null) { } } +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + if (!class_exists("OrderBy", false)) { /** * Specifies how the resulting information should be sorted. @@ -87,12 +196,12 @@ public function __construct($min = null, $max = null) { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OrderBy { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OrderBy"; /** @@ -140,12 +249,12 @@ public function __construct($field = null, $sortOrder = null) { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Paging { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Paging"; /** @@ -191,12 +300,12 @@ public function __construct($startIndex = null, $numberResults = null) { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Predicate { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Predicate"; /** @@ -249,12 +358,12 @@ public function __construct($field = null, $operator = null, $values = null) { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapRequestHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapHeader"; /** @@ -321,12 +430,12 @@ public function __construct($clientCustomerId = null, $developerToken = null, $u * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapResponseHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapResponseHeader"; /** @@ -397,12 +506,12 @@ public function __construct($requestId = null, $serviceName = null, $methodName * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiError"; /** @@ -411,6 +520,12 @@ class ApiError { */ public $fieldPath; + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + /** * @access public * @var string @@ -477,8 +592,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -494,12 +610,12 @@ public function __construct($fieldPath = null, $trigger = null, $errorString = n * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApplicationException"; /** @@ -577,12 +693,12 @@ public function __construct($message = null, $ApplicationExceptionType = null) { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Selector { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Selector"; /** @@ -650,12 +766,12 @@ public function __construct($fields = null, $predicates = null, $dateRange = nul * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Operation { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Operation"; /** @@ -726,89 +842,6 @@ public function __construct($operator = null, $OperationType = null) { } } -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - 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 string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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. @@ -816,12 +849,12 @@ public function __construct($totalNumEntries = null, $PageType = null) { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError.Reason"; /** @@ -853,12 +886,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthorizationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthorizationError.Reason"; /** @@ -891,12 +924,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ClientTermsErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ClientTermsError.Reason"; /** @@ -928,12 +961,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DatabaseErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DatabaseError.Reason"; /** @@ -965,12 +998,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DateErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DateError.Reason"; /** @@ -1002,12 +1035,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DistinctErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DistinctError.Reason"; /** @@ -1039,12 +1072,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class IdErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "IdError.Reason"; /** @@ -1076,12 +1109,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class InternalApiErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "InternalApiError.Reason"; /** @@ -1113,12 +1146,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NotEmptyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NotEmptyError.Reason"; /** @@ -1150,12 +1183,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NullErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NullError.Reason"; /** @@ -1187,12 +1220,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperationAccessDeniedReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperationAccessDenied.Reason"; /** @@ -1224,12 +1257,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Operator { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Operator"; /** @@ -1261,12 +1294,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperatorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperatorError.Reason"; /** @@ -1298,12 +1331,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class PredicateOperator { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Predicate.Operator"; /** @@ -1336,12 +1369,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class QuotaCheckErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "QuotaCheckError.Reason"; /** @@ -1373,12 +1406,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RangeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RangeError.Reason"; /** @@ -1410,12 +1443,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RateExceededErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RateExceededError.Reason"; /** @@ -1447,12 +1480,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ReadOnlyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ReadOnlyError.Reason"; /** @@ -1477,6 +1510,43 @@ public function __construct() { } } +if (!class_exists("RegionCodeErrorReason", false)) { + /** + * The reasons for the validation error. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RegionCodeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. @@ -1484,12 +1554,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RejectedErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RejectedError.Reason"; /** @@ -1521,12 +1591,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequestErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequestError.Reason"; /** @@ -1558,12 +1628,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequiredErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequiredError.Reason"; /** @@ -1595,12 +1665,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SelectorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SelectorError.Reason"; /** @@ -1632,12 +1702,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SizeLimitErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SizeLimitError.Reason"; /** @@ -1669,12 +1739,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SortOrder { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SortOrder"; /** @@ -1706,12 +1776,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringFormatErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringFormatError.Reason"; /** @@ -1743,12 +1813,12 @@ public function __construct() { * * * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringLengthErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringLengthError.Reason"; /** @@ -1773,20 +1843,21 @@ public function __construct() { } } -if (!class_exists("ExpressBusinessError", false)) { +if (!class_exists("CollectionSizeError", false)) { /** - * Express business related errors. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors associated with the size of the given collection being + * out of bounds. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ExpressBusinessError extends ApiError { + class CollectionSizeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ExpressBusinessError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "CollectionSizeError"; /** * @access public - * @var tnsExpressBusinessErrorReason + * @var tnsCollectionSizeErrorReason */ public $reason; @@ -1806,10 +1877,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1818,40 +1890,125 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("ExpressBusiness", false)) { +if (!class_exists("CurrencyCodeError", false)) { /** - * Information about an AdWords Express business. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors for currency codes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ExpressBusiness { + class CurrencyCodeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ExpressBusiness"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "CurrencyCodeError"; /** * @access public - * @var integer + * @var tnsCurrencyCodeErrorReason */ - public $id; + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("LabelServiceError", false)) { + /** + * Errors for {@link LabelService}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelServiceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "LabelServiceError"; /** * @access public - * @var string + * @var tnsLabelServiceErrorReason */ - public $name; + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AccountLabel", false)) { + /** + * A label that can be attached to accounts. + * A manager may attach labels to accounts that s/he manages + * (either directly or indirectly). + * + *
Note that these are not interchangeable with campaign management labels, and are owned + * by manager customers. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AccountLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "AccountLabel"; /** * @access public - * @var tnsExpressBusinessStatus + * @var integer */ - public $status; + public $id; /** * @access public * @var string */ - public $website; + public $name; /** * Gets the namesapce of this class @@ -1869,34 +2026,28 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($id = null, $name = null, $status = null, $website = null) { + public function __construct($id = null, $name = null) { $this->id = $id; $this->name = $name; - $this->status = $status; - $this->website = $website; } } } -if (!class_exists("ExpressBusinessOperation", false)) { +if (!class_exists("AccountLabelOperation", 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
.
An AdCustomizerFeed is a view of a regular Feed, but with some simplifications intended to + * support the most common use cases. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeed { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerFeed"; + + /** + * @access public + * @var integer + */ + public $feedId; + + /** + * @access public + * @var string + */ + public $feedName; + + /** + * @access public + * @var tnsFeedStatus + */ + public $feedStatus; + + /** + * @access public + * @var AdCustomizerFeedAttribute[] + */ + public $feedAttributes; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedId = null, $feedName = null, $feedStatus = null, $feedAttributes = null) { + $this->feedId = $feedId; + $this->feedName = $feedName; + $this->feedStatus = $feedStatus; + $this->feedAttributes = $feedAttributes; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerFeedAttributeType", false)) { + /** + * Possible data types. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedAttributeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerFeedAttribute.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdCustomizerFeedErrorReason", false)) { + /** + * Error reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerFeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Feed.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdCustomizerFeedServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of AdCustomizerFeeds that meet the selector criteria. + * + * @param selector Determines which AdCustomizerFeeds to return. If empty, all AdCustomizerFeeds + * are returned. + * @return The list of AdCustomizerFeeds. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerFeedServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdCustomizerFeedPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerFeedServiceMutate", 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, removes, or modifies AdCustomizerFeeds. + * + * @param operations The operations to apply. + * @return The resulting AdCustomizerFeeds. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdCustomizerFeedOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerFeedServiceMutateResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdCustomizerFeedReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerFeedError", false)) { + /** + * An error caused by an invalid ad customizer feed in an AdCustomizerFeedService request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerFeedError"; + + /** + * @access public + * @var tnsAdCustomizerFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class FeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedError"; + + /** + * @access public + * @var tnsFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdCustomizerFeedOperation", false)) { + /** + * Operation used to create or mutate an AdCustomizerFeed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerFeedOperation"; + + /** + * @access public + * @var AdCustomizerFeed + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerFeedPage", false)) { + /** + * The result of a call to AdCustomizerFeedService#get. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerFeedPage"; + + /** + * @access public + * @var AdCustomizerFeed[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerFeedReturnValue", false)) { + /** + * The result of a call to AdCustomizerFeedService#mutate. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerFeedReturnValue"; + + /** + * @access public + * @var AdCustomizerFeed[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerFeedService", false)) { + /** + * AdCustomizerFeedService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerFeedService extends AdWordsSoapClient { + + const SERVICE_NAME = "AdCustomizerFeedService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/AdCustomizerFeedService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/AdCustomizerFeedService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AdCustomizerFeedAttribute" => "AdCustomizerFeedAttribute", + "AdCustomizerFeedError" => "AdCustomizerFeedError", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "ClientTermsError" => "ClientTermsError", + "Date" => "Date", + "DateRange" => "DateRange", + "DistinctError" => "DistinctError", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FeedError" => "FeedError", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "AdCustomizerFeed" => "AdCustomizerFeed", + "AdCustomizerFeedOperation" => "AdCustomizerFeedOperation", + "AdCustomizerFeedPage" => "AdCustomizerFeedPage", + "AdCustomizerFeedReturnValue" => "AdCustomizerFeedReturnValue", + "DatabaseError" => "DatabaseError", + "ListReturnValue" => "ListReturnValue", + "Operation" => "Operation", + "Page" => "Page", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "Selector" => "Selector", + "AdCustomizerFeedAttribute.Type" => "AdCustomizerFeedAttributeType", + "AdCustomizerFeedError.Reason" => "AdCustomizerFeedErrorReason", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DistinctError.Reason" => "DistinctErrorReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "Feed.Status" => "FeedStatus", + "FeedError.Reason" => "FeedErrorReason", + "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", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "get" => "AdCustomizerFeedServiceGet", + "getResponse" => "AdCustomizerFeedServiceGetResponse", + "mutate" => "AdCustomizerFeedServiceMutate", + "mutateResponse" => "AdCustomizerFeedServiceMutateResponse", + ); + + + /** + * 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 AdCustomizerFeeds that meet the selector criteria. + * + * @param selector Determines which AdCustomizerFeeds to return. If empty, all AdCustomizerFeeds + * are returned. + * @return The list of AdCustomizerFeeds. + * @throws ApiException Indicates a problem with the request. + */ + public function get($selector) { + $args = new AdCustomizerFeedServiceGet($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, removes, or modifies AdCustomizerFeeds. + * + * @param operations The operations to apply. + * @return The resulting AdCustomizerFeeds. + * @throws ApiException Indicates a problem with the request. + */ + public function mutate($operations) { + $args = new AdCustomizerFeedServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + } +} + diff --git a/src/Google/Api/Ads/AdWords/v201705/AdGroupAdService.php b/src/Google/Api/Ads/AdWords/v201705/AdGroupAdService.php new file mode 100755 index 000000000..fba40d5b0 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/AdGroupAdService.php @@ -0,0 +1,9475 @@ +When calling {@code AdGroupAdService} to update the {@code status} of an {@code AdGroupAd}, + * you can construct an {@code Ad} object (instead of the {@code Ad}'s concrete type) with the + * {@link #id} field set. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string[] + */ + public $finalUrls; + + /** + * @access public + * @var string[] + */ + public $finalMobileUrls; + + /** + * @access public + * @var AppUrl[] + */ + public $finalAppUrls; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $urlCustomParameters; + + /** + * @access public + * @var UrlData[] + */ + public $urlData; + + /** + * @access public + * @var tnsAdType + */ + public $type; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = null, $devicePreference = null, $AdType = null) { + $this->id = $id; + $this->url = $url; + $this->displayUrl = $displayUrl; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $this->devicePreference = $devicePreference; + $this->AdType = $AdType; + } + + } +} + +if (!class_exists("AdGroupAd", false)) { + /** + * Represents an ad in an ad group. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupAd { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAd"; + + /** + * @access public + * @var integer + */ + public $adGroupId; + + /** + * @access public + * @var Ad + */ + public $ad; + + /** + * @access public + * @var tnsAdGroupAdStatus + */ + public $status; + + /** + * @access public + * @var AdGroupAdPolicySummary + */ + public $policySummary; + + /** + * @access public + * @var Label[] + */ + public $labels; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * @access public + * @var integer + */ + public $baseAdGroupId; + + /** + * @access public + * @var String_StringMapEntry[] + */ + public $forwardCompatibilityMap; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($adGroupId = null, $ad = null, $status = null, $policySummary = null, $labels = null, $baseCampaignId = null, $baseAdGroupId = null, $forwardCompatibilityMap = null) { + $this->adGroupId = $adGroupId; + $this->ad = $ad; + $this->status = $status; + $this->policySummary = $policySummary; + $this->labels = $labels; + $this->baseCampaignId = $baseCampaignId; + $this->baseAdGroupId = $baseAdGroupId; + $this->forwardCompatibilityMap = $forwardCompatibilityMap; + } + + } +} + +if (!class_exists("AdGroupAdLabel", false)) { + /** + * Manages the labels associated with an AdGroupAd. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupAdLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdLabel"; + + /** + * @access public + * @var integer + */ + public $adGroupId; + + /** + * @access public + * @var integer + */ + public $adId; + + /** + * @access public + * @var integer + */ + public $labelId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($adGroupId = null, $adId = null, $labelId = null) { + $this->adGroupId = $adGroupId; + $this->adId = $adId; + $this->labelId = $labelId; + } + + } +} + +if (!class_exists("AdGroupAdPolicySummary", false)) { + /** + * Contains policy information for an ad. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupAdPolicySummary { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdPolicySummary"; + + /** + * @access public + * @var PolicyTopicEntry[] + */ + public $policyTopicEntries; + + /** + * @access public + * @var tnsPolicySummaryReviewState + */ + public $reviewState; + + /** + * @access public + * @var tnsPolicySummaryDenormalizedStatus + */ + public $denormalizedStatus; + + /** + * @access public + * @var tnsPolicyApprovalStatus + */ + public $combinedApprovalStatus; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($policyTopicEntries = null, $reviewState = null, $denormalizedStatus = null, $combinedApprovalStatus = null) { + $this->policyTopicEntries = $policyTopicEntries; + $this->reviewState = $reviewState; + $this->denormalizedStatus = $denormalizedStatus; + $this->combinedApprovalStatus = $combinedApprovalStatus; + } + + } +} + +if (!class_exists("AdUnionId", false)) { + /** + * Represents an id indicating a grouping of Ads under some heuristic. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdUnionId { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AppUrl", false)) { + /** + * A URL for deep linking into an app for the given operating system. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppUrl { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppUrl"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * @access public + * @var tnsAppUrlOsType + */ + public $osType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($url = null, $osType = null) { + $this->url = $url; + $this->osType = $osType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelAttribute", false)) { + /** + * Base type for AdWords label attributes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelAttribute"; + + /** + * @access public + * @var string + */ + public $LabelAttributeType; + private $_parameterMap = array( + "LabelAttribute.Type" => "LabelAttributeType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($LabelAttributeType = null) { + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CallOnlyAd", false)) { + /** + * Represents a CallOnlyAd. + * + *Caution: Call only ads do not use {@link #url url}, + * {@link #finalUrls finalUrls}, {@link #finalMobileUrls finalMobileUrls}, + * {@link #finalAppUrls finalAppUrls}, {@link #urlCustomParameters urlCustomParameters}, + * or {@link #trackingUrlTemplate trackingUrlTemplate}; + * setting these fields on a call only ad will cause an error. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CallOnlyAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CallOnlyAd"; + + /** + * @access public + * @var string + */ + public $countryCode; + + /** + * @access public + * @var string + */ + public $phoneNumber; + + /** + * @access public + * @var string + */ + public $businessName; + + /** + * @access public + * @var string + */ + public $description1; + + /** + * @access public + * @var string + */ + public $description2; + + /** + * @access public + * @var boolean + */ + public $callTracked; + + /** + * @access public + * @var boolean + */ + public $disableCallConversion; + + /** + * @access public + * @var integer + */ + public $conversionTypeId; + + /** + * @access public + * @var string + */ + public $phoneNumberVerificationUrl; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($countryCode = null, $phoneNumber = null, $businessName = null, $description1 = null, $description2 = null, $callTracked = null, $disableCallConversion = null, $conversionTypeId = null, $phoneNumberVerificationUrl = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = null, $devicePreference = null, $AdType = null) { + parent::__construct(); + $this->countryCode = $countryCode; + $this->phoneNumber = $phoneNumber; + $this->businessName = $businessName; + $this->description1 = $description1; + $this->description2 = $description2; + $this->callTracked = $callTracked; + $this->disableCallConversion = $disableCallConversion; + $this->conversionTypeId = $conversionTypeId; + $this->phoneNumberVerificationUrl = $phoneNumberVerificationUrl; + $this->id = $id; + $this->url = $url; + $this->displayUrl = $displayUrl; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $this->devicePreference = $devicePreference; + $this->AdType = $AdType; + } + + } +} + +if (!class_exists("DisplayAttribute", false)) { + /** + * Attributes for Text Labels. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DisplayAttribute extends LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisplayAttribute"; + + /** + * @access public + * @var string + */ + public $backgroundColor; + + /** + * @access public + * @var string + */ + public $description; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($backgroundColor = null, $description = null, $LabelAttributeType = null) { + parent::__construct(); + $this->backgroundColor = $backgroundColor; + $this->description = $description; + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CustomParameter", false)) { + /** + * CustomParameter is used to map a custom parameter key to its value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameter"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * @access public + * @var boolean + */ + public $isRemove; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $value = null, $isRemove = null) { + $this->key = $key; + $this->value = $value; + $this->isRemove = $isRemove; + } + + } +} + +if (!class_exists("CustomParameters", false)) { + /** + * CustomParameters holds a list of CustomParameters to be treated as a map. + * It has a special field used to indicate that the current map should be cleared and replaced + * with this new map. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameters { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameters"; + + /** + * @access public + * @var CustomParameter[] + */ + public $parameters; + + /** + * @access public + * @var boolean + */ + public $doReplace; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parameters = null, $doReplace = null) { + $this->parameters = $parameters; + $this->doReplace = $doReplace; + } + + } +} + +if (!class_exists("DatabaseError", false)) { + /** + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DeprecatedAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DeprecatedAd"; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var tnsDeprecatedAdType + */ + public $deprecatedAdType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($name = null, $deprecatedAdType = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = null, $devicePreference = null, $AdType = null) { + parent::__construct(); + $this->name = $name; + $this->deprecatedAdType = $deprecatedAdType; + $this->id = $id; + $this->url = $url; + $this->displayUrl = $displayUrl; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $this->devicePreference = $devicePreference; + $this->AdType = $AdType; + } + + } +} + +if (!class_exists("Dimensions", false)) { + /** + * Represents a simple height-width dimension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Dimensions { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Dimensions"; + + /** + * @access public + * @var integer + */ + public $width; + + /** + * @access public + * @var integer + */ + public $height; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("EntityAccessDenied", false)) { + /** + * Reports permission problems trying to access an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ExemptionRequest { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExemptionRequest"; + + /** + * @access public + * @var PolicyViolationKey + */ + public $key; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ExpandedDynamicSearchAd", false)) { + /** + * Represents an ExpandedDynamicSearchAd. This ad will have its headline, final URLs and display URL + * auto-generated at serving time according to domain name specific information provided by + * DynamicSearchAdsSetting linked at the campaign level. + * + *
Auto-generated fields: headline, final URLs and display URL.
+ * + *Required fields: {@code description}.
+ * + *The tracking URL field must contain at least one of the following placeholder tags + * (URL parameters):
+ *Caution: Expanded text ads do not use {@link #url url}, + * {@link #displayUrl displayUrl}, {@link #finalAppUrls finalAppUrls}, or + * {@link #devicePreference devicePreference}; + * setting these fields on an expanded text ad will cause an error. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExpandedTextAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExpandedTextAd"; + + /** + * @access public + * @var string + */ + public $headlinePart1; + + /** + * @access public + * @var string + */ + public $headlinePart2; + + /** + * @access public + * @var string + */ + public $description; + + /** + * @access public + * @var string + */ + public $path1; + + /** + * @access public + * @var string + */ + public $path2; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($headlinePart1 = null, $headlinePart2 = null, $description = null, $path1 = null, $path2 = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = null, $devicePreference = null, $AdType = null) { + parent::__construct(); + $this->headlinePart1 = $headlinePart1; + $this->headlinePart2 = $headlinePart2; + $this->description = $description; + $this->path1 = $path1; + $this->path2 = $path2; + $this->id = $id; + $this->url = $url; + $this->displayUrl = $displayUrl; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $this->devicePreference = $devicePreference; + $this->AdType = $AdType; + } + + } +} + +if (!class_exists("FeedAttributeReferenceError", false)) { + /** + * An error indicating a problem with a reference to a feed attribute in an ad. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedAttributeReferenceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedAttributeReferenceError"; + + /** + * @access public + * @var tnsFeedAttributeReferenceErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $feedName; + + /** + * @access public + * @var string + */ + public $feedAttributeName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $feedName = null, $feedAttributeName = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->feedName = $feedName; + $this->feedAttributeName = $feedAttributeName; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class ForwardCompatibilityError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ForwardCompatibilityError"; + + /** + * @access public + * @var tnsForwardCompatibilityErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FunctionError", false)) { + /** + * Errors that indicate issues with the function. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FunctionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionError"; + + /** + * @access public + * @var tnsFunctionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FunctionParsingError", false)) { + /** + * An error resulting from a failure to parse the textual representation of a function. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FunctionParsingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionParsingError"; + + /** + * @access public + * @var tnsFunctionParsingErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $offendingText; + + /** + * @access public + * @var integer + */ + public $offendingTextIndex; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $offendingText = null, $offendingTextIndex = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->offendingText = $offendingText; + $this->offendingTextIndex = $offendingTextIndex; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ImageAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = 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->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $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_v201705 + * @subpackage v201705 + */ + class ImageError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ImageError"; + + /** + * @access public + * @var tnsImageErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("Label", false)) { + /** + * Represents a label that can be attached to entities such as campaign, ad group, ads, + * criterion etc. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var tnsLabelStatus + */ + public $status; + + /** + * @access public + * @var LabelAttribute + */ + public $attribute; + + /** + * @access public + * @var string + */ + public $LabelType; + private $_parameterMap = array( + "Label.Type" => "LabelType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MediaBundle", false)) { + /** + * Represents a ZIP archive media the content of which contains HTML5 assets. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MediaBundle extends Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaBundle"; + + /** + * @access public + * @var base64Binary + */ + public $data; + + /** + * @access public + * @var string + */ + public $mediaBundleUrl; + + /** + * @access public + * @var string + */ + public $entryPoint; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($data = null, $mediaBundleUrl = null, $entryPoint = 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->mediaBundleUrl = $mediaBundleUrl; + $this->entryPoint = $entryPoint; + $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("MediaBundleError", false)) { + /** + * Error class for errors associated with parsing media bundle data. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MediaBundleError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaBundleError"; + + /** + * @access public + * @var tnsMediaBundleErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class MediaError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaError"; + + /** + * @access public + * @var tnsMediaErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Media_Size_DimensionsMapEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Media_Size_StringMapEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("NewEntityCreationError", false)) { + /** + * Error associated with creation of new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PolicyTopicConstraint", false)) { + /** + * A target which caused a policy finding. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicConstraint { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicConstraint"; + + /** + * @access public + * @var tnsPolicyTopicConstraintPolicyTopicConstraintType + */ + public $constraintType; + + /** + * @access public + * @var string + */ + public $PolicyTopicConstraintType; + private $_parameterMap = array( + "PolicyTopicConstraint.Type" => "PolicyTopicConstraintType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($constraintType = null, $PolicyTopicConstraintType = null) { + $this->constraintType = $constraintType; + $this->PolicyTopicConstraintType = $PolicyTopicConstraintType; + } + + } +} + +if (!class_exists("PolicyTopicEntry", false)) { + /** + * Contains Ads Policy decisions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicEntry"; + + /** + * @access public + * @var tnsPolicyTopicEntryType + */ + public $policyTopicEntryType; + + /** + * @access public + * @var PolicyTopicEvidence[] + */ + public $policyTopicEvidences; + + /** + * @access public + * @var PolicyTopicConstraint[] + */ + public $policyTopicConstraints; + + /** + * @access public + * @var string + */ + public $policyTopicId; + + /** + * @access public + * @var string + */ + public $policyTopicName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($policyTopicEntryType = null, $policyTopicEvidences = null, $policyTopicConstraints = null, $policyTopicId = null, $policyTopicName = null) { + $this->policyTopicEntryType = $policyTopicEntryType; + $this->policyTopicEvidences = $policyTopicEvidences; + $this->policyTopicConstraints = $policyTopicConstraints; + $this->policyTopicId = $policyTopicId; + $this->policyTopicName = $policyTopicName; + } + + } +} + +if (!class_exists("PolicyTopicEvidence", false)) { + /** + * Evidence that caused this policy topic to be reported. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicEvidence { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicEvidence"; + + /** + * @access public + * @var tnsPolicyTopicEvidenceType + */ + public $policyTopicEvidenceType; + + /** + * @access public + * @var string + */ + public $evidenceText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($policyTopicEvidenceType = null, $evidenceText = null) { + $this->policyTopicEvidenceType = $policyTopicEvidenceType; + $this->evidenceText = $evidenceText; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class PolicyViolationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class PolicyViolationErrorPart { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationError.Part"; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * @access public + * @var integer + */ + public $length; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PolicyViolationKey { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationKey"; + + /** + * @access public + * @var string + */ + public $policyName; + + /** + * @access public + * @var string + */ + public $violatingText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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}, + * {@link #finalUrls finalUrls}, {@link #finalMobileUrls finalMobileUrls}, + * {@link #finalAppUrls finalAppUrls}, or {@link #displayUrl displayUrl}; + * setting these fields on a product ad will cause an error. + * {@link #urlCustomParameters urlCustomParameters} and + * {@link #trackingUrlTemplate trackingUrlTemplate} can be set, but it is not + * recommended, as they will not be used; they should be set at the ad group or + * campaign level instead.
+ * This is disabled for AdX when it is contained within Operators: ADD, SET. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductAd"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = null, $devicePreference = null, $AdType = null) { + parent::__construct(); + $this->id = $id; + $this->url = $url; + $this->displayUrl = $displayUrl; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ResponsiveDisplayAd", false)) { + /** + * Enhanced display ad format. + * + *Caution: Responsive display ads do not use {@link #url url}, + * {@link #displayUrl displayUrl}, {@link #finalAppUrls finalAppUrls}, or + * {@link #devicePreference devicePreference}; + * setting these fields on a responsive display ad will cause an error. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ResponsiveDisplayAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ResponsiveDisplayAd"; + + /** + * @access public + * @var Image + */ + public $marketingImage; + + /** + * @access public + * @var Image + */ + public $logoImage; + + /** + * @access public + * @var string + */ + public $shortHeadline; + + /** + * @access public + * @var string + */ + public $longHeadline; + + /** + * @access public + * @var string + */ + public $description; + + /** + * @access public + * @var string + */ + public $businessName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($marketingImage = null, $logoImage = null, $shortHeadline = null, $longHeadline = null, $description = null, $businessName = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = null, $devicePreference = null, $AdType = null) { + parent::__construct(); + $this->marketingImage = $marketingImage; + $this->logoImage = $logoImage; + $this->shortHeadline = $shortHeadline; + $this->longHeadline = $longHeadline; + $this->description = $description; + $this->businessName = $businessName; + $this->id = $id; + $this->url = $url; + $this->displayUrl = $displayUrl; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $this->devicePreference = $devicePreference; + $this->AdType = $AdType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class RichMediaAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = 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->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ShowcaseAd", false)) { + /** + * Represents a Showcase shopping ad. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ShowcaseAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShowcaseAd"; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var string + */ + public $headline; + + /** + * @access public + * @var string + */ + public $description; + + /** + * @access public + * @var Image + */ + public $collapsedImage; + + /** + * @access public + * @var Image + */ + public $expandedImage; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($name = null, $headline = null, $description = null, $collapsedImage = null, $expandedImage = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = null, $devicePreference = null, $AdType = null) { + parent::__construct(); + $this->name = $name; + $this->headline = $headline; + $this->description = $description; + $this->collapsedImage = $collapsedImage; + $this->expandedImage = $expandedImage; + $this->id = $id; + $this->url = $url; + $this->displayUrl = $displayUrl; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $this->devicePreference = $devicePreference; + $this->AdType = $AdType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StatsQueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError"; + + /** + * @access public + * @var tnsStatsQueryErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class String_StringMapEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "String_StringMapEntry"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class TempAdUnionId extends AdUnionId { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TempAdUnionId"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class TemplateAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = 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->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $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_v201705 + * @subpackage v201705 + */ + class TemplateElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TemplateElement"; + + /** + * @access public + * @var string + */ + public $uniqueName; + + /** + * @access public + * @var TemplateElementField[] + */ + public $fields; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class TemplateElementField { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class TextAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = 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->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $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_v201705 + * @subpackage v201705 + */ + class ThirdPartyRedirectAd extends RichMediaAd { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("UrlData", false)) { + /** + * Holds a set of final urls that are scoped within a namespace. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlData"; + + /** + * @access public + * @var string + */ + public $urlId; + + /** + * @access public + * @var UrlList + */ + public $finalUrls; + + /** + * @access public + * @var UrlList + */ + public $finalMobileUrls; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($urlId = null, $finalUrls = null, $finalMobileUrls = null, $trackingUrlTemplate = null) { + $this->urlId = $urlId; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + } + + } +} + +if (!class_exists("UrlError", false)) { + /** + * Url Validation errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UrlList", false)) { + /** + * Wrapper POJO for a list of URLs. The list can be cleared if a request contains + * a UrlList with an empty urls list. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlList"; + + /** + * @access public + * @var string[] + */ + public $urls; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($urls = null) { + $this->urls = $urls; + } + + } +} + +if (!class_exists("Video", false)) { + /** + * Encapsulates a Video media identified by a MediaId. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Video extends Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 final URL auto-generated at + * serving time according to domain name specific information provided by DynamicSearchAdsSetting at + * the campaign level. + * + *
Auto-generated fields: headline and final URL.
+ * + *Note: we recommend using the ExpandedDynamicSearchAd type, introduced in v201705, rather than + * the DynamicSearchAd type.
+ * + *Required fields: {@code description1}, {@code description2}, {@code displayUrl}.
+ * + *The tracking URL field must contain at least one of the following placeholder tags + * (URL parameters):
+ *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_v201705 + * @subpackage v201705 + */ + class DynamicSearchAd extends Ad { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DynamicSearchAd"; + + /** + * @access public + * @var string + */ + public $description1; + + /** + * @access public + * @var string + */ + public $description2; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $urlData = null, $type = null, $devicePreference = null, $AdType = null) { + parent::__construct(); + $this->description1 = $description1; + $this->description2 = $description2; + $this->id = $id; + $this->url = $url; + $this->displayUrl = $displayUrl; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->urlData = $urlData; + $this->type = $type; + $this->devicePreference = $devicePreference; + $this->AdType = $AdType; + } + + } +} + +if (!class_exists("AdType", false)) { + /** + * The types of ads. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Ad.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdCustomizerErrorReason", false)) { + /** + * Ad customizer error reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAd.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DeprecatedAdType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DeprecatedAd.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdSharingErrorReason", false)) { + /** + * Reasons for error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdSharingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdSharingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AppUrlOsType", false)) { + /** + * The possible os types for an AppUrl + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppUrlOsType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppUrl.OsType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedAttributeReferenceErrorReason", false)) { + /** + * Feed attribute reference error reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedAttributeReferenceErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedAttributeReferenceError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ForwardCompatibilityErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ForwardCompatibilityError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FunctionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FunctionParsingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionParsingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ImageErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ImageError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("LabelStatus", false)) { + /** + * The label is enabled. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaMediaType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Media.MediaType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaMimeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Media.MimeType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaSize { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Media.Size"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("MediaBundleErrorReason", false)) { + /** + * Enumeration of the reasons for the {@link MediaBundleError} + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MediaBundleErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaBundleError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PolicyApprovalStatus", false)) { + /** + * Policy approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyApprovalStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyApprovalStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PolicySummaryDenormalizedStatus", false)) { + /** + * The denormalized status of a reviewable, calculated based on the status of its + * individual policy entries. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicySummaryDenormalizedStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicySummaryDenormalizedStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PolicySummaryReviewState", false)) { + /** + * The review state of a reviewable. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicySummaryReviewState { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicySummaryReviewState"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PolicyTopicConstraintPolicyTopicConstraintType", false)) { + /** + * Subtype of PolicyTopicConstraint. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicConstraintPolicyTopicConstraintType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicConstraint.PolicyTopicConstraintType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PolicyTopicEntryType", false)) { + /** + * The summarized nature of a policy entry. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicEntryType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicEntryType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PolicyTopicEvidenceType", false)) { + /** + * Describes the type of evidence inside the policy topic evidence. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicEvidenceType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicEvidenceType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RichMediaAdAdAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RichMediaAd.AdAttribute"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RichMediaAdRichMediaAdType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RichMediaAd.RichMediaAdType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StatsQueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class TemplateElementFieldType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TemplateElementField.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ThirdPartyRedirectAdExpandingDirection { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ThirdPartyRedirectAd.ExpandingDirection"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class VideoType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "VideoType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupAdPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupAdOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupAdReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateLabel", 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. + * + * + * + * Adds labels to the AdGroupAd or removes labels from the AdGroupAd. + *Add - Apply an existing label to an existing {@linkplain AdGroupAd ad group ad}. The + * {@code adGroupId} and {@code adId} must reference an existing + * {@linkplain AdGroupAd ad group ad}. The {@code labelId} must reference an existing + * {@linkplain Label label}. + *
Remove - Removes the link between the specified {@linkplain AdGroupAd ad group ad} and + * {@linkplain Label label}. + * @param operations The operations to apply. + * @return A list of AdGroupAdLabel where each entry in the list is the result of + * applying the operation in the input list with the same index. For an + * add operation, the returned AdGroupAdLabel contains the AdGroupId, AdId and the LabelId. + * In the case of a remove operation, the returned AdGroupAdLabel will only have AdGroupId and + * AdId. + * @throws ApiException when there are one or more errors with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupAdLabelOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateLabelResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabelResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupAdLabelReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupAdPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdCustomizerError", false)) { + /** + * An error indicating a problem with an ad customizer tag. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdCustomizerError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCustomizerError"; + + /** + * @access public + * @var tnsAdCustomizerErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $functionString; + + /** + * @access public + * @var string + */ + public $operatorName; + + /** + * @access public + * @var integer + */ + public $operandIndex; + + /** + * @access public + * @var string + */ + public $operandValue; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $functionString = null, $operatorName = null, $operandIndex = null, $operandValue = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->functionString = $functionString; + $this->operatorName = $operatorName; + $this->operandIndex = $operandIndex; + $this->operandValue = $operandValue; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdError", false)) { + /** + * Base error class for Ad Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdError"; + + /** + * @access public + * @var tnsAdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AdGroupAdCountLimitExceeded extends EntityCountLimitExceeded { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdCountLimitExceeded"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdError"; + + /** + * @access public + * @var tnsAdGroupAdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupAdLabelOperation", false)) { + /** + * Operations for adding/removing labels from AdGroupAds. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupAdLabelOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdLabelOperation"; + + /** + * @access public + * @var AdGroupAdLabel + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupAdLabelReturnValue", false)) { + /** + * A container for return values from the {@link AdGroupAdService#mutateLabel} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupAdLabelReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdLabelReturnValue"; + + /** + * @access public + * @var AdGroupAdLabel[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupAdOperation", false)) { + /** + * AdGroupAd service operations. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupAdOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdOperation"; + + /** + * @access public + * @var AdGroupAd + */ + public $operand; + + /** + * @access public + * @var ExemptionRequest[] + */ + public $exemptionRequests; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdPage"; + + /** + * @access public + * @var AdGroupAd[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdReturnValue"; + + /** + * @access public + * @var AdGroupAd[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdSharingError", false)) { + /** + * Errors related using the AdGroupAdService to create an AdGroupAd + * with a reference to an existing AdId. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdSharingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdSharingError"; + + /** + * @access public + * @var tnsAdSharingErrorReason + */ + public $reason; + + /** + * @access public + * @var ApiError + */ + public $sharedAdError; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $sharedAdError = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->sharedAdError = $sharedAdError; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Audio extends Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TextLabel", false)) { + /** + * Represent a display label entry. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TextLabel extends Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TextLabel"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + parent::__construct(); + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("CountryConstraint", false)) { + /** + * Information about countries that were targeted that caused a policy finding. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CountryConstraint extends PolicyTopicConstraint { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CountryConstraint"; + + /** + * @access public + * @var integer[] + */ + public $constrainedCountries; + + /** + * @access public + * @var integer + */ + public $totalTargetedCountries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($constrainedCountries = null, $totalTargetedCountries = null, $constraintType = null, $PolicyTopicConstraintType = null) { + parent::__construct(); + $this->constrainedCountries = $constrainedCountries; + $this->totalTargetedCountries = $totalTargetedCountries; + $this->constraintType = $constraintType; + $this->PolicyTopicConstraintType = $PolicyTopicConstraintType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class Image extends Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Image"; + + /** + * @access public + * @var base64Binary + */ + public $data; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdService extends AdWordsSoapClient { + + const SERVICE_NAME = "AdGroupAdService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupAdService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupAdService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "Ad" => "Ad", + "AdCustomizerError" => "AdCustomizerError", + "AdError" => "AdError", + "AdGroupAd" => "AdGroupAd", + "AdGroupAdCountLimitExceeded" => "AdGroupAdCountLimitExceeded", + "AdGroupAdError" => "AdGroupAdError", + "AdGroupAdLabel" => "AdGroupAdLabel", + "AdGroupAdLabelOperation" => "AdGroupAdLabelOperation", + "AdGroupAdLabelReturnValue" => "AdGroupAdLabelReturnValue", + "AdGroupAdOperation" => "AdGroupAdOperation", + "AdGroupAdPage" => "AdGroupAdPage", + "AdGroupAdPolicySummary" => "AdGroupAdPolicySummary", + "AdGroupAdReturnValue" => "AdGroupAdReturnValue", + "AdSharingError" => "AdSharingError", + "AdUnionId" => "AdUnionId", + "AdxError" => "AdxError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "AppUrl" => "AppUrl", + "ApplicationException" => "ApplicationException", + "LabelAttribute" => "LabelAttribute", + "Audio" => "Audio", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "CallOnlyAd" => "CallOnlyAd", + "TextLabel" => "TextLabel", + "DisplayAttribute" => "DisplayAttribute", + "ClientTermsError" => "ClientTermsError", + "CountryConstraint" => "CountryConstraint", + "CustomParameter" => "CustomParameter", + "CustomParameters" => "CustomParameters", + "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DeprecatedAd" => "DeprecatedAd", + "Dimensions" => "Dimensions", + "DistinctError" => "DistinctError", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "ExemptionRequest" => "ExemptionRequest", + "ExpandedDynamicSearchAd" => "ExpandedDynamicSearchAd", + "ExpandedTextAd" => "ExpandedTextAd", + "FeedAttributeReferenceError" => "FeedAttributeReferenceError", + "FieldPathElement" => "FieldPathElement", + "ForwardCompatibilityError" => "ForwardCompatibilityError", + "FunctionError" => "FunctionError", + "FunctionParsingError" => "FunctionParsingError", + "IdError" => "IdError", + "Image" => "Image", + "ImageAd" => "ImageAd", + "ImageError" => "ImageError", + "InternalApiError" => "InternalApiError", + "Label" => "Label", + "ListReturnValue" => "ListReturnValue", + "Media" => "Media", + "MediaBundle" => "MediaBundle", + "MediaBundleError" => "MediaBundleError", + "MediaError" => "MediaError", + "Media_Size_DimensionsMapEntry" => "Media_Size_DimensionsMapEntry", + "Media_Size_StringMapEntry" => "Media_Size_StringMapEntry", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "Operation" => "Operation", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Page" => "Page", + "Paging" => "Paging", + "PagingError" => "PagingError", + "PolicyTopicConstraint" => "PolicyTopicConstraint", + "PolicyTopicEntry" => "PolicyTopicEntry", + "PolicyTopicEvidence" => "PolicyTopicEvidence", + "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", + "ResponsiveDisplayAd" => "ResponsiveDisplayAd", + "RichMediaAd" => "RichMediaAd", + "Selector" => "Selector", + "SelectorError" => "SelectorError", + "ShowcaseAd" => "ShowcaseAd", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StatsQueryError" => "StatsQueryError", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "String_StringMapEntry" => "String_StringMapEntry", + "TempAdUnionId" => "TempAdUnionId", + "TemplateAd" => "TemplateAd", + "TemplateElement" => "TemplateElement", + "TemplateElementField" => "TemplateElementField", + "TextAd" => "TextAd", + "ThirdPartyRedirectAd" => "ThirdPartyRedirectAd", + "UrlData" => "UrlData", + "UrlError" => "UrlError", + "UrlList" => "UrlList", + "Video" => "Video", + "DynamicSearchAd" => "DynamicSearchAd", + "Ad.Type" => "AdType", + "AdCustomizerError.Reason" => "AdCustomizerErrorReason", + "AdError.Reason" => "AdErrorReason", + "AdGroupAd.Status" => "AdGroupAdStatus", + "DeprecatedAd.Type" => "DeprecatedAdType", + "AdGroupAdError.Reason" => "AdGroupAdErrorReason", + "AdSharingError.Reason" => "AdSharingErrorReason", + "AdxError.Reason" => "AdxErrorReason", + "AppUrl.OsType" => "AppUrlOsType", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DistinctError.Reason" => "DistinctErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "FeedAttributeReferenceError.Reason" => "FeedAttributeReferenceErrorReason", + "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason", + "FunctionError.Reason" => "FunctionErrorReason", + "FunctionParsingError.Reason" => "FunctionParsingErrorReason", + "IdError.Reason" => "IdErrorReason", + "ImageError.Reason" => "ImageErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "Label.Status" => "LabelStatus", + "Media.MediaType" => "MediaMediaType", + "Media.MimeType" => "MediaMimeType", + "Media.Size" => "MediaSize", + "MediaBundleError.Reason" => "MediaBundleErrorReason", + "MediaError.Reason" => "MediaErrorReason", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", + "OperatorError.Reason" => "OperatorErrorReason", + "PagingError.Reason" => "PagingErrorReason", + "PolicyApprovalStatus" => "PolicyApprovalStatus", + "PolicySummaryDenormalizedStatus" => "PolicySummaryDenormalizedStatus", + "PolicySummaryReviewState" => "PolicySummaryReviewState", + "PolicyTopicConstraint.PolicyTopicConstraintType" => "PolicyTopicConstraintPolicyTopicConstraintType", + "PolicyTopicEntryType" => "PolicyTopicEntryType", + "PolicyTopicEvidenceType" => "PolicyTopicEvidenceType", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "TemplateElementField.Type" => "TemplateElementFieldType", + "ThirdPartyRedirectAd.ExpandingDirection" => "ThirdPartyRedirectAdExpandingDirection", + "UrlError.Reason" => "UrlErrorReason", + "VideoType" => "VideoType", + "get" => "AdGroupAdServiceGet", + "getResponse" => "AdGroupAdServiceGetResponse", + "mutate" => "AdGroupAdServiceMutate", + "mutateResponse" => "AdGroupAdServiceMutateResponse", + "mutateLabel" => "MutateLabel", + "mutateLabelResponse" => "MutateLabelResponse", + "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 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. + * + * + * + * Adds labels to the AdGroupAd or removes labels from the AdGroupAd. + *Add - Apply an existing label to an existing {@linkplain AdGroupAd ad group ad}. The + * {@code adGroupId} and {@code adId} must reference an existing + * {@linkplain AdGroupAd ad group ad}. The {@code labelId} must reference an existing + * {@linkplain Label label}. + *
Remove - Removes the link between the specified {@linkplain AdGroupAd ad group ad} and + * {@linkplain Label label}. + * @param operations The operations to apply. + * @return A list of AdGroupAdLabel where each entry in the list is the result of + * applying the operation in the input list with the same index. For an + * add operation, the returned AdGroupAdLabel contains the AdGroupId, AdId and the LabelId. + * In the case of a remove operation, the returned AdGroupAdLabel will only have AdGroupId and + * AdId. + * @throws ApiException when there are one or more errors with the request. + */ + public function mutateLabel($operations) { + $args = new MutateLabel($operations); + $result = $this->__soapCall("mutateLabel", 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/v201705/AdGroupBidModifierService.php b/src/Google/Api/Ads/AdWords/v201705/AdGroupBidModifierService.php new file mode 100755 index 000000000..d7e1bc0ba --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/AdGroupBidModifierService.php @@ -0,0 +1,3938 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 integer + */ + public $baseAdGroupId; + + /** + * @access public + * @var tnsBidModifierSource + */ + public $bidModifierSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $baseAdGroupId = null, $bidModifierSource = null) { + $this->campaignId = $campaignId; + $this->adGroupId = $adGroupId; + $this->criterion = $criterion; + $this->bidModifier = $bidModifier; + $this->baseAdGroupId = $baseAdGroupId; + $this->bidModifierSource = $bidModifierSource; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BidModifierSource { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BidModifierSource"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifierServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifierServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupBidModifierPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifierServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupBidModifierOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifierServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupBidModifierReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupBidModifierPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Platform extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Platform"; + + /** + * @access public + * @var string + */ + public $platformName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PreferredContent", false)) { + /** + * Represents a PreferredContent criterion. + * + *
Possible IDs: {@code 400} ({@code YOUTUBE_TOP_CONTENT}).
+ *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_v201705 + * @subpackage v201705 + */ + class PreferredContent extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PreferredContent"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("QueryError", false)) { + /** + * A QueryError represents possible errors for query parsing and execution. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + *
If you try to ADD a criterion that already exists, it will be treated as a SET operation + * on the existing criterion. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifierOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupBidModifierOperation"; + + /** + * @access public + * @var AdGroupBidModifier + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifierPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupBidModifierPage"; + + /** + * @access public + * @var AdGroupBidModifier[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifierReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupBidModifierReturnValue"; + + /** + * @access public + * @var AdGroupBidModifier[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidModifierService extends AdWordsSoapClient { + + const SERVICE_NAME = "AdGroupBidModifierService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupBidModifierService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", + "Platform" => "Platform", + "Predicate" => "Predicate", + "PreferredContent" => "PreferredContent", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SelectorError" => "SelectorError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "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", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "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/v201705/AdGroupCriterionService.php b/src/Google/Api/Ads/AdWords/v201705/AdGroupCriterionService.php new file mode 100755 index 000000000..df7830134 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/AdGroupCriterionService.php @@ -0,0 +1,9966 @@ + "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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($adGroupId = null, $criterionUse = null, $criterion = null, $labels = null, $forwardCompatibilityMap = null, $baseCampaignId = null, $baseAdGroupId = null, $AdGroupCriterionType = null) { + $this->adGroupId = $adGroupId; + $this->criterionUse = $criterionUse; + $this->criterion = $criterion; + $this->labels = $labels; + $this->forwardCompatibilityMap = $forwardCompatibilityMap; + $this->baseCampaignId = $baseCampaignId; + $this->baseAdGroupId = $baseAdGroupId; + $this->AdGroupCriterionType = $AdGroupCriterionType; + } + + } +} + +if (!class_exists("AdGroupCriterionLabel", false)) { + /** + * Manages the labels associated with an AdGroupCriterion. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionLabel"; + + /** + * @access public + * @var integer + */ + public $adGroupId; + + /** + * @access public + * @var integer + */ + public $criterionId; + + /** + * @access public + * @var integer + */ + public $labelId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($adGroupId = null, $criterionId = null, $labelId = null) { + $this->adGroupId = $adGroupId; + $this->criterionId = $criterionId; + $this->labelId = $labelId; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AppUrl", false)) { + /** + * A URL for deep linking into an app for the given operating system. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppUrl { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppUrl"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * @access public + * @var tnsAppUrlOsType + */ + public $osType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($url = null, $osType = null) { + $this->url = $url; + $this->osType = $osType; + } + + } +} + +if (!class_exists("AppUrlList", false)) { + /** + * Wrapper object for a list of AppUrls. The list can be cleared if a request contains + * an AppUrlList with an empty urls list. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppUrlList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppUrlList"; + + /** + * @access public + * @var AppUrl[] + */ + public $appUrls; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($appUrls = null) { + $this->appUrls = $appUrls; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelAttribute", false)) { + /** + * Base type for AdWords label attributes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelAttribute"; + + /** + * @access public + * @var string + */ + public $LabelAttributeType; + private $_parameterMap = array( + "LabelAttribute.Type" => "LabelAttributeType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($LabelAttributeType = null) { + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Bid { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Bid"; + + /** + * @access public + * @var Money + */ + public $amount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("BiddableAdGroupCriterion", false)) { + /** + * A biddable (positive) criterion in an adgroup. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddableAdGroupCriterion extends AdGroupCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 Bid + */ + public $firstPageCpc; + + /** + * @access public + * @var Bid + */ + public $topOfPageCpc; + + /** + * @access public + * @var Bid + */ + public $firstPositionCpc; + + /** + * @access public + * @var QualityInfo + */ + public $qualityInfo; + + /** + * @access public + * @var BiddingStrategyConfiguration + */ + public $biddingStrategyConfiguration; + + /** + * @access public + * @var double + */ + public $bidModifier; + + /** + * @access public + * @var UrlList + */ + public $finalUrls; + + /** + * @access public + * @var UrlList + */ + public $finalMobileUrls; + + /** + * @access public + * @var AppUrlList + */ + public $finalAppUrls; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $urlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $firstPageCpc = null, $topOfPageCpc = null, $firstPositionCpc = null, $qualityInfo = null, $biddingStrategyConfiguration = null, $bidModifier = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $adGroupId = null, $criterionUse = null, $criterion = null, $labels = null, $forwardCompatibilityMap = null, $baseCampaignId = null, $baseAdGroupId = null, $AdGroupCriterionType = null) { + parent::__construct(); + $this->userStatus = $userStatus; + $this->systemServingStatus = $systemServingStatus; + $this->approvalStatus = $approvalStatus; + $this->disapprovalReasons = $disapprovalReasons; + $this->destinationUrl = $destinationUrl; + $this->firstPageCpc = $firstPageCpc; + $this->topOfPageCpc = $topOfPageCpc; + $this->firstPositionCpc = $firstPositionCpc; + $this->qualityInfo = $qualityInfo; + $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; + $this->bidModifier = $bidModifier; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->finalAppUrls = $finalAppUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->adGroupId = $adGroupId; + $this->criterionUse = $criterionUse; + $this->criterion = $criterion; + $this->labels = $labels; + $this->forwardCompatibilityMap = $forwardCompatibilityMap; + $this->baseCampaignId = $baseCampaignId; + $this->baseAdGroupId = $baseAdGroupId; + $this->AdGroupCriterionType = $AdGroupCriterionType; + } + + } +} + +if (!class_exists("BiddingErrors", false)) { + /** + * Represents error codes for bidding strategy entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingErrors extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors"; + + /** + * @access public + * @var tnsBiddingErrorsReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + *Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and 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 effective + * bidding strategy will be used. Effective bidding strategy is considered to be the directly + * attached strategy or inherited strategy from above level(s) when there is no directly attached + * strategy. + * + *
For more information on flexible bidding, visit the + * Help Center. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingStrategyConfiguration { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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; + + /** + * @access public + * @var double + */ + public $targetRoasOverride; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $targetRoasOverride = null) { + $this->biddingStrategyId = $biddingStrategyId; + $this->biddingStrategyName = $biddingStrategyName; + $this->biddingStrategyType = $biddingStrategyType; + $this->biddingStrategySource = $biddingStrategySource; + $this->biddingScheme = $biddingScheme; + $this->bids = $bids; + $this->targetRoasOverride = $targetRoasOverride; + } + + } +} + +if (!class_exists("Bids", false)) { + /** + * Base class for all bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DisplayAttribute", false)) { + /** + * Attributes for Text Labels. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DisplayAttribute extends LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisplayAttribute"; + + /** + * @access public + * @var string + */ + public $backgroundColor; + + /** + * @access public + * @var string + */ + public $description; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($backgroundColor = null, $description = null, $LabelAttributeType = null) { + parent::__construct(); + $this->backgroundColor = $backgroundColor; + $this->description = $description; + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CpaBid", false)) { + /** + * CPA Bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CpaBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpaBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $bidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($bid = null, $bidSource = null, $BidsType = null) { + parent::__construct(); + $this->bid = $bid; + $this->bidSource = $bidSource; + $this->BidsType = $BidsType; + } + + } +} + +if (!class_exists("CpcBid", false)) { + /** + * Manual click based bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CpcBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpcBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $cpcBidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($bid = null, $cpcBidSource = null, $BidsType = null) { + parent::__construct(); + $this->bid = $bid; + $this->cpcBidSource = $cpcBidSource; + $this->BidsType = $BidsType; + } + + } +} + +if (!class_exists("CpmBid", false)) { + /** + * Manual impression based bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CpmBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpmBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $cpmBidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CriterionParameter", false)) { + /** + * Base type of criterion parameters. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomParameter", false)) { + /** + * CustomParameter is used to map a custom parameter key to its value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameter"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * @access public + * @var boolean + */ + public $isRemove; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $value = null, $isRemove = null) { + $this->key = $key; + $this->value = $value; + $this->isRemove = $isRemove; + } + + } +} + +if (!class_exists("CustomParameters", false)) { + /** + * CustomParameters holds a list of CustomParameters to be treated as a map. + * It has a special field used to indicate that the current map should be cleared and replaced + * with this new map. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameters { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameters"; + + /** + * @access public + * @var CustomParameter[] + */ + public $parameters; + + /** + * @access public + * @var boolean + */ + public $doReplace; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parameters = null, $doReplace = null) { + $this->parameters = $parameters; + $this->doReplace = $doReplace; + } + + } +} + +if (!class_exists("DatabaseError", false)) { + /** + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EnhancedCpcBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EnhancedCpcBiddingScheme"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ExemptionRequest { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExemptionRequest"; + + /** + * @access public + * @var PolicyViolationKey + */ + public $key; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class ForwardCompatibilityError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ForwardCompatibilityError"; + + /** + * @access public + * @var tnsForwardCompatibilityErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Gender extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Gender"; + + /** + * @access public + * @var tnsGenderGenderType + */ + public $genderType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Keyword extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Keyword"; + + /** + * @access public + * @var string + */ + public $text; + + /** + * @access public + * @var tnsKeywordMatchType + */ + public $matchType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("Label", false)) { + /** + * Represents a label that can be attached to entities such as campaign, ad group, ads, + * criterion etc. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var tnsLabelStatus + */ + public $status; + + /** + * @access public + * @var LabelAttribute + */ + public $attribute; + + /** + * @access public + * @var string + */ + public $LabelType; + private $_parameterMap = array( + "Label.Type" => "LabelType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManualCpcBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ManualCpcBiddingScheme"; + + /** + * @access public + * @var boolean + */ + public $enhancedCpcEnabled; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManualCpmBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ManualCpmBiddingScheme"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileAppCategory extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileAppCategory"; + + /** + * @access public + * @var integer + */ + public $mobileAppCategoryId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileApplication extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileApplication"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MultiplierError", false)) { + /** + * Represents errors in bid multipliers. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MultiplierError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MultiplierError"; + + /** + * @access public + * @var tnsMultiplierErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("NegativeAdGroupCriterion", false)) { + /** + * A negative criterion in an adgroup. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NegativeAdGroupCriterion extends AdGroupCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NegativeAdGroupCriterion"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($adGroupId = null, $criterionUse = null, $criterion = null, $labels = null, $forwardCompatibilityMap = null, $baseCampaignId = null, $baseAdGroupId = null, $AdGroupCriterionType = null) { + parent::__construct(); + $this->adGroupId = $adGroupId; + $this->criterionUse = $criterionUse; + $this->criterion = $criterion; + $this->labels = $labels; + $this->forwardCompatibilityMap = $forwardCompatibilityMap; + $this->baseCampaignId = $baseCampaignId; + $this->baseAdGroupId = $baseAdGroupId; + $this->AdGroupCriterionType = $AdGroupCriterionType; + } + + } +} + +if (!class_exists("NewEntityCreationError", false)) { + /** + * Error associated with creation of new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PageOnePromotedBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 $raiseBidWhenBudgetConstrained; + + /** + * @access public + * @var boolean + */ + public $raiseBidWhenLowQualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $raiseBidWhenBudgetConstrained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { + parent::__construct(); + $this->strategyGoal = $strategyGoal; + $this->bidCeiling = $bidCeiling; + $this->bidModifier = $bidModifier; + $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; + $this->raiseBidWhenBudgetConstrained = $raiseBidWhenBudgetConstrained; + $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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ParentCriterion", false)) { + /** + * Parent 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_v201705 + * @subpackage v201705 + */ + class ParentCriterion extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Parent"; + + /** + * @access public + * @var tnsParentParentType + */ + public $parentType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parentType = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->parentType = $parentType; + $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_v201705 + * @subpackage v201705 + */ + class Placement extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PolicyViolationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class PolicyViolationErrorPart { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationError.Part"; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * @access public + * @var integer + */ + public $length; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PolicyViolationKey { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationKey"; + + /** + * @access public + * @var string + */ + public $policyName; + + /** + * @access public + * @var string + */ + public $violatingText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ProductDimension", false)) { + /** + * Dimension by which to subdivide or filter products. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductOfferId extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductOfferId"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductPartition extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 same + * subdivision must have the same dimension type (product type level). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductType extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductType"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductTypeFull extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductTypeFull"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QualityInfo { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QualityInfo"; + + /** + * @access public + * @var integer + */ + public $qualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($qualityScore = null) { + $this->qualityScore = $qualityScore; + } + + } +} + +if (!class_exists("QueryError", false)) { + /** + * A QueryError represents possible errors for query parsing and execution. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StatsQueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError"; + + /** + * @access public + * @var tnsStatsQueryErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class String_StringMapEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "String_StringMapEntry"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 is an automated bid + * strategy that sets bids to help get as many conversions as possible at the target cost per + * acquisition (CPA) you set. + * + *
A {@linkplain #targetCpa target CPA} must be set for the strategy, but can also be optionally + * set for individual ad groups in the strategy. Ad group targets, if set, will override strategy + * targets. + * + *
Note that campaigns must meet + * specific eligibility requirements + * before they can use the Target CPA bid strategy. + * This is disabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetCpaBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TargetOutrankShareBiddingScheme", false)) { + /** + * Target Outrank Share bidding strategy is an automated bidding strategy which automatically sets + * bids so that the customer's ads appear above a specified competitors' ads for a specified target + * fraction of the advertiser's eligible impressions on Google.com. + * This is disabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetOutrankShareBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TargetOutrankShareBiddingScheme"; + + /** + * @access public + * @var integer + */ + public $targetOutrankShare; + + /** + * @access public + * @var string + */ + public $competitorDomain; + + /** + * @access public + * @var Money + */ + public $maxCpcBidCeiling; + + /** + * @access public + * @var boolean + */ + public $bidChangesForRaisesOnly; + + /** + * @access public + * @var boolean + */ + public $raiseBidWhenLowQualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($targetOutrankShare = null, $competitorDomain = null, $maxCpcBidCeiling = null, $bidChangesForRaisesOnly = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { + parent::__construct(); + $this->targetOutrankShare = $targetOutrankShare; + $this->competitorDomain = $competitorDomain; + $this->maxCpcBidCeiling = $maxCpcBidCeiling; + $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; + $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; + $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_v201705
+ * @subpackage v201705
+ */
+ class TargetRoasBiddingScheme extends BiddingScheme {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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 is an automated
+ * bid strategy that sets your bids to help get as many clicks as possible within your budget.
+ * This is disabled for AdX.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class TargetSpendBiddingScheme extends BiddingScheme {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "TargetSpendBiddingScheme";
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $bidCeiling;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $spendTarget;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $enhancedCpcEnabled;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($bidCeiling = null, $spendTarget = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) {
+ parent::__construct();
+ $this->bidCeiling = $bidCeiling;
+ $this->spendTarget = $spendTarget;
+ $this->enhancedCpcEnabled = $enhancedCpcEnabled;
+ $this->BiddingSchemeType = $BiddingSchemeType;
+ }
+
+ }
+}
+
+if (!class_exists("UnknownProductDimension", false)) {
+ /**
+ * An unknown product dimension type which will be returned in place of any ProductDimension not
+ * supported by the clients current API version.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class UnknownProductDimension extends ProductDimension {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "UnknownProductDimension";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($ProductDimensionType = null) {
+ parent::__construct();
+ $this->ProductDimensionType = $ProductDimensionType;
+ }
+
+ }
+}
+
+if (!class_exists("UrlError", false)) {
+ /**
+ * Url Validation errors.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class UrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "UrlError";
+
+ /**
+ * @access public
+ * @var tnsUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("UrlList", false)) {
+ /**
+ * Wrapper POJO for a list of URLs. The list can be cleared if a request contains
+ * a UrlList with an empty urls list.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class UrlList {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "UrlList";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $urls;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($urls = null) {
+ $this->urls = $urls;
+ }
+
+ }
+}
+
+if (!class_exists("CriterionUserInterest", false)) {
+ /**
+ * User Interest represents a particular interest-based vertical to be targeted.
+ * This is enabled for AdX.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CriterionUserInterest extends Criterion {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CriterionUserInterest";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $userInterestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $userInterestParentId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $userInterestName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) {
+ parent::__construct();
+ $this->userInterestId = $userInterestId;
+ $this->userInterestParentId = $userInterestParentId;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class CriterionUserList extends Criterion {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CriterionUserList";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $userListId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $userListName;
+
+ /**
+ * @access public
+ * @var tnsCriterionUserListMembershipStatus
+ */
+ public $userListMembershipStatus;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $userListEligibleForSearch;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $userListEligibleForDisplay;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) {
+ parent::__construct();
+ $this->userListId = $userListId;
+ $this->userListName = $userListName;
+ $this->userListMembershipStatus = $userListMembershipStatus;
+ $this->userListEligibleForSearch = $userListEligibleForSearch;
+ $this->userListEligibleForDisplay = $userListEligibleForDisplay;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class Vertical extends Criterion {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Webpage extends Criterion {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705 + * @subpackage v201705 + */ + class WebpageCondition { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "WebpageCondition"; + + /** + * @access public + * @var tnsWebpageConditionOperand + */ + public $operand; + + /** + * @access public + * @var string + */ + public $argument; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class WebpageParameter extends CriterionParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "WebpageParameter"; + + /** + * @access public + * @var string + */ + public $criterionName; + + /** + * @access public + * @var WebpageCondition[] + */ + public $conditions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("YouTubeChannel", false)) { + /** + * YouTube channel criterion. + *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_v201705 + * @subpackage v201705 + */ + class YouTubeChannel extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "YouTubeChannel"; + + /** + * @access public + * @var string + */ + public $channelId; + + /** + * @access public + * @var string + */ + public $channelName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($channelId = null, $channelName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->channelId = $channelId; + $this->channelName = $channelName; + $this->id = $id; + $this->type = $type; + $this->CriterionType = $CriterionType; + } + + } +} + +if (!class_exists("YouTubeVideo", false)) { + /** + * YouTube video criterion. + *
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_v201705 + * @subpackage v201705 + */ + class YouTubeVideo extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "YouTubeVideo"; + + /** + * @access public + * @var string + */ + public $videoId; + + /** + * @access public + * @var string + */ + public $videoName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($videoId = null, $videoName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->videoId = $videoId; + $this->videoName = $videoName; + $this->id = $id; + $this->type = $type; + $this->CriterionType = $CriterionType; + } + + } +} + +if (!class_exists("AdGroupCriterionErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionLimitExceededCriteriaLimitType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionLimitExceeded.CriteriaLimitType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AgeRangeAgeRangeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AgeRange.AgeRangeType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AppPaymentModelAppPaymentModelType", false)) { + /** + * The possible types of App Payment Model. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppPaymentModelAppPaymentModelType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppPaymentModel.AppPaymentModelType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AppUrlOsType", false)) { + /** + * The possible os types for an AppUrl + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppUrlOsType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppUrl.OsType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApprovalStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApprovalStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BidSource { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BidSource"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BiddingErrorsReason", false)) { + /** + * Cannot transition to new bidding strategy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingErrorsReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BiddingStrategySource { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingStrategySource"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. See {@linkplain BiddingStrategyConfiguration} + * for additional information. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingStrategyType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingStrategyType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionUse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUse"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ForwardCompatibilityErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ForwardCompatibilityError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GenderGenderType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Gender.GenderType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class KeywordMatchType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("LabelStatus", false)) { + /** + * The label is enabled. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("MultiplierErrorReason", false)) { + /** + * Reason for bidding error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MultiplierErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MultiplierError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PageOnePromotedBiddingSchemeStrategyGoal { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ParentParentType", false)) { + /** + * The possible types of parents. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ParentParentType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Parent.ParentType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCanonicalConditionCondition { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCanonicalCondition.Condition"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductDimensionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductDimensionType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductPartitionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductPartitionType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ShoppingProductChannel", false)) { + /** + * Channel specifies where the item is sold: online or in local stores. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ShoppingProductChannel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShoppingProductChannel"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ShoppingProductChannelExclusivity", false)) { + /** + * Channel exclusivity specifies whether an item is sold exclusively in one channel + * or through multiple channels. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ShoppingProductChannelExclusivity { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShoppingProductChannelExclusivity"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StatsQueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SystemServingStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SystemServingStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionUserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class UserStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UserStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class WebpageConditionOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "WebpageConditionOperand"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupCriterionPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupCriterionOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupCriterionReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateLabel", 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. + * + * + * + * Adds labels to the AdGroupCriterion or removes labels from the AdGroupCriterion + *
Add - Apply an existing label to an existing + * {@linkplain AdGroupCriterion ad group criterion}. The {@code adGroupId} and + * {@code criterionId} + * must reference an existing {@linkplain AdGroupCriterion ad group criterion}. The + * {@code labelId} must reference an existing {@linkplain Label label}. + *
Remove - Removes the link between the specified + * {@linkplain AdGroupCriterion ad group criterion} and {@linkplain Label label}.
+ * @param operations the operations to apply + * @return a list of AdGroupCriterionLabel where each entry in the list is the result of + * applying the operation in the input list with the same index. For an + * add operation, the returned AdGroupCriterionLabel contains the AdGroupId, CriterionId and the + * LabelId. In the case of a remove operation, the returned AdGroupCriterionLabel will only have + * AdGroupId and CriterionId. + * @throws ApiException when there are one or more errors with the request + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupCriterionLabelOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateLabelResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabelResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupCriterionLabelReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupCriterionPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionError"; + + /** + * @access public + * @var tnsAdGroupCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupCriterionLabelOperation", false)) { + /** + * Operations for adding/removing labels from AdGroupCriterion. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionLabelOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionLabelOperation"; + + /** + * @access public + * @var AdGroupCriterionLabel + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupCriterionLabelReturnValue", false)) { + /** + * A container for return values from the {@link AdGroupCriterionService#mutateLabel} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionLabelReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionLabelReturnValue"; + + /** + * @access public + * @var AdGroupCriterionLabel[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupCriterionLimitExceeded", false)) { + /** + * Signals that too many criteria were added to some ad group. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionLimitExceeded extends EntityCountLimitExceeded { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionLimitExceeded"; + + /** + * @access public + * @var tnsAdGroupCriterionLimitExceededCriteriaLimitType + */ + public $limitType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + *If you try to ADD a criterion that already exists, it will be treated as a SET operation + * on the existing criterion. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionOperation"; + + /** + * @access public + * @var AdGroupCriterion + */ + public $operand; + + /** + * @access public + * @var ExemptionRequest[] + */ + public $exemptionRequests; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionPage"; + + /** + * @access public + * @var AdGroupCriterion[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionReturnValue"; + + /** + * @access public + * @var AdGroupCriterion[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AgeRange extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AgeRange"; + + /** + * @access public + * @var tnsAgeRangeAgeRangeType + */ + public $ageRangeType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AppPaymentModel", false)) { + /** + * Represents a criterion for targeting paid apps. + * + *
Possible IDs: {@code 30} ({@code APP_PAYMENT_MODEL_PAID}).
+ *A criterion of this type can only be created using an ID. A criterion of this type is only targetable. + * This is disabled for AdX when it is contained within Operators: ADD, SET. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppPaymentModel extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppPaymentModel"; + + /** + * @access public + * @var tnsAppPaymentModelAppPaymentModelType + */ + public $appPaymentModelType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($appPaymentModelType = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->appPaymentModelType = $appPaymentModelType; + $this->id = $id; + $this->type = $type; + $this->CriterionType = $CriterionType; + } + + } +} + +if (!class_exists("TextLabel", false)) { + /** + * Represent a display label entry. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TextLabel extends Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TextLabel"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + parent::__construct(); + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("CriterionPolicyError", false)) { + /** + * Contains the policy violations for a single BiddableAdGroupCriterion. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionPolicyError extends PolicyViolationError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionPolicyError"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DoubleValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; + + /** + * @access public + * @var double + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LongValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; + + /** + * @access public + * @var integer + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductAdwordsGrouping extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductAdwordsGrouping"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductAdwordsLabels extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductAdwordsLabels"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 same subdivision + * must have the same dimension type (category level). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductBiddingCategory extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductBiddingCategory"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var integer + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductBrand extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductBrand"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCanonicalCondition extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCanonicalCondition"; + + /** + * @access public + * @var tnsProductCanonicalConditionCondition + */ + public $condition; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ProductChannel", false)) { + /** + * The product channel dimension, which specifies the locality of an offer. Only supported by + * campaigns of {@link AdvertisingChannelType#SHOPPING}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductChannel extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductChannel"; + + /** + * @access public + * @var tnsShoppingProductChannel + */ + public $channel; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($channel = null, $ProductDimensionType = null) { + parent::__construct(); + $this->channel = $channel; + $this->ProductDimensionType = $ProductDimensionType; + } + + } +} + +if (!class_exists("ProductChannelExclusivity", false)) { + /** + * The product channel exclusivity dimension, which limits the availability of an offer between only + * local, only online, or both. Only supported by campaigns of + * {@link AdvertisingChannelType#SHOPPING}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductChannelExclusivity extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductChannelExclusivity"; + + /** + * @access public + * @var tnsShoppingProductChannelExclusivity + */ + public $channelExclusivity; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($channelExclusivity = null, $ProductDimensionType = null) { + parent::__construct(); + $this->channelExclusivity = $channelExclusivity; + $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_v201705 + * @subpackage v201705 + */ + class ProductLegacyCondition extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductLegacyCondition"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCustomAttribute extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCustomAttribute"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionService extends AdWordsSoapClient { + + const SERVICE_NAME = "AdGroupCriterionService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupCriterionService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupCriterionService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AdGroupCriterion" => "AdGroupCriterion", + "AdGroupCriterionError" => "AdGroupCriterionError", + "AdGroupCriterionLabel" => "AdGroupCriterionLabel", + "AdGroupCriterionLabelOperation" => "AdGroupCriterionLabelOperation", + "AdGroupCriterionLabelReturnValue" => "AdGroupCriterionLabelReturnValue", + "AdGroupCriterionLimitExceeded" => "AdGroupCriterionLimitExceeded", + "AdGroupCriterionOperation" => "AdGroupCriterionOperation", + "AdGroupCriterionPage" => "AdGroupCriterionPage", + "AdGroupCriterionReturnValue" => "AdGroupCriterionReturnValue", + "AdxError" => "AdxError", + "AgeRange" => "AgeRange", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "AppPaymentModel" => "AppPaymentModel", + "AppUrl" => "AppUrl", + "AppUrlList" => "AppUrlList", + "ApplicationException" => "ApplicationException", + "LabelAttribute" => "LabelAttribute", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "Bid" => "Bid", + "BiddableAdGroupCriterion" => "BiddableAdGroupCriterion", + "BiddingErrors" => "BiddingErrors", + "BiddingScheme" => "BiddingScheme", + "BiddingStrategyConfiguration" => "BiddingStrategyConfiguration", + "Bids" => "Bids", + "TextLabel" => "TextLabel", + "DisplayAttribute" => "DisplayAttribute", + "ClientTermsError" => "ClientTermsError", + "CollectionSizeError" => "CollectionSizeError", + "ComparableValue" => "ComparableValue", + "CpaBid" => "CpaBid", + "CpcBid" => "CpcBid", + "CpmBid" => "CpmBid", + "Criterion" => "Criterion", + "CriterionError" => "CriterionError", + "CriterionParameter" => "CriterionParameter", + "CriterionPolicyError" => "CriterionPolicyError", + "CustomParameter" => "CustomParameter", + "CustomParameters" => "CustomParameters", + "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DistinctError" => "DistinctError", + "DoubleValue" => "DoubleValue", + "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "ExemptionRequest" => "ExemptionRequest", + "FieldPathElement" => "FieldPathElement", + "ForwardCompatibilityError" => "ForwardCompatibilityError", + "Gender" => "Gender", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "Keyword" => "Keyword", + "Label" => "Label", + "ListReturnValue" => "ListReturnValue", + "LongValue" => "LongValue", + "ManualCpcBiddingScheme" => "ManualCpcBiddingScheme", + "ManualCpmBiddingScheme" => "ManualCpmBiddingScheme", + "MobileAppCategory" => "MobileAppCategory", + "MobileApplication" => "MobileApplication", + "Money" => "Money", + "MultiplierError" => "MultiplierError", + "NegativeAdGroupCriterion" => "NegativeAdGroupCriterion", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "NumberValue" => "NumberValue", + "Operation" => "Operation", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Page" => "Page", + "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme", + "Paging" => "Paging", + "PagingError" => "PagingError", + "Parent" => "ParentCriterion", + "Placement" => "Placement", + "PolicyViolationError" => "PolicyViolationError", + "PolicyViolationError.Part" => "PolicyViolationErrorPart", + "PolicyViolationKey" => "PolicyViolationKey", + "Predicate" => "Predicate", + "ProductAdwordsGrouping" => "ProductAdwordsGrouping", + "ProductAdwordsLabels" => "ProductAdwordsLabels", + "ProductBiddingCategory" => "ProductBiddingCategory", + "ProductBrand" => "ProductBrand", + "ProductCanonicalCondition" => "ProductCanonicalCondition", + "ProductChannel" => "ProductChannel", + "ProductChannelExclusivity" => "ProductChannelExclusivity", + "ProductLegacyCondition" => "ProductLegacyCondition", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "String_StringMapEntry" => "String_StringMapEntry", + "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme", + "TargetOutrankShareBiddingScheme" => "TargetOutrankShareBiddingScheme", + "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme", + "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme", + "UnknownProductDimension" => "UnknownProductDimension", + "UrlError" => "UrlError", + "UrlList" => "UrlList", + "CriterionUserInterest" => "CriterionUserInterest", + "CriterionUserList" => "CriterionUserList", + "Vertical" => "Vertical", + "Webpage" => "Webpage", + "WebpageCondition" => "WebpageCondition", + "WebpageParameter" => "WebpageParameter", + "YouTubeChannel" => "YouTubeChannel", + "YouTubeVideo" => "YouTubeVideo", + "AdGroupCriterionError.Reason" => "AdGroupCriterionErrorReason", + "AdGroupCriterionLimitExceeded.CriteriaLimitType" => "AdGroupCriterionLimitExceededCriteriaLimitType", + "AdxError.Reason" => "AdxErrorReason", + "AgeRange.AgeRangeType" => "AgeRangeAgeRangeType", + "AppPaymentModel.AppPaymentModelType" => "AppPaymentModelAppPaymentModelType", + "AppUrl.OsType" => "AppUrlOsType", + "ApprovalStatus" => "ApprovalStatus", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "BidSource" => "BidSource", + "BiddingErrors.Reason" => "BiddingErrorsReason", + "BiddingStrategySource" => "BiddingStrategySource", + "BiddingStrategyType" => "BiddingStrategyType", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "CollectionSizeError.Reason" => "CollectionSizeErrorReason", + "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", + "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason", + "Gender.GenderType" => "GenderGenderType", + "IdError.Reason" => "IdErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "KeywordMatchType" => "KeywordMatchType", + "Label.Status" => "LabelStatus", + "MultiplierError.Reason" => "MultiplierErrorReason", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", + "OperatorError.Reason" => "OperatorErrorReason", + "PageOnePromotedBiddingScheme.StrategyGoal" => "PageOnePromotedBiddingSchemeStrategyGoal", + "PagingError.Reason" => "PagingErrorReason", + "Parent.ParentType" => "ParentParentType", + "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", + "ShoppingProductChannel" => "ShoppingProductChannel", + "ShoppingProductChannelExclusivity" => "ShoppingProductChannelExclusivity", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StatsQueryError.Reason" => "StatsQueryErrorReason", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "SystemServingStatus" => "SystemServingStatus", + "UrlError.Reason" => "UrlErrorReason", + "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", + "UserStatus" => "UserStatus", + "WebpageConditionOperand" => "WebpageConditionOperand", + "get" => "AdGroupCriterionServiceGet", + "getResponse" => "AdGroupCriterionServiceGetResponse", + "mutate" => "AdGroupCriterionServiceMutate", + "mutateResponse" => "AdGroupCriterionServiceMutateResponse", + "mutateLabel" => "MutateLabel", + "mutateLabelResponse" => "MutateLabelResponse", + "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 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. + * + * + * + * Adds labels to the AdGroupCriterion or removes labels from the AdGroupCriterion + *
Add - Apply an existing label to an existing + * {@linkplain AdGroupCriterion ad group criterion}. The {@code adGroupId} and + * {@code criterionId} + * must reference an existing {@linkplain AdGroupCriterion ad group criterion}. The + * {@code labelId} must reference an existing {@linkplain Label label}. + *
Remove - Removes the link between the specified + * {@linkplain AdGroupCriterion ad group criterion} and {@linkplain Label label}.
+ * @param operations the operations to apply + * @return a list of AdGroupCriterionLabel where each entry in the list is the result of + * applying the operation in the input list with the same index. For an + * add operation, the returned AdGroupCriterionLabel contains the AdGroupId, CriterionId and the + * LabelId. In the case of a remove operation, the returned AdGroupCriterionLabel will only have + * AdGroupId and CriterionId. + * @throws ApiException when there are one or more errors with the request + */ + public function mutateLabel($operations) { + $args = new MutateLabel($operations); + $result = $this->__soapCall("mutateLabel", 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/v201705/AdGroupExtensionSettingService.php b/src/Google/Api/Ads/AdWords/v201705/AdGroupExtensionSettingService.php new file mode 100755 index 000000000..e22388f47 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/AdGroupExtensionSettingService.php @@ -0,0 +1,7649 @@ +adGroupId = $adGroupId; + $this->extensionType = $extensionType; + $this->extensionSetting = $extensionSetting; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CallConversionType", false)) { + /** + * Conversion type for a call extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CallConversionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CallConversionType"; + + /** + * @access public + * @var integer + */ + public $conversionTypeId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($conversionTypeId = null) { + $this->conversionTypeId = $conversionTypeId; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CustomParameter", false)) { + /** + * CustomParameter is used to map a custom parameter key to its value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameter"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * @access public + * @var boolean + */ + public $isRemove; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $value = null, $isRemove = null) { + $this->key = $key; + $this->value = $value; + $this->isRemove = $isRemove; + } + + } +} + +if (!class_exists("CustomParameters", false)) { + /** + * CustomParameters holds a list of CustomParameters to be treated as a map. + * It has a special field used to indicate that the current map should be cleared and replaced + * with this new map. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameters { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameters"; + + /** + * @access public + * @var CustomParameter[] + */ + public $parameters; + + /** + * @access public + * @var boolean + */ + public $doReplace; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parameters = null, $doReplace = null) { + $this->parameters = $parameters; + $this->doReplace = $doReplace; + } + + } +} + +if (!class_exists("DatabaseError", false)) { + /** + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DisapprovalReason", false)) { + /** + * Container for information about why an AdWords entity was disapproved. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DisapprovalReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisapprovalReason"; + + /** + * @access public + * @var string + */ + public $shortName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($shortName = null) { + $this->shortName = $shortName; + } + + } +} + +if (!class_exists("DistinctError", false)) { + /** + * Errors related to distinct ids or content. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("EntityAccessDenied", false)) { + /** + * Reports permission problems trying to access an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ExtensionFeedItem", false)) { + /** + * Contains base extension feed item data for an extension in an extension feed managed by AdWords. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionFeedItem"; + + /** + * @access public + * @var integer + */ + public $feedId; + + /** + * @access public + * @var integer + */ + public $feedItemId; + + /** + * @access public + * @var tnsFeedItemStatus + */ + public $status; + + /** + * @access public + * @var tnsFeedType + */ + public $feedType; + + /** + * @access public + * @var string + */ + public $startTime; + + /** + * @access public + * @var string + */ + public $endTime; + + /** + * @access public + * @var FeedItemDevicePreference + */ + public $devicePreference; + + /** + * @access public + * @var FeedItemScheduling + */ + public $scheduling; + + /** + * @access public + * @var FeedItemCampaignTargeting + */ + public $campaignTargeting; + + /** + * @access public + * @var FeedItemAdGroupTargeting + */ + public $adGroupTargeting; + + /** + * @access public + * @var Keyword + */ + public $keywordTargeting; + + /** + * @access public + * @var Location + */ + public $geoTargeting; + + /** + * @access public + * @var FeedItemGeoRestriction + */ + public $geoTargetingRestriction; + + /** + * @access public + * @var FeedItemPolicyData[] + */ + public $policyData; + + /** + * @access public + * @var string + */ + public $ExtensionFeedItemType; + private $_parameterMap = array( + "ExtensionFeedItem.Type" => "ExtensionFeedItemType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("ExtensionSetting", false)) { + /** + * A setting specifying when and which extensions should serve at a given level (customer, campaign, + * or ad group). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSetting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSetting"; + + /** + * @access public + * @var ExtensionFeedItem[] + */ + public $extensions; + + /** + * @access public + * @var tnsExtensionSettingPlatform + */ + public $platformRestrictions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($extensions = null, $platformRestrictions = null) { + $this->extensions = $extensions; + $this->platformRestrictions = $platformRestrictions; + } + + } +} + +if (!class_exists("ExtensionSettingError", false)) { + /** + * Represents an error for various extension setting services. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSettingError"; + + /** + * @access public + * @var tnsExtensionSettingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FeedItemAdGroupTargeting", false)) { + /** + * Specifies the adgroup the request context must match in order for + * the feed item to be considered eligible for serving (aka the targeted adgroup). + * E.g., if the below adgroup targeting is set to adgroup = X, then the feed + * item can only serve under adgroup X. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemAdGroupTargeting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemAdGroupTargeting"; + + /** + * @access public + * @var integer + */ + public $TargetingAdGroupId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($TargetingAdGroupId = null) { + $this->TargetingAdGroupId = $TargetingAdGroupId; + } + + } +} + +if (!class_exists("FeedItemAttributeError", false)) { + /** + * Contains validation error details for a set of feed attributes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemAttributeError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemAttributeError"; + + /** + * @access public + * @var integer[] + */ + public $feedAttributeIds; + + /** + * @access public + * @var integer + */ + public $validationErrorCode; + + /** + * @access public + * @var string + */ + public $errorInformation; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedAttributeIds = null, $validationErrorCode = null, $errorInformation = null) { + $this->feedAttributeIds = $feedAttributeIds; + $this->validationErrorCode = $validationErrorCode; + $this->errorInformation = $errorInformation; + } + + } +} + +if (!class_exists("FeedItemCampaignTargeting", false)) { + /** + * Specifies the campaign the request context must match in order for + * the feed item to be considered eligible for serving (aka the targeted campaign). + * E.g., if the below campaign targeting is set to campaignId = X, then the feed + * item can only serve under campaign X. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemCampaignTargeting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemCampaignTargeting"; + + /** + * @access public + * @var integer + */ + public $TargetingCampaignId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($TargetingCampaignId = null) { + $this->TargetingCampaignId = $TargetingCampaignId; + } + + } +} + +if (!class_exists("FeedItemDevicePreference", false)) { + /** + * Represents a FeedItem device preference. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemDevicePreference { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemDevicePreference"; + + /** + * @access public + * @var integer + */ + public $devicePreference; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedItemGeoRestriction", false)) { + /** + * Represents a FeedItem geo restriction. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemGeoRestriction { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemGeoRestriction"; + + /** + * @access public + * @var tnsGeoRestriction + */ + public $geoRestriction; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($geoRestriction = null) { + $this->geoRestriction = $geoRestriction; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class FeedItemSchedule { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemScheduling { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemScheduling"; + + /** + * @access public + * @var FeedItemSchedule[] + */ + public $feedItemSchedules; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Keyword extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Keyword"; + + /** + * @access public + * @var string + */ + public $text; + + /** + * @access public + * @var tnsKeywordMatchType + */ + public $matchType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Location extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MessageFeedItem", false)) { + /** + * Represents a Message extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MessageFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MessageFeedItem"; + + /** + * @access public + * @var string + */ + public $messageBusinessName; + + /** + * @access public + * @var string + */ + public $messageCountryCode; + + /** + * @access public + * @var string + */ + public $messagePhoneNumber; + + /** + * @access public + * @var string + */ + public $messageExtensionText; + + /** + * @access public + * @var string + */ + public $messageText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($messageBusinessName = null, $messageCountryCode = null, $messagePhoneNumber = null, $messageExtensionText = null, $messageText = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->messageBusinessName = $messageBusinessName; + $this->messageCountryCode = $messageCountryCode; + $this->messagePhoneNumber = $messagePhoneNumber; + $this->messageExtensionText = $messageExtensionText; + $this->messageText = $messageText; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class MobileAppCategory extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileAppCategory"; + + /** + * @access public + * @var integer + */ + public $mobileAppCategoryId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileApplication extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileApplication"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MoneyWithCurrency", false)) { + /** + * Represents a money amount with currency. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MoneyWithCurrency extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MoneyWithCurrency"; + + /** + * @access public + * @var Money + */ + public $money; + + /** + * @access public + * @var string + */ + public $currencyCode; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($money = null, $currencyCode = null, $ComparableValueType = null) { + parent::__construct(); + $this->money = $money; + $this->currencyCode = $currencyCode; + $this->ComparableValueType = $ComparableValueType; + } + + } +} + +if (!class_exists("NewEntityCreationError", false)) { + /** + * Error associated with creation of new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Placement extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PolicyData", false)) { + /** + * Approval and policy information attached to an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyData"; + + /** + * @access public + * @var DisapprovalReason[] + */ + public $disapprovalReasons; + + /** + * @access public + * @var string + */ + public $PolicyDataType; + private $_parameterMap = array( + "PolicyData.Type" => "PolicyDataType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($disapprovalReasons = null, $PolicyDataType = null) { + $this->disapprovalReasons = $disapprovalReasons; + $this->PolicyDataType = $PolicyDataType; + } + + } +} + +if (!class_exists("Predicate", false)) { + /** + * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PriceFeedItem", false)) { + /** + * Represents a price extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceFeedItem"; + + /** + * @access public + * @var tnsPriceExtensionType + */ + public $priceExtensionType; + + /** + * @access public + * @var tnsPriceExtensionPriceQualifier + */ + public $priceQualifier; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var string + */ + public $language; + + /** + * @access public + * @var PriceTableRow[] + */ + public $tableRows; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($priceExtensionType = null, $priceQualifier = null, $trackingUrlTemplate = null, $language = null, $tableRows = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->priceExtensionType = $priceExtensionType; + $this->priceQualifier = $priceQualifier; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->language = $language; + $this->tableRows = $tableRows; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("PriceTableRow", false)) { + /** + * Represents one row in a price extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceTableRow { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceTableRow"; + + /** + * @access public + * @var string + */ + public $header; + + /** + * @access public + * @var string + */ + public $description; + + /** + * @access public + * @var UrlList + */ + public $finalUrls; + + /** + * @access public + * @var UrlList + */ + public $finalMobileUrls; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $price; + + /** + * @access public + * @var tnsPriceExtensionPriceUnit + */ + public $priceUnit; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($header = null, $description = null, $finalUrls = null, $finalMobileUrls = null, $price = null, $priceUnit = null) { + $this->header = $header; + $this->description = $description; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->price = $price; + $this->priceUnit = $priceUnit; + } + + } +} + +if (!class_exists("PromotionFeedItem", false)) { + /** + * Represents a promotion extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionFeedItem"; + + /** + * @access public + * @var string + */ + public $promotionTarget; + + /** + * @access public + * @var tnsPromotionExtensionDiscountModifier + */ + public $discountModifier; + + /** + * @access public + * @var integer + */ + public $percentOff; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $moneyAmountOff; + + /** + * @access public + * @var string + */ + public $promotionCode; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $ordersOverAmount; + + /** + * @access public + * @var string + */ + public $promotionStart; + + /** + * @access public + * @var string + */ + public $promotionEnd; + + /** + * @access public + * @var tnsPromotionExtensionOccasion + */ + public $occasion; + + /** + * @access public + * @var UrlList + */ + public $finalUrls; + + /** + * @access public + * @var UrlList + */ + public $finalMobileUrls; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $promotionUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($promotionTarget = null, $discountModifier = null, $percentOff = null, $moneyAmountOff = null, $promotionCode = null, $ordersOverAmount = null, $promotionStart = null, $promotionEnd = null, $occasion = null, $finalUrls = null, $finalMobileUrls = null, $trackingUrlTemplate = null, $promotionUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->promotionTarget = $promotionTarget; + $this->discountModifier = $discountModifier; + $this->percentOff = $percentOff; + $this->moneyAmountOff = $moneyAmountOff; + $this->promotionCode = $promotionCode; + $this->ordersOverAmount = $ordersOverAmount; + $this->promotionStart = $promotionStart; + $this->promotionEnd = $promotionEnd; + $this->occasion = $occasion; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->promotionUrlCustomParameters = $promotionUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("QueryError", false)) { + /** + * A QueryError represents possible errors for query parsing and execution. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ReviewFeedItem", false)) { + /** + * Represents a Review extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ReviewFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReviewFeedItem"; + + /** + * @access public + * @var string + */ + public $reviewText; + + /** + * @access public + * @var string + */ + public $reviewSourceName; + + /** + * @access public + * @var string + */ + public $reviewSourceUrl; + + /** + * @access public + * @var boolean + */ + public $reviewTextExactlyQuoted; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reviewText = null, $reviewSourceName = null, $reviewSourceUrl = null, $reviewTextExactlyQuoted = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->reviewText = $reviewText; + $this->reviewSourceName = $reviewSourceName; + $this->reviewSourceUrl = $reviewSourceUrl; + $this->reviewTextExactlyQuoted = $reviewTextExactlyQuoted; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("Selector", false)) { + /** + * A generic selector to specify the type of information to return. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("SitelinkFeedItem", false)) { + /** + * Represents a sitelink extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SitelinkFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SitelinkFeedItem"; + + /** + * @access public + * @var string + */ + public $sitelinkText; + + /** + * @access public + * @var string + */ + public $sitelinkUrl; + + /** + * @access public + * @var string + */ + public $sitelinkLine2; + + /** + * @access public + * @var string + */ + public $sitelinkLine3; + + /** + * @access public + * @var UrlList + */ + public $sitelinkFinalUrls; + + /** + * @access public + * @var UrlList + */ + public $sitelinkFinalMobileUrls; + + /** + * @access public + * @var string + */ + public $sitelinkTrackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $sitelinkUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($sitelinkText = null, $sitelinkUrl = null, $sitelinkLine2 = null, $sitelinkLine3 = null, $sitelinkFinalUrls = null, $sitelinkFinalMobileUrls = null, $sitelinkTrackingUrlTemplate = null, $sitelinkUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->sitelinkText = $sitelinkText; + $this->sitelinkUrl = $sitelinkUrl; + $this->sitelinkLine2 = $sitelinkLine2; + $this->sitelinkLine3 = $sitelinkLine3; + $this->sitelinkFinalUrls = $sitelinkFinalUrls; + $this->sitelinkFinalMobileUrls = $sitelinkFinalMobileUrls; + $this->sitelinkTrackingUrlTemplate = $sitelinkTrackingUrlTemplate; + $this->sitelinkUrlCustomParameters = $sitelinkUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StructuredSnippetFeedItem", false)) { + /** + * Represents a structured snippet extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StructuredSnippetFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StructuredSnippetFeedItem"; + + /** + * @access public + * @var string + */ + public $header; + + /** + * @access public + * @var string[] + */ + public $values; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($header = null, $values = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->header = $header; + $this->values = $values; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("UrlError", false)) { + /** + * Url Validation errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UrlList", false)) { + /** + * Wrapper POJO for a list of URLs. The list can be cleared if a request contains + * a UrlList with an empty urls list. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlList"; + + /** + * @access public + * @var string[] + */ + public $urls; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($urls = null) { + $this->urls = $urls; + } + + } +} + +if (!class_exists("CriterionUserInterest", false)) { + /** + * User Interest represents a particular interest-based vertical to be targeted. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionUserInterest extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserInterest"; + + /** + * @access public + * @var integer + */ + public $userInterestId; + + /** + * @access public + * @var integer + */ + public $userInterestParentId; + + /** + * @access public + * @var string + */ + public $userInterestName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userInterestId = $userInterestId; + $this->userInterestParentId = $userInterestParentId; + $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_v201705 + * @subpackage v201705 + */ + class CriterionUserList extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList"; + + /** + * @access public + * @var integer + */ + public $userListId; + + /** + * @access public + * @var string + */ + public $userListName; + + /** + * @access public + * @var tnsCriterionUserListMembershipStatus + */ + public $userListMembershipStatus; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForSearch; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForDisplay; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userListId = $userListId; + $this->userListName = $userListName; + $this->userListMembershipStatus = $userListMembershipStatus; + $this->userListEligibleForSearch = $userListEligibleForSearch; + $this->userListEligibleForDisplay = $userListEligibleForDisplay; + $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_v201705 + * @subpackage v201705 + */ + class Vertical extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AppFeedItemAppStore", false)) { + /** + * The available application stores for app extensions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppFeedItemAppStore { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppFeedItem.AppStore"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DayOfWeek { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DayOfWeek"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ExtensionSettingPlatform", false)) { + /** + * Different levels of platform restrictions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingPlatform { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSetting.Platform"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ExtensionSettingErrorReason", false)) { + /** + * Error reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSettingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItem.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemApprovalStatus", false)) { + /** + * Feed item approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemApprovalStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemApprovalStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemQualityApprovalStatus", false)) { + /** + * Feed item quality evaluation approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemQualityApprovalStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemQualityApprovalStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemQualityDisapprovalReasons", false)) { + /** + * Feed item quality evaluation disapproval reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemQualityDisapprovalReasons { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemQualityDisapprovalReasons"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemValidationStatus", false)) { + /** + * Validation status of a FeedItem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemValidationStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemValidationStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedType", false)) { + /** + * Feed hard type. Values coincide with placeholder type id. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Feed.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("GeoRestriction", false)) { + /** + * A restriction used to determine if the request context's geo should be matched. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GeoRestriction { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "GeoRestriction"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class KeywordMatchType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LocationTargetingStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationTargetingStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MinuteOfHour { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MinuteOfHour"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionPriceQualifier", false)) { + /** + * The qualifier on the price for all Price items. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionPriceQualifier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionPriceQualifier"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionPriceUnit", false)) { + /** + * The price unit for a Price table item. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionPriceUnit { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionPriceUnit"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionType", false)) { + /** + * The type of a price extension represents. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PromotionExtensionDiscountModifier", false)) { + /** + * Qualification for a promotion extension discount. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionExtensionDiscountModifier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionExtensionDiscountModifier"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PromotionExtensionOccasion", false)) { + /** + * The occasion of a promotion extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionExtensionOccasion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionExtensionOccasion"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionUserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdGroupExtensionSettingServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of AdGroupExtensionSettings that meet the selector criteria. + * + * @param selector Determines which AdGroupExtensionSettings to return. If empty, all + * AdGroupExtensionSettings are returned. + * @return The list of AdGroupExtensionSettings specified by the selector. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupExtensionSettingServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupExtensionSettingServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupExtensionSettingServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupExtensionSettingPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupExtensionSettingServiceMutate", false)) { + /** + * This field must not contain {@code null} elements. + * Elements in this field must have distinct IDs for following {@link Operator}s : ADD, 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 (add, remove, and set). + * + *
Beginning in v201509, add and set operations are treated identically. Performing an add + * operation on an ad group with an existing ExtensionSetting will cause the operation to be + * treated like a set operation. Performing a set operation on an ad group with no + * ExtensionSetting will cause the operation to be treated like an add operation. + * + * @param operations The operations to apply. The same {@link AdGroupExtensionSetting} cannot be + * specified in more than one operation. + * @return The changed {@link AdGroupExtensionSetting}s. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupExtensionSettingServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupExtensionSettingOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupExtensionSettingServiceMutateResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupExtensionSettingServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupExtensionSettingReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 AdGroupExtensionSettings that match the query. + * + * @param query The SQL-like AWQL query string. + * @return The list of AdGroupExtensionSettings specified by the query. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupExtensionSettingPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupExtensionSettingOperation", false)) { + /** + * Operation used to create or mutate an AdGroupExtensionSetting. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupExtensionSettingOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupExtensionSettingOperation"; + + /** + * @access public + * @var AdGroupExtensionSetting + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupExtensionSettingPage", false)) { + /** + * Contains a subset of AdGroupExtensionSetting objects resulting from a + * {@code AdGroupExtensionSettingService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupExtensionSettingPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupExtensionSettingPage"; + + /** + * @access public + * @var AdGroupExtensionSetting[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupExtensionSettingReturnValue", false)) { + /** + * A container for return values from a {@code AdGroupExtensionSettingService#mutate} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupExtensionSettingReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupExtensionSettingReturnValue"; + + /** + * @access public + * @var AdGroupExtensionSetting[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ApiException", false)) { + /** + * Exception class for holding a list of service errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AppFeedItem", false)) { + /** + * Represents an App extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppFeedItem"; + + /** + * @access public + * @var tnsAppFeedItemAppStore + */ + public $appStore; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $appLinkText; + + /** + * @access public + * @var string + */ + public $appUrl; + + /** + * @access public + * @var UrlList + */ + public $appFinalUrls; + + /** + * @access public + * @var UrlList + */ + public $appFinalMobileUrls; + + /** + * @access public + * @var string + */ + public $appTrackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $appUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($appStore = null, $appId = null, $appLinkText = null, $appUrl = null, $appFinalUrls = null, $appFinalMobileUrls = null, $appTrackingUrlTemplate = null, $appUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->appStore = $appStore; + $this->appId = $appId; + $this->appLinkText = $appLinkText; + $this->appUrl = $appUrl; + $this->appFinalUrls = $appFinalUrls; + $this->appFinalMobileUrls = $appFinalMobileUrls; + $this->appTrackingUrlTemplate = $appTrackingUrlTemplate; + $this->appUrlCustomParameters = $appUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("CallFeedItem", false)) { + /** + * Represents a Call extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CallFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CallFeedItem"; + + /** + * @access public + * @var string + */ + public $callPhoneNumber; + + /** + * @access public + * @var string + */ + public $callCountryCode; + + /** + * @access public + * @var boolean + */ + public $callTracking; + + /** + * @access public + * @var CallConversionType + */ + public $callConversionType; + + /** + * @access public + * @var boolean + */ + public $disableCallConversionTracking; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($callPhoneNumber = null, $callCountryCode = null, $callTracking = null, $callConversionType = null, $disableCallConversionTracking = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->callPhoneNumber = $callPhoneNumber; + $this->callCountryCode = $callCountryCode; + $this->callTracking = $callTracking; + $this->callConversionType = $callConversionType; + $this->disableCallConversionTracking = $disableCallConversionTracking; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("CalloutFeedItem", false)) { + /** + * Represents a callout extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CalloutFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CalloutFeedItem"; + + /** + * @access public + * @var string + */ + public $calloutText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($calloutText = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->calloutText = $calloutText; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("DoubleValue", false)) { + /** + * Number value type for constructing double valued ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DoubleValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; + + /** + * @access public + * @var double + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedItemPolicyData", false)) { + /** + * Contains offline-validation and approval results for a given FeedItem and FeedMapping. Each + * validation data indicates any issues found on the feed item when used in the context of the + * feed mapping. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemPolicyData extends PolicyData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemPolicyData"; + + /** + * @access public + * @var integer + */ + public $placeholderType; + + /** + * @access public + * @var integer + */ + public $feedMappingId; + + /** + * @access public + * @var tnsFeedItemValidationStatus + */ + public $validationStatus; + + /** + * @access public + * @var tnsFeedItemApprovalStatus + */ + public $approvalStatus; + + /** + * @access public + * @var FeedItemAttributeError[] + */ + public $validationErrors; + + /** + * @access public + * @var tnsFeedItemQualityApprovalStatus + */ + public $qualityApprovalStatus; + + /** + * @access public + * @var tnsFeedItemQualityDisapprovalReasons[] + */ + public $qualityDisapprovalReasons; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($placeholderType = null, $feedMappingId = null, $validationStatus = null, $approvalStatus = null, $validationErrors = null, $qualityApprovalStatus = null, $qualityDisapprovalReasons = null, $disapprovalReasons = null, $PolicyDataType = null) { + parent::__construct(); + $this->placeholderType = $placeholderType; + $this->feedMappingId = $feedMappingId; + $this->validationStatus = $validationStatus; + $this->approvalStatus = $approvalStatus; + $this->validationErrors = $validationErrors; + $this->qualityApprovalStatus = $qualityApprovalStatus; + $this->qualityDisapprovalReasons = $qualityDisapprovalReasons; + $this->disapprovalReasons = $disapprovalReasons; + $this->PolicyDataType = $PolicyDataType; + } + + } +} + +if (!class_exists("LongValue", false)) { + /** + * Number value type for constructing long valued ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LongValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; + + /** + * @access public + * @var integer + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupExtensionSettingService", false)) { + /** + * AdGroupExtensionSettingService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupExtensionSettingService extends AdWordsSoapClient { + + const SERVICE_NAME = "AdGroupExtensionSettingService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupExtensionSettingService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupExtensionSettingService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AdGroupExtensionSetting" => "AdGroupExtensionSetting", + "AdGroupExtensionSettingOperation" => "AdGroupExtensionSettingOperation", + "AdGroupExtensionSettingPage" => "AdGroupExtensionSettingPage", + "AdGroupExtensionSettingReturnValue" => "AdGroupExtensionSettingReturnValue", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "AppFeedItem" => "AppFeedItem", + "ApplicationException" => "ApplicationException", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "CallConversionType" => "CallConversionType", + "CallFeedItem" => "CallFeedItem", + "CalloutFeedItem" => "CalloutFeedItem", + "ClientTermsError" => "ClientTermsError", + "CollectionSizeError" => "CollectionSizeError", + "ComparableValue" => "ComparableValue", + "Criterion" => "Criterion", + "CriterionError" => "CriterionError", + "CustomParameter" => "CustomParameter", + "CustomParameters" => "CustomParameters", + "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DisapprovalReason" => "DisapprovalReason", + "DistinctError" => "DistinctError", + "DoubleValue" => "DoubleValue", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "ExtensionFeedItem" => "ExtensionFeedItem", + "ExtensionSetting" => "ExtensionSetting", + "ExtensionSettingError" => "ExtensionSettingError", + "FeedItemAdGroupTargeting" => "FeedItemAdGroupTargeting", + "FeedItemAttributeError" => "FeedItemAttributeError", + "FeedItemCampaignTargeting" => "FeedItemCampaignTargeting", + "FeedItemDevicePreference" => "FeedItemDevicePreference", + "FeedItemGeoRestriction" => "FeedItemGeoRestriction", + "FeedItemPolicyData" => "FeedItemPolicyData", + "FeedItemSchedule" => "FeedItemSchedule", + "FeedItemScheduling" => "FeedItemScheduling", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "Keyword" => "Keyword", + "ListReturnValue" => "ListReturnValue", + "Location" => "Location", + "LongValue" => "LongValue", + "MessageFeedItem" => "MessageFeedItem", + "MobileAppCategory" => "MobileAppCategory", + "MobileApplication" => "MobileApplication", + "Money" => "Money", + "MoneyWithCurrency" => "MoneyWithCurrency", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "NumberValue" => "NumberValue", + "Operation" => "Operation", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Page" => "Page", + "Paging" => "Paging", + "Placement" => "Placement", + "PolicyData" => "PolicyData", + "Predicate" => "Predicate", + "PriceFeedItem" => "PriceFeedItem", + "PriceTableRow" => "PriceTableRow", + "PromotionFeedItem" => "PromotionFeedItem", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "ReviewFeedItem" => "ReviewFeedItem", + "Selector" => "Selector", + "SelectorError" => "SelectorError", + "SitelinkFeedItem" => "SitelinkFeedItem", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "StructuredSnippetFeedItem" => "StructuredSnippetFeedItem", + "UrlError" => "UrlError", + "UrlList" => "UrlList", + "CriterionUserInterest" => "CriterionUserInterest", + "CriterionUserList" => "CriterionUserList", + "Vertical" => "Vertical", + "AppFeedItem.AppStore" => "AppFeedItemAppStore", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "CollectionSizeError.Reason" => "CollectionSizeErrorReason", + "Criterion.Type" => "CriterionType", + "CriterionError.Reason" => "CriterionErrorReason", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DayOfWeek" => "DayOfWeek", + "DistinctError.Reason" => "DistinctErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "ExtensionSetting.Platform" => "ExtensionSettingPlatform", + "ExtensionSettingError.Reason" => "ExtensionSettingErrorReason", + "FeedItem.Status" => "FeedItemStatus", + "FeedItemApprovalStatus" => "FeedItemApprovalStatus", + "FeedItemQualityApprovalStatus" => "FeedItemQualityApprovalStatus", + "FeedItemQualityDisapprovalReasons" => "FeedItemQualityDisapprovalReasons", + "FeedItemValidationStatus" => "FeedItemValidationStatus", + "Feed.Type" => "FeedType", + "GeoRestriction" => "GeoRestriction", + "IdError.Reason" => "IdErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "KeywordMatchType" => "KeywordMatchType", + "LocationTargetingStatus" => "LocationTargetingStatus", + "MinuteOfHour" => "MinuteOfHour", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", + "OperatorError.Reason" => "OperatorErrorReason", + "Predicate.Operator" => "PredicateOperator", + "PriceExtensionPriceQualifier" => "PriceExtensionPriceQualifier", + "PriceExtensionPriceUnit" => "PriceExtensionPriceUnit", + "PriceExtensionType" => "PriceExtensionType", + "PromotionExtensionDiscountModifier" => "PromotionExtensionDiscountModifier", + "PromotionExtensionOccasion" => "PromotionExtensionOccasion", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "UrlError.Reason" => "UrlErrorReason", + "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", + "get" => "AdGroupExtensionSettingServiceGet", + "getResponse" => "AdGroupExtensionSettingServiceGetResponse", + "mutate" => "AdGroupExtensionSettingServiceMutate", + "mutateResponse" => "AdGroupExtensionSettingServiceMutateResponse", + "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 AdGroupExtensionSettings that meet the selector criteria. + * + * @param selector Determines which AdGroupExtensionSettings to return. If empty, all + * AdGroupExtensionSettings are returned. + * @return The list of AdGroupExtensionSettings specified by the selector. + * @throws ApiException Indicates a problem with the request. + */ + public function get($selector) { + $args = new AdGroupExtensionSettingServiceGet($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, 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 (add, remove, and set). + * + *
Beginning in v201509, add and set operations are treated identically. Performing an add + * operation on an ad group with an existing ExtensionSetting will cause the operation to be + * treated like a set operation. Performing a set operation on an ad group with no + * ExtensionSetting will cause the operation to be treated like an add operation. + * + * @param operations The operations to apply. The same {@link AdGroupExtensionSetting} cannot be + * specified in more than one operation. + * @return The changed {@link AdGroupExtensionSetting}s. + * @throws ApiException Indicates a problem with the request. + */ + public function mutate($operations) { + $args = new AdGroupExtensionSettingServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of AdGroupExtensionSettings that match the query. + * + * @param query The SQL-like AWQL query string. + * @return The list of AdGroupExtensionSettings specified by the query. + * @throws ApiException Indicates a problem 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/v201705/AdGroupFeedService.php b/src/Google/Api/Ads/AdWords/v201705/AdGroupFeedService.php new file mode 100755 index 000000000..8f45fcd7e --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/AdGroupFeedService.php @@ -0,0 +1,4652 @@ +feedId = $feedId; + $this->adGroupId = $adGroupId; + $this->matchingFunction = $matchingFunction; + $this->placeholderTypes = $placeholderTypes; + $this->status = $status; + $this->baseCampaignId = $baseCampaignId; + $this->baseAdGroupId = $baseAdGroupId; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705
+ * @subpackage v201705
+ */
+ class FeedFunction {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Function";
+
+ /**
+ * @access public
+ * @var tnsFunctionOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var FunctionArgumentOperand[]
+ */
+ public $lhsOperand;
+
+ /**
+ * @access public
+ * @var FunctionArgumentOperand[]
+ */
+ public $rhsOperand;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $functionString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $lhsOperand = null, $rhsOperand = null, $functionString = null) {
+ $this->operator = $operator;
+ $this->lhsOperand = $lhsOperand;
+ $this->rhsOperand = $rhsOperand;
+ $this->functionString = $functionString;
+ }
+
+ }
+}
+
+if (!class_exists("FunctionError", false)) {
+ /**
+ * Errors that indicate issues with the function.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FunctionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionError";
+
+ /**
+ * @access public
+ * @var tnsFunctionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("FunctionParsingError", false)) {
+ /**
+ * An error resulting from a failure to parse the textual representation of a function.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FunctionParsingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionParsingError";
+
+ /**
+ * @access public
+ * @var tnsFunctionParsingErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $offendingText;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $offendingTextIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $offendingText = null, $offendingTextIndex = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->offendingText = $offendingText;
+ $this->offendingTextIndex = $offendingTextIndex;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("IdError", false)) {
+ /**
+ * Errors associated with the ids.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class IdError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError";
+
+ /**
+ * @access public
+ * @var tnsIdErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("ListReturnValue", false)) {
+ /**
+ * Base list return value type.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError";
+
+ /**
+ * @access public
+ * @var tnsNotEmptyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDenied extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied";
+
+ /**
+ * @access public
+ * @var tnsOperationAccessDeniedReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OperatorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError";
+
+ /**
+ * @access public
+ * @var tnsOperatorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OrderBy {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OrderBy";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var tnsSortOrder
+ */
+ public $sortOrder;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Paging {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Paging";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numberResults;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Predicate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError";
+
+ /**
+ * @access public
+ * @var tnsQueryErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->message = $message;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError";
+
+ /**
+ * @access public
+ * @var tnsQuotaCheckErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError";
+
+ /**
+ * @access public
+ * @var tnsReadOnlyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RejectedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError";
+
+ /**
+ * @access public
+ * @var tnsRejectedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequestContextOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestContextOperand";
+
+ /**
+ * @access public
+ * @var tnsRequestContextOperandContextType
+ */
+ public $contextType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError";
+
+ /**
+ * @access public
+ * @var tnsRequestErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class Selector {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError";
+
+ /**
+ * @access public
+ * @var tnsSelectorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError";
+
+ /**
+ * @access public
+ * @var tnsSizeLimitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("StringFormatError", false)) {
+ /**
+ * A list of error code for reporting invalid content of input strings.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError";
+
+ /**
+ * @access public
+ * @var tnsStringFormatErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("AdGroupFeedStatus", false)) {
+ /**
+ * Status of the AdGroupFeed.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupFeed.Status";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupFeedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperandConstantType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand.ConstantType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ConstantOperandUnit", false)) {
+ /**
+ * The units of constant operands, if applicable.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperandUnit {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand.Unit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DatabaseErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DistinctErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityCountLimitExceededReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityCountLimitExceeded.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFoundReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Function.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionParsingErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionParsingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class IdErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperatorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class PredicateOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Predicate.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RateExceededError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RejectedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequestContextOperandContextType", false)) {
+ /**
+ * Feed item id in the request context.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class RequestContextOperandContextType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestContextOperand.ContextType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SortOrder {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SortOrder";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringFormatErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedServiceGet {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Selector
+ */
+ public $selector;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedServiceGetResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdGroupFeedPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdGroupFeedOperation[]
+ */
+ public $operations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedServiceMutateResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdGroupFeedReturnValue
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Query {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdGroupFeedPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupFeedError";
+
+ /**
+ * @access public
+ * @var tnsAdGroupFeedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedOperation extends Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupFeedOperation";
+
+ /**
+ * @access public
+ * @var AdGroupFeed
+ */
+ public $operand;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupFeedReturnValue";
+
+ /**
+ * @access public
+ * @var AdGroupFeed[]
+ */
+ public $value;
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $partialFailureErrors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand";
+
+ /**
+ * @access public
+ * @var tnsConstantOperandConstantType
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var tnsConstantOperandUnit
+ */
+ public $unit;
+
+ /**
+ * @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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($type = null, $unit = null, $longValue = null, $booleanValue = null, $doubleValue = null, $stringValue = null, $FunctionArgumentOperandType = null) {
+ parent::__construct();
+ $this->type = $type;
+ $this->unit = $unit;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class FeedAttributeOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FeedAttributeOperand";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $feedId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $feedAttributeId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionOperand";
+
+ /**
+ * @access public
+ * @var Function
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NullStatsPage extends Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullStatsPage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedPage extends NullStatsPage {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupFeedPage";
+
+ /**
+ * @access public
+ * @var AdGroupFeed[]
+ */
+ public $entries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupFeedService extends AdWordsSoapClient {
+
+ const SERVICE_NAME = "AdGroupFeedService";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupFeedService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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",
+ "FieldPathElement" => "FieldPathElement",
+ "Function" => "FeedFunction",
+ "FunctionError" => "FunctionError",
+ "FunctionOperand" => "FunctionOperand",
+ "FunctionParsingError" => "FunctionParsingError",
+ "IdError" => "IdError",
+ "InternalApiError" => "InternalApiError",
+ "ListReturnValue" => "ListReturnValue",
+ "NotEmptyError" => "NotEmptyError",
+ "NullError" => "NullError",
+ "NullStatsPage" => "NullStatsPage",
+ "FunctionArgumentOperand" => "FunctionArgumentOperand",
+ "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",
+ "RequestContextOperand" => "RequestContextOperand",
+ "RequestError" => "RequestError",
+ "RequiredError" => "RequiredError",
+ "Selector" => "Selector",
+ "SelectorError" => "SelectorError",
+ "SizeLimitError" => "SizeLimitError",
+ "SoapHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "StringFormatError" => "StringFormatError",
+ "StringLengthError" => "StringLengthError",
+ "AdGroupFeed.Status" => "AdGroupFeedStatus",
+ "AdGroupFeedError.Reason" => "AdGroupFeedErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AuthorizationError.Reason" => "AuthorizationErrorReason",
+ "ClientTermsError.Reason" => "ClientTermsErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "ConstantOperand.ConstantType" => "ConstantOperandConstantType",
+ "ConstantOperand.Unit" => "ConstantOperandUnit",
+ "DatabaseError.Reason" => "DatabaseErrorReason",
+ "DistinctError.Reason" => "DistinctErrorReason",
+ "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason",
+ "EntityNotFound.Reason" => "EntityNotFoundReason",
+ "Function.Operator" => "FunctionOperator",
+ "FunctionError.Reason" => "FunctionErrorReason",
+ "FunctionParsingError.Reason" => "FunctionParsingErrorReason",
+ "IdError.Reason" => "IdErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotEmptyError.Reason" => "NotEmptyErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "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",
+ "RequestContextOperand.ContextType" => "RequestContextOperandContextType",
+ "RequestError.Reason" => "RequestErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "SelectorError.Reason" => "SelectorErrorReason",
+ "SizeLimitError.Reason" => "SizeLimitErrorReason",
+ "SortOrder" => "SortOrder",
+ "StringFormatError.Reason" => "StringFormatErrorReason",
+ "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/v201705/AdGroupService.php b/src/Google/Api/Ads/AdWords/v201705/AdGroupService.php
new file mode 100755
index 000000000..d086279c0
--- /dev/null
+++ b/src/Google/Api/Ads/AdWords/v201705/AdGroupService.php
@@ -0,0 +1,6975 @@
+adGroupId = $adGroupId;
+ $this->labelId = $labelId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomParameter", false)) {
+ /**
+ * CustomParameter is used to map a custom parameter key to its value.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CustomParameter {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CustomParameter";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isRemove;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null, $isRemove = null) {
+ $this->key = $key;
+ $this->value = $value;
+ $this->isRemove = $isRemove;
+ }
+
+ }
+}
+
+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_v201705
+ * @subpackage v201705
+ */
+ class DateRange {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateRange";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $min;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $max;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("FieldPathElement", false)) {
+ /**
+ * A segment of a field path. Each dot in a field path defines a new segment.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FieldPathElement {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FieldPathElement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($field = null, $index = null) {
+ $this->field = $field;
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("OrderBy", false)) {
+ /**
+ * Specifies how the resulting information should be sorted.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class OrderBy {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OrderBy";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var tnsSortOrder
+ */
+ public $sortOrder;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Paging {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Paging";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numberResults;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Predicate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class String_StringMapEntry {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "String_StringMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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.
+ * For more information, see + * Targeting Settings.
+ * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetingSettingDetail { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TargetingSettingDetail"; + + /** + * @access public + * @var tnsCriterionTypeGroup + */ + public $criterionTypeGroup; + + /** + * @access public + * @var boolean + */ + public $targetAll; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomParameters", false)) { + /** + * CustomParameters holds a list of CustomParameters to be treated as a map. + * It has a special field used to indicate that the current map should be cleared and replaced + * with this new map. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameters { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameters"; + + /** + * @access public + * @var CustomParameter[] + */ + public $parameters; + + /** + * @access public + * @var boolean + */ + public $doReplace; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parameters = null, $doReplace = null) { + $this->parameters = $parameters; + $this->doReplace = $doReplace; + } + + } +} + +if (!class_exists("Setting", false)) { + /** + * Base type for AdWords campaign settings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Setting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelAttribute", false)) { + /** + * Base type for AdWords label attributes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelAttribute"; + + /** + * @access public + * @var string + */ + public $LabelAttributeType; + private $_parameterMap = array( + "LabelAttribute.Type" => "LabelAttributeType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($LabelAttributeType = null) { + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("Bids", false)) { + /** + * Base class for all bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("Label", false)) { + /** + * Represents a label that can be attached to entities such as campaign, ad group, ads, + * criterion etc. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var tnsLabelStatus + */ + public $status; + + /** + * @access public + * @var LabelAttribute + */ + public $attribute; + + /** + * @access public + * @var string + */ + public $LabelType; + private $_parameterMap = array( + "Label.Type" => "LabelType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("Selector", false)) { + /** + * A generic selector to specify the type of information to return. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + *Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and 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 effective + * bidding strategy will be used. Effective bidding strategy is considered to be the directly + * attached strategy or inherited strategy from above level(s) when there is no directly attached + * strategy. + * + *
For more information on flexible bidding, visit the + * Help Center. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingStrategyConfiguration { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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; + + /** + * @access public + * @var double + */ + public $targetRoasOverride; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $targetRoasOverride = null) { + $this->biddingStrategyId = $biddingStrategyId; + $this->biddingStrategyName = $biddingStrategyName; + $this->biddingStrategyType = $biddingStrategyType; + $this->biddingStrategySource = $biddingStrategySource; + $this->biddingScheme = $biddingScheme; + $this->bids = $bids; + $this->targetRoasOverride = $targetRoasOverride; + } + + } +} + +if (!class_exists("AdGroup", false)) { + /** + * Represents an ad group. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroup { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 Label[] + */ + public $labels; + + /** + * @access public + * @var String_StringMapEntry[] + */ + public $forwardCompatibilityMap; + + /** + * @access public + * @var BiddingStrategyConfiguration + */ + public $biddingStrategyConfiguration; + + /** + * @access public + * @var tnsCriterionTypeGroup + */ + public $contentBidCriterionTypeGroup; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * @access public + * @var integer + */ + public $baseAdGroupId; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $urlCustomParameters; + + /** + * @access public + * @var tnsAdGroupType + */ + public $adGroupType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $labels = null, $forwardCompatibilityMap = null, $biddingStrategyConfiguration = null, $contentBidCriterionTypeGroup = null, $baseCampaignId = null, $baseAdGroupId = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $adGroupType = null) { + $this->id = $id; + $this->campaignId = $campaignId; + $this->campaignName = $campaignName; + $this->name = $name; + $this->status = $status; + $this->settings = $settings; + $this->labels = $labels; + $this->forwardCompatibilityMap = $forwardCompatibilityMap; + $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; + $this->contentBidCriterionTypeGroup = $contentBidCriterionTypeGroup; + $this->baseCampaignId = $baseCampaignId; + $this->baseAdGroupId = $baseAdGroupId; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->adGroupType = $adGroupType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupServiceErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupServiceError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroup.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdGroupType", false)) { + /** + * Defines types of an ad group, specific to a particular campaign channel type. + * This type drives validations that restrict which entities can be added to the ad + * group. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BidSource { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BidSource"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BiddingErrorsReason", false)) { + /** + * Cannot transition to new bidding strategy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingErrorsReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BiddingStrategySource { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingStrategySource"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. See {@linkplain BiddingStrategyConfiguration} + * for additional information. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingStrategyType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingStrategyType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionTypeGroup { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionTypeGroup"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ForwardCompatibilityErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ForwardCompatibilityError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("LabelStatus", false)) { + /** + * The label is enabled. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("MultiplierErrorReason", false)) { + /** + * Reason for bidding error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MultiplierErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MultiplierError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PageOnePromotedBiddingSchemeStrategyGoal { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SettingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SettingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StatsQueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateLabel", 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. + * + * + * + * Adds labels to the {@linkplain AdGroup ad group} or removes {@linkplain Label label}s from the + * {@linkplain AdGroup ad group}. + *{@code ADD} -- Apply an existing label to an existing {@linkplain AdGroup ad group}. + * The {@code adGroupId} must reference an existing {@linkplain AdGroup ad group}. The + * {@code labelId} must reference an existing {@linkplain Label label}. + *
{@code REMOVE} -- Removes the link between the specified {@linkplain AdGroup ad group} + * and a {@linkplain Label label}.
+ * + * @param operations the operations to apply. + * @return a list of {@linkplain AdGroupLabel}s where each entry in the list is the result of + * applying the operation in the input list with the same index. For an + * add operation, the returned AdGroupLabel contains the AdGroupId and the LabelId. + * In the case of a remove operation, the returned AdGroupLabel will only have AdGroupId. + * @throws ApiException when there are one or more errors with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupLabelOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateLabelResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabelResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupLabelReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupLabelOperation", false)) { + /** + * Operations for adding/removing labels from AdGroup. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupLabelOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupLabelOperation"; + + /** + * @access public + * @var AdGroupLabel + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupServiceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupServiceError"; + + /** + * @access public + * @var tnsAdGroupServiceErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class BiddingErrors extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors"; + + /** + * @access public + * @var tnsBiddingErrorsReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("TextLabel", false)) { + /** + * Represent a display label entry. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TextLabel extends Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TextLabel"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + parent::__construct(); + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("DisplayAttribute", false)) { + /** + * Attributes for Text Labels. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DisplayAttribute extends LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisplayAttribute"; + + /** + * @access public + * @var string + */ + public $backgroundColor; + + /** + * @access public + * @var string + */ + public $description; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($backgroundColor = null, $description = null, $LabelAttributeType = null) { + parent::__construct(); + $this->backgroundColor = $backgroundColor; + $this->description = $description; + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EnhancedCpcBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EnhancedCpcBiddingScheme"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ExplorerAutoOptimizerSetting", false)) { + /** + * Settings for the + * Display Campaign Optimizer, + * initially termed "Explorer". + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExplorerAutoOptimizerSetting extends Setting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExplorerAutoOptimizerSetting"; + + /** + * @access public + * @var boolean + */ + public $optIn; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ForwardCompatibilityError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ForwardCompatibilityError"; + + /** + * @access public + * @var tnsForwardCompatibilityErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ManualCpcBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ManualCpcBiddingScheme"; + + /** + * @access public + * @var boolean + */ + public $enhancedCpcEnabled; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManualCpmBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ManualCpmBiddingScheme"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MultiplierError", false)) { + /** + * Represents errors in bid multipliers. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MultiplierError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MultiplierError"; + + /** + * @access public + * @var tnsMultiplierErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SettingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SettingError"; + + /** + * @access public + * @var tnsSettingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StatsQueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError"; + + /** + * @access public + * @var tnsStatsQueryErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class TargetingSetting extends Setting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TargetingSetting"; + + /** + * @access public + * @var TargetingSettingDetail[] + */ + public $details; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("UrlError", false)) { + /** + * Url Validation errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CpaBid", false)) { + /** + * CPA Bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CpaBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpaBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $bidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($bid = null, $bidSource = null, $BidsType = null) { + parent::__construct(); + $this->bid = $bid; + $this->bidSource = $bidSource; + $this->BidsType = $BidsType; + } + + } +} + +if (!class_exists("CpcBid", false)) { + /** + * Manual click based bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CpcBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpcBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $cpcBidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($bid = null, $cpcBidSource = null, $BidsType = null) { + parent::__construct(); + $this->bid = $bid; + $this->cpcBidSource = $cpcBidSource; + $this->BidsType = $BidsType; + } + + } +} + +if (!class_exists("CpmBid", false)) { + /** + * Manual impression based bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CpmBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpmBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $cpmBidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class PageOnePromotedBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 $raiseBidWhenBudgetConstrained; + + /** + * @access public + * @var boolean + */ + public $raiseBidWhenLowQualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $raiseBidWhenBudgetConstrained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { + parent::__construct(); + $this->strategyGoal = $strategyGoal; + $this->bidCeiling = $bidCeiling; + $this->bidModifier = $bidModifier; + $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; + $this->raiseBidWhenBudgetConstrained = $raiseBidWhenBudgetConstrained; + $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; + $this->BiddingSchemeType = $BiddingSchemeType; + } + + } +} + +if (!class_exists("TargetCpaBiddingScheme", false)) { + /** + * Target CPA is an automated bid + * strategy that sets bids to help get as many conversions as possible at the target cost per + * acquisition (CPA) you set. + * + *A {@linkplain #targetCpa target CPA} must be set for the strategy, but can also be optionally + * set for individual ad groups in the strategy. Ad group targets, if set, will override strategy + * targets. + * + *
Note that campaigns must meet + * specific eligibility requirements + * before they can use the Target CPA bid strategy. + * This is disabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetCpaBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TargetOutrankShareBiddingScheme", false)) { + /** + * Target Outrank Share bidding strategy is an automated bidding strategy which automatically sets + * bids so that the customer's ads appear above a specified competitors' ads for a specified target + * fraction of the advertiser's eligible impressions on Google.com. + * This is disabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetOutrankShareBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TargetOutrankShareBiddingScheme"; + + /** + * @access public + * @var integer + */ + public $targetOutrankShare; + + /** + * @access public + * @var string + */ + public $competitorDomain; + + /** + * @access public + * @var Money + */ + public $maxCpcBidCeiling; + + /** + * @access public + * @var boolean + */ + public $bidChangesForRaisesOnly; + + /** + * @access public + * @var boolean + */ + public $raiseBidWhenLowQualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($targetOutrankShare = null, $competitorDomain = null, $maxCpcBidCeiling = null, $bidChangesForRaisesOnly = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { + parent::__construct(); + $this->targetOutrankShare = $targetOutrankShare; + $this->competitorDomain = $competitorDomain; + $this->maxCpcBidCeiling = $maxCpcBidCeiling; + $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; + $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; + $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_v201705
+ * @subpackage v201705
+ */
+ class TargetRoasBiddingScheme extends BiddingScheme {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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 is an automated
+ * bid strategy that sets your bids to help get as many clicks as possible within your budget.
+ * This is disabled for AdX.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class TargetSpendBiddingScheme extends BiddingScheme {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "TargetSpendBiddingScheme";
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $bidCeiling;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $spendTarget;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $enhancedCpcEnabled;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($bidCeiling = null, $spendTarget = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) {
+ parent::__construct();
+ $this->bidCeiling = $bidCeiling;
+ $this->spendTarget = $spendTarget;
+ $this->enhancedCpcEnabled = $enhancedCpcEnabled;
+ $this->BiddingSchemeType = $BiddingSchemeType;
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("AdGroupLabelReturnValue", false)) {
+ /**
+ * A container for return values from the {@link AdGroupService#mutateLabel} call.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class AdGroupLabelReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupLabelReturnValue";
+
+ /**
+ * @access public
+ * @var AdGroupLabel[]
+ */
+ public $value;
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $partialFailureErrors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("AdGroupOperation", false)) {
+ /**
+ * AdGroup operations for adding/updating/removing adgroups.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class AdGroupOperation extends Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupOperation";
+
+ /**
+ * @access public
+ * @var AdGroup
+ */
+ public $operand;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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 ad groups resulting from the filtering and paging of the
+ * {@link AdGroupService#get} call.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class AdGroupPage extends Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupPage";
+
+ /**
+ * @access public
+ * @var AdGroup[]
+ */
+ public $entries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdGroupReturnValue";
+
+ /**
+ * @access public
+ * @var AdGroup[]
+ */
+ public $value;
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $partialFailureErrors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DoubleValue extends NumberValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DoubleValue";
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $number;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class LongValue extends NumberValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "LongValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $number;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdGroupService extends AdWordsSoapClient {
+
+ const SERVICE_NAME = "AdGroupService";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/AdGroupService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "AdGroupLabel" => "AdGroupLabel",
+ "AdGroupLabelOperation" => "AdGroupLabelOperation",
+ "AdGroupServiceError" => "AdGroupServiceError",
+ "AdxError" => "AdxError",
+ "AuthenticationError" => "AuthenticationError",
+ "AuthorizationError" => "AuthorizationError",
+ "BiddingErrors" => "BiddingErrors",
+ "TextLabel" => "TextLabel",
+ "DisplayAttribute" => "DisplayAttribute",
+ "ClientTermsError" => "ClientTermsError",
+ "CustomParameter" => "CustomParameter",
+ "DateError" => "DateError",
+ "DateRange" => "DateRange",
+ "DistinctError" => "DistinctError",
+ "DoubleValue" => "DoubleValue",
+ "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme",
+ "EntityAccessDenied" => "EntityAccessDenied",
+ "EntityCountLimitExceeded" => "EntityCountLimitExceeded",
+ "EntityNotFound" => "EntityNotFound",
+ "ExplorerAutoOptimizerSetting" => "ExplorerAutoOptimizerSetting",
+ "FieldPathElement" => "FieldPathElement",
+ "ForwardCompatibilityError" => "ForwardCompatibilityError",
+ "IdError" => "IdError",
+ "InternalApiError" => "InternalApiError",
+ "LongValue" => "LongValue",
+ "ManualCpcBiddingScheme" => "ManualCpcBiddingScheme",
+ "ManualCpmBiddingScheme" => "ManualCpmBiddingScheme",
+ "Money" => "Money",
+ "MultiplierError" => "MultiplierError",
+ "NewEntityCreationError" => "NewEntityCreationError",
+ "NotEmptyError" => "NotEmptyError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OperationAccessDenied" => "OperationAccessDenied",
+ "OperatorError" => "OperatorError",
+ "OrderBy" => "OrderBy",
+ "Paging" => "Paging",
+ "Predicate" => "Predicate",
+ "QueryError" => "QueryError",
+ "QuotaCheckError" => "QuotaCheckError",
+ "RangeError" => "RangeError",
+ "RateExceededError" => "RateExceededError",
+ "ReadOnlyError" => "ReadOnlyError",
+ "RejectedError" => "RejectedError",
+ "RequestError" => "RequestError",
+ "RequiredError" => "RequiredError",
+ "SelectorError" => "SelectorError",
+ "SettingError" => "SettingError",
+ "SizeLimitError" => "SizeLimitError",
+ "SoapHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "StatsQueryError" => "StatsQueryError",
+ "StringFormatError" => "StringFormatError",
+ "StringLengthError" => "StringLengthError",
+ "String_StringMapEntry" => "String_StringMapEntry",
+ "TargetingSettingDetail" => "TargetingSettingDetail",
+ "TargetingSetting" => "TargetingSetting",
+ "UrlError" => "UrlError",
+ "ComparableValue" => "ComparableValue",
+ "CpaBid" => "CpaBid",
+ "CpcBid" => "CpcBid",
+ "CpmBid" => "CpmBid",
+ "CustomParameters" => "CustomParameters",
+ "DatabaseError" => "DatabaseError",
+ "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme",
+ "Setting" => "Setting",
+ "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme",
+ "TargetOutrankShareBiddingScheme" => "TargetOutrankShareBiddingScheme",
+ "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme",
+ "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApplicationException" => "ApplicationException",
+ "LabelAttribute" => "LabelAttribute",
+ "Bids" => "Bids",
+ "Label" => "Label",
+ "Selector" => "Selector",
+ "AdGroupLabelReturnValue" => "AdGroupLabelReturnValue",
+ "BiddingScheme" => "BiddingScheme",
+ "BiddingStrategyConfiguration" => "BiddingStrategyConfiguration",
+ "AdGroup" => "AdGroup",
+ "AdGroupOperation" => "AdGroupOperation",
+ "AdGroupPage" => "AdGroupPage",
+ "AdGroupReturnValue" => "AdGroupReturnValue",
+ "ListReturnValue" => "ListReturnValue",
+ "Operation" => "Operation",
+ "Page" => "Page",
+ "AdGroupServiceError.Reason" => "AdGroupServiceErrorReason",
+ "AdGroup.Status" => "AdGroupStatus",
+ "AdGroupType" => "AdGroupType",
+ "AdxError.Reason" => "AdxErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AuthorizationError.Reason" => "AuthorizationErrorReason",
+ "BidSource" => "BidSource",
+ "BiddingErrors.Reason" => "BiddingErrorsReason",
+ "BiddingStrategySource" => "BiddingStrategySource",
+ "BiddingStrategyType" => "BiddingStrategyType",
+ "ClientTermsError.Reason" => "ClientTermsErrorReason",
+ "CriterionTypeGroup" => "CriterionTypeGroup",
+ "DatabaseError.Reason" => "DatabaseErrorReason",
+ "DateError.Reason" => "DateErrorReason",
+ "DistinctError.Reason" => "DistinctErrorReason",
+ "EntityAccessDenied.Reason" => "EntityAccessDeniedReason",
+ "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason",
+ "EntityNotFound.Reason" => "EntityNotFoundReason",
+ "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason",
+ "IdError.Reason" => "IdErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "Label.Status" => "LabelStatus",
+ "MultiplierError.Reason" => "MultiplierErrorReason",
+ "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",
+ "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",
+ "StringFormatError.Reason" => "StringFormatErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "UrlError.Reason" => "UrlErrorReason",
+ "get" => "AdGroupServiceGet",
+ "getResponse" => "AdGroupServiceGetResponse",
+ "mutate" => "AdGroupServiceMutate",
+ "mutateResponse" => "AdGroupServiceMutateResponse",
+ "mutateLabel" => "MutateLabel",
+ "mutateLabelResponse" => "MutateLabelResponse",
+ "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 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. + * + * + * + * Adds labels to the {@linkplain AdGroup ad group} or removes {@linkplain Label label}s from the + * {@linkplain AdGroup ad group}. + *{@code ADD} -- Apply an existing label to an existing {@linkplain AdGroup ad group}. + * The {@code adGroupId} must reference an existing {@linkplain AdGroup ad group}. The + * {@code labelId} must reference an existing {@linkplain Label label}. + *
{@code REMOVE} -- Removes the link between the specified {@linkplain AdGroup ad group} + * and a {@linkplain Label label}.
+ * + * @param operations the operations to apply. + * @return a list of {@linkplain AdGroupLabel}s where each entry in the list is the result of + * applying the operation in the input list with the same index. For an + * add operation, the returned AdGroupLabel contains the AdGroupId and the LabelId. + * In the case of a remove operation, the returned AdGroupLabel will only have AdGroupId. + * @throws ApiException when there are one or more errors with the request. + */ + public function mutateLabel($operations) { + $args = new MutateLabel($operations); + $result = $this->__soapCall("mutateLabel", 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/v201607/ExpressBusinessService.php b/src/Google/Api/Ads/AdWords/v201705/AdParamService.php similarity index 75% rename from src/Google/Api/Ads/AdWords/v201607/ExpressBusinessService.php rename to src/Google/Api/Ads/AdWords/v201705/AdParamService.php index 8bff73099..2dd614401 100755 --- a/src/Google/Api/Ads/AdWords/v201607/ExpressBusinessService.php +++ b/src/Google/Api/Ads/AdWords/v201705/AdParamService.php @@ -1,6 +1,6 @@ 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
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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiError"; /** @@ -411,6 +725,12 @@ class ApiError { */ public $fieldPath; + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + /** * @access public * @var string @@ -477,8 +797,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -490,16 +811,12 @@ public function __construct($fieldPath = null, $trigger = null, $errorString = n if (!class_exists("ApplicationException", false)) { /** * Base class for exceptions. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApplicationException"; /** @@ -573,16 +890,12 @@ public function __construct($message = null, $ApplicationExceptionType = null) { 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Selector { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Selector"; /** @@ -642,65 +955,16 @@ public function __construct($fields = null, $predicates = null, $dateRange = nul } } -if (!class_exists("Operation", false)) { +if (!class_exists("AdParamErrorReason", false)) { /** - * This represents an operation that includes an operator and an operand - * specified type. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The same ad param cannot be specified in multiple operations + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - 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]}; - } + class AdParamErrorReason { - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdParamError.Reason"; /** * Gets the namesapce of this class @@ -718,72 +982,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($operator = null, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; + public function __construct() { } } } -if (!class_exists("Page", false)) { +if (!class_exists("AdxErrorReason", false)) { /** - * Contains the results from a get call. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the AdX error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - 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]}; - } + class AdxErrorReason { - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; /** * Gets the namesapce of this class @@ -801,9 +1015,7 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; + public function __construct() { } } @@ -812,16 +1024,12 @@ public function __construct($totalNumEntries = null, $PageType = null) { if (!class_exists("AuthenticationErrorReason", false)) { /** * The single reason for the authentication failure. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError.Reason"; /** @@ -849,55 +1057,13 @@ public function __construct() { if (!class_exists("AuthorizationErrorReason", false)) { /** * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201607 - * @subpackage v201607 - */ - class ClientTermsErrorReason { + class AuthorizationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ClientTermsError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; /** * Gets the namesapce of this class @@ -921,20 +1087,17 @@ public function __construct() { } } -if (!class_exists("DatabaseErrorReason", false)) { +if (!class_exists("ClientTermsErrorReason", false)) { /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Enums for the various reasons an error can be thrown as a result of + * ClientTerms violation. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DatabaseErrorReason { + class ClientTermsErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DatabaseError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; /** * Gets the namesapce of this class @@ -958,20 +1121,16 @@ public function __construct() { } } -if (!class_exists("DateErrorReason", false)) { +if (!class_exists("DatabaseErrorReason", false)) { /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the database error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateErrorReason { + class DatabaseErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DateError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; /** * Gets the namesapce of this class @@ -998,16 +1157,12 @@ public function __construct() { if (!class_exists("DistinctErrorReason", false)) { /** * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DistinctErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DistinctError.Reason"; /** @@ -1035,16 +1190,12 @@ public function __construct() { if (!class_exists("IdErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class IdErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "IdError.Reason"; /** @@ -1072,16 +1223,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class InternalApiErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "InternalApiError.Reason"; /** @@ -1109,16 +1256,12 @@ public function __construct() { if (!class_exists("NotEmptyErrorReason", false)) { /** * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NotEmptyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NotEmptyError.Reason"; /** @@ -1146,16 +1289,12 @@ public function __construct() { if (!class_exists("NullErrorReason", false)) { /** * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NullErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NullError.Reason"; /** @@ -1183,16 +1322,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperationAccessDeniedReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperationAccessDenied.Reason"; /** @@ -1220,16 +1355,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Operator { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Operator"; /** @@ -1257,16 +1388,12 @@ public function __construct() { if (!class_exists("OperatorErrorReason", false)) { /** * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperatorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperatorError.Reason"; /** @@ -1294,16 +1421,12 @@ public function __construct() { if (!class_exists("PredicateOperator", false)) { /** * Defines the valid set of operators. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class PredicateOperator { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Predicate.Operator"; /** @@ -1332,16 +1455,12 @@ public function __construct() { /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class QuotaCheckErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "QuotaCheckError.Reason"; /** @@ -1369,16 +1488,12 @@ public function __construct() { if (!class_exists("RangeErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RangeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RangeError.Reason"; /** @@ -1406,16 +1521,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RateExceededErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RateExceededError.Reason"; /** @@ -1443,16 +1554,12 @@ public function __construct() { if (!class_exists("ReadOnlyErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ReadOnlyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ReadOnlyError.Reason"; /** @@ -1480,16 +1587,12 @@ public function __construct() { if (!class_exists("RejectedErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RejectedErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RejectedError.Reason"; /** @@ -1517,16 +1620,12 @@ public function __construct() { if (!class_exists("RequestErrorReason", false)) { /** * Error reason is unknown. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequestErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequestError.Reason"; /** @@ -1554,16 +1653,12 @@ public function __construct() { if (!class_exists("RequiredErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequiredErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequiredError.Reason"; /** @@ -1591,16 +1686,12 @@ public function __construct() { if (!class_exists("SelectorErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SelectorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SelectorError.Reason"; /** @@ -1628,16 +1719,12 @@ public function __construct() { if (!class_exists("SizeLimitErrorReason", false)) { /** * The reasons for Ad Scheduling errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SizeLimitErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SizeLimitError.Reason"; /** @@ -1665,16 +1752,12 @@ public function __construct() { if (!class_exists("SortOrder", false)) { /** * Possible orders of sorting. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SortOrder { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SortOrder"; /** @@ -1702,16 +1785,12 @@ public function __construct() { if (!class_exists("StringFormatErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringFormatErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringFormatError.Reason"; /** @@ -1730,212 +1809,22 @@ 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_v201607 - * @subpackage v201607 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "StringLengthError.Reason"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201607 - * @subpackage v201607 - */ - class ExpressBusinessError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "ExpressBusinessError"; - - /** - * @access public - * @var tnsExpressBusinessErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ExpressBusiness", false)) { - /** - * Information about an AdWords Express business. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 - */ - class ExpressBusiness { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - 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 string - */ - public $website; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($id = null, $name = null, $status = null, $website = null) { - $this->id = $id; - $this->name = $name; - $this->status = $status; - $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
.
Note: {@code ADD} is not supported. Use {@code SET} + * for new ad parameters.
* - * Retrieves the Express businesses that meet the criteria set in the given selector. + *default-value
+ *
specified in the ad text will be used.Note: {@code ADD} is not supported. Use {@code SET} + * for new ad parameters.
* - * Performs the given {@link ExpressBusinessOperation}. + *default-value
+ *
specified in the ad text will be used.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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotWhitelistedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotWhitelistedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AddressInfo", false)) { + /** + * Address identifier of a user list member. Accessible for whitelisted customers only. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AddressInfo { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "AddressInfo"; + + /** + * @access public + * @var string + */ + public $hashedFirstName; + + /** + * @access public + * @var string + */ + public $hashedLastName; + + /** + * @access public + * @var string + */ + public $countryCode; + + /** + * @access public + * @var string + */ + public $zipCode; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($hashedFirstName = null, $hashedLastName = null, $countryCode = null, $zipCode = null) { + $this->hashedFirstName = $hashedFirstName; + $this->hashedLastName = $hashedLastName; + $this->countryCode = $countryCode; + $this->zipCode = $zipCode; + } + + } +} + +if (!class_exists("CollectionSizeError", false)) { + /** + * Errors associated with the size of the given collection being + * out of bounds. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class UserListConversionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DataUploadResult", false)) { + /** + * A class represents the data upload result for CRM based lists. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DataUploadResult { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "DataUploadResult"; + + /** + * @access public + * @var tnsUserListUploadStatus + */ + public $uploadStatus; + + /** + * @access public + * @var tnsUserListUploadStatus + */ + public $removeAllStatus; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($uploadStatus = null, $removeAllStatus = null) { + $this->uploadStatus = $uploadStatus; + $this->removeAllStatus = $removeAllStatus; + } + + } +} + +if (!class_exists("DateKey", false)) { + /** + * A custom parameter of date type. Supported date formats are listed as follows: + *+ * If time zone information is not present in the value, + * it is assumed to be PST. If time value is not specified, + * it defaults to midnight of the day. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateKey { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "DateKey"; + + /** + * @access public + * @var string + */ + public $name; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($name = null) { + $this->name = $name; + } + + } +} + +if (!class_exists("DateRuleItem", false)) { + /** + * An atomic rule fragment composing of date operation. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRuleItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "DateRuleItem"; + + /** + * @access public + * @var DateKey + */ + public $key; + + /** + * @access public + * @var tnsDateRuleItemDateOperator + */ + public $op; + + /** + * @access public + * @var string + */ + public $value; + + /** + * @access public + * @var RelativeDate + */ + public $relativeValue; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $op = null, $value = null, $relativeValue = null) { + $this->key = $key; + $this->op = $op; + $this->value = $value; + $this->relativeValue = $relativeValue; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class LogicalUserListOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "LogicalUserListOperand"; + + /** + * @access public + * @var UserList + */ + public $UserList; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("Member", false)) { + /** + * Class that holds user list member identifiers. Multiple member identifiers of same member could + * be provided at the same time. At least one identifier is required to be provided. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Member { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "Member"; + + /** + * @access public + * @var string + */ + public $hashedEmail; + + /** + * @access public + * @var string + */ + public $mobileId; + + /** + * @access public + * @var AddressInfo + */ + public $addressInfo; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($hashedEmail = null, $mobileId = null, $addressInfo = null) { + $this->hashedEmail = $hashedEmail; + $this->mobileId = $mobileId; + $this->addressInfo = $addressInfo; + } + + } +} + +if (!class_exists("MutateMembersError", false)) { + /** + * Represents possible error codes from {@code UserListService#mutateMembers}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateMembersError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "MutateMembersError"; + + /** + * @access public + * @var tnsMutateMembersErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("MutateMembersOperand", false)) { + /** + * Operand containing user list id and members to be added or removed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateMembersOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "MutateMembersOperand"; + + /** + * @access public + * @var integer + */ + public $userListId; + + /** + * @access public + * @var boolean + */ + public $removeAll; + + /** + * @access public + * @var Member[] + */ + public $membersList; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userListId = null, $removeAll = null, $membersList = null) { + $this->userListId = $userListId; + $this->removeAll = $removeAll; + $this->membersList = $membersList; + } + + } +} + +if (!class_exists("MutateMembersOperation", false)) { + /** + * Operation representing a request to add or remove members from a user list. + * The following {@link Operator}s are supported: ADD and REMOVE. The SET operator + * is not supported. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateMembersOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "MutateMembersOperation"; + + /** + * @access public + * @var MutateMembersOperand + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateMembersReturnValue", false)) { + /** + * A container for return value from {@code UserListService#mutateMembers} + * method. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateMembersReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "MutateMembersReturnValue"; + + /** + * @access public + * @var UserList[] + */ + public $userLists; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userLists = null) { + $this->userLists = $userLists; + } + + } +} + +if (!class_exists("NumberKey", false)) { + /** + * A custom parameter of type number. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NumberKey { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "NumberKey"; + + /** + * @access public + * @var string + */ + public $name; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($name = null) { + $this->name = $name; + } + + } +} + +if (!class_exists("NumberRuleItem", false)) { + /** + * An atomic rule fragment composing of number operation. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NumberRuleItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "NumberRuleItem"; + + /** + * @access public + * @var NumberKey + */ + public $key; + + /** + * @access public + * @var tnsNumberRuleItemNumberOperator + */ + public $op; + + /** + * @access public + * @var double + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $op = null, $value = null) { + $this->key = $key; + $this->op = $op; + $this->value = $value; + } + + } +} + +if (!class_exists("RelativeDate", false)) { + /** + * Date relative to NOW (the current date). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RelativeDate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "RelativeDate"; + + /** + * @access public + * @var integer + */ + public $offsetInDays; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($offsetInDays = null) { + $this->offsetInDays = $offsetInDays; + } + + } +} + +if (!class_exists("Rule", false)) { + /** + * A client defined rule based on custom parameters sent by web sites. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Rule { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "Rule"; + + /** + * @access public + * @var RuleItemGroup[] + */ + public $groups; + + /** + * @access public + * @var tnsUserListRuleTypeEnumsEnum + */ + public $ruleType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($groups = null, $ruleType = null) { + $this->groups = $groups; + $this->ruleType = $ruleType; + } + + } +} + +if (!class_exists("RuleItem", false)) { + /** + * An atomic rule fragment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RuleItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "RuleItem"; + + /** + * @access public + * @var DateRuleItem + */ + public $DateRuleItem; + + /** + * @access public + * @var NumberRuleItem + */ + public $NumberRuleItem; + + /** + * @access public + * @var StringRuleItem + */ + public $StringRuleItem; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($DateRuleItem = null, $NumberRuleItem = null, $StringRuleItem = null) { + $this->DateRuleItem = $DateRuleItem; + $this->NumberRuleItem = $NumberRuleItem; + $this->StringRuleItem = $StringRuleItem; + } + + } +} + +if (!class_exists("RuleItemGroup", false)) { + /** + * A group of rule items that are ANDed together before version V201705. + * Starting from version V201705, rule item groups will be grouped together based on + * {@link Rule#getRuleType()}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RuleItemGroup { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "RuleItemGroup"; + + /** + * @access public + * @var RuleItem[] + */ + public $items; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($items = null) { + $this->items = $items; + } + + } +} + +if (!class_exists("StringKey", false)) { + /** + * Custom parameter of type string. For websites, there are two built-in parameters + * URL (name = 'url__') and referrer URL (name = 'ref_url__'). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringKey { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "StringKey"; + + /** + * @access public + * @var string + */ + public $name; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($name = null) { + $this->name = $name; + } + + } +} + +if (!class_exists("StringRuleItem", false)) { + /** + * An atomic rule fragment composing of string operation. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringRuleItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "StringRuleItem"; + + /** + * @access public + * @var StringKey + */ + public $key; + + /** + * @access public + * @var tnsStringRuleItemStringOperator + */ + public $op; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $op = null, $value = null) { + $this->key = $key; + $this->op = $op; + $this->value = $value; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class UserList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + 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 tnsUserListType + */ + public $listType; + + /** + * @access public + * @var boolean + */ + public $isEligibleForSearch; + + /** + * @access public + * @var boolean + */ + public $isEligibleForDisplay; + + /** + * @access public + * @var tnsUserListClosingReason + */ + public $closingReason; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $listType = null, $isEligibleForSearch = null, $isEligibleForDisplay = null, $closingReason = 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->listType = $listType; + $this->isEligibleForSearch = $isEligibleForSearch; + $this->isEligibleForDisplay = $isEligibleForDisplay; + $this->closingReason = $closingReason; + $this->UserListType = $UserListType; + } + + } +} + +if (!class_exists("UserListError", false)) { + /** + * Represents possible error codes in UserListService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UserListError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListError"; + + /** + * @access public + * @var tnsUserListErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class UserListLogicalRule { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListLogicalRule"; + + /** + * @access public + * @var tnsUserListLogicalRuleOperator + */ + public $operator; + + /** + * @access public + * @var LogicalUserListOperand[] + */ + public $ruleOperands; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * The following {@link Operator}s are supported: ADD and SET. + * The REMOVE operator is not supported. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UserListOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListOperation"; + + /** + * @access public + * @var UserList + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class UserListPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListPage"; + + /** + * @access public + * @var UserList[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class UserListReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListReturnValue"; + + /** + * @access public + * @var UserList[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AccessReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "AccessReason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AccountUserListStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "AccountUserListStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class UserListConversionTypeCategory { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListConversionType.Category"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DateRuleItemDateOperator", false)) { + /** + * Supported rule operator for date type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRuleItemDateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "DateRuleItem.DateOperator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("MutateMembersErrorReason", false)) { + /** + * Reasons + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateMembersErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "MutateMembersError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("NumberRuleItemNumberOperator", false)) { + /** + * Supported operator for numbers. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NumberRuleItemNumberOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "NumberRuleItem.NumberOperator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("RuleBasedUserListPrepopulationStatus", false)) { + /** + * The status of pre-population + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RuleBasedUserListPrepopulationStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "RuleBasedUserList.PrepopulationStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "SizeRange"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringRuleItemStringOperator", false)) { + /** + * Supported operators for strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringRuleItemStringOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "StringRuleItem.StringOperator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UserListClosingReason", false)) { + /** + * Indicates the reason why the userlist was closed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UserListClosingReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListClosingReason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class UserListErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class UserListLogicalRuleOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListLogicalRule.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class UserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListMembershipStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UserListRuleTypeEnumsEnum", false)) { + /** + * Rule based userlist rule type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UserListRuleTypeEnumsEnum { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListRuleTypeEnums.Enum"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UserListType", false)) { + /** + * The user list types + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UserListType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UserListUploadStatus", false)) { + /** + * The status of the upload/remove-all operation on a CRM based UserList. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UserListUploadStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "UserListUploadStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdwordsUserListServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdwordsUserListServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var UserListPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 + * Remove - not supported + * + * @param operations the operations to apply + * @return a list of UserList objects + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdwordsUserListServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var UserListOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdwordsUserListServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var UserListReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateMembers", 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, REMOVE. + * + * + * + * Mutate members of user lists by either adding or removing their lists of members. + * The following {@link Operator}s are supported: ADD and REMOVE. The SET operator + * is not supported. + * + *
Note that operations cannot have same user list id but different operators. + * + * @param operations the mutate members operations to apply + * @return a list of UserList objects + * @throws ApiException when there are one or more errors with the request + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateMembers { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var MutateMembersOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateMembersResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateMembersResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var MutateMembersReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 user lists that match the query. + * + * @param query The SQL-like AWQL query string + * @return A list of UserList + * @throws ApiException when the query is invalid or there are errors processing the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var UserListPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotWhitelistedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotWhitelistedError"; + + /** + * @access public + * @var tnsNotWhitelistedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("QueryError", false)) { + /** + * A QueryError represents possible errors for query parsing and execution. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CrmBasedUserList", false)) { + /** + * UserList of CRM users provided by the advertiser. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CrmBasedUserList extends UserList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "CrmBasedUserList"; + + /** + * @access public + * @var DataUploadResult + */ + public $dataUploadResult; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($dataUploadResult = 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, $listType = null, $isEligibleForSearch = null, $isEligibleForDisplay = null, $closingReason = null, $UserListType = null) { + parent::__construct(); + $this->dataUploadResult = $dataUploadResult; + $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->listType = $listType; + $this->isEligibleForSearch = $isEligibleForSearch; + $this->isEligibleForDisplay = $isEligibleForDisplay; + $this->closingReason = $closingReason; + $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_v201705 + * @subpackage v201705 + */ + class LogicalUserList extends UserList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "LogicalUserList"; + + /** + * @access public + * @var UserListLogicalRule[] + */ + public $rules; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $listType = null, $isEligibleForSearch = null, $isEligibleForDisplay = null, $closingReason = 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->listType = $listType; + $this->isEligibleForSearch = $isEligibleForSearch; + $this->isEligibleForDisplay = $isEligibleForDisplay; + $this->closingReason = $closingReason; + $this->UserListType = $UserListType; + } + + } +} + +if (!class_exists("BasicUserList", false)) { + /** + * User list targeting as a collection of conversion types. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BasicUserList extends UserList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "BasicUserList"; + + /** + * @access public + * @var UserListConversionType[] + */ + public $conversionTypes; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $listType = null, $isEligibleForSearch = null, $isEligibleForDisplay = null, $closingReason = 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->listType = $listType; + $this->isEligibleForSearch = $isEligibleForSearch; + $this->isEligibleForDisplay = $isEligibleForDisplay; + $this->closingReason = $closingReason; + $this->UserListType = $UserListType; + } + + } +} + +if (!class_exists("RuleBasedUserList", false)) { + /** + * Representation of a userlist that is generated by a rule. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RuleBasedUserList extends UserList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + const XSI_TYPE = "RuleBasedUserList"; + + /** + * @access public + * @var tnsRuleBasedUserListPrepopulationStatus + */ + public $prepopulationStatus; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($prepopulationStatus = 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, $listType = null, $isEligibleForSearch = null, $isEligibleForDisplay = null, $closingReason = null, $UserListType = null) { + parent::__construct(); + $this->prepopulationStatus = $prepopulationStatus; + $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->listType = $listType; + $this->isEligibleForSearch = $isEligibleForSearch; + $this->isEligibleForDisplay = $isEligibleForDisplay; + $this->closingReason = $closingReason; + $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_v201705 + * @subpackage v201705 + */ + class SimilarUserList extends UserList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $listType = null, $isEligibleForSearch = null, $isEligibleForDisplay = null, $closingReason = 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->listType = $listType; + $this->isEligibleForSearch = $isEligibleForSearch; + $this->isEligibleForDisplay = $isEligibleForDisplay; + $this->closingReason = $closingReason; + $this->UserListType = $UserListType; + } + + } +} + +if (!class_exists("DateSpecificRuleUserList", false)) { + /** + * Visitors of a page during specific dates. The visiting periods are defined as follows: + *
Note that operations cannot have same user list id but different operators. + * + * @param operations the mutate members operations to apply + * @return a list of UserList objects + * @throws ApiException when there are one or more errors with the request + */ + public function mutateMembers($operations) { + $args = new MutateMembers($operations); + $result = $this->__soapCall("mutateMembers", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns the list of user lists that match the query. + * + * @param query The SQL-like AWQL query string + * @return A list of UserList + * @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/v201705/BatchJobService.php b/src/Google/Api/Ads/AdWords/v201705/BatchJobService.php new file mode 100755 index 000000000..88802b394 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/BatchJobService.php @@ -0,0 +1,3674 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ProgressStats", false)) { + /** + * Statistics on the progress of a {@code BatchJob}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProgressStats { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProgressStats"; + + /** + * @access public + * @var integer + */ + public $numOperationsExecuted; + + /** + * @access public + * @var integer + */ + public $numOperationsSucceeded; + + /** + * @access public + * @var integer + */ + public $estimatedPercentExecuted; + + /** + * @access public + * @var integer + */ + public $numResultsWritten; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($numOperationsExecuted = null, $numOperationsSucceeded = null, $estimatedPercentExecuted = null, $numResultsWritten = null) { + $this->numOperationsExecuted = $numOperationsExecuted; + $this->numOperationsSucceeded = $numOperationsSucceeded; + $this->estimatedPercentExecuted = $estimatedPercentExecuted; + $this->numResultsWritten = $numResultsWritten; + } + + } +} + +if (!class_exists("SoapRequestHeader", false)) { + /** + * Defines the required and optional elements within the header of a SOAP request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TemporaryUrl", false)) { + /** + * A URL that expires at a particular time. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TemporaryUrl { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TemporaryUrl"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * @access public + * @var string + */ + public $expiration; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($url = null, $expiration = null) { + $this->url = $url; + $this->expiration = $expiration; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("BatchJob", false)) { + /** + * Represents a large mutation job. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJob { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BatchJob"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var tnsBatchJobStatus + */ + public $status; + + /** + * @access public + * @var ProgressStats + */ + public $progressStats; + + /** + * @access public + * @var TemporaryUrl + */ + public $uploadUrl; + + /** + * @access public + * @var TemporaryUrl + */ + public $downloadUrl; + + /** + * @access public + * @var BatchJobProcessingError[] + */ + public $processingErrors; + + /** + * @access public + * @var integer + */ + public $diskUsageQuotaBalance; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $status = null, $progressStats = null, $uploadUrl = null, $downloadUrl = null, $processingErrors = null, $diskUsageQuotaBalance = null) { + $this->id = $id; + $this->status = $status; + $this->progressStats = $progressStats; + $this->uploadUrl = $uploadUrl; + $this->downloadUrl = $downloadUrl; + $this->processingErrors = $processingErrors; + $this->diskUsageQuotaBalance = $diskUsageQuotaBalance; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BatchJobErrorReason", false)) { + /** + * The reason for the error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BatchJobError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BatchJobProcessingErrorReason", false)) { + /** + * The reason for the error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobProcessingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BatchJobProcessingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BatchJobStatus", false)) { + /** + * The current status of a BatchJob. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BatchJobStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BatchJobServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Query the status of existing {@code BatchJob}s. + * + * @param selector The selector specifying the {@code BatchJob}s to return. + * @return The list of selected jobs. + * @throws ApiException + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("BatchJobServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BatchJobPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("BatchJobServiceMutate", 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. + * + * + * + * Creates or updates a {@code BatchJob}. + * + *Note: {@link BatchJobOperation} does not support the + * {@code REMOVE} operator. It is not necessary to remove BatchJobs. + * + * @param operations A list of operations. + * @return The list of created or updated jobs. + * @throws ApiException + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BatchJobOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("BatchJobServiceMutateResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BatchJobReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 {@code BatchJob}s that match the query. + * + * @param query The SQL-like AWQL query string. + * @return The list of selected jobs. + * @throws ApiException if problems occur while parsing the query or fetching + * batchjob information. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BatchJobPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("BatchJobError", false)) { + /** + * An error related to a {@code BatchJob}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BatchJobError"; + + /** + * @access public + * @var tnsBatchJobErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("BatchJobProcessingError", false)) { + /** + * An error related to processing a {@code BatchJob}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BatchJobProcessingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BatchJobProcessingError"; + + /** + * @access public + * @var tnsBatchJobProcessingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("BatchJobOperation", false)) { + /** + * An operation on a {@code BatchJob}. + * + *
Note: Only the ADD
and SET
+ * operators are supported.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class BatchJobOperation extends Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BatchJobOperation";
+
+ /**
+ * @access public
+ * @var BatchJob
+ */
+ public $operand;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("BatchJobPage", false)) {
+ /**
+ * A page of {@code BatchJob}s.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class BatchJobPage extends Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BatchJobPage";
+
+ /**
+ * @access public
+ * @var BatchJob[]
+ */
+ public $entries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("BatchJobReturnValue", false)) {
+ /**
+ * A container for return values from the BatchJobService.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class BatchJobReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BatchJobReturnValue";
+
+ /**
+ * @access public
+ * @var BatchJob[]
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("BatchJobService", false)) {
+ /**
+ * BatchJobService
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class BatchJobService extends AdWordsSoapClient {
+
+ const SERVICE_NAME = "BatchJobService";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/BatchJobService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/BatchJobService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "AuthenticationError" => "AuthenticationError",
+ "AuthorizationError" => "AuthorizationError",
+ "BatchJobError" => "BatchJobError",
+ "BatchJobProcessingError" => "BatchJobProcessingError",
+ "ClientTermsError" => "ClientTermsError",
+ "DateRange" => "DateRange",
+ "DistinctError" => "DistinctError",
+ "FieldPathElement" => "FieldPathElement",
+ "IdError" => "IdError",
+ "InternalApiError" => "InternalApiError",
+ "NotEmptyError" => "NotEmptyError",
+ "OperationAccessDenied" => "OperationAccessDenied",
+ "OperatorError" => "OperatorError",
+ "OrderBy" => "OrderBy",
+ "Paging" => "Paging",
+ "Predicate" => "Predicate",
+ "ProgressStats" => "ProgressStats",
+ "QuotaCheckError" => "QuotaCheckError",
+ "RangeError" => "RangeError",
+ "RateExceededError" => "RateExceededError",
+ "ReadOnlyError" => "ReadOnlyError",
+ "RejectedError" => "RejectedError",
+ "RequestError" => "RequestError",
+ "RequiredError" => "RequiredError",
+ "SelectorError" => "SelectorError",
+ "SizeLimitError" => "SizeLimitError",
+ "SoapHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "StringFormatError" => "StringFormatError",
+ "StringLengthError" => "StringLengthError",
+ "TemporaryUrl" => "TemporaryUrl",
+ "DatabaseError" => "DatabaseError",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApplicationException" => "ApplicationException",
+ "BatchJob" => "BatchJob",
+ "BatchJobOperation" => "BatchJobOperation",
+ "BatchJobPage" => "BatchJobPage",
+ "BatchJobReturnValue" => "BatchJobReturnValue",
+ "ListReturnValue" => "ListReturnValue",
+ "Operation" => "Operation",
+ "Page" => "Page",
+ "Selector" => "Selector",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AuthorizationError.Reason" => "AuthorizationErrorReason",
+ "BatchJobError.Reason" => "BatchJobErrorReason",
+ "BatchJobProcessingError.Reason" => "BatchJobProcessingErrorReason",
+ "BatchJobStatus" => "BatchJobStatus",
+ "ClientTermsError.Reason" => "ClientTermsErrorReason",
+ "DatabaseError.Reason" => "DatabaseErrorReason",
+ "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",
+ "StringFormatError.Reason" => "StringFormatErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "get" => "BatchJobServiceGet",
+ "getResponse" => "BatchJobServiceGetResponse",
+ "mutate" => "BatchJobServiceMutate",
+ "mutateResponse" => "BatchJobServiceMutateResponse",
+ "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}.
+ *
+ *
+ *
+ * Query the status of existing {@code BatchJob}s.
+ *
+ * @param selector The selector specifying the {@code BatchJob}s to return.
+ * @return The list of selected jobs.
+ * @throws ApiException
+ */
+ public function get($selector) {
+ $args = new BatchJobServiceGet($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.
+ *
+ *
+ *
+ * Creates or updates a {@code BatchJob}.
+ *
+ *
Note: {@link BatchJobOperation} does not support the + * {@code REMOVE} operator. It is not necessary to remove BatchJobs. + * + * @param operations A list of operations. + * @return The list of created or updated jobs. + * @throws ApiException + */ + public function mutate($operations) { + $args = new BatchJobServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns the list of {@code BatchJob}s that match the query. + * + * @param query The SQL-like AWQL query string. + * @return The list of selected jobs. + * @throws ApiException if problems occur while parsing the query or fetching + * batchjob 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/v201705/BiddingStrategyService.php b/src/Google/Api/Ads/AdWords/v201705/BiddingStrategyService.php new file mode 100755 index 000000000..d89eabb67 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/BiddingStrategyService.php @@ -0,0 +1,4991 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SharedBiddingStrategy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BiddingErrorsReason", false)) { + /** + * Cannot transition to new bidding strategy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingErrorsReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SharedBiddingStrategyBiddingStrategyStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedBiddingStrategy.BiddingStrategyStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BiddingStrategyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingStrategyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. See {@linkplain BiddingStrategyConfiguration} + * for additional information. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingStrategyType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingStrategyType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PageOnePromotedBiddingSchemeStrategyGoal { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BiddingStrategyServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BiddingStrategyServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BiddingStrategyPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * Elements in this field must have distinct IDs for following {@link Operator}s : ADD, 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 BiddingStrategy + * @throws ApiException + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingStrategyServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BiddingStrategyOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BiddingStrategyServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BiddingStrategyReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BiddingStrategyPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class BiddingErrors extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors"; + + /** + * @access public + * @var tnsBiddingErrorsReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class BiddingStrategyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingStrategyError"; + + /** + * @access public + * @var tnsBiddingStrategyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EnhancedCpcBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EnhancedCpcBiddingScheme"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ManualCpcBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ManualCpcBiddingScheme"; + + /** + * @access public + * @var boolean + */ + public $enhancedCpcEnabled; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManualCpmBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ManualCpmBiddingScheme"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class PageOnePromotedBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 $raiseBidWhenBudgetConstrained; + + /** + * @access public + * @var boolean + */ + public $raiseBidWhenLowQualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $raiseBidWhenBudgetConstrained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { + parent::__construct(); + $this->strategyGoal = $strategyGoal; + $this->bidCeiling = $bidCeiling; + $this->bidModifier = $bidModifier; + $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; + $this->raiseBidWhenBudgetConstrained = $raiseBidWhenBudgetConstrained; + $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; + $this->BiddingSchemeType = $BiddingSchemeType; + } + + } +} + +if (!class_exists("TargetCpaBiddingScheme", false)) { + /** + * Target CPA is an automated bid + * strategy that sets bids to help get as many conversions as possible at the target cost per + * acquisition (CPA) you set. + * + *A {@linkplain #targetCpa target CPA} must be set for the strategy, but can also be optionally + * set for individual ad groups in the strategy. Ad group targets, if set, will override strategy + * targets. + * + *
Note that campaigns must meet + * specific eligibility requirements + * before they can use the Target CPA bid strategy. + * This is disabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetCpaBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TargetOutrankShareBiddingScheme", false)) { + /** + * Target Outrank Share bidding strategy is an automated bidding strategy which automatically sets + * bids so that the customer's ads appear above a specified competitors' ads for a specified target + * fraction of the advertiser's eligible impressions on Google.com. + * This is disabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetOutrankShareBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TargetOutrankShareBiddingScheme"; + + /** + * @access public + * @var integer + */ + public $targetOutrankShare; + + /** + * @access public + * @var string + */ + public $competitorDomain; + + /** + * @access public + * @var Money + */ + public $maxCpcBidCeiling; + + /** + * @access public + * @var boolean + */ + public $bidChangesForRaisesOnly; + + /** + * @access public + * @var boolean + */ + public $raiseBidWhenLowQualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($targetOutrankShare = null, $competitorDomain = null, $maxCpcBidCeiling = null, $bidChangesForRaisesOnly = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { + parent::__construct(); + $this->targetOutrankShare = $targetOutrankShare; + $this->competitorDomain = $competitorDomain; + $this->maxCpcBidCeiling = $maxCpcBidCeiling; + $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; + $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; + $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_v201705
+ * @subpackage v201705
+ */
+ class TargetRoasBiddingScheme extends BiddingScheme {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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 is an automated
+ * bid strategy that sets your bids to help get as many clicks as possible within your budget.
+ * This is disabled for AdX.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class TargetSpendBiddingScheme extends BiddingScheme {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "TargetSpendBiddingScheme";
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $bidCeiling;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $spendTarget;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $enhancedCpcEnabled;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($bidCeiling = null, $spendTarget = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) {
+ parent::__construct();
+ $this->bidCeiling = $bidCeiling;
+ $this->spendTarget = $spendTarget;
+ $this->enhancedCpcEnabled = $enhancedCpcEnabled;
+ $this->BiddingSchemeType = $BiddingSchemeType;
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("BiddingStrategyOperation", false)) {
+ /**
+ * Operations for adding/updating bidding strategies.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class BiddingStrategyOperation extends Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BiddingStrategyOperation";
+
+ /**
+ * @access public
+ * @var SharedBiddingStrategy
+ */
+ public $operand;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BiddingStrategyPage extends Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BiddingStrategyPage";
+
+ /**
+ * @access public
+ * @var SharedBiddingStrategy[]
+ */
+ public $entries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BiddingStrategyReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BiddingStrategyReturnValue";
+
+ /**
+ * @access public
+ * @var SharedBiddingStrategy[]
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DoubleValue extends NumberValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DoubleValue";
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $number;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class LongValue extends NumberValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "LongValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $number;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BiddingStrategyService extends AdWordsSoapClient {
+
+ const SERVICE_NAME = "BiddingStrategyService";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/BiddingStrategyService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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",
+ "DateError" => "DateError",
+ "DateRange" => "DateRange",
+ "DistinctError" => "DistinctError",
+ "DoubleValue" => "DoubleValue",
+ "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme",
+ "EntityCountLimitExceeded" => "EntityCountLimitExceeded",
+ "EntityNotFound" => "EntityNotFound",
+ "FieldPathElement" => "FieldPathElement",
+ "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",
+ "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",
+ "StringFormatError" => "StringFormatError",
+ "StringLengthError" => "StringLengthError",
+ "ComparableValue" => "ComparableValue",
+ "DatabaseError" => "DatabaseError",
+ "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme",
+ "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme",
+ "TargetOutrankShareBiddingScheme" => "TargetOutrankShareBiddingScheme",
+ "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme",
+ "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApplicationException" => "ApplicationException",
+ "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",
+ "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",
+ "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",
+ "StringFormatError.Reason" => "StringFormatErrorReason",
+ "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.
+ * Elements in this field must have distinct IDs for following {@link Operator}s : ADD, 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 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/v201705/BudgetOrderService.php b/src/Google/Api/Ads/AdWords/v201705/BudgetOrderService.php
new file mode 100755
index 000000000..284a1ff39
--- /dev/null
+++ b/src/Google/Api/Ads/AdWords/v201705/BudgetOrderService.php
@@ -0,0 +1,5185 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * + * + * + * 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_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotWhitelistedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotWhitelistedError"; + + /** + * @access public + * @var tnsNotWhitelistedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * 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_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StatsQueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError"; + + /** + * @access public + * @var tnsStatsQueryErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * + * + * + * 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_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotWhitelistedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotWhitelistedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StatsQueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", 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_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BillingAccount", false)) { + /** + * Represents an account to which invoices are sent in + * consolidated billing. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BillingAccount { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 budget order + * links an account-wide budget with a {@link BillingAccount}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BudgetOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + 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 Money + */ + public $totalAdjustments; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $totalAdjustments = 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->totalAdjustments = $totalAdjustments; + $this->startDateTime = $startDateTime; + $this->endDateTime = $endDateTime; + $this->lastRequest = $lastRequest; + } + + } +} + +if (!class_exists("BudgetOrderError", false)) { + /** + * Error information for BudgetOrderService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BudgetOrderError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = "BudgetOrderError"; + + /** + * @access public + * @var tnsBudgetOrderErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("BudgetOrderOperation", false)) { + /** + * Operation for {@link BudgetOrder}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BudgetOrderOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = "BudgetOrderOperation"; + + /** + * @access public + * @var BudgetOrder + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetOrderPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = "BudgetOrderPage"; + + /** + * @access public + * @var BudgetOrder[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BudgetOrderRequest { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetOrderReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = "BudgetOrderReturnValue"; + + /** + * @access public + * @var BudgetOrder[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerOrderLineError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = "CustomerOrderLineError"; + + /** + * @access public + * @var tnsCustomerOrderLineErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("BudgetOrderErrorReason", false)) { + /** + * Existing pending request is being approved. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BudgetOrderErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = "BudgetOrderError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BudgetOrderRequestStatus", false)) { + /** + * The budget request is under review. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BudgetOrderRequestStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = "BudgetOrderRequest.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerOrderLineErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = "CustomerOrderLineError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetOrderServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetOrderServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BudgetOrderPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetBillingAccounts { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetBillingAccountsResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BillingAccount[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Adds, updates, or removes budget orders. 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
.
Note: This action is available only on a whitelist basis.
+ * @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_v201705 + * @subpackage v201705 + */ + class BudgetOrderServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BudgetOrderOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetOrderServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BudgetOrderReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DoubleValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; + + /** + * @access public + * @var double + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LongValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; + + /** + * @access public + * @var integer + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetOrderService extends AdWordsSoapClient { + + const SERVICE_NAME = "BudgetOrderService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/billing/v201705/BudgetOrderService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/billing/v201705/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", + "FieldPathElement" => "FieldPathElement", + "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", + "StringFormatError" => "StringFormatError", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "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. + * + * + * + * Adds, updates, or removes budget orders. 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
.
Note: This action is available only on a whitelist basis.
+ * @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/v201705/BudgetService.php b/src/Google/Api/Ads/AdWords/v201705/BudgetService.php new file mode 100755 index 000000000..9afa92e4f --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/BudgetService.php @@ -0,0 +1,4355 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Budget { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Budget"; + + /** + * @access public + * @var integer + */ + public $budgetId; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($budgetId = null, $name = null, $amount = null, $deliveryMethod = null, $referenceCount = null, $isExplicitlyShared = null, $status = null) { + $this->budgetId = $budgetId; + $this->name = $name; + $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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetBudgetDeliveryMethod { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Budget.BudgetDeliveryMethod"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetBudgetStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Budget.BudgetStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BudgetError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DateRangeErrorReason", false)) { + /** + * The reasons for the date range error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BudgetServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var BudgetPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 asoperations
.
+ * @throws ApiException
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class BudgetServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var BudgetOperation[]
+ */
+ public $operations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BudgetServiceMutateResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var BudgetReturnValue
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Query {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var BudgetPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError";
+
+ /**
+ * @access public
+ * @var tnsAuthorizationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class BudgetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BudgetError";
+
+ /**
+ * @access public
+ * @var tnsBudgetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError";
+
+ /**
+ * @access public
+ * @var tnsClientTermsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class DateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateError";
+
+ /**
+ * @access public
+ * @var tnsDateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("DateRangeError", false)) {
+ /**
+ * A list of all the error codes being used for date range error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class DateRangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateRangeError";
+
+ /**
+ * @access public
+ * @var tnsDateRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class DistinctError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError";
+
+ /**
+ * @access public
+ * @var tnsDistinctErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class EntityCountLimitExceeded extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFound extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound";
+
+ /**
+ * @access public
+ * @var tnsEntityNotFoundReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("IdError", false)) {
+ /**
+ * Errors associated with the ids.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class IdError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError";
+
+ /**
+ * @access public
+ * @var tnsIdErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("Money", false)) {
+ /**
+ * Represents a money amount.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class Money extends ComparableValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NewEntityCreationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NewEntityCreationError";
+
+ /**
+ * @access public
+ * @var tnsNewEntityCreationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError";
+
+ /**
+ * @access public
+ * @var tnsNotEmptyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NumberValue extends ComparableValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDenied extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied";
+
+ /**
+ * @access public
+ * @var tnsOperationAccessDeniedReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OperatorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError";
+
+ /**
+ * @access public
+ * @var tnsOperatorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class QueryError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError";
+
+ /**
+ * @access public
+ * @var tnsQueryErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->message = $message;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError";
+
+ /**
+ * @access public
+ * @var tnsQuotaCheckErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError";
+
+ /**
+ * @access public
+ * @var tnsReadOnlyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RejectedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError";
+
+ /**
+ * @access public
+ * @var tnsRejectedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequestError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError";
+
+ /**
+ * @access public
+ * @var tnsRequestErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SelectorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError";
+
+ /**
+ * @access public
+ * @var tnsSelectorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError";
+
+ /**
+ * @access public
+ * @var tnsSizeLimitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("StringFormatError", false)) {
+ /**
+ * A list of error code for reporting invalid content of input strings.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError";
+
+ /**
+ * @access public
+ * @var tnsStringFormatErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class DatabaseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError";
+
+ /**
+ * @access public
+ * @var tnsDatabaseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BudgetOperation extends Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BudgetOperation";
+
+ /**
+ * @access public
+ * @var Budget
+ */
+ public $operand;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BudgetPage extends Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BudgetPage";
+
+ /**
+ * @access public
+ * @var Budget[]
+ */
+ public $entries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BudgetReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BudgetReturnValue";
+
+ /**
+ * @access public
+ * @var Budget[]
+ */
+ public $value;
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $partialFailureErrors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DoubleValue extends NumberValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DoubleValue";
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $number;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class LongValue extends NumberValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "LongValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $number;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BudgetService extends AdWordsSoapClient {
+
+ const SERVICE_NAME = "BudgetService";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/BudgetService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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",
+ "DateRangeError" => "DateRangeError",
+ "DistinctError" => "DistinctError",
+ "DoubleValue" => "DoubleValue",
+ "EntityCountLimitExceeded" => "EntityCountLimitExceeded",
+ "EntityNotFound" => "EntityNotFound",
+ "FieldPathElement" => "FieldPathElement",
+ "IdError" => "IdError",
+ "InternalApiError" => "InternalApiError",
+ "LongValue" => "LongValue",
+ "Money" => "Money",
+ "NewEntityCreationError" => "NewEntityCreationError",
+ "NotEmptyError" => "NotEmptyError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OperationAccessDenied" => "OperationAccessDenied",
+ "OperatorError" => "OperatorError",
+ "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",
+ "StringFormatError" => "StringFormatError",
+ "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.BudgetStatus" => "BudgetBudgetStatus",
+ "BudgetError.Reason" => "BudgetErrorReason",
+ "ClientTermsError.Reason" => "ClientTermsErrorReason",
+ "DatabaseError.Reason" => "DatabaseErrorReason",
+ "DateError.Reason" => "DateErrorReason",
+ "DateRangeError.Reason" => "DateRangeErrorReason",
+ "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",
+ "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",
+ "StringFormatError.Reason" => "StringFormatErrorReason",
+ "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/v201607/ProductServiceService.php b/src/Google/Api/Ads/AdWords/v201705/CampaignBidModifierService.php
similarity index 66%
rename from src/Google/Api/Ads/AdWords/v201607/ProductServiceService.php
rename to src/Google/Api/Ads/AdWords/v201705/CampaignBidModifierService.php
index 4593d0c55..daad14055 100755
--- a/src/Google/Api/Ads/AdWords/v201607/ProductServiceService.php
+++ b/src/Google/Api/Ads/AdWords/v201705/CampaignBidModifierService.php
@@ -1,6 +1,6 @@
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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiError"; /** @@ -57,6 +49,12 @@ class ApiError { */ public $fieldPath; + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + /** * @access public * @var string @@ -123,8 +121,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -136,20 +135,12 @@ public function __construct($fieldPath = null, $trigger = null, $errorString = n 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApplicationException"; /** @@ -223,20 +214,12 @@ public function __construct($message = null, $ApplicationExceptionType = null) { 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError"; /** @@ -261,10 +244,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -276,20 +260,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthorizationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthorizationError"; /** @@ -314,10 +290,125 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignBidModifier", false)) { + /** + * Represents a bid-modifiable only criterion at the campaign level. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignBidModifier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignBidModifier"; + + /** + * @access public + * @var integer + */ + public $campaignId; + + /** + * @access public + * @var Criterion + */ + public $criterion; + + /** + * @access public + * @var string + */ + public $campaignName; + + /** + * @access public + * @var tnsAdvertisingChannelType + */ + public $advertisingChannelType; + + /** + * @access public + * @var double + */ + public $bidModifier; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($campaignId = null, $criterion = null, $campaignName = null, $advertisingChannelType = null, $bidModifier = null) { + $this->campaignId = $campaignId; + $this->criterion = $criterion; + $this->campaignName = $campaignName; + $this->advertisingChannelType = $advertisingChannelType; + $this->bidModifier = $bidModifier; + } + + } +} + +if (!class_exists("CampaignBidModifierError", false)) { + /** + * Base error class for CampaignBidModifier Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignBidModifierError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignBidModifierError"; + + /** + * @access public + * @var tnsCampaignBidModifierErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -329,20 +420,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ClientTermsError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ClientTermsError"; /** @@ -367,10 +450,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -383,20 +467,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Criterion"; /** @@ -477,20 +553,12 @@ public function __construct($id = null, $type = null, $CriterionType = null) { 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DatabaseError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DatabaseError"; /** @@ -515,10 +583,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -530,20 +599,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DateError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DateError"; /** @@ -568,10 +629,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -584,20 +646,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DateRange { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DateRange"; /** @@ -639,20 +693,12 @@ public function __construct($min = null, $max = null) { 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DistinctError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DistinctError"; /** @@ -677,10 +723,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -689,28 +736,20 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("IdError", false)) { +if (!class_exists("EntityAccessDenied", 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_v201607 - * @subpackage v201607 + * Reports permission problems trying to access an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class IdError extends ApiError { + class EntityAccessDenied extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "IdError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; /** * @access public - * @var tnsIdErrorReason + * @var tnsEntityAccessDeniedReason */ public $reason; @@ -730,10 +769,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -742,30 +782,21 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("InternalApiError", false)) { +if (!class_exists("EntityNotFound", 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_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class InternalApiError extends ApiError { + class EntityNotFound extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "InternalApiError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; /** * @access public - * @var tnsInternalApiErrorReason + * @var tnsEntityNotFoundReason */ public $reason; @@ -785,10 +816,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -797,37 +829,28 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("Keyword", false)) { +if (!class_exists("FieldPathElement", 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_v201607 - * @subpackage v201607 + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Keyword extends Criterion { + class FieldPathElement { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Keyword"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; /** * @access public * @var string */ - public $text; + public $field; /** * @access public - * @var tnsKeywordMatchType + * @var integer */ - public $matchType; + public $index; /** * Gets the namesapce of this class @@ -845,51 +868,30 @@ 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; + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; } } } -if (!class_exists("MobileAppCategory", false)) { +if (!class_exists("IdError", 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_v201607 - * @subpackage v201607 + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "MobileAppCategory"; + class IdError extends ApiError { - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; /** * @access public - * @var string + * @var tnsIdErrorReason */ - public $displayName; + public $reason; /** * Gets the namesapce of this class @@ -907,49 +909,78 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("MobileApplication", false)) { +if (!class_exists("InteractionType", false)) { /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * + * Represents an InteractionType criterion. * - * - * 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_v201607 - * @subpackage v201607 + *Possible IDs: {@code 8000} ({@code CALLS}). + *
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_v201705 + * @subpackage v201705 */ - class MobileApplication extends Criterion { + class InteractionType extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "MobileApplication"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InteractionType"; /** - * @access public - * @var string + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $appId; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var string + * Gets the xsi:type name of this class + * @return string 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("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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason */ - public $displayName; + public $reason; /** * Gets the namesapce of this class @@ -967,13 +998,132 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("NewEntityCreationError", false)) { + /** + * Error associated with creation of new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } @@ -982,20 +1132,12 @@ public function __construct($appId = null, $displayName = null, $id = null, $typ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NotEmptyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NotEmptyError"; /** @@ -1020,10 +1162,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1035,20 +1178,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NullError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NullError"; /** @@ -1073,10 +1208,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1085,23 +1221,95 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } +if (!class_exists("Operation", false)) { + /** + * This represents an operation that includes an operator and an operand + * specified type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperationAccessDenied extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperationAccessDenied"; /** @@ -1126,10 +1334,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1141,20 +1350,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperatorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperatorError"; /** @@ -1179,10 +1380,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1194,20 +1396,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OrderBy { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OrderBy"; /** @@ -1249,20 +1443,12 @@ public function __construct($field = null, $sortOrder = null) { 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Page { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Page"; /** @@ -1338,20 +1524,12 @@ public function __construct($totalNumEntries = null, $PageType = null) { * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Paging { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Paging"; /** @@ -1390,32 +1568,34 @@ public function __construct($startIndex = null, $numberResults = null) { } } -if (!class_exists("Placement", false)) { +if (!class_exists("Predicate", 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_v201607 - * @subpackage v201607 + * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Placement extends Criterion { + class Predicate { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Placement"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate"; /** * @access public * @var string */ - public $url; + public $field; + + /** + * @access public + * @var tnsPredicateOperator + */ + public $operator; + + /** + * @access public + * @var string[] + */ + public $values; /** * Gets the namesapce of this class @@ -1433,53 +1613,37 @@ 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; + public function __construct($field = null, $operator = null, $values = null) { + $this->field = $field; + $this->operator = $operator; + $this->values = $values; } } } -if (!class_exists("Predicate", false)) { +if (!class_exists("QueryError", 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_v201607 - * @subpackage v201607 + * A QueryError represents possible errors for query parsing and execution. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Predicate { + class QueryError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Predicate"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; /** * @access public - * @var string + * @var tnsQueryErrorReason */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; + public $reason; /** * @access public - * @var string[] + * @var string */ - public $values; + public $message; /** * Gets the namesapce of this class @@ -1497,10 +1661,15 @@ 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; + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } @@ -1509,20 +1678,12 @@ public function __construct($field = null, $operator = null, $values = null) { 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class QuotaCheckError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "QuotaCheckError"; /** @@ -1547,10 +1708,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1562,20 +1724,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RangeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RangeError"; /** @@ -1600,10 +1754,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1615,20 +1770,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RateExceededError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RateExceededError"; /** @@ -1671,13 +1818,14 @@ 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) { + public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1689,20 +1837,12 @@ public function __construct($reason = null, $rateName = null, $rateScope = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ReadOnlyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ReadOnlyError"; /** @@ -1727,10 +1867,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1742,20 +1883,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RejectedError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RejectedError"; /** @@ -1780,10 +1913,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1796,20 +1930,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequestError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequestError"; /** @@ -1834,10 +1960,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1849,20 +1976,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequiredError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequiredError"; /** @@ -1887,10 +2006,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1902,20 +2022,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Selector { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Selector"; /** @@ -1978,20 +2090,12 @@ public function __construct($fields = null, $predicates = null, $dateRange = nul 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SelectorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SelectorError"; /** @@ -2016,10 +2120,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2031,20 +2136,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SizeLimitError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SizeLimitError"; /** @@ -2069,10 +2166,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2084,20 +2182,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapRequestHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapHeader"; /** @@ -2160,20 +2250,12 @@ public function __construct($clientCustomerId = null, $developerToken = null, $u 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapResponseHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapResponseHeader"; /** @@ -2236,20 +2318,12 @@ public function __construct($requestId = null, $serviceName = null, $methodName if (!class_exists("StringFormatError", false)) { /** * A list of error code for reporting invalid content of input strings. - * - * - * - * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringFormatError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringFormatError"; /** @@ -2274,10 +2348,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2290,20 +2365,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringLengthError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringLengthError"; /** @@ -2328,207 +2395,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $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_v201607 - * @subpackage v201607 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var integer - */ - public $userInterestParentId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestParentId = $userInterestParentId; - $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_v201607 - * @subpackage v201607 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * @access public - * @var boolean - */ - public $userListEligibleForSearch; - - /** - * @access public - * @var boolean - */ - public $userListEligibleForDisplay; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->userListEligibleForSearch = $userListEligibleForSearch; - $this->userListEligibleForDisplay = $userListEligibleForDisplay; - $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_v201607 - * @subpackage v201607 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; + } +} - /** - * @access public - * @var integer - */ - public $verticalParentId; +if (!class_exists("AdvertisingChannelType", false)) { + /** + * The channel type a campaign may target to serve on. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdvertisingChannelType { - /** - * @access public - * @var string[] - */ - public $path; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdvertisingChannelType"; /** * Gets the namesapce of this class @@ -2546,14 +2435,7 @@ 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; + public function __construct() { } } @@ -2562,20 +2444,12 @@ public function __construct($verticalId = null, $verticalParentId = null, $path 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError.Reason"; /** @@ -2603,20 +2477,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthorizationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthorizationError.Reason"; /** @@ -2641,24 +2507,49 @@ public function __construct() { } } +if (!class_exists("CampaignBidModifierErrorReason", false)) { + /** + * The reasons for the error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignBidModifierErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignBidModifierError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ClientTermsErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ClientTermsError.Reason"; /** @@ -2686,20 +2577,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionType { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Criterion.Type"; /** @@ -2727,20 +2610,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DatabaseErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DatabaseError.Reason"; /** @@ -2768,20 +2643,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DateErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DateError.Reason"; /** @@ -2809,20 +2676,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DistinctErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DistinctError.Reason"; /** @@ -2847,23 +2706,82 @@ public function __construct() { } } +if (!class_exists("EntityAccessDeniedReason", false)) { + /** + * User did not have read access. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class IdErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "IdError.Reason"; /** @@ -2891,20 +2809,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class InternalApiErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "InternalApiError.Reason"; /** @@ -2929,25 +2839,16 @@ public function __construct() { } } -if (!class_exists("KeywordMatchType", false)) { +if (!class_exists("NewEntityCreationErrorReason", 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_v201607 - * @subpackage v201607 + * Do not set the id field while creating new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class KeywordMatchType { + class NewEntityCreationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "KeywordMatchType"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; /** * Gets the namesapce of this class @@ -2974,20 +2875,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NotEmptyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NotEmptyError.Reason"; /** @@ -3015,20 +2908,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NullErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NullError.Reason"; /** @@ -3056,20 +2941,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperationAccessDeniedReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperationAccessDenied.Reason"; /** @@ -3094,24 +2971,82 @@ 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 */ - class OperatorErrorReason { + class PredicateOperator { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "OperatorError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; /** * Gets the namesapce of this class @@ -3135,24 +3070,16 @@ public function __construct() { } } -if (!class_exists("PredicateOperator", false)) { +if (!class_exists("QueryErrorReason", 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_v201607 - * @subpackage v201607 + * The reason for the query error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PredicateOperator { + class QueryErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Predicate.Operator"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; /** * Gets the namesapce of this class @@ -3180,20 +3107,12 @@ public function __construct() { /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class QuotaCheckErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "QuotaCheckError.Reason"; /** @@ -3221,20 +3140,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RangeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RangeError.Reason"; /** @@ -3262,20 +3173,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RateExceededErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RateExceededError.Reason"; /** @@ -3303,20 +3206,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ReadOnlyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ReadOnlyError.Reason"; /** @@ -3344,20 +3239,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RejectedErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RejectedError.Reason"; /** @@ -3385,20 +3272,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequestErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequestError.Reason"; /** @@ -3426,20 +3305,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequiredErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequiredError.Reason"; /** @@ -3467,20 +3338,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SelectorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SelectorError.Reason"; /** @@ -3508,20 +3371,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SizeLimitErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SizeLimitError.Reason"; /** @@ -3549,20 +3404,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SortOrder { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SortOrder"; /** @@ -3590,20 +3437,12 @@ public function __construct() { if (!class_exists("StringFormatErrorReason", 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringFormatErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringFormatError.Reason"; /** @@ -3631,20 +3470,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringLengthErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringLengthError.Reason"; /** @@ -3669,24 +3500,30 @@ public function __construct() { } } -if (!class_exists("CriterionUserListMembershipStatus", false)) { +if (!class_exists("CampaignBidModifierServiceGet", false)) { /** - * Membership status of the user list. + * This field is required and should not be {@code null}. * * * - * The API error base class that provides details about an error that occurred - * while processing a service request. + * Returns the list of campaign bid modifiers that meet the selector criteria. * - *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_v201607 - * @subpackage v201607 + * @param selector specifying the {@link CampaignBidModifier}s to return. + * @return A list of campaign bid modifiers. + * @throws ApiException if problems occurred while fetching campaign bid modifier information. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionUserListMembershipStatus { + class CampaignBidModifierServiceGet { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; /** * Gets the namesapce of this class @@ -3704,36 +3541,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($selector = null) { + $this->selector = $selector; } } } -if (!class_exists("ProductService", false)) { +if (!class_exists("CampaignBidModifierServiceGetResponse", 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_v201607 - * @subpackage v201607 + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductService extends Criterion { + class CampaignBidModifierServiceGetResponse { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "ProductService"; - - /** - * @access public - * @var string - */ - public $text; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var string + * @var CampaignBidModifierPage */ - public $locale; + public $rval; /** * Gets the namesapce of this class @@ -3751,28 +3581,42 @@ 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; + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("NoStatsPage", false)) { +if (!class_exists("CampaignBidModifierServiceMutate", 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. + * * - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * + * Adds, updates, or deletes campaign bid modifiers. + * + * @param operations A list of unique operations. + * @return The list of updated campaign bid modifiers, returned in the same order as the
+ * operations
array.
+ * @throws ApiException if problems occurred while updating campaign bid modifiers information.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
*/
- class NoStatsPage extends Page {
+ class CampaignBidModifierServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
- const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607";
- const XSI_TYPE = "NoStatsPage";
+ /**
+ * @access public
+ * @var CampaignBidModifierOperation[]
+ */
+ public $operations;
/**
* Gets the namesapce of this class
@@ -3790,39 +3634,29 @@ public function getXsiTypeName() {
return self::XSI_TYPE;
}
- public function __construct($totalNumEntries = null, $PageType = null) {
- parent::__construct();
- $this->totalNumEntries = $totalNumEntries;
- $this->PageType = $PageType;
+ public function __construct($operations = null) {
+ $this->operations = $operations;
}
}
}
-if (!class_exists("ProductServiceServiceGet", false)) {
+if (!class_exists("CampaignBidModifierServiceMutateResponse", 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_v201607
- * @subpackage v201607
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
*/
- class ProductServiceServiceGet {
+ class CampaignBidModifierServiceMutateResponse {
- const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
const XSI_TYPE = "";
/**
* @access public
- * @var Selector
+ * @var CampaignBidModifierReturnValue
*/
- public $selector;
+ public $rval;
/**
* Gets the namesapce of this class
@@ -3840,29 +3674,29 @@ public function getXsiTypeName() {
return self::XSI_TYPE;
}
- public function __construct($selector = null) {
- $this->selector = $selector;
+ public function __construct($rval = null) {
+ $this->rval = $rval;
}
}
}
-if (!class_exists("ProductServiceServiceGetResponse", false)) {
+if (!class_exists("ApiException", false)) {
/**
- *
- * @package Google_Api_Ads_AdWords_v201607
- * @subpackage v201607
+ * Exception class for holding a list of service errors.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
*/
- class ProductServiceServiceGetResponse {
+ class ApiException extends ApplicationException {
- const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607";
- const XSI_TYPE = "";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
/**
* @access public
- * @var ProductServicePage
+ * @var ApiError[]
*/
- public $rval;
+ public $errors;
/**
* Gets the namesapce of this class
@@ -3880,37 +3714,32 @@ public function getXsiTypeName() {
return self::XSI_TYPE;
}
- public function __construct($rval = null) {
- $this->rval = $rval;
+ public function __construct($errors = null, $message = null, $ApplicationExceptionType = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ $this->ApplicationExceptionType = $ApplicationExceptionType;
}
}
}
-if (!class_exists("ApiException", false)) {
+if (!class_exists("CampaignBidModifierOperation", 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_v201607 - * @subpackage v201607 + * Operation used to create or mutate a CampaignBidModifier. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ApiException extends ApplicationException { + class CampaignBidModifierOperation extends Operation { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ApiException"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignBidModifierOperation"; /** * @access public - * @var ApiError[] + * @var CampaignBidModifier */ - public $errors; + public $operand; /** * Gets the namesapce of this class @@ -3928,30 +3757,30 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($errors = null, $message = null, $ApplicationExceptionType = null) { + public function __construct($operand = null, $operator = null, $OperationType = null) { parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; + $this->operand = $operand; + $this->operator = $operator; + $this->OperationType = $OperationType; } } } -if (!class_exists("ProductServicePage", false)) { +if (!class_exists("CampaignBidModifierPage", false)) { /** - * Contains a page of {@link ProductService}s with no stats. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Subset of campaign bid modifiers resulting from a call to {@link CampaignBidModifierService#get}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductServicePage extends NoStatsPage { + class CampaignBidModifierPage extends Page { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "ProductServicePage"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignBidModifierPage"; /** * @access public - * @var ProductService[] + * @var CampaignBidModifier[] */ public $entries; @@ -3971,31 +3800,82 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($entries = null) { + public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { parent::__construct(); $this->entries = $entries; + $this->totalNumEntries = $totalNumEntries; + $this->PageType = $PageType; + } + + } +} + +if (!class_exists("CampaignBidModifierReturnValue", false)) { + /** + * A container for return values from the CampaignBidModifierService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignBidModifierReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignBidModifierReturnValue"; + + /** + * @access public + * @var CampaignBidModifier[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ProductServiceService", false)) { +if (!class_exists("CampaignBidModifierService", false)) { /** - * ProductServiceService - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * CampaignBidModifierService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductServiceService extends AdWordsSoapClient { + class CampaignBidModifierService extends AdWordsSoapClient { - const SERVICE_NAME = "ProductServiceService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201607/ProductServiceService"; + const SERVICE_NAME = "CampaignBidModifierService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CampaignBidModifierService"; /** * The endpoint of the service * @var string */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201607/ProductServiceService"; + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/CampaignBidModifierService"; /** * Default class map for wsdl=>php * @access private @@ -4007,26 +3887,35 @@ class ProductServiceService extends AdWordsSoapClient { "ApplicationException" => "ApplicationException", "AuthenticationError" => "AuthenticationError", "AuthorizationError" => "AuthorizationError", + "CampaignBidModifier" => "CampaignBidModifier", + "CampaignBidModifierError" => "CampaignBidModifierError", + "CampaignBidModifierOperation" => "CampaignBidModifierOperation", + "CampaignBidModifierPage" => "CampaignBidModifierPage", + "CampaignBidModifierReturnValue" => "CampaignBidModifierReturnValue", "ClientTermsError" => "ClientTermsError", "Criterion" => "Criterion", "DatabaseError" => "DatabaseError", "DateError" => "DateError", "DateRange" => "DateRange", "DistinctError" => "DistinctError", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", "IdError" => "IdError", + "InteractionType" => "InteractionType", "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", + "ListReturnValue" => "ListReturnValue", + "NewEntityCreationError" => "NewEntityCreationError", "NotEmptyError" => "NotEmptyError", "NullError" => "NullError", + "Operation" => "Operation", "OperationAccessDenied" => "OperationAccessDenied", "OperatorError" => "OperatorError", "OrderBy" => "OrderBy", "Page" => "Page", "Paging" => "Paging", - "Placement" => "Placement", "Predicate" => "Predicate", + "QueryError" => "QueryError", "QuotaCheckError" => "QuotaCheckError", "RangeError" => "RangeError", "RateExceededError" => "RateExceededError", @@ -4041,24 +3930,27 @@ class ProductServiceService extends AdWordsSoapClient { "SoapResponseHeader" => "SoapResponseHeader", "StringFormatError" => "StringFormatError", "StringLengthError" => "StringLengthError", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", + "AdvertisingChannelType" => "AdvertisingChannelType", "AuthenticationError.Reason" => "AuthenticationErrorReason", "AuthorizationError.Reason" => "AuthorizationErrorReason", + "CampaignBidModifierError.Reason" => "CampaignBidModifierErrorReason", "ClientTermsError.Reason" => "ClientTermsErrorReason", "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", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", "NotEmptyError.Reason" => "NotEmptyErrorReason", "NullError.Reason" => "NullErrorReason", "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", "OperatorError.Reason" => "OperatorErrorReason", "Predicate.Operator" => "PredicateOperator", + "QueryError.Reason" => "QueryErrorReason", "QuotaCheckError.Reason" => "QuotaCheckErrorReason", "RangeError.Reason" => "RangeErrorReason", "RateExceededError.Reason" => "RateExceededErrorReason", @@ -4071,12 +3963,10 @@ class ProductServiceService extends AdWordsSoapClient { "SortOrder" => "SortOrder", "StringFormatError.Reason" => "StringFormatErrorReason", "StringLengthError.Reason" => "StringLengthErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "ProductService" => "ProductService", - "ProductServicePage" => "ProductServicePage", - "NoStatsPage" => "NoStatsPage", - "get" => "ProductServiceServiceGet", - "getResponse" => "ProductServiceServiceGetResponse", + "get" => "CampaignBidModifierServiceGet", + "getResponse" => "CampaignBidModifierServiceGetResponse", + "mutate" => "CampaignBidModifierServiceMutate", + "mutateResponse" => "CampaignBidModifierServiceMutateResponse", ); @@ -4095,17 +3985,38 @@ public function __construct($wsdl, $options, $user) { * * * - * Retrieves the {@link ProductService}s that meet the criteria set in the given selector. Only a - * limited number of {@link ProductService}s are returned. + * Returns the list of campaign bid modifiers that meet the selector criteria. * - * @param selector the selector specifying the product services to return - * @return list of product services identified by the selector + * @param selector specifying the {@link CampaignBidModifier}s to return. + * @return A list of campaign bid modifiers. + * @throws ApiException if problems occurred while fetching campaign bid modifier information. */ public function get($selector) { - $args = new ProductServiceServiceGet($selector); + $args = new CampaignBidModifierServiceGet($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}. + * The following {@link Operator}s are supported: ADD, SET, REMOVE. + * + * + * + * Adds, updates, or deletes campaign bid modifiers. + * + * @param operations A list of unique operations. + * @return The list of updated campaign bid modifiers, returned in the same order as the
+ * operations
array.
+ * @throws ApiException if problems occurred while updating campaign bid modifiers information.
+ */
+ public function mutate($operations) {
+ $args = new CampaignBidModifierServiceMutate($operations);
+ $result = $this->__soapCall("mutate", array($args));
+ return $result->rval;
+ }
}
}
diff --git a/src/Google/Api/Ads/AdWords/v201705/CampaignCriterionService.php b/src/Google/Api/Ads/AdWords/v201705/CampaignCriterionService.php
new file mode 100755
index 000000000..48d83388f
--- /dev/null
+++ b/src/Google/Api/Ads/AdWords/v201705/CampaignCriterionService.php
@@ -0,0 +1,8201 @@
+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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignCriterion", false)) { + /** + * Represents a campaign level criterion. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 tnsCampaignCriterionCampaignCriterionStatus + */ + public $campaignCriterionStatus; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $campaignCriterionStatus = null, $baseCampaignId = null, $forwardCompatibilityMap = null, $CampaignCriterionType = null) { + $this->campaignId = $campaignId; + $this->isNegative = $isNegative; + $this->criterion = $criterion; + $this->bidModifier = $bidModifier; + $this->campaignCriterionStatus = $campaignCriterionStatus; + $this->baseCampaignId = $baseCampaignId; + $this->forwardCompatibilityMap = $forwardCompatibilityMap; + $this->CampaignCriterionType = $CampaignCriterionType; + } + + } +} + +if (!class_exists("CampaignCriterionError", false)) { + /** + * Base error class for Campaign Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignCriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionError"; + + /** + * @access public + * @var tnsCampaignCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CriterionParameter", false)) { + /** + * Base type of criterion parameters. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705
+ * @subpackage v201705
+ */
+ class FeedFunction {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Function";
+
+ /**
+ * @access public
+ * @var tnsFunctionOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var FunctionArgumentOperand[]
+ */
+ public $lhsOperand;
+
+ /**
+ * @access public
+ * @var FunctionArgumentOperand[]
+ */
+ public $rhsOperand;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $functionString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $lhsOperand = null, $rhsOperand = null, $functionString = null) {
+ $this->operator = $operator;
+ $this->lhsOperand = $lhsOperand;
+ $this->rhsOperand = $rhsOperand;
+ $this->functionString = $functionString;
+ }
+
+ }
+}
+
+if (!class_exists("FunctionError", false)) {
+ /**
+ * Errors that indicate issues with the function.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FunctionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionError";
+
+ /**
+ * @access public
+ * @var tnsFunctionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705 + * @subpackage v201705 + */ + class Gender extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Gender"; + + /** + * @access public + * @var tnsGenderGenderType + */ + public $genderType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GeoPoint { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "GeoPoint"; + + /** + * @access public + * @var integer + */ + public $latitudeInMicroDegrees; + + /** + * @access public + * @var integer + */ + public $longitudeInMicroDegrees; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IpBlock", false)) { + /** + * Criterion used for IP exclusions. We allow: + * + *
Note that for a CIDR IP address block, the specified IP address portion must be properly + * truncated (i.e. all the host bits must be zero) or the input is considered malformed. + * For example, "1.2.3.0/24" is accepted but "1.2.3.4/24" is not. + * Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. + * This is disabled for AdX when it is contained within Operators: ADD, SET. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IpBlock extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IpBlock"; + + /** + * @access public + * @var string + */ + public $ipAddress; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Keyword extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Keyword"; + + /** + * @access public + * @var string + */ + public $text; + + /** + * @access public + * @var tnsKeywordMatchType + */ + public $matchType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Language extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Language"; + + /** + * @access public + * @var string + */ + public $code; + + /** + * @access public + * @var string + */ + public $name; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Location extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileAppCategory extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileAppCategory"; + + /** + * @access public + * @var integer + */ + public $mobileAppCategoryId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileApplication extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileApplication"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 can be either targeted or excluded. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MobileDevice extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NegativeCampaignCriterion extends CampaignCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NegativeCampaignCriterion"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $campaignCriterionStatus = null, $baseCampaignId = null, $forwardCompatibilityMap = null, $CampaignCriterionType = null) { + parent::__construct(); + $this->campaignId = $campaignId; + $this->isNegative = $isNegative; + $this->criterion = $criterion; + $this->bidModifier = $bidModifier; + $this->campaignCriterionStatus = $campaignCriterionStatus; + $this->baseCampaignId = $baseCampaignId; + $this->forwardCompatibilityMap = $forwardCompatibilityMap; + $this->CampaignCriterionType = $CampaignCriterionType; + } + + } +} + +if (!class_exists("NewEntityCreationError", false)) { + /** + * Error associated with creation of new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class FunctionArgumentOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 can be either targeted or excluded. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OperatingSystemVersion extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ParentCriterion", false)) { + /** + * Parent 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_v201705 + * @subpackage v201705 + */ + class ParentCriterion extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Parent"; + + /** + * @access public + * @var tnsParentParentType + */ + public $parentType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parentType = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->parentType = $parentType; + $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_v201705 + * @subpackage v201705 + */ + class Placement extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PlacesOfInterestOperand extends FunctionArgumentOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PlacesOfInterestOperand"; + + /** + * @access public + * @var tnsPlacesOfInterestOperandCategory + */ + public $category; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Platform extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Platform"; + + /** + * @access public + * @var string + */ + public $platformName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ProductDimension", false)) { + /** + * Dimension by which to subdivide or filter products. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductOfferId extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductOfferId"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("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_v201705 + * @subpackage v201705 + */ + class ProductScope extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductScope"; + + /** + * @access public + * @var ProductDimension[] + */ + public $dimensions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 same + * subdivision must have the same dimension type (product type level). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductType extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductType"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductTypeFull extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductTypeFull"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Proximity extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RegionCodeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError"; + + /** + * @access public + * @var tnsRegionCodeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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))));
+ *
+ *
+ * NOTE: Starting v201607 places of interest targeting is read only.
+ *NOTE: Starting v201702 income targeting is read only.
+ * This is disabled for AdX when it is contained within Operators: ADD, SET. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LocationGroups extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationGroups"; + + /** + * @access public + * @var integer + */ + public $feedId; + + /** + * @access public + * @var Function + */ + public $matchingFunction; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedId = null, $matchingFunction = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->feedId = $feedId; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class String_StringMapEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "String_StringMapEntry"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("UnknownProductDimension", false)) { + /** + * An unknown product dimension type which will be returned in place of any ProductDimension not + * supported by the clients current API version. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UnknownProductDimension extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UnknownProductDimension"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($ProductDimensionType = null) { + parent::__construct(); + $this->ProductDimensionType = $ProductDimensionType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class CriterionUserInterest extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserInterest"; + + /** + * @access public + * @var integer + */ + public $userInterestId; + + /** + * @access public + * @var integer + */ + public $userInterestParentId; + + /** + * @access public + * @var string + */ + public $userInterestName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userInterestId = $userInterestId; + $this->userInterestParentId = $userInterestParentId; + $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_v201705 + * @subpackage v201705 + */ + class CriterionUserList extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList"; + + /** + * @access public + * @var integer + */ + public $userListId; + + /** + * @access public + * @var string + */ + public $userListName; + + /** + * @access public + * @var tnsCriterionUserListMembershipStatus + */ + public $userListMembershipStatus; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForSearch; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForDisplay; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userListId = $userListId; + $this->userListName = $userListName; + $this->userListMembershipStatus = $userListMembershipStatus; + $this->userListEligibleForSearch = $userListEligibleForSearch; + $this->userListEligibleForDisplay = $userListEligibleForDisplay; + $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_v201705 + * @subpackage v201705 + */ + class Vertical extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Webpage extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class WebpageCondition { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "WebpageCondition"; + + /** + * @access public + * @var tnsWebpageConditionOperand + */ + public $operand; + + /** + * @access public + * @var string + */ + public $argument; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class WebpageParameter extends CriterionParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "WebpageParameter"; + + /** + * @access public + * @var string + */ + public $criterionName; + + /** + * @access public + * @var WebpageCondition[] + */ + public $conditions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("YouTubeChannel", false)) { + /** + * YouTube channel criterion. + *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_v201705 + * @subpackage v201705 + */ + class YouTubeChannel extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "YouTubeChannel"; + + /** + * @access public + * @var string + */ + public $channelId; + + /** + * @access public + * @var string + */ + public $channelName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($channelId = null, $channelName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->channelId = $channelId; + $this->channelName = $channelName; + $this->id = $id; + $this->type = $type; + $this->CriterionType = $CriterionType; + } + + } +} + +if (!class_exists("YouTubeVideo", false)) { + /** + * YouTube video criterion. + *
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_v201705 + * @subpackage v201705 + */ + class YouTubeVideo extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "YouTubeVideo"; + + /** + * @access public + * @var string + */ + public $videoId; + + /** + * @access public + * @var string + */ + public $videoName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($videoId = null, $videoName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->videoId = $videoId; + $this->videoName = $videoName; + $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_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AgeRangeAgeRangeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AgeRange.AgeRangeType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CampaignCriterionCampaignCriterionStatus", false)) { + /** + * The status of the campaign criteria. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignCriterionCampaignCriterionStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterion.CampaignCriterionStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConstantOperandConstantType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConstantOperand.ConstantType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ConstantOperandUnit", false)) { + /** + * The units of constant operands, if applicable. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ConstantOperandUnit { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConstantOperand.Unit"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ContentLabelType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ContentLabelType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DayOfWeek { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DayOfWeek"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FunctionOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Function.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FunctionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GenderGenderType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Gender.GenderType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IncomeTier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IncomeTier"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class KeywordMatchType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LocationTargetingStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationTargetingStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MinuteOfHour { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MinuteOfHour"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileDeviceDeviceType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileDevice.DeviceType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatingSystemVersionOperatorType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatingSystemVersion.OperatorType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ParentParentType", false)) { + /** + * The possible types of parents. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ParentParentType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Parent.ParentType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PlacesOfInterestOperandCategory { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PlacesOfInterestOperand.Category"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCanonicalConditionCondition { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCanonicalCondition.Condition"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductDimensionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductDimensionType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProximityDistanceUnits { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Proximity.DistanceUnits"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RegionCodeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ShoppingProductChannel", false)) { + /** + * Channel specifies where the item is sold: online or in local stores. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ShoppingProductChannel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShoppingProductChannel"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ShoppingProductChannelExclusivity", false)) { + /** + * Channel exclusivity specifies whether an item is sold exclusively in one channel + * or through multiple channels. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ShoppingProductChannelExclusivity { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShoppingProductChannelExclusivity"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionUserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class WebpageConditionOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "WebpageConditionOperand"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignCriterionPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignCriterionOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignCriterionReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignCriterionPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdSchedule extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AgeRange extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AgeRange"; + + /** + * @access public + * @var tnsAgeRangeAgeRangeType + */ + public $ageRangeType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionOperation"; + + /** + * @access public + * @var CampaignCriterion + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionPage"; + + /** + * @access public + * @var CampaignCriterion[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionReturnValue"; + + /** + * @access public + * @var CampaignCriterion[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 can be either targeted or excluded. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Carrier extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Carrier"; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var string + */ + public $countryCode; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ConstantOperand", false)) { + /** + * A constant operand in a matching function. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ConstantOperand extends FunctionArgumentOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConstantOperand"; + + /** + * @access public + * @var tnsConstantOperandConstantType + */ + public $type; + + /** + * @access public + * @var tnsConstantOperandUnit + */ + public $unit; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($type = null, $unit = null, $longValue = null, $booleanValue = null, $doubleValue = null, $stringValue = null, $FunctionArgumentOperandType = null) { + parent::__construct(); + $this->type = $type; + $this->unit = $unit; + $this->longValue = $longValue; + $this->booleanValue = $booleanValue; + $this->doubleValue = $doubleValue; + $this->stringValue = $stringValue; + $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; + } + + } +} + +if (!class_exists("ContentLabel", false)) { + /** + * Content Label for category exclusion. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ContentLabel extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ContentLabel"; + + /** + * @access public + * @var tnsContentLabelType + */ + public $contentLabelType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. Currently, geo targets are restricted to a single + * criterion id per operand. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GeoTargetOperand extends FunctionArgumentOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "GeoTargetOperand"; + + /** + * @access public + * @var integer[] + */ + public $locations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IncomeOperand extends FunctionArgumentOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IncomeOperand"; + + /** + * @access public + * @var tnsIncomeTier + */ + public $tier; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LocationExtensionOperand", false)) { + /** + * This operand specifies information required for location extension targeting. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LocationExtensionOperand extends FunctionArgumentOperand { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationExtensionOperand"; + + /** + * @access public + * @var ConstantOperand + */ + public $radius; + + /** + * @access public + * @var integer + */ + public $locationId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($radius = null, $locationId = null, $FunctionArgumentOperandType = null) { + parent::__construct(); + $this->radius = $radius; + $this->locationId = $locationId; + $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_v201705 + * @subpackage v201705 + */ + class ProductAdwordsGrouping extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductAdwordsGrouping"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductAdwordsLabels extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductAdwordsLabels"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 same subdivision + * must have the same dimension type (category level). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductBiddingCategory extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductBiddingCategory"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var integer + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductBrand extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductBrand"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCanonicalCondition extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCanonicalCondition"; + + /** + * @access public + * @var tnsProductCanonicalConditionCondition + */ + public $condition; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ProductChannel", false)) { + /** + * The product channel dimension, which specifies the locality of an offer. Only supported by + * campaigns of {@link AdvertisingChannelType#SHOPPING}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductChannel extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductChannel"; + + /** + * @access public + * @var tnsShoppingProductChannel + */ + public $channel; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($channel = null, $ProductDimensionType = null) { + parent::__construct(); + $this->channel = $channel; + $this->ProductDimensionType = $ProductDimensionType; + } + + } +} + +if (!class_exists("ProductChannelExclusivity", false)) { + /** + * The product channel exclusivity dimension, which limits the availability of an offer between only + * local, only online, or both. Only supported by campaigns of + * {@link AdvertisingChannelType#SHOPPING}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductChannelExclusivity extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductChannelExclusivity"; + + /** + * @access public + * @var tnsShoppingProductChannelExclusivity + */ + public $channelExclusivity; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($channelExclusivity = null, $ProductDimensionType = null) { + parent::__construct(); + $this->channelExclusivity = $channelExclusivity; + $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_v201705 + * @subpackage v201705 + */ + class ProductLegacyCondition extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductLegacyCondition"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCustomAttribute extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCustomAttribute"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionService extends AdWordsSoapClient { + + const SERVICE_NAME = "CampaignCriterionService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CampaignCriterionService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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", + "ConstantOperand" => "ConstantOperand", + "ContentLabel" => "ContentLabel", + "Criterion" => "Criterion", + "CriterionError" => "CriterionError", + "CriterionParameter" => "CriterionParameter", + "DatabaseError" => "DatabaseError", + "DateRange" => "DateRange", + "DistinctError" => "DistinctError", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", + "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", + "LocationExtensionOperand" => "LocationExtensionOperand", + "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", + "Parent" => "ParentCriterion", + "Placement" => "Placement", + "PlacesOfInterestOperand" => "PlacesOfInterestOperand", + "Platform" => "Platform", + "Predicate" => "Predicate", + "ProductAdwordsGrouping" => "ProductAdwordsGrouping", + "ProductAdwordsLabels" => "ProductAdwordsLabels", + "ProductBiddingCategory" => "ProductBiddingCategory", + "ProductBrand" => "ProductBrand", + "ProductCanonicalCondition" => "ProductCanonicalCondition", + "ProductChannel" => "ProductChannel", + "ProductChannelExclusivity" => "ProductChannelExclusivity", + "ProductLegacyCondition" => "ProductLegacyCondition", + "ProductCustomAttribute" => "ProductCustomAttribute", + "ProductDimension" => "ProductDimension", + "ProductOfferId" => "ProductOfferId", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "String_StringMapEntry" => "String_StringMapEntry", + "UnknownProductDimension" => "UnknownProductDimension", + "CriterionUserInterest" => "CriterionUserInterest", + "CriterionUserList" => "CriterionUserList", + "Vertical" => "Vertical", + "Webpage" => "Webpage", + "WebpageCondition" => "WebpageCondition", + "WebpageParameter" => "WebpageParameter", + "YouTubeChannel" => "YouTubeChannel", + "YouTubeVideo" => "YouTubeVideo", + "AdxError.Reason" => "AdxErrorReason", + "AgeRange.AgeRangeType" => "AgeRangeAgeRangeType", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "CampaignCriterion.CampaignCriterionStatus" => "CampaignCriterionCampaignCriterionStatus", + "CampaignCriterionError.Reason" => "CampaignCriterionErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "ConstantOperand.ConstantType" => "ConstantOperandConstantType", + "ConstantOperand.Unit" => "ConstantOperandUnit", + "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", + "Parent.ParentType" => "ParentParentType", + "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", + "ShoppingProductChannel" => "ShoppingProductChannel", + "ShoppingProductChannelExclusivity" => "ShoppingProductChannelExclusivity", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", + "WebpageConditionOperand" => "WebpageConditionOperand", + "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/v201705/CampaignExtensionSettingService.php b/src/Google/Api/Ads/AdWords/v201705/CampaignExtensionSettingService.php new file mode 100755 index 000000000..291151e26 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/CampaignExtensionSettingService.php @@ -0,0 +1,7649 @@ +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CallConversionType", false)) { + /** + * Conversion type for a call extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CallConversionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CallConversionType"; + + /** + * @access public + * @var integer + */ + public $conversionTypeId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($conversionTypeId = null) { + $this->conversionTypeId = $conversionTypeId; + } + + } +} + +if (!class_exists("CampaignExtensionSetting", false)) { + /** + * A CampaignExtensionSetting is used to add or modify extensions being served for the specified + * campaign. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSetting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignExtensionSetting"; + + /** + * @access public + * @var integer + */ + public $campaignId; + + /** + * @access public + * @var tnsFeedType + */ + public $extensionType; + + /** + * @access public + * @var ExtensionSetting + */ + public $extensionSetting; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($campaignId = null, $extensionType = null, $extensionSetting = null) { + $this->campaignId = $campaignId; + $this->extensionType = $extensionType; + $this->extensionSetting = $extensionSetting; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CustomParameter", false)) { + /** + * CustomParameter is used to map a custom parameter key to its value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameter"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * @access public + * @var boolean + */ + public $isRemove; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $value = null, $isRemove = null) { + $this->key = $key; + $this->value = $value; + $this->isRemove = $isRemove; + } + + } +} + +if (!class_exists("CustomParameters", false)) { + /** + * CustomParameters holds a list of CustomParameters to be treated as a map. + * It has a special field used to indicate that the current map should be cleared and replaced + * with this new map. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameters { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameters"; + + /** + * @access public + * @var CustomParameter[] + */ + public $parameters; + + /** + * @access public + * @var boolean + */ + public $doReplace; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parameters = null, $doReplace = null) { + $this->parameters = $parameters; + $this->doReplace = $doReplace; + } + + } +} + +if (!class_exists("DatabaseError", false)) { + /** + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DisapprovalReason", false)) { + /** + * Container for information about why an AdWords entity was disapproved. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DisapprovalReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisapprovalReason"; + + /** + * @access public + * @var string + */ + public $shortName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($shortName = null) { + $this->shortName = $shortName; + } + + } +} + +if (!class_exists("DistinctError", false)) { + /** + * Errors related to distinct ids or content. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("EntityAccessDenied", false)) { + /** + * Reports permission problems trying to access an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ExtensionFeedItem", false)) { + /** + * Contains base extension feed item data for an extension in an extension feed managed by AdWords. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionFeedItem"; + + /** + * @access public + * @var integer + */ + public $feedId; + + /** + * @access public + * @var integer + */ + public $feedItemId; + + /** + * @access public + * @var tnsFeedItemStatus + */ + public $status; + + /** + * @access public + * @var tnsFeedType + */ + public $feedType; + + /** + * @access public + * @var string + */ + public $startTime; + + /** + * @access public + * @var string + */ + public $endTime; + + /** + * @access public + * @var FeedItemDevicePreference + */ + public $devicePreference; + + /** + * @access public + * @var FeedItemScheduling + */ + public $scheduling; + + /** + * @access public + * @var FeedItemCampaignTargeting + */ + public $campaignTargeting; + + /** + * @access public + * @var FeedItemAdGroupTargeting + */ + public $adGroupTargeting; + + /** + * @access public + * @var Keyword + */ + public $keywordTargeting; + + /** + * @access public + * @var Location + */ + public $geoTargeting; + + /** + * @access public + * @var FeedItemGeoRestriction + */ + public $geoTargetingRestriction; + + /** + * @access public + * @var FeedItemPolicyData[] + */ + public $policyData; + + /** + * @access public + * @var string + */ + public $ExtensionFeedItemType; + private $_parameterMap = array( + "ExtensionFeedItem.Type" => "ExtensionFeedItemType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("ExtensionSetting", false)) { + /** + * A setting specifying when and which extensions should serve at a given level (customer, campaign, + * or ad group). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSetting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSetting"; + + /** + * @access public + * @var ExtensionFeedItem[] + */ + public $extensions; + + /** + * @access public + * @var tnsExtensionSettingPlatform + */ + public $platformRestrictions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($extensions = null, $platformRestrictions = null) { + $this->extensions = $extensions; + $this->platformRestrictions = $platformRestrictions; + } + + } +} + +if (!class_exists("ExtensionSettingError", false)) { + /** + * Represents an error for various extension setting services. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSettingError"; + + /** + * @access public + * @var tnsExtensionSettingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FeedItemAdGroupTargeting", false)) { + /** + * Specifies the adgroup the request context must match in order for + * the feed item to be considered eligible for serving (aka the targeted adgroup). + * E.g., if the below adgroup targeting is set to adgroup = X, then the feed + * item can only serve under adgroup X. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemAdGroupTargeting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemAdGroupTargeting"; + + /** + * @access public + * @var integer + */ + public $TargetingAdGroupId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($TargetingAdGroupId = null) { + $this->TargetingAdGroupId = $TargetingAdGroupId; + } + + } +} + +if (!class_exists("FeedItemAttributeError", false)) { + /** + * Contains validation error details for a set of feed attributes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemAttributeError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemAttributeError"; + + /** + * @access public + * @var integer[] + */ + public $feedAttributeIds; + + /** + * @access public + * @var integer + */ + public $validationErrorCode; + + /** + * @access public + * @var string + */ + public $errorInformation; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedAttributeIds = null, $validationErrorCode = null, $errorInformation = null) { + $this->feedAttributeIds = $feedAttributeIds; + $this->validationErrorCode = $validationErrorCode; + $this->errorInformation = $errorInformation; + } + + } +} + +if (!class_exists("FeedItemCampaignTargeting", false)) { + /** + * Specifies the campaign the request context must match in order for + * the feed item to be considered eligible for serving (aka the targeted campaign). + * E.g., if the below campaign targeting is set to campaignId = X, then the feed + * item can only serve under campaign X. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemCampaignTargeting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemCampaignTargeting"; + + /** + * @access public + * @var integer + */ + public $TargetingCampaignId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($TargetingCampaignId = null) { + $this->TargetingCampaignId = $TargetingCampaignId; + } + + } +} + +if (!class_exists("FeedItemDevicePreference", false)) { + /** + * Represents a FeedItem device preference. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemDevicePreference { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemDevicePreference"; + + /** + * @access public + * @var integer + */ + public $devicePreference; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedItemGeoRestriction", false)) { + /** + * Represents a FeedItem geo restriction. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemGeoRestriction { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemGeoRestriction"; + + /** + * @access public + * @var tnsGeoRestriction + */ + public $geoRestriction; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($geoRestriction = null) { + $this->geoRestriction = $geoRestriction; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class FeedItemSchedule { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemScheduling { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemScheduling"; + + /** + * @access public + * @var FeedItemSchedule[] + */ + public $feedItemSchedules; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Keyword extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Keyword"; + + /** + * @access public + * @var string + */ + public $text; + + /** + * @access public + * @var tnsKeywordMatchType + */ + public $matchType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Location extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MessageFeedItem", false)) { + /** + * Represents a Message extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MessageFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MessageFeedItem"; + + /** + * @access public + * @var string + */ + public $messageBusinessName; + + /** + * @access public + * @var string + */ + public $messageCountryCode; + + /** + * @access public + * @var string + */ + public $messagePhoneNumber; + + /** + * @access public + * @var string + */ + public $messageExtensionText; + + /** + * @access public + * @var string + */ + public $messageText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($messageBusinessName = null, $messageCountryCode = null, $messagePhoneNumber = null, $messageExtensionText = null, $messageText = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->messageBusinessName = $messageBusinessName; + $this->messageCountryCode = $messageCountryCode; + $this->messagePhoneNumber = $messagePhoneNumber; + $this->messageExtensionText = $messageExtensionText; + $this->messageText = $messageText; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class MobileAppCategory extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileAppCategory"; + + /** + * @access public + * @var integer + */ + public $mobileAppCategoryId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileApplication extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileApplication"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MoneyWithCurrency", false)) { + /** + * Represents a money amount with currency. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MoneyWithCurrency extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MoneyWithCurrency"; + + /** + * @access public + * @var Money + */ + public $money; + + /** + * @access public + * @var string + */ + public $currencyCode; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($money = null, $currencyCode = null, $ComparableValueType = null) { + parent::__construct(); + $this->money = $money; + $this->currencyCode = $currencyCode; + $this->ComparableValueType = $ComparableValueType; + } + + } +} + +if (!class_exists("NewEntityCreationError", false)) { + /** + * Error associated with creation of new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Placement extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PolicyData", false)) { + /** + * Approval and policy information attached to an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyData"; + + /** + * @access public + * @var DisapprovalReason[] + */ + public $disapprovalReasons; + + /** + * @access public + * @var string + */ + public $PolicyDataType; + private $_parameterMap = array( + "PolicyData.Type" => "PolicyDataType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($disapprovalReasons = null, $PolicyDataType = null) { + $this->disapprovalReasons = $disapprovalReasons; + $this->PolicyDataType = $PolicyDataType; + } + + } +} + +if (!class_exists("Predicate", false)) { + /** + * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PriceFeedItem", false)) { + /** + * Represents a price extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceFeedItem"; + + /** + * @access public + * @var tnsPriceExtensionType + */ + public $priceExtensionType; + + /** + * @access public + * @var tnsPriceExtensionPriceQualifier + */ + public $priceQualifier; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var string + */ + public $language; + + /** + * @access public + * @var PriceTableRow[] + */ + public $tableRows; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($priceExtensionType = null, $priceQualifier = null, $trackingUrlTemplate = null, $language = null, $tableRows = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->priceExtensionType = $priceExtensionType; + $this->priceQualifier = $priceQualifier; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->language = $language; + $this->tableRows = $tableRows; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("PriceTableRow", false)) { + /** + * Represents one row in a price extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceTableRow { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceTableRow"; + + /** + * @access public + * @var string + */ + public $header; + + /** + * @access public + * @var string + */ + public $description; + + /** + * @access public + * @var UrlList + */ + public $finalUrls; + + /** + * @access public + * @var UrlList + */ + public $finalMobileUrls; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $price; + + /** + * @access public + * @var tnsPriceExtensionPriceUnit + */ + public $priceUnit; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($header = null, $description = null, $finalUrls = null, $finalMobileUrls = null, $price = null, $priceUnit = null) { + $this->header = $header; + $this->description = $description; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->price = $price; + $this->priceUnit = $priceUnit; + } + + } +} + +if (!class_exists("PromotionFeedItem", false)) { + /** + * Represents a promotion extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionFeedItem"; + + /** + * @access public + * @var string + */ + public $promotionTarget; + + /** + * @access public + * @var tnsPromotionExtensionDiscountModifier + */ + public $discountModifier; + + /** + * @access public + * @var integer + */ + public $percentOff; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $moneyAmountOff; + + /** + * @access public + * @var string + */ + public $promotionCode; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $ordersOverAmount; + + /** + * @access public + * @var string + */ + public $promotionStart; + + /** + * @access public + * @var string + */ + public $promotionEnd; + + /** + * @access public + * @var tnsPromotionExtensionOccasion + */ + public $occasion; + + /** + * @access public + * @var UrlList + */ + public $finalUrls; + + /** + * @access public + * @var UrlList + */ + public $finalMobileUrls; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $promotionUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($promotionTarget = null, $discountModifier = null, $percentOff = null, $moneyAmountOff = null, $promotionCode = null, $ordersOverAmount = null, $promotionStart = null, $promotionEnd = null, $occasion = null, $finalUrls = null, $finalMobileUrls = null, $trackingUrlTemplate = null, $promotionUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->promotionTarget = $promotionTarget; + $this->discountModifier = $discountModifier; + $this->percentOff = $percentOff; + $this->moneyAmountOff = $moneyAmountOff; + $this->promotionCode = $promotionCode; + $this->ordersOverAmount = $ordersOverAmount; + $this->promotionStart = $promotionStart; + $this->promotionEnd = $promotionEnd; + $this->occasion = $occasion; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->promotionUrlCustomParameters = $promotionUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("QueryError", false)) { + /** + * A QueryError represents possible errors for query parsing and execution. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ReviewFeedItem", false)) { + /** + * Represents a Review extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ReviewFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReviewFeedItem"; + + /** + * @access public + * @var string + */ + public $reviewText; + + /** + * @access public + * @var string + */ + public $reviewSourceName; + + /** + * @access public + * @var string + */ + public $reviewSourceUrl; + + /** + * @access public + * @var boolean + */ + public $reviewTextExactlyQuoted; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reviewText = null, $reviewSourceName = null, $reviewSourceUrl = null, $reviewTextExactlyQuoted = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->reviewText = $reviewText; + $this->reviewSourceName = $reviewSourceName; + $this->reviewSourceUrl = $reviewSourceUrl; + $this->reviewTextExactlyQuoted = $reviewTextExactlyQuoted; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("Selector", false)) { + /** + * A generic selector to specify the type of information to return. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("SitelinkFeedItem", false)) { + /** + * Represents a sitelink extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SitelinkFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SitelinkFeedItem"; + + /** + * @access public + * @var string + */ + public $sitelinkText; + + /** + * @access public + * @var string + */ + public $sitelinkUrl; + + /** + * @access public + * @var string + */ + public $sitelinkLine2; + + /** + * @access public + * @var string + */ + public $sitelinkLine3; + + /** + * @access public + * @var UrlList + */ + public $sitelinkFinalUrls; + + /** + * @access public + * @var UrlList + */ + public $sitelinkFinalMobileUrls; + + /** + * @access public + * @var string + */ + public $sitelinkTrackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $sitelinkUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($sitelinkText = null, $sitelinkUrl = null, $sitelinkLine2 = null, $sitelinkLine3 = null, $sitelinkFinalUrls = null, $sitelinkFinalMobileUrls = null, $sitelinkTrackingUrlTemplate = null, $sitelinkUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->sitelinkText = $sitelinkText; + $this->sitelinkUrl = $sitelinkUrl; + $this->sitelinkLine2 = $sitelinkLine2; + $this->sitelinkLine3 = $sitelinkLine3; + $this->sitelinkFinalUrls = $sitelinkFinalUrls; + $this->sitelinkFinalMobileUrls = $sitelinkFinalMobileUrls; + $this->sitelinkTrackingUrlTemplate = $sitelinkTrackingUrlTemplate; + $this->sitelinkUrlCustomParameters = $sitelinkUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StructuredSnippetFeedItem", false)) { + /** + * Represents a structured snippet extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StructuredSnippetFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StructuredSnippetFeedItem"; + + /** + * @access public + * @var string + */ + public $header; + + /** + * @access public + * @var string[] + */ + public $values; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($header = null, $values = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->header = $header; + $this->values = $values; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("UrlError", false)) { + /** + * Url Validation errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UrlList", false)) { + /** + * Wrapper POJO for a list of URLs. The list can be cleared if a request contains + * a UrlList with an empty urls list. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlList"; + + /** + * @access public + * @var string[] + */ + public $urls; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($urls = null) { + $this->urls = $urls; + } + + } +} + +if (!class_exists("CriterionUserInterest", false)) { + /** + * User Interest represents a particular interest-based vertical to be targeted. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionUserInterest extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserInterest"; + + /** + * @access public + * @var integer + */ + public $userInterestId; + + /** + * @access public + * @var integer + */ + public $userInterestParentId; + + /** + * @access public + * @var string + */ + public $userInterestName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userInterestId = $userInterestId; + $this->userInterestParentId = $userInterestParentId; + $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_v201705 + * @subpackage v201705 + */ + class CriterionUserList extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList"; + + /** + * @access public + * @var integer + */ + public $userListId; + + /** + * @access public + * @var string + */ + public $userListName; + + /** + * @access public + * @var tnsCriterionUserListMembershipStatus + */ + public $userListMembershipStatus; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForSearch; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForDisplay; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userListId = $userListId; + $this->userListName = $userListName; + $this->userListMembershipStatus = $userListMembershipStatus; + $this->userListEligibleForSearch = $userListEligibleForSearch; + $this->userListEligibleForDisplay = $userListEligibleForDisplay; + $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_v201705 + * @subpackage v201705 + */ + class Vertical extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AppFeedItemAppStore", false)) { + /** + * The available application stores for app extensions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppFeedItemAppStore { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppFeedItem.AppStore"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DayOfWeek { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DayOfWeek"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ExtensionSettingPlatform", false)) { + /** + * Different levels of platform restrictions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingPlatform { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSetting.Platform"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ExtensionSettingErrorReason", false)) { + /** + * Error reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSettingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItem.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemApprovalStatus", false)) { + /** + * Feed item approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemApprovalStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemApprovalStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemQualityApprovalStatus", false)) { + /** + * Feed item quality evaluation approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemQualityApprovalStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemQualityApprovalStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemQualityDisapprovalReasons", false)) { + /** + * Feed item quality evaluation disapproval reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemQualityDisapprovalReasons { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemQualityDisapprovalReasons"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemValidationStatus", false)) { + /** + * Validation status of a FeedItem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemValidationStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemValidationStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedType", false)) { + /** + * Feed hard type. Values coincide with placeholder type id. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Feed.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("GeoRestriction", false)) { + /** + * A restriction used to determine if the request context's geo should be matched. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GeoRestriction { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "GeoRestriction"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class KeywordMatchType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LocationTargetingStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationTargetingStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MinuteOfHour { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MinuteOfHour"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionPriceQualifier", false)) { + /** + * The qualifier on the price for all Price items. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionPriceQualifier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionPriceQualifier"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionPriceUnit", false)) { + /** + * The price unit for a Price table item. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionPriceUnit { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionPriceUnit"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionType", false)) { + /** + * The type of a price extension represents. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PromotionExtensionDiscountModifier", false)) { + /** + * Qualification for a promotion extension discount. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionExtensionDiscountModifier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionExtensionDiscountModifier"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PromotionExtensionOccasion", false)) { + /** + * The occasion of a promotion extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionExtensionOccasion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionExtensionOccasion"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionUserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CampaignExtensionSettingServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of CampaignExtensionSettings that meet the selector criteria. + * + * @param selector Determines which CampaignExtensionSettings to return. If empty, all + * CampaignExtensionSettings are returned. + * @return The list of CampaignExtensionSettings specified by the selector. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSettingServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CampaignExtensionSettingServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSettingServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignExtensionSettingPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CampaignExtensionSettingServiceMutate", false)) { + /** + * This field must not contain {@code null} elements. + * Elements in this field must have distinct IDs for following {@link Operator}s : ADD, 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 (add, remove, and set). + * + *
Beginning in v201509, add and set operations are treated identically. Performing an add + * operation on a campaign with an existing ExtensionSetting will cause the operation to be + * treated like a set operation. Performing a set operation on a campaign with no + * ExtensionSetting will cause the operation to be treated like an add operation. + * + * @param operations The operations to apply. The same {@link CampaignExtensionSetting} cannot be + * specified in more than one operation. + * @return The changed {@link CampaignExtensionSetting}s. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSettingServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignExtensionSettingOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CampaignExtensionSettingServiceMutateResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSettingServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignExtensionSettingReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 CampaignExtensionSettings that match the query. + * + * @param query The SQL-like AWQL query string. + * @return The list of CampaignExtensionSettings specified by the query. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignExtensionSettingPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AppFeedItem", false)) { + /** + * Represents an App extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppFeedItem"; + + /** + * @access public + * @var tnsAppFeedItemAppStore + */ + public $appStore; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $appLinkText; + + /** + * @access public + * @var string + */ + public $appUrl; + + /** + * @access public + * @var UrlList + */ + public $appFinalUrls; + + /** + * @access public + * @var UrlList + */ + public $appFinalMobileUrls; + + /** + * @access public + * @var string + */ + public $appTrackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $appUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($appStore = null, $appId = null, $appLinkText = null, $appUrl = null, $appFinalUrls = null, $appFinalMobileUrls = null, $appTrackingUrlTemplate = null, $appUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->appStore = $appStore; + $this->appId = $appId; + $this->appLinkText = $appLinkText; + $this->appUrl = $appUrl; + $this->appFinalUrls = $appFinalUrls; + $this->appFinalMobileUrls = $appFinalMobileUrls; + $this->appTrackingUrlTemplate = $appTrackingUrlTemplate; + $this->appUrlCustomParameters = $appUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("CallFeedItem", false)) { + /** + * Represents a Call extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CallFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CallFeedItem"; + + /** + * @access public + * @var string + */ + public $callPhoneNumber; + + /** + * @access public + * @var string + */ + public $callCountryCode; + + /** + * @access public + * @var boolean + */ + public $callTracking; + + /** + * @access public + * @var CallConversionType + */ + public $callConversionType; + + /** + * @access public + * @var boolean + */ + public $disableCallConversionTracking; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($callPhoneNumber = null, $callCountryCode = null, $callTracking = null, $callConversionType = null, $disableCallConversionTracking = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->callPhoneNumber = $callPhoneNumber; + $this->callCountryCode = $callCountryCode; + $this->callTracking = $callTracking; + $this->callConversionType = $callConversionType; + $this->disableCallConversionTracking = $disableCallConversionTracking; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("CalloutFeedItem", false)) { + /** + * Represents a callout extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CalloutFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CalloutFeedItem"; + + /** + * @access public + * @var string + */ + public $calloutText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($calloutText = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->calloutText = $calloutText; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("CampaignExtensionSettingOperation", false)) { + /** + * Operation used to create or mutate a CampaignExtensionSetting. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSettingOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignExtensionSettingOperation"; + + /** + * @access public + * @var CampaignExtensionSetting + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CampaignExtensionSettingPage", false)) { + /** + * Contains a subset of CampaignExtensionSetting objects resulting from a + * {@code CampaignExtensionSettingService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSettingPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignExtensionSettingPage"; + + /** + * @access public + * @var CampaignExtensionSetting[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CampaignExtensionSettingReturnValue", false)) { + /** + * A container for return values from a {@code CampaignExtensionSettingService#mutate} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSettingReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignExtensionSettingReturnValue"; + + /** + * @access public + * @var CampaignExtensionSetting[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DoubleValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; + + /** + * @access public + * @var double + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedItemPolicyData", false)) { + /** + * Contains offline-validation and approval results for a given FeedItem and FeedMapping. Each + * validation data indicates any issues found on the feed item when used in the context of the + * feed mapping. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemPolicyData extends PolicyData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemPolicyData"; + + /** + * @access public + * @var integer + */ + public $placeholderType; + + /** + * @access public + * @var integer + */ + public $feedMappingId; + + /** + * @access public + * @var tnsFeedItemValidationStatus + */ + public $validationStatus; + + /** + * @access public + * @var tnsFeedItemApprovalStatus + */ + public $approvalStatus; + + /** + * @access public + * @var FeedItemAttributeError[] + */ + public $validationErrors; + + /** + * @access public + * @var tnsFeedItemQualityApprovalStatus + */ + public $qualityApprovalStatus; + + /** + * @access public + * @var tnsFeedItemQualityDisapprovalReasons[] + */ + public $qualityDisapprovalReasons; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($placeholderType = null, $feedMappingId = null, $validationStatus = null, $approvalStatus = null, $validationErrors = null, $qualityApprovalStatus = null, $qualityDisapprovalReasons = null, $disapprovalReasons = null, $PolicyDataType = null) { + parent::__construct(); + $this->placeholderType = $placeholderType; + $this->feedMappingId = $feedMappingId; + $this->validationStatus = $validationStatus; + $this->approvalStatus = $approvalStatus; + $this->validationErrors = $validationErrors; + $this->qualityApprovalStatus = $qualityApprovalStatus; + $this->qualityDisapprovalReasons = $qualityDisapprovalReasons; + $this->disapprovalReasons = $disapprovalReasons; + $this->PolicyDataType = $PolicyDataType; + } + + } +} + +if (!class_exists("LongValue", false)) { + /** + * Number value type for constructing long valued ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LongValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; + + /** + * @access public + * @var integer + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CampaignExtensionSettingService", false)) { + /** + * CampaignExtensionSettingService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignExtensionSettingService extends AdWordsSoapClient { + + const SERVICE_NAME = "CampaignExtensionSettingService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CampaignExtensionSettingService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/CampaignExtensionSettingService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "AppFeedItem" => "AppFeedItem", + "ApplicationException" => "ApplicationException", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "CallConversionType" => "CallConversionType", + "CallFeedItem" => "CallFeedItem", + "CalloutFeedItem" => "CalloutFeedItem", + "CampaignExtensionSetting" => "CampaignExtensionSetting", + "CampaignExtensionSettingOperation" => "CampaignExtensionSettingOperation", + "CampaignExtensionSettingPage" => "CampaignExtensionSettingPage", + "CampaignExtensionSettingReturnValue" => "CampaignExtensionSettingReturnValue", + "ClientTermsError" => "ClientTermsError", + "CollectionSizeError" => "CollectionSizeError", + "ComparableValue" => "ComparableValue", + "Criterion" => "Criterion", + "CriterionError" => "CriterionError", + "CustomParameter" => "CustomParameter", + "CustomParameters" => "CustomParameters", + "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DisapprovalReason" => "DisapprovalReason", + "DistinctError" => "DistinctError", + "DoubleValue" => "DoubleValue", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "ExtensionFeedItem" => "ExtensionFeedItem", + "ExtensionSetting" => "ExtensionSetting", + "ExtensionSettingError" => "ExtensionSettingError", + "FeedItemAdGroupTargeting" => "FeedItemAdGroupTargeting", + "FeedItemAttributeError" => "FeedItemAttributeError", + "FeedItemCampaignTargeting" => "FeedItemCampaignTargeting", + "FeedItemDevicePreference" => "FeedItemDevicePreference", + "FeedItemGeoRestriction" => "FeedItemGeoRestriction", + "FeedItemPolicyData" => "FeedItemPolicyData", + "FeedItemSchedule" => "FeedItemSchedule", + "FeedItemScheduling" => "FeedItemScheduling", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "Keyword" => "Keyword", + "ListReturnValue" => "ListReturnValue", + "Location" => "Location", + "LongValue" => "LongValue", + "MessageFeedItem" => "MessageFeedItem", + "MobileAppCategory" => "MobileAppCategory", + "MobileApplication" => "MobileApplication", + "Money" => "Money", + "MoneyWithCurrency" => "MoneyWithCurrency", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "NumberValue" => "NumberValue", + "Operation" => "Operation", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Page" => "Page", + "Paging" => "Paging", + "Placement" => "Placement", + "PolicyData" => "PolicyData", + "Predicate" => "Predicate", + "PriceFeedItem" => "PriceFeedItem", + "PriceTableRow" => "PriceTableRow", + "PromotionFeedItem" => "PromotionFeedItem", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "ReviewFeedItem" => "ReviewFeedItem", + "Selector" => "Selector", + "SelectorError" => "SelectorError", + "SitelinkFeedItem" => "SitelinkFeedItem", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "StructuredSnippetFeedItem" => "StructuredSnippetFeedItem", + "UrlError" => "UrlError", + "UrlList" => "UrlList", + "CriterionUserInterest" => "CriterionUserInterest", + "CriterionUserList" => "CriterionUserList", + "Vertical" => "Vertical", + "AppFeedItem.AppStore" => "AppFeedItemAppStore", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "CollectionSizeError.Reason" => "CollectionSizeErrorReason", + "Criterion.Type" => "CriterionType", + "CriterionError.Reason" => "CriterionErrorReason", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DayOfWeek" => "DayOfWeek", + "DistinctError.Reason" => "DistinctErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "ExtensionSetting.Platform" => "ExtensionSettingPlatform", + "ExtensionSettingError.Reason" => "ExtensionSettingErrorReason", + "FeedItem.Status" => "FeedItemStatus", + "FeedItemApprovalStatus" => "FeedItemApprovalStatus", + "FeedItemQualityApprovalStatus" => "FeedItemQualityApprovalStatus", + "FeedItemQualityDisapprovalReasons" => "FeedItemQualityDisapprovalReasons", + "FeedItemValidationStatus" => "FeedItemValidationStatus", + "Feed.Type" => "FeedType", + "GeoRestriction" => "GeoRestriction", + "IdError.Reason" => "IdErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "KeywordMatchType" => "KeywordMatchType", + "LocationTargetingStatus" => "LocationTargetingStatus", + "MinuteOfHour" => "MinuteOfHour", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", + "OperatorError.Reason" => "OperatorErrorReason", + "Predicate.Operator" => "PredicateOperator", + "PriceExtensionPriceQualifier" => "PriceExtensionPriceQualifier", + "PriceExtensionPriceUnit" => "PriceExtensionPriceUnit", + "PriceExtensionType" => "PriceExtensionType", + "PromotionExtensionDiscountModifier" => "PromotionExtensionDiscountModifier", + "PromotionExtensionOccasion" => "PromotionExtensionOccasion", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "UrlError.Reason" => "UrlErrorReason", + "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", + "get" => "CampaignExtensionSettingServiceGet", + "getResponse" => "CampaignExtensionSettingServiceGetResponse", + "mutate" => "CampaignExtensionSettingServiceMutate", + "mutateResponse" => "CampaignExtensionSettingServiceMutateResponse", + "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 CampaignExtensionSettings that meet the selector criteria. + * + * @param selector Determines which CampaignExtensionSettings to return. If empty, all + * CampaignExtensionSettings are returned. + * @return The list of CampaignExtensionSettings specified by the selector. + * @throws ApiException Indicates a problem with the request. + */ + public function get($selector) { + $args = new CampaignExtensionSettingServiceGet($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, 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 (add, remove, and set). + * + *
Beginning in v201509, add and set operations are treated identically. Performing an add + * operation on a campaign with an existing ExtensionSetting will cause the operation to be + * treated like a set operation. Performing a set operation on a campaign with no + * ExtensionSetting will cause the operation to be treated like an add operation. + * + * @param operations The operations to apply. The same {@link CampaignExtensionSetting} cannot be + * specified in more than one operation. + * @return The changed {@link CampaignExtensionSetting}s. + * @throws ApiException Indicates a problem with the request. + */ + public function mutate($operations) { + $args = new CampaignExtensionSettingServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of CampaignExtensionSettings that match the query. + * + * @param query The SQL-like AWQL query string. + * @return The list of CampaignExtensionSettings specified by the query. + * @throws ApiException Indicates a problem 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/v201705/CampaignFeedService.php b/src/Google/Api/Ads/AdWords/v201705/CampaignFeedService.php new file mode 100755 index 000000000..8998e9efc --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/CampaignFeedService.php @@ -0,0 +1,4647 @@ +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CampaignFeed { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $baseCampaignId = null) { + $this->feedId = $feedId; + $this->campaignId = $campaignId; + $this->matchingFunction = $matchingFunction; + $this->placeholderTypes = $placeholderTypes; + $this->status = $status; + $this->baseCampaignId = $baseCampaignId; + } + + } +} + +if (!class_exists("CampaignFeedError", false)) { + /** + * Represents an error for the CampaignFeedService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignFeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignFeedError"; + + /** + * @access public + * @var tnsCampaignFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705
+ * @subpackage v201705
+ */
+ class FeedFunction {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Function";
+
+ /**
+ * @access public
+ * @var tnsFunctionOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var FunctionArgumentOperand[]
+ */
+ public $lhsOperand;
+
+ /**
+ * @access public
+ * @var FunctionArgumentOperand[]
+ */
+ public $rhsOperand;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $functionString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $lhsOperand = null, $rhsOperand = null, $functionString = null) {
+ $this->operator = $operator;
+ $this->lhsOperand = $lhsOperand;
+ $this->rhsOperand = $rhsOperand;
+ $this->functionString = $functionString;
+ }
+
+ }
+}
+
+if (!class_exists("FunctionError", false)) {
+ /**
+ * Errors that indicate issues with the function.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FunctionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionError";
+
+ /**
+ * @access public
+ * @var tnsFunctionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("FunctionParsingError", false)) {
+ /**
+ * An error resulting from a failure to parse the textual representation of a function.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FunctionParsingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionParsingError";
+
+ /**
+ * @access public
+ * @var tnsFunctionParsingErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $offendingText;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $offendingTextIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $offendingText = null, $offendingTextIndex = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->offendingText = $offendingText;
+ $this->offendingTextIndex = $offendingTextIndex;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("IdError", false)) {
+ /**
+ * Errors associated with the ids.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class IdError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError";
+
+ /**
+ * @access public
+ * @var tnsIdErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("ListReturnValue", false)) {
+ /**
+ * Base list return value type.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError";
+
+ /**
+ * @access public
+ * @var tnsNotEmptyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDenied extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied";
+
+ /**
+ * @access public
+ * @var tnsOperationAccessDeniedReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OperatorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError";
+
+ /**
+ * @access public
+ * @var tnsOperatorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OrderBy {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OrderBy";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var tnsSortOrder
+ */
+ public $sortOrder;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Paging {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Paging";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numberResults;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Predicate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError";
+
+ /**
+ * @access public
+ * @var tnsQueryErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->message = $message;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError";
+
+ /**
+ * @access public
+ * @var tnsQuotaCheckErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError";
+
+ /**
+ * @access public
+ * @var tnsReadOnlyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RejectedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError";
+
+ /**
+ * @access public
+ * @var tnsRejectedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequestContextOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestContextOperand";
+
+ /**
+ * @access public
+ * @var tnsRequestContextOperandContextType
+ */
+ public $contextType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError";
+
+ /**
+ * @access public
+ * @var tnsRequestErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class Selector {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError";
+
+ /**
+ * @access public
+ * @var tnsSelectorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError";
+
+ /**
+ * @access public
+ * @var tnsSizeLimitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("StringFormatError", false)) {
+ /**
+ * A list of error code for reporting invalid content of input strings.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError";
+
+ /**
+ * @access public
+ * @var tnsStringFormatErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignFeed.Status";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignFeedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperandConstantType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand.ConstantType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ConstantOperandUnit", false)) {
+ /**
+ * The units of constant operands, if applicable.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperandUnit {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand.Unit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DatabaseErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DistinctErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityCountLimitExceededReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityCountLimitExceeded.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFoundReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Function.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionParsingErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionParsingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class IdErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperatorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class PredicateOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Predicate.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RateExceededError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RejectedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequestContextOperandContextType", false)) {
+ /**
+ * Feed item id in the request context.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class RequestContextOperandContextType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestContextOperand.ContextType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SortOrder {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SortOrder";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringFormatErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedServiceGet {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Selector
+ */
+ public $selector;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedServiceGetResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignFeedPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignFeedOperation[]
+ */
+ public $operations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedServiceMutateResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignFeedReturnValue
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Query {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignFeedPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedOperation extends Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignFeedOperation";
+
+ /**
+ * @access public
+ * @var CampaignFeed
+ */
+ public $operand;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignFeedReturnValue";
+
+ /**
+ * @access public
+ * @var CampaignFeed[]
+ */
+ public $value;
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $partialFailureErrors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("ConstantOperand", false)) {
+ /**
+ * A constant operand in a matching function.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand";
+
+ /**
+ * @access public
+ * @var tnsConstantOperandConstantType
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var tnsConstantOperandUnit
+ */
+ public $unit;
+
+ /**
+ * @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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($type = null, $unit = null, $longValue = null, $booleanValue = null, $doubleValue = null, $stringValue = null, $FunctionArgumentOperandType = null) {
+ parent::__construct();
+ $this->type = $type;
+ $this->unit = $unit;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class FeedAttributeOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FeedAttributeOperand";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $feedId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $feedAttributeId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionOperand";
+
+ /**
+ * @access public
+ * @var Function
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NullStatsPage extends Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullStatsPage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedPage extends NullStatsPage {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignFeedPage";
+
+ /**
+ * @access public
+ * @var CampaignFeed[]
+ */
+ public $entries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignFeedService extends AdWordsSoapClient {
+
+ const SERVICE_NAME = "CampaignFeedService";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CampaignFeedService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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",
+ "FieldPathElement" => "FieldPathElement",
+ "Function" => "FeedFunction",
+ "FunctionError" => "FunctionError",
+ "FunctionOperand" => "FunctionOperand",
+ "FunctionParsingError" => "FunctionParsingError",
+ "IdError" => "IdError",
+ "InternalApiError" => "InternalApiError",
+ "ListReturnValue" => "ListReturnValue",
+ "NotEmptyError" => "NotEmptyError",
+ "NullError" => "NullError",
+ "NullStatsPage" => "NullStatsPage",
+ "FunctionArgumentOperand" => "FunctionArgumentOperand",
+ "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",
+ "RequestContextOperand" => "RequestContextOperand",
+ "RequestError" => "RequestError",
+ "RequiredError" => "RequiredError",
+ "Selector" => "Selector",
+ "SelectorError" => "SelectorError",
+ "SizeLimitError" => "SizeLimitError",
+ "SoapHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "StringFormatError" => "StringFormatError",
+ "StringLengthError" => "StringLengthError",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AuthorizationError.Reason" => "AuthorizationErrorReason",
+ "CampaignFeed.Status" => "CampaignFeedStatus",
+ "CampaignFeedError.Reason" => "CampaignFeedErrorReason",
+ "ClientTermsError.Reason" => "ClientTermsErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "ConstantOperand.ConstantType" => "ConstantOperandConstantType",
+ "ConstantOperand.Unit" => "ConstantOperandUnit",
+ "DatabaseError.Reason" => "DatabaseErrorReason",
+ "DistinctError.Reason" => "DistinctErrorReason",
+ "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason",
+ "EntityNotFound.Reason" => "EntityNotFoundReason",
+ "Function.Operator" => "FunctionOperator",
+ "FunctionError.Reason" => "FunctionErrorReason",
+ "FunctionParsingError.Reason" => "FunctionParsingErrorReason",
+ "IdError.Reason" => "IdErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotEmptyError.Reason" => "NotEmptyErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "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",
+ "RequestContextOperand.ContextType" => "RequestContextOperandContextType",
+ "RequestError.Reason" => "RequestErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "SelectorError.Reason" => "SelectorErrorReason",
+ "SizeLimitError.Reason" => "SizeLimitErrorReason",
+ "SortOrder" => "SortOrder",
+ "StringFormatError.Reason" => "StringFormatErrorReason",
+ "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/v201705/CampaignGroupPerformanceTargetService.php b/src/Google/Api/Ads/AdWords/v201705/CampaignGroupPerformanceTargetService.php
new file mode 100755
index 000000000..ff7344530
--- /dev/null
+++ b/src/Google/Api/Ads/AdWords/v201705/CampaignGroupPerformanceTargetService.php
@@ -0,0 +1,4491 @@
+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_v201705
+ * @subpackage v201705
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var FieldPathElement[]
+ */
+ public $fieldPathElements;
+
+ /**
+ * @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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError";
+
+ /**
+ * @access public
+ * @var tnsAuthorizationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroupPerformanceTarget", false)) {
+ /**
+ * Data representing a campaign group performance target. A campaign group performance target is an
+ * entity that specifies a time range for a campaign group and various metrics by which the
+ * performance of that campaign group can be measured for the time period that the performance
+ * target is active.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTarget {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupPerformanceTarget";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $campaignGroupId;
+
+ /**
+ * @access public
+ * @var PerformanceTarget
+ */
+ public $performanceTarget;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $campaignGroupId = null, $performanceTarget = null) {
+ $this->id = $id;
+ $this->campaignGroupId = $campaignGroupId;
+ $this->performanceTarget = $performanceTarget;
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroupPerformanceTargetError", false)) {
+ /**
+ * Base error class for CampaignGroupPerformanceTargetService.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupPerformanceTargetError";
+
+ /**
+ * @access public
+ * @var tnsCampaignGroupPerformanceTargetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError";
+
+ /**
+ * @access public
+ * @var tnsClientTermsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ComparableValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class DatabaseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError";
+
+ /**
+ * @access public
+ * @var tnsDatabaseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class DateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateError";
+
+ /**
+ * @access public
+ * @var tnsDateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class DateRange {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateRange";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $min;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $max;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DistinctError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError";
+
+ /**
+ * @access public
+ * @var tnsDistinctErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("EntityAccessDenied", false)) {
+ /**
+ * Reports permission problems trying to access an entity.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class EntityAccessDenied extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityAccessDenied";
+
+ /**
+ * @access public
+ * @var tnsEntityAccessDeniedReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class EntityCountLimitExceeded extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFound extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound";
+
+ /**
+ * @access public
+ * @var tnsEntityNotFoundReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("FieldPathElement", false)) {
+ /**
+ * A segment of a field path. Each dot in a field path defines a new segment.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FieldPathElement {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FieldPathElement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($field = null, $index = null) {
+ $this->field = $field;
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("IdError", false)) {
+ /**
+ * Errors associated with the ids.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class IdError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError";
+
+ /**
+ * @access public
+ * @var tnsIdErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("ListReturnValue", false)) {
+ /**
+ * Base list return value type.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class Money extends ComparableValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NewEntityCreationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NewEntityCreationError";
+
+ /**
+ * @access public
+ * @var tnsNewEntityCreationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError";
+
+ /**
+ * @access public
+ * @var tnsNotEmptyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NumberValue extends ComparableValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDenied extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied";
+
+ /**
+ * @access public
+ * @var tnsOperationAccessDeniedReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OperatorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError";
+
+ /**
+ * @access public
+ * @var tnsOperatorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OrderBy {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OrderBy";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var tnsSortOrder
+ */
+ public $sortOrder;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Paging {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Paging";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numberResults;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("PerformanceTarget", false)) {
+ /**
+ * This class is used to configure various Performance Targets.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class PerformanceTarget {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "PerformanceTarget";
+
+ /**
+ * @access public
+ * @var tnsVolumeGoalType
+ */
+ public $volumeGoalType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $volumeTargetValue;
+
+ /**
+ * @access public
+ * @var tnsEfficiencyTargetType
+ */
+ public $efficiencyTargetType;
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $efficiencyTargetValue;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $spendTarget;
+
+ /**
+ * @access public
+ * @var tnsSpendTargetType
+ */
+ public $spendTargetType;
+
+ /**
+ * @access public
+ * @var tnsPerformanceTargetStatus
+ */
+ public $forecastStatus;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $hasPromotedSuggestions;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $startDate;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $endDate;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($volumeGoalType = null, $volumeTargetValue = null, $efficiencyTargetType = null, $efficiencyTargetValue = null, $spendTarget = null, $spendTargetType = null, $forecastStatus = null, $hasPromotedSuggestions = null, $startDate = null, $endDate = null) {
+ $this->volumeGoalType = $volumeGoalType;
+ $this->volumeTargetValue = $volumeTargetValue;
+ $this->efficiencyTargetType = $efficiencyTargetType;
+ $this->efficiencyTargetValue = $efficiencyTargetValue;
+ $this->spendTarget = $spendTarget;
+ $this->spendTargetType = $spendTargetType;
+ $this->forecastStatus = $forecastStatus;
+ $this->hasPromotedSuggestions = $hasPromotedSuggestions;
+ $this->startDate = $startDate;
+ $this->endDate = $endDate;
+ }
+
+ }
+}
+
+if (!class_exists("PerformanceTargetError", false)) {
+ /**
+ * Base error class for all performance target related errors.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class PerformanceTargetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "PerformanceTargetError";
+
+ /**
+ * @access public
+ * @var tnsPerformanceTargetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class Predicate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError";
+
+ /**
+ * @access public
+ * @var tnsQueryErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->message = $message;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError";
+
+ /**
+ * @access public
+ * @var tnsQuotaCheckErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError";
+
+ /**
+ * @access public
+ * @var tnsReadOnlyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RejectedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError";
+
+ /**
+ * @access public
+ * @var tnsRejectedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequestError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError";
+
+ /**
+ * @access public
+ * @var tnsRequestErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class Selector {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError";
+
+ /**
+ * @access public
+ * @var tnsSelectorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError";
+
+ /**
+ * @access public
+ * @var tnsSizeLimitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("StringFormatError", false)) {
+ /**
+ * A list of error code for reporting invalid content of input strings.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError";
+
+ /**
+ * @access public
+ * @var tnsStringFormatErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroupPerformanceTargetErrorReason", false)) {
+ /**
+ * The reasons for the error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupPerformanceTargetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DatabaseErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DateErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DistinctErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EfficiencyTargetType", false)) {
+ /**
+ * An efficiency target specifies desired outcomes for clicks, conversions or
+ * impressions stats for the time period that the performance target is active.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class EfficiencyTargetType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EfficiencyTargetType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityCountLimitExceededReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityCountLimitExceeded.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFoundReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class IdErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NewEntityCreationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NewEntityCreationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperatorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PerformanceTargetErrorReason", false)) {
+ /**
+ * The reasons for the performance target error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class PerformanceTargetErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "PerformanceTargetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PerformanceTargetStatus", false)) {
+ /**
+ * The status of a performance target that reflects how well it?s performing as
+ * compared to actual performance.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class PerformanceTargetStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "PerformanceTargetStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class PredicateOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Predicate.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RateExceededError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RejectedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SortOrder {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SortOrder";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SpendTargetType", false)) {
+ /**
+ * A spend target type specifies whether a particular spend target serves as the
+ * maximum or the minimum spend that a particular performance target should aim
+ * for.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class SpendTargetType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SpendTargetType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringFormatErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VolumeGoalType", false)) {
+ /**
+ * A volume goal type of a performance target. This drives the way the performance
+ * target stats data is reported, and the types of forecasting and hints that the
+ * system will provide to the advertiser.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class VolumeGoalType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "VolumeGoalType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroupPerformanceTargetServiceGet", false)) {
+ /**
+ * This field is required and should not be {@code null}.
+ *
+ *
+ *
+ * Returns the list of campaign group performance targets that meet the selector criteria.
+ *
+ * @param selector specifying the {@link CampaignGroupPerformanceTarget}s to return.
+ * @return A list of campaign group performance targets.
+ * @throws ApiException if problems occurred while fetching campaign group performance target
+ * information.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetServiceGet {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Selector
+ */
+ public $selector;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupPerformanceTargetServiceGetResponse", false)) {
+ /**
+ *
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetServiceGetResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignGroupPerformanceTargetPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupPerformanceTargetServiceMutate", 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, updates, or deletes campaign group performance targets.
+ *
+ * @param operations A list of unique operations.
+ * @return The list of updated campaign groups performance targets, returned in the same order as
+ * the operations
array.
+ * @throws ApiException if problems occurred while updating campaign group performance target
+ * information.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignGroupPerformanceTargetOperation[]
+ */
+ public $operations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupPerformanceTargetServiceMutateResponse", false)) {
+ /**
+ *
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetServiceMutateResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignGroupPerformanceTargetReturnValue
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupPerformanceTargetOperation", false)) {
+ /**
+ * An operation on a campaign group performance target.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetOperation extends Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupPerformanceTargetOperation";
+
+ /**
+ * @access public
+ * @var CampaignGroupPerformanceTarget
+ */
+ public $operand;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupPerformanceTargetPage", false)) {
+ /**
+ * Contains a subset of campaign group performance targets resulting from the filtering and paging
+ * of the {CampaignGroupPerformanceTargetService#get} call.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetPage extends Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupPerformanceTargetPage";
+
+ /**
+ * @access public
+ * @var CampaignGroupPerformanceTarget[]
+ */
+ public $entries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupPerformanceTargetReturnValue", false)) {
+ /**
+ * A container for return values from the CampaignGroupPerformanceTargetService.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupPerformanceTargetReturnValue";
+
+ /**
+ * @access public
+ * @var CampaignGroupPerformanceTarget[]
+ */
+ public $value;
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $partialFailureErrors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DoubleValue extends NumberValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DoubleValue";
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $number;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class LongValue extends NumberValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "LongValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $number;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupPerformanceTargetService", false)) {
+ /**
+ * CampaignGroupPerformanceTargetService
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupPerformanceTargetService extends AdWordsSoapClient {
+
+ const SERVICE_NAME = "CampaignGroupPerformanceTargetService";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CampaignGroupPerformanceTargetService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/CampaignGroupPerformanceTargetService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "AuthorizationError" => "AuthorizationError",
+ "CampaignGroupPerformanceTarget" => "CampaignGroupPerformanceTarget",
+ "CampaignGroupPerformanceTargetError" => "CampaignGroupPerformanceTargetError",
+ "CampaignGroupPerformanceTargetOperation" => "CampaignGroupPerformanceTargetOperation",
+ "CampaignGroupPerformanceTargetPage" => "CampaignGroupPerformanceTargetPage",
+ "CampaignGroupPerformanceTargetReturnValue" => "CampaignGroupPerformanceTargetReturnValue",
+ "ClientTermsError" => "ClientTermsError",
+ "ComparableValue" => "ComparableValue",
+ "DatabaseError" => "DatabaseError",
+ "DateError" => "DateError",
+ "DateRange" => "DateRange",
+ "DistinctError" => "DistinctError",
+ "DoubleValue" => "DoubleValue",
+ "EntityAccessDenied" => "EntityAccessDenied",
+ "EntityCountLimitExceeded" => "EntityCountLimitExceeded",
+ "EntityNotFound" => "EntityNotFound",
+ "FieldPathElement" => "FieldPathElement",
+ "IdError" => "IdError",
+ "InternalApiError" => "InternalApiError",
+ "ListReturnValue" => "ListReturnValue",
+ "LongValue" => "LongValue",
+ "Money" => "Money",
+ "NewEntityCreationError" => "NewEntityCreationError",
+ "NotEmptyError" => "NotEmptyError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "Operation" => "Operation",
+ "OperationAccessDenied" => "OperationAccessDenied",
+ "OperatorError" => "OperatorError",
+ "OrderBy" => "OrderBy",
+ "Page" => "Page",
+ "Paging" => "Paging",
+ "PerformanceTarget" => "PerformanceTarget",
+ "PerformanceTargetError" => "PerformanceTargetError",
+ "Predicate" => "Predicate",
+ "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",
+ "StringFormatError" => "StringFormatError",
+ "StringLengthError" => "StringLengthError",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AuthorizationError.Reason" => "AuthorizationErrorReason",
+ "CampaignGroupPerformanceTargetError.Reason" => "CampaignGroupPerformanceTargetErrorReason",
+ "ClientTermsError.Reason" => "ClientTermsErrorReason",
+ "DatabaseError.Reason" => "DatabaseErrorReason",
+ "DateError.Reason" => "DateErrorReason",
+ "DistinctError.Reason" => "DistinctErrorReason",
+ "EfficiencyTargetType" => "EfficiencyTargetType",
+ "EntityAccessDenied.Reason" => "EntityAccessDeniedReason",
+ "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",
+ "PerformanceTargetError.Reason" => "PerformanceTargetErrorReason",
+ "PerformanceTargetStatus" => "PerformanceTargetStatus",
+ "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",
+ "SpendTargetType" => "SpendTargetType",
+ "StringFormatError.Reason" => "StringFormatErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "VolumeGoalType" => "VolumeGoalType",
+ "get" => "CampaignGroupPerformanceTargetServiceGet",
+ "getResponse" => "CampaignGroupPerformanceTargetServiceGetResponse",
+ "mutate" => "CampaignGroupPerformanceTargetServiceMutate",
+ "mutateResponse" => "CampaignGroupPerformanceTargetServiceMutateResponse",
+ );
+
+
+ /**
+ * 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 campaign group performance targets that meet the selector criteria.
+ *
+ * @param selector specifying the {@link CampaignGroupPerformanceTarget}s to return.
+ * @return A list of campaign group performance targets.
+ * @throws ApiException if problems occurred while fetching campaign group performance target
+ * information.
+ */
+ public function get($selector) {
+ $args = new CampaignGroupPerformanceTargetServiceGet($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}.
+ * The following {@link Operator}s are supported: ADD, SET, REMOVE.
+ *
+ *
+ *
+ * Adds, updates, or deletes campaign group performance targets.
+ *
+ * @param operations A list of unique operations.
+ * @return The list of updated campaign groups performance targets, returned in the same order as
+ * the operations
array.
+ * @throws ApiException if problems occurred while updating campaign group performance target
+ * information.
+ */
+ public function mutate($operations) {
+ $args = new CampaignGroupPerformanceTargetServiceMutate($operations);
+ $result = $this->__soapCall("mutate", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/AdWords/v201705/CampaignGroupService.php b/src/Google/Api/Ads/AdWords/v201705/CampaignGroupService.php
new file mode 100755
index 000000000..3f381a60f
--- /dev/null
+++ b/src/Google/Api/Ads/AdWords/v201705/CampaignGroupService.php
@@ -0,0 +1,4040 @@
+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_v201705
+ * @subpackage v201705
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var FieldPathElement[]
+ */
+ public $fieldPathElements;
+
+ /**
+ * @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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError";
+
+ /**
+ * @access public
+ * @var tnsAuthorizationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroup", false)) {
+ /**
+ * Data representing an AdWords campaign group.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroup {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroup";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var tnsCampaignGroupStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $status = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->status = $status;
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroupError", false)) {
+ /**
+ * Base error class for Campaign Group Service.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupError";
+
+ /**
+ * @access public
+ * @var tnsCampaignGroupErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError";
+
+ /**
+ * @access public
+ * @var tnsClientTermsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class DatabaseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError";
+
+ /**
+ * @access public
+ * @var tnsDatabaseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class DateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateError";
+
+ /**
+ * @access public
+ * @var tnsDateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class DateRange {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateRange";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $min;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $max;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DistinctError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError";
+
+ /**
+ * @access public
+ * @var tnsDistinctErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("EntityAccessDenied", false)) {
+ /**
+ * Reports permission problems trying to access an entity.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class EntityAccessDenied extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityAccessDenied";
+
+ /**
+ * @access public
+ * @var tnsEntityAccessDeniedReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class EntityCountLimitExceeded extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFound extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound";
+
+ /**
+ * @access public
+ * @var tnsEntityNotFoundReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("FieldPathElement", false)) {
+ /**
+ * A segment of a field path. Each dot in a field path defines a new segment.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FieldPathElement {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FieldPathElement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($field = null, $index = null) {
+ $this->field = $field;
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("IdError", false)) {
+ /**
+ * Errors associated with the ids.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class IdError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError";
+
+ /**
+ * @access public
+ * @var tnsIdErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("ListReturnValue", false)) {
+ /**
+ * Base list return value type.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("NewEntityCreationError", false)) {
+ /**
+ * Error associated with creation of new entities.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class NewEntityCreationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NewEntityCreationError";
+
+ /**
+ * @access public
+ * @var tnsNewEntityCreationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError";
+
+ /**
+ * @access public
+ * @var tnsNotEmptyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDenied extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied";
+
+ /**
+ * @access public
+ * @var tnsOperationAccessDeniedReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OperatorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError";
+
+ /**
+ * @access public
+ * @var tnsOperatorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OrderBy {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OrderBy";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var tnsSortOrder
+ */
+ public $sortOrder;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Paging {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Paging";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numberResults;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Predicate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError";
+
+ /**
+ * @access public
+ * @var tnsQueryErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->message = $message;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError";
+
+ /**
+ * @access public
+ * @var tnsQuotaCheckErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError";
+
+ /**
+ * @access public
+ * @var tnsReadOnlyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RejectedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError";
+
+ /**
+ * @access public
+ * @var tnsRejectedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequestError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError";
+
+ /**
+ * @access public
+ * @var tnsRequestErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class Selector {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError";
+
+ /**
+ * @access public
+ * @var tnsSelectorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SettingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SettingError";
+
+ /**
+ * @access public
+ * @var tnsSettingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError";
+
+ /**
+ * @access public
+ * @var tnsSizeLimitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("StringFormatError", false)) {
+ /**
+ * A list of error code for reporting invalid content of input strings.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError";
+
+ /**
+ * @access public
+ * @var tnsStringFormatErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroupErrorReason", false)) {
+ /**
+ * The reasons for the campaign group error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroupStatus", false)) {
+ /**
+ * Status of the Campaign Group
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignGroupStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DatabaseErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DateErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DistinctErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityCountLimitExceededReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityCountLimitExceeded.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFoundReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class IdErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NewEntityCreationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NewEntityCreationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperatorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class PredicateOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Predicate.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RateExceededError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RejectedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SettingErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SettingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SortOrder {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SortOrder";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringFormatErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CampaignGroupServiceGet", false)) {
+ /**
+ * This field is required and should not be {@code null}.
+ *
+ *
+ *
+ * Returns the list of campaign groups that meet the selector criteria.
+ *
+ * @param selector specifying the {@link CampaignGroup}s to return.
+ * @return A list of campaign groups.
+ * @throws ApiException if problems occurred while fetching campaign group information.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupServiceGet {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Selector
+ */
+ public $selector;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupServiceGetResponse", false)) {
+ /**
+ *
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupServiceGetResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignGroupPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupServiceMutate", 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, updates, or deletes campaign groups.
+ *
+ * @param operations A list of unique operations.
+ * @return The list of updated campaign groups, returned in the same order as the
+ * {@code operations} array.
+ * @throws ApiException if problems occurred while updating campaign group information.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignGroupOperation[]
+ */
+ public $operations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupServiceMutateResponse", false)) {
+ /**
+ *
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignGroupServiceMutateResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignGroupReturnValue
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("CampaignGroupOperation", false)) {
+ /**
+ * An operation on an AdWords Campaign Group.
+ *
+ * Note: The REMOVE
operator is not supported. To remove a Campaign Group,
+ * set its {@link CampaignGroup#status status} to REMOVED
.
+ *
Note: Starting with v201705, bidding strategies can only be set on + * campaigns. In earlier versions, bidding strategies can be set on campaigns, ad groups and 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 effective + * bidding strategy will be used. Effective bidding strategy is considered to be the directly + * attached strategy or inherited strategy from above level(s) when there is no directly attached + * strategy. + * + *
For more information on flexible bidding, visit the + * Help Center. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingStrategyConfiguration { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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; + + /** + * @access public + * @var double + */ + public $targetRoasOverride; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $targetRoasOverride = null) { + $this->biddingStrategyId = $biddingStrategyId; + $this->biddingStrategyName = $biddingStrategyName; + $this->biddingStrategyType = $biddingStrategyType; + $this->biddingStrategySource = $biddingStrategySource; + $this->biddingScheme = $biddingScheme; + $this->bids = $bids; + $this->targetRoasOverride = $targetRoasOverride; + } + + } +} + +if (!class_exists("Bids", false)) { + /** + * Base class for all bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Budget { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Budget"; + + /** + * @access public + * @var integer + */ + public $budgetId; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($budgetId = null, $name = null, $amount = null, $deliveryMethod = null, $referenceCount = null, $isExplicitlyShared = null, $status = null) { + $this->budgetId = $budgetId; + $this->name = $name; + $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_v201705 + * @subpackage v201705 + */ + class BudgetError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BudgetError"; + + /** + * @access public + * @var tnsBudgetErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("Campaign", false)) { + /** + * Data representing an AdWords campaign. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Campaign { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Campaign"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var integer + */ + public $campaignGroupId; + + /** + * @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 tnsAdvertisingChannelSubType + */ + public $advertisingChannelSubType; + + /** + * @access public + * @var NetworkSetting + */ + public $networkSetting; + + /** + * @access public + * @var Label[] + */ + public $labels; + + /** + * @access public + * @var BiddingStrategyConfiguration + */ + public $biddingStrategyConfiguration; + + /** + * @access public + * @var tnsCampaignTrialType + */ + public $campaignTrialType; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * @access public + * @var String_StringMapEntry[] + */ + public $forwardCompatibilityMap; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $urlCustomParameters; + + /** + * @access public + * @var VanityPharma + */ + public $vanityPharma; + + /** + * @access public + * @var SelectiveOptimization + */ + public $selectiveOptimization; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $campaignGroupId = null, $name = null, $status = null, $servingStatus = null, $startDate = null, $endDate = null, $budget = null, $conversionOptimizerEligibility = null, $adServingOptimizationStatus = null, $frequencyCap = null, $settings = null, $advertisingChannelType = null, $advertisingChannelSubType = null, $networkSetting = null, $labels = null, $biddingStrategyConfiguration = null, $campaignTrialType = null, $baseCampaignId = null, $forwardCompatibilityMap = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $vanityPharma = null, $selectiveOptimization = null) { + $this->id = $id; + $this->campaignGroupId = $campaignGroupId; + $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->advertisingChannelSubType = $advertisingChannelSubType; + $this->networkSetting = $networkSetting; + $this->labels = $labels; + $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; + $this->campaignTrialType = $campaignTrialType; + $this->baseCampaignId = $baseCampaignId; + $this->forwardCompatibilityMap = $forwardCompatibilityMap; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->urlCustomParameters = $urlCustomParameters; + $this->vanityPharma = $vanityPharma; + $this->selectiveOptimization = $selectiveOptimization; + } + + } +} + +if (!class_exists("CampaignError", false)) { + /** + * Base error class for Campaign Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignError"; + + /** + * @access public + * @var tnsCampaignErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignLabel", false)) { + /** + * Manages the labels associated with a campaign. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignLabel"; + + /** + * @access public + * @var integer + */ + public $campaignId; + + /** + * @access public + * @var integer + */ + public $labelId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($campaignId = null, $labelId = null) { + $this->campaignId = $campaignId; + $this->labelId = $labelId; + } + + } +} + +if (!class_exists("DisplayAttribute", false)) { + /** + * Attributes for Text Labels. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DisplayAttribute extends LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisplayAttribute"; + + /** + * @access public + * @var string + */ + public $backgroundColor; + + /** + * @access public + * @var string + */ + public $description; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($backgroundColor = null, $description = null, $LabelAttributeType = null) { + parent::__construct(); + $this->backgroundColor = $backgroundColor; + $this->description = $description; + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ConversionOptimizerEligibility", false)) { + /** + * Eligibility data for Campaign to transition to Conversion Optimizer + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ConversionOptimizerEligibility { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConversionOptimizerEligibility"; + + /** + * @access public + * @var boolean + */ + public $eligible; + + /** + * @access public + * @var tnsConversionOptimizerEligibilityRejectionReason[] + */ + public $rejectionReasons; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CpaBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpaBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $bidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($bid = null, $bidSource = null, $BidsType = null) { + parent::__construct(); + $this->bid = $bid; + $this->bidSource = $bidSource; + $this->BidsType = $BidsType; + } + + } +} + +if (!class_exists("CpcBid", false)) { + /** + * Manual click based bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CpcBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpcBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $cpcBidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($bid = null, $cpcBidSource = null, $BidsType = null) { + parent::__construct(); + $this->bid = $bid; + $this->cpcBidSource = $cpcBidSource; + $this->BidsType = $BidsType; + } + + } +} + +if (!class_exists("CpmBid", false)) { + /** + * Manual impression based bids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CpmBid extends Bids { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CpmBid"; + + /** + * @access public + * @var Money + */ + public $bid; + + /** + * @access public + * @var tnsBidSource + */ + public $cpmBidSource; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomParameter", false)) { + /** + * CustomParameter is used to map a custom parameter key to its value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameter"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * @access public + * @var boolean + */ + public $isRemove; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $value = null, $isRemove = null) { + $this->key = $key; + $this->value = $value; + $this->isRemove = $isRemove; + } + + } +} + +if (!class_exists("CustomParameters", false)) { + /** + * CustomParameters holds a list of CustomParameters to be treated as a map. + * It has a special field used to indicate that the current map should be cleared and replaced + * with this new map. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameters { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameters"; + + /** + * @access public + * @var CustomParameter[] + */ + public $parameters; + + /** + * @access public + * @var boolean + */ + public $doReplace; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parameters = null, $doReplace = null) { + $this->parameters = $parameters; + $this->doReplace = $doReplace; + } + + } +} + +if (!class_exists("DatabaseError", false)) { + /** + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DateRangeError", false)) { + /** + * A list of all the error codes being used for date range error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRangeError"; + + /** + * @access public + * @var tnsDateRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EnhancedCpcBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EnhancedCpcBiddingScheme"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class ForwardCompatibilityError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ForwardCompatibilityError"; + + /** + * @access public + * @var tnsForwardCompatibilityErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class FrequencyCap { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("Label", false)) { + /** + * Represents a label that can be attached to entities such as campaign, ad group, ads, + * criterion etc. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var tnsLabelStatus + */ + public $status; + + /** + * @access public + * @var LabelAttribute + */ + public $attribute; + + /** + * @access public + * @var string + */ + public $LabelType; + private $_parameterMap = array( + "Label.Type" => "LabelType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("ListError", false)) { + /** + * Errors that can occur when making changes to a list using {@link ListOperations}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ListError"; + + /** + * @access public + * @var tnsListErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ListOperations", false)) { + /** + * Describes the behavior of elements in a list. Instances of ListOperations will always be defined + * alongside some list in an API POJO. The number of operators in the ListOperations must be + * equal to the number of elements in the POJO list. Each operator, together with its corresponding + * list element, describe an intended change. + * + *
For example, if in a request Campaign.selectiveOptimization contains 2 conversionTypeIds, + * and the conversionTypeIdsOps is non-null, it must contain 2 operators. If those operators are + * {PUT, REMOVE} then the API will add the first conversionTypeId (if it doesn't + * already exist) and remove the second conversionTypeId (if it exists). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListOperations { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ListOperations"; + + /** + * @access public + * @var boolean + */ + public $clear; + + /** + * @access public + * @var tnsListOperationsListOperator[] + */ + public $operators; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($clear = null, $operators = null) { + $this->clear = $clear; + $this->operators = $operators; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManualCpcBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ManualCpcBiddingScheme"; + + /** + * @access public + * @var boolean + */ + public $enhancedCpcEnabled; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManualCpmBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ManualCpmBiddingScheme"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NetworkSetting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PageFeed", false)) { + /** + * Page feeds associated with {@link DynamicSearchAdsSetting}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PageFeed { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PageFeed"; + + /** + * @access public + * @var integer[] + */ + public $feedIds; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedIds = null) { + $this->feedIds = $feedIds; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class PageOnePromotedBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 $raiseBidWhenBudgetConstrained; + + /** + * @access public + * @var boolean + */ + public $raiseBidWhenLowQualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $raiseBidWhenBudgetConstrained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { + parent::__construct(); + $this->strategyGoal = $strategyGoal; + $this->bidCeiling = $bidCeiling; + $this->bidModifier = $bidModifier; + $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; + $this->raiseBidWhenBudgetConstrained = $raiseBidWhenBudgetConstrained; + $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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PolicyTopicConstraint", false)) { + /** + * A target which caused a policy finding. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicConstraint { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicConstraint"; + + /** + * @access public + * @var tnsPolicyTopicConstraintPolicyTopicConstraintType + */ + public $constraintType; + + /** + * @access public + * @var string + */ + public $PolicyTopicConstraintType; + private $_parameterMap = array( + "PolicyTopicConstraint.Type" => "PolicyTopicConstraintType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($constraintType = null, $PolicyTopicConstraintType = null) { + $this->constraintType = $constraintType; + $this->PolicyTopicConstraintType = $PolicyTopicConstraintType; + } + + } +} + +if (!class_exists("PolicyTopicEntry", false)) { + /** + * Contains Ads Policy decisions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicEntry"; + + /** + * @access public + * @var tnsPolicyTopicEntryType + */ + public $policyTopicEntryType; + + /** + * @access public + * @var PolicyTopicEvidence[] + */ + public $policyTopicEvidences; + + /** + * @access public + * @var PolicyTopicConstraint[] + */ + public $policyTopicConstraints; + + /** + * @access public + * @var string + */ + public $policyTopicId; + + /** + * @access public + * @var string + */ + public $policyTopicName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($policyTopicEntryType = null, $policyTopicEvidences = null, $policyTopicConstraints = null, $policyTopicId = null, $policyTopicName = null) { + $this->policyTopicEntryType = $policyTopicEntryType; + $this->policyTopicEvidences = $policyTopicEvidences; + $this->policyTopicConstraints = $policyTopicConstraints; + $this->policyTopicId = $policyTopicId; + $this->policyTopicName = $policyTopicName; + } + + } +} + +if (!class_exists("PolicyTopicEvidence", false)) { + /** + * Evidence that caused this policy topic to be reported. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyTopicEvidence { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyTopicEvidence"; + + /** + * @access public + * @var tnsPolicyTopicEvidenceType + */ + public $policyTopicEvidenceType; + + /** + * @access public + * @var string + */ + public $evidenceText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($policyTopicEvidenceType = null, $evidenceText = null) { + $this->policyTopicEvidenceType = $policyTopicEvidenceType; + $this->evidenceText = $evidenceText; + } + + } +} + +if (!class_exists("Predicate", false)) { + /** + * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RegionCodeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError"; + + /** + * @access public + * @var tnsRegionCodeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("SelectiveOptimization", false)) { + /** + * Selected set of conversion types for optimizing campaigns. For e.g. For universal app campaigns, + * these are the set of in-app actions to optimize the campaign towards. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SelectiveOptimization { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectiveOptimization"; + + /** + * @access public + * @var integer[] + */ + public $conversionTypeIds; + + /** + * @access public + * @var ListOperations + */ + public $conversionTypeIdsOps; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($conversionTypeIds = null, $conversionTypeIdsOps = null) { + $this->conversionTypeIds = $conversionTypeIds; + $this->conversionTypeIdsOps = $conversionTypeIdsOps; + } + + } +} + +if (!class_exists("Selector", false)) { + /** + * A generic selector to specify the type of information to return. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Setting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SettingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SettingError"; + + /** + * @access public + * @var tnsSettingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ShoppingSetting extends Setting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShoppingSetting"; + + /** + * @access public + * @var integer + */ + public $merchantId; + + /** + * @access public + * @var string + */ + public $salesCountry; + + /** + * @access public + * @var integer + */ + public $campaignPriority; + + /** + * @access public + * @var boolean + */ + public $enableLocal; + + /** + * @access public + * @var tnsShoppingPurchasePlatform + */ + public $purchasePlatform; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($merchantId = null, $salesCountry = null, $campaignPriority = null, $enableLocal = null, $purchasePlatform = null, $SettingType = null) { + parent::__construct(); + $this->merchantId = $merchantId; + $this->salesCountry = $salesCountry; + $this->campaignPriority = $campaignPriority; + $this->enableLocal = $enableLocal; + $this->purchasePlatform = $purchasePlatform; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StatsQueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError"; + + /** + * @access public + * @var tnsStatsQueryErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class String_StringMapEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "String_StringMapEntry"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 is an automated bid + * strategy that sets bids to help get as many conversions as possible at the target cost per + * acquisition (CPA) you set. + * + *
A {@linkplain #targetCpa target CPA} must be set for the strategy, but can also be optionally + * set for individual ad groups in the strategy. Ad group targets, if set, will override strategy + * targets. + * + *
Note that campaigns must meet + * specific eligibility requirements + * before they can use the Target CPA bid strategy. + * This is disabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetCpaBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TargetOutrankShareBiddingScheme", false)) { + /** + * Target Outrank Share bidding strategy is an automated bidding strategy which automatically sets + * bids so that the customer's ads appear above a specified competitors' ads for a specified target + * fraction of the advertiser's eligible impressions on Google.com. + * This is disabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetOutrankShareBiddingScheme extends BiddingScheme { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TargetOutrankShareBiddingScheme"; + + /** + * @access public + * @var integer + */ + public $targetOutrankShare; + + /** + * @access public + * @var string + */ + public $competitorDomain; + + /** + * @access public + * @var Money + */ + public $maxCpcBidCeiling; + + /** + * @access public + * @var boolean + */ + public $bidChangesForRaisesOnly; + + /** + * @access public + * @var boolean + */ + public $raiseBidWhenLowQualityScore; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($targetOutrankShare = null, $competitorDomain = null, $maxCpcBidCeiling = null, $bidChangesForRaisesOnly = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { + parent::__construct(); + $this->targetOutrankShare = $targetOutrankShare; + $this->competitorDomain = $competitorDomain; + $this->maxCpcBidCeiling = $maxCpcBidCeiling; + $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; + $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; + $this->BiddingSchemeType = $BiddingSchemeType; + } + + } +} + +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. + *
For more information, see + * Targeting Settings.
+ * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetingSettingDetail { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TargetingSettingDetail"; + + /** + * @access public + * @var tnsCriterionTypeGroup + */ + public $criterionTypeGroup; + + /** + * @access public + * @var boolean + */ + public $targetAll; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class TargetRoasBiddingScheme extends BiddingScheme {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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 is an automated
+ * bid strategy that sets your bids to help get as many clicks as possible within your budget.
+ * This is disabled for AdX.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class TargetSpendBiddingScheme extends BiddingScheme {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "TargetSpendBiddingScheme";
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $bidCeiling;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $spendTarget;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $enhancedCpcEnabled;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($bidCeiling = null, $spendTarget = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) {
+ parent::__construct();
+ $this->bidCeiling = $bidCeiling;
+ $this->spendTarget = $spendTarget;
+ $this->enhancedCpcEnabled = $enhancedCpcEnabled;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class TargetingSetting extends Setting {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "TargetingSetting";
+
+ /**
+ * @access public
+ * @var TargetingSettingDetail[]
+ */
+ public $details;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("TrackingSetting", false)) {
+ /**
+ * Campaign level settings for tracking information.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class TrackingSetting extends Setting {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "TrackingSetting";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trackingUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("UniversalAppCampaignAdsPolicyDecisions", false)) {
+ /**
+ * Contains Universal App Campaign Ads Policy decisions with asset identifier information, where
+ * available.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class UniversalAppCampaignAdsPolicyDecisions {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "UniversalAppCampaignAdsPolicyDecisions";
+
+ /**
+ * @access public
+ * @var tnsUniversalAppCampaignAsset
+ */
+ public $universalAppCampaignAsset;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $assetId;
+
+ /**
+ * @access public
+ * @var PolicyTopicEntry[]
+ */
+ public $policyTopicEntries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($universalAppCampaignAsset = null, $assetId = null, $policyTopicEntries = null) {
+ $this->universalAppCampaignAsset = $universalAppCampaignAsset;
+ $this->assetId = $assetId;
+ $this->policyTopicEntries = $policyTopicEntries;
+ }
+
+ }
+}
+
+if (!class_exists("UrlError", false)) {
+ /**
+ * Url Validation errors.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class UrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "UrlError";
+
+ /**
+ * @access public
+ * @var tnsUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("VanityPharma", false)) {
+ /**
+ * Describes how unbranded pharma ads will be displayed.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class VanityPharma {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "VanityPharma";
+
+ /**
+ * @access public
+ * @var tnsVanityPharmaDisplayUrlMode
+ */
+ public $vanityPharmaDisplayUrlMode;
+
+ /**
+ * @access public
+ * @var tnsVanityPharmaText
+ */
+ public $vanityPharmaText;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($vanityPharmaDisplayUrlMode = null, $vanityPharmaText = null) {
+ $this->vanityPharmaDisplayUrlMode = $vanityPharmaDisplayUrlMode;
+ $this->vanityPharmaText = $vanityPharmaText;
+ }
+
+ }
+}
+
+if (!class_exists("AdServingOptimizationStatus", false)) {
+ /**
+ * Ad serving status of campaign.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class AdServingOptimizationStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdServingOptimizationStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdvertisingChannelSubType", false)) {
+ /**
+ * A non-mutable specialization of an Advertising Channel.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class AdvertisingChannelSubType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdvertisingChannelSubType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdvertisingChannelType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdvertisingChannelType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AdxErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AdxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BidSource {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BidSource";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BiddingErrorsReason", false)) {
+ /**
+ * Cannot transition to new bidding strategy.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class BiddingErrorsReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BiddingErrors.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BiddingStrategySource {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BiddingStrategySource";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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. See {@linkplain BiddingStrategyConfiguration}
+ * for additional information.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class BiddingStrategyType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BiddingStrategyType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BudgetBudgetDeliveryMethod {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Budget.BudgetDeliveryMethod";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BudgetBudgetStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Budget.BudgetStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class BudgetErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "BudgetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CampaignTrialType", false)) {
+ /**
+ * This enum is used to indicate if this campaign is a normal campaign, a draft
+ * campaign, or a trial campaign.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignTrialType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CampaignTrialType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ConversionOptimizerEligibilityRejectionReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConversionOptimizerEligibility.RejectionReason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CriterionTypeGroup {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CriterionTypeGroup";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DatabaseErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DateErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DateRangeErrorReason", false)) {
+ /**
+ * The reasons for the date range error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class DateRangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DateRangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DistinctErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityCountLimitExceededReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityCountLimitExceeded.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFoundReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ForwardCompatibilityErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ForwardCompatibilityError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class GeoTargetTypeSettingNegativeGeoTargetType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "GeoTargetTypeSetting.NegativeGeoTargetType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class GeoTargetTypeSettingPositiveGeoTargetType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "GeoTargetTypeSetting.PositiveGeoTargetType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class IdErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelStatus", false)) {
+ /**
+ * The label is enabled.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class LabelStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Label.Status";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Level {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Level";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ListErrorReason", false)) {
+ /**
+ * The reason for the error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ListErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ListError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ListOperationsListOperator", false)) {
+ /**
+ * Specifies the intended behavior for a list element.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ListOperationsListOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ListOperations.ListOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NewEntityCreationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NewEntityCreationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperatorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class PageOnePromotedBiddingSchemeStrategyGoal {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PolicyTopicConstraintPolicyTopicConstraintType", false)) {
+ /**
+ * Subtype of PolicyTopicConstraint.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class PolicyTopicConstraintPolicyTopicConstraintType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "PolicyTopicConstraint.PolicyTopicConstraintType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PolicyTopicEntryType", false)) {
+ /**
+ * The summarized nature of a policy entry.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class PolicyTopicEntryType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "PolicyTopicEntryType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PolicyTopicEvidenceType", false)) {
+ /**
+ * Describes the type of evidence inside the policy topic evidence.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class PolicyTopicEvidenceType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "PolicyTopicEvidenceType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class PredicateOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Predicate.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RateExceededError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RegionCodeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RegionCodeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RejectedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ServingStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ServingStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SettingErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SettingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ShoppingPurchasePlatform", false)) {
+ /**
+ * The platform on which a shopping product can be purchased.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ShoppingPurchasePlatform {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ShoppingPurchasePlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SortOrder {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SortOrder";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class StatsQueryErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StatsQueryError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringFormatErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class TimeUnit {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "TimeUnit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UniversalAppBiddingStrategyGoalType", false)) {
+ /**
+ * Represents the goal towards which the bidding strategy, of a universal app
+ * campaign, should optimize for.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class UniversalAppBiddingStrategyGoalType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "UniversalAppBiddingStrategyGoalType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UniversalAppCampaignAsset", false)) {
+ /**
+ * Represents the individual assets that are utilized as part of the campaign.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class UniversalAppCampaignAsset {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "UniversalAppCampaignAsset";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UrlErrorReason", false)) {
+ /**
+ * The reasons for the url error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class UrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "UrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VanityPharmaDisplayUrlMode", false)) {
+ /**
+ * Mode of display URL for pharma related text ads.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class VanityPharmaDisplayUrlMode {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "VanityPharmaDisplayUrlMode";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VanityPharmaText", false)) {
+ /**
+ * Static text for Vanity Pharma URLs. This text with website descriptions will be
+ * shown in the display URL when website description option for vanity pharma URLs
+ * is selected.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class VanityPharmaText {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "VanityPharmaText";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignServiceGet {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Selector
+ */
+ public $serviceSelector;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignServiceGetResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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}.
operations
array.
+ * @throws ApiException if problems occurred while updating campaign information.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class CampaignServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignOperation[]
+ */
+ public $operations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CampaignServiceMutateResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CampaignReturnValue
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("MutateLabel", 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.
+ *
+ *
+ *
+ * Adds labels to the {@linkplain Campaign campaign} or removes {@linkplain Label label}s from the
+ * {@linkplain Campaign campaign}.
+ * Add - Apply an existing label to an existing {@linkplain Campaign campaign}. The + * {@code campaignId} must reference an existing {@linkplain Campaign}. The {@code labelId} must + * reference an existing {@linkplain Label label}. + *
Remove - Removes the link between the specified {@linkplain Campaign campaign} and + * {@linkplain Label label}. + * + * @param operations the operations to apply. + * @return a list of {@linkplain CampaignLabel}s where each entry in the list is the result of + * applying the operation in the input list with the same index. For an + * add operation, the returned CampaignLabel contains the CampaignId and the LabelId. + * In the case of a remove operation, the returned CampaignLabel will only have CampaignId. + * @throws ApiException when there are one or more errors with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignLabelOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateLabelResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabelResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignLabelReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CampaignLabelOperation", false)) { + /** + * Operations for adding/removing labels from Campaign. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignLabelOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignLabelOperation"; + + /** + * @access public + * @var CampaignLabel + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CampaignLabelReturnValue", false)) { + /** + * A container for return values from the {@link CampaignService#mutateLabel} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignLabelReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignLabelReturnValue"; + + /** + * @access public + * @var CampaignLabel[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TextLabel", false)) { + /** + * Represent a display label entry. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TextLabel extends Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TextLabel"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + parent::__construct(); + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +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}.
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: + *
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_v201705 + * @subpackage v201705 + */ + class GeoTargetTypeSetting extends Setting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "GeoTargetTypeSetting"; + + /** + * @access public + * @var tnsGeoTargetTypeSettingPositiveGeoTargetType + */ + public $positiveGeoTargetType; + + /** + * @access public + * @var tnsGeoTargetTypeSettingNegativeGeoTargetType + */ + public $negativeGeoTargetType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LongValue", false)) { + /** + * Number value type for constructing long valued ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LongValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; + + /** + * @access public + * @var integer + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("UniversalAppCampaignSetting", false)) { + /** + * Setting for storing the mobile app to advertise and creative assets for Universal app campaigns. + * This setting is required for Campaigns with advertising channel subtype UNIVERSAL_APP_CAMPAIGN + * and can only be attached to such Campaigns. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UniversalAppCampaignSetting extends Setting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UniversalAppCampaignSetting"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $description1; + + /** + * @access public + * @var string + */ + public $description2; + + /** + * @access public + * @var string + */ + public $description3; + + /** + * @access public + * @var string + */ + public $description4; + + /** + * @access public + * @var integer[] + */ + public $youtubeVideoMediaIds; + + /** + * @access public + * @var integer[] + */ + public $imageMediaIds; + + /** + * @access public + * @var tnsUniversalAppBiddingStrategyGoalType + */ + public $universalAppBiddingStrategyGoalType; + + /** + * @access public + * @var ListOperations + */ + public $youtubeVideoMediaIdsOps; + + /** + * @access public + * @var ListOperations + */ + public $imageMediaIdsOps; + + /** + * @access public + * @var UniversalAppCampaignAdsPolicyDecisions[] + */ + public $adsPolicyDecisions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($appId = null, $description1 = null, $description2 = null, $description3 = null, $description4 = null, $youtubeVideoMediaIds = null, $imageMediaIds = null, $universalAppBiddingStrategyGoalType = null, $youtubeVideoMediaIdsOps = null, $imageMediaIdsOps = null, $adsPolicyDecisions = null, $SettingType = null) { + parent::__construct(); + $this->appId = $appId; + $this->description1 = $description1; + $this->description2 = $description2; + $this->description3 = $description3; + $this->description4 = $description4; + $this->youtubeVideoMediaIds = $youtubeVideoMediaIds; + $this->imageMediaIds = $imageMediaIds; + $this->universalAppBiddingStrategyGoalType = $universalAppBiddingStrategyGoalType; + $this->youtubeVideoMediaIdsOps = $youtubeVideoMediaIdsOps; + $this->imageMediaIdsOps = $imageMediaIdsOps; + $this->adsPolicyDecisions = $adsPolicyDecisions; + $this->SettingType = $SettingType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class RealTimeBiddingSetting extends Setting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RealTimeBiddingSetting"; + + /** + * @access public + * @var boolean + */ + public $optIn; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignService extends AdWordsSoapClient { + + const SERVICE_NAME = "CampaignService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CampaignService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/CampaignService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AdxError" => "AdxError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "LabelAttribute" => "LabelAttribute", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "BiddingErrors" => "BiddingErrors", + "BiddingScheme" => "BiddingScheme", + "BiddingStrategyConfiguration" => "BiddingStrategyConfiguration", + "Bids" => "Bids", + "Budget" => "Budget", + "BudgetError" => "BudgetError", + "Campaign" => "Campaign", + "CampaignError" => "CampaignError", + "CampaignLabel" => "CampaignLabel", + "CampaignLabelOperation" => "CampaignLabelOperation", + "CampaignLabelReturnValue" => "CampaignLabelReturnValue", + "TextLabel" => "TextLabel", + "DisplayAttribute" => "DisplayAttribute", + "CampaignOperation" => "CampaignOperation", + "CampaignPage" => "CampaignPage", + "CampaignReturnValue" => "CampaignReturnValue", + "ClientTermsError" => "ClientTermsError", + "ComparableValue" => "ComparableValue", + "ConversionOptimizerEligibility" => "ConversionOptimizerEligibility", + "CountryConstraint" => "CountryConstraint", + "CpaBid" => "CpaBid", + "CpcBid" => "CpcBid", + "CpmBid" => "CpmBid", + "CustomParameter" => "CustomParameter", + "CustomParameters" => "CustomParameters", + "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DateRangeError" => "DateRangeError", + "DistinctError" => "DistinctError", + "DoubleValue" => "DoubleValue", + "DynamicSearchAdsSetting" => "DynamicSearchAdsSetting", + "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", + "ForwardCompatibilityError" => "ForwardCompatibilityError", + "FrequencyCap" => "FrequencyCap", + "GeoTargetTypeSetting" => "GeoTargetTypeSetting", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "Label" => "Label", + "ListError" => "ListError", + "ListOperations" => "ListOperations", + "ListReturnValue" => "ListReturnValue", + "LongValue" => "LongValue", + "ManualCpcBiddingScheme" => "ManualCpcBiddingScheme", + "ManualCpmBiddingScheme" => "ManualCpmBiddingScheme", + "Money" => "Money", + "UniversalAppCampaignSetting" => "UniversalAppCampaignSetting", + "NetworkSetting" => "NetworkSetting", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "NumberValue" => "NumberValue", + "Operation" => "Operation", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Page" => "Page", + "PageFeed" => "PageFeed", + "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme", + "Paging" => "Paging", + "PolicyTopicConstraint" => "PolicyTopicConstraint", + "PolicyTopicEntry" => "PolicyTopicEntry", + "PolicyTopicEvidence" => "PolicyTopicEvidence", + "Predicate" => "Predicate", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RealTimeBiddingSetting" => "RealTimeBiddingSetting", + "RegionCodeError" => "RegionCodeError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SelectiveOptimization" => "SelectiveOptimization", + "Selector" => "Selector", + "SelectorError" => "SelectorError", + "Setting" => "Setting", + "SettingError" => "SettingError", + "ShoppingSetting" => "ShoppingSetting", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StatsQueryError" => "StatsQueryError", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "String_StringMapEntry" => "String_StringMapEntry", + "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme", + "TargetOutrankShareBiddingScheme" => "TargetOutrankShareBiddingScheme", + "TargetingSettingDetail" => "TargetingSettingDetail", + "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme", + "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme", + "TargetingSetting" => "TargetingSetting", + "TrackingSetting" => "TrackingSetting", + "UniversalAppCampaignAdsPolicyDecisions" => "UniversalAppCampaignAdsPolicyDecisions", + "UrlError" => "UrlError", + "VanityPharma" => "VanityPharma", + "AdServingOptimizationStatus" => "AdServingOptimizationStatus", + "AdvertisingChannelSubType" => "AdvertisingChannelSubType", + "AdvertisingChannelType" => "AdvertisingChannelType", + "AdxError.Reason" => "AdxErrorReason", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "BidSource" => "BidSource", + "BiddingErrors.Reason" => "BiddingErrorsReason", + "BiddingStrategySource" => "BiddingStrategySource", + "BiddingStrategyType" => "BiddingStrategyType", + "Budget.BudgetDeliveryMethod" => "BudgetBudgetDeliveryMethod", + "Budget.BudgetStatus" => "BudgetBudgetStatus", + "BudgetError.Reason" => "BudgetErrorReason", + "CampaignError.Reason" => "CampaignErrorReason", + "CampaignStatus" => "CampaignStatus", + "CampaignTrialType" => "CampaignTrialType", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "ConversionOptimizerEligibility.RejectionReason" => "ConversionOptimizerEligibilityRejectionReason", + "CriterionTypeGroup" => "CriterionTypeGroup", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DateRangeError.Reason" => "DateRangeErrorReason", + "DistinctError.Reason" => "DistinctErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason", + "GeoTargetTypeSetting.NegativeGeoTargetType" => "GeoTargetTypeSettingNegativeGeoTargetType", + "GeoTargetTypeSetting.PositiveGeoTargetType" => "GeoTargetTypeSettingPositiveGeoTargetType", + "IdError.Reason" => "IdErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "Label.Status" => "LabelStatus", + "Level" => "Level", + "ListError.Reason" => "ListErrorReason", + "ListOperations.ListOperator" => "ListOperationsListOperator", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", + "OperatorError.Reason" => "OperatorErrorReason", + "PageOnePromotedBiddingScheme.StrategyGoal" => "PageOnePromotedBiddingSchemeStrategyGoal", + "PolicyTopicConstraint.PolicyTopicConstraintType" => "PolicyTopicConstraintPolicyTopicConstraintType", + "PolicyTopicEntryType" => "PolicyTopicEntryType", + "PolicyTopicEvidenceType" => "PolicyTopicEvidenceType", + "Predicate.Operator" => "PredicateOperator", + "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", + "ServingStatus" => "ServingStatus", + "SettingError.Reason" => "SettingErrorReason", + "ShoppingPurchasePlatform" => "ShoppingPurchasePlatform", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StatsQueryError.Reason" => "StatsQueryErrorReason", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "TimeUnit" => "TimeUnit", + "UniversalAppBiddingStrategyGoalType" => "UniversalAppBiddingStrategyGoalType", + "UniversalAppCampaignAsset" => "UniversalAppCampaignAsset", + "UrlError.Reason" => "UrlErrorReason", + "VanityPharmaDisplayUrlMode" => "VanityPharmaDisplayUrlMode", + "VanityPharmaText" => "VanityPharmaText", + "get" => "CampaignServiceGet", + "getResponse" => "CampaignServiceGetResponse", + "mutate" => "CampaignServiceMutate", + "mutateResponse" => "CampaignServiceMutateResponse", + "mutateLabel" => "MutateLabel", + "mutateLabelResponse" => "MutateLabelResponse", + "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}.
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 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.
+ *
+ *
+ *
+ * Adds labels to the {@linkplain Campaign campaign} or removes {@linkplain Label label}s from the
+ * {@linkplain Campaign campaign}.
+ * Add - Apply an existing label to an existing {@linkplain Campaign campaign}. The + * {@code campaignId} must reference an existing {@linkplain Campaign}. The {@code labelId} must + * reference an existing {@linkplain Label label}. + *
Remove - Removes the link between the specified {@linkplain Campaign campaign} and + * {@linkplain Label label}. + * + * @param operations the operations to apply. + * @return a list of {@linkplain CampaignLabel}s where each entry in the list is the result of + * applying the operation in the input list with the same index. For an + * add operation, the returned CampaignLabel contains the CampaignId and the LabelId. + * In the case of a remove operation, the returned CampaignLabel will only have CampaignId. + * @throws ApiException when there are one or more errors with the request. + */ + public function mutateLabel($operations) { + $args = new MutateLabel($operations); + $result = $this->__soapCall("mutateLabel", 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/v201705/CampaignSharedSetService.php b/src/Google/Api/Ads/AdWords/v201705/CampaignSharedSetService.php new file mode 100755 index 000000000..2c040fb41 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/CampaignSharedSetService.php @@ -0,0 +1,4142 @@ +sharedSetId = $sharedSetId; + $this->campaignId = $campaignId; + $this->sharedSetName = $sharedSetName; + $this->sharedSetType = $sharedSetType; + $this->campaignName = $campaignName; + $this->status = $status; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CampaignSharedSetStatus", false)) { + /** + * Status of association between campaign and shared set. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSet.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CampaignSharedSetErrorReason", false)) { + /** + * Error reasons + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("SharedSetType", false)) { + /** + * Enumerates the different types of shared sets. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSetType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedSetType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignSharedSetPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignSharedSetOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignSharedSetReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 CampaignSharedSets that match the query. + * + * @param query The SQL-like AWQL query string + * @returns A list of CampaignSharedSets + * @throws ApiException when the query is invalid or there are errors processing the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CampaignSharedSetPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignSharedSetError", false)) { + /** + * Represents error codes for the CampaignSharedSetService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetError"; + + /** + * @access public + * @var tnsCampaignSharedSetErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignSharedSetOperation", false)) { + /** + * Operations for adding/updating CampaignSharedSet entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetOperation"; + + /** + * @access public + * @var CampaignSharedSet + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * A container for return values from the {@link CampaignSharedSetService#mutate} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetReturnValue"; + + /** + * @access public + * @var CampaignSharedSet[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("NullStatsPage", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NullStatsPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullStatsPage"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PagingError", false)) { + /** + * Error codes for pagination. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Contains a list of associations between campaigns and shared sets + * resulting from the filtering and paging of + * {@link CampaignSharedSetService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetPage extends NullStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetPage"; + + /** + * @access public + * @var CampaignSharedSet[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetService extends AdWordsSoapClient { + + const SERVICE_NAME = "CampaignSharedSetService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CampaignSharedSetService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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", + "FieldPathElement" => "FieldPathElement", + "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", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SelectorError" => "SelectorError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "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", + "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", + "SharedSetType" => "SharedSetType", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "get" => "CampaignSharedSetServiceGet", + "getResponse" => "CampaignSharedSetServiceGetResponse", + "mutate" => "CampaignSharedSetServiceMutate", + "mutateResponse" => "CampaignSharedSetServiceMutateResponse", + "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 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; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns the list of CampaignSharedSets that match the query. + * + * @param query The SQL-like AWQL query string + * @returns A list of CampaignSharedSets + * @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/v201705/ConstantDataService.php b/src/Google/Api/Ads/AdWords/v201705/ConstantDataService.php new file mode 100755 index 000000000..e81825b93 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/ConstantDataService.php @@ -0,0 +1,5859 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class String_StringMapEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "String_StringMapEntry"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ProductDimension", false)) { + /** + * Dimension by which to subdivide or filter products. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConstantData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AgeRangeAgeRangeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AgeRange.AgeRangeType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConstantDataServiceUserInterestTaxonomyType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConstantDataService.UserInterestTaxonomyType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GenderGenderType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Gender.GenderType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class KeywordMatchType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileDeviceDeviceType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileDevice.DeviceType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatingSystemVersionOperatorType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatingSystemVersion.OperatorType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCanonicalConditionCondition { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCanonicalCondition.Condition"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductDimensionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductDimensionType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ShoppingBiddingDimensionStatus", false)) { + /** + * Status of a bidding dimension (category) in a bidding taxonomy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ShoppingBiddingDimensionStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShoppingBiddingDimensionStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ShoppingProductChannel", false)) { + /** + * Channel specifies where the item is sold: online or in local stores. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ShoppingProductChannel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShoppingProductChannel"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ShoppingProductChannelExclusivity", false)) { + /** + * Channel exclusivity specifies whether an item is sold exclusively in one channel + * or through multiple channels. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ShoppingProductChannelExclusivity { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ShoppingProductChannelExclusivity"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionUserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetAgeRangeCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetAgeRangeCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AgeRange[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetCarrierCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetCarrierCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Carrier[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetGenderCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetGenderCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Gender[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetLanguageCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetLanguageCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Language[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("GetMobileAppCategoryCriterion", false)) { + /** + * Returns a list of all mobile app category criteria. + * + * @return A list of mobile app categories. + * @throws ApiException when there is at least one error with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetMobileAppCategoryCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("GetMobileAppCategoryCriterionResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetMobileAppCategoryCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var MobileAppCategory[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetMobileDeviceCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetMobileDeviceCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var MobileDevice[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetOperatingSystemVersionCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetOperatingSystemVersionCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var OperatingSystemVersion[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, only {@link Predicate.Operator#EQUALS} + * and {@link Predicate.Operator#IN} with a single value are supported in the country predicate. + * 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_v201705 + * @subpackage v201705 + */ + class GetProductBiddingCategoryData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetProductBiddingCategoryDataResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ProductBiddingCategoryData[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetUserInterestCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var tnsConstantDataServiceUserInterestTaxonomyType + */ + public $userInterestTaxonomyType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetUserInterestCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CriterionUserInterest[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetVerticalCriterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetVerticalCriterionResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Vertical[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AgeRange extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AgeRange"; + + /** + * @access public + * @var tnsAgeRangeAgeRangeType + */ + public $ageRangeType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Carrier extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Carrier"; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var string + */ + public $countryCode; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Gender extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Gender"; + + /** + * @access public + * @var tnsGenderGenderType + */ + public $genderType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Keyword extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Keyword"; + + /** + * @access public + * @var string + */ + public $text; + + /** + * @access public + * @var tnsKeywordMatchType + */ + public $matchType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Language extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Language"; + + /** + * @access public + * @var string + */ + public $code; + + /** + * @access public + * @var string + */ + public $name; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileAppCategory extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileAppCategory"; + + /** + * @access public + * @var integer + */ + public $mobileAppCategoryId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileApplication extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileApplication"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileDevice extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatingSystemVersion extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("OperationAccessDenied", false)) { + /** + * Operation not permitted due to the invoked service's access policy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Placement extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductAdwordsGrouping extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductAdwordsGrouping"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductAdwordsLabels extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductAdwordsLabels"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 same subdivision + * must have the same dimension type (category level). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductBiddingCategory extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductBiddingCategory"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var integer + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductBrand extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductBrand"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCanonicalCondition extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCanonicalCondition"; + + /** + * @access public + * @var tnsProductCanonicalConditionCondition + */ + public $condition; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ProductChannel", false)) { + /** + * The product channel dimension, which specifies the locality of an offer. Only supported by + * campaigns of {@link AdvertisingChannelType#SHOPPING}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductChannel extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductChannel"; + + /** + * @access public + * @var tnsShoppingProductChannel + */ + public $channel; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($channel = null, $ProductDimensionType = null) { + parent::__construct(); + $this->channel = $channel; + $this->ProductDimensionType = $ProductDimensionType; + } + + } +} + +if (!class_exists("ProductChannelExclusivity", false)) { + /** + * The product channel exclusivity dimension, which limits the availability of an offer between only + * local, only online, or both. Only supported by campaigns of + * {@link AdvertisingChannelType#SHOPPING}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductChannelExclusivity extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductChannelExclusivity"; + + /** + * @access public + * @var tnsShoppingProductChannelExclusivity + */ + public $channelExclusivity; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($channelExclusivity = null, $ProductDimensionType = null) { + parent::__construct(); + $this->channelExclusivity = $channelExclusivity; + $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_v201705 + * @subpackage v201705 + */ + class ProductLegacyCondition extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductLegacyCondition"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductCustomAttribute extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductCustomAttribute"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductOfferId extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductOfferId"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 same + * subdivision must have the same dimension type (product type level). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ProductType extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductType"; + + /** + * @access public + * @var tnsProductDimensionType + */ + public $type; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ProductTypeFull extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ProductTypeFull"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UnknownProductDimension", false)) { + /** + * An unknown product dimension type which will be returned in place of any ProductDimension not + * supported by the clients current API version. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UnknownProductDimension extends ProductDimension { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UnknownProductDimension"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($ProductDimensionType = null) { + parent::__construct(); + $this->ProductDimensionType = $ProductDimensionType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class CriterionUserInterest extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserInterest"; + + /** + * @access public + * @var integer + */ + public $userInterestId; + + /** + * @access public + * @var integer + */ + public $userInterestParentId; + + /** + * @access public + * @var string + */ + public $userInterestName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userInterestId = $userInterestId; + $this->userInterestParentId = $userInterestParentId; + $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_v201705 + * @subpackage v201705 + */ + class CriterionUserList extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList"; + + /** + * @access public + * @var integer + */ + public $userListId; + + /** + * @access public + * @var string + */ + public $userListName; + + /** + * @access public + * @var tnsCriterionUserListMembershipStatus + */ + public $userListMembershipStatus; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForSearch; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForDisplay; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userListId = $userListId; + $this->userListName = $userListName; + $this->userListMembershipStatus = $userListMembershipStatus; + $this->userListEligibleForSearch = $userListEligibleForSearch; + $this->userListEligibleForDisplay = $userListEligibleForDisplay; + $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_v201705 + * @subpackage v201705 + */ + class Vertical extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("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_v201705 + * @subpackage v201705 + */ + class ProductBiddingCategoryData extends ConstantData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 tnsShoppingBiddingDimensionStatus + */ + public $status; + + /** + * @access public + * @var String_StringMapEntry[] + */ + public $displayValue; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($dimensionValue = null, $parentDimensionValue = null, $country = null, $status = null, $displayValue = null, $ConstantDataType = null) { + parent::__construct(); + $this->dimensionValue = $dimensionValue; + $this->parentDimensionValue = $parentDimensionValue; + $this->country = $country; + $this->status = $status; + $this->displayValue = $displayValue; + $this->ConstantDataType = $ConstantDataType; + } + + } +} + +if (!class_exists("ConstantDataService", false)) { + /** + * ConstantDataService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ConstantDataService extends AdWordsSoapClient { + + const SERVICE_NAME = "ConstantDataService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/ConstantDataService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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", + "FieldPathElement" => "FieldPathElement", + "Gender" => "Gender", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "Keyword" => "Keyword", + "Language" => "Language", + "MobileAppCategory" => "MobileAppCategory", + "MobileApplication" => "MobileApplication", + "MobileDevice" => "MobileDevice", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OperatingSystemVersion" => "OperatingSystemVersion", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", + "Placement" => "Placement", + "Predicate" => "Predicate", + "ProductAdwordsGrouping" => "ProductAdwordsGrouping", + "ProductAdwordsLabels" => "ProductAdwordsLabels", + "ProductBiddingCategory" => "ProductBiddingCategory", + "ProductBrand" => "ProductBrand", + "ProductCanonicalCondition" => "ProductCanonicalCondition", + "ProductChannel" => "ProductChannel", + "ProductChannelExclusivity" => "ProductChannelExclusivity", + "ProductLegacyCondition" => "ProductLegacyCondition", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "String_StringMapEntry" => "String_StringMapEntry", + "UnknownProductDimension" => "UnknownProductDimension", + "CriterionUserInterest" => "CriterionUserInterest", + "CriterionUserList" => "CriterionUserList", + "Vertical" => "Vertical", + "DatabaseError" => "DatabaseError", + "ProductDimension" => "ProductDimension", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "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", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "OperatorError.Reason" => "OperatorErrorReason", + "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", + "ShoppingBiddingDimensionStatus" => "ShoppingBiddingDimensionStatus", + "ShoppingProductChannel" => "ShoppingProductChannel", + "ShoppingProductChannelExclusivity" => "ShoppingProductChannelExclusivity", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", + "getAgeRangeCriterion" => "GetAgeRangeCriterion", + "getAgeRangeCriterionResponse" => "GetAgeRangeCriterionResponse", + "getCarrierCriterion" => "GetCarrierCriterion", + "getCarrierCriterionResponse" => "GetCarrierCriterionResponse", + "getGenderCriterion" => "GetGenderCriterion", + "getGenderCriterionResponse" => "GetGenderCriterionResponse", + "getLanguageCriterion" => "GetLanguageCriterion", + "getLanguageCriterionResponse" => "GetLanguageCriterionResponse", + "getMobileAppCategoryCriterion" => "GetMobileAppCategoryCriterion", + "getMobileAppCategoryCriterionResponse" => "GetMobileAppCategoryCriterionResponse", + "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 app category criteria. + * + * @return A list of mobile app categories. + * @throws ApiException when there is at least one error with the request. + */ + public function getMobileAppCategoryCriterion() { + $args = new GetMobileAppCategoryCriterion(); + $result = $this->__soapCall("getMobileAppCategoryCriterion", 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, only {@link Predicate.Operator#EQUALS} + * and {@link Predicate.Operator#IN} with a single value are supported in the country predicate. + * 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/v201705/ConversionTrackerService.php b/src/Google/Api/Ads/AdWords/v201705/ConversionTrackerService.php new file mode 100755 index 000000000..604e2e927 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/ConversionTrackerService.php @@ -0,0 +1,4627 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ConversionTracker", false)) { + /** + * An abstract Conversion base class. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ConversionTracker { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConversionTracker"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var integer + */ + public $originalConversionTypeId; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var tnsConversionTrackerStatus + */ + public $status; + + /** + * @access public + * @var tnsConversionTrackerCategory + */ + public $category; + + /** + * @access public + * @var tnsDataDrivenModelStatus + */ + public $dataDrivenModelStatus; + + /** + * @access public + * @var integer + */ + public $conversionTypeOwnerCustomerId; + + /** + * @access public + * @var integer + */ + public $viewthroughLookbackWindow; + + /** + * @access public + * @var integer + */ + public $ctcLookbackWindow; + + /** + * @access public + * @var tnsConversionDeduplicationMode + */ + public $countingType; + + /** + * @access public + * @var double + */ + public $defaultRevenueValue; + + /** + * @access public + * @var string + */ + public $defaultRevenueCurrencyCode; + + /** + * @access public + * @var boolean + */ + public $alwaysUseDefaultRevenueValue; + + /** + * @access public + * @var boolean + */ + public $excludeFromBidding; + + /** + * @access public + * @var tnsAttributionModelType + */ + public $attributionModelType; + + /** + * @access public + * @var string + */ + public $mostRecentConversionDate; + + /** + * @access public + * @var string + */ + public $lastReceivedRequestTime; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $originalConversionTypeId = null, $name = null, $status = null, $category = null, $dataDrivenModelStatus = null, $conversionTypeOwnerCustomerId = null, $viewthroughLookbackWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $defaultRevenueCurrencyCode = null, $alwaysUseDefaultRevenueValue = null, $excludeFromBidding = null, $attributionModelType = null, $mostRecentConversionDate = null, $lastReceivedRequestTime = null, $ConversionTrackerType = null) { + $this->id = $id; + $this->originalConversionTypeId = $originalConversionTypeId; + $this->name = $name; + $this->status = $status; + $this->category = $category; + $this->dataDrivenModelStatus = $dataDrivenModelStatus; + $this->conversionTypeOwnerCustomerId = $conversionTypeOwnerCustomerId; + $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; + $this->ctcLookbackWindow = $ctcLookbackWindow; + $this->countingType = $countingType; + $this->defaultRevenueValue = $defaultRevenueValue; + $this->defaultRevenueCurrencyCode = $defaultRevenueCurrencyCode; + $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; + $this->excludeFromBidding = $excludeFromBidding; + $this->attributionModelType = $attributionModelType; + $this->mostRecentConversionDate = $mostRecentConversionDate; + $this->lastReceivedRequestTime = $lastReceivedRequestTime; + $this->ConversionTrackerType = $ConversionTrackerType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdWordsConversionTrackerTextFormat", false)) { + /** + * Text format to display on the conversion page. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdWordsConversionTrackerTextFormat { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdWordsConversionTracker.TextFormat"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdWordsConversionTrackerTrackingCodeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdWordsConversionTracker.TrackingCodeType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AppConversionAppConversionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppConversion.AppConversionType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AppConversionAppPlatform { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppConversion.AppPlatform"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AppPostbackUrlErrorReason", false)) { + /** + * Invalid Url format. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppPostbackUrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppPostbackUrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AttributionModelType", false)) { + /** + * Attribution models describing how to distribute credit for a particular + * conversion across potentially many prior interactions. See + * https://support.google.com/adwords/answer/6259715 for more information about + * attribution modeling in AdWords. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AttributionModelType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AttributionModelType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConversionDeduplicationMode { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConversionDeduplicationMode"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConversionTrackerCategory { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConversionTracker.Category"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConversionTrackerStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConversionTracker.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConversionTrackingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConversionTrackingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DataDrivenModelStatus", false)) { + /** + * Enumerates data driven model statuses. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DataDrivenModelStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DataDrivenModelStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConversionTrackerServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConversionTrackerServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ConversionTrackerPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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
You can mutate any ConversionTracker that belongs to your account. You may not + * mutate a ConversionTracker that belongs to some other account. You may not directly + * mutate a system-defined ConversionTracker, but you can create a mutable copy of it + * in your account by sending a mutate request with an ADD operation specifying + * an originalConversionTypeId matching a system-defined conversion tracker's ID. That new + * ADDed ConversionTracker will inherit the statistics and properties + * of the system-defined type, but will be editable as usual.
+ * + * @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_v201705 + * @subpackage v201705 + */ + class ConversionTrackerServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ConversionTrackerOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ConversionTrackerServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ConversionTrackerReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 conversion trackers that match the query. + * + * @param query The SQL-like AWQL query string. + * @return A list of conversion trackers. + * @throws ApiException if problems occur while parsing the query or fetching conversion trackers. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ConversionTrackerPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 and + * call-only ads. + * + *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_v201705 + * @subpackage v201705 + */ + class AdCallMetricsConversion extends ConversionTracker { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdCallMetricsConversion"; + + /** + * @access public + * @var integer + */ + public $phoneCallDuration; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($phoneCallDuration = null, $id = null, $originalConversionTypeId = null, $name = null, $status = null, $category = null, $dataDrivenModelStatus = null, $conversionTypeOwnerCustomerId = null, $viewthroughLookbackWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $defaultRevenueCurrencyCode = null, $alwaysUseDefaultRevenueValue = null, $excludeFromBidding = null, $attributionModelType = null, $mostRecentConversionDate = null, $lastReceivedRequestTime = null, $ConversionTrackerType = null) { + parent::__construct(); + $this->phoneCallDuration = $phoneCallDuration; + $this->id = $id; + $this->originalConversionTypeId = $originalConversionTypeId; + $this->name = $name; + $this->status = $status; + $this->category = $category; + $this->dataDrivenModelStatus = $dataDrivenModelStatus; + $this->conversionTypeOwnerCustomerId = $conversionTypeOwnerCustomerId; + $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; + $this->ctcLookbackWindow = $ctcLookbackWindow; + $this->countingType = $countingType; + $this->defaultRevenueValue = $defaultRevenueValue; + $this->defaultRevenueCurrencyCode = $defaultRevenueCurrencyCode; + $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; + $this->excludeFromBidding = $excludeFromBidding; + $this->attributionModelType = $attributionModelType; + $this->mostRecentConversionDate = $mostRecentConversionDate; + $this->lastReceivedRequestTime = $lastReceivedRequestTime; + $this->ConversionTrackerType = $ConversionTrackerType; + } + + } +} + +if (!class_exists("AdWordsConversionTracker", false)) { + /** + * A conversion tracker created through AdWords Conversion Tracking. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdWordsConversionTracker extends ConversionTracker { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdWordsConversionTracker"; + + /** + * @access public + * @var string + */ + public $snippet; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($snippet = null, $textFormat = null, $conversionPageLanguage = null, $backgroundColor = null, $trackingCodeType = null, $id = null, $originalConversionTypeId = null, $name = null, $status = null, $category = null, $dataDrivenModelStatus = null, $conversionTypeOwnerCustomerId = null, $viewthroughLookbackWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $defaultRevenueCurrencyCode = null, $alwaysUseDefaultRevenueValue = null, $excludeFromBidding = null, $attributionModelType = null, $mostRecentConversionDate = null, $lastReceivedRequestTime = null, $ConversionTrackerType = null) { + parent::__construct(); + $this->snippet = $snippet; + $this->textFormat = $textFormat; + $this->conversionPageLanguage = $conversionPageLanguage; + $this->backgroundColor = $backgroundColor; + $this->trackingCodeType = $trackingCodeType; + $this->id = $id; + $this->originalConversionTypeId = $originalConversionTypeId; + $this->name = $name; + $this->status = $status; + $this->category = $category; + $this->dataDrivenModelStatus = $dataDrivenModelStatus; + $this->conversionTypeOwnerCustomerId = $conversionTypeOwnerCustomerId; + $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; + $this->ctcLookbackWindow = $ctcLookbackWindow; + $this->countingType = $countingType; + $this->defaultRevenueValue = $defaultRevenueValue; + $this->defaultRevenueCurrencyCode = $defaultRevenueCurrencyCode; + $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; + $this->excludeFromBidding = $excludeFromBidding; + $this->attributionModelType = $attributionModelType; + $this->mostRecentConversionDate = $mostRecentConversionDate; + $this->lastReceivedRequestTime = $lastReceivedRequestTime; + $this->ConversionTrackerType = $ConversionTrackerType; + } + + } +} + +if (!class_exists("AppConversion", false)) { + /** + * A ConversionTracker for mobile apps. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppConversion extends ConversionTracker { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $originalConversionTypeId = null, $name = null, $status = null, $category = null, $dataDrivenModelStatus = null, $conversionTypeOwnerCustomerId = null, $viewthroughLookbackWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $defaultRevenueCurrencyCode = null, $alwaysUseDefaultRevenueValue = null, $excludeFromBidding = null, $attributionModelType = null, $mostRecentConversionDate = null, $lastReceivedRequestTime = null, $ConversionTrackerType = null) { + parent::__construct(); + $this->appId = $appId; + $this->appPlatform = $appPlatform; + $this->snippet = $snippet; + $this->appConversionType = $appConversionType; + $this->appPostbackUrl = $appPostbackUrl; + $this->id = $id; + $this->originalConversionTypeId = $originalConversionTypeId; + $this->name = $name; + $this->status = $status; + $this->category = $category; + $this->dataDrivenModelStatus = $dataDrivenModelStatus; + $this->conversionTypeOwnerCustomerId = $conversionTypeOwnerCustomerId; + $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; + $this->ctcLookbackWindow = $ctcLookbackWindow; + $this->countingType = $countingType; + $this->defaultRevenueValue = $defaultRevenueValue; + $this->defaultRevenueCurrencyCode = $defaultRevenueCurrencyCode; + $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; + $this->excludeFromBidding = $excludeFromBidding; + $this->attributionModelType = $attributionModelType; + $this->mostRecentConversionDate = $mostRecentConversionDate; + $this->lastReceivedRequestTime = $lastReceivedRequestTime; + $this->ConversionTrackerType = $ConversionTrackerType; + } + + } +} + +if (!class_exists("AppPostbackUrlError", false)) { + /** + * Errors returned when App Postback Url is invalid. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppPostbackUrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppPostbackUrlError"; + + /** + * @access public + * @var tnsAppPostbackUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ConversionTrackingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ConversionTrackingError"; + + /** + * @access public + * @var tnsConversionTrackingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UploadCallConversion", false)) { + /** + * A conversion that happens when a user performs one the following sequences of actions: + *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
You can mutate any ConversionTracker that belongs to your account. You may not + * mutate a ConversionTracker that belongs to some other account. You may not directly + * mutate a system-defined ConversionTracker, but you can create a mutable copy of it + * in your account by sending a mutate request with an ADD operation specifying + * an originalConversionTypeId matching a system-defined conversion tracker's ID. That new + * ADDed ConversionTracker will inherit the statistics and properties + * of the system-defined type, but will be editable as usual.
+ * + * @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; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of conversion trackers that match the query. + * + * @param query The SQL-like AWQL query string. + * @return A list of conversion trackers. + * @throws ApiException if problems occur while parsing the query or fetching conversion trackers. + */ + 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/v201705/CustomerExtensionSettingService.php b/src/Google/Api/Ads/AdWords/v201705/CustomerExtensionSettingService.php new file mode 100755 index 000000000..2b6df078e --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/CustomerExtensionSettingService.php @@ -0,0 +1,7641 @@ +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CallConversionType", false)) { + /** + * Conversion type for a call extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CallConversionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CallConversionType"; + + /** + * @access public + * @var integer + */ + public $conversionTypeId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($conversionTypeId = null) { + $this->conversionTypeId = $conversionTypeId; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CustomParameter", false)) { + /** + * CustomParameter is used to map a custom parameter key to its value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameter"; + + /** + * @access public + * @var string + */ + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * @access public + * @var boolean + */ + public $isRemove; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($key = null, $value = null, $isRemove = null) { + $this->key = $key; + $this->value = $value; + $this->isRemove = $isRemove; + } + + } +} + +if (!class_exists("CustomParameters", false)) { + /** + * CustomParameters holds a list of CustomParameters to be treated as a map. + * It has a special field used to indicate that the current map should be cleared and replaced + * with this new map. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomParameters { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameters"; + + /** + * @access public + * @var CustomParameter[] + */ + public $parameters; + + /** + * @access public + * @var boolean + */ + public $doReplace; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($parameters = null, $doReplace = null) { + $this->parameters = $parameters; + $this->doReplace = $doReplace; + } + + } +} + +if (!class_exists("CustomerExtensionSetting", false)) { + /** + * A CustomerExtensionSetting is used to add or modify extensions being served for the customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSetting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomerExtensionSetting"; + + /** + * @access public + * @var tnsFeedType + */ + public $extensionType; + + /** + * @access public + * @var ExtensionSetting + */ + public $extensionSetting; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($extensionType = null, $extensionSetting = null) { + $this->extensionType = $extensionType; + $this->extensionSetting = $extensionSetting; + } + + } +} + +if (!class_exists("DatabaseError", false)) { + /** + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DisapprovalReason", false)) { + /** + * Container for information about why an AdWords entity was disapproved. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DisapprovalReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisapprovalReason"; + + /** + * @access public + * @var string + */ + public $shortName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($shortName = null) { + $this->shortName = $shortName; + } + + } +} + +if (!class_exists("DistinctError", false)) { + /** + * Errors related to distinct ids or content. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("EntityAccessDenied", false)) { + /** + * Reports permission problems trying to access an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ExtensionFeedItem", false)) { + /** + * Contains base extension feed item data for an extension in an extension feed managed by AdWords. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionFeedItem"; + + /** + * @access public + * @var integer + */ + public $feedId; + + /** + * @access public + * @var integer + */ + public $feedItemId; + + /** + * @access public + * @var tnsFeedItemStatus + */ + public $status; + + /** + * @access public + * @var tnsFeedType + */ + public $feedType; + + /** + * @access public + * @var string + */ + public $startTime; + + /** + * @access public + * @var string + */ + public $endTime; + + /** + * @access public + * @var FeedItemDevicePreference + */ + public $devicePreference; + + /** + * @access public + * @var FeedItemScheduling + */ + public $scheduling; + + /** + * @access public + * @var FeedItemCampaignTargeting + */ + public $campaignTargeting; + + /** + * @access public + * @var FeedItemAdGroupTargeting + */ + public $adGroupTargeting; + + /** + * @access public + * @var Keyword + */ + public $keywordTargeting; + + /** + * @access public + * @var Location + */ + public $geoTargeting; + + /** + * @access public + * @var FeedItemGeoRestriction + */ + public $geoTargetingRestriction; + + /** + * @access public + * @var FeedItemPolicyData[] + */ + public $policyData; + + /** + * @access public + * @var string + */ + public $ExtensionFeedItemType; + private $_parameterMap = array( + "ExtensionFeedItem.Type" => "ExtensionFeedItemType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("ExtensionSetting", false)) { + /** + * A setting specifying when and which extensions should serve at a given level (customer, campaign, + * or ad group). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSetting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSetting"; + + /** + * @access public + * @var ExtensionFeedItem[] + */ + public $extensions; + + /** + * @access public + * @var tnsExtensionSettingPlatform + */ + public $platformRestrictions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($extensions = null, $platformRestrictions = null) { + $this->extensions = $extensions; + $this->platformRestrictions = $platformRestrictions; + } + + } +} + +if (!class_exists("ExtensionSettingError", false)) { + /** + * Represents an error for various extension setting services. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSettingError"; + + /** + * @access public + * @var tnsExtensionSettingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FeedItemAdGroupTargeting", false)) { + /** + * Specifies the adgroup the request context must match in order for + * the feed item to be considered eligible for serving (aka the targeted adgroup). + * E.g., if the below adgroup targeting is set to adgroup = X, then the feed + * item can only serve under adgroup X. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemAdGroupTargeting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemAdGroupTargeting"; + + /** + * @access public + * @var integer + */ + public $TargetingAdGroupId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($TargetingAdGroupId = null) { + $this->TargetingAdGroupId = $TargetingAdGroupId; + } + + } +} + +if (!class_exists("FeedItemAttributeError", false)) { + /** + * Contains validation error details for a set of feed attributes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemAttributeError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemAttributeError"; + + /** + * @access public + * @var integer[] + */ + public $feedAttributeIds; + + /** + * @access public + * @var integer + */ + public $validationErrorCode; + + /** + * @access public + * @var string + */ + public $errorInformation; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedAttributeIds = null, $validationErrorCode = null, $errorInformation = null) { + $this->feedAttributeIds = $feedAttributeIds; + $this->validationErrorCode = $validationErrorCode; + $this->errorInformation = $errorInformation; + } + + } +} + +if (!class_exists("FeedItemCampaignTargeting", false)) { + /** + * Specifies the campaign the request context must match in order for + * the feed item to be considered eligible for serving (aka the targeted campaign). + * E.g., if the below campaign targeting is set to campaignId = X, then the feed + * item can only serve under campaign X. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemCampaignTargeting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemCampaignTargeting"; + + /** + * @access public + * @var integer + */ + public $TargetingCampaignId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($TargetingCampaignId = null) { + $this->TargetingCampaignId = $TargetingCampaignId; + } + + } +} + +if (!class_exists("FeedItemDevicePreference", false)) { + /** + * Represents a FeedItem device preference. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemDevicePreference { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemDevicePreference"; + + /** + * @access public + * @var integer + */ + public $devicePreference; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedItemGeoRestriction", false)) { + /** + * Represents a FeedItem geo restriction. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemGeoRestriction { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemGeoRestriction"; + + /** + * @access public + * @var tnsGeoRestriction + */ + public $geoRestriction; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($geoRestriction = null) { + $this->geoRestriction = $geoRestriction; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class FeedItemSchedule { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemScheduling { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemScheduling"; + + /** + * @access public + * @var FeedItemSchedule[] + */ + public $feedItemSchedules; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Keyword extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Keyword"; + + /** + * @access public + * @var string + */ + public $text; + + /** + * @access public + * @var tnsKeywordMatchType + */ + public $matchType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Location extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MessageFeedItem", false)) { + /** + * Represents a Message extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MessageFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MessageFeedItem"; + + /** + * @access public + * @var string + */ + public $messageBusinessName; + + /** + * @access public + * @var string + */ + public $messageCountryCode; + + /** + * @access public + * @var string + */ + public $messagePhoneNumber; + + /** + * @access public + * @var string + */ + public $messageExtensionText; + + /** + * @access public + * @var string + */ + public $messageText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($messageBusinessName = null, $messageCountryCode = null, $messagePhoneNumber = null, $messageExtensionText = null, $messageText = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->messageBusinessName = $messageBusinessName; + $this->messageCountryCode = $messageCountryCode; + $this->messagePhoneNumber = $messagePhoneNumber; + $this->messageExtensionText = $messageExtensionText; + $this->messageText = $messageText; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class MobileAppCategory extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileAppCategory"; + + /** + * @access public + * @var integer + */ + public $mobileAppCategoryId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MobileApplication extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileApplication"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MoneyWithCurrency", false)) { + /** + * Represents a money amount with currency. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MoneyWithCurrency extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MoneyWithCurrency"; + + /** + * @access public + * @var Money + */ + public $money; + + /** + * @access public + * @var string + */ + public $currencyCode; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($money = null, $currencyCode = null, $ComparableValueType = null) { + parent::__construct(); + $this->money = $money; + $this->currencyCode = $currencyCode; + $this->ComparableValueType = $ComparableValueType; + } + + } +} + +if (!class_exists("NewEntityCreationError", false)) { + /** + * Error associated with creation of new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Placement extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PolicyData", false)) { + /** + * Approval and policy information attached to an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyData"; + + /** + * @access public + * @var DisapprovalReason[] + */ + public $disapprovalReasons; + + /** + * @access public + * @var string + */ + public $PolicyDataType; + private $_parameterMap = array( + "PolicyData.Type" => "PolicyDataType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($disapprovalReasons = null, $PolicyDataType = null) { + $this->disapprovalReasons = $disapprovalReasons; + $this->PolicyDataType = $PolicyDataType; + } + + } +} + +if (!class_exists("Predicate", false)) { + /** + * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PriceFeedItem", false)) { + /** + * Represents a price extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceFeedItem"; + + /** + * @access public + * @var tnsPriceExtensionType + */ + public $priceExtensionType; + + /** + * @access public + * @var tnsPriceExtensionPriceQualifier + */ + public $priceQualifier; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var string + */ + public $language; + + /** + * @access public + * @var PriceTableRow[] + */ + public $tableRows; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($priceExtensionType = null, $priceQualifier = null, $trackingUrlTemplate = null, $language = null, $tableRows = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->priceExtensionType = $priceExtensionType; + $this->priceQualifier = $priceQualifier; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->language = $language; + $this->tableRows = $tableRows; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("PriceTableRow", false)) { + /** + * Represents one row in a price extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceTableRow { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceTableRow"; + + /** + * @access public + * @var string + */ + public $header; + + /** + * @access public + * @var string + */ + public $description; + + /** + * @access public + * @var UrlList + */ + public $finalUrls; + + /** + * @access public + * @var UrlList + */ + public $finalMobileUrls; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $price; + + /** + * @access public + * @var tnsPriceExtensionPriceUnit + */ + public $priceUnit; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($header = null, $description = null, $finalUrls = null, $finalMobileUrls = null, $price = null, $priceUnit = null) { + $this->header = $header; + $this->description = $description; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->price = $price; + $this->priceUnit = $priceUnit; + } + + } +} + +if (!class_exists("PromotionFeedItem", false)) { + /** + * Represents a promotion extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionFeedItem"; + + /** + * @access public + * @var string + */ + public $promotionTarget; + + /** + * @access public + * @var tnsPromotionExtensionDiscountModifier + */ + public $discountModifier; + + /** + * @access public + * @var integer + */ + public $percentOff; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $moneyAmountOff; + + /** + * @access public + * @var string + */ + public $promotionCode; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $ordersOverAmount; + + /** + * @access public + * @var string + */ + public $promotionStart; + + /** + * @access public + * @var string + */ + public $promotionEnd; + + /** + * @access public + * @var tnsPromotionExtensionOccasion + */ + public $occasion; + + /** + * @access public + * @var UrlList + */ + public $finalUrls; + + /** + * @access public + * @var UrlList + */ + public $finalMobileUrls; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $promotionUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($promotionTarget = null, $discountModifier = null, $percentOff = null, $moneyAmountOff = null, $promotionCode = null, $ordersOverAmount = null, $promotionStart = null, $promotionEnd = null, $occasion = null, $finalUrls = null, $finalMobileUrls = null, $trackingUrlTemplate = null, $promotionUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->promotionTarget = $promotionTarget; + $this->discountModifier = $discountModifier; + $this->percentOff = $percentOff; + $this->moneyAmountOff = $moneyAmountOff; + $this->promotionCode = $promotionCode; + $this->ordersOverAmount = $ordersOverAmount; + $this->promotionStart = $promotionStart; + $this->promotionEnd = $promotionEnd; + $this->occasion = $occasion; + $this->finalUrls = $finalUrls; + $this->finalMobileUrls = $finalMobileUrls; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->promotionUrlCustomParameters = $promotionUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("QueryError", false)) { + /** + * A QueryError represents possible errors for query parsing and execution. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ReviewFeedItem", false)) { + /** + * Represents a Review extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ReviewFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReviewFeedItem"; + + /** + * @access public + * @var string + */ + public $reviewText; + + /** + * @access public + * @var string + */ + public $reviewSourceName; + + /** + * @access public + * @var string + */ + public $reviewSourceUrl; + + /** + * @access public + * @var boolean + */ + public $reviewTextExactlyQuoted; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reviewText = null, $reviewSourceName = null, $reviewSourceUrl = null, $reviewTextExactlyQuoted = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->reviewText = $reviewText; + $this->reviewSourceName = $reviewSourceName; + $this->reviewSourceUrl = $reviewSourceUrl; + $this->reviewTextExactlyQuoted = $reviewTextExactlyQuoted; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("Selector", false)) { + /** + * A generic selector to specify the type of information to return. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("SitelinkFeedItem", false)) { + /** + * Represents a sitelink extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SitelinkFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SitelinkFeedItem"; + + /** + * @access public + * @var string + */ + public $sitelinkText; + + /** + * @access public + * @var string + */ + public $sitelinkUrl; + + /** + * @access public + * @var string + */ + public $sitelinkLine2; + + /** + * @access public + * @var string + */ + public $sitelinkLine3; + + /** + * @access public + * @var UrlList + */ + public $sitelinkFinalUrls; + + /** + * @access public + * @var UrlList + */ + public $sitelinkFinalMobileUrls; + + /** + * @access public + * @var string + */ + public $sitelinkTrackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $sitelinkUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($sitelinkText = null, $sitelinkUrl = null, $sitelinkLine2 = null, $sitelinkLine3 = null, $sitelinkFinalUrls = null, $sitelinkFinalMobileUrls = null, $sitelinkTrackingUrlTemplate = null, $sitelinkUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->sitelinkText = $sitelinkText; + $this->sitelinkUrl = $sitelinkUrl; + $this->sitelinkLine2 = $sitelinkLine2; + $this->sitelinkLine3 = $sitelinkLine3; + $this->sitelinkFinalUrls = $sitelinkFinalUrls; + $this->sitelinkFinalMobileUrls = $sitelinkFinalMobileUrls; + $this->sitelinkTrackingUrlTemplate = $sitelinkTrackingUrlTemplate; + $this->sitelinkUrlCustomParameters = $sitelinkUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StructuredSnippetFeedItem", false)) { + /** + * Represents a structured snippet extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StructuredSnippetFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StructuredSnippetFeedItem"; + + /** + * @access public + * @var string + */ + public $header; + + /** + * @access public + * @var string[] + */ + public $values; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($header = null, $values = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->header = $header; + $this->values = $values; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("UrlError", false)) { + /** + * Url Validation errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UrlList", false)) { + /** + * Wrapper POJO for a list of URLs. The list can be cleared if a request contains + * a UrlList with an empty urls list. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlList { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlList"; + + /** + * @access public + * @var string[] + */ + public $urls; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($urls = null) { + $this->urls = $urls; + } + + } +} + +if (!class_exists("CriterionUserInterest", false)) { + /** + * User Interest represents a particular interest-based vertical to be targeted. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionUserInterest extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserInterest"; + + /** + * @access public + * @var integer + */ + public $userInterestId; + + /** + * @access public + * @var integer + */ + public $userInterestParentId; + + /** + * @access public + * @var string + */ + public $userInterestName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userInterestId = $userInterestId; + $this->userInterestParentId = $userInterestParentId; + $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_v201705 + * @subpackage v201705 + */ + class CriterionUserList extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList"; + + /** + * @access public + * @var integer + */ + public $userListId; + + /** + * @access public + * @var string + */ + public $userListName; + + /** + * @access public + * @var tnsCriterionUserListMembershipStatus + */ + public $userListMembershipStatus; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForSearch; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForDisplay; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userListId = $userListId; + $this->userListName = $userListName; + $this->userListMembershipStatus = $userListMembershipStatus; + $this->userListEligibleForSearch = $userListEligibleForSearch; + $this->userListEligibleForDisplay = $userListEligibleForDisplay; + $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_v201705 + * @subpackage v201705 + */ + class Vertical extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AppFeedItemAppStore", false)) { + /** + * The available application stores for app extensions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppFeedItemAppStore { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppFeedItem.AppStore"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DayOfWeek { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DayOfWeek"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ExtensionSettingPlatform", false)) { + /** + * Different levels of platform restrictions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingPlatform { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSetting.Platform"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ExtensionSettingErrorReason", false)) { + /** + * Error reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ExtensionSettingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ExtensionSettingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItem.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemApprovalStatus", false)) { + /** + * Feed item approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemApprovalStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemApprovalStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemQualityApprovalStatus", false)) { + /** + * Feed item quality evaluation approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemQualityApprovalStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemQualityApprovalStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemQualityDisapprovalReasons", false)) { + /** + * Feed item quality evaluation disapproval reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemQualityDisapprovalReasons { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemQualityDisapprovalReasons"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedItemValidationStatus", false)) { + /** + * Validation status of a FeedItem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemValidationStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemValidationStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("FeedType", false)) { + /** + * Feed hard type. Values coincide with placeholder type id. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Feed.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("GeoRestriction", false)) { + /** + * A restriction used to determine if the request context's geo should be matched. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GeoRestriction { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "GeoRestriction"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class KeywordMatchType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LocationTargetingStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationTargetingStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MinuteOfHour { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MinuteOfHour"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionPriceQualifier", false)) { + /** + * The qualifier on the price for all Price items. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionPriceQualifier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionPriceQualifier"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionPriceUnit", false)) { + /** + * The price unit for a Price table item. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionPriceUnit { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionPriceUnit"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PriceExtensionType", false)) { + /** + * The type of a price extension represents. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PriceExtensionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PriceExtensionType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PromotionExtensionDiscountModifier", false)) { + /** + * Qualification for a promotion extension discount. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionExtensionDiscountModifier { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionExtensionDiscountModifier"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("PromotionExtensionOccasion", false)) { + /** + * The occasion of a promotion extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PromotionExtensionOccasion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PromotionExtensionOccasion"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionUserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CustomerExtensionSettingServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of CustomerExtensionSettings that meet the selector criteria. + * + * @param selector Determines which CustomerExtensionSettings to return. If empty, all + * CustomerExtensionSettings are returned. + * @return The list of CustomerExtensionSettings specified by the selector. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSettingServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomerExtensionSettingServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSettingServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CustomerExtensionSettingPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomerExtensionSettingServiceMutate", false)) { + /** + * This field must not contain {@code null} elements. + * Elements in this field must have distinct IDs for following {@link Operator}s : ADD, 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 (add, remove, and set). + * + *
Beginning in v201509, add and set operations are treated identically. Performing an add + * operation when there is an existing ExtensionSetting will cause the operation to be + * treated like a set operation. Performing a set operation when there is no existing + * ExtensionSetting will cause the operation to be treated like an add operation. + * + * @param operations The operations to apply. The same {@link CustomerExtensionSetting} cannot be + * specified in more than one operation. + * @return The changed {@link CustomerExtensionSetting}s. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSettingServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CustomerExtensionSettingOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomerExtensionSettingServiceMutateResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSettingServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CustomerExtensionSettingReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 CustomerExtensionSettings that match the query. + * + * @param query The SQL-like AWQL query string. + * @return The list of CustomerExtensionSettings specified by the query. + * @throws ApiException Indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CustomerExtensionSettingPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AppFeedItem", false)) { + /** + * Represents an App extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AppFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AppFeedItem"; + + /** + * @access public + * @var tnsAppFeedItemAppStore + */ + public $appStore; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $appLinkText; + + /** + * @access public + * @var string + */ + public $appUrl; + + /** + * @access public + * @var UrlList + */ + public $appFinalUrls; + + /** + * @access public + * @var UrlList + */ + public $appFinalMobileUrls; + + /** + * @access public + * @var string + */ + public $appTrackingUrlTemplate; + + /** + * @access public + * @var CustomParameters + */ + public $appUrlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($appStore = null, $appId = null, $appLinkText = null, $appUrl = null, $appFinalUrls = null, $appFinalMobileUrls = null, $appTrackingUrlTemplate = null, $appUrlCustomParameters = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->appStore = $appStore; + $this->appId = $appId; + $this->appLinkText = $appLinkText; + $this->appUrl = $appUrl; + $this->appFinalUrls = $appFinalUrls; + $this->appFinalMobileUrls = $appFinalMobileUrls; + $this->appTrackingUrlTemplate = $appTrackingUrlTemplate; + $this->appUrlCustomParameters = $appUrlCustomParameters; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("CallFeedItem", false)) { + /** + * Represents a Call extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CallFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CallFeedItem"; + + /** + * @access public + * @var string + */ + public $callPhoneNumber; + + /** + * @access public + * @var string + */ + public $callCountryCode; + + /** + * @access public + * @var boolean + */ + public $callTracking; + + /** + * @access public + * @var CallConversionType + */ + public $callConversionType; + + /** + * @access public + * @var boolean + */ + public $disableCallConversionTracking; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($callPhoneNumber = null, $callCountryCode = null, $callTracking = null, $callConversionType = null, $disableCallConversionTracking = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->callPhoneNumber = $callPhoneNumber; + $this->callCountryCode = $callCountryCode; + $this->callTracking = $callTracking; + $this->callConversionType = $callConversionType; + $this->disableCallConversionTracking = $disableCallConversionTracking; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("CalloutFeedItem", false)) { + /** + * Represents a callout extension. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CalloutFeedItem extends ExtensionFeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CalloutFeedItem"; + + /** + * @access public + * @var string + */ + public $calloutText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($calloutText = null, $feedId = null, $feedItemId = null, $status = null, $feedType = null, $startTime = null, $endTime = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $policyData = null, $ExtensionFeedItemType = null) { + parent::__construct(); + $this->calloutText = $calloutText; + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->feedType = $feedType; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->policyData = $policyData; + $this->ExtensionFeedItemType = $ExtensionFeedItemType; + } + + } +} + +if (!class_exists("CustomerExtensionSettingOperation", false)) { + /** + * Operation used to create or mutate a CustomerExtensionSetting. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSettingOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomerExtensionSettingOperation"; + + /** + * @access public + * @var CustomerExtensionSetting + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomerExtensionSettingPage", false)) { + /** + * Contains a subset of CustomerExtensionSetting objects resulting from a + * {@code CustomerExtensionSettingService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSettingPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomerExtensionSettingPage"; + + /** + * @access public + * @var CustomerExtensionSetting[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomerExtensionSettingReturnValue", false)) { + /** + * A container for return values from a {@code CustomerExtensionSettingService#mutate} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSettingReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomerExtensionSettingReturnValue"; + + /** + * @access public + * @var CustomerExtensionSetting[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DoubleValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; + + /** + * @access public + * @var double + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedItemPolicyData", false)) { + /** + * Contains offline-validation and approval results for a given FeedItem and FeedMapping. Each + * validation data indicates any issues found on the feed item when used in the context of the + * feed mapping. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemPolicyData extends PolicyData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemPolicyData"; + + /** + * @access public + * @var integer + */ + public $placeholderType; + + /** + * @access public + * @var integer + */ + public $feedMappingId; + + /** + * @access public + * @var tnsFeedItemValidationStatus + */ + public $validationStatus; + + /** + * @access public + * @var tnsFeedItemApprovalStatus + */ + public $approvalStatus; + + /** + * @access public + * @var FeedItemAttributeError[] + */ + public $validationErrors; + + /** + * @access public + * @var tnsFeedItemQualityApprovalStatus + */ + public $qualityApprovalStatus; + + /** + * @access public + * @var tnsFeedItemQualityDisapprovalReasons[] + */ + public $qualityDisapprovalReasons; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($placeholderType = null, $feedMappingId = null, $validationStatus = null, $approvalStatus = null, $validationErrors = null, $qualityApprovalStatus = null, $qualityDisapprovalReasons = null, $disapprovalReasons = null, $PolicyDataType = null) { + parent::__construct(); + $this->placeholderType = $placeholderType; + $this->feedMappingId = $feedMappingId; + $this->validationStatus = $validationStatus; + $this->approvalStatus = $approvalStatus; + $this->validationErrors = $validationErrors; + $this->qualityApprovalStatus = $qualityApprovalStatus; + $this->qualityDisapprovalReasons = $qualityDisapprovalReasons; + $this->disapprovalReasons = $disapprovalReasons; + $this->PolicyDataType = $PolicyDataType; + } + + } +} + +if (!class_exists("LongValue", false)) { + /** + * Number value type for constructing long valued ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LongValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; + + /** + * @access public + * @var integer + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("CustomerExtensionSettingService", false)) { + /** + * CustomerExtensionSettingService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerExtensionSettingService extends AdWordsSoapClient { + + const SERVICE_NAME = "CustomerExtensionSettingService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CustomerExtensionSettingService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/CustomerExtensionSettingService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "AppFeedItem" => "AppFeedItem", + "ApplicationException" => "ApplicationException", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "CallConversionType" => "CallConversionType", + "CallFeedItem" => "CallFeedItem", + "CalloutFeedItem" => "CalloutFeedItem", + "ClientTermsError" => "ClientTermsError", + "CollectionSizeError" => "CollectionSizeError", + "ComparableValue" => "ComparableValue", + "Criterion" => "Criterion", + "CriterionError" => "CriterionError", + "CustomParameter" => "CustomParameter", + "CustomParameters" => "CustomParameters", + "CustomerExtensionSetting" => "CustomerExtensionSetting", + "CustomerExtensionSettingOperation" => "CustomerExtensionSettingOperation", + "CustomerExtensionSettingPage" => "CustomerExtensionSettingPage", + "CustomerExtensionSettingReturnValue" => "CustomerExtensionSettingReturnValue", + "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DisapprovalReason" => "DisapprovalReason", + "DistinctError" => "DistinctError", + "DoubleValue" => "DoubleValue", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "ExtensionFeedItem" => "ExtensionFeedItem", + "ExtensionSetting" => "ExtensionSetting", + "ExtensionSettingError" => "ExtensionSettingError", + "FeedItemAdGroupTargeting" => "FeedItemAdGroupTargeting", + "FeedItemAttributeError" => "FeedItemAttributeError", + "FeedItemCampaignTargeting" => "FeedItemCampaignTargeting", + "FeedItemDevicePreference" => "FeedItemDevicePreference", + "FeedItemGeoRestriction" => "FeedItemGeoRestriction", + "FeedItemPolicyData" => "FeedItemPolicyData", + "FeedItemSchedule" => "FeedItemSchedule", + "FeedItemScheduling" => "FeedItemScheduling", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "Keyword" => "Keyword", + "ListReturnValue" => "ListReturnValue", + "Location" => "Location", + "LongValue" => "LongValue", + "MessageFeedItem" => "MessageFeedItem", + "MobileAppCategory" => "MobileAppCategory", + "MobileApplication" => "MobileApplication", + "Money" => "Money", + "MoneyWithCurrency" => "MoneyWithCurrency", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "NumberValue" => "NumberValue", + "Operation" => "Operation", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Page" => "Page", + "Paging" => "Paging", + "Placement" => "Placement", + "PolicyData" => "PolicyData", + "Predicate" => "Predicate", + "PriceFeedItem" => "PriceFeedItem", + "PriceTableRow" => "PriceTableRow", + "PromotionFeedItem" => "PromotionFeedItem", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "ReviewFeedItem" => "ReviewFeedItem", + "Selector" => "Selector", + "SelectorError" => "SelectorError", + "SitelinkFeedItem" => "SitelinkFeedItem", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "StructuredSnippetFeedItem" => "StructuredSnippetFeedItem", + "UrlError" => "UrlError", + "UrlList" => "UrlList", + "CriterionUserInterest" => "CriterionUserInterest", + "CriterionUserList" => "CriterionUserList", + "Vertical" => "Vertical", + "AppFeedItem.AppStore" => "AppFeedItemAppStore", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "CollectionSizeError.Reason" => "CollectionSizeErrorReason", + "Criterion.Type" => "CriterionType", + "CriterionError.Reason" => "CriterionErrorReason", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DayOfWeek" => "DayOfWeek", + "DistinctError.Reason" => "DistinctErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "ExtensionSetting.Platform" => "ExtensionSettingPlatform", + "ExtensionSettingError.Reason" => "ExtensionSettingErrorReason", + "FeedItem.Status" => "FeedItemStatus", + "FeedItemApprovalStatus" => "FeedItemApprovalStatus", + "FeedItemQualityApprovalStatus" => "FeedItemQualityApprovalStatus", + "FeedItemQualityDisapprovalReasons" => "FeedItemQualityDisapprovalReasons", + "FeedItemValidationStatus" => "FeedItemValidationStatus", + "Feed.Type" => "FeedType", + "GeoRestriction" => "GeoRestriction", + "IdError.Reason" => "IdErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "KeywordMatchType" => "KeywordMatchType", + "LocationTargetingStatus" => "LocationTargetingStatus", + "MinuteOfHour" => "MinuteOfHour", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", + "OperatorError.Reason" => "OperatorErrorReason", + "Predicate.Operator" => "PredicateOperator", + "PriceExtensionPriceQualifier" => "PriceExtensionPriceQualifier", + "PriceExtensionPriceUnit" => "PriceExtensionPriceUnit", + "PriceExtensionType" => "PriceExtensionType", + "PromotionExtensionDiscountModifier" => "PromotionExtensionDiscountModifier", + "PromotionExtensionOccasion" => "PromotionExtensionOccasion", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "UrlError.Reason" => "UrlErrorReason", + "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", + "get" => "CustomerExtensionSettingServiceGet", + "getResponse" => "CustomerExtensionSettingServiceGetResponse", + "mutate" => "CustomerExtensionSettingServiceMutate", + "mutateResponse" => "CustomerExtensionSettingServiceMutateResponse", + "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 CustomerExtensionSettings that meet the selector criteria. + * + * @param selector Determines which CustomerExtensionSettings to return. If empty, all + * CustomerExtensionSettings are returned. + * @return The list of CustomerExtensionSettings specified by the selector. + * @throws ApiException Indicates a problem with the request. + */ + public function get($selector) { + $args = new CustomerExtensionSettingServiceGet($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, 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 (add, remove, and set). + * + *
Beginning in v201509, add and set operations are treated identically. Performing an add + * operation when there is an existing ExtensionSetting will cause the operation to be + * treated like a set operation. Performing a set operation when there is no existing + * ExtensionSetting will cause the operation to be treated like an add operation. + * + * @param operations The operations to apply. The same {@link CustomerExtensionSetting} cannot be + * specified in more than one operation. + * @return The changed {@link CustomerExtensionSetting}s. + * @throws ApiException Indicates a problem with the request. + */ + public function mutate($operations) { + $args = new CustomerExtensionSettingServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of CustomerExtensionSettings that match the query. + * + * @param query The SQL-like AWQL query string. + * @return The list of CustomerExtensionSettings specified by the query. + * @throws ApiException Indicates a problem 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/v201705/CustomerFeedService.php b/src/Google/Api/Ads/AdWords/v201705/CustomerFeedService.php new file mode 100755 index 000000000..e1e3075ec --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/CustomerFeedService.php @@ -0,0 +1,4433 @@ +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CustomerFeed { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerFeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomerFeedError"; + + /** + * @access public + * @var tnsCustomerFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705
+ * @subpackage v201705
+ */
+ class FeedFunction {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Function";
+
+ /**
+ * @access public
+ * @var tnsFunctionOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var FunctionArgumentOperand[]
+ */
+ public $lhsOperand;
+
+ /**
+ * @access public
+ * @var FunctionArgumentOperand[]
+ */
+ public $rhsOperand;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $functionString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $lhsOperand = null, $rhsOperand = null, $functionString = null) {
+ $this->operator = $operator;
+ $this->lhsOperand = $lhsOperand;
+ $this->rhsOperand = $rhsOperand;
+ $this->functionString = $functionString;
+ }
+
+ }
+}
+
+if (!class_exists("FunctionError", false)) {
+ /**
+ * Errors that indicate issues with the function.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FunctionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionError";
+
+ /**
+ * @access public
+ * @var tnsFunctionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("FunctionParsingError", false)) {
+ /**
+ * An error resulting from a failure to parse the textual representation of a function.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FunctionParsingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionParsingError";
+
+ /**
+ * @access public
+ * @var tnsFunctionParsingErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $offendingText;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $offendingTextIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $offendingText = null, $offendingTextIndex = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->offendingText = $offendingText;
+ $this->offendingTextIndex = $offendingTextIndex;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("IdError", false)) {
+ /**
+ * Errors associated with the ids.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class IdError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError";
+
+ /**
+ * @access public
+ * @var tnsIdErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ $this->ApiErrorType = $ApiErrorType;
+ }
+
+ }
+}
+
+if (!class_exists("ListReturnValue", false)) {
+ /**
+ * Base list return value type.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError";
+
+ /**
+ * @access public
+ * @var tnsNotEmptyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDenied extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied";
+
+ /**
+ * @access public
+ * @var tnsOperationAccessDeniedReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OperatorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError";
+
+ /**
+ * @access public
+ * @var tnsOperatorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class OrderBy {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OrderBy";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var tnsSortOrder
+ */
+ public $sortOrder;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Paging {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Paging";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numberResults;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Predicate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError";
+
+ /**
+ * @access public
+ * @var tnsQueryErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->message = $message;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError";
+
+ /**
+ * @access public
+ * @var tnsQuotaCheckErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError";
+
+ /**
+ * @access public
+ * @var tnsReadOnlyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RejectedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError";
+
+ /**
+ * @access public
+ * @var tnsRejectedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequestContextOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestContextOperand";
+
+ /**
+ * @access public
+ * @var tnsRequestContextOperandContextType
+ */
+ public $contextType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError";
+
+ /**
+ * @access public
+ * @var tnsRequestErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class Selector {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError";
+
+ /**
+ * @access public
+ * @var tnsSelectorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError";
+
+ /**
+ * @access public
+ * @var tnsSizeLimitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("StringFormatError", false)) {
+ /**
+ * A list of error code for reporting invalid content of input strings.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError";
+
+ /**
+ * @access public
+ * @var tnsStringFormatErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->fieldPathElements = $fieldPathElements;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class AuthorizationErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "AuthorizationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ClientTermsErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ClientTermsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperandConstantType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand.ConstantType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ConstantOperandUnit", false)) {
+ /**
+ * The units of constant operands, if applicable.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperandUnit {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand.Unit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedStatus {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CustomerFeed.Status";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CustomerFeedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DatabaseErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DatabaseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class DistinctErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "DistinctError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class EntityNotFoundReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "EntityNotFound.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Function.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionParsingErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionParsingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class IdErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "IdError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NotEmptyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NotEmptyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperationAccessDeniedReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperationAccessDenied.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Operator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class OperatorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OperatorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class PredicateOperator {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Predicate.Operator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QueryError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QuotaCheckErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "QuotaCheckError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RateExceededErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RateExceededError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ReadOnlyErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ReadOnlyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RejectedErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RejectedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequestContextOperandContextType", false)) {
+ /**
+ * Feed item id in the request context.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class RequestContextOperandContextType {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestContextOperand.ContextType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequestErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequestError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SelectorErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SelectorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SizeLimitErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SizeLimitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SortOrder {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "SortOrder";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringFormatErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class StringFormatErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringFormatError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedServiceGet {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Selector
+ */
+ public $selector;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedServiceGetResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomerFeedPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomerFeedOperation[]
+ */
+ public $operations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedServiceMutateResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomerFeedReturnValue
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Query {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class QueryResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomerFeedPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ConstantOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "ConstantOperand";
+
+ /**
+ * @access public
+ * @var tnsConstantOperandConstantType
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var tnsConstantOperandUnit
+ */
+ public $unit;
+
+ /**
+ * @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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($type = null, $unit = null, $longValue = null, $booleanValue = null, $doubleValue = null, $stringValue = null, $FunctionArgumentOperandType = null) {
+ parent::__construct();
+ $this->type = $type;
+ $this->unit = $unit;
+ $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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedOperation extends Operation {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CustomerFeedOperation";
+
+ /**
+ * @access public
+ * @var CustomerFeed
+ */
+ public $operand;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedReturnValue extends ListReturnValue {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CustomerFeedReturnValue";
+
+ /**
+ * @access public
+ * @var CustomerFeed[]
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FeedAttributeOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FeedAttributeOperand";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $feedId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $feedAttributeId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class FunctionOperand extends FunctionArgumentOperand {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FunctionOperand";
+
+ /**
+ * @access public
+ * @var Function
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class NullStatsPage extends Page {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "NullStatsPage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedPage extends NullStatsPage {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "CustomerFeedPage";
+
+ /**
+ * @access public
+ * @var CustomerFeed[]
+ */
+ public $entries;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class CustomerFeedService extends AdWordsSoapClient {
+
+ const SERVICE_NAME = "CustomerFeedService";
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/CustomerFeedService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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",
+ "FieldPathElement" => "FieldPathElement",
+ "Function" => "FeedFunction",
+ "FunctionError" => "FunctionError",
+ "FunctionOperand" => "FunctionOperand",
+ "FunctionParsingError" => "FunctionParsingError",
+ "IdError" => "IdError",
+ "InternalApiError" => "InternalApiError",
+ "ListReturnValue" => "ListReturnValue",
+ "NotEmptyError" => "NotEmptyError",
+ "NullStatsPage" => "NullStatsPage",
+ "FunctionArgumentOperand" => "FunctionArgumentOperand",
+ "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",
+ "RequestContextOperand" => "RequestContextOperand",
+ "RequestError" => "RequestError",
+ "RequiredError" => "RequiredError",
+ "Selector" => "Selector",
+ "SelectorError" => "SelectorError",
+ "SizeLimitError" => "SizeLimitError",
+ "SoapHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "StringFormatError" => "StringFormatError",
+ "StringLengthError" => "StringLengthError",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AuthorizationError.Reason" => "AuthorizationErrorReason",
+ "ClientTermsError.Reason" => "ClientTermsErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "ConstantOperand.ConstantType" => "ConstantOperandConstantType",
+ "ConstantOperand.Unit" => "ConstantOperandUnit",
+ "CustomerFeed.Status" => "CustomerFeedStatus",
+ "CustomerFeedError.Reason" => "CustomerFeedErrorReason",
+ "DatabaseError.Reason" => "DatabaseErrorReason",
+ "DistinctError.Reason" => "DistinctErrorReason",
+ "EntityNotFound.Reason" => "EntityNotFoundReason",
+ "Function.Operator" => "FunctionOperator",
+ "FunctionError.Reason" => "FunctionErrorReason",
+ "FunctionParsingError.Reason" => "FunctionParsingErrorReason",
+ "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",
+ "RequestContextOperand.ContextType" => "RequestContextOperandContextType",
+ "RequestError.Reason" => "RequestErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "SelectorError.Reason" => "SelectorErrorReason",
+ "SizeLimitError.Reason" => "SizeLimitErrorReason",
+ "SortOrder" => "SortOrder",
+ "StringFormatError.Reason" => "StringFormatErrorReason",
+ "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/v201705/CustomerService.php b/src/Google/Api/Ads/AdWords/v201705/CustomerService.php
new file mode 100755
index 000000000..d2ca2d57c
--- /dev/null
+++ b/src/Google/Api/Ads/AdWords/v201705/CustomerService.php
@@ -0,0 +1,3862 @@
+min = $min;
+ $this->max = $max;
+ }
+
+ }
+}
+
+if (!class_exists("FieldPathElement", false)) {
+ /**
+ * A segment of a field path. Each dot in a field path defines a new segment.
+ *
+ *
+ *
+ * Errors returned when Authentication failed.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class FieldPathElement {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "FieldPathElement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($field = null, $index = null) {
+ $this->field = $field;
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("OrderBy", false)) {
+ /**
+ * Specifies how the resulting information should be sorted.
+ *
+ *
+ *
+ * Errors returned when Authentication failed.
+ * @package Google_Api_Ads_AdWords_v201705
+ * @subpackage v201705
+ */
+ class OrderBy {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "OrderBy";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $field;
+
+ /**
+ * @access public
+ * @var tnsSortOrder
+ */
+ public $sortOrder;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Paging {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ const XSI_TYPE = "Paging";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numberResults;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class Predicate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705";
+ 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 string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AuthenticationErrorReason", false)) { + /** + * The single reason for the authentication failure. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ConversionTrackingSettings", false)) { + /** + * A collection of customer-wide settings related to AdWords Conversion Tracking. Settings + * that apply at the conversion type level can be accessed and modified though + * {@code ConversionTrackerService}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ConversionTrackingSettings { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ConversionTrackingSettings"; + + /** + * @access public + * @var integer + */ + public $effectiveConversionTrackingId; + + /** + * @access public + * @var boolean + */ + public $usesCrossAccountConversionTracking; + + /** + * @access public + * @var boolean + */ + public $optimizeOnEstimatedConversions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($effectiveConversionTrackingId = null, $usesCrossAccountConversionTracking = null, $optimizeOnEstimatedConversions = null) { + $this->effectiveConversionTrackingId = $effectiveConversionTrackingId; + $this->usesCrossAccountConversionTracking = $usesCrossAccountConversionTracking; + $this->optimizeOnEstimatedConversions = $optimizeOnEstimatedConversions; + } + + } +} + +if (!class_exists("CustomerError", false)) { + /** + * Possible error codes in CustomerService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "CustomerError"; + + /** + * @access public + * @var tnsCustomerErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("RemarketingSettings", false)) { + /** + * Customer-wide settings related to AdWords remarketing. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RemarketingSettings { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "RemarketingSettings"; + + /** + * @access public + * @var string + */ + public $snippet; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($snippet = null) { + $this->snippet = $snippet; + } + + } +} + +if (!class_exists("ServiceLink", false)) { + /** + * A data-sharing connection between an AdWords customer and another Google service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ServiceLink { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ServiceLink"; + + /** + * @access public + * @var tnsServiceType + */ + public $serviceType; + + /** + * @access public + * @var integer + */ + public $serviceLinkId; + + /** + * @access public + * @var tnsServiceLinkLinkStatus + */ + public $linkStatus; + + /** + * @access public + * @var string + */ + public $name; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($serviceType = null, $serviceLinkId = null, $linkStatus = null, $name = null) { + $this->serviceType = $serviceType; + $this->serviceLinkId = $serviceLinkId; + $this->linkStatus = $linkStatus; + $this->name = $name; + } + + } +} + +if (!class_exists("ServiceLinkOperation", false)) { + /** + * An operation on an AdWords link. + * See {@link ServiceType} for information on the various linking types supported. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ServiceLinkOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ServiceLinkOperation"; + + /** + * @access public + * @var ServiceLink + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("Customer", false)) { + /** + * Represents a customer for the CustomerService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Customer { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + 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 boolean + */ + public $canManageClients; + + /** + * @access public + * @var boolean + */ + public $testAccount; + + /** + * @access public + * @var boolean + */ + public $autoTaggingEnabled; + + /** + * @access public + * @var string + */ + public $trackingUrlTemplate; + + /** + * @access public + * @var ConversionTrackingSettings + */ + public $conversionTrackingSettings; + + /** + * @access public + * @var RemarketingSettings + */ + public $remarketingSettings; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $canManageClients = null, $testAccount = null, $autoTaggingEnabled = null, $trackingUrlTemplate = null, $conversionTrackingSettings = null, $remarketingSettings = null) { + $this->customerId = $customerId; + $this->currencyCode = $currencyCode; + $this->dateTimeZone = $dateTimeZone; + $this->descriptiveName = $descriptiveName; + $this->canManageClients = $canManageClients; + $this->testAccount = $testAccount; + $this->autoTaggingEnabled = $autoTaggingEnabled; + $this->trackingUrlTemplate = $trackingUrlTemplate; + $this->conversionTrackingSettings = $conversionTrackingSettings; + $this->remarketingSettings = $remarketingSettings; + } + + } +} + +if (!class_exists("CustomerErrorReason", false)) { + /** + * The ApiErrorReason for a CustomerError. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "CustomerError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ServiceLinkLinkStatus", false)) { + /** + * Status of the link + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ServiceLinkLinkStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ServiceLink.LinkStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ServiceType", false)) { + /** + * Services whose links to AdWords accounts are visible in {@link CustomerServicee} + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ServiceType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ServiceType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("GetCustomers", false)) { + /** + * Returns details of all the customers directly accessible by the user authenticating the call. + *+ * Starting with v201607, if {@code clientCustomerId} is specified in the request header, + * only details of that customer will be returned. To do this for prior versions, use the + * {@code get()} method instead. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetCustomers { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("GetCustomersResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetCustomersResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Customer[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("GetServiceLinks", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Retrieves the list of service links for the authorized customer. + * See {@link ServiceType} for information on the various linking types supported. + * + * @param selector describing which links to retrieve + * @throws ApiException + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetServiceLinks { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("GetServiceLinksResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetServiceLinksResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ServiceLink[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * 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_v201705 + * @subpackage v201705 + */ + class CustomerServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Customer + */ + public $customer; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Customer + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateServiceLinks", 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. + * + * + * + * Modifies links to other services for the authorized customer. + * See {@link ServiceType} for information on the various linking types supported. + * + * @param operations to perform + * @throws ApiException + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateServiceLinks { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ServiceLinkOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateServiceLinksResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateServiceLinksResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ServiceLink[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UrlError", false)) { + /** + * Url Validation errors. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerService extends AdWordsSoapClient { + + const SERVICE_NAME = "CustomerService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/mcm/v201705/CustomerService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/mcm/v201705/CustomerService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "ClientTermsError" => "ClientTermsError", + "DateRange" => "DateRange", + "DistinctError" => "DistinctError", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", + "Predicate" => "Predicate", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "UrlError" => "UrlError", + "DatabaseError" => "DatabaseError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "Selector" => "Selector", + "Operation" => "Operation", + "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", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "UrlError.Reason" => "UrlErrorReason", + "ConversionTrackingSettings" => "ConversionTrackingSettings", + "CustomerError" => "CustomerError", + "RemarketingSettings" => "RemarketingSettings", + "ServiceLink" => "ServiceLink", + "ServiceLinkOperation" => "ServiceLinkOperation", + "Customer" => "Customer", + "CustomerError.Reason" => "CustomerErrorReason", + "ServiceLink.LinkStatus" => "ServiceLinkLinkStatus", + "ServiceType" => "ServiceType", + "getCustomers" => "GetCustomers", + "getCustomersResponse" => "GetCustomersResponse", + "getServiceLinks" => "GetServiceLinks", + "getServiceLinksResponse" => "GetServiceLinksResponse", + "mutate" => "CustomerServiceMutate", + "mutateResponse" => "CustomerServiceMutateResponse", + "mutateServiceLinks" => "MutateServiceLinks", + "mutateServiceLinksResponse" => "MutateServiceLinksResponse", + ); + + + /** + * 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 all the customers directly accessible by the user authenticating the call. + *
+ * Starting with v201607, if {@code clientCustomerId} is specified in the request header, + * only details of that customer will be returned. To do this for prior versions, use the + * {@code get()} method instead. + */ + public function getCustomers() { + $args = new GetCustomers(); + $result = $this->__soapCall("getCustomers", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Retrieves the list of service links for the authorized customer. + * See {@link ServiceType} for information on the various linking types supported. + * + * @param selector describing which links to retrieve + * @throws ApiException + */ + public function getServiceLinks($selector) { + $args = new GetServiceLinks($selector); + $result = $this->__soapCall("getServiceLinks", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * 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; + } + /** + * 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. + * + * + * + * Modifies links to other services for the authorized customer. + * See {@link ServiceType} for information on the various linking types supported. + * + * @param operations to perform + * @throws ApiException + */ + public function mutateServiceLinks($operations) { + $args = new MutateServiceLinks($operations); + $result = $this->__soapCall("mutateServiceLinks", array($args)); + return $result->rval; + } + } +} + diff --git a/src/Google/Api/Ads/AdWords/v201705/CustomerSyncService.php b/src/Google/Api/Ads/AdWords/v201705/CustomerSyncService.php new file mode 100755 index 000000000..b795c9f8d --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/CustomerSyncService.php @@ -0,0 +1,2951 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", 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_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("OperationAccessDeniedReason", 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("OperatorErrorReason", 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", 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_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupChangeData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + 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 $removedCriteria; + + /** + * @access public + * @var integer[] + */ + public $changedFeeds; + + /** + * @access public + * @var integer[] + */ + public $removedFeeds; + + /** + * @access public + * @var integer[] + */ + public $changedAdGroupBidModifierCriteria; + + /** + * @access public + * @var integer[] + */ + public $removedAdGroupBidModifierCriteria; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $removedCriteria = null, $changedFeeds = null, $removedFeeds = null, $changedAdGroupBidModifierCriteria = null, $removedAdGroupBidModifierCriteria = null) { + $this->adGroupId = $adGroupId; + $this->adGroupChangeStatus = $adGroupChangeStatus; + $this->changedAds = $changedAds; + $this->changedCriteria = $changedCriteria; + $this->removedCriteria = $removedCriteria; + $this->changedFeeds = $changedFeeds; + $this->removedFeeds = $removedFeeds; + $this->changedAdGroupBidModifierCriteria = $changedAdGroupBidModifierCriteria; + $this->removedAdGroupBidModifierCriteria = $removedAdGroupBidModifierCriteria; + } + + } +} + +if (!class_exists("CampaignChangeData", false)) { + /** + * Holds information about a changed campaign and any ad groups under that have changed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignChangeData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + 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 $removedCampaignCriteria; + + /** + * @access public + * @var integer[] + */ + public $changedFeeds; + + /** + * @access public + * @var integer[] + */ + public $removedFeeds; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $removedCampaignCriteria = null, $changedFeeds = null, $removedFeeds = null) { + $this->campaignId = $campaignId; + $this->campaignChangeStatus = $campaignChangeStatus; + $this->changedAdGroups = $changedAdGroups; + $this->addedCampaignCriteria = $addedCampaignCriteria; + $this->removedCampaignCriteria = $removedCampaignCriteria; + $this->changedFeeds = $changedFeeds; + $this->removedFeeds = $removedFeeds; + } + + } +} + +if (!class_exists("CustomerSyncError", false)) { + /** + * Represents CustomerSyncService specific errors + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerSyncError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + const XSI_TYPE = "CustomerSyncError"; + + /** + * @access public + * @var tnsCustomerSyncErrorReason + */ + public $reason; + + /** + * @access public + * @var integer + */ + public $campaignId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $campaignId = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->campaignId = $campaignId; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class FeedChangeData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + 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 $removedFeedItems; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedId = null, $feedChangeStatus = null, $changedFeedItems = null, $removedFeedItems = null) { + $this->feedId = $feedId; + $this->feedChangeStatus = $feedChangeStatus; + $this->changedFeedItems = $changedFeedItems; + $this->removedFeedItems = $removedFeedItems; + } + + } +} + +if (!class_exists("CustomerChangeData", false)) { + /** + * Holds information about changes to a customer + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CustomerChangeData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerSyncSelector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ChangeStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + const XSI_TYPE = "ChangeStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerSyncErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + const XSI_TYPE = "CustomerSyncError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerSyncServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CustomerSyncSelector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerSyncServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CustomerChangeData + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("OperationAccessDenied", 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("OperatorError", 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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", 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_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CustomerSyncService extends AdWordsSoapClient { + + const SERVICE_NAME = "CustomerSyncService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/ch/v201705/CustomerSyncService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/ch/v201705/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", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "NotEmptyError" => "NotEmptyError", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "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", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "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/v201705/DataService.php b/src/Google/Api/Ads/AdWords/v201705/DataService.php new file mode 100755 index 000000000..ffdec2e76 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/DataService.php @@ -0,0 +1,4905 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("LevelOfDetail", false)) { + /** + * Properties of the level of detail of the report being viewed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LevelOfDetail { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LevelOfDetail"; + + /** + * @access public + * @var integer + */ + public $campaignId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($campaignId = null) { + $this->campaignId = $campaignId; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BidLandscapeLandscapePoint { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 integer + */ + public $impressions; + + /** + * @access public + * @var integer + */ + public $promotedImpressions; + + /** + * @access public + * @var Money + */ + public $requiredBudget; + + /** + * @access public + * @var double + */ + public $bidModifier; + + /** + * @access public + * @var integer + */ + public $totalLocalImpressions; + + /** + * @access public + * @var integer + */ + public $totalLocalClicks; + + /** + * @access public + * @var Money + */ + public $totalLocalCost; + + /** + * @access public + * @var integer + */ + public $totalLocalPromotedImpressions; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($bid = null, $clicks = null, $cost = null, $impressions = null, $promotedImpressions = null, $requiredBudget = null, $bidModifier = null, $totalLocalImpressions = null, $totalLocalClicks = null, $totalLocalCost = null, $totalLocalPromotedImpressions = null) { + $this->bid = $bid; + $this->clicks = $clicks; + $this->cost = $cost; + $this->impressions = $impressions; + $this->promotedImpressions = $promotedImpressions; + $this->requiredBudget = $requiredBudget; + $this->bidModifier = $bidModifier; + $this->totalLocalImpressions = $totalLocalImpressions; + $this->totalLocalClicks = $totalLocalClicks; + $this->totalLocalCost = $totalLocalCost; + $this->totalLocalPromotedImpressions = $totalLocalPromotedImpressions; + } + + } +} + +if (!class_exists("Selector", false)) { + /** + * A generic selector to specify the type of information to return. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DataEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidLandscapeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupBidLandscape.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DataErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DataError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetAdGroupBidLandscape { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetAdGroupBidLandscapeResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupBidLandscapePage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("GetCampaignCriterionBidLandscape", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of {@link CriterionBidLandscape}s for the campaign criteria specified in the + * selector. In the result, the returned {@link LandscapePoint}s are grouped into + * {@link CriterionBidLandscape}s by their campaign id and criterion id, 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_v201705 + * @subpackage v201705 + */ + class GetCampaignCriterionBidLandscape { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("GetCampaignCriterionBidLandscapeResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetCampaignCriterionBidLandscapeResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CriterionBidLandscapePage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetCriterionBidLandscape { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetCriterionBidLandscapeResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CriterionBidLandscapePage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("GetDomainCategory", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of domain categories that can be used to create {@link WebPage} criterion. + * + * @param serviceSelector Selects the entities to return domain categories for. + * @return A list of domain categories. + * @throws ApiException when there is at least one error with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetDomainCategory { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("GetDomainCategoryResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class GetDomainCategoryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var DomainCategoryPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryAdGroupBidLandscape { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryAdGroupBidLandscapeResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var AdGroupBidLandscapePage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("QueryCampaignCriterionBidLandscape", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of {@link CriterionBidLandscape}s for the campaign criteria that match the + * query. In the result, the returned {@link LandscapePoint}s are grouped into + * {@link CriterionBidLandscape}s by their campaign id and criterion id, 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_v201705 + * @subpackage v201705 + */ + class QueryCampaignCriterionBidLandscape { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("QueryCampaignCriterionBidLandscapeResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryCampaignCriterionBidLandscapeResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CriterionBidLandscapePage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryCriterionBidLandscape { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryCriterionBidLandscapeResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var CriterionBidLandscapePage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("QueryDomainCategory", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of domain categories that can be used to create {@link WebPage} criterion. + * + * @param query The SQL-like AWQL query string. + * @return A list of domain categories. + * @throws ApiException if problems occur while parsing the query + * or fetching domain categories. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryDomainCategory { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("QueryDomainCategoryResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryDomainCategoryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var DomainCategoryPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("Money", false)) { + /** + * Represents a money amount. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DataError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DataError"; + + /** + * @access public + * @var tnsDataErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class BidLandscape extends DataEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DimensionProperties", false)) { + /** + * Top level class for Dimensions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DimensionProperties extends DataEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DimensionProperties"; + + /** + * @access public + * @var LevelOfDetail + */ + public $levelOfDetail; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($levelOfDetail = null, $DataEntryType = null) { + parent::__construct(); + $this->levelOfDetail = $levelOfDetail; + $this->DataEntryType = $DataEntryType; + } + + } +} + +if (!class_exists("DomainCategoryPage", false)) { + /** + * Contains a subset of {@link DomainCategory} objects resulting from + * the filtering and paging of {@link DataService#getDomainCategory} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DomainCategoryPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DomainCategoryPage"; + + /** + * @access public + * @var DomainCategory[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("NoStatsPage", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NoStatsPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NoStatsPage"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupBidLandscape extends BidLandscape { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupBidLandscape"; + + /** + * @access public + * @var tnsAdGroupBidLandscapeType + */ + public $type; + + /** + * @access public + * @var boolean + */ + public $landscapeCurrent; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DoubleValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; + + /** + * @access public + * @var double + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LongValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; + + /** + * @access public + * @var integer + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionBidLandscape extends BidLandscape { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionBidLandscape"; + + /** + * @access public + * @var integer + */ + public $criterionId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DomainCategory", false)) { + /** + * Represents categories that AdWords finds automatically for your website. + * + *+ * No categories available means that AdWords couldn't automatically find categories for your + * website. To control how categories are assigned, manually add breadcrumbs to your webpages. + * + *
+ * Categories can be filtered by domain name or by a set of campaign IDs. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DomainCategory extends DimensionProperties { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DomainCategory"; + + /** + * @access public + * @var string + */ + public $category; + + /** + * @access public + * @var double + */ + public $coverage; + + /** + * @access public + * @var string + */ + public $domainName; + + /** + * @access public + * @var string + */ + public $isoLanguage; + + /** + * @access public + * @var Money + */ + public $recommendedCpc; + + /** + * @access public + * @var boolean + */ + public $hasChild; + + /** + * @access public + * @var integer + */ + public $categoryRank; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($category = null, $coverage = null, $domainName = null, $isoLanguage = null, $recommendedCpc = null, $hasChild = null, $categoryRank = null, $levelOfDetail = null) { + parent::__construct(); + $this->category = $category; + $this->coverage = $coverage; + $this->domainName = $domainName; + $this->isoLanguage = $isoLanguage; + $this->recommendedCpc = $recommendedCpc; + $this->hasChild = $hasChild; + $this->categoryRank = $categoryRank; + $this->levelOfDetail = $levelOfDetail; + } + + } +} + +if (!class_exists("AdGroupBidLandscapePage", false)) { + /** + * Contains a subset of {@link AdGroupBidLandscape} objects resulting from the + * filtering and paging of {@link DataService#getAdGroupBidLandscape} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupBidLandscapePage extends NoStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupBidLandscapePage"; + + /** + * @access public + * @var AdGroupBidLandscape[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 DataService#getCriterionBidLandscape} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionBidLandscapePage extends NoStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionBidLandscapePage"; + + /** + * @access public + * @var CriterionBidLandscape[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DataService extends AdWordsSoapClient { + + const SERVICE_NAME = "DataService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/DataService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "LevelOfDetail" => "LevelOfDetail", + "LongValue" => "LongValue", + "Money" => "Money", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "NumberValue" => "NumberValue", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "DataError" => "DataError", + "ComparableValue" => "ComparableValue", + "CriterionBidLandscape" => "CriterionBidLandscape", + "DatabaseError" => "DatabaseError", + "DomainCategory" => "DomainCategory", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "BidLandscape.LandscapePoint" => "BidLandscapeLandscapePoint", + "Selector" => "Selector", + "BidLandscape" => "BidLandscape", + "DimensionProperties" => "DimensionProperties", + "DataEntry" => "DataEntry", + "AdGroupBidLandscapePage" => "AdGroupBidLandscapePage", + "CriterionBidLandscapePage" => "CriterionBidLandscapePage", + "DomainCategoryPage" => "DomainCategoryPage", + "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", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "DataError.Reason" => "DataErrorReason", + "getAdGroupBidLandscape" => "GetAdGroupBidLandscape", + "getAdGroupBidLandscapeResponse" => "GetAdGroupBidLandscapeResponse", + "getCampaignCriterionBidLandscape" => "GetCampaignCriterionBidLandscape", + "getCampaignCriterionBidLandscapeResponse" => "GetCampaignCriterionBidLandscapeResponse", + "getCriterionBidLandscape" => "GetCriterionBidLandscape", + "getCriterionBidLandscapeResponse" => "GetCriterionBidLandscapeResponse", + "getDomainCategory" => "GetDomainCategory", + "getDomainCategoryResponse" => "GetDomainCategoryResponse", + "queryAdGroupBidLandscape" => "QueryAdGroupBidLandscape", + "queryAdGroupBidLandscapeResponse" => "QueryAdGroupBidLandscapeResponse", + "queryCampaignCriterionBidLandscape" => "QueryCampaignCriterionBidLandscape", + "queryCampaignCriterionBidLandscapeResponse" => "QueryCampaignCriterionBidLandscapeResponse", + "queryCriterionBidLandscape" => "QueryCriterionBidLandscape", + "queryCriterionBidLandscapeResponse" => "QueryCriterionBidLandscapeResponse", + "queryDomainCategory" => "QueryDomainCategory", + "queryDomainCategoryResponse" => "QueryDomainCategoryResponse", + ); + + + /** + * 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 campaign criteria specified in the + * selector. In the result, the returned {@link LandscapePoint}s are grouped into + * {@link CriterionBidLandscape}s by their campaign id and criterion id, 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 getCampaignCriterionBidLandscape($serviceSelector) { + $args = new GetCampaignCriterionBidLandscape($serviceSelector); + $result = $this->__soapCall("getCampaignCriterionBidLandscape", 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 domain categories that can be used to create {@link WebPage} criterion. + * + * @param serviceSelector Selects the entities to return domain categories for. + * @return A list of domain categories. + * @throws ApiException when there is at least one error with the request. + */ + public function getDomainCategory($serviceSelector) { + $args = new GetDomainCategory($serviceSelector); + $result = $this->__soapCall("getDomainCategory", 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 campaign criteria that match the + * query. In the result, the returned {@link LandscapePoint}s are grouped into + * {@link CriterionBidLandscape}s by their campaign id and criterion id, 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 queryCampaignCriterionBidLandscape($query) { + $args = new QueryCampaignCriterionBidLandscape($query); + $result = $this->__soapCall("queryCampaignCriterionBidLandscape", 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; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of domain categories that can be used to create {@link WebPage} criterion. + * + * @param query The SQL-like AWQL query string. + * @return A list of domain categories. + * @throws ApiException if problems occur while parsing the query + * or fetching domain categories. + */ + public function queryDomainCategory($query) { + $args = new QueryDomainCategory($query); + $result = $this->__soapCall("queryDomainCategory", array($args)); + return $result->rval; + } + } +} + diff --git a/src/Google/Api/Ads/AdWords/v201705/DraftAsyncErrorService.php b/src/Google/Api/Ads/AdWords/v201705/DraftAsyncErrorService.php new file mode 100755 index 000000000..98e347b77 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/DraftAsyncErrorService.php @@ -0,0 +1,5707 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PolicyViolationErrorPart { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationError.Part"; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * @access public + * @var integer + */ + public $length; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PolicyViolationKey { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationKey"; + + /** + * @access public + * @var string + */ + public $policyName; + + /** + * @access public + * @var string + */ + public $violatingText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftAsyncError", false)) { + /** + * An error that has occurred while asynchronously processing the promotion of a draft. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftAsyncError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftAsyncError"; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * @access public + * @var integer + */ + public $draftId; + + /** + * @access public + * @var integer + */ + public $draftCampaignId; + + /** + * @access public + * @var ApiError + */ + public $asyncError; + + /** + * @access public + * @var integer + */ + public $baseAdGroupId; + + /** + * @access public + * @var integer + */ + public $draftAdGroupId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($baseCampaignId = null, $draftId = null, $draftCampaignId = null, $asyncError = null, $baseAdGroupId = null, $draftAdGroupId = null) { + $this->baseCampaignId = $baseCampaignId; + $this->draftId = $draftId; + $this->draftCampaignId = $draftCampaignId; + $this->asyncError = $asyncError; + $this->baseAdGroupId = $baseAdGroupId; + $this->draftAdGroupId = $draftAdGroupId; + } + + } +} + +if (!class_exists("Page", false)) { + /** + * Contains the results from a get call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupFeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupFeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupServiceErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupServiceError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdSharingErrorReason", false)) { + /** + * Reasons for error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdSharingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdSharingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BiddingErrorsReason", false)) { + /** + * Cannot transition to new bidding strategy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingErrorsReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignFeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignFeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CampaignPreferenceErrorReason", false)) { + /** + * A campaign cannot have two preferences with the same preference key. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignPreferenceErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignPreferenceError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CampaignSharedSetErrorReason", false)) { + /** + * Error reasons + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DateRangeErrorReason", false)) { + /** + * The reasons for the date range error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DraftErrorReason", false)) { + /** + * The draft is archived and cannot be modified further. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FunctionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ImageErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ImageError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("MultiplierErrorReason", false)) { + /** + * Reason for bidding error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MultiplierErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MultiplierError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SettingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SettingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class VideoErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "VideoError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DraftAsyncErrorServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a DraftAsyncErrorPage that contains a list of DraftAsyncErrors matching the selector. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftAsyncErrorServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftAsyncErrorServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftAsyncErrorServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var DraftAsyncErrorPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 DraftAsyncErrorPage that contains a list of DraftAsyncErrors matching the query. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var DraftAsyncErrorPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdError"; + + /** + * @access public + * @var tnsAdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupAdError", false)) { + /** + * Error information for AdGroupAdService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupAdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdError"; + + /** + * @access public + * @var tnsAdGroupAdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupCriterionError", false)) { + /** + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionError"; + + /** + * @access public + * @var tnsAdGroupCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupFeedError", false)) { + /** + * Represents an error for the AdGroupFeedService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupFeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupFeedError"; + + /** + * @access public + * @var tnsAdGroupFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupServiceError", false)) { + /** + * Represents possible error codes in AdGroupService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupServiceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupServiceError"; + + /** + * @access public + * @var tnsAdGroupServiceErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdSharingError", false)) { + /** + * Errors related using the AdGroupAdService to create an AdGroupAd + * with a reference to an existing AdId. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdSharingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdSharingError"; + + /** + * @access public + * @var tnsAdSharingErrorReason + */ + public $reason; + + /** + * @access public + * @var ApiError + */ + public $sharedAdError; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $sharedAdError = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->sharedAdError = $sharedAdError; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class BiddingErrors extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors"; + + /** + * @access public + * @var tnsBiddingErrorsReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignCriterionError", false)) { + /** + * Base error class for Campaign Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignCriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionError"; + + /** + * @access public + * @var tnsCampaignCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CampaignError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignError"; + + /** + * @access public + * @var tnsCampaignErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignFeedError", false)) { + /** + * Represents an error for the CampaignFeedService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignFeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignFeedError"; + + /** + * @access public + * @var tnsCampaignFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignPreferenceError", false)) { + /** + * Represents error codes for campaign preferences. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignPreferenceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignPreferenceError"; + + /** + * @access public + * @var tnsCampaignPreferenceErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignSharedSetError", false)) { + /** + * Represents error codes for the CampaignSharedSetService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetError"; + + /** + * @access public + * @var tnsCampaignSharedSetErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DateRangeError", false)) { + /** + * A list of all the error codes being used for date range error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRangeError"; + + /** + * @access public + * @var tnsDateRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DraftError", false)) { + /** + * Represents error codes for DraftService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftError"; + + /** + * @access public + * @var tnsDraftErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("EntityAccessDenied", false)) { + /** + * Reports permission problems trying to access an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class FeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedError"; + + /** + * @access public + * @var tnsFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FunctionError", false)) { + /** + * Errors that indicate issues with the function. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FunctionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionError"; + + /** + * @access public + * @var tnsFunctionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ImageError", false)) { + /** + * Error class for errors associated with parsing image data. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ImageError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ImageError"; + + /** + * @access public + * @var tnsImageErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class MediaError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaError"; + + /** + * @access public + * @var tnsMediaErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("MultiplierError", false)) { + /** + * Represents errors in bid multipliers. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MultiplierError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MultiplierError"; + + /** + * @access public + * @var tnsMultiplierErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PagingError", false)) { + /** + * Error codes for pagination. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SettingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SettingError"; + + /** + * @access public + * @var tnsSettingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UrlError", false)) { + /** + * Url Validation errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("VideoError", false)) { + /** + * Error class for errors associated with parsing video data. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class VideoError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "VideoError"; + + /** + * @access public + * @var tnsVideoErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class PolicyViolationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftAsyncErrorPage", false)) { + /** + * Contains a subset of DraftAsyncErrors resulting from the filtering and paging of + * {@link DraftAsyncErrorService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftAsyncErrorPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftAsyncErrorPage"; + + /** + * @access public + * @var DraftAsyncError[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftAsyncErrorService", false)) { + /** + * DraftAsyncErrorService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftAsyncErrorService extends AdWordsSoapClient { + + const SERVICE_NAME = "DraftAsyncErrorService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/DraftAsyncErrorService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/DraftAsyncErrorService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AdError" => "AdError", + "AdGroupAdError" => "AdGroupAdError", + "AdGroupCriterionError" => "AdGroupCriterionError", + "AdGroupFeedError" => "AdGroupFeedError", + "AdGroupServiceError" => "AdGroupServiceError", + "AdSharingError" => "AdSharingError", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "BiddingErrors" => "BiddingErrors", + "CampaignCriterionError" => "CampaignCriterionError", + "CampaignError" => "CampaignError", + "CampaignFeedError" => "CampaignFeedError", + "CampaignPreferenceError" => "CampaignPreferenceError", + "CampaignSharedSetError" => "CampaignSharedSetError", + "ClientTermsError" => "ClientTermsError", + "CriterionError" => "CriterionError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DateRangeError" => "DateRangeError", + "DistinctError" => "DistinctError", + "DraftError" => "DraftError", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FeedError" => "FeedError", + "FieldPathElement" => "FieldPathElement", + "FunctionError" => "FunctionError", + "IdError" => "IdError", + "ImageError" => "ImageError", + "InternalApiError" => "InternalApiError", + "MediaError" => "MediaError", + "MultiplierError" => "MultiplierError", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", + "PagingError" => "PagingError", + "PolicyViolationError.Part" => "PolicyViolationErrorPart", + "PolicyViolationKey" => "PolicyViolationKey", + "Predicate" => "Predicate", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SelectorError" => "SelectorError", + "SettingError" => "SettingError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "UrlError" => "UrlError", + "VideoError" => "VideoError", + "DatabaseError" => "DatabaseError", + "PolicyViolationError" => "PolicyViolationError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "DraftAsyncError" => "DraftAsyncError", + "DraftAsyncErrorPage" => "DraftAsyncErrorPage", + "Page" => "Page", + "Selector" => "Selector", + "AdError.Reason" => "AdErrorReason", + "AdGroupAdError.Reason" => "AdGroupAdErrorReason", + "AdGroupCriterionError.Reason" => "AdGroupCriterionErrorReason", + "AdGroupFeedError.Reason" => "AdGroupFeedErrorReason", + "AdGroupServiceError.Reason" => "AdGroupServiceErrorReason", + "AdSharingError.Reason" => "AdSharingErrorReason", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "BiddingErrors.Reason" => "BiddingErrorsReason", + "CampaignCriterionError.Reason" => "CampaignCriterionErrorReason", + "CampaignError.Reason" => "CampaignErrorReason", + "CampaignFeedError.Reason" => "CampaignFeedErrorReason", + "CampaignPreferenceError.Reason" => "CampaignPreferenceErrorReason", + "CampaignSharedSetError.Reason" => "CampaignSharedSetErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "CriterionError.Reason" => "CriterionErrorReason", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DateRangeError.Reason" => "DateRangeErrorReason", + "DistinctError.Reason" => "DistinctErrorReason", + "DraftError.Reason" => "DraftErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "FeedError.Reason" => "FeedErrorReason", + "FunctionError.Reason" => "FunctionErrorReason", + "IdError.Reason" => "IdErrorReason", + "ImageError.Reason" => "ImageErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "MediaError.Reason" => "MediaErrorReason", + "MultiplierError.Reason" => "MultiplierErrorReason", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "OperatorError.Reason" => "OperatorErrorReason", + "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", + "SelectorError.Reason" => "SelectorErrorReason", + "SettingError.Reason" => "SettingErrorReason", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "UrlError.Reason" => "UrlErrorReason", + "VideoError.Reason" => "VideoErrorReason", + "get" => "DraftAsyncErrorServiceGet", + "getResponse" => "DraftAsyncErrorServiceGetResponse", + "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 DraftAsyncErrorPage that contains a list of DraftAsyncErrors matching the selector. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + */ + public function get($selector) { + $args = new DraftAsyncErrorServiceGet($selector); + $result = $this->__soapCall("get", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a DraftAsyncErrorPage that contains a list of DraftAsyncErrors matching the query. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + */ + 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/v201705/DraftService.php b/src/Google/Api/Ads/AdWords/v201705/DraftService.php new file mode 100755 index 000000000..54de75524 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/DraftService.php @@ -0,0 +1,3994 @@ +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. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var Date + */ + public $min; + + /** + * @access public + * @var Date + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("Draft", false)) { + /** + * The interface object which contains the basic information of a draft. Entity specific + * information in the campaign tree are represented by their respective entities objects with a + * corresponding draftId. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Draft { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Draft"; + + /** + * @access public + * @var integer + */ + public $draftId; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * @access public + * @var string + */ + public $draftName; + + /** + * @access public + * @var tnsDraftStatus + */ + public $draftStatus; + + /** + * @access public + * @var integer + */ + public $draftCampaignId; + + /** + * @access public + * @var boolean + */ + public $hasRunningTrial; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($draftId = null, $baseCampaignId = null, $draftName = null, $draftStatus = null, $draftCampaignId = null, $hasRunningTrial = null) { + $this->draftId = $draftId; + $this->baseCampaignId = $baseCampaignId; + $this->draftName = $draftName; + $this->draftStatus = $draftStatus; + $this->draftCampaignId = $draftCampaignId; + $this->hasRunningTrial = $hasRunningTrial; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BiddingErrorsReason", false)) { + /** + * Cannot transition to new bidding strategy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingErrorsReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DraftStatus", false)) { + /** + * Status of a draft. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DraftErrorReason", false)) { + /** + * The draft is archived and cannot be modified further. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DraftServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a DraftPage that contains a list of Draft objects matching the selector. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var DraftPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftServiceMutate", 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. + * + * + * + * The mutate action is used for creating new Drafts and controlling the life cycle of Drafts, + * such as abandoning or promoting Drafts. + * + * @return The list of updated Drafts, in the same order as the {@code operations} list. + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while processing the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var DraftOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftServiceMutateResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var DraftReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 DraftPage that contains a list of Draft objects matching the query. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var DraftPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class BiddingErrors extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors"; + + /** + * @access public + * @var tnsBiddingErrorsReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DraftError", false)) { + /** + * Represents error codes for DraftService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftError"; + + /** + * @access public + * @var tnsDraftErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DraftOperation", false)) { + /** + * DraftOperation for creating drafts and changing draft states. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftOperation"; + + /** + * @access public + * @var Draft + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftReturnValue", false)) { + /** + * A container for return values from a {@DraftService#mutate} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftReturnValue"; + + /** + * @access public + * @var Draft[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("NullStatsPage", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NullStatsPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullStatsPage"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftPage", false)) { + /** + * Contains a subset of drafts resulting from the filtering and paging of + * {@link DraftService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftPage extends NullStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DraftPage"; + + /** + * @access public + * @var Draft[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("DraftService", false)) { + /** + * DraftService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DraftService extends AdWordsSoapClient { + + const SERVICE_NAME = "DraftService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/DraftService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/DraftService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "BiddingErrors" => "BiddingErrors", + "ClientTermsError" => "ClientTermsError", + "Date" => "Date", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DistinctError" => "DistinctError", + "Draft" => "Draft", + "DraftError" => "DraftError", + "DraftOperation" => "DraftOperation", + "DraftPage" => "DraftPage", + "DraftReturnValue" => "DraftReturnValue", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "ListReturnValue" => "ListReturnValue", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "NullStatsPage" => "NullStatsPage", + "Operation" => "Operation", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Page" => "Page", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "DatabaseError" => "DatabaseError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "Selector" => "Selector", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "BiddingErrors.Reason" => "BiddingErrorsReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "DraftStatus" => "DraftStatus", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DistinctError.Reason" => "DistinctErrorReason", + "DraftError.Reason" => "DraftErrorReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "get" => "DraftServiceGet", + "getResponse" => "DraftServiceGetResponse", + "mutate" => "DraftServiceMutate", + "mutateResponse" => "DraftServiceMutateResponse", + "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 DraftPage that contains a list of Draft objects matching the selector. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + */ + public function get($selector) { + $args = new DraftServiceGet($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}. + * The following {@link Operator}s are supported: ADD, SET. + * + * + * + * The mutate action is used for creating new Drafts and controlling the life cycle of Drafts, + * such as abandoning or promoting Drafts. + * + * @return The list of updated Drafts, in the same order as the {@code operations} list. + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while processing the request. + */ + public function mutate($operations) { + $args = new DraftServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a DraftPage that contains a list of Draft objects matching the query. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + */ + 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/v201607/PromotionService.php b/src/Google/Api/Ads/AdWords/v201705/FeedItemService.php similarity index 68% rename from src/Google/Api/Ads/AdWords/v201607/PromotionService.php rename to src/Google/Api/Ads/AdWords/v201705/FeedItemService.php index c6e8f81d1..f050a9bcc 100755 --- a/src/Google/Api/Ads/AdWords/v201607/PromotionService.php +++ b/src/Google/Api/Ads/AdWords/v201705/FeedItemService.php @@ -1,6 +1,6 @@ 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 @@ -121,16 +35,12 @@ public function __construct($streetAddress = null, $streetAddress2 = null, $city * *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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiError"; /** @@ -139,6 +49,12 @@ class ApiError { */ public $fieldPath; + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + /** * @access public * @var string @@ -205,8 +121,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -218,16 +135,12 @@ public function __construct($fieldPath = null, $trigger = null, $errorString = n if (!class_exists("ApplicationException", false)) { /** * Base class for exceptions. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApplicationException"; /** @@ -301,16 +214,12 @@ public function __construct($message = null, $ApplicationExceptionType = null) { if (!class_exists("AuthenticationError", false)) { /** * Errors returned when Authentication failed. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError"; /** @@ -335,10 +244,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -350,16 +260,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("AuthorizationError", false)) { /** * Errors encountered when trying to authorize a user. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthorizationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthorizationError"; /** @@ -384,10 +290,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -399,16 +306,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ClientTermsError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ClientTermsError"; /** @@ -433,10 +336,58 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -448,16 +399,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("ComparableValue", false)) { /** * Comparable types for constructing ranges with. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ComparableValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ComparableValue"; /** @@ -525,16 +472,12 @@ public function __construct($ComparableValueType = null) { /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Criterion"; /** @@ -612,24 +555,20 @@ public function __construct($id = null, $type = null, $CriterionType = null) { } } -if (!class_exists("DatabaseError", false)) { +if (!class_exists("CriterionError", false)) { /** - * Errors that are thrown due to a database access problem. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Error class used for reporting criteria related errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DatabaseError extends ApiError { + class CriterionError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DatabaseError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; /** * @access public - * @var tnsDatabaseErrorReason + * @var tnsCriterionErrorReason */ public $reason; @@ -649,10 +588,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -661,26 +601,34 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("DateError", false)) { +if (!class_exists("CustomParameter", false)) { /** - * Errors associated with invalid dates and date ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * CustomParameter is used to map a custom parameter key to its value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateError extends ApiError { + class CustomParameter { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DateError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameter"; /** * @access public - * @var tnsDateErrorReason + * @var string */ - public $reason; + public $key; + + /** + * @access public + * @var string + */ + public $value; + + /** + * @access public + * @var boolean + */ + public $isRemove; /** * Gets the namesapce of this class @@ -698,45 +646,39 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($key = null, $value = null, $isRemove = null) { + $this->key = $key; + $this->value = $value; + $this->isRemove = $isRemove; } } } -if (!class_exists("DateRange", false)) { +if (!class_exists("CustomParameters", 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_v201607 - * @subpackage v201607 + * CustomParameters holds a list of CustomParameters to be treated as a map. + * It has a special field used to indicate that the current map should be cleared and replaced + * with this new map. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateRange { + class CustomParameters { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DateRange"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CustomParameters"; /** * @access public - * @var string + * @var CustomParameter[] */ - public $min; + public $parameters; /** * @access public - * @var string + * @var boolean */ - public $max; + public $doReplace; /** * Gets the namesapce of this class @@ -754,32 +696,28 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; + public function __construct($parameters = null, $doReplace = null) { + $this->parameters = $parameters; + $this->doReplace = $doReplace; } } } -if (!class_exists("DistinctError", false)) { +if (!class_exists("DatabaseError", false)) { /** - * Errors related to distinct ids or content. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DistinctError extends ApiError { + class DatabaseError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DistinctError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; /** * @access public - * @var tnsDistinctErrorReason + * @var tnsDatabaseErrorReason */ public $reason; @@ -799,10 +737,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -811,25 +750,20 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("EntityNotFound", false)) { +if (!class_exists("DateError", false)) { /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors associated with invalid dates and date ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class EntityNotFound extends ApiError { + class DateError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "EntityNotFound"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; /** * @access public - * @var tnsEntityNotFoundReason + * @var tnsDateErrorReason */ public $reason; @@ -849,10 +783,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -861,32 +796,29 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("GeoPoint", false)) { +if (!class_exists("DateRange", false)) { /** - * Specifies a geo location with the supplied latitude/longitude. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class GeoPoint { + class DateRange { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "GeoPoint"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; /** * @access public - * @var integer + * @var string */ - public $latitudeInMicroDegrees; + public $min; /** * @access public - * @var integer + * @var string */ - public $longitudeInMicroDegrees; + public $max; /** * Gets the namesapce of this class @@ -904,34 +836,30 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; + public function __construct($min = null, $max = null) { + $this->min = $min; + $this->max = $max; } } } -if (!class_exists("IdError", false)) { +if (!class_exists("DisapprovalReason", false)) { /** - * Errors associated with the ids. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Container for information about why an AdWords entity was disapproved. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class IdError extends ApiError { + class DisapprovalReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "IdError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisapprovalReason"; /** * @access public - * @var tnsIdErrorReason + * @var string */ - public $reason; + public $shortName; /** * Gets the namesapce of this class @@ -949,38 +877,27 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($shortName = null) { + $this->shortName = $shortName; } } } -if (!class_exists("InternalApiError", false)) { +if (!class_exists("DistinctError", 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_v201607 - * @subpackage v201607 + * Errors related to distinct ids or content. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class InternalApiError extends ApiError { + class DistinctError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "InternalApiError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; /** * @access public - * @var tnsInternalApiErrorReason + * @var tnsDistinctErrorReason */ public $reason; @@ -1000,10 +917,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1012,20 +930,944 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("Keyword", false)) { +if (!class_exists("EntityAccessDenied", 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_v201607 - * @subpackage v201607 + * Reports permission problems trying to access an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class FeedItem { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 FeedItemPolicyData[] + */ + public $policyData; + + /** + * @access public + * @var FeedItemDevicePreference + */ + public $devicePreference; + + /** + * @access public + * @var FeedItemScheduling + */ + public $scheduling; + + /** + * @access public + * @var FeedItemCampaignTargeting + */ + public $campaignTargeting; + + /** + * @access public + * @var FeedItemAdGroupTargeting + */ + public $adGroupTargeting; + + /** + * @access public + * @var Keyword + */ + public $keywordTargeting; + + /** + * @access public + * @var Location + */ + public $geoTargeting; + + /** + * @access public + * @var FeedItemGeoRestriction + */ + public $geoTargetingRestriction; + + /** + * @access public + * @var CustomParameters + */ + public $urlCustomParameters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $policyData = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $urlCustomParameters = null) { + $this->feedId = $feedId; + $this->feedItemId = $feedItemId; + $this->status = $status; + $this->startTime = $startTime; + $this->endTime = $endTime; + $this->attributeValues = $attributeValues; + $this->policyData = $policyData; + $this->devicePreference = $devicePreference; + $this->scheduling = $scheduling; + $this->campaignTargeting = $campaignTargeting; + $this->adGroupTargeting = $adGroupTargeting; + $this->keywordTargeting = $keywordTargeting; + $this->geoTargeting = $geoTargeting; + $this->geoTargetingRestriction = $geoTargetingRestriction; + $this->urlCustomParameters = $urlCustomParameters; + } + + } +} + +if (!class_exists("FeedItemAdGroupTargeting", false)) { + /** + * Specifies the adgroup the request context must match in order for + * the feed item to be considered eligible for serving (aka the targeted adgroup). + * E.g., if the below adgroup targeting is set to adgroup = X, then the feed + * item can only serve under adgroup X. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemAdGroupTargeting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemAdGroupTargeting"; + + /** + * @access public + * @var integer + */ + public $TargetingAdGroupId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($TargetingAdGroupId = null) { + $this->TargetingAdGroupId = $TargetingAdGroupId; + } + + } +} + +if (!class_exists("FeedItemAttributeError", false)) { + /** + * Contains validation error details for a set of feed attributes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemAttributeError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemAttributeError"; + + /** + * @access public + * @var integer[] + */ + public $feedAttributeIds; + + /** + * @access public + * @var integer + */ + public $validationErrorCode; + + /** + * @access public + * @var string + */ + public $errorInformation; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($feedAttributeIds = null, $validationErrorCode = null, $errorInformation = null) { + $this->feedAttributeIds = $feedAttributeIds; + $this->validationErrorCode = $validationErrorCode; + $this->errorInformation = $errorInformation; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class FeedItemAttributeValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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; + + /** + * @access public + * @var integer[] + */ + public $integerValues; + + /** + * @access public + * @var double[] + */ + public $doubleValues; + + /** + * @access public + * @var boolean[] + */ + public $booleanValues; + + /** + * @access public + * @var string[] + */ + public $stringValues; + + /** + * @access public + * @var MoneyWithCurrency + */ + public $moneyWithCurrencyValue; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $integerValues = null, $doubleValues = null, $booleanValues = null, $stringValues = null, $moneyWithCurrencyValue = null) { + $this->feedAttributeId = $feedAttributeId; + $this->integerValue = $integerValue; + $this->doubleValue = $doubleValue; + $this->booleanValue = $booleanValue; + $this->stringValue = $stringValue; + $this->integerValues = $integerValues; + $this->doubleValues = $doubleValues; + $this->booleanValues = $booleanValues; + $this->stringValues = $stringValues; + $this->moneyWithCurrencyValue = $moneyWithCurrencyValue; + } + + } +} + +if (!class_exists("FeedItemCampaignTargeting", false)) { + /** + * Specifies the campaign the request context must match in order for + * the feed item to be considered eligible for serving (aka the targeted campaign). + * E.g., if the below campaign targeting is set to campaignId = X, then the feed + * item can only serve under campaign X. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemCampaignTargeting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemCampaignTargeting"; + + /** + * @access public + * @var integer + */ + public $TargetingCampaignId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($TargetingCampaignId = null) { + $this->TargetingCampaignId = $TargetingCampaignId; + } + + } +} + +if (!class_exists("FeedItemDevicePreference", false)) { + /** + * Represents a FeedItem device preference. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemDevicePreference { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemDevicePreference"; + + /** + * @access public + * @var integer + */ + public $devicePreference; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemError"; + + /** + * @access public + * @var tnsFeedItemErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FeedItemGeoRestriction", false)) { + /** + * Represents a FeedItem geo restriction. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedItemGeoRestriction { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemGeoRestriction"; + + /** + * @access public + * @var tnsGeoRestriction + */ + public $geoRestriction; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($geoRestriction = null) { + $this->geoRestriction = $geoRestriction; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class FeedItemSchedule { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemScheduling { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemScheduling"; + + /** + * @access public + * @var FeedItemSchedule[] + */ + public $feedItemSchedules; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 */ class Keyword extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Keyword"; /** @@ -1068,34 +1910,54 @@ public function __construct($text = null, $matchType = null, $id = null, $type = } } -if (!class_exists("Language", false)) { +if (!class_exists("ListReturnValue", 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_v201607 - * @subpackage v201607 + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Language extends Criterion { + class ListReturnValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Language"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ListReturnValue"; /** * @access public * @var string */ - public $code; + public $ListReturnValueType; + private $_parameterMap = array( + "ListReturnValue.Type" => "ListReturnValueType", + ); /** - * @access public - * @var string + * 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 */ - public $name; + protected function getParameterMap() { + return $this->_parameterMap; + } /** * Gets the namesapce of this class @@ -1113,13 +1975,8 @@ 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; + public function __construct($ListReturnValueType = null) { + $this->ListReturnValueType = $ListReturnValueType; } } @@ -1130,16 +1987,12 @@ public function __construct($code = null, $name = null, $id = null, $type = null * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Location extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Location"; /** @@ -1202,16 +2055,12 @@ public function __construct($locationName = null, $displayType = null, $targetin * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class MobileAppCategory extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "MobileAppCategory"; /** @@ -1258,16 +2107,12 @@ public function __construct($mobileAppCategoryId = null, $displayName = null, $i /** * Represents the mobile application to be targeted. * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class MobileApplication extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "MobileApplication"; /** @@ -1313,16 +2158,12 @@ public function __construct($appId = null, $displayName = null, $id = null, $typ if (!class_exists("Money", false)) { /** * Represents a money amount. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Money extends ComparableValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Money"; /** @@ -1356,19 +2197,64 @@ public function __construct($microAmount = null, $ComparableValueType = null) { } } +if (!class_exists("MoneyWithCurrency", false)) { + /** + * Represents a money amount with currency. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MoneyWithCurrency extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MoneyWithCurrency"; + + /** + * @access public + * @var Money + */ + public $money; + + /** + * @access public + * @var string + */ + public $currencyCode; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($money = null, $currencyCode = null, $ComparableValueType = null) { + parent::__construct(); + $this->money = $money; + $this->currencyCode = $currencyCode; + $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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NotEmptyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NotEmptyError"; /** @@ -1393,10 +2279,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1408,16 +2295,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NullError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NullError"; /** @@ -1442,10 +2325,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1457,16 +2341,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("NumberValue", false)) { /** * Number value types for constructing number valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class NumberValue extends ComparableValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "NumberValue"; /** @@ -1497,16 +2377,12 @@ public function __construct($ComparableValueType = null) { /** * This represents an operation that includes an operator and an operand * specified type. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Operation { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Operation"; /** @@ -1580,16 +2456,12 @@ public function __construct($operator = null, $OperationType = null) { 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperationAccessDenied extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperationAccessDenied"; /** @@ -1614,10 +2486,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1629,16 +2502,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("OperatorError", false)) { /** * Errors due to the use of unsupported operations. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperatorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperatorError"; /** @@ -1663,10 +2532,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1678,16 +2548,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("OrderBy", false)) { /** * Specifies how the resulting information should be sorted. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OrderBy { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OrderBy"; /** @@ -1729,16 +2595,12 @@ public function __construct($field = null, $sortOrder = null) { if (!class_exists("Page", false)) { /** * Contains the results from a get call. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Page { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Page"; /** @@ -1814,16 +2676,12 @@ public function __construct($totalNumEntries = null, $PageType = null) { * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Paging { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Paging"; /** @@ -1867,16 +2725,12 @@ public function __construct($startIndex = null, $numberResults = null) { * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Placement extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Placement"; /** @@ -1912,19 +2766,94 @@ public function __construct($url = null, $id = null, $type = null, $CriterionTyp } } +if (!class_exists("PolicyData", false)) { + /** + * Approval and policy information attached to an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyData"; + + /** + * @access public + * @var DisapprovalReason[] + */ + public $disapprovalReasons; + + /** + * @access public + * @var string + */ + public $PolicyDataType; + private $_parameterMap = array( + "PolicyData.Type" => "PolicyDataType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($disapprovalReasons = null, $PolicyDataType = null) { + $this->disapprovalReasons = $disapprovalReasons; + $this->PolicyDataType = $PolicyDataType; + } + + } +} + 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Predicate { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Predicate"; /** @@ -1970,51 +2899,28 @@ public function __construct($field = null, $operator = null, $values = null) { } } -if (!class_exists("Proximity", false)) { +if (!class_exists("QueryError", 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_v201607 - * @subpackage v201607 + * A QueryError represents possible errors for query parsing and execution. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Proximity extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Proximity"; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; + class QueryError extends ApiError { - /** - * @access public - * @var tnsProximityDistanceUnits - */ - public $radiusDistanceUnits; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; /** * @access public - * @var double + * @var tnsQueryErrorReason */ - public $radiusInUnits; + public $reason; /** * @access public - * @var Address + * @var string */ - public $address; + public $message; /** * Gets the namesapce of this class @@ -2032,15 +2938,15 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($geoPoint = null, $radiusDistanceUnits = null, $radiusInUnits = null, $address = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->geoPoint = $geoPoint; - $this->radiusDistanceUnits = $radiusDistanceUnits; - $this->radiusInUnits = $radiusInUnits; - $this->address = $address; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } @@ -2049,16 +2955,12 @@ public function __construct($geoPoint = null, $radiusDistanceUnits = null, $radi if (!class_exists("QuotaCheckError", false)) { /** * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class QuotaCheckError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "QuotaCheckError"; /** @@ -2083,10 +2985,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2098,16 +3001,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RangeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RangeError"; /** @@ -2132,10 +3031,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2147,16 +3047,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RateExceededError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RateExceededError"; /** @@ -2199,13 +3095,14 @@ 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) { + public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2217,16 +3114,12 @@ public function __construct($reason = null, $rateName = null, $rateScope = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ReadOnlyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ReadOnlyError"; /** @@ -2251,10 +3144,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2266,16 +3160,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RejectedError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RejectedError"; /** @@ -2300,10 +3190,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2316,16 +3207,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * Encapsulates the generic errors thrown when there's an error with user * request. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequestError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequestError"; /** @@ -2350,10 +3237,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2365,16 +3253,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("RequiredError", false)) { /** * Errors due to missing required field. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequiredError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequiredError"; /** @@ -2399,10 +3283,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2414,16 +3299,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Selector { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Selector"; /** @@ -2486,16 +3367,12 @@ public function __construct($fields = null, $predicates = null, $dateRange = nul if (!class_exists("SelectorError", false)) { /** * Represents possible error codes for {@link Selector}. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SelectorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SelectorError"; /** @@ -2520,10 +3397,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2535,16 +3413,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SizeLimitError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SizeLimitError"; /** @@ -2569,10 +3443,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2584,16 +3459,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapRequestHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapHeader"; /** @@ -2656,16 +3527,12 @@ public function __construct($clientCustomerId = null, $developerToken = null, $u 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapResponseHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapResponseHeader"; /** @@ -2728,16 +3595,12 @@ public function __construct($requestId = null, $serviceName = null, $methodName if (!class_exists("StringFormatError", false)) { /** * A list of error code for reporting invalid content of input strings. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringFormatError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringFormatError"; /** @@ -2762,10 +3625,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2778,16 +3642,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * Errors associated with the length of the given string being * out of bounds. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringLengthError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringLengthError"; /** @@ -2812,10 +3672,57 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UrlError", false)) { + /** + * Url Validation errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2828,16 +3735,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionUserInterest extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "CriterionUserInterest"; /** @@ -2891,16 +3794,12 @@ public function __construct($userInterestId = null, $userInterestParentId = null /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionUserList extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "CriterionUserList"; /** @@ -2972,16 +3871,12 @@ public function __construct($userListId = null, $userListName = null, $userListM * View the complete list * of available vertical categories. * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Vertical extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Vertical"; /** @@ -3034,16 +3929,12 @@ public function __construct($verticalId = null, $verticalParentId = null, $path if (!class_exists("AuthenticationErrorReason", false)) { /** * The single reason for the authentication failure. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError.Reason"; /** @@ -3071,16 +3962,12 @@ 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthorizationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthorizationError.Reason"; /** @@ -3109,16 +3996,12 @@ public function __construct() { /** * 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ClientTermsErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ClientTermsError.Reason"; /** @@ -3143,94 +4026,16 @@ public function __construct() { } } -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Criterion.Type"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201607 - * @subpackage v201607 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { +if (!class_exists("CollectionSizeErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateErrorReason { + class CollectionSizeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DateError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; /** * Gets the namesapce of this class @@ -3254,20 +4059,16 @@ public function __construct() { } } -if (!class_exists("DayOfWeek", false)) { +if (!class_exists("CriterionType", false)) { /** - * Days of the week. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The types of criteria. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DayOfWeek { + class CriterionType { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DayOfWeek"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; /** * Gets the namesapce of this class @@ -3291,20 +4092,16 @@ public function __construct() { } } -if (!class_exists("DistinctErrorReason", false)) { +if (!class_exists("CriterionErrorReason", false)) { /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Concrete type of criterion is required for ADD and SET operations. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DistinctErrorReason { + class CriterionErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DistinctError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; /** * Gets the namesapce of this class @@ -3328,21 +4125,16 @@ public function __construct() { } } -if (!class_exists("EntityNotFoundReason", false)) { +if (!class_exists("DatabaseErrorReason", 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the database error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class EntityNotFoundReason { + class DatabaseErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "EntityNotFound.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; /** * Gets the namesapce of this class @@ -3366,132 +4158,16 @@ public function __construct() { } } -if (!class_exists("IdErrorReason", false)) { +if (!class_exists("DateErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201607 - * @subpackage v201607 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "InternalApiError.Reason"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201607 - * @subpackage v201607 - */ - class LocationTargetingStatus { + class DateErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "LocationTargetingStatus"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; /** * Gets the namesapce of this class @@ -3515,20 +4191,16 @@ public function __construct() { } } -if (!class_exists("MinuteOfHour", false)) { +if (!class_exists("DayOfWeek", false)) { /** - * Minutes in an hour. Currently only 0, 15, 30, and 45 are supported - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Days of the week. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MinuteOfHour { + class DayOfWeek { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "MinuteOfHour"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DayOfWeek"; /** * Gets the namesapce of this class @@ -3552,20 +4224,16 @@ public function __construct() { } } -if (!class_exists("NotEmptyErrorReason", false)) { +if (!class_exists("DistinctErrorReason", false)) { /** * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NotEmptyErrorReason { + class DistinctErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "NotEmptyError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; /** * Gets the namesapce of this class @@ -3589,20 +4257,16 @@ public function __construct() { } } -if (!class_exists("NullErrorReason", false)) { +if (!class_exists("EntityAccessDeniedReason", false)) { /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * User did not have read access. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NullErrorReason { + class EntityAccessDeniedReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "NullError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; /** * Gets the namesapce of this class @@ -3626,20 +4290,16 @@ public function __construct() { } } -if (!class_exists("OperationAccessDeniedReason", false)) { +if (!class_exists("EntityCountLimitExceededReason", false)) { /** - * The reasons for the operation access error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Limits at various levels of the account. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperationAccessDeniedReason { + class EntityCountLimitExceededReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "OperationAccessDenied.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; /** * Gets the namesapce of this class @@ -3663,20 +4323,17 @@ public function __construct() { } } -if (!class_exists("Operator", false)) { +if (!class_exists("EntityNotFoundReason", false)) { /** - * This represents an operator that may be presented to an adsapi service. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class Operator { + class EntityNotFoundReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Operator"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; /** * Gets the namesapce of this class @@ -3700,20 +4357,16 @@ public function __construct() { } } -if (!class_exists("OperatorErrorReason", false)) { +if (!class_exists("FeedItemStatus", false)) { /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Feed item is active + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperatorErrorReason { + class FeedItemStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "OperatorError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItem.Status"; /** * Gets the namesapce of this class @@ -3737,20 +4390,16 @@ public function __construct() { } } -if (!class_exists("PredicateOperator", false)) { +if (!class_exists("FeedItemApprovalStatus", false)) { /** - * Defines the valid set of operators. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Feed item approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PredicateOperator { + class FeedItemApprovalStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Predicate.Operator"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemApprovalStatus"; /** * Gets the namesapce of this class @@ -3774,20 +4423,16 @@ public function __construct() { } } -if (!class_exists("ProximityDistanceUnits", false)) { +if (!class_exists("FeedItemErrorReason", false)) { /** - * The radius distance is expressed in either kilometers or miles. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProximityDistanceUnits { + class FeedItemErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Proximity.DistanceUnits"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemError.Reason"; /** * Gets the namesapce of this class @@ -3811,21 +4456,16 @@ public function __construct() { } } -if (!class_exists("QuotaCheckErrorReason", false)) { +if (!class_exists("FeedItemQualityApprovalStatus", 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_v201607 - * @subpackage v201607 + * Feed item quality evaluation approval status. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class QuotaCheckErrorReason { + class FeedItemQualityApprovalStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "QuotaCheckError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemQualityApprovalStatus"; /** * Gets the namesapce of this class @@ -3849,20 +4489,16 @@ public function __construct() { } } -if (!class_exists("RangeErrorReason", false)) { +if (!class_exists("FeedItemQualityDisapprovalReasons", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Feed item quality evaluation disapproval reasons. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RangeErrorReason { + class FeedItemQualityDisapprovalReasons { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RangeError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemQualityDisapprovalReasons"; /** * Gets the namesapce of this class @@ -3886,20 +4522,16 @@ public function __construct() { } } -if (!class_exists("RateExceededErrorReason", false)) { +if (!class_exists("FeedItemValidationStatus", false)) { /** - * The reason for the rate exceeded error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Validation status of a FeedItem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RateExceededErrorReason { + class FeedItemValidationStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RateExceededError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemValidationStatus"; /** * Gets the namesapce of this class @@ -3923,20 +4555,16 @@ public function __construct() { } } -if (!class_exists("ReadOnlyErrorReason", false)) { +if (!class_exists("GeoRestriction", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * A restriction used to determine if the request context's geo should be matched. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ReadOnlyErrorReason { + class GeoRestriction { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ReadOnlyError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "GeoRestriction"; /** * Gets the namesapce of this class @@ -3960,20 +4588,16 @@ public function __construct() { } } -if (!class_exists("RejectedErrorReason", false)) { +if (!class_exists("IdErrorReason", false)) { /** * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RejectedErrorReason { + class IdErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RejectedError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; /** * Gets the namesapce of this class @@ -3997,20 +4621,16 @@ public function __construct() { } } -if (!class_exists("RequestErrorReason", false)) { +if (!class_exists("InternalApiErrorReason", false)) { /** - * Error reason is unknown. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The single reason for the internal API error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequestErrorReason { + class InternalApiErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RequestError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; /** * Gets the namesapce of this class @@ -4034,20 +4654,17 @@ public function __construct() { } } -if (!class_exists("RequiredErrorReason", false)) { +if (!class_exists("KeywordMatchType", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Match type of a keyword. i.e. the way we match a keyword string with + * search queries. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequiredErrorReason { + class KeywordMatchType { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RequiredError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; /** * Gets the namesapce of this class @@ -4071,20 +4688,16 @@ public function __construct() { } } -if (!class_exists("SelectorErrorReason", false)) { +if (!class_exists("LocationTargetingStatus", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Enum that represents the different Targeting Status values for a Location criterion. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SelectorErrorReason { + class LocationTargetingStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "SelectorError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationTargetingStatus"; /** * Gets the namesapce of this class @@ -4108,20 +4721,16 @@ public function __construct() { } } -if (!class_exists("SizeLimitErrorReason", false)) { +if (!class_exists("MinuteOfHour", false)) { /** - * The reasons for Ad Scheduling errors. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Minutes in an hour. Currently only 0, 15, 30, and 45 are supported + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SizeLimitErrorReason { + class MinuteOfHour { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "SizeLimitError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MinuteOfHour"; /** * Gets the namesapce of this class @@ -4145,20 +4754,16 @@ public function __construct() { } } -if (!class_exists("SortOrder", false)) { +if (!class_exists("NotEmptyErrorReason", false)) { /** - * Possible orders of sorting. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SortOrder { + class NotEmptyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "SortOrder"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; /** * Gets the namesapce of this class @@ -4182,20 +4787,16 @@ public function __construct() { } } -if (!class_exists("StringFormatErrorReason", false)) { +if (!class_exists("NullErrorReason", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringFormatErrorReason { + class NullErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "StringFormatError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; /** * Gets the namesapce of this class @@ -4219,20 +4820,16 @@ public function __construct() { } } -if (!class_exists("StringLengthErrorReason", false)) { +if (!class_exists("OperationAccessDeniedReason", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the operation access error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringLengthErrorReason { + class OperationAccessDeniedReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "StringLengthError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; /** * Gets the namesapce of this class @@ -4256,20 +4853,16 @@ public function __construct() { } } -if (!class_exists("CriterionUserListMembershipStatus", false)) { +if (!class_exists("Operator", false)) { /** - * Membership status of the user list. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * This represents an operator that may be presented to an adsapi service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionUserListMembershipStatus { + class Operator { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; /** * Gets the namesapce of this class @@ -4293,55 +4886,49 @@ public function __construct() { } } -if (!class_exists("AdSchedule", false)) { +if (!class_exists("OperatorErrorReason", false)) { /** - * Represents an AdSchedule Criterion. - * It is a variant of {@code AdSchedule} that also keeps track of the time zone. - * Note: one single day may not have more than six AdSchedules after the time zone adjustment. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AdSchedule extends Criterion { + class OperatorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "AdSchedule"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; /** - * @access public - * @var cmDayOfWeek + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $dayOfWeek; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var integer + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $startHour; + public function getXsiTypeName() { + return self::XSI_TYPE; + } - /** - * @access public - * @var cmMinuteOfHour - */ - public $startMinute; + public function __construct() { + } - /** - * @access public - * @var integer - */ - public $endHour; + } +} - /** - * @access public - * @var cmMinuteOfHour - */ - public $endMinute; +if (!class_exists("PredicateOperator", false)) { + /** + * Defines the valid set of operators. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PredicateOperator { - /** - * @access public - * @var string - */ - public $timeZone; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; /** * Gets the namesapce of this class @@ -4359,34 +4946,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($dayOfWeek = null, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $timeZone = 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->timeZone = $timeZone; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + public function __construct() { } } } -if (!class_exists("BusinessHour", false)) { +if (!class_exists("QueryErrorReason", false)) { /** - * A marker criterion which allows the user to run his/her ad according to the business hour of - * his/her business. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reason for the query error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BusinessHour extends Criterion { + class QueryErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "BusinessHour"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; /** * Gets the namesapce of this class @@ -4404,44 +4979,23 @@ 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; + public function __construct() { } } } -if (!class_exists("Creative", false)) { +if (!class_exists("QuotaCheckErrorReason", false)) { /** - * Creative for a text ad. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Enums for all the reasons an error can be thrown to the user during + * billing quota checks. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Creative { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "Creative"; - - /** - * @access public - * @var string - */ - public $headline; - - /** - * @access public - * @var string - */ - public $line1; + class QuotaCheckErrorReason { - /** - * @access public - * @var string - */ - public $line2; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; /** * Gets the namesapce of this class @@ -4459,37 +5013,22 @@ 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; + public function __construct() { } } } -if (!class_exists("ExpressSoapHeader", false)) { +if (!class_exists("RangeErrorReason", false)) { /** - * {@link SoapHeader} for AdWords Express services. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ExpressSoapHeader extends SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "ExpressSoapHeader"; - - /** - * @access public - * @var integer - */ - public $expressBusinessId; + class RangeErrorReason { - /** - * @access public - * @var string - */ - public $pageId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; /** * Gets the namesapce of this class @@ -4507,37 +5046,22 @@ 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; + public function __construct() { } } } -if (!class_exists("KeywordGroup", false)) { +if (!class_exists("RateExceededErrorReason", false)) { /** - * A {@link Criterion} for keyword groups. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reason for the rate exceeded error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class KeywordGroup extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "KeywordGroup"; + class RateExceededErrorReason { - /** - * @access public - * @var string - */ - public $name; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; /** * Gets the namesapce of this class @@ -4555,46 +5079,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($name = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->name = $name; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + public function __construct() { } } } -if (!class_exists("KeywordSet", false)) { +if (!class_exists("ReadOnlyErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class KeywordSet extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "KeywordSet"; - - /** - * @access public - * @var string - */ - public $keywordSetId; - - /** - * @access public - * @var string - */ - public $name; + class ReadOnlyErrorReason { - /** - * @access public - * @var boolean - */ - public $deprecated; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; /** * Gets the namesapce of this class @@ -4612,37 +5112,22 @@ 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; + public function __construct() { } } } -if (!class_exists("NegativeCriterion", false)) { +if (!class_exists("RejectedErrorReason", false)) { /** - * A negative criterion. It wraps a {@link Criterion} and will be associated with an ad group as a - * {@code NegativeAdGroupCriterion}. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NegativeCriterion extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "NegativeCriterion"; + class RejectedErrorReason { - /** - * @access public - * @var Criterion - */ - public $criterion; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; /** * Gets the namesapce of this class @@ -4660,28 +5145,22 @@ 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; + public function __construct() { } } } -if (!class_exists("NegativeKeyword", false)) { +if (!class_exists("RequestErrorReason", 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_v201607 - * @subpackage v201607 + * Error reason is unknown. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NegativeKeyword extends Keyword { + class RequestErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "NegativeKeyword"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; /** * Gets the namesapce of this class @@ -4699,25 +5178,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($text = null, $matchType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; + public function __construct() { } } } -if (!class_exists("NoStatsPage", false)) { +if (!class_exists("RequiredErrorReason", false)) { /** - * - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NoStatsPage extends Page { + class RequiredErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "NoStatsPage"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; /** * Gets the namesapce of this class @@ -4735,38 +5211,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; + public function __construct() { } } } -if (!class_exists("PhoneNumber", false)) { +if (!class_exists("SelectorErrorReason", false)) { /** - * Phone number which contains the phone number string plus the region that the number is to be - * from. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PhoneNumber { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "PhoneNumber"; - - /** - * @access public - * @var tnsRegionCode - */ - public $regionCode; + class SelectorErrorReason { - /** - * @access public - * @var string - */ - public $number; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; /** * Gets the namesapce of this class @@ -4784,71 +5244,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($regionCode = null, $number = null) { - $this->regionCode = $regionCode; - $this->number = $number; + public function __construct() { } } } -if (!class_exists("PolicyViolationError", false)) { +if (!class_exists("SizeLimitErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for Ad Scheduling errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PolicyViolationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - 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; + class SizeLimitErrorReason { - /** - * @access public - * @var PolicyViolationErrorPart[] - */ - public $violatingParts; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; /** * Gets the namesapce of this class @@ -4866,45 +5277,22 @@ 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; + public function __construct() { } } } -if (!class_exists("PolicyViolationErrorPart", false)) { +if (!class_exists("SortOrder", false)) { /** - * Points to a substring within an ad field or criterion. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Possible orders of sorting. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PolicyViolationErrorPart { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "PolicyViolationError.Part"; - - /** - * @access public - * @var integer - */ - public $index; + class SortOrder { - /** - * @access public - * @var integer - */ - public $length; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; /** * Gets the namesapce of this class @@ -4922,37 +5310,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($index = null, $length = null) { - $this->index = $index; - $this->length = $length; + public function __construct() { } } } -if (!class_exists("PolicyViolationKey", false)) { +if (!class_exists("StringFormatErrorReason", false)) { /** - * Key of the violation. The key is used for referring to a violation when - * filing an exemption request. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PolicyViolationKey { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "PolicyViolationKey"; - - /** - * @access public - * @var string - */ - public $policyName; + class StringFormatErrorReason { - /** - * @access public - * @var string - */ - public $violatingText; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; /** * Gets the namesapce of this class @@ -4970,38 +5343,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($policyName = null, $violatingText = null) { - $this->policyName = $policyName; - $this->violatingText = $violatingText; + public function __construct() { } } } -if (!class_exists("ProductService", false)) { +if (!class_exists("StringLengthErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductService extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "ProductService"; - - /** - * @access public - * @var string - */ - public $text; + class StringLengthErrorReason { - /** - * @access public - * @var string - */ - public $locale; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; /** * Gets the namesapce of this class @@ -5019,101 +5376,55 @@ 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; + public function __construct() { } } } -if (!class_exists("Promotion", false)) { +if (!class_exists("UrlErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Promotion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - 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; + class UrlErrorReason { - /** - * @access public - * @var PhoneNumber - */ - public $phoneNumber; - - /** - * @access public - * @var boolean - */ - public $streetAddressVisible; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; /** - * @access public - * @var boolean + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $callTrackingEnabled; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var Money + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $budget; + public function getXsiTypeName() { + return self::XSI_TYPE; + } - /** - * @access public - * @var Criterion[] - */ - public $criteria; + public function __construct() { + } - /** - * @access public - * @var integer[] - */ - public $campaignIds; + } +} - /** - * @access public - * @var Money - */ - public $remainingBudget; +if (!class_exists("CriterionUserListMembershipStatus", false)) { + /** + * Membership status of the user list. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionUserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; /** * Gets the namesapce of this class @@ -5131,40 +5442,37 @@ 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; + public function __construct() { } } } -if (!class_exists("PromotionError", false)) { +if (!class_exists("FeedItemServiceGet", false)) { /** - * Promotion related errors for AdWords Express. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class PromotionError extends ApiError { + class FeedItemServiceGet { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "PromotionError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var tnsPromotionErrorReason + * @var Selector */ - public $reason; + public $selector; /** * Gets the namesapce of this class @@ -5182,38 +5490,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($selector = null) { + $this->selector = $selector; } } } -if (!class_exists("PromotionOperation", false)) { +if (!class_exists("FeedItemServiceGetResponse", 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
.
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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionStatus { + class FeedItemServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "Promotion.Status"; + /** + * @access public + * @var FeedItemReturnValue + */ + public $rval; /** * Gets the namesapce of this class @@ -5315,22 +5621,37 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("PromotionErrorReason", false)) { +if (!class_exists("Query", false)) { /** - * Reason behind the {@code PromotionError}. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class PromotionErrorReason { + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "PromotionError.Reason"; + /** + * @access public + * @var string + */ + public $query; /** * Gets the namesapce of this class @@ -5348,88 +5669,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($query = null) { + $this->query = $query; } } } -if (!class_exists("RegionCode", false)) { +if (!class_exists("QueryResponse", 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: - *
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: - * - *
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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RegionCode { + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "RegionCode"; + /** + * @access public + * @var FeedItemPage + */ + public $rval; /** * Gets the namesapce of this class @@ -5447,34 +5709,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("PromotionServiceGet", false)) { +if (!class_exists("ApiException", 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_v201607 - * @subpackage v201607 + * Exception class for holding a list of service errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionServiceGet { + class ApiException extends ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; /** * @access public - * @var Selector + * @var ApiError[] */ - public $selector; + public $errors; /** * Gets the namesapce of this class @@ -5492,29 +5749,32 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($selector = null) { - $this->selector = $selector; + public function __construct($errors = null, $message = null, $ApplicationExceptionType = null) { + parent::__construct(); + $this->errors = $errors; + $this->message = $message; + $this->ApplicationExceptionType = $ApplicationExceptionType; } } } -if (!class_exists("PromotionServiceGetResponse", false)) { +if (!class_exists("DoubleValue", false)) { /** - * - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Number value type for constructing double valued ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionServiceGetResponse { + class DoubleValue extends NumberValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; /** * @access public - * @var PromotionPage + * @var double */ - public $rval; + public $number; /** * Gets the namesapce of this class @@ -5532,37 +5792,30 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($rval = null) { - $this->rval = $rval; + public function __construct($number = null) { + parent::__construct(); + $this->number = $number; } } } -if (!class_exists("PromotionServiceMutate", false)) { +if (!class_exists("FeedItemOperation", 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_v201607 - * @subpackage v201607 + * FeedItem service mutate operation. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionServiceMutate { + class FeedItemOperation extends Operation { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemOperation"; /** * @access public - * @var PromotionOperation[] + * @var FeedItem */ - public $operations; + public $operand; /** * Gets the namesapce of this class @@ -5580,29 +5833,70 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($operations = null) { - $this->operations = $operations; + public function __construct($operand = null, $operator = null, $OperationType = null) { + parent::__construct(); + $this->operand = $operand; + $this->operator = $operator; + $this->OperationType = $OperationType; } } } -if (!class_exists("PromotionServiceMutateResponse", false)) { +if (!class_exists("FeedItemPolicyData", false)) { /** - * - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Contains offline-validation and approval results for a given FeedItem and FeedMapping. Each + * validation data indicates any issues found on the feed item when used in the context of the + * feed mapping. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionServiceMutateResponse { + class FeedItemPolicyData extends PolicyData { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemPolicyData"; /** * @access public - * @var Promotion[] + * @var integer */ - public $rval; + public $placeholderType; + + /** + * @access public + * @var integer + */ + public $feedMappingId; + + /** + * @access public + * @var tnsFeedItemValidationStatus + */ + public $validationStatus; + + /** + * @access public + * @var tnsFeedItemApprovalStatus + */ + public $approvalStatus; + + /** + * @access public + * @var FeedItemAttributeError[] + */ + public $validationErrors; + + /** + * @access public + * @var tnsFeedItemQualityApprovalStatus + */ + public $qualityApprovalStatus; + + /** + * @access public + * @var tnsFeedItemQualityDisapprovalReasons[] + */ + public $qualityDisapprovalReasons; /** * Gets the namesapce of this class @@ -5620,33 +5914,44 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($rval = null) { - $this->rval = $rval; + public function __construct($placeholderType = null, $feedMappingId = null, $validationStatus = null, $approvalStatus = null, $validationErrors = null, $qualityApprovalStatus = null, $qualityDisapprovalReasons = null, $disapprovalReasons = null, $PolicyDataType = null) { + parent::__construct(); + $this->placeholderType = $placeholderType; + $this->feedMappingId = $feedMappingId; + $this->validationStatus = $validationStatus; + $this->approvalStatus = $approvalStatus; + $this->validationErrors = $validationErrors; + $this->qualityApprovalStatus = $qualityApprovalStatus; + $this->qualityDisapprovalReasons = $qualityDisapprovalReasons; + $this->disapprovalReasons = $disapprovalReasons; + $this->PolicyDataType = $PolicyDataType; } } } -if (!class_exists("ApiException", false)) { +if (!class_exists("FeedItemReturnValue", false)) { /** - * Exception class for holding a list of service errors. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * A container for return values from FeedItemService.mutate(). + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ApiException extends ApplicationException { + class FeedItemReturnValue extends ListReturnValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ApiException"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemReturnValue"; + + /** + * @access public + * @var FeedItem[] + */ + public $value; /** * @access public * @var ApiError[] */ - public $errors; + public $partialFailureErrors; /** * Gets the namesapce of this class @@ -5664,34 +5969,30 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($errors = null, $message = null, $ApplicationExceptionType = null) { + public function __construct($value = null, $partialFailureErrors = null, $ListReturnValueType = null) { parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; + $this->value = $value; + $this->partialFailureErrors = $partialFailureErrors; + $this->ListReturnValueType = $ListReturnValueType; } } } -if (!class_exists("DoubleValue", false)) { +if (!class_exists("LongValue", false)) { /** - * Number value type for constructing double valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Number value type for constructing long valued ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DoubleValue extends NumberValue { + class LongValue extends NumberValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DoubleValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; /** * @access public - * @var double + * @var integer */ public $number; @@ -5719,26 +6020,58 @@ public function __construct($number = null) { } } -if (!class_exists("LongValue", false)) { +if (!class_exists("NullStatsPage", false)) { /** - * Number value type for constructing long valued ranges. - * * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class LongValue extends NumberValue { + class NullStatsPage extends Page { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "LongValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullStatsPage"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedItemPage extends NullStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedItemPage"; /** * @access public - * @var integer + * @var FeedItem[] */ - public $number; + public $entries; /** * Gets the namesapce of this class @@ -5756,64 +6089,86 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($number = null) { + public function __construct($entries = null) { parent::__construct(); - $this->number = $number; + $this->entries = $entries; } } } -if (!class_exists("PromotionService", false)) { +if (!class_exists("FeedItemService", false)) { /** - * PromotionService - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * FeedItemService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionService extends AdWordsSoapClient { + class FeedItemService extends AdWordsSoapClient { - const SERVICE_NAME = "PromotionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201607/PromotionService"; + const SERVICE_NAME = "FeedItemService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/FeedItemService"; /** * The endpoint of the service * @var string */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201607/PromotionService"; + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/FeedItemService"; /** * 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", + "CollectionSizeError" => "CollectionSizeError", "ComparableValue" => "ComparableValue", "Criterion" => "Criterion", + "CriterionError" => "CriterionError", + "CustomParameter" => "CustomParameter", + "CustomParameters" => "CustomParameters", "DatabaseError" => "DatabaseError", "DateError" => "DateError", "DateRange" => "DateRange", + "DisapprovalReason" => "DisapprovalReason", "DistinctError" => "DistinctError", "DoubleValue" => "DoubleValue", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", "EntityNotFound" => "EntityNotFound", - "GeoPoint" => "GeoPoint", + "FeedItem" => "FeedItem", + "FeedItemAdGroupTargeting" => "FeedItemAdGroupTargeting", + "FeedItemAttributeError" => "FeedItemAttributeError", + "FeedItemAttributeValue" => "FeedItemAttributeValue", + "FeedItemCampaignTargeting" => "FeedItemCampaignTargeting", + "FeedItemDevicePreference" => "FeedItemDevicePreference", + "FeedItemError" => "FeedItemError", + "FeedItemGeoRestriction" => "FeedItemGeoRestriction", + "FeedItemOperation" => "FeedItemOperation", + "FeedItemPage" => "FeedItemPage", + "FeedItemPolicyData" => "FeedItemPolicyData", + "FeedItemReturnValue" => "FeedItemReturnValue", + "FeedItemSchedule" => "FeedItemSchedule", + "FeedItemScheduling" => "FeedItemScheduling", + "FieldPathElement" => "FieldPathElement", "IdError" => "IdError", "InternalApiError" => "InternalApiError", "Keyword" => "Keyword", - "Language" => "Language", + "ListReturnValue" => "ListReturnValue", "Location" => "Location", "LongValue" => "LongValue", "MobileAppCategory" => "MobileAppCategory", "MobileApplication" => "MobileApplication", "Money" => "Money", + "MoneyWithCurrency" => "MoneyWithCurrency", "NotEmptyError" => "NotEmptyError", "NullError" => "NullError", + "NullStatsPage" => "NullStatsPage", "NumberValue" => "NumberValue", "Operation" => "Operation", "OperationAccessDenied" => "OperationAccessDenied", @@ -5822,8 +6177,9 @@ class PromotionService extends AdWordsSoapClient { "Page" => "Page", "Paging" => "Paging", "Placement" => "Placement", + "PolicyData" => "PolicyData", "Predicate" => "Predicate", - "Proximity" => "Proximity", + "QueryError" => "QueryError", "QuotaCheckError" => "QuotaCheckError", "RangeError" => "RangeError", "RateExceededError" => "RateExceededError", @@ -5838,18 +6194,30 @@ class PromotionService extends AdWordsSoapClient { "SoapResponseHeader" => "SoapResponseHeader", "StringFormatError" => "StringFormatError", "StringLengthError" => "StringLengthError", + "UrlError" => "UrlError", "CriterionUserInterest" => "CriterionUserInterest", "CriterionUserList" => "CriterionUserList", "Vertical" => "Vertical", "AuthenticationError.Reason" => "AuthenticationErrorReason", "AuthorizationError.Reason" => "AuthorizationErrorReason", "ClientTermsError.Reason" => "ClientTermsErrorReason", + "CollectionSizeError.Reason" => "CollectionSizeErrorReason", "Criterion.Type" => "CriterionType", + "CriterionError.Reason" => "CriterionErrorReason", "DatabaseError.Reason" => "DatabaseErrorReason", "DateError.Reason" => "DateErrorReason", "DayOfWeek" => "DayOfWeek", "DistinctError.Reason" => "DistinctErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", "EntityNotFound.Reason" => "EntityNotFoundReason", + "FeedItem.Status" => "FeedItemStatus", + "FeedItemApprovalStatus" => "FeedItemApprovalStatus", + "FeedItemError.Reason" => "FeedItemErrorReason", + "FeedItemQualityApprovalStatus" => "FeedItemQualityApprovalStatus", + "FeedItemQualityDisapprovalReasons" => "FeedItemQualityDisapprovalReasons", + "FeedItemValidationStatus" => "FeedItemValidationStatus", + "GeoRestriction" => "GeoRestriction", "IdError.Reason" => "IdErrorReason", "InternalApiError.Reason" => "InternalApiErrorReason", "KeywordMatchType" => "KeywordMatchType", @@ -5861,7 +6229,7 @@ class PromotionService extends AdWordsSoapClient { "Operator" => "Operator", "OperatorError.Reason" => "OperatorErrorReason", "Predicate.Operator" => "PredicateOperator", - "Proximity.DistanceUnits" => "ProximityDistanceUnits", + "QueryError.Reason" => "QueryErrorReason", "QuotaCheckError.Reason" => "QuotaCheckErrorReason", "RangeError.Reason" => "RangeErrorReason", "RateExceededError.Reason" => "RateExceededErrorReason", @@ -5874,32 +6242,14 @@ class PromotionService extends AdWordsSoapClient { "SortOrder" => "SortOrder", "StringFormatError.Reason" => "StringFormatErrorReason", "StringLengthError.Reason" => "StringLengthErrorReason", + "UrlError.Reason" => "UrlErrorReason", "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "AdSchedule" => "AdSchedule", - "BusinessHour" => "BusinessHour", - "Creative" => "Creative", - "ExpressSoapHeader" => "ExpressSoapHeader", - "KeywordGroup" => "KeywordGroup", - "KeywordSet" => "KeywordSet", - "NegativeCriterion" => "NegativeCriterion", - "NegativeKeyword" => "NegativeKeyword", - "NoStatsPage" => "NoStatsPage", - "PhoneNumber" => "PhoneNumber", - "PolicyViolationError" => "PolicyViolationError", - "PolicyViolationError.Part" => "PolicyViolationErrorPart", - "PolicyViolationKey" => "PolicyViolationKey", - "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", + "get" => "FeedItemServiceGet", + "getResponse" => "FeedItemServiceGetResponse", + "mutate" => "FeedItemServiceMutate", + "mutateResponse" => "FeedItemServiceMutateResponse", + "query" => "Query", + "queryResponse" => "QueryResponse", ); @@ -5918,31 +6268,53 @@ public function __construct($wsdl, $options, $user) { * * * - * 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 + * 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 PromotionServiceGet($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}. - * 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 + * 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 PromotionServiceMutate($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/v201705/FeedMappingService.php b/src/Google/Api/Ads/AdWords/v201705/FeedMappingService.php new file mode 100755 index 000000000..9c984e37c --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/FeedMappingService.php @@ -0,0 +1,3739 @@ +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AttributeFieldMapping", false)) { + /** + * Represents a mapping between a feed attribute and a placeholder field. + * + *For a list of feed placeholders, see + * + * https://developers.google.com/adwords/api/docs/appendix/placeholders + *
+ * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AttributeFieldMapping { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AttributeFieldMapping"; + + /** + * @access public + * @var integer + */ + public $feedAttributeId; + + /** + * @access public + * @var integer + */ + public $fieldId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class FeedMapping { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedMappingError", false)) { + /** + * Errors caused by invalid usage of FeedMappingService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedMappingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedMappingError"; + + /** + * @access public + * @var tnsFeedMappingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedMappingStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedMapping.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedMappingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedMappingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedMappingServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedMappingServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var FeedMappingPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * 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 and remove FeedMappings. + * The following {@link Operator}s are supported: ADD, REMOVE. + * + * @param operations The operations to apply. + * @return The resulting FeedMappings. + * @throws ApiException indicates a problem with the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedMappingServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var FeedMappingOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedMappingServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var FeedMappingReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var FeedMappingPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedMappingOperation", false)) { + /** + * Operation used to create a FeedMapping. + * + *The following {@link Operator}s are supported: ADD, REMOVE. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedMappingOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedMappingOperation"; + + /** + * @access public + * @var FeedMapping + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedMappingReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedMappingReturnValue"; + + /** + * @access public + * @var FeedMapping[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullStatsPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullStatsPage"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedMappingPage", false)) { + /** + * The result of a call to {@link FeedMappingService#get}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedMappingPage extends NullStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedMappingPage"; + + /** + * @access public + * @var FeedMapping[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedMappingService extends AdWordsSoapClient { + + const SERVICE_NAME = "FeedMappingService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/FeedMappingService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/FeedMappingService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "AttributeFieldMapping" => "AttributeFieldMapping", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "ClientTermsError" => "ClientTermsError", + "DatabaseError" => "DatabaseError", + "DateRange" => "DateRange", + "DistinctError" => "DistinctError", + "EntityNotFound" => "EntityNotFound", + "FeedMapping" => "FeedMapping", + "FeedMappingError" => "FeedMappingError", + "FeedMappingOperation" => "FeedMappingOperation", + "FeedMappingPage" => "FeedMappingPage", + "FeedMappingReturnValue" => "FeedMappingReturnValue", + "FieldPathElement" => "FieldPathElement", + "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", + "Selector" => "Selector", + "SelectorError" => "SelectorError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "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. + * 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 and remove FeedMappings. + * The following {@link Operator}s are supported: ADD, REMOVE. + * + * @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/v201705/FeedService.php b/src/Google/Api/Ads/AdWords/v201705/FeedService.php new file mode 100755 index 000000000..cb294fb0f --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/FeedService.php @@ -0,0 +1,4495 @@ +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("Chain", false)) { + /** + * Chain defines chain related metadata required in order to sync features belonging to a chain. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Chain { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Chain"; + + /** + * @access public + * @var integer + */ + public $chainId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($chainId = null) { + $this->chainId = $chainId; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateRange { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; + + /** + * @access public + * @var string + */ + public $min; + + /** + * @access public + * @var string + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class Feed { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("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_v201705 + * @subpackage v201705 + */ + class FeedAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("FeedError", false)) { + /** + * An error caused by an invalid Feed in a FeedService request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedError"; + + /** + * @access public + * @var tnsFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("NewEntityCreationError", false)) { + /** + * Error associated with creation of new entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("OAuthInfo", false)) { + /** + * Data used for authorization using OAuth. + * For more information about OAuth, see: + * {@link "https://developers.google.com/identity/protocols/OAuth2"} + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OAuthInfo { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("Operation", false)) { + /** + * This represents an operation that includes an operator and an operand + * specified type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("SystemFeedGenerationData", false)) { + /** + * Configuration data allowing feed items to be populated for a system feed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SystemFeedGenerationData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AuthenticationErrorReason", false)) { + /** + * The single reason for the authentication failure. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedOrigin { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Feed.Origin"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Feed.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedAttributeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedAttribute.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("RelationshipType", false)) { + /** + * Relationship type affiliate locations have with the advertiser. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RelationshipType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RelationshipType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var FeedPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var FeedOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var FeedReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var FeedPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AffiliateLocationFeedData", false)) { + /** + * Data used to configure an Affiliate Location Feed populated with the specified chains. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AffiliateLocationFeedData extends SystemFeedGenerationData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AffiliateLocationFeedData"; + + /** + * @access public + * @var Chain[] + */ + public $chains; + + /** + * @access public + * @var tnsRelationshipType + */ + public $relationshipType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($chains = null, $relationshipType = null, $SystemFeedGenerationDataType = null) { + parent::__construct(); + $this->chains = $chains; + $this->relationshipType = $relationshipType; + $this->SystemFeedGenerationDataType = $SystemFeedGenerationDataType; + } + + } +} + +if (!class_exists("ApiException", false)) { + /** + * Exception class for holding a list of service errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PlacesLocationFeedData", false)) { + /** + * Data used to configure a location feed populated from + * Google My Business Locations. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PlacesLocationFeedData extends SystemFeedGenerationData { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PlacesLocationFeedData"; + + /** + * @access public + * @var OAuthInfo + */ + public $oAuthInfo; + + /** + * @access public + * @var string + */ + public $emailAddress; + + /** + * @access public + * @var string + */ + public $businessAccountIdentifier; + + /** + * @access public + * @var string + */ + public $businessNameFilter; + + /** + * @access public + * @var string[] + */ + public $categoryFilters; + + /** + * @access public + * @var string[] + */ + public $labelFilters; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($oAuthInfo = null, $emailAddress = null, $businessAccountIdentifier = null, $businessNameFilter = null, $categoryFilters = null, $labelFilters = null, $SystemFeedGenerationDataType = null) { + parent::__construct(); + $this->oAuthInfo = $oAuthInfo; + $this->emailAddress = $emailAddress; + $this->businessAccountIdentifier = $businessAccountIdentifier; + $this->businessNameFilter = $businessNameFilter; + $this->categoryFilters = $categoryFilters; + $this->labelFilters = $labelFilters; + $this->SystemFeedGenerationDataType = $SystemFeedGenerationDataType; + } + + } +} + +if (!class_exists("FeedOperation", false)) { + /** + * Operation used to create or mutate a Feed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FeedOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedOperation"; + + /** + * @access public + * @var Feed + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedReturnValue"; + + /** + * @access public + * @var Feed[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullStatsPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullStatsPage"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedPage extends NullStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedPage"; + + /** + * @access public + * @var Feed[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedService extends AdWordsSoapClient { + + const SERVICE_NAME = "FeedService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/FeedService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/FeedService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AffiliateLocationFeedData" => "AffiliateLocationFeedData", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "PlacesLocationFeedData" => "PlacesLocationFeedData", + "Chain" => "Chain", + "ClientTermsError" => "ClientTermsError", + "CollectionSizeError" => "CollectionSizeError", + "DatabaseError" => "DatabaseError", + "DateRange" => "DateRange", + "DistinctError" => "DistinctError", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "Feed" => "Feed", + "FeedAttribute" => "FeedAttribute", + "FeedError" => "FeedError", + "FeedOperation" => "FeedOperation", + "FeedPage" => "FeedPage", + "FeedReturnValue" => "FeedReturnValue", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "ListReturnValue" => "ListReturnValue", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "NullStatsPage" => "NullStatsPage", + "OAuthInfo" => "OAuthInfo", + "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", + "Selector" => "Selector", + "SelectorError" => "SelectorError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "SystemFeedGenerationData" => "SystemFeedGenerationData", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "CollectionSizeError.Reason" => "CollectionSizeErrorReason", + "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", + "OperatorError.Reason" => "OperatorErrorReason", + "Predicate.Operator" => "PredicateOperator", + "QueryError.Reason" => "QueryErrorReason", + "QuotaCheckError.Reason" => "QuotaCheckErrorReason", + "RangeError.Reason" => "RangeErrorReason", + "RateExceededError.Reason" => "RateExceededErrorReason", + "ReadOnlyError.Reason" => "ReadOnlyErrorReason", + "RejectedError.Reason" => "RejectedErrorReason", + "RelationshipType" => "RelationshipType", + "RequestError.Reason" => "RequestErrorReason", + "RequiredError.Reason" => "RequiredErrorReason", + "SelectorError.Reason" => "SelectorErrorReason", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "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/v201705/LabelService.php b/src/Google/Api/Ads/AdWords/v201705/LabelService.php new file mode 100755 index 000000000..536d6e776 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/LabelService.php @@ -0,0 +1,4301 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelAttribute", false)) { + /** + * Base type for AdWords label attributes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelAttribute"; + + /** + * @access public + * @var string + */ + public $LabelAttributeType; + private $_parameterMap = array( + "LabelAttribute.Type" => "LabelAttributeType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($LabelAttributeType = null) { + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("Label", false)) { + /** + * Represents a label that can be attached to entities such as campaign, ad group, ads, + * criterion etc. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var tnsLabelStatus + */ + public $status; + + /** + * @access public + * @var LabelAttribute + */ + public $attribute; + + /** + * @access public + * @var string + */ + public $LabelType; + private $_parameterMap = array( + "Label.Type" => "LabelType", + ); + + /** + * 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("LabelStatus", false)) { + /** + * The label is enabled. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Label.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("LabelErrorReason", false)) { + /** + * The reasons for the label error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("LabelServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a list of {@link Label}s. + * + * @param serviceSelector The selector specifying the {@link Label}s to return. + * @return The page containing the {@link Label}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_v201705 + * @subpackage v201705 + */ + class LabelServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var LabelPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelServiceMutate", false)) { + /** + * This field must not contain {@code null} elements. + * Elements in this field must have distinct IDs for following {@link Operator}s : ADD, 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. + * + * + * + * Applies the list of mutate operations. + * + * @param operations The operations to apply. The same {@link Label} cannot be specified in + * more than one operation. + * @return The applied {@link Label}s. + * @throws ApiException when there is at least one error with the request + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var LabelOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelServiceMutateResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var LabelReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 Label}s that match the query. + * + * @param query The SQL-like AWQL query string + * @returns The page containing the {@link Label}s which match the query. + * @throws ApiException when the query is invalid or there are errors processing the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var LabelPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("TextLabel", false)) { + /** + * Represent a display label entry. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TextLabel extends Label { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TextLabel"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null, $status = null, $attribute = null, $LabelType = null) { + parent::__construct(); + $this->id = $id; + $this->name = $name; + $this->status = $status; + $this->attribute = $attribute; + $this->LabelType = $LabelType; + } + + } +} + +if (!class_exists("DisplayAttribute", false)) { + /** + * Attributes for Text Labels. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DisplayAttribute extends LabelAttribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DisplayAttribute"; + + /** + * @access public + * @var string + */ + public $backgroundColor; + + /** + * @access public + * @var string + */ + public $description; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($backgroundColor = null, $description = null, $LabelAttributeType = null) { + parent::__construct(); + $this->backgroundColor = $backgroundColor; + $this->description = $description; + $this->LabelAttributeType = $LabelAttributeType; + } + + } +} + +if (!class_exists("ClientTermsError", false)) { + /** + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("LabelError", false)) { + /** + * Base error class for LabelService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelError"; + + /** + * @access public + * @var tnsLabelErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PagingError", false)) { + /** + * Error codes for pagination. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelOperation", false)) { + /** + * An operation for adding, editing, removing {@link Label}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelOperation"; + + /** + * @access public + * @var Label + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelReturnValue", false)) { + /** + * A container for return values from LabelService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelReturnValue"; + + /** + * @access public + * @var Label[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("NoStatsPage", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NoStatsPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NoStatsPage"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelPage", false)) { + /** + * Contains a subset of labels resulting from the filtering and paging of the + * {@link LabelService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelPage extends NoStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LabelPage"; + + /** + * @access public + * @var Label[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("LabelService", false)) { + /** + * LabelService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LabelService extends AdWordsSoapClient { + + const SERVICE_NAME = "LabelService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/LabelService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/LabelService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "TextLabel" => "TextLabel", + "DisplayAttribute" => "DisplayAttribute", + "ClientTermsError" => "ClientTermsError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DistinctError" => "DistinctError", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "LabelError" => "LabelError", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", + "PagingError" => "PagingError", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "DatabaseError" => "DatabaseError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "LabelAttribute" => "LabelAttribute", + "Label" => "Label", + "LabelOperation" => "LabelOperation", + "LabelPage" => "LabelPage", + "LabelReturnValue" => "LabelReturnValue", + "ListReturnValue" => "ListReturnValue", + "NoStatsPage" => "NoStatsPage", + "Operation" => "Operation", + "Page" => "Page", + "Selector" => "Selector", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DistinctError.Reason" => "DistinctErrorReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "IdError.Reason" => "IdErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "Label.Status" => "LabelStatus", + "LabelError.Reason" => "LabelErrorReason", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", + "OperatorError.Reason" => "OperatorErrorReason", + "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", + "SelectorError.Reason" => "SelectorErrorReason", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "get" => "LabelServiceGet", + "getResponse" => "LabelServiceGetResponse", + "mutate" => "LabelServiceMutate", + "mutateResponse" => "LabelServiceMutateResponse", + "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 Label}s. + * + * @param serviceSelector The selector specifying the {@link Label}s to return. + * @return The page containing the {@link Label}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 LabelServiceGet($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 : ADD, 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. + * + * + * + * Applies the list of mutate operations. + * + * @param operations The operations to apply. The same {@link Label} cannot be specified in + * more than one operation. + * @return The applied {@link Label}s. + * @throws ApiException when there is at least one error with the request + */ + public function mutate($operations) { + $args = new LabelServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns the list of {@link Label}s that match the query. + * + * @param query The SQL-like AWQL query string + * @returns The page containing the {@link Label}s which match the query. + * @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/v201609/BudgetSuggestionService.php b/src/Google/Api/Ads/AdWords/v201705/LocationCriterionService.php similarity index 72% rename from src/Google/Api/Ads/AdWords/v201609/BudgetSuggestionService.php rename to src/Google/Api/Ads/AdWords/v201705/LocationCriterionService.php index 214a17e7f..1c72466ed 100755 --- a/src/Google/Api/Ads/AdWords/v201609/BudgetSuggestionService.php +++ b/src/Google/Api/Ads/AdWords/v201705/LocationCriterionService.php @@ -1,6 +1,6 @@ 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 @@ -121,16 +35,12 @@ public function __construct($streetAddress = null, $streetAddress2 = null, $city * *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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiError"; /** @@ -139,6 +49,12 @@ class ApiError { */ public $fieldPath; + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + /** * @access public * @var string @@ -205,8 +121,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -218,16 +135,12 @@ public function __construct($fieldPath = null, $trigger = null, $errorString = n if (!class_exists("ApplicationException", false)) { /** * Base class for exceptions. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApplicationException"; /** @@ -301,16 +214,12 @@ public function __construct($message = null, $ApplicationExceptionType = null) { if (!class_exists("AuthenticationError", false)) { /** * Errors returned when Authentication failed. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError"; /** @@ -335,10 +244,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -350,16 +260,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("AuthorizationError", false)) { /** * Errors encountered when trying to authorize a user. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthorizationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthorizationError"; /** @@ -384,10 +290,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -399,16 +306,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ClientTermsError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ClientTermsError"; /** @@ -433,10 +336,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -445,28 +349,37 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("ComparableValue", false)) { +if (!class_exists("Criterion", false)) { /** - * Comparable types for constructing ranges with. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * 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_v201705 + * @subpackage v201705 */ - class ComparableValue { + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion"; + + /** + * @access public + * @var integer + */ + public $id; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "ComparableValue"; + /** + * @access public + * @var tnsCriterionType + */ + public $type; /** * @access public * @var string */ - public $ComparableValueType; + public $CriterionType; private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", + "Criterion.Type" => "CriterionType", ); /** @@ -514,78 +427,77 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; + public function __construct($id = null, $type = null, $CriterionType = null) { + $this->id = $id; + $this->type = $type; + $this->CriterionType = $CriterionType; } } } -if (!class_exists("Criterion", false)) { +if (!class_exists("DatabaseError", 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_v201609 - * @subpackage v201609 + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Criterion"; + class DatabaseError extends ApiError { - /** - * @access public - * @var integer - */ - public $id; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; /** * @access public - * @var tnsCriterionType + * @var tnsDatabaseErrorReason */ - public $type; + public $reason; /** - * @access public - * @var string + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; + public function getXsiTypeName() { + return self::XSI_TYPE; } - /** - * 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]}; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + /** - * Provided for getting non-php-standard named variables - * @return array parameter map + * @access public + * @var tnsDateErrorReason */ - protected function getParameterMap() { - return $this->_parameterMap; - } + public $reason; /** * Gets the namesapce of this class @@ -603,35 +515,42 @@ 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; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("DatabaseError", false)) { +if (!class_exists("DateRange", false)) { /** - * Errors that are thrown due to a database access problem. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * 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_v201705 + * @subpackage v201705 */ - class DatabaseError extends ApiError { + class DateRange { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DatabaseError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRange"; /** * @access public - * @var tnsDatabaseErrorReason + * @var string */ - public $reason; + public $min; + + /** + * @access public + * @var string + */ + public $max; /** * Gets the namesapce of this class @@ -649,13 +568,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($min = null, $max = null) { + $this->min = $min; + $this->max = $max; } } @@ -664,16 +579,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("DistinctError", false)) { /** * Errors related to distinct ids or content. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DistinctError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DistinctError"; /** @@ -698,10 +609,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -710,32 +622,28 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("GeoPoint", false)) { +if (!class_exists("FieldPathElement", false)) { /** - * Specifies a geo location with the supplied latitude/longitude. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class GeoPoint { + class FieldPathElement { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "GeoPoint"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; /** * @access public - * @var integer + * @var string */ - public $latitudeInMicroDegrees; + public $field; /** * @access public * @var integer */ - public $longitudeInMicroDegrees; + public $index; /** * Gets the namesapce of this class @@ -753,9 +661,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; } } @@ -764,16 +672,12 @@ public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDeg if (!class_exists("IdError", false)) { /** * Errors associated with the ids. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class IdError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "IdError"; /** @@ -798,10 +702,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -815,16 +720,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class InternalApiError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "InternalApiError"; /** @@ -849,10 +750,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -865,16 +767,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Keyword extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Keyword"; /** @@ -917,34 +815,42 @@ public function __construct($text = null, $matchType = null, $id = null, $type = } } -if (!class_exists("Language", false)) { +if (!class_exists("Location", false)) { /** - * Represents a Language criterion. + * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Language extends Criterion { + class Location extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Language"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Location"; /** * @access public * @var string */ - public $code; + public $locationName; /** * @access public * @var string */ - public $name; + public $displayType; + + /** + * @access public + * @var tnsLocationTargetingStatus + */ + public $targetingStatus; + + /** + * @access public + * @var Location[] + */ + public $parentLocations; /** * Gets the namesapce of this class @@ -962,10 +868,12 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($code = null, $name = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($locationName = null, $displayType = null, $targetingStatus = null, $parentLocations = null, $id = null, $type = null, $CriterionType = null) { parent::__construct(); - $this->code = $code; - $this->name = $name; + $this->locationName = $locationName; + $this->displayType = $displayType; + $this->targetingStatus = $targetingStatus; + $this->parentLocations = $parentLocations; $this->id = $id; $this->type = $type; $this->CriterionType = $CriterionType; @@ -974,46 +882,52 @@ public function __construct($code = null, $name = null, $id = null, $type = null } } -if (!class_exists("Location", false)) { +if (!class_exists("LocationCriterion", 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_v201609 - * @subpackage v201609 + * Represents data that encapsulates a location criterion. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Location extends Criterion { + class LocationCriterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Location"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationCriterion"; + + /** + * @access public + * @var Location + */ + public $location; /** * @access public * @var string */ - public $locationName; + public $canonicalName; + + /** + * @access public + * @var integer + */ + public $reach; /** * @access public * @var string */ - public $displayType; + public $locale; /** * @access public - * @var tnsLocationTargetingStatus + * @var string */ - public $targetingStatus; + public $searchTerm; /** * @access public - * @var Location[] + * @var string */ - public $parentLocations; + public $countryCode; /** * Gets the namesapce of this class @@ -1031,15 +945,59 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($locationName = null, $displayType = null, $targetingStatus = null, $parentLocations = null, $id = null, $type = null, $CriterionType = null) { + 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_v201705 + * @subpackage v201705 + */ + class LocationCriterionServiceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationCriterionServiceError"; + + /** + * @access public + * @var tnsLocationCriterionServiceErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->locationName = $locationName; - $this->displayType = $displayType; - $this->targetingStatus = $targetingStatus; - $this->parentLocations = $parentLocations; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } @@ -1051,16 +1009,12 @@ public function __construct($locationName = null, $displayType = null, $targetin * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class MobileAppCategory extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "MobileAppCategory"; /** @@ -1107,16 +1061,12 @@ public function __construct($mobileAppCategoryId = null, $displayName = null, $i /** * Represents the mobile application to be targeted. * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class MobileApplication extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "MobileApplication"; /** @@ -1159,26 +1109,22 @@ public function __construct($appId = null, $displayName = null, $id = null, $typ } } -if (!class_exists("Money", false)) { +if (!class_exists("NotEmptyError", false)) { /** - * Represents a money amount. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors corresponding with violation of a NOT EMPTY check. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Money extends ComparableValue { + class NotEmptyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Money"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; /** * @access public - * @var integer + * @var tnsNotEmptyErrorReason */ - public $microAmount; + public $reason; /** * Gets the namesapce of this class @@ -1196,33 +1142,33 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($microAmount = null, $ComparableValueType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("NotEmptyError", false)) { +if (!class_exists("NullError", false)) { /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors associated with violation of a NOT NULL check. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NotEmptyError extends ApiError { + class NullError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NotEmptyError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; /** * @access public - * @var tnsNotEmptyErrorReason + * @var tnsNullErrorReason */ public $reason; @@ -1242,10 +1188,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1254,20 +1201,22 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("NumberValue", false)) { +if (!class_exists("OperationAccessDenied", false)) { /** - * Number value types for constructing number valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Operation not permitted due to the invoked service's access policy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NumberValue extends ComparableValue { + class OperationAccessDenied extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NumberValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; /** * Gets the namesapce of this class @@ -1285,32 +1234,33 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($ComparableValueType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->ComparableValueType = $ComparableValueType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("OperationAccessDenied", false)) { +if (!class_exists("OperatorError", false)) { /** - * Operation not permitted due to the invoked service's access policy. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors due to the use of unsupported operations. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperationAccessDenied extends ApiError { + class OperatorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OperationAccessDenied"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; /** * @access public - * @var tnsOperationAccessDeniedReason + * @var tnsOperatorErrorReason */ public $reason; @@ -1330,10 +1280,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1342,26 +1293,28 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("OperatorError", false)) { +if (!class_exists("OrderBy", false)) { /** - * Errors due to the use of unsupported operations. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperatorError extends ApiError { + class OrderBy { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OperatorError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; /** * @access public - * @var tnsOperatorErrorReason + * @var string */ - public $reason; + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; /** * Gets the namesapce of this class @@ -1379,13 +1332,58 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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; } } @@ -1396,16 +1394,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Placement extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Placement"; /** @@ -1441,51 +1435,82 @@ public function __construct($url = null, $id = null, $type = null, $CriterionTyp } } -if (!class_exists("Proximity", false)) { +if (!class_exists("Predicate", 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_v201609 - * @subpackage v201609 + * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Proximity extends Criterion { + class Predicate { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Proximity"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate"; + + /** + * @access public + * @var string + */ + public $field; /** * @access public - * @var GeoPoint + * @var tnsPredicateOperator */ - public $geoPoint; + public $operator; /** * @access public - * @var tnsProximityDistanceUnits + * @var string[] + */ + public $values; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $radiusDistanceUnits; + 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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; /** * @access public - * @var double + * @var tnsQueryErrorReason */ - public $radiusInUnits; + public $reason; /** * @access public - * @var Address + * @var string */ - public $address; + public $message; /** * Gets the namesapce of this class @@ -1503,15 +1528,15 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($geoPoint = null, $radiusDistanceUnits = null, $radiusInUnits = null, $address = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->geoPoint = $geoPoint; - $this->radiusDistanceUnits = $radiusDistanceUnits; - $this->radiusInUnits = $radiusInUnits; - $this->address = $address; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } @@ -1520,16 +1545,12 @@ public function __construct($geoPoint = null, $radiusDistanceUnits = null, $radi if (!class_exists("QuotaCheckError", false)) { /** * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class QuotaCheckError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "QuotaCheckError"; /** @@ -1554,10 +1575,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1569,16 +1591,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RangeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RangeError"; /** @@ -1603,10 +1621,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1618,16 +1637,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RateExceededError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RateExceededError"; /** @@ -1670,13 +1685,14 @@ 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) { + public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1688,16 +1704,12 @@ public function __construct($reason = null, $rateName = null, $rateScope = null, 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ReadOnlyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ReadOnlyError"; /** @@ -1722,10 +1734,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1737,16 +1750,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RejectedError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RejectedError"; /** @@ -1771,10 +1780,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1787,16 +1797,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * Encapsulates the generic errors thrown when there's an error with user * request. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequestError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequestError"; /** @@ -1821,10 +1827,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1836,16 +1843,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, if (!class_exists("RequiredError", false)) { /** * Errors due to missing required field. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequiredError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequiredError"; /** @@ -1870,10 +1873,125 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1885,16 +2003,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SizeLimitError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SizeLimitError"; /** @@ -1919,10 +2033,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1934,16 +2049,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapRequestHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapHeader"; /** @@ -2006,16 +2117,12 @@ public function __construct($clientCustomerId = null, $developerToken = null, $u 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapResponseHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapResponseHeader"; /** @@ -2078,16 +2185,12 @@ public function __construct($requestId = null, $serviceName = null, $methodName if (!class_exists("StringFormatError", false)) { /** * A list of error code for reporting invalid content of input strings. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringFormatError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringFormatError"; /** @@ -2112,10 +2215,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2128,16 +2232,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * Errors associated with the length of the given string being * out of bounds. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringLengthError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringLengthError"; /** @@ -2162,10 +2262,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2178,16 +2279,12 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, /** * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionUserInterest extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "CriterionUserInterest"; /** @@ -2241,16 +2338,12 @@ public function __construct($userInterestId = null, $userInterestParentId = null /** * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionUserList extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "CriterionUserList"; /** @@ -2322,16 +2415,12 @@ public function __construct($userListId = null, $userListName = null, $userListM * View the complete list * of available vertical categories. * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Vertical extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Vertical"; /** @@ -2381,19 +2470,48 @@ public function __construct($verticalId = null, $verticalParentId = null, $path } } +if (!class_exists("AdxErrorReason", false)) { + /** + * The reasons for the AdX error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError.Reason"; /** @@ -2421,16 +2539,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthorizationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthorizationError.Reason"; /** @@ -2459,16 +2573,12 @@ public function __construct() { /** * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ClientTermsErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ClientTermsError.Reason"; /** @@ -2496,16 +2606,12 @@ public function __construct() { if (!class_exists("CriterionType", false)) { /** * The types of criteria. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionType { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Criterion.Type"; /** @@ -2533,16 +2639,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DatabaseErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DatabaseError.Reason"; /** @@ -2567,20 +2669,16 @@ public function __construct() { } } -if (!class_exists("DayOfWeek", false)) { +if (!class_exists("DateErrorReason", false)) { /** - * Days of the week. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DayOfWeek { + class DateErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DayOfWeek"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; /** * Gets the namesapce of this class @@ -2607,16 +2705,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DistinctErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DistinctError.Reason"; /** @@ -2644,16 +2738,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class IdErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "IdError.Reason"; /** @@ -2681,16 +2771,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class InternalApiErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "InternalApiError.Reason"; /** @@ -2719,16 +2805,12 @@ public function __construct() { /** * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class KeywordMatchType { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "KeywordMatchType"; /** @@ -2753,19 +2835,48 @@ public function __construct() { } } +if (!class_exists("LocationCriterionServiceErrorReason", false)) { + /** + * Reasons for error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LocationCriterionServiceErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationCriterionServiceError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class LocationTargetingStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "LocationTargetingStatus"; /** @@ -2790,20 +2901,16 @@ public function __construct() { } } -if (!class_exists("MinuteOfHour", false)) { +if (!class_exists("NotEmptyErrorReason", false)) { /** - * Minutes in an hour. Currently only 0, 15, 30, and 45 are supported - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MinuteOfHour { + class NotEmptyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "MinuteOfHour"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; /** * Gets the namesapce of this class @@ -2827,20 +2934,16 @@ public function __construct() { } } -if (!class_exists("NotEmptyErrorReason", false)) { +if (!class_exists("NullErrorReason", false)) { /** * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NotEmptyErrorReason { + class NullErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NotEmptyError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; /** * Gets the namesapce of this class @@ -2867,16 +2970,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperationAccessDeniedReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperationAccessDenied.Reason"; /** @@ -2904,16 +3003,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperatorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperatorError.Reason"; /** @@ -2938,20 +3033,49 @@ public function __construct() { } } -if (!class_exists("ProximityDistanceUnits", false)) { +if (!class_exists("PredicateOperator", false)) { /** - * The radius distance is expressed in either kilometers or miles. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Defines the valid set of operators. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 */ - class ProximityDistanceUnits { + class QueryErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Proximity.DistanceUnits"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; /** * Gets the namesapce of this class @@ -2979,16 +3103,12 @@ public function __construct() { /** * 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class QuotaCheckErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "QuotaCheckError.Reason"; /** @@ -3016,16 +3136,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RangeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RangeError.Reason"; /** @@ -3053,16 +3169,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RateExceededErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RateExceededError.Reason"; /** @@ -3090,16 +3202,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ReadOnlyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ReadOnlyError.Reason"; /** @@ -3127,16 +3235,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RejectedErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RejectedError.Reason"; /** @@ -3164,16 +3268,12 @@ public function __construct() { if (!class_exists("RequestErrorReason", false)) { /** * Error reason is unknown. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequestErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequestError.Reason"; /** @@ -3201,16 +3301,12 @@ 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RequiredErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RequiredError.Reason"; /** @@ -3235,20 +3331,16 @@ public function __construct() { } } -if (!class_exists("SizeLimitErrorReason", false)) { +if (!class_exists("SelectorErrorReason", false)) { /** - * The reasons for Ad Scheduling errors. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SizeLimitErrorReason { + class SelectorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SizeLimitError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; /** * Gets the namesapce of this class @@ -3272,20 +3364,16 @@ public function __construct() { } } -if (!class_exists("StringFormatErrorReason", false)) { +if (!class_exists("SizeLimitErrorReason", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * The reasons for Ad Scheduling errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringFormatErrorReason { + class SizeLimitErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "StringFormatError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; /** * Gets the namesapce of this class @@ -3309,20 +3397,16 @@ public function __construct() { } } -if (!class_exists("StringLengthErrorReason", false)) { +if (!class_exists("SortOrder", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Possible orders of sorting. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringLengthErrorReason { + class SortOrder { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "StringLengthError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; /** * Gets the namesapce of this class @@ -3346,20 +3430,16 @@ public function __construct() { } } -if (!class_exists("CriterionUserListMembershipStatus", false)) { +if (!class_exists("StringFormatErrorReason", false)) { /** - * Membership status of the user list. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionUserListMembershipStatus { + class StringFormatErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; /** * Gets the namesapce of this class @@ -3383,55 +3463,16 @@ public function __construct() { } } -if (!class_exists("AdSchedule", false)) { +if (!class_exists("StringLengthErrorReason", false)) { /** - * Represents an AdSchedule Criterion. - * It is a variant of {@code AdSchedule} that also keeps track of the time zone. - * Note: one single day may not have more than six AdSchedules after the time zone adjustment. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AdSchedule extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "AdSchedule"; - - /** - * @access public - * @var cmDayOfWeek - */ - public $dayOfWeek; - - /** - * @access public - * @var integer - */ - public $startHour; - - /** - * @access public - * @var cmMinuteOfHour - */ - public $startMinute; - - /** - * @access public - * @var integer - */ - public $endHour; - - /** - * @access public - * @var cmMinuteOfHour - */ - public $endMinute; + class StringLengthErrorReason { - /** - * @access public - * @var string - */ - public $timeZone; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; /** * Gets the namesapce of this class @@ -3449,86 +3490,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($dayOfWeek = null, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $timeZone = 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->timeZone = $timeZone; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + public function __construct() { } } } -if (!class_exists("BudgetSuggestion", false)) { +if (!class_exists("CriterionUserListMembershipStatus", false)) { /** - * A budget suggestion and its associated data (all are estimates). - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Membership status of the user list. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BudgetSuggestion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "BudgetSuggestion"; - - /** - * @access public - * @var Money - */ - public $cpc; - - /** - * @access public - * @var Money - */ - public $minCpc; - - /** - * @access public - * @var Money - */ - public $maxCpc; - - /** - * @access public - * @var Money - */ - public $cpm; - - /** - * @access public - * @var Money - */ - public $suggestedBudget; - - /** - * @access public - * @var Money - */ - public $minBudget; - - /** - * @access public - * @var Money - */ - public $maxBudget; - - /** - * @access public - * @var integer - */ - public $impressions; + class CriterionUserListMembershipStatus { - /** - * @access public - * @var tnsCurrencyCode - */ - public $currencyCode; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; /** * Gets the namesapce of this class @@ -3546,80 +3523,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($cpc = null, $minCpc = null, $maxCpc = null, $cpm = null, $suggestedBudget = null, $minBudget = null, $maxBudget = null, $impressions = null, $currencyCode = null) { - $this->cpc = $cpc; - $this->minCpc = $minCpc; - $this->maxCpc = $maxCpc; - $this->cpm = $cpm; - $this->suggestedBudget = $suggestedBudget; - $this->minBudget = $minBudget; - $this->maxBudget = $maxBudget; - $this->impressions = $impressions; - $this->currencyCode = $currencyCode; + public function __construct() { } } } -if (!class_exists("BudgetSuggestionSelector", false)) { +if (!class_exists("LocationCriterionServiceGet", false)) { /** - * A selector for budget suggestion - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * 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_v201705 + * @subpackage v201705 */ - class BudgetSuggestionSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "BudgetSuggestionSelector"; + class LocationCriterionServiceGet { - /** - * @access public - * @var Criterion[] - */ - public $criteria; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var tnsCurrencyCode - */ - public $currencyCode; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class + * @var Selector */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criteria = null, $currencyCode = null) { - $this->criteria = $criteria; - $this->currencyCode = $currencyCode; - } - - } -} - -if (!class_exists("BusinessHour", false)) { - /** - * A marker criterion which allows the user to run his/her ad according to the business hour of - * his/her business. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 - */ - class BusinessHour extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "BusinessHour"; + public $selector; /** * Gets the namesapce of this class @@ -3637,38 +3570,29 @@ 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; + public function __construct($selector = null) { + $this->selector = $selector; } } } -if (!class_exists("ExpressSoapHeader", false)) { +if (!class_exists("LocationCriterionServiceGetResponse", false)) { /** - * {@link SoapHeader} for AdWords Express services. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ExpressSoapHeader extends SoapRequestHeader { + class LocationCriterionServiceGetResponse { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ExpressSoapHeader"; - - /** - * @access public - * @var integer - */ - public $expressBusinessId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var string + * @var LocationCriterion[] */ - public $pageId; + public $rval; /** * Gets the namesapce of this class @@ -3686,130 +3610,37 @@ 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; + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("ProductService", false)) { +if (!class_exists("Query", 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_v201609 - * @subpackage v201609 + * 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_v201705 + * @subpackage v201705 */ - class ProductService extends Criterion { + class Query { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ProductService"; - - /** - * @access public - * @var string - */ - public $text; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public * @var string */ - public $locale; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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("CurrencyCode", false)) { - /** - * A currency, as defined by Unicode's "CLDR", itself based on ISO 4217. Note that this list does - * not normally list currencies that have never been the official (or de facto) currency of a - * country. That means that it excludes - * - *
This class does not supply methods for getting information about currencies. For those - * methods, see {@link com.google.i18n.identifiers.CurrencyInfo}. The codes are in alphabetical - * order by code, to prevent the lines from moving around in the list if the common name changes. - * - *
It contains no behavior, but is the authoritative definition of Currency identity in - * java Google code. - * - *
Do: - * - *
Do not: - * - *
This enum does not: - * - *
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. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 - */ - class CurrencyCode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "CurrencyCode"; + public $query; /** * Gets the namesapce of this class @@ -3827,35 +3658,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($query = null) { + $this->query = $query; } } } -if (!class_exists("BudgetSuggestionServiceGet", false)) { +if (!class_exists("QueryResponse", false)) { /** - * This field is required and should not be {@code null}. * - * - * - * Retrieves the budget suggestion for the specified criteria in the given selector based on - * co-trigger data. - * @param selector the selector specifying the budget suggestion to return - * @return budget suggestion identified by the selector - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BudgetSuggestionServiceGet { + class QueryResponse { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = ""; /** * @access public - * @var BudgetSuggestionSelector + * @var LocationCriterion[] */ - public $selector; + public $rval; /** * Gets the namesapce of this class @@ -3873,29 +3698,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($selector = null) { - $this->selector = $selector; + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("BudgetSuggestionServiceGetResponse", false)) { +if (!class_exists("AdxError", false)) { /** - * - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BudgetSuggestionServiceGetResponse { + class AdxError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; /** * @access public - * @var BudgetSuggestion + * @var tnsAdxErrorReason */ - public $rval; + public $reason; /** * Gets the namesapce of this class @@ -3913,8 +3738,14 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($rval = null) { - $this->rval = $rval; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } @@ -3923,16 +3754,12 @@ public function __construct($rval = null) { 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiException extends ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiException"; /** @@ -3967,147 +3794,59 @@ public function __construct($errors = null, $message = null, $ApplicationExcepti } } -if (!class_exists("DoubleValue", false)) { +if (!class_exists("LocationCriterionService", false)) { /** - * Number value type for constructing double valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * LocationCriterionService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DoubleValue extends NumberValue { + class LocationCriterionService extends AdWordsSoapClient { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201609 - * @subpackage v201609 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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("BudgetSuggestionService", false)) { - /** - * BudgetSuggestionService - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 - */ - class BudgetSuggestionService extends AdWordsSoapClient { - - const SERVICE_NAME = "BudgetSuggestionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201609/BudgetSuggestionService"; + const SERVICE_NAME = "LocationCriterionService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/LocationCriterionService"; /** * The endpoint of the service * @var string */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201609/BudgetSuggestionService"; + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/LocationCriterionService"; /** * Default class map for wsdl=>php * @access private * @var array */ public static $classmap = array( - "Address" => "Address", + "AdxError" => "AdxError", "ApiError" => "ApiError", "ApiException" => "ApiException", "ApplicationException" => "ApplicationException", "AuthenticationError" => "AuthenticationError", "AuthorizationError" => "AuthorizationError", "ClientTermsError" => "ClientTermsError", - "ComparableValue" => "ComparableValue", "Criterion" => "Criterion", "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DateRange" => "DateRange", "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "GeoPoint" => "GeoPoint", + "FieldPathElement" => "FieldPathElement", "IdError" => "IdError", "InternalApiError" => "InternalApiError", "Keyword" => "Keyword", - "Language" => "Language", "Location" => "Location", - "LongValue" => "LongValue", + "LocationCriterion" => "LocationCriterion", + "LocationCriterionServiceError" => "LocationCriterionServiceError", "MobileAppCategory" => "MobileAppCategory", "MobileApplication" => "MobileApplication", - "Money" => "Money", "NotEmptyError" => "NotEmptyError", - "NumberValue" => "NumberValue", + "NullError" => "NullError", "OperationAccessDenied" => "OperationAccessDenied", "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", "Placement" => "Placement", - "Proximity" => "Proximity", + "Predicate" => "Predicate", + "QueryError" => "QueryError", "QuotaCheckError" => "QuotaCheckError", "RangeError" => "RangeError", "RateExceededError" => "RateExceededError", @@ -4115,6 +3854,8 @@ class BudgetSuggestionService extends AdWordsSoapClient { "RejectedError" => "RejectedError", "RequestError" => "RequestError", "RequiredError" => "RequiredError", + "Selector" => "Selector", + "SelectorError" => "SelectorError", "SizeLimitError" => "SizeLimitError", "SoapHeader" => "SoapRequestHeader", "SoapResponseHeader" => "SoapResponseHeader", @@ -4123,22 +3864,25 @@ class BudgetSuggestionService extends AdWordsSoapClient { "CriterionUserInterest" => "CriterionUserInterest", "CriterionUserList" => "CriterionUserList", "Vertical" => "Vertical", + "AdxError.Reason" => "AdxErrorReason", "AuthenticationError.Reason" => "AuthenticationErrorReason", "AuthorizationError.Reason" => "AuthorizationErrorReason", "ClientTermsError.Reason" => "ClientTermsErrorReason", "Criterion.Type" => "CriterionType", "DatabaseError.Reason" => "DatabaseErrorReason", - "DayOfWeek" => "DayOfWeek", + "DateError.Reason" => "DateErrorReason", "DistinctError.Reason" => "DistinctErrorReason", "IdError.Reason" => "IdErrorReason", "InternalApiError.Reason" => "InternalApiErrorReason", "KeywordMatchType" => "KeywordMatchType", + "LocationCriterionServiceError.Reason" => "LocationCriterionServiceErrorReason", "LocationTargetingStatus" => "LocationTargetingStatus", - "MinuteOfHour" => "MinuteOfHour", "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", "OperatorError.Reason" => "OperatorErrorReason", - "Proximity.DistanceUnits" => "ProximityDistanceUnits", + "Predicate.Operator" => "PredicateOperator", + "QueryError.Reason" => "QueryErrorReason", "QuotaCheckError.Reason" => "QuotaCheckErrorReason", "RangeError.Reason" => "RangeErrorReason", "RateExceededError.Reason" => "RateExceededErrorReason", @@ -4146,19 +3890,16 @@ class BudgetSuggestionService extends AdWordsSoapClient { "RejectedError.Reason" => "RejectedErrorReason", "RequestError.Reason" => "RequestErrorReason", "RequiredError.Reason" => "RequiredErrorReason", + "SelectorError.Reason" => "SelectorErrorReason", "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", "StringFormatError.Reason" => "StringFormatErrorReason", "StringLengthError.Reason" => "StringLengthErrorReason", "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "AdSchedule" => "AdSchedule", - "BudgetSuggestion" => "BudgetSuggestion", - "BudgetSuggestionSelector" => "BudgetSuggestionSelector", - "BusinessHour" => "BusinessHour", - "ExpressSoapHeader" => "ExpressSoapHeader", - "ProductService" => "ProductService", - "CurrencyCode" => "CurrencyCode", - "get" => "BudgetSuggestionServiceGet", - "getResponse" => "BudgetSuggestionServiceGetResponse", + "get" => "LocationCriterionServiceGet", + "getResponse" => "LocationCriterionServiceGetResponse", + "query" => "Query", + "queryResponse" => "QueryResponse", ); @@ -4177,16 +3918,33 @@ public function __construct($wsdl, $options, $user) { * * * - * Retrieves the budget suggestion for the specified criteria in the given selector based on - * co-trigger data. - * @param selector the selector specifying the budget suggestion to return - * @return budget suggestion identified by the selector + * 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 BudgetSuggestionServiceGet($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/v201705/ManagedCustomerService.php b/src/Google/Api/Ads/AdWords/v201705/ManagedCustomerService.php new file mode 100755 index 000000000..055240b4e --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/ManagedCustomerService.php @@ -0,0 +1,4769 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * + * + * + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("ManagedCustomerLabel", false)) { + /** + * A label ID and customer ID the label applies to. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ManagedCustomerLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomerLabel"; + + /** + * @access public + * @var integer + */ + public $labelId; + + /** + * @access public + * @var integer + */ + public $customerId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($labelId = null, $customerId = null) { + $this->labelId = $labelId; + $this->customerId = $customerId; + } + + } +} + +if (!class_exists("ManagedCustomerLabelOperation", false)) { + /** + * An operation to apply or remove an account label from a managed customer. + * + *Note: The {@code SET} operator is not supported.
+ * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ManagedCustomerLabelOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomerLabelOperation"; + + /** + * @access public + * @var ManagedCustomerLabel + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ManagedCustomerLabelReturnValue", false)) { + /** + * A container for return values from {@link ManagedCustomerService#mutateLabel}. + *For successful {@linkplain ADD} operations, the input {@linkplain ManagedCustomerLabel} + * is returned. + *
For successful {@linkplain REMOVE} operations, the returned {@linkplain ManagedCustomerLabel} + * will contain the customer ID and a null label ID. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ManagedCustomerLabelReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomerLabelReturnValue"; + + /** + * @access public + * @var ManagedCustomerLabel[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("ManagedCustomerServiceError", false)) { + /** + * Error for {@link ManagedCustomerService} + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ManagedCustomerServiceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomerServiceError"; + + /** + * @access public + * @var tnsManagedCustomerServiceErrorReason + */ + public $reason; + + /** + * @access public + * @var integer[] + */ + public $customerIds; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $customerIds = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->customerIds = $customerIds; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PendingInvitationSelector", false)) { + /** + * Selector for getPendingInvitations method. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PendingInvitationSelector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "PendingInvitationSelector"; + + /** + * @access public + * @var integer[] + */ + public $managerCustomerIds; + + /** + * @access public + * @var integer[] + */ + public $clientCustomerIds; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AccountLabel", false)) { + /** + * A label that can be attached to accounts. + * A manager may attach labels to accounts that s/he manages + * (either directly or indirectly). + * + *
Note that these are not interchangeable with campaign management labels, and are owned + * by manager customers. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AccountLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "AccountLabel"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var string + */ + public $name; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $name = null) { + $this->id = $id; + $this->name = $name; + } + + } +} + +if (!class_exists("ManagedCustomerLink", false)) { + /** + * Represents an AdWords manager-client link. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ManagedCustomerLink { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + 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; + + /** + * @access public + * @var boolean + */ + public $isHidden; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $isHidden = null) { + $this->managerCustomerId = $managerCustomerId; + $this->clientCustomerId = $clientCustomerId; + $this->linkStatus = $linkStatus; + $this->pendingDescriptiveName = $pendingDescriptiveName; + $this->isHidden = $isHidden; + } + + } +} + +if (!class_exists("LinkOperation", false)) { + /** + * Operation for modifying ManagedCustomer links. See {@link ManagedCustomerService#mutateLink}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LinkOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "LinkOperation"; + + /** + * @access public + * @var ManagedCustomerLink + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MoveOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "MoveOperation"; + + /** + * @access public + * @var ManagedCustomerLink + */ + public $operand; + + /** + * @access public + * @var integer + */ + public $oldManagerCustomerId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MutateLinkResults { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "MutateLinkResults"; + + /** + * @access public + * @var ManagedCustomerLink[] + */ + public $links; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MutateManagerResults { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "MutateManagerResults"; + + /** + * @access public + * @var ManagedCustomerLink[] + */ + public $links; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManagedCustomer { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomer"; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @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; + + /** + * @access public + * @var AccountLabel[] + */ + public $accountLabels; + + /** + * @access public + * @var boolean + */ + public $excludeHiddenAccounts; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($name = null, $customerId = null, $canManageClients = null, $currencyCode = null, $dateTimeZone = null, $testAccount = null, $accountLabels = null, $excludeHiddenAccounts = null) { + $this->name = $name; + $this->customerId = $customerId; + $this->canManageClients = $canManageClients; + $this->currencyCode = $currencyCode; + $this->dateTimeZone = $dateTimeZone; + $this->testAccount = $testAccount; + $this->accountLabels = $accountLabels; + $this->excludeHiddenAccounts = $excludeHiddenAccounts; + } + + } +} + +if (!class_exists("ManagedCustomerOperation", false)) { + /** + * An operation to create or modify a managed customer. + *
Note: The {@code REMOVE} operator is not supported.
+ * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ManagedCustomerOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomerOperation"; + + /** + * @access public + * @var ManagedCustomer + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManagedCustomerPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomerPage"; + + /** + * @access public + * @var ManagedCustomer[] + */ + public $entries; + + /** + * @access public + * @var ManagedCustomerLink[] + */ + public $links; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManagedCustomerReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomerReturnValue"; + + /** + * @access public + * @var ManagedCustomer[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PendingInvitation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Status of the link. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LinkStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "LinkStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManagedCustomerServiceErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = "ManagedCustomerServiceError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManagedCustomerServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ManagedCustomerServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ManagedCustomerPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetPendingInvitations { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var PendingInvitationSelector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetPendingInvitationsResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var PendingInvitation[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Modifies or creates new {@link ManagedCustomer}s. + * + *Note: See {@link ManagedCustomerOperation} for available operators.
+ * + * @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_v201705
+ * @subpackage v201705
+ */
+ class ManagedCustomerServiceMutate {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ManagedCustomerOperation[]
+ */
+ public $operations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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_v201705
+ * @subpackage v201705
+ */
+ class ManagedCustomerServiceMutateResponse {
+
+ const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ManagedCustomerReturnValue
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return string the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return string 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("MutateLabel", false)) {
+ /**
+ * This field is required and should not be {@code null}.
+ * The following {@link Operator}s are supported: ADD, REMOVE.
+ *
+ *
+ *
+ * Adds {@linkplain AccountLabel}s to, and removes
+ * {@linkplain AccountLabel}s from, {@linkplain ManagedCustomer}s.
+ *
+ * To add an {@linkplain AccountLabel} to a {@linkplain ManagedCustomer}, + * use {@link Operator#ADD}. + * To remove an {@linkplain AccountLabel} from a {@linkplain ManagedCustomer}, + * use {@link Operator#REMOVE}.
+ *The label must already exist (see {@link AccountLabelService#mutate} for + * how to create them) and be owned by the authenticated user.
+ *The {@linkplain ManagedCustomer} must already exist and be managed by + * the customer making the request (either directly or indirectly).
+ *An AccountLabel may be applied to at most 1000 customers.
+ *This method does not support partial failures, and will fail if any + * operation is invalid.
+ * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabel { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ManagedCustomerLabelOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MutateLabelResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MutateLabelResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ManagedCustomerLabelReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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): + * + *Note: See {@link ManagedCustomerOperation} for available operators.
+ * + * @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: ADD, REMOVE.
+ *
+ *
+ *
+ * Adds {@linkplain AccountLabel}s to, and removes
+ * {@linkplain AccountLabel}s from, {@linkplain ManagedCustomer}s.
+ *
+ * To add an {@linkplain AccountLabel} to a {@linkplain ManagedCustomer}, + * use {@link Operator#ADD}. + * To remove an {@linkplain AccountLabel} from a {@linkplain ManagedCustomer}, + * use {@link Operator#REMOVE}.
+ *The label must already exist (see {@link AccountLabelService#mutate} for + * how to create them) and be owned by the authenticated user.
+ *The {@linkplain ManagedCustomer} must already exist and be managed by + * the customer making the request (either directly or indirectly).
+ *An AccountLabel may be applied to at most 1000 customers.
+ *This method does not support partial failures, and will fail if any + * operation is invalid.
+ */ + public function mutateLabel($operations) { + $args = new MutateLabel($operations); + $result = $this->__soapCall("mutateLabel", 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): + * + *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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaPage"; + + /** + * @access public + * @var Media[] + */ + public $entries; + + /** + * @access public + * @var integer + */ + public $totalNumEntries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AudioErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AudioError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ImageErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ImageError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaMediaType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Media.MediaType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaMimeType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Media.MimeType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaSize { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Media.Size"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("MediaBundleErrorReason", false)) { + /** + * Enumeration of the reasons for the {@link MediaBundleError} + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MediaBundleErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaBundleError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class VideoErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "VideoError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $serviceSelector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var MediaPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var MediaPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 upload {@link Image} files and {@link MediaBundle}s. + * + * @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_v201705 + * @subpackage v201705 + */ + class Upload { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Media[] + */ + public $media; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class UploadResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Media[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Audio extends Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AudioError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AudioError"; + + /** + * @access public + * @var tnsAudioErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Image extends Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Image"; + + /** + * @access public + * @var base64Binary + */ + public $data; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ImageError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ImageError"; + + /** + * @access public + * @var tnsImageErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("MediaBundle", false)) { + /** + * Represents a ZIP archive media the content of which contains HTML5 assets. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MediaBundle extends Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaBundle"; + + /** + * @access public + * @var base64Binary + */ + public $data; + + /** + * @access public + * @var string + */ + public $mediaBundleUrl; + + /** + * @access public + * @var string + */ + public $entryPoint; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($data = null, $mediaBundleUrl = null, $entryPoint = 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->mediaBundleUrl = $mediaBundleUrl; + $this->entryPoint = $entryPoint; + $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("MediaBundleError", false)) { + /** + * Error class for errors associated with parsing media bundle data. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MediaBundleError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaBundleError"; + + /** + * @access public + * @var tnsMediaBundleErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class MediaError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaError"; + + /** + * @access public + * @var tnsMediaErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Video extends Media { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class VideoError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "VideoError"; + + /** + * @access public + * @var tnsVideoErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaService extends AdWordsSoapClient { + + const SERVICE_NAME = "MediaService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/MediaService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "Image" => "Image", + "ImageError" => "ImageError", + "InternalApiError" => "InternalApiError", + "MediaBundle" => "MediaBundle", + "MediaBundleError" => "MediaBundleError", + "MediaError" => "MediaError", + "Media_Size_DimensionsMapEntry" => "Media_Size_DimensionsMapEntry", + "Media_Size_StringMapEntry" => "Media_Size_StringMapEntry", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "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", + "StringFormatError" => "StringFormatError", + "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", + "MediaBundleError.Reason" => "MediaBundleErrorReason", + "MediaError.Reason" => "MediaErrorReason", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "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 upload {@link Image} files and {@link MediaBundle}s. + * + * @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/v201705/OfflineCallConversionFeedService.php b/src/Google/Api/Ads/AdWords/v201705/OfflineCallConversionFeedService.php new file mode 100755 index 000000000..f5818990f --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/OfflineCallConversionFeedService.php @@ -0,0 +1,3458 @@ +field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OfflineCallConversionFeed", false)) { + /** + * Represents an entire record in the offline call conversions feed that the advertiser uploads. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineCallConversionFeed { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineCallConversionFeed"; + + /** + * @access public + * @var string + */ + public $callerId; + + /** + * @access public + * @var string + */ + public $callStartTime; + + /** + * @access public + * @var string + */ + public $conversionName; + + /** + * @access public + * @var string + */ + public $conversionTime; + + /** + * @access public + * @var double + */ + public $conversionValue; + + /** + * @access public + * @var string + */ + public $conversionCurrencyCode; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($callerId = null, $callStartTime = null, $conversionName = null, $conversionTime = null, $conversionValue = null, $conversionCurrencyCode = null) { + $this->callerId = $callerId; + $this->callStartTime = $callStartTime; + $this->conversionName = $conversionName; + $this->conversionTime = $conversionTime; + $this->conversionValue = $conversionValue; + $this->conversionCurrencyCode = $conversionCurrencyCode; + } + + } +} + +if (!class_exists("Operation", false)) { + /** + * This represents an operation that includes an operator and an operand + * specified type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CurrencyCodeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CurrencyCodeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("OfflineCallConversionErrorReason", false)) { + /** + * The reasons for an OfflineCallConversionError. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineCallConversionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineCallConversionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OfflineConversionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineConversionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RegionCodeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("OfflineCallConversionFeedServiceMutate", 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 a call conversion for each entry in {@code operations}. + * + *This bulk operation does not have any transactional guarantees. Some operations can succeed + * while others fail. + * + *
Note: {@link OfflineCallConversionFeedOperation} supports only the + * {@code ADD} operator. ({@code SET} and {@code REMOVE} are not supported.) + * + * @param operations A list of offline call conversion feed operations. + * @return The list of offline call conversion feed results (in the same order as the operations). + * @throws {@link ApiException} if problems occurred while applying offline call conversions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineCallConversionFeedServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var OfflineCallConversionFeedOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("OfflineCallConversionFeedServiceMutateResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineCallConversionFeedServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var OfflineCallConversionFeedReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CurrencyCodeError", false)) { + /** + * Errors for currency codes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CurrencyCodeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CurrencyCodeError"; + + /** + * @access public + * @var tnsCurrencyCodeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("OfflineCallConversionError", false)) { + /** + * Errors that the {@link OfflineCallConversionFeedService} can throw. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineCallConversionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineCallConversionError"; + + /** + * @access public + * @var tnsOfflineCallConversionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("OfflineCallConversionFeedOperation", false)) { + /** + * Operation for uploading {@link OfflineCallConversionFeed}. + * See {@link OfflineCallConversionFeedService#mutate}. + * + *
Note: Only the {@code ADD} operator is supported. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineCallConversionFeedOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineCallConversionFeedOperation"; + + /** + * @access public + * @var OfflineCallConversionFeed + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("OfflineConversionError", false)) { + /** + * Errors that the {@link OfflineConversionFeedService} can throw. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineConversionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineConversionError"; + + /** + * @access public + * @var tnsOfflineConversionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PagingError", false)) { + /** + * Error codes for pagination. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RegionCodeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError"; + + /** + * @access public + * @var tnsRegionCodeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("OfflineCallConversionFeedReturnValue", false)) { + /** + * A container for return values from the OfflineCallConversionFeedService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineCallConversionFeedReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineCallConversionFeedReturnValue"; + + /** + * @access public + * @var OfflineCallConversionFeed[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("OfflineCallConversionFeedService", false)) { + /** + * OfflineCallConversionFeedService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineCallConversionFeedService extends AdWordsSoapClient { + + const SERVICE_NAME = "OfflineCallConversionFeedService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/OfflineCallConversionFeedService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/OfflineCallConversionFeedService"; + /** + * 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", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OfflineCallConversionError" => "OfflineCallConversionError", + "OfflineCallConversionFeed" => "OfflineCallConversionFeed", + "OfflineCallConversionFeedOperation" => "OfflineCallConversionFeedOperation", + "OfflineConversionError" => "OfflineConversionError", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "DatabaseError" => "DatabaseError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "OfflineCallConversionFeedReturnValue" => "OfflineCallConversionFeedReturnValue", + "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", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OfflineCallConversionError.Reason" => "OfflineCallConversionErrorReason", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "mutate" => "OfflineCallConversionFeedServiceMutate", + "mutateResponse" => "OfflineCallConversionFeedServiceMutateResponse", + ); + + + /** + * 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 a call conversion for each entry in {@code operations}. + * + *
This bulk operation does not have any transactional guarantees. Some operations can succeed + * while others fail. + * + *
Note: {@link OfflineCallConversionFeedOperation} supports only the + * {@code ADD} operator. ({@code SET} and {@code REMOVE} are not supported.) + * + * @param operations A list of offline call conversion feed operations. + * @return The list of offline call conversion feed results (in the same order as the operations). + * @throws {@link ApiException} if problems occurred while applying offline call conversions. + */ + public function mutate($operations) { + $args = new OfflineCallConversionFeedServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + } +} + diff --git a/src/Google/Api/Ads/AdWords/v201705/OfflineConversionFeedService.php b/src/Google/Api/Ads/AdWords/v201705/OfflineConversionFeedService.php new file mode 100755 index 000000000..34c0caba1 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/OfflineConversionFeedService.php @@ -0,0 +1,3384 @@ +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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CurrencyCodeError", false)) { + /** + * Errors for currency codes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CurrencyCodeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CurrencyCodeError"; + + /** + * @access public + * @var tnsCurrencyCodeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ListReturnValue", false)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OfflineConversionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineConversionError"; + + /** + * @access public + * @var tnsOfflineConversionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("OfflineConversionFeed", false)) { + /** + * Represents an entire record in the offline conversions feed that the advertiser uploads. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineConversionFeed { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineConversionFeed"; + + /** + * @access public + * @var string + */ + public $googleClickId; + + /** + * @access public + * @var string + */ + public $conversionName; + + /** + * @access public + * @var string + */ + public $conversionTime; + + /** + * @access public + * @var double + */ + public $conversionValue; + + /** + * @access public + * @var string + */ + public $conversionCurrencyCode; + + /** + * @access public + * @var double + */ + public $externalAttributionCredit; + + /** + * @access public + * @var string + */ + public $externalAttributionModel; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($googleClickId = null, $conversionName = null, $conversionTime = null, $conversionValue = null, $conversionCurrencyCode = null, $externalAttributionCredit = null, $externalAttributionModel = null) { + $this->googleClickId = $googleClickId; + $this->conversionName = $conversionName; + $this->conversionTime = $conversionTime; + $this->conversionValue = $conversionValue; + $this->conversionCurrencyCode = $conversionCurrencyCode; + $this->externalAttributionCredit = $externalAttributionCredit; + $this->externalAttributionModel = $externalAttributionModel; + } + + } +} + +if (!class_exists("OfflineConversionFeedReturnValue", false)) { + /** + * A container for return values from the OfflineConversionFeedService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineConversionFeedReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineConversionFeedReturnValue"; + + /** + * @access public + * @var OfflineConversionFeed[] + */ + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("Operation", false)) { + /** + * This represents an operation that includes an operator and an operand + * specified type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PagingError", false)) { + /** + * Error codes for pagination. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RegionCodeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError"; + + /** + * @access public + * @var tnsRegionCodeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CurrencyCodeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CurrencyCodeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OfflineConversionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineConversionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RegionCodeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + *
Note: {@link OfflineConversionFeedOperation} supports only the + * {@code ADD} operator. ({@code SET} and {@code REMOVE} are not supported.) + * + * @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_v201705 + * @subpackage v201705 + */ + class OfflineConversionFeedServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var OfflineConversionFeedOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OfflineConversionFeedServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var OfflineConversionFeedReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("OfflineConversionFeedOperation", false)) { + /** + * Operation for uploading {@link OfflineConversionFeed}. + * See {@link OfflineConversionFeedService#mutate}. + * + *
Note: Only the {@code ADD} operator is supported. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineConversionFeedOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OfflineConversionFeedOperation"; + + /** + * @access public + * @var OfflineConversionFeed + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("OfflineConversionFeedService", false)) { + /** + * OfflineConversionFeedService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OfflineConversionFeedService extends AdWordsSoapClient { + + const SERVICE_NAME = "OfflineConversionFeedService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/OfflineConversionFeedService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/OfflineConversionFeedService"; + /** + * 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", + "CurrencyCodeError" => "CurrencyCodeError", + "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DistinctError" => "DistinctError", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "ListReturnValue" => "ListReturnValue", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OfflineConversionError" => "OfflineConversionError", + "OfflineConversionFeed" => "OfflineConversionFeed", + "OfflineConversionFeedOperation" => "OfflineConversionFeedOperation", + "OfflineConversionFeedReturnValue" => "OfflineConversionFeedReturnValue", + "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", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "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", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "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. + * + *
Note: {@link OfflineConversionFeedOperation} supports only the + * {@code ADD} operator. ({@code SET} and {@code REMOVE} are not supported.) + * + * @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/v201705/ReportDefinitionService.php b/src/Google/Api/Ads/AdWords/v201705/ReportDefinitionService.php new file mode 100755 index 000000000..f88007215 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/ReportDefinitionService.php @@ -0,0 +1,2874 @@ +enumValue = $enumValue; + $this->enumDisplayValue = $enumDisplayValue; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +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_v201705 + * @subpackage v201705 + */ + class ReportDefinitionField { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 $fieldBehavior; + + /** + * @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 boolean + */ + public $isZeroRowCompatible; + + /** + * @access public + * @var EnumValuePair[] + */ + public $enumValuePairs; + + /** + * @access public + * @var string[] + */ + public $exclusiveFields; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldBehavior = null, $enumValues = null, $canSelect = null, $canFilter = null, $isEnumType = null, $isBeta = null, $isZeroRowCompatible = null, $enumValuePairs = null, $exclusiveFields = null) { + $this->fieldName = $fieldName; + $this->displayFieldName = $displayFieldName; + $this->xmlAttributeName = $xmlAttributeName; + $this->fieldType = $fieldType; + $this->fieldBehavior = $fieldBehavior; + $this->enumValues = $enumValues; + $this->canSelect = $canSelect; + $this->canFilter = $canFilter; + $this->isEnumType = $isEnumType; + $this->isBeta = $isBeta; + $this->isZeroRowCompatible = $isZeroRowCompatible; + $this->enumValuePairs = $enumValuePairs; + $this->exclusiveFields = $exclusiveFields; + } + + } +} + +if (!class_exists("SoapRequestHeader", false)) { + /** + * Defines the required and optional elements within the header of a SOAP request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotWhitelistedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotWhitelistedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReportDefinitionReportType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReportDefinition.ReportType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReportDefinitionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReportDefinitionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * When using this method the {@code clientCustomerId} header field is + * optional. Callers are discouraged from setting the clientCustomerId + * header field in calls to this method as its presence will trigger an + * authorization error if the caller does not have access to the customer + * with the included ID. + * + * @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_v201705 + * @subpackage v201705 + */ + class GetReportFields { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var tnsReportDefinitionReportType + */ + public $reportType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class GetReportFieldsResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var ReportDefinitionField[] + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotWhitelistedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotWhitelistedError"; + + /** + * @access public + * @var tnsNotWhitelistedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReportDefinitionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReportDefinitionError"; + + /** + * @access public + * @var tnsReportDefinitionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReportDefinitionService extends AdWordsSoapClient { + + const SERVICE_NAME = "ReportDefinitionService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/ReportDefinitionService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/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", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "NotEmptyError" => "NotEmptyError", + "NotWhitelistedError" => "NotWhitelistedError", + "NullError" => "NullError", + "OperationAccessDenied" => "OperationAccessDenied", + "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", + "StringFormatError" => "StringFormatError", + "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", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "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", + "StringFormatError.Reason" => "StringFormatErrorReason", + "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. + * When using this method the {@code clientCustomerId} header field is + * optional. Callers are discouraged from setting the clientCustomerId + * header field in calls to this method as its presence will trigger an + * authorization error if the caller does not have access to the customer + * with the included ID. + * + * @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/v201607/BudgetSuggestionService.php b/src/Google/Api/Ads/AdWords/v201705/SharedCriterionService.php similarity index 67% rename from src/Google/Api/Ads/AdWords/v201607/BudgetSuggestionService.php rename to src/Google/Api/Ads/AdWords/v201705/SharedCriterionService.php index 1dcd13af6..fbacf2062 100755 --- a/src/Google/Api/Ads/AdWords/v201607/BudgetSuggestionService.php +++ b/src/Google/Api/Ads/AdWords/v201705/SharedCriterionService.php @@ -1,6 +1,6 @@ min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; /** * @access public * @var string */ - public $cityName; + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; /** * @access public * @var string */ - public $provinceCode; + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate"; /** * @access public * @var string */ - public $provinceName; + public $field; + + /** + * @access public + * @var tnsPredicateOperator + */ + public $operator; + + /** + * @access public + * @var string[] + */ + public $values; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SoapHeader"; + + /** + * @access public + * @var string + */ + public $clientCustomerId; /** * @access public * @var string */ - public $postalCode; + public $developerToken; /** * @access public * @var string */ - public $countryCode; + public $userAgent; + + /** + * @access public + * @var boolean + */ + public $validateOnly; + + /** + * @access public + * @var boolean + */ + public $partialFailure; /** * Gets the namesapce of this class @@ -101,14 +330,80 @@ 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; + 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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; } } @@ -121,16 +416,12 @@ public function __construct($streetAddress = null, $streetAddress2 = null, $city * *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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiError"; /** @@ -139,6 +430,12 @@ class ApiError { */ public $fieldPath; + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + /** * @access public * @var string @@ -205,8 +502,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -218,16 +516,12 @@ public function __construct($fieldPath = null, $trigger = null, $errorString = n if (!class_exists("ApplicationException", false)) { /** * Base class for exceptions. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApplicationException"; /** @@ -298,26 +592,46 @@ public function __construct($message = null, $ApplicationExceptionType = null) { } } -if (!class_exists("AuthenticationError", false)) { +if (!class_exists("Selector", false)) { /** - * Errors returned when Authentication failed. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * A generic selector to specify the type of information to return. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthenticationError extends ApiError { + class Selector { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "AuthenticationError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Selector"; /** * @access public - * @var tnsAuthenticationErrorReason + * @var string[] */ - public $reason; + 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 @@ -335,38 +649,132 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + 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("AuthorizationError", false)) { +if (!class_exists("Criterion", false)) { /** - * Errors encountered when trying to authorize a user. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Represents a criterion belonging to a shared set. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthorizationError extends ApiError { + class SharedCriterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "AuthorizationError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedCriterion"; /** * @access public - * @var tnsAuthorizationErrorReason + * @var integer */ - public $reason; + public $sharedSetId; + + /** + * @access public + * @var Criterion + */ + public $criterion; + + /** + * @access public + * @var boolean + */ + public $negative; /** * Gets the namesapce of this class @@ -384,38 +792,63 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($sharedSetId = null, $criterion = null, $negative = null) { + $this->sharedSetId = $sharedSetId; + $this->criterion = $criterion; + $this->negative = $negative; } } } -if (!class_exists("ClientTermsError", false)) { +if (!class_exists("ListReturnValue", false)) { /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ClientTermsError extends ApiError { + class ListReturnValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ClientTermsError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ListReturnValue"; /** * @access public - * @var tnsClientTermsErrorReason + * @var string */ - public $reason; + 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 @@ -433,40 +866,38 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($ListReturnValueType = null) { + $this->ListReturnValueType = $ListReturnValueType; } } } -if (!class_exists("ComparableValue", false)) { +if (!class_exists("Operation", false)) { /** - * Comparable types for constructing ranges with. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * This represents an operation that includes an operator and an operand + * specified type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ComparableValue { + class Operation { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ComparableValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operation"; + + /** + * @access public + * @var tnsOperator + */ + public $operator; /** * @access public * @var string */ - public $ComparableValueType; + public $OperationType; private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", + "Operation.Type" => "OperationType", ); /** @@ -514,48 +945,38 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; + public function __construct($operator = null, $OperationType = null) { + $this->operator = $operator; + $this->OperationType = $OperationType; } } } -if (!class_exists("Criterion", false)) { +if (!class_exists("Page", 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_v201607 - * @subpackage v201607 + * Contains the results from a get call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Criterion { + class Page { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Criterion"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Page"; /** * @access public * @var integer */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; + public $totalNumEntries; /** * @access public * @var string */ - public $CriterionType; + public $PageType; private $_parameterMap = array( - "Criterion.Type" => "CriterionType", + "Page.Type" => "PageType", ); /** @@ -603,35 +1024,24 @@ 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; + public function __construct($totalNumEntries = null, $PageType = null) { + $this->totalNumEntries = $totalNumEntries; + $this->PageType = $PageType; } } } -if (!class_exists("DatabaseError", false)) { +if (!class_exists("AuthenticationErrorReason", false)) { /** - * Errors that are thrown due to a database access problem. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The single reason for the authentication failure. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DatabaseError"; + class AuthenticationErrorReason { - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; /** * Gets the namesapce of this class @@ -649,38 +1059,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("DistinctError", false)) { +if (!class_exists("AuthorizationErrorReason", false)) { /** - * Errors related to distinct ids or content. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the database error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DistinctError"; + class AuthorizationErrorReason { - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; /** * Gets the namesapce of this class @@ -698,44 +1092,23 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("GeoPoint", false)) { +if (!class_exists("ClientTermsErrorReason", false)) { /** - * Specifies a geo location with the supplied latitude/longitude. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Enums for the various reasons an error can be thrown as a result of + * ClientTerms violation. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class GeoPoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "GeoPoint"; - - /** - * @access public - * @var integer - */ - public $latitudeInMicroDegrees; + class ClientTermsErrorReason { - /** - * @access public - * @var integer - */ - public $longitudeInMicroDegrees; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; /** * Gets the namesapce of this class @@ -753,34 +1126,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; + public function __construct() { } } } -if (!class_exists("IdError", false)) { +if (!class_exists("CriterionType", false)) { /** - * Errors associated with the ids. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The types of criteria. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "IdError"; + class CriterionType { - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; /** * Gets the namesapce of this class @@ -798,40 +1159,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("InternalApiError", false)) { +if (!class_exists("CriterionErrorReason", 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_v201607 - * @subpackage v201607 + * Concrete type of criterion is required for ADD and SET operations. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "InternalApiError"; + class CriterionErrorReason { - /** - * @access public - * @var tnsInternalApiErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; /** * Gets the namesapce of this class @@ -849,45 +1192,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("Keyword", false)) { +if (!class_exists("DatabaseErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for the database error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; + class DatabaseErrorReason { - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; /** * Gets the namesapce of this class @@ -905,46 +1225,22 @@ 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; + public function __construct() { } } } -if (!class_exists("Language", false)) { +if (!class_exists("DistinctErrorReason", 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_v201607 - * @subpackage v201607 - */ - class Language extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Language"; - - /** - * @access public - * @var string - */ - public $code; + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { - /** - * @access public - * @var string - */ - public $name; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; /** * Gets the namesapce of this class @@ -962,58 +1258,56 @@ 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; + public function __construct() { } } } -if (!class_exists("Location", false)) { +if (!class_exists("EntityCountLimitExceededReason", 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_v201607 - * @subpackage v201607 + * Limits at various levels of the account. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Location extends Criterion { + class EntityCountLimitExceededReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Location"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; /** - * @access public - * @var string + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $locationName; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var string + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $displayType; + public function getXsiTypeName() { + return self::XSI_TYPE; + } - /** - * @access public - * @var tnsLocationTargetingStatus - */ - public $targetingStatus; + public function __construct() { + } - /** - * @access public - * @var Location[] - */ - public $parentLocations; + } +} + +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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; /** * Gets the namesapce of this class @@ -1031,49 +1325,22 @@ 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; + public function __construct() { } } } -if (!class_exists("MobileAppCategory", false)) { +if (!class_exists("IdErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; + class IdErrorReason { - /** - * @access public - * @var string - */ - public $displayName; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; /** * Gets the namesapce of this class @@ -1091,45 +1358,22 @@ 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; + public function __construct() { } } } -if (!class_exists("MobileApplication", false)) { +if (!class_exists("InternalApiErrorReason", false)) { /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The single reason for the internal API error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; + class InternalApiErrorReason { - /** - * @access public - * @var string - */ - public $displayName; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; /** * Gets the namesapce of this class @@ -1147,38 +1391,23 @@ 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; + public function __construct() { } } } -if (!class_exists("Money", false)) { +if (!class_exists("KeywordMatchType", false)) { /** - * Represents a money amount. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Match type of a keyword. i.e. the way we match a keyword string with + * search queries. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Money"; + class KeywordMatchType { - /** - * @access public - * @var integer - */ - public $microAmount; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; /** * Gets the namesapce of this class @@ -1196,35 +1425,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; + public function __construct() { } } } -if (!class_exists("NotEmptyError", false)) { +if (!class_exists("NotEmptyErrorReason", false)) { /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "NotEmptyError"; + class NotEmptyErrorReason { - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; /** * Gets the namesapce of this class @@ -1242,32 +1458,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("NumberValue", false)) { +if (!class_exists("NullErrorReason", false)) { /** - * Number value types for constructing number valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NumberValue extends ComparableValue { + class NullErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "NumberValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; /** * Gets the namesapce of this class @@ -1285,34 +1491,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; + public function __construct() { } } } -if (!class_exists("OperationAccessDenied", false)) { +if (!class_exists("OperationAccessDeniedReason", false)) { /** - * Operation not permitted due to the invoked service's access policy. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the operation access error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "OperationAccessDenied"; + class OperationAccessDeniedReason { - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; /** * Gets the namesapce of this class @@ -1330,38 +1524,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("OperatorError", false)) { +if (!class_exists("Operator", false)) { /** - * Errors due to the use of unsupported operations. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * This represents an operator that may be presented to an adsapi service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "OperatorError"; + class Operator { - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; /** * Gets the namesapce of this class @@ -1379,40 +1557,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("Placement", false)) { +if (!class_exists("OperatorErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Placement"; + class OperatorErrorReason { - /** - * @access public - * @var string - */ - public $url; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; /** * Gets the namesapce of this class @@ -1430,62 +1590,55 @@ 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; + public function __construct() { } } } -if (!class_exists("Proximity", false)) { +if (!class_exists("PredicateOperator", 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_v201607 - * @subpackage v201607 + * Defines the valid set of operators. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Proximity extends Criterion { + class PredicateOperator { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Proximity"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; /** - * @access public - * @var GeoPoint + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $geoPoint; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var tnsProximityDistanceUnits + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $radiusDistanceUnits; + public function getXsiTypeName() { + return self::XSI_TYPE; + } - /** - * @access public - * @var double - */ - public $radiusInUnits; + public function __construct() { + } + + } +} - /** - * @access public - * @var Address - */ - public $address; +if (!class_exists("QueryErrorReason", false)) { + /** + * The reason for the query error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; /** * Gets the namesapce of this class @@ -1503,40 +1656,23 @@ 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; + public function __construct() { } } } -if (!class_exists("QuotaCheckError", false)) { +if (!class_exists("QuotaCheckErrorReason", false)) { /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Enums for all the reasons an error can be thrown to the user during + * billing quota checks. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "QuotaCheckError"; + class QuotaCheckErrorReason { - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; /** * Gets the namesapce of this class @@ -1554,38 +1690,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RangeError", false)) { +if (!class_exists("RangeErrorReason", false)) { /** - * A list of all errors associated with the Range constraint. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RangeError"; + class RangeErrorReason { - /** - * @access public - * @var tnsRangeErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; /** * Gets the namesapce of this class @@ -1603,56 +1723,55 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RateExceededError", false)) { +if (!class_exists("RateExceededErrorReason", false)) { /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reason for the rate exceeded error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RateExceededError extends ApiError { + class RateExceededErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RateExceededError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; /** - * @access public - * @var tnsRateExceededErrorReason + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $reason; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var string + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $rateName; + public function getXsiTypeName() { + return self::XSI_TYPE; + } - /** - * @access public - * @var string - */ - public $rateScope; + public function __construct() { + } - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; + } +} + +if (!class_exists("ReadOnlyErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; /** * Gets the namesapce of this class @@ -1670,41 +1789,22 @@ 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; + public function __construct() { } } } -if (!class_exists("ReadOnlyError", false)) { +if (!class_exists("RejectedErrorReason", false)) { /** - * Errors from attempting to write to read-only fields. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ReadOnlyError"; + class RejectedErrorReason { - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; /** * Gets the namesapce of this class @@ -1722,38 +1822,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RejectedError", false)) { +if (!class_exists("RequestErrorReason", false)) { /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Error reason is unknown. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RejectedError"; + class RequestErrorReason { - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; /** * Gets the namesapce of this class @@ -1771,39 +1855,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RequestError", false)) { +if (!class_exists("RequiredErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RequestError"; + class RequiredErrorReason { - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; /** * Gets the namesapce of this class @@ -1821,38 +1888,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RequiredError", false)) { +if (!class_exists("SelectorErrorReason", false)) { /** - * Errors due to missing required field. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequiredError extends ApiError { + class SelectorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RequiredError"; - - /** - * @access public - * @var tnsRequiredErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; /** * Gets the namesapce of this class @@ -1870,38 +1921,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("SizeLimitError", false)) { +if (!class_exists("SharedCriterionErrorReason", 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_v201607 - * @subpackage v201607 + * Error reasons + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SizeLimitError extends ApiError { + class SharedCriterionErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedCriterionError.Reason"; /** * Gets the namesapce of this class @@ -1919,62 +1954,55 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("SoapRequestHeader", false)) { +if (!class_exists("SizeLimitErrorReason", 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_v201607 - * @subpackage v201607 + * The reasons for Ad Scheduling errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; + class SizeLimitErrorReason { - /** - * @access public - * @var string - */ - public $developerToken; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; /** - * @access public - * @var string + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $userAgent; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var boolean + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $validateOnly; + public function getXsiTypeName() { + return self::XSI_TYPE; + } - /** - * @access public - * @var boolean - */ - public $partialFailure; + public function __construct() { + } + + } +} + +if (!class_exists("SortOrder", false)) { + /** + * Possible orders of sorting. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; /** * Gets the namesapce of this class @@ -1992,61 +2020,55 @@ 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; + public function __construct() { } } } -if (!class_exists("SoapResponseHeader", false)) { +if (!class_exists("StringFormatErrorReason", false)) { /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SoapResponseHeader { + class StringFormatErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "SoapResponseHeader"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; /** - * @access public - * @var string + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $requestId; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var string + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $serviceName; + public function getXsiTypeName() { + return self::XSI_TYPE; + } - /** - * @access public - * @var string - */ - public $methodName; + public function __construct() { + } - /** - * @access public - * @var integer - */ - public $operations; + } +} - /** - * @access public - * @var integer - */ - public $responseTime; +if (!class_exists("StringLengthErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; /** * Gets the namesapce of this class @@ -2064,37 +2086,22 @@ 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; + public function __construct() { } } } -if (!class_exists("StringFormatError", false)) { +if (!class_exists("CriterionUserListMembershipStatus", false)) { /** - * A list of error code for reporting invalid content of input strings. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Membership status of the user list. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringFormatError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "StringFormatError"; + class CriterionUserListMembershipStatus { - /** - * @access public - * @var tnsStringFormatErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; /** * Gets the namesapce of this class @@ -2112,39 +2119,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("StringLengthError", false)) { +if (!class_exists("SharedCriterionServiceGet", false)) { /** - * Errors associated with the length of the given string being - * out of bounds. + * This field is required and should not be {@code null}. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class StringLengthError extends ApiError { + class SharedCriterionServiceGet { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "StringLengthError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var tnsStringLengthErrorReason + * @var Selector */ - public $reason; + public $selector; /** * Gets the namesapce of this class @@ -2162,51 +2166,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($selector = null) { + $this->selector = $selector; } } } -if (!class_exists("CriterionUserInterest", false)) { +if (!class_exists("SharedCriterionServiceGetResponse", 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; + class SharedCriterionServiceGetResponse { - /** - * @access public - * @var integer - */ - public $userInterestParentId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var string + * @var SharedCriterionPage */ - public $userInterestName; + public $rval; /** * Gets the namesapce of this class @@ -2224,64 +2206,41 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestParentId = $userInterestParentId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("CriterionUserList", false)) { +if (!class_exists("SharedCriterionServiceMutate", false)) { /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. + * 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. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; + class SharedCriterionServiceMutate { - /** - * @access public - * @var boolean - */ - public $userListEligibleForSearch; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var boolean + * @var SharedCriterionOperation[] */ - public $userListEligibleForDisplay; + public $operations; /** * Gets the namesapce of this class @@ -2299,58 +2258,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->userListEligibleForSearch = $userListEligibleForSearch; - $this->userListEligibleForDisplay = $userListEligibleForDisplay; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + public function __construct($operations = null) { + $this->operations = $operations; } } } -if (!class_exists("Vertical", false)) { +if (!class_exists("SharedCriterionServiceMutateResponse", 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_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Vertical"; + class SharedCriterionServiceMutateResponse { - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var string[] + * @var SharedCriterionReturnValue */ - public $path; + public $rval; /** * Gets the namesapce of this class @@ -2367,34 +2297,38 @@ public function getNamespace() { 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; + + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("AuthenticationErrorReason", false)) { +if (!class_exists("Query", false)) { /** - * The single reason for the authentication failure. + * This field is required and should not be {@code null}. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Returns the list of SharedCriterion that match the query. + * + * @param query The SQL-like AWQL query string. + * @return A list of SharedCriterion. + * @throws ApiException + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthenticationErrorReason { + class Query { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "AuthenticationError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; /** * Gets the namesapce of this class @@ -2412,26 +2346,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($query = null) { + $this->query = $query; } } } -if (!class_exists("AuthorizationErrorReason", false)) { +if (!class_exists("QueryResponse", false)) { /** - * The reasons for the database error. - * - * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthorizationErrorReason { + class QueryResponse { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "AuthorizationError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var SharedCriterionPage + */ + public $rval; /** * Gets the namesapce of this class @@ -2449,27 +2386,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("ClientTermsErrorReason", false)) { +if (!class_exists("AuthenticationError", 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_v201607 - * @subpackage v201607 + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ClientTermsErrorReason { + class AuthenticationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ClientTermsError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2487,26 +2426,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("CriterionType", false)) { +if (!class_exists("AuthorizationError", false)) { /** - * The types of criteria. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors encountered when trying to authorize a user. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionType { + class AuthorizationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Criterion.Type"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2524,26 +2472,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("DatabaseErrorReason", false)) { +if (!class_exists("ClientTermsError", false)) { /** - * The reasons for the database error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DatabaseErrorReason { + class ClientTermsError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DatabaseError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2561,26 +2518,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("DayOfWeek", false)) { +if (!class_exists("CriterionError", false)) { /** - * Days of the week. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Error class used for reporting criteria related errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DayOfWeek { + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DayOfWeek"; + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2598,26 +2564,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("DistinctErrorReason", false)) { +if (!class_exists("DistinctError", false)) { /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors related to distinct ids or content. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DistinctErrorReason { + class DistinctError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DistinctError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2635,26 +2610,60 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("IdErrorReason", false)) { +if (!class_exists("EntityCountLimitExceeded", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Signals that an entity count limit was exceeded for some level. + * For example, too many criteria for a campaign. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class IdErrorReason { + class EntityCountLimitExceeded extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "IdError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 @@ -2672,26 +2681,40 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("InternalApiErrorReason", false)) { +if (!class_exists("EntityNotFound", false)) { /** - * The single reason for the internal API error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class InternalApiErrorReason { + class EntityNotFound extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "InternalApiError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2709,27 +2732,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("KeywordMatchType", false)) { +if (!class_exists("IdError", 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_v201607 - * @subpackage v201607 + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class KeywordMatchType { + class IdError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "KeywordMatchType"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2747,26 +2778,37 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("LocationTargetingStatus", false)) { +if (!class_exists("InternalApiError", false)) { /** - * Enum that represents the different Targeting Status values for a Location criterion. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class LocationTargetingStatus { + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "LocationTargetingStatus"; + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2784,26 +2826,42 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("MinuteOfHour", false)) { +if (!class_exists("Keyword", false)) { /** - * Minutes in an hour. Currently only 0, 15, 30, and 45 are supported - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Represents a keyword. + * This is disabled for AdX when it is contained within Operators: ADD, SET. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MinuteOfHour { + class Keyword extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Keyword"; + + /** + * @access public + * @var string + */ + public $text; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "MinuteOfHour"; + /** + * @access public + * @var tnsKeywordMatchType + */ + public $matchType; /** * Gets the namesapce of this class @@ -2821,26 +2879,43 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + 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("NotEmptyErrorReason", false)) { +if (!class_exists("MobileAppCategory", false)) { /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class NotEmptyErrorReason { + class MobileAppCategory extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "NotEmptyError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileAppCategory"; + + /** + * @access public + * @var integer + */ + public $mobileAppCategoryId; + + /** + * @access public + * @var string + */ + public $displayName; /** * Gets the namesapce of this class @@ -2858,26 +2933,41 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + 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("OperationAccessDeniedReason", false)) { +if (!class_exists("MobileApplication", false)) { /** - * The reasons for the operation access error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Represents the mobile application to be targeted. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperationAccessDeniedReason { + class MobileApplication extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "OperationAccessDenied.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileApplication"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $displayName; /** * Gets the namesapce of this class @@ -2895,26 +2985,34 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + 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("OperatorErrorReason", false)) { +if (!class_exists("NotEmptyError", false)) { /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors corresponding with violation of a NOT EMPTY check. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperatorErrorReason { + class NotEmptyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "OperatorError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2932,26 +3030,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("ProximityDistanceUnits", false)) { +if (!class_exists("NullError", false)) { /** - * The radius distance is expressed in either kilometers or miles. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors associated with violation of a NOT NULL check. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProximityDistanceUnits { + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "Proximity.DistanceUnits"; + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2969,27 +3076,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("QuotaCheckErrorReason", false)) { +if (!class_exists("OperationAccessDenied", 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_v201607 - * @subpackage v201607 + * Operation not permitted due to the invoked service's access policy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class QuotaCheckErrorReason { + class OperationAccessDenied extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "QuotaCheckError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3007,26 +3122,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RangeErrorReason", false)) { +if (!class_exists("OperatorError", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors due to the use of unsupported operations. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RangeErrorReason { + class OperatorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RangeError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3044,26 +3168,37 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RateExceededErrorReason", false)) { +if (!class_exists("Placement", false)) { /** - * The reason for the rate exceeded error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * A placement used for modifying bids for sites when targeting the content + * network. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RateExceededErrorReason { + class Placement extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RateExceededError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; + + /** + * @access public + * @var string + */ + public $url; /** * Gets the namesapce of this class @@ -3081,26 +3216,39 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + 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("ReadOnlyErrorReason", false)) { +if (!class_exists("QueryError", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * A QueryError represents possible errors for query parsing and execution. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ReadOnlyErrorReason { + class QueryError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ReadOnlyError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; /** * Gets the namesapce of this class @@ -3118,26 +3266,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RejectedErrorReason", false)) { +if (!class_exists("QuotaCheckError", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Encapsulates the errors thrown during developer quota checks. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RejectedErrorReason { + class QuotaCheckError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RejectedError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3155,26 +3313,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RequestErrorReason", false)) { +if (!class_exists("RangeError", false)) { /** - * Error reason is unknown. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * A list of all errors associated with the Range constraint. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequestErrorReason { + class RangeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RequestError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3192,26 +3359,53 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RequiredErrorReason", false)) { +if (!class_exists("RateExceededError", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Signals that a call failed because a measured rate exceeded. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequiredErrorReason { + class RateExceededError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "RequiredError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 @@ -3229,26 +3423,38 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("SizeLimitErrorReason", false)) { +if (!class_exists("ReadOnlyError", false)) { /** - * The reasons for Ad Scheduling errors. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors from attempting to write to read-only fields. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SizeLimitErrorReason { + class ReadOnlyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "SizeLimitError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3266,26 +3472,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("StringFormatErrorReason", false)) { +if (!class_exists("RejectedError", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Indicates that a field was rejected due to compatibility issues. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringFormatErrorReason { + class RejectedError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "StringFormatError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3303,26 +3518,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("StringLengthErrorReason", false)) { +if (!class_exists("RequestError", false)) { /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Encapsulates the generic errors thrown when there's an error with user + * request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringLengthErrorReason { + class RequestError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "StringLengthError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3340,26 +3565,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("CriterionUserListMembershipStatus", false)) { +if (!class_exists("RequiredError", false)) { /** - * Membership status of the user list. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors due to missing required field. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionUserListMembershipStatus { + class RequiredError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3377,61 +3611,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("AdSchedule", false)) { +if (!class_exists("SelectorError", false)) { /** - * Represents an AdSchedule Criterion. - * It is a variant of {@code AdSchedule} that also keeps track of the time zone. - * Note: one single day may not have more than six AdSchedules after the time zone adjustment. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Represents possible error codes for {@link Selector}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AdSchedule extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "AdSchedule"; - - /** - * @access public - * @var cmDayOfWeek - */ - public $dayOfWeek; - - /** - * @access public - * @var integer - */ - public $startHour; - - /** - * @access public - * @var cmMinuteOfHour - */ - public $startMinute; - - /** - * @access public - * @var integer - */ - public $endHour; + class SelectorError extends ApiError { - /** - * @access public - * @var cmMinuteOfHour - */ - public $endMinute; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; /** * @access public - * @var string + * @var tnsSelectorErrorReason */ - public $timeZone; + public $reason; /** * Gets the namesapce of this class @@ -3449,86 +3657,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($dayOfWeek = null, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $timeZone = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->dayOfWeek = $dayOfWeek; - $this->startHour = $startHour; - $this->startMinute = $startMinute; - $this->endHour = $endHour; - $this->endMinute = $endMinute; - $this->timeZone = $timeZone; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("BudgetSuggestion", false)) { +if (!class_exists("SharedCriterionError", false)) { /** - * A budget suggestion and its associated data (all are estimates). - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Represents error codes for the SharedCriterionService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BudgetSuggestion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "BudgetSuggestion"; - - /** - * @access public - * @var Money - */ - public $cpc; - - /** - * @access public - * @var Money - */ - public $minCpc; - - /** - * @access public - * @var Money - */ - public $maxCpc; - - /** - * @access public - * @var Money - */ - public $cpm; - - /** - * @access public - * @var Money - */ - public $suggestedBudget; - - /** - * @access public - * @var Money - */ - public $minBudget; - - /** - * @access public - * @var Money - */ - public $maxBudget; + class SharedCriterionError extends ApiError { - /** - * @access public - * @var integer - */ - public $impressions; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedCriterionError"; /** * @access public - * @var tnsCurrencyCode + * @var tnsSharedCriterionErrorReason */ - public $currencyCode; + public $reason; /** * Gets the namesapce of this class @@ -3546,43 +3703,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($cpc = null, $minCpc = null, $maxCpc = null, $cpm = null, $suggestedBudget = null, $minBudget = null, $maxBudget = null, $impressions = null, $currencyCode = null) { - $this->cpc = $cpc; - $this->minCpc = $minCpc; - $this->maxCpc = $maxCpc; - $this->cpm = $cpm; - $this->suggestedBudget = $suggestedBudget; - $this->minBudget = $minBudget; - $this->maxBudget = $maxBudget; - $this->impressions = $impressions; - $this->currencyCode = $currencyCode; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("BudgetSuggestionSelector", false)) { +if (!class_exists("SizeLimitError", false)) { /** - * A selector for budget suggestion - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Indicates that the number of entries in the request or response exceeds the system limit. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BudgetSuggestionSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "BudgetSuggestionSelector"; + class SizeLimitError extends ApiError { - /** - * @access public - * @var Criterion[] - */ - public $criteria; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; /** * @access public - * @var tnsCurrencyCode + * @var tnsSizeLimitErrorReason */ - public $currencyCode; + public $reason; /** * Gets the namesapce of this class @@ -3600,26 +3749,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($criteria = null, $currencyCode = null) { - $this->criteria = $criteria; - $this->currencyCode = $currencyCode; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("BusinessHour", false)) { +if (!class_exists("StringFormatError", false)) { /** - * A marker criterion which allows the user to run his/her ad according to the business hour of - * his/her business. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BusinessHour extends Criterion { + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "BusinessHour"; + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3637,38 +3795,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("ExpressSoapHeader", false)) { +if (!class_exists("StringLengthError", false)) { /** - * {@link SoapHeader} for AdWords Express services. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors associated with the length of the given string being + * out of bounds. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ExpressSoapHeader extends SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "ExpressSoapHeader"; + class StringLengthError extends ApiError { - /** - * @access public - * @var integer - */ - public $expressBusinessId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; /** * @access public - * @var string + * @var tnsStringLengthErrorReason */ - public $pageId; + public $reason; /** * Gets the namesapce of this class @@ -3686,37 +3842,48 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($expressBusinessId = null, $pageId = null, $clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->expressBusinessId = $expressBusinessId; - $this->pageId = $pageId; - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("KeywordGroup", false)) { +if (!class_exists("CriterionUserInterest", false)) { /** - * A {@link Criterion} for keyword groups. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * User Interest represents a particular interest-based vertical to be targeted. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class KeywordGroup extends Criterion { + class CriterionUserInterest extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserInterest"; + + /** + * @access public + * @var integer + */ + public $userInterestId; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "KeywordGroup"; + /** + * @access public + * @var integer + */ + public $userInterestParentId; /** * @access public * @var string */ - public $name; + public $userInterestName; /** * Gets the namesapce of this class @@ -3734,9 +3901,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($name = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { parent::__construct(); - $this->name = $name; + $this->userInterestId = $userInterestId; + $this->userInterestParentId = $userInterestParentId; + $this->userInterestName = $userInterestName; $this->id = $id; $this->type = $type; $this->CriterionType = $CriterionType; @@ -3745,35 +3914,47 @@ public function __construct($name = null, $id = null, $type = null, $CriterionTy } } -if (!class_exists("KeywordSet", false)) { +if (!class_exists("CriterionUserList", 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_v201607 - * @subpackage v201607 + * UserList - represents a user list that is defined by the advertiser to be targeted. + * This is enabled for AdX. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class KeywordSet extends Criterion { + class CriterionUserList extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "KeywordSet"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList"; /** * @access public - * @var string + * @var integer */ - public $keywordSetId; + public $userListId; /** * @access public * @var string */ - public $name; + public $userListName; + + /** + * @access public + * @var tnsCriterionUserListMembershipStatus + */ + public $userListMembershipStatus; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForSearch; /** * @access public * @var boolean */ - public $deprecated; + public $userListEligibleForDisplay; /** * Gets the namesapce of this class @@ -3791,11 +3972,13 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($keywordSetId = null, $name = null, $deprecated = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { parent::__construct(); - $this->keywordSetId = $keywordSetId; - $this->name = $name; - $this->deprecated = $deprecated; + $this->userListId = $userListId; + $this->userListName = $userListName; + $this->userListMembershipStatus = $userListMembershipStatus; + $this->userListEligibleForSearch = $userListEligibleForSearch; + $this->userListEligibleForDisplay = $userListEligibleForDisplay; $this->id = $id; $this->type = $type; $this->CriterionType = $CriterionType; @@ -3804,63 +3987,39 @@ public function __construct($keywordSetId = null, $name = null, $deprecated = nu } } -if (!class_exists("NegativeCriterion", false)) { +if (!class_exists("Vertical", false)) { /** - * A negative criterion. It wraps a {@link Criterion} and will be associated with an ad group as a - * {@code NegativeAdGroupCriterion}. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * 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_v201705 + * @subpackage v201705 */ - class NegativeCriterion extends Criterion { + class Vertical extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "NegativeCriterion"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Vertical"; /** * @access public - * @var Criterion + * @var integer */ - public $criterion; + public $verticalId; /** - * Gets the namesapce of this class - * @return string the namespace of this class + * @access public + * @var integer */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } + public $verticalParentId; /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class + * @access public + * @var string[] */ - 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_v201607 - * @subpackage v201607 - */ - class NegativeKeyword extends Keyword { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "NegativeKeyword"; + public $path; /** * Gets the namesapce of this class @@ -3878,39 +4037,43 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($text = null, $matchType = null) { + public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; + $this->verticalId = $verticalId; + $this->verticalParentId = $verticalParentId; + $this->path = $path; + $this->id = $id; + $this->type = $type; + $this->CriterionType = $CriterionType; } } } -if (!class_exists("ProductService", false)) { +if (!class_exists("YouTubeChannel", 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. + * YouTube channel criterion. + *
* This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductService extends Criterion { + class YouTubeChannel extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "ProductService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "YouTubeChannel"; /** * @access public * @var string */ - public $text; + public $channelId; /** * @access public * @var string */ - public $locale; + public $channelName; /** * Gets the namesapce of this class @@ -3928,10 +4091,10 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($text = null, $locale = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($channelId = null, $channelName = null, $id = null, $type = null, $CriterionType = null) { parent::__construct(); - $this->text = $text; - $this->locale = $locale; + $this->channelId = $channelId; + $this->channelName = $channelName; $this->id = $id; $this->type = $type; $this->CriterionType = $CriterionType; @@ -3940,63 +4103,30 @@ public function __construct($text = null, $locale = null, $id = null, $type = nu } } -if (!class_exists("CurrencyCode", false)) { +if (!class_exists("YouTubeVideo", false)) { /** - * A currency, as defined by Unicode's "CLDR", itself based on ISO 4217. Note that this list does - * not normally list currencies that have never been the official (or de facto) currency of a - * country. That means that it excludes - * - *
This class does not supply methods for getting information about currencies. For those - * methods, see {@link com.google.i18n.identifiers.CurrencyInfo}. The codes are in alphabetical - * order by code, to prevent the lines from moving around in the list if the common name changes. - * - *
It contains no behavior, but is the authoritative definition of Currency identity in - * java Google code. - * - *
Do: - * - *
Do not: - * - *
This enum does not: - * - *
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. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * YouTube video criterion. + *
+ * This is disabled for AdX when it is contained within Operators: ADD, SET. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CurrencyCode { + class YouTubeVideo extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "YouTubeVideo"; + + /** + * @access public + * @var string + */ + public $videoId; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = "CurrencyCode"; + /** + * @access public + * @var string + */ + public $videoName; /** * Gets the namesapce of this class @@ -4014,35 +4144,34 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($videoId = null, $videoName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->videoId = $videoId; + $this->videoName = $videoName; + $this->id = $id; + $this->type = $type; + $this->CriterionType = $CriterionType; } } } -if (!class_exists("BudgetSuggestionServiceGet", false)) { +if (!class_exists("DatabaseError", false)) { /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the budget suggestion for the specified criteria in the given selector based on - * co-trigger data. - * @param selector the selector specifying the budget suggestion to return - * @return budget suggestion identified by the selector - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BudgetSuggestionServiceGet { + class DatabaseError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; /** * @access public - * @var BudgetSuggestionSelector + * @var tnsDatabaseErrorReason */ - public $selector; + public $reason; /** * Gets the namesapce of this class @@ -4060,29 +4189,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($selector = null) { - $this->selector = $selector; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("BudgetSuggestionServiceGetResponse", false)) { +if (!class_exists("ApiException", false)) { /** - * - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Exception class for holding a list of service errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BudgetSuggestionServiceGetResponse { + class ApiException extends ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; /** * @access public - * @var BudgetSuggestion + * @var ApiError[] */ - public $rval; + public $errors; /** * Gets the namesapce of this class @@ -4100,33 +4235,32 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($rval = null) { - $this->rval = $rval; + public function __construct($errors = null, $message = null, $ApplicationExceptionType = null) { + parent::__construct(); + $this->errors = $errors; + $this->message = $message; + $this->ApplicationExceptionType = $ApplicationExceptionType; } } } -if (!class_exists("ApiException", false)) { +if (!class_exists("SharedCriterionOperation", false)) { /** - * Exception class for holding a list of service errors. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Operation for adding/removing a criterion from a shared set. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ApiException extends ApplicationException { + class SharedCriterionOperation extends Operation { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "ApiException"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedCriterionOperation"; /** * @access public - * @var ApiError[] + * @var SharedCriterion */ - public $errors; + public $operand; /** * Gets the namesapce of this class @@ -4144,36 +4278,33 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($errors = null, $message = null, $ApplicationExceptionType = null) { + public function __construct($operand = null, $operator = null, $OperationType = null) { parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; + $this->operand = $operand; + $this->operator = $operator; + $this->OperationType = $OperationType; } } } -if (!class_exists("DoubleValue", false)) { +if (!class_exists("SharedCriterionPage", false)) { /** - * Number value type for constructing double valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Contains a list of shared set criteria results filtered and sorted + * as specified in the {@link SharedCriterionService#get} call + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DoubleValue extends NumberValue { + class SharedCriterionPage extends Page { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "DoubleValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedCriterionPage"; /** * @access public - * @var double + * @var SharedCriterion[] */ - public $number; + public $entries; /** * Gets the namesapce of this class @@ -4191,34 +4322,32 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($number = null) { + public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { parent::__construct(); - $this->number = $number; + $this->entries = $entries; + $this->totalNumEntries = $totalNumEntries; + $this->PageType = $PageType; } } } -if (!class_exists("LongValue", false)) { +if (!class_exists("SharedCriterionReturnValue", false)) { /** - * Number value type for constructing long valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * Container for the return value from the SharedSetCriterionService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class LongValue extends NumberValue { + class SharedCriterionReturnValue extends ListReturnValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201607"; - const XSI_TYPE = "LongValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedCriterionReturnValue"; /** * @access public - * @var integer + * @var SharedCriterion[] */ - public $number; + public $value; /** * Gets the namesapce of this class @@ -4236,65 +4365,61 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($number = null) { + public function __construct($value = null, $ListReturnValueType = null) { parent::__construct(); - $this->number = $number; + $this->value = $value; + $this->ListReturnValueType = $ListReturnValueType; } } } -if (!class_exists("BudgetSuggestionService", false)) { +if (!class_exists("SharedCriterionService", false)) { /** - * BudgetSuggestionService - * @package Google_Api_Ads_AdWords_v201607 - * @subpackage v201607 + * SharedCriterionService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BudgetSuggestionService extends AdWordsSoapClient { + class SharedCriterionService extends AdWordsSoapClient { - const SERVICE_NAME = "BudgetSuggestionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201607"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201607/BudgetSuggestionService"; + const SERVICE_NAME = "SharedCriterionService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/SharedCriterionService"; /** * The endpoint of the service * @var string */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201607/BudgetSuggestionService"; + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/SharedCriterionService"; /** * 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", + "CriterionError" => "CriterionError", + "DateRange" => "DateRange", "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "GeoPoint" => "GeoPoint", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", "IdError" => "IdError", "InternalApiError" => "InternalApiError", "Keyword" => "Keyword", - "Language" => "Language", - "Location" => "Location", - "LongValue" => "LongValue", "MobileAppCategory" => "MobileAppCategory", "MobileApplication" => "MobileApplication", - "Money" => "Money", "NotEmptyError" => "NotEmptyError", - "NumberValue" => "NumberValue", + "NullError" => "NullError", "OperationAccessDenied" => "OperationAccessDenied", "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", "Placement" => "Placement", - "Proximity" => "Proximity", + "Predicate" => "Predicate", + "QueryError" => "QueryError", "QuotaCheckError" => "QuotaCheckError", "RangeError" => "RangeError", "RateExceededError" => "RateExceededError", @@ -4302,6 +4427,8 @@ class BudgetSuggestionService extends AdWordsSoapClient { "RejectedError" => "RejectedError", "RequestError" => "RequestError", "RequiredError" => "RequiredError", + "SelectorError" => "SelectorError", + "SharedCriterionError" => "SharedCriterionError", "SizeLimitError" => "SizeLimitError", "SoapHeader" => "SoapRequestHeader", "SoapResponseHeader" => "SoapResponseHeader", @@ -4310,22 +4437,40 @@ class BudgetSuggestionService extends AdWordsSoapClient { "CriterionUserInterest" => "CriterionUserInterest", "CriterionUserList" => "CriterionUserList", "Vertical" => "Vertical", + "YouTubeChannel" => "YouTubeChannel", + "YouTubeVideo" => "YouTubeVideo", + "DatabaseError" => "DatabaseError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "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", - "DayOfWeek" => "DayOfWeek", "DistinctError.Reason" => "DistinctErrorReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", "IdError.Reason" => "IdErrorReason", "InternalApiError.Reason" => "InternalApiErrorReason", "KeywordMatchType" => "KeywordMatchType", - "LocationTargetingStatus" => "LocationTargetingStatus", - "MinuteOfHour" => "MinuteOfHour", "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", "OperatorError.Reason" => "OperatorErrorReason", - "Proximity.DistanceUnits" => "ProximityDistanceUnits", + "Predicate.Operator" => "PredicateOperator", + "QueryError.Reason" => "QueryErrorReason", "QuotaCheckError.Reason" => "QuotaCheckErrorReason", "RangeError.Reason" => "RangeErrorReason", "RateExceededError.Reason" => "RateExceededErrorReason", @@ -4333,23 +4478,19 @@ class BudgetSuggestionService extends AdWordsSoapClient { "RejectedError.Reason" => "RejectedErrorReason", "RequestError.Reason" => "RequestErrorReason", "RequiredError.Reason" => "RequiredErrorReason", + "SelectorError.Reason" => "SelectorErrorReason", + "SharedCriterionError.Reason" => "SharedCriterionErrorReason", "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", "StringFormatError.Reason" => "StringFormatErrorReason", "StringLengthError.Reason" => "StringLengthErrorReason", "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "AdSchedule" => "AdSchedule", - "BudgetSuggestion" => "BudgetSuggestion", - "BudgetSuggestionSelector" => "BudgetSuggestionSelector", - "BusinessHour" => "BusinessHour", - "ExpressSoapHeader" => "ExpressSoapHeader", - "KeywordGroup" => "KeywordGroup", - "KeywordSet" => "KeywordSet", - "NegativeCriterion" => "NegativeCriterion", - "NegativeKeyword" => "NegativeKeyword", - "ProductService" => "ProductService", - "CurrencyCode" => "CurrencyCode", - "get" => "BudgetSuggestionServiceGet", - "getResponse" => "BudgetSuggestionServiceGetResponse", + "get" => "SharedCriterionServiceGet", + "getResponse" => "SharedCriterionServiceGetResponse", + "mutate" => "SharedCriterionServiceMutate", + "mutateResponse" => "SharedCriterionServiceMutateResponse", + "query" => "Query", + "queryResponse" => "QueryResponse", ); @@ -4368,16 +4509,53 @@ public function __construct($wsdl, $options, $user) { * * * - * Retrieves the budget suggestion for the specified criteria in the given selector based on - * co-trigger data. - * @param selector the selector specifying the budget suggestion to return - * @return budget suggestion identified by the selector + * 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 BudgetSuggestionServiceGet($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; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns the list of SharedCriterion that match the query. + * + * @param query The SQL-like AWQL query string. + * @return A list of SharedCriterion. + * @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/v201705/SharedSetService.php b/src/Google/Api/Ads/AdWords/v201705/SharedSetService.php new file mode 100755 index 000000000..5cf5e6f22 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/SharedSetService.php @@ -0,0 +1,4139 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * SharedSets are used for sharing entities across multiple campaigns + * under the same account. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Defines the required and optional elements within the header of a SOAP request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Operator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SharedSetStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedSet.Status"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("SharedSetErrorReason", false)) { + /** + * Error reasons + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSetErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedSetError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("SharedSetType", false)) { + /** + * Enumerates the different types of shared sets. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSetType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedSetType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SharedSetServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SharedSetServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var SharedSetPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * 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 CriterionList entities + * @throws ApiException + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSetServiceMutate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var SharedSetOperation[] + */ + public $operations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SharedSetServiceMutateResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var SharedSetReturnValue + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 SharedSet entities that match the query. + * + * @param query The SQL-like AWQL query string + * @returns A list of SharedSet entities + * @throws ApiException when the query is invalid or there are errors processing the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var SharedSetPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PagingError", false)) { + /** + * Error codes for pagination. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("SharedSetError", false)) { + /** + * Represents error codes for the SharedSetService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSetError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedSetError"; + + /** + * @access public + * @var tnsSharedSetErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("SharedSetOperation", false)) { + /** + * Operations for adding/updating SharedSet entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSetOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedSetOperation"; + + /** + * @access public + * @var SharedSet + */ + public $operand; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * A container for return values from the {@link SharedSetService#mutate} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSetReturnValue extends ListReturnValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedSetReturnValue"; + + /** + * @access public + * @var SharedSet[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Indicates that the number of entries in the request or response exceeds the system limit. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("NullStatsPage", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NullStatsPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullStatsPage"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Exception class for holding a list of service errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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)) { + /** + * Contains a list of criterion lists resulting from the filtering and paging of + * {@link SharedSetService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SharedSetPage extends NullStatsPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SharedSetPage"; + + /** + * @access public + * @var SharedSet[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SharedSetService extends AdWordsSoapClient { + + const SERVICE_NAME = "SharedSetService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/SharedSetService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/SharedSetService"; + /** + * 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", + "FieldPathElement" => "FieldPathElement", + "IdError" => "IdError", + "InternalApiError" => "InternalApiError", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", + "PagingError" => "PagingError", + "Predicate" => "Predicate", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SelectorError" => "SelectorError", + "SharedSet" => "SharedSet", + "SharedSetError" => "SharedSetError", + "SharedSetOperation" => "SharedSetOperation", + "SharedSetPage" => "SharedSetPage", + "SharedSetReturnValue" => "SharedSetReturnValue", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "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", + "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", + "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", + "SharedSet.Status" => "SharedSetStatus", + "SharedSetError.Reason" => "SharedSetErrorReason", + "SharedSetType" => "SharedSetType", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "get" => "SharedSetServiceGet", + "getResponse" => "SharedSetServiceGetResponse", + "mutate" => "SharedSetServiceMutate", + "mutateResponse" => "SharedSetServiceMutateResponse", + "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 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. + * 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 CriterionList entities + * @throws ApiException + */ + public function mutate($operations) { + $args = new SharedSetServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns the list of SharedSet entities that match the query. + * + * @param query The SQL-like AWQL query string + * @returns A list of SharedSet entities + * @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/v201705/TargetingIdeaService.php b/src/Google/Api/Ads/AdWords/v201705/TargetingIdeaService.php new file mode 100755 index 000000000..5861f5a18 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/TargetingIdeaService.php @@ -0,0 +1,7145 @@ +The OGNL field path is provided for parsers to identify the request data + * element that may have caused the error. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthorizationError", false)) { + /** + * Errors encountered when trying to authorize a user. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BudgetError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BudgetError"; + + /** + * @access public + * @var tnsBudgetErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ComparableValue", false)) { + /** + * Comparable types for constructing ranges with. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DatabaseError", false)) { + /** + * Errors that are thrown due to a database access problem. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DateError", false)) { + /** + * Errors associated with invalid dates and date ranges. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DistinctError", false)) { + /** + * Errors related to distinct ids or content. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Keyword extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Keyword"; + + /** + * @access public + * @var string + */ + public $text; + + /** + * @access public + * @var tnsKeywordMatchType + */ + public $matchType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Language extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Language"; + + /** + * @access public + * @var string + */ + public $code; + + /** + * @access public + * @var string + */ + public $name; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Location extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MobileAppCategory extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileAppCategory"; + + /** + * @access public + * @var integer + */ + public $mobileAppCategoryId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MobileApplication extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MobileApplication"; + + /** + * @access public + * @var string + */ + public $appId; + + /** + * @access public + * @var string + */ + public $displayName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Money extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Money"; + + /** + * @access public + * @var integer + */ + public $microAmount; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NetworkSetting { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("NullError", false)) { + /** + * Errors associated with violation of a NOT NULL check. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("NumberValue", false)) { + /** + * Number value types for constructing number valued ranges. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NumberValue extends ComparableValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("OperatorError", false)) { + /** + * Errors due to the use of unsupported operations. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Placement extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Platform extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Platform"; + + /** + * @access public + * @var string + */ + public $platformName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyViolationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PolicyViolationErrorPart", false)) { + /** + * Points to a substring within an ad field or criterion. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyViolationErrorPart { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationError.Part"; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * @access public + * @var integer + */ + public $length; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PolicyViolationKey { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationKey"; + + /** + * @access public + * @var string + */ + public $policyName; + + /** + * @access public + * @var string + */ + public $violatingText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("QuotaCheckError", false)) { + /** + * Encapsulates the errors thrown during developer quota checks. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("RangeError", false)) { + /** + * A list of all errors associated with the Range constraint. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("RateExceededError", false)) { + /** + * Signals that a call failed because a measured rate exceeded. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ReadOnlyError", false)) { + /** + * Errors from attempting to write to read-only fields. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("RegionCodeError", false)) { + /** + * A list of all errors associated with the @RegionCode constraints. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RegionCodeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError"; + + /** + * @access public + * @var tnsRegionCodeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("RejectedError", false)) { + /** + * Indicates that a field was rejected due to compatibility issues. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("RequiredError", false)) { + /** + * Errors due to missing required field. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StatsQueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError"; + + /** + * @access public + * @var tnsStatsQueryErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionUserInterest extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserInterest"; + + /** + * @access public + * @var integer + */ + public $userInterestId; + + /** + * @access public + * @var integer + */ + public $userInterestParentId; + + /** + * @access public + * @var string + */ + public $userInterestName; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userInterestId = $userInterestId; + $this->userInterestParentId = $userInterestParentId; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionUserList extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList"; + + /** + * @access public + * @var integer + */ + public $userListId; + + /** + * @access public + * @var string + */ + public $userListName; + + /** + * @access public + * @var tnsCriterionUserListMembershipStatus + */ + public $userListMembershipStatus; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForSearch; + + /** + * @access public + * @var boolean + */ + public $userListEligibleForDisplay; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { + parent::__construct(); + $this->userListId = $userListId; + $this->userListName = $userListName; + $this->userListMembershipStatus = $userListMembershipStatus; + $this->userListEligibleForSearch = $userListEligibleForSearch; + $this->userListEligibleForDisplay = $userListEligibleForDisplay; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Vertical extends Criterion { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdGroupCriterionErrorReason", false)) { + /** + * The reasons for the target error. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionLimitExceededCriteriaLimitType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionLimitExceeded.CriteriaLimitType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdxErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BudgetErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BudgetError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CollectionSizeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class KeywordMatchType { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LocationTargetingStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationTargetingStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RegionCodeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StatsQueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StatsQueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionUserListMembershipStatus { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionUserList.MembershipStatus"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("Attribute", false)) { + /** + * {@link Attribute}s encompass the core information about a particular {@link 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_v201705 + * @subpackage v201705 + */ + class Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("BooleanAttribute", false)) { + /** + * {@link Attribute} type that contains a boolean value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BooleanAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "BooleanAttribute"; + + /** + * @access public + * @var boolean + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "CriterionAttribute"; + + /** + * @access public + * @var Criterion + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CurrencyCodeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "CurrencyCodeError"; + + /** + * @access public + * @var tnsCurrencyCodeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DoubleAttribute", false)) { + /** + * {@link Attribute} type that contains a double value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DoubleAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "DoubleAttribute"; + + /** + * @access public + * @var double + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("IdeaTypeAttribute", false)) { + /** + * {@link Attribute} type that contains an {@link IdeaType} value. For example, if a + * {@link TargetingIdea} represents a keyword idea, its {@link IdeaTypeAttribute} would contain a + * {@code KEYWORD} {@link IdeaType}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdeaTypeAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "IdeaTypeAttribute"; + + /** + * @access public + * @var tnsIdeaType + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("IntegerAttribute", false)) { + /** + * {@link Attribute} type that contains an integer value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IntegerAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "IntegerAttribute"; + + /** + * @access public + * @var integer + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IntegerSetAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "IntegerSetAttribute"; + + /** + * @access public + * @var integer[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class KeywordAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "KeywordAttribute"; + + /** + * @access public + * @var Keyword + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LongAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "LongAttribute"; + + /** + * @access public + * @var integer + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 SearchParameter} to specify the valid values requested for the specific + * {@link Attribute}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LongComparisonOperation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "LongComparisonOperation"; + + /** + * @access public + * @var integer + */ + public $minimum; + + /** + * @access public + * @var integer + */ + public $maximum; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class LongRangeAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "LongRangeAttribute"; + + /** + * @access public + * @var Range + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("MoneyAttribute", false)) { + /** + * {@link Attribute} type that contains a {@link Money} value. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MoneyAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "MoneyAttribute"; + + /** + * @access public + * @var Money + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MonthlySearchVolume { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MonthlySearchVolumeAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "MonthlySearchVolumeAttribute"; + + /** + * @access public + * @var MonthlySearchVolume[] + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Range { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "Range"; + + /** + * @access public + * @var ComparableValue + */ + public $min; + + /** + * @access public + * @var ComparableValue + */ + public $max; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 is supplied to the {@link TargetingIdeaSelector} to specify how + * the user wants to filter the set of all possible {@link TargetingIdea}s. + * + *
There is a {@link SearchParameter} for each type of input. + * {@link SearchParameter}s can conceptually be broken down into two types.
+ * + *A request should only contain one instance of each {@link SearchParameter}. + * Requests containing multiple instances of the same search parameter will be + * rejected.
+ *One or more of the following {@link SearchParameter}s are required:
+ *
+ *
{@link IdeaType} KEYWORD supports following {@link SearchParameter}s:
+ *
+ * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 AttributeType#SEARCH_VOLUME SEARCH_VOLUME}. Absence of + * a {@link SearchVolumeSearchParameter} in a {@link 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_v201705 + * @subpackage v201705 + */ + class SearchVolumeSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "SearchVolumeSearchParameter"; + + /** + * @access public + * @var LongComparisonOperation + */ + public $operation; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SeedAdGroupIdSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "SeedAdGroupIdSearchParameter"; + + /** + * @access public + * @var integer + */ + public $adGroupId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "StringAttribute"; + + /** + * @access public + * @var string + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class TargetingIdea { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "TargetingIdea"; + + /** + * @access public + * @var Type_AttributeMapEntry[] + */ + public $data; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 TargetingIdeaService}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetingIdeaError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "TargetingIdeaError"; + + /** + * @access public + * @var tnsTargetingIdeaErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class TargetingIdeaPage { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "TargetingIdeaPage"; + + /** + * @access public + * @var integer + */ + public $totalNumEntries; + + /** + * @access public + * @var TargetingIdea[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class TargetingIdeaSelector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TrafficEstimatorError", false)) { + /** + * Base error class for {@link TrafficEstimatorService}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TrafficEstimatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "TrafficEstimatorError"; + + /** + * @access public + * @var tnsTrafficEstimatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class Type_AttributeMapEntry { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "Type_AttributeMapEntry"; + + /** + * @access public + * @var tnsAttributeType + */ + public $key; + + /** + * @access public + * @var Attribute + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class WebpageDescriptor { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "WebpageDescriptor"; + + /** + * @access public + * @var string + */ + public $url; + + /** + * @access public + * @var string + */ + public $title; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class WebpageDescriptorAttribute extends Attribute { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "WebpageDescriptorAttribute"; + + /** + * @access public + * @var WebpageDescriptor + */ + public $value; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 Attribute}. + *
{@link IdeaType} KEYWORD supports the following {@link AttributeType}s:
+ *
The selector must specify a {@code paging} value, with {@code numberResults} set to 700 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.
+ * + * @param selector Query describing the types of results to return when + * finding matches (similar keyword 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_v201705 + * @subpackage v201705 + */ + class TargetingIdeaServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var TargetingIdeaSelector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class TargetingIdeaServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var TargetingIdeaPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionError"; + + /** + * @access public + * @var tnsAdGroupCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionLimitExceeded extends EntityCountLimitExceeded { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionLimitExceeded"; + + /** + * @access public + * @var tnsAdGroupCriterionLimitExceededCriteriaLimitType + */ + public $limitType; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdxError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; + + /** + * @access public + * @var tnsAdxErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApiException", false)) { + /** + * Exception class for holding a list of service errors. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CriterionPolicyError extends PolicyViolationError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionPolicyError"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DoubleValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; + + /** + * @access public + * @var double + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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. + * + * + * + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class LongValue extends NumberValue { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; + + /** + * @access public + * @var integer + */ + public $number; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("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 element is supported by following {@link IdeaType}s: KEYWORD. + *
This element is supported by following {@link RequestType}s: IDEAS. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CategoryProductsAndServicesSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "CategoryProductsAndServicesSearchParameter"; + + /** + * @access public + * @var integer + */ + public $categoryId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CompetitionSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "CompetitionSearchParameter"; + + /** + * @access public + * @var tnsCompetitionSearchParameterLevel[] + */ + public $levels; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("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_v201705 + * @subpackage v201705 + */ + class IdeaTextFilterSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "IdeaTextFilterSearchParameter"; + + /** + * @access public + * @var string[] + */ + public $included; + + /** + * @access public + * @var string[] + */ + public $excluded; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IncludeAdultContentSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "IncludeAdultContentSearchParameter"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 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_v201705 + * @subpackage v201705 + */ + class LanguageSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "LanguageSearchParameter"; + + /** + * @access public + * @var Language[] + */ + public $languages; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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}.
+ * + *See the + * Geographical + * Targeting page for the complete list of supported geo target types for this service.
+ * + *The service allows up to 10 locations to be targeted for KEYWORD requests and 50 locations + * for PLACEMENT requests.
+ *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_v201705 + * @subpackage v201705 + */ + class LocationSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "LocationSearchParameter"; + + /** + * @access public + * @var Location[] + */ + public $locations; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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: + *
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_v201705 + * @subpackage v201705 + */ + class NetworkSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "NetworkSearchParameter"; + + /** + * @access public + * @var NetworkSetting + */ + public $networkSetting; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("RelatedToQuerySearchParameter", false)) { + /** + * A {@link SearchParameter} for a query of {@code String}s. + *
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_v201705 + * @subpackage v201705 + */ + class RelatedToQuerySearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "RelatedToQuerySearchParameter"; + + /** + * @access public + * @var string[] + */ + public $queries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 to. For example, keyword results would be + * similar to content keywords found on the related URLs. + *
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_v201705 + * @subpackage v201705 + */ + class RelatedToUrlSearchParameter extends SearchParameter { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "RelatedToUrlSearchParameter"; + + /** + * @access public + * @var string[] + */ + public $urls; + + /** + * @access public + * @var boolean + */ + public $includeSubUrls; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TargetingIdeaService", false)) { + /** + * TargetingIdeaService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TargetingIdeaService extends AdWordsSoapClient { + + const SERVICE_NAME = "TargetingIdeaService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/o/v201705/TargetingIdeaService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/o/v201705/TargetingIdeaService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AdGroupCriterionError" => "AdGroupCriterionError", + "AdGroupCriterionLimitExceeded" => "AdGroupCriterionLimitExceeded", + "AdxError" => "AdxError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "BudgetError" => "BudgetError", + "ClientTermsError" => "ClientTermsError", + "CollectionSizeError" => "CollectionSizeError", + "ComparableValue" => "ComparableValue", + "Criterion" => "Criterion", + "CriterionError" => "CriterionError", + "CriterionPolicyError" => "CriterionPolicyError", + "DatabaseError" => "DatabaseError", + "DateError" => "DateError", + "DistinctError" => "DistinctError", + "DoubleValue" => "DoubleValue", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", + "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", + "Paging" => "Paging", + "Placement" => "Placement", + "Platform" => "Platform", + "PolicyViolationError" => "PolicyViolationError", + "PolicyViolationError.Part" => "PolicyViolationErrorPart", + "PolicyViolationKey" => "PolicyViolationKey", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RegionCodeError" => "RegionCodeError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StatsQueryError" => "StatsQueryError", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "CriterionUserInterest" => "CriterionUserInterest", + "CriterionUserList" => "CriterionUserList", + "Vertical" => "Vertical", + "AdGroupCriterionError.Reason" => "AdGroupCriterionErrorReason", + "AdGroupCriterionLimitExceeded.CriteriaLimitType" => "AdGroupCriterionLimitExceededCriteriaLimitType", + "AdxError.Reason" => "AdxErrorReason", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "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", + "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", + "StatsQueryError.Reason" => "StatsQueryErrorReason", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", + "Attribute" => "Attribute", + "BooleanAttribute" => "BooleanAttribute", + "CategoryProductsAndServicesSearchParameter" => "CategoryProductsAndServicesSearchParameter", + "CompetitionSearchParameter" => "CompetitionSearchParameter", + "CriterionAttribute" => "CriterionAttribute", + "CurrencyCodeError" => "CurrencyCodeError", + "DoubleAttribute" => "DoubleAttribute", + "IdeaTextFilterSearchParameter" => "IdeaTextFilterSearchParameter", + "IdeaTypeAttribute" => "IdeaTypeAttribute", + "IncludeAdultContentSearchParameter" => "IncludeAdultContentSearchParameter", + "IntegerAttribute" => "IntegerAttribute", + "IntegerSetAttribute" => "IntegerSetAttribute", + "KeywordAttribute" => "KeywordAttribute", + "LanguageSearchParameter" => "LanguageSearchParameter", + "LocationSearchParameter" => "LocationSearchParameter", + "LongAttribute" => "LongAttribute", + "LongComparisonOperation" => "LongComparisonOperation", + "LongRangeAttribute" => "LongRangeAttribute", + "MoneyAttribute" => "MoneyAttribute", + "MonthlySearchVolume" => "MonthlySearchVolume", + "MonthlySearchVolumeAttribute" => "MonthlySearchVolumeAttribute", + "NetworkSearchParameter" => "NetworkSearchParameter", + "Range" => "Range", + "RelatedToQuerySearchParameter" => "RelatedToQuerySearchParameter", + "RelatedToUrlSearchParameter" => "RelatedToUrlSearchParameter", + "SearchParameter" => "SearchParameter", + "SearchVolumeSearchParameter" => "SearchVolumeSearchParameter", + "SeedAdGroupIdSearchParameter" => "SeedAdGroupIdSearchParameter", + "StringAttribute" => "StringAttribute", + "TargetingIdea" => "TargetingIdea", + "TargetingIdeaError" => "TargetingIdeaError", + "TargetingIdeaPage" => "TargetingIdeaPage", + "TargetingIdeaSelector" => "TargetingIdeaSelector", + "TrafficEstimatorError" => "TrafficEstimatorError", + "Type_AttributeMapEntry" => "Type_AttributeMapEntry", + "WebpageDescriptor" => "WebpageDescriptor", + "WebpageDescriptorAttribute" => "WebpageDescriptorAttribute", + "AttributeType" => "AttributeType", + "CompetitionSearchParameter.Level" => "CompetitionSearchParameterLevel", + "CurrencyCodeError.Reason" => "CurrencyCodeErrorReason", + "IdeaType" => "IdeaType", + "RequestType" => "RequestType", + "TargetingIdeaError.Reason" => "TargetingIdeaErrorReason", + "TrafficEstimatorError.Reason" => "TrafficEstimatorErrorReason", + "get" => "TargetingIdeaServiceGet", + "getResponse" => "TargetingIdeaServiceGetResponse", + ); + + + /** + * 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 700 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.
+ * + * @param selector Query describing the types of results to return when + * finding matches (similar keyword 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; + } + } +} + diff --git a/src/Google/Api/Ads/AdWords/v201609/PromotionService.php b/src/Google/Api/Ads/AdWords/v201705/TrafficEstimatorService.php similarity index 67% rename from src/Google/Api/Ads/AdWords/v201609/PromotionService.php rename to src/Google/Api/Ads/AdWords/v201705/TrafficEstimatorService.php index 8ec8e271d..76fac65c9 100755 --- a/src/Google/Api/Ads/AdWords/v201609/PromotionService.php +++ b/src/Google/Api/Ads/AdWords/v201705/TrafficEstimatorService.php @@ -1,6 +1,6 @@ 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 @@ -124,13 +38,13 @@ public function __construct($streetAddress = null, $streetAddress2 = null, $city * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiError"; /** @@ -139,6 +53,12 @@ class ApiError { */ public $fieldPath; + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + /** * @access public * @var string @@ -205,8 +125,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -221,13 +142,13 @@ public function __construct($fieldPath = null, $trigger = null, $errorString = n * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApplicationException"; /** @@ -304,13 +225,13 @@ public function __construct($message = null, $ApplicationExceptionType = null) { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthenticationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthenticationError"; /** @@ -335,10 +256,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -353,13 +275,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class AuthorizationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "AuthorizationError"; /** @@ -384,10 +306,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -402,13 +325,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ClientTermsError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ClientTermsError"; /** @@ -433,10 +356,62 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CollectionSizeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError"; + + /** + * @access public + * @var tnsCollectionSizeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -451,13 +426,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ComparableValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ComparableValue"; /** @@ -528,13 +503,13 @@ public function __construct($ComparableValueType = null) { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Criterion"; /** @@ -618,13 +593,13 @@ public function __construct($id = null, $type = null, $CriterionType = null) { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DatabaseError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DatabaseError"; /** @@ -649,10 +624,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -667,13 +643,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class DateError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "DateError"; /** @@ -698,10 +674,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -710,33 +687,26 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("DateRange", false)) { +if (!class_exists("DistinctError", false)) { /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. + * Errors related to distinct ids or content. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DateRange"; + class DistinctError extends ApiError { - /** - * @access public - * @var string - */ - public $min; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; /** * @access public - * @var string + * @var tnsDistinctErrorReason */ - public $max; + public $reason; /** * Gets the namesapce of this class @@ -754,32 +724,37 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("DistinctError", false)) { +if (!class_exists("EntityAccessDenied", false)) { /** - * Errors related to distinct ids or content. + * Reports permission problems trying to access an entity. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DistinctError extends ApiError { + class EntityAccessDenied extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DistinctError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; /** * @access public - * @var tnsDistinctErrorReason + * @var tnsEntityAccessDeniedReason */ public $reason; @@ -799,10 +774,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -818,13 +794,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class EntityNotFound extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "EntityNotFound"; /** @@ -849,10 +825,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -861,32 +838,32 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("GeoPoint", false)) { +if (!class_exists("FieldPathElement", false)) { /** - * Specifies a geo location with the supplied latitude/longitude. + * A segment of a field path. Each dot in a field path defines a new segment. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class GeoPoint { + class FieldPathElement { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "GeoPoint"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; /** * @access public - * @var integer + * @var string */ - public $latitudeInMicroDegrees; + public $field; /** * @access public * @var integer */ - public $longitudeInMicroDegrees; + public $index; /** * Gets the namesapce of this class @@ -904,9 +881,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; } } @@ -918,13 +895,13 @@ public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDeg * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class IdError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "IdError"; /** @@ -949,10 +926,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -969,13 +947,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class InternalApiError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "InternalApiError"; /** @@ -1000,10 +978,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1019,13 +998,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Keyword extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Keyword"; /** @@ -1076,13 +1055,13 @@ public function __construct($text = null, $matchType = null, $id = null, $type = * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Language extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Language"; /** @@ -1133,13 +1112,13 @@ public function __construct($code = null, $name = null, $id = null, $type = null * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Location extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Location"; /** @@ -1205,13 +1184,13 @@ public function __construct($locationName = null, $displayType = null, $targetin * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class MobileAppCategory extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "MobileAppCategory"; /** @@ -1261,13 +1240,13 @@ public function __construct($mobileAppCategoryId = null, $displayName = null, $i * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class MobileApplication extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "MobileApplication"; /** @@ -1316,13 +1295,13 @@ public function __construct($appId = null, $displayName = null, $id = null, $typ * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Money extends ComparableValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Money"; /** @@ -1356,26 +1335,44 @@ public function __construct($microAmount = null, $ComparableValueType = null) { } } -if (!class_exists("NotEmptyError", false)) { +if (!class_exists("NetworkSetting", false)) { /** - * Errors corresponding with violation of a NOT EMPTY check. + * Network settings for a Campaign. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NotEmptyError extends ApiError { + class NetworkSetting { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NotEmptyError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NetworkSetting"; /** * @access public - * @var tnsNotEmptyErrorReason + * @var boolean */ - public $reason; + 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 @@ -1393,36 +1390,34 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + 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("NullError", false)) { +if (!class_exists("NotEmptyError", false)) { /** - * Errors associated with violation of a NOT NULL check. + * Errors corresponding with violation of a NOT EMPTY check. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NullError extends ApiError { + class NotEmptyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NullError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; /** * @access public - * @var tnsNullErrorReason + * @var tnsNotEmptyErrorReason */ public $reason; @@ -1442,10 +1437,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1454,20 +1450,26 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("NumberValue", false)) { +if (!class_exists("NullError", false)) { /** - * Number value types for constructing number valued ranges. + * Errors associated with violation of a NOT NULL check. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NumberValue extends ComparableValue { + class NullError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NumberValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -1485,73 +1487,33 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($ComparableValueType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->ComparableValueType = $ComparableValueType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("Operation", false)) { +if (!class_exists("NumberValue", false)) { /** - * This represents an operation that includes an operator and an operand - * specified type. + * Number value types for constructing number valued ranges. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - 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]}; - } + class NumberValue extends ComparableValue { - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NumberValue"; /** * Gets the namesapce of this class @@ -1569,9 +1531,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($operator = null, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; + public function __construct($ComparableValueType = null) { + parent::__construct(); + $this->ComparableValueType = $ComparableValueType; } } @@ -1583,13 +1545,13 @@ public function __construct($operator = null, $OperationType = null) { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperationAccessDenied extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperationAccessDenied"; /** @@ -1614,10 +1576,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1632,13 +1595,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperatorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperatorError"; /** @@ -1663,10 +1626,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -1675,32 +1639,28 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("OrderBy", false)) { +if (!class_exists("Placement", false)) { /** - * Specifies how the resulting information should be sorted. + * 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_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OrderBy { + class Placement extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OrderBy"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Placement"; /** * @access public * @var string */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; + public $url; /** * Gets the namesapce of this class @@ -1718,72 +1678,39 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; + 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("Page", false)) { +if (!class_exists("Platform", false)) { /** - * Contains the results from a get call. + * Represents Platform 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_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Page"; + class Platform extends Criterion { - /** - * @access public - * @var integer - */ - public $totalNumEntries; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Platform"; /** * @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; - } + public $platformName; /** * Gets the namesapce of this class @@ -1801,42 +1728,37 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; + 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("Paging", false)) { +if (!class_exists("QuotaCheckError", 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. + * Encapsulates the errors thrown during developer quota checks. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Paging"; + class QuotaCheckError extends ApiError { - /** - * @access public - * @var integer - */ - public $startIndex; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; /** * @access public - * @var integer + * @var tnsQuotaCheckErrorReason */ - public $numberResults; + public $reason; /** * Gets the namesapce of this class @@ -1854,36 +1776,39 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("Placement", false)) { +if (!class_exists("RangeError", false)) { /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. + * A list of all errors associated with the Range constraint. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Placement extends Criterion { + class RangeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Placement"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; /** * @access public - * @var string + * @var tnsRangeErrorReason */ - public $url; + public $reason; /** * Gets the namesapce of this class @@ -1901,49 +1826,57 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($url = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("Predicate", false)) { +if (!class_exists("RateExceededError", false)) { /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. + * Signals that a call failed because a measured rate exceeded. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Predicate { + class RateExceededError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Predicate"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError"; + + /** + * @access public + * @var tnsRateExceededErrorReason + */ + public $reason; /** * @access public * @var string */ - public $field; + public $rateName; /** * @access public - * @var tnsPredicateOperator + * @var string */ - public $operator; + public $rateScope; /** * @access public - * @var string[] + * @var integer */ - public $values; + public $retryAfterSeconds; /** * Gets the namesapce of this class @@ -1961,60 +1894,42 @@ 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; + public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("Proximity", false)) { +if (!class_exists("ReadOnlyError", 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. + * Errors from attempting to write to read-only fields. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Proximity extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Proximity"; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; - - /** - * @access public - * @var tnsProximityDistanceUnits - */ - public $radiusDistanceUnits; + class ReadOnlyError extends ApiError { - /** - * @access public - * @var double - */ - public $radiusInUnits; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; /** * @access public - * @var Address + * @var tnsReadOnlyErrorReason */ - public $address; + public $reason; /** * Gets the namesapce of this class @@ -2032,38 +1947,37 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($geoPoint = null, $radiusDistanceUnits = null, $radiusInUnits = null, $address = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->geoPoint = $geoPoint; - $this->radiusDistanceUnits = $radiusDistanceUnits; - $this->radiusInUnits = $radiusInUnits; - $this->address = $address; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("QuotaCheckError", false)) { +if (!class_exists("RegionCodeError", false)) { /** - * Encapsulates the errors thrown during developer quota checks. + * A list of all errors associated with the @RegionCode constraints. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class QuotaCheckError extends ApiError { + class RegionCodeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "QuotaCheckError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError"; /** * @access public - * @var tnsQuotaCheckErrorReason + * @var tnsRegionCodeErrorReason */ public $reason; @@ -2083,10 +1997,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2095,24 +2010,24 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("RangeError", false)) { +if (!class_exists("RejectedError", false)) { /** - * A list of all errors associated with the Range constraint. + * Indicates that a field was rejected due to compatibility issues. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RangeError extends ApiError { + class RejectedError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RangeError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; /** * @access public - * @var tnsRangeErrorReason + * @var tnsRejectedErrorReason */ public $reason; @@ -2132,10 +2047,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2144,45 +2060,28 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("RateExceededError", false)) { +if (!class_exists("RequestError", false)) { /** - * Signals that a call failed because a measured rate exceeded. + * Encapsulates the generic errors thrown when there's an error with user + * request. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RateExceededError extends ApiError { + class RequestError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RateExceededError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; /** * @access public - * @var tnsRateExceededErrorReason + * @var tnsRequestErrorReason */ 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 string the namespace of this class @@ -2199,13 +2098,11 @@ 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) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2214,24 +2111,24 @@ public function __construct($reason = null, $rateName = null, $rateScope = null, } } -if (!class_exists("ReadOnlyError", false)) { +if (!class_exists("RequiredError", false)) { /** - * Errors from attempting to write to read-only fields. + * Errors due to missing required field. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ReadOnlyError extends ApiError { + class RequiredError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "ReadOnlyError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; /** * @access public - * @var tnsReadOnlyErrorReason + * @var tnsRequiredErrorReason */ public $reason; @@ -2251,10 +2148,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2263,24 +2161,24 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("RejectedError", false)) { +if (!class_exists("SizeLimitError", false)) { /** - * Indicates that a field was rejected due to compatibility issues. + * 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_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RejectedError extends ApiError { + class SizeLimitError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RejectedError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; /** * @access public - * @var tnsRejectedErrorReason + * @var tnsSizeLimitErrorReason */ public $reason; @@ -2300,10 +2198,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2312,319 +2211,50 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("RequestError", false)) { +if (!class_exists("SoapRequestHeader", false)) { /** - * Encapsulates the generic errors thrown when there's an error with user - * request. + * Defines the required and optional elements within the header of a SOAP request. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequestError extends ApiError { + class SoapRequestHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RequestError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SoapHeader"; /** * @access public - * @var tnsRequestErrorReason + * @var string */ - public $reason; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $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_v201609 - * @subpackage v201609 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RequiredError"; - - /** - * @access public - * @var tnsRequiredErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $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_v201609 - * @subpackage v201609 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - 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 string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201609 - * @subpackage v201609 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $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_v201609 - * @subpackage v201609 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $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_v201609 - * @subpackage v201609 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - 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; + 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 @@ -2659,13 +2289,13 @@ public function __construct($clientCustomerId = null, $developerToken = null, $u * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SoapResponseHeader { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SoapResponseHeader"; /** @@ -2731,13 +2361,13 @@ public function __construct($requestId = null, $serviceName = null, $methodName * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringFormatError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringFormatError"; /** @@ -2762,10 +2392,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2781,13 +2412,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringLengthError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringLengthError"; /** @@ -2812,10 +2443,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -2831,13 +2463,13 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionUserInterest extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "CriterionUserInterest"; /** @@ -2894,13 +2526,13 @@ public function __construct($userInterestId = null, $userInterestParentId = null * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionUserList extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "CriterionUserList"; /** @@ -2975,13 +2607,13 @@ public function __construct($userListId = null, $userListName = null, $userListM * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class Vertical extends Criterion { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "Vertical"; /** @@ -3031,20 +2663,20 @@ public function __construct($verticalId = null, $verticalParentId = null, $path } } -if (!class_exists("AuthenticationErrorReason", false)) { +if (!class_exists("AdxErrorReason", false)) { /** - * The single reason for the authentication failure. + * The reasons for the AdX error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthenticationErrorReason { + class AdxErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "AuthenticationError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError.Reason"; /** * Gets the namesapce of this class @@ -3068,20 +2700,20 @@ public function __construct() { } } -if (!class_exists("AuthorizationErrorReason", false)) { +if (!class_exists("AuthenticationErrorReason", false)) { /** - * The reasons for the database error. + * The single reason for the authentication failure. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthorizationErrorReason { + class AuthenticationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "AuthorizationError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; /** * Gets the namesapce of this class @@ -3105,21 +2737,20 @@ public function __construct() { } } -if (!class_exists("ClientTermsErrorReason", false)) { +if (!class_exists("AuthorizationErrorReason", false)) { /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. + * The reasons for the database error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ClientTermsErrorReason { + class AuthorizationErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "ClientTermsError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; /** * Gets the namesapce of this class @@ -3143,20 +2774,21 @@ public function __construct() { } } -if (!class_exists("CriterionType", false)) { +if (!class_exists("ClientTermsErrorReason", false)) { /** - * The types of criteria. + * 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_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionType { + class ClientTermsErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Criterion.Type"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; /** * Gets the namesapce of this class @@ -3180,20 +2812,20 @@ public function __construct() { } } -if (!class_exists("DatabaseErrorReason", false)) { +if (!class_exists("CollectionSizeErrorReason", false)) { /** - * The reasons for the database error. + * The reasons for the target error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DatabaseErrorReason { + class CollectionSizeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DatabaseError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CollectionSizeError.Reason"; /** * Gets the namesapce of this class @@ -3217,20 +2849,20 @@ public function __construct() { } } -if (!class_exists("DateErrorReason", false)) { +if (!class_exists("CriterionType", false)) { /** - * The reasons for the target error. + * The types of criteria. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateErrorReason { + class CriterionType { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DateError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Criterion.Type"; /** * Gets the namesapce of this class @@ -3254,20 +2886,20 @@ public function __construct() { } } -if (!class_exists("DayOfWeek", false)) { +if (!class_exists("DatabaseErrorReason", false)) { /** - * Days of the week. + * The reasons for the database error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DayOfWeek { + class DatabaseErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DayOfWeek"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; /** * Gets the namesapce of this class @@ -3291,20 +2923,20 @@ public function __construct() { } } -if (!class_exists("DistinctErrorReason", false)) { +if (!class_exists("DateErrorReason", false)) { /** - * The reasons for the validation error. + * The reasons for the target error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DistinctErrorReason { + class DateErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DistinctError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; /** * Gets the namesapce of this class @@ -3328,21 +2960,20 @@ public function __construct() { } } -if (!class_exists("EntityNotFoundReason", false)) { +if (!class_exists("DistinctErrorReason", 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 reasons for the validation error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class EntityNotFoundReason { + class DistinctErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "EntityNotFound.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; /** * Gets the namesapce of this class @@ -3366,20 +2997,20 @@ public function __construct() { } } -if (!class_exists("IdErrorReason", false)) { +if (!class_exists("EntityAccessDeniedReason", false)) { /** - * The reasons for the target error. + * User did not have read access. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class IdErrorReason { + class EntityAccessDeniedReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "IdError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; /** * Gets the namesapce of this class @@ -3403,20 +3034,21 @@ public function __construct() { } } -if (!class_exists("InternalApiErrorReason", false)) { +if (!class_exists("EntityNotFoundReason", false)) { /** - * The single reason for the internal API error. + * 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. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class InternalApiErrorReason { + class EntityNotFoundReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "InternalApiError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; /** * Gets the namesapce of this class @@ -3440,21 +3072,20 @@ public function __construct() { } } -if (!class_exists("KeywordMatchType", false)) { +if (!class_exists("IdErrorReason", false)) { /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. + * The reasons for the target error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class KeywordMatchType { + class IdErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "KeywordMatchType"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; /** * Gets the namesapce of this class @@ -3478,20 +3109,20 @@ public function __construct() { } } -if (!class_exists("LocationTargetingStatus", false)) { +if (!class_exists("InternalApiErrorReason", false)) { /** - * Enum that represents the different Targeting Status values for a Location criterion. + * The single reason for the internal API error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class LocationTargetingStatus { + class InternalApiErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "LocationTargetingStatus"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; /** * Gets the namesapce of this class @@ -3515,20 +3146,21 @@ public function __construct() { } } -if (!class_exists("MinuteOfHour", false)) { +if (!class_exists("KeywordMatchType", false)) { /** - * Minutes in an hour. Currently only 0, 15, 30, and 45 are supported + * 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_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MinuteOfHour { + class KeywordMatchType { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "MinuteOfHour"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "KeywordMatchType"; /** * Gets the namesapce of this class @@ -3552,20 +3184,20 @@ public function __construct() { } } -if (!class_exists("NotEmptyErrorReason", false)) { +if (!class_exists("LocationTargetingStatus", false)) { /** - * The reasons for the validation error. + * Enum that represents the different Targeting Status values for a Location criterion. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NotEmptyErrorReason { + class LocationTargetingStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NotEmptyError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LocationTargetingStatus"; /** * Gets the namesapce of this class @@ -3589,20 +3221,20 @@ public function __construct() { } } -if (!class_exists("NullErrorReason", false)) { +if (!class_exists("NotEmptyErrorReason", false)) { /** * The reasons for the validation error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NullErrorReason { + class NotEmptyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NullError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; /** * Gets the namesapce of this class @@ -3626,20 +3258,20 @@ public function __construct() { } } -if (!class_exists("OperationAccessDeniedReason", false)) { +if (!class_exists("NullErrorReason", false)) { /** - * The reasons for the operation access error. + * The reasons for the validation error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperationAccessDeniedReason { + class NullErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OperationAccessDenied.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; /** * Gets the namesapce of this class @@ -3663,20 +3295,20 @@ public function __construct() { } } -if (!class_exists("Operator", false)) { +if (!class_exists("OperationAccessDeniedReason", false)) { /** - * This represents an operator that may be presented to an adsapi service. + * The reasons for the operation access error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Operator { + class OperationAccessDeniedReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Operator"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; /** * Gets the namesapce of this class @@ -3706,13 +3338,13 @@ public function __construct() { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class OperatorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "OperatorError.Reason"; /** @@ -3737,80 +3369,6 @@ 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_v201609 - * @subpackage v201609 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Predicate.Operator"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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_v201609 - * @subpackage v201609 - */ - class ProximityDistanceUnits { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Proximity.DistanceUnits"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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 @@ -3818,13 +3376,13 @@ public function __construct() { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class QuotaCheckErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "QuotaCheckError.Reason"; /** @@ -3855,13 +3413,13 @@ public function __construct() { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RangeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RangeError.Reason"; /** @@ -3892,13 +3450,13 @@ public function __construct() { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class RateExceededErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "RateExceededError.Reason"; /** @@ -3929,13 +3487,13 @@ public function __construct() { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ReadOnlyErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ReadOnlyError.Reason"; /** @@ -3960,20 +3518,20 @@ public function __construct() { } } -if (!class_exists("RejectedErrorReason", false)) { +if (!class_exists("RegionCodeErrorReason", false)) { /** - * The reasons for the target error. + * The reasons for the validation error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RejectedErrorReason { + class RegionCodeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RejectedError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RegionCodeError.Reason"; /** * Gets the namesapce of this class @@ -3997,20 +3555,20 @@ public function __construct() { } } -if (!class_exists("RequestErrorReason", false)) { +if (!class_exists("RejectedErrorReason", false)) { /** - * Error reason is unknown. + * The reasons for the target error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequestErrorReason { + class RejectedErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RequestError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; /** * Gets the namesapce of this class @@ -4034,20 +3592,20 @@ public function __construct() { } } -if (!class_exists("RequiredErrorReason", false)) { +if (!class_exists("RequestErrorReason", false)) { /** - * The reasons for the target error. + * Error reason is unknown. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequiredErrorReason { + class RequestErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RequiredError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; /** * Gets the namesapce of this class @@ -4071,20 +3629,20 @@ public function __construct() { } } -if (!class_exists("SelectorErrorReason", false)) { +if (!class_exists("RequiredErrorReason", false)) { /** * The reasons for the target error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SelectorErrorReason { + class RequiredErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SelectorError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; /** * Gets the namesapce of this class @@ -4114,13 +3672,13 @@ public function __construct() { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class SizeLimitErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "SizeLimitError.Reason"; /** @@ -4145,56 +3703,19 @@ public function __construct() { } } -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - if (!class_exists("StringFormatErrorReason", false)) { /** * The reasons for the target error. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringFormatErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringFormatError.Reason"; /** @@ -4225,13 +3746,13 @@ public function __construct() { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class StringLengthErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "StringLengthError.Reason"; /** @@ -4262,13 +3783,13 @@ public function __construct() { * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class CriterionUserListMembershipStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "CriterionUserList.MembershipStatus"; /** @@ -4293,55 +3814,22 @@ public function __construct() { } } -if (!class_exists("AdSchedule", false)) { +if (!class_exists("CurrencyCodeError", false)) { /** - * Represents an AdSchedule Criterion. - * It is a variant of {@code AdSchedule} that also keeps track of the time zone. - * Note: one single day may not have more than six AdSchedules after the time zone adjustment. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors for currency codes. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AdSchedule extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "AdSchedule"; - - /** - * @access public - * @var cmDayOfWeek - */ - public $dayOfWeek; - - /** - * @access public - * @var integer - */ - public $startHour; - - /** - * @access public - * @var cmMinuteOfHour - */ - public $startMinute; - - /** - * @access public - * @var integer - */ - public $endHour; + class CurrencyCodeError extends ApiError { - /** - * @access public - * @var cmMinuteOfHour - */ - public $endMinute; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "CurrencyCodeError"; /** * @access public - * @var string + * @var tnsCurrencyCodeErrorReason */ - public $timeZone; + public $reason; /** * Gets the namesapce of this class @@ -4359,143 +3847,67 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($dayOfWeek = null, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $timeZone = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->dayOfWeek = $dayOfWeek; - $this->startHour = $startHour; - $this->startMinute = $startMinute; - $this->endHour = $endHour; - $this->endMinute = $endMinute; - $this->timeZone = $timeZone; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("BusinessHour", false)) { +if (!class_exists("Estimate", false)) { /** - * A marker criterion which allows the user to run his/her ad according to the business hour of - * his/her business. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Abstract class representing an reply to an {@link EstimateRequest}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class BusinessHour extends Criterion { + class Estimate { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "BusinessHour"; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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("Creative", false)) { - /** - * Creative for a text ad. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 - */ - class Creative { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "Creative"; - - /** - * @access public - * @var string - */ - public $headline; - - /** - * @access public - * @var string - */ - public $line1; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "Estimate"; /** * @access public * @var string */ - public $line2; + public $EstimateType; + private $_parameterMap = array( + "Estimate.Type" => "EstimateType", + ); /** - * Gets the namesapce of this class - * @return string the namespace of this class + * Provided for setting non-php-standard named variables + * @param $var Variable name to set + * @param $value Value to set */ - public function getNamespace() { - return self::WSDL_NAMESPACE; + public function __set($var, $value) { + $this->{$this->_parameterMap[$var]} = $value; } /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class + * Provided for getting non-php-standard named variables + * @param $var Variable name to get + * @return mixed Variable value */ - 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; + public function __get($var) { + if (!isset($this->_parameterMap[$var])) { + return null; + } + return $this->{$this->_parameterMap[$var]}; } - } -} - -if (!class_exists("ExpandedCreative", false)) { - /** - * Creative for expanded text ad format. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 - */ - class ExpandedCreative { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ExpandedCreative"; - /** - * @access public - * @var string - */ - public $headline1; - - /** - * @access public - * @var string - */ - public $headline2; - - /** - * @access public - * @var string + * Provided for getting non-php-standard named variables + * @return array parameter map */ - public $description; + protected function getParameterMap() { + return $this->_parameterMap; + } /** * Gets the namesapce of this class @@ -4513,128 +3925,62 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($headline1 = null, $headline2 = null, $description = null) { - $this->headline1 = $headline1; - $this->headline2 = $headline2; - $this->description = $description; + public function __construct($EstimateType = null) { + $this->EstimateType = $EstimateType; } } } -if (!class_exists("ExpressSoapHeader", false)) { +if (!class_exists("EstimateRequest", false)) { /** - * {@link SoapHeader} for AdWords Express services. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Abstract class representing a request to estimate stats. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ExpressSoapHeader extends SoapRequestHeader { + class EstimateRequest { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ExpressSoapHeader"; - - /** - * @access public - * @var integer - */ - public $expressBusinessId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "EstimateRequest"; /** * @access public * @var string */ - public $pageId; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } + public $EstimateRequestType; + private $_parameterMap = array( + "EstimateRequest.Type" => "EstimateRequestType", + ); /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class + * Provided for setting non-php-standard named variables + * @param $var Variable name to set + * @param $value Value to set */ - 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; + public function __set($var, $value) { + $this->{$this->_parameterMap[$var]} = $value; } - } -} - -if (!class_exists("NoStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 - */ - class NoStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "NoStatsPage"; - /** - * Gets the namesapce of this class - * @return string the namespace of this class + * Provided for getting non-php-standard named variables + * @param $var Variable name to get + * @return mixed Variable value */ - public function getNamespace() { - return self::WSDL_NAMESPACE; + public function __get($var) { + if (!isset($this->_parameterMap[$var])) { + return null; + } + return $this->{$this->_parameterMap[$var]}; } /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class + * Provided for getting non-php-standard named variables + * @return array parameter map */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; + protected function getParameterMap() { + return $this->_parameterMap; } - } -} - -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_v201609 - * @subpackage v201609 - */ - class PhoneNumber { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "PhoneNumber"; - - /** - * @access public - * @var tnsRegionCode - */ - public $regionCode; - - /** - * @access public - * @var string - */ - public $number; - /** * Gets the namesapce of this class * @return string the namespace of this class @@ -4651,71 +3997,41 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($regionCode = null, $number = null) { - $this->regionCode = $regionCode; - $this->number = $number; + public function __construct($EstimateRequestType = null) { + $this->EstimateRequestType = $EstimateRequestType; } } } -if (!class_exists("PolicyViolationError", false)) { +if (!class_exists("KeywordEstimate", 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_v201609 - * @subpackage v201609 + * Represents the traffic estimate result for a single keyword. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PolicyViolationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "PolicyViolationError"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * @access public - * @var string - */ - public $externalPolicyName; + class KeywordEstimate extends Estimate { - /** - * @access public - * @var string - */ - public $externalPolicyUrl; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "KeywordEstimate"; /** * @access public - * @var string + * @var integer */ - public $externalPolicyDescription; + public $criterionId; /** * @access public - * @var boolean + * @var StatsEstimate */ - public $isExemptable; + public $min; /** * @access public - * @var PolicyViolationErrorPart[] + * @var StatsEstimate */ - public $violatingParts; + public $max; /** * Gets the namesapce of this class @@ -4733,142 +4049,45 @@ 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) { + public function __construct($criterionId = null, $min = null, $max = null, $EstimateType = 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_v201609 - * @subpackage v201609 - */ - class PolicyViolationErrorPart { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "PolicyViolationError.Part"; - - /** - * @access public - * @var integer - */ - public $index; - - /** - * @access public - * @var integer - */ - public $length; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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; + $this->criterionId = $criterionId; + $this->min = $min; + $this->max = $max; + $this->EstimateType = $EstimateType; } } } -if (!class_exists("PolicyViolationKey", false)) { +if (!class_exists("KeywordEstimateRequest", false)) { /** - * Key of the violation. The key is used for referring to a violation when - * filing an exemption request. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Represents a keyword to be estimated. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PolicyViolationKey { + class KeywordEstimateRequest extends EstimateRequest { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "PolicyViolationKey"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "KeywordEstimateRequest"; /** * @access public - * @var string + * @var Keyword */ - public $policyName; + public $keyword; /** * @access public - * @var string - */ - public $violatingText; - - /** - * Gets the namesapce of this class - * @return string the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return string 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("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_v201609 - * @subpackage v201609 - */ - class ProductService extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ProductService"; - - /** - * @access public - * @var string + * @var Money */ - public $text; + public $maxCpc; /** * @access public - * @var string + * @var boolean */ - public $locale; + public $isNegative; /** * Gets the namesapce of this class @@ -4886,101 +4105,121 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($text = null, $locale = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($keyword = null, $maxCpc = null, $isNegative = null, $EstimateRequestType = null) { parent::__construct(); - $this->text = $text; - $this->locale = $locale; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->keyword = $keyword; + $this->maxCpc = $maxCpc; + $this->isNegative = $isNegative; + $this->EstimateRequestType = $EstimateRequestType; } } } -if (!class_exists("Promotion", false)) { +if (!class_exists("PlatformCampaignEstimate", 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_v201609 - * @subpackage v201609 + * Contains a campaign level estimate for a specified {@link Platform}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Promotion { + class PlatformCampaignEstimate { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "Promotion"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "PlatformCampaignEstimate"; /** * @access public - * @var integer + * @var Platform */ - public $id; + public $platform; /** * @access public - * @var string + * @var StatsEstimate */ - public $name; + public $minEstimate; /** * @access public - * @var tnsPromotionStatus + * @var StatsEstimate */ - public $status; + public $maxEstimate; /** - * @access public - * @var Creative[] - */ - public $creatives; - - /** - * @access public - * @var ExpandedCreative + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $expandedCreative; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var string + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $destinationUrl; + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($platform = null, $minEstimate = null, $maxEstimate = null) { + $this->platform = $platform; + $this->minEstimate = $minEstimate; + $this->maxEstimate = $maxEstimate; + } + + } +} + +if (!class_exists("StatsEstimate", false)) { + /** + * Represents a set of stats for a daily traffic estimate. + * + *
{@code averageCpc}, {@code averagePosition} and {@code clickThroughRate} will be + * {@code null} when not defined and {@code clicksPerDay} or {@code impressionsPerDay} + * is {@code 0}, respectively.
+ * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StatsEstimate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "StatsEstimate"; /** * @access public - * @var PhoneNumber + * @var Money */ - public $phoneNumber; + public $averageCpc; /** * @access public - * @var boolean + * @var double */ - public $streetAddressVisible; + public $averagePosition; /** * @access public - * @var boolean + * @var double */ - public $callTrackingEnabled; + public $clickThroughRate; /** * @access public - * @var Money + * @var double */ - public $budget; + public $clicksPerDay; /** * @access public - * @var Criterion[] + * @var double */ - public $criteria; + public $impressionsPerDay; /** * @access public - * @var integer[] + * @var Money */ - public $campaignIds; + public $totalCost; /** * Gets the namesapce of this class @@ -4998,38 +4237,32 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($id = null, $name = null, $status = null, $creatives = null, $expandedCreative = null, $destinationUrl = null, $phoneNumber = null, $streetAddressVisible = null, $callTrackingEnabled = null, $budget = null, $criteria = null, $campaignIds = null) { - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->creatives = $creatives; - $this->expandedCreative = $expandedCreative; - $this->destinationUrl = $destinationUrl; - $this->phoneNumber = $phoneNumber; - $this->streetAddressVisible = $streetAddressVisible; - $this->callTrackingEnabled = $callTrackingEnabled; - $this->budget = $budget; - $this->criteria = $criteria; - $this->campaignIds = $campaignIds; + 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("PromotionError", false)) { +if (!class_exists("TrafficEstimatorError", false)) { /** - * Promotion related errors for AdWords Express. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Base error class for {@link TrafficEstimatorService}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionError extends ApiError { + class TrafficEstimatorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "PromotionError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "TrafficEstimatorError"; /** * @access public - * @var tnsPromotionErrorReason + * @var tnsTrafficEstimatorErrorReason */ public $reason; @@ -5049,10 +4282,11 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); $this->reason = $reason; $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -5061,26 +4295,22 @@ public function __construct($reason = null, $fieldPath = null, $trigger = null, } } -if (!class_exists("PromotionOperation", false)) { +if (!class_exists("TrafficEstimatorResult", 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
.
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_v201609 - * @subpackage v201609 + * Encodes the reason (cause) of a particular {@link CurrencyCodeError}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionStatus { + class CurrencyCodeErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "Promotion.Status"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "CurrencyCodeError.Reason"; /** * Gets the namesapce of this class @@ -5188,16 +4415,17 @@ public function __construct() { } } -if (!class_exists("PromotionErrorReason", false)) { +if (!class_exists("TrafficEstimatorErrorReason", false)) { /** - * Reason behind the {@code PromotionError}. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * When the request with {@code null} campaign ID in {@link CampaignEstimateRequest} contains an + * {@link AdGroupEstimateRequest} with an ID. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionErrorReason { + class TrafficEstimatorErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "PromotionError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "TrafficEstimatorError.Reason"; /** * Gets the namesapce of this class @@ -5221,82 +4449,31 @@ public function __construct() { } } -if (!class_exists("RegionCode", false)) { +if (!class_exists("TrafficEstimatorServiceGet", 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: - *
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: - * - *
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_v201609 - * @subpackage v201609 + * 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_v201705 + * @subpackage v201705 */ - class RegionCode { + class TrafficEstimatorServiceGet { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "RegionCode"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var TrafficEstimatorSelector + */ + public $selector; /** * Gets the namesapce of this class @@ -5314,34 +4491,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($selector = null) { + $this->selector = $selector; } } } -if (!class_exists("PromotionServiceGet", false)) { +if (!class_exists("TrafficEstimatorServiceGetResponse", 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionServiceGet { + class TrafficEstimatorServiceGetResponse { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; const XSI_TYPE = ""; /** * @access public - * @var Selector + * @var TrafficEstimatorResult */ - public $selector; + public $rval; /** * Gets the namesapce of this class @@ -5359,29 +4531,33 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($selector = null) { - $this->selector = $selector; + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("PromotionServiceGetResponse", false)) { +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_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionServiceGetResponse { + class AdxError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdxError"; /** * @access public - * @var PromotionPage + * @var tnsAdxErrorReason */ - public $rval; + public $reason; /** * Gets the namesapce of this class @@ -5399,37 +4575,39 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($rval = null) { - $this->rval = $rval; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("PromotionServiceMutate", false)) { +if (!class_exists("ApiException", false)) { /** - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. + * Exception class for holding a list of service errors. * * * - * 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_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionServiceMutate { + class ApiException extends ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; /** * @access public - * @var PromotionOperation[] + * @var ApiError[] */ - public $operations; + public $errors; /** * Gets the namesapce of this class @@ -5447,29 +4625,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($operations = null) { - $this->operations = $operations; + public function __construct($errors = null, $message = null, $ApplicationExceptionType = null) { + parent::__construct(); + $this->errors = $errors; + $this->message = $message; + $this->ApplicationExceptionType = $ApplicationExceptionType; } } } -if (!class_exists("PromotionServiceMutateResponse", false)) { +if (!class_exists("DoubleValue", false)) { /** + * Number value type for constructing double valued ranges. * - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * + * + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionServiceMutateResponse { + class DoubleValue extends NumberValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DoubleValue"; /** * @access public - * @var Promotion[] + * @var double */ - public $rval; + public $number; /** * Gets the namesapce of this class @@ -5487,33 +4672,34 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($rval = null) { - $this->rval = $rval; + public function __construct($number = null) { + parent::__construct(); + $this->number = $number; } } } -if (!class_exists("ApiException", false)) { +if (!class_exists("LongValue", false)) { /** - * Exception class for holding a list of service errors. + * Number value type for constructing long valued ranges. * * * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ApiException extends ApplicationException { + class LongValue extends NumberValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "ApiException"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "LongValue"; /** * @access public - * @var ApiError[] + * @var integer */ - public $errors; + public $number; /** * Gets the namesapce of this class @@ -5531,36 +4717,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($errors = null, $message = null, $ApplicationExceptionType = null) { + public function __construct($number = null) { parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; + $this->number = $number; } } } -if (!class_exists("DoubleValue", false)) { +if (!class_exists("AdGroupEstimate", false)) { /** - * Number value type for constructing double valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Represents the estimate results for a single ad group. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DoubleValue extends NumberValue { + class AdGroupEstimate extends Estimate { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DoubleValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "AdGroupEstimate"; /** * @access public - * @var double + * @var integer */ - public $number; + public $adGroupId; + + /** + * @access public + * @var KeywordEstimate[] + */ + public $keywordEstimates; /** * Gets the namesapce of this class @@ -5578,34 +4764,54 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($number = null) { + public function __construct($adGroupId = null, $keywordEstimates = null, $EstimateType = null) { parent::__construct(); - $this->number = $number; + $this->adGroupId = $adGroupId; + $this->keywordEstimates = $keywordEstimates; + $this->EstimateType = $EstimateType; } } } -if (!class_exists("LongValue", false)) { +if (!class_exists("AdGroupEstimateRequest", false)) { /** - * Number value type for constructing long valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * 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_v201705 + * @subpackage v201705 */ - class LongValue extends NumberValue { + class AdGroupEstimateRequest extends EstimateRequest { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "LongValue"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "AdGroupEstimateRequest"; /** * @access public * @var integer */ - public $number; + public $adGroupId; + + /** + * @access public + * @var KeywordEstimateRequest[] + */ + public $keywordEstimateRequests; + + /** + * @access public + * @var Money + */ + public $maxCpc; /** * Gets the namesapce of this class @@ -5623,53 +4829,198 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($number = null) { + public function __construct($adGroupId = null, $keywordEstimateRequests = null, $maxCpc = null, $EstimateRequestType = null) { parent::__construct(); - $this->number = $number; + $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_v201705 + * @subpackage v201705 + */ + class CampaignEstimate extends Estimate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const XSI_TYPE = "CampaignEstimate"; + + /** + * @access public + * @var integer + */ + public $campaignId; + + /** + * @access public + * @var AdGroupEstimate[] + */ + public $adGroupEstimates; + + /** + * @access public + * @var PlatformCampaignEstimate[] + */ + public $platformEstimates; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($campaignId = null, $adGroupEstimates = null, $platformEstimates = null, $EstimateType = null) { + parent::__construct(); + $this->campaignId = $campaignId; + $this->adGroupEstimates = $adGroupEstimates; + $this->platformEstimates = $platformEstimates; + $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_v201705 + * @subpackage v201705 + */ + class CampaignEstimateRequest extends EstimateRequest { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("PromotionService", false)) { +if (!class_exists("TrafficEstimatorService", false)) { /** - * PromotionService - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * TrafficEstimatorService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PromotionService extends AdWordsSoapClient { + class TrafficEstimatorService extends AdWordsSoapClient { - const SERVICE_NAME = "PromotionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201609/PromotionService"; + const SERVICE_NAME = "TrafficEstimatorService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/o/v201705/TrafficEstimatorService"; /** * The endpoint of the service * @var string */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201609/PromotionService"; + public static $endpoint = "https://adwords.google.com/api/adwords/o/v201705/TrafficEstimatorService"; /** * Default class map for wsdl=>php * @access private * @var array */ public static $classmap = array( - "Address" => "Address", + "AdxError" => "AdxError", "ApiError" => "ApiError", "ApiException" => "ApiException", "ApplicationException" => "ApplicationException", "AuthenticationError" => "AuthenticationError", "AuthorizationError" => "AuthorizationError", "ClientTermsError" => "ClientTermsError", + "CollectionSizeError" => "CollectionSizeError", "ComparableValue" => "ComparableValue", "Criterion" => "Criterion", "DatabaseError" => "DatabaseError", "DateError" => "DateError", - "DateRange" => "DateRange", "DistinctError" => "DistinctError", "DoubleValue" => "DoubleValue", + "EntityAccessDenied" => "EntityAccessDenied", "EntityNotFound" => "EntityNotFound", - "GeoPoint" => "GeoPoint", + "FieldPathElement" => "FieldPathElement", "IdError" => "IdError", "InternalApiError" => "InternalApiError", "Keyword" => "Keyword", @@ -5679,27 +5030,22 @@ class PromotionService extends AdWordsSoapClient { "MobileAppCategory" => "MobileAppCategory", "MobileApplication" => "MobileApplication", "Money" => "Money", + "NetworkSetting" => "NetworkSetting", "NotEmptyError" => "NotEmptyError", "NullError" => "NullError", "NumberValue" => "NumberValue", - "Operation" => "Operation", "OperationAccessDenied" => "OperationAccessDenied", "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", "Placement" => "Placement", - "Predicate" => "Predicate", - "Proximity" => "Proximity", + "Platform" => "Platform", "QuotaCheckError" => "QuotaCheckError", "RangeError" => "RangeError", "RateExceededError" => "RateExceededError", "ReadOnlyError" => "ReadOnlyError", + "RegionCodeError" => "RegionCodeError", "RejectedError" => "RejectedError", "RequestError" => "RequestError", "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", "SizeLimitError" => "SizeLimitError", "SoapHeader" => "SoapRequestHeader", "SoapResponseHeader" => "SoapResponseHeader", @@ -5708,62 +5054,55 @@ class PromotionService extends AdWordsSoapClient { "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", - "DayOfWeek" => "DayOfWeek", "DistinctError.Reason" => "DistinctErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", "EntityNotFound.Reason" => "EntityNotFoundReason", "IdError.Reason" => "IdErrorReason", "InternalApiError.Reason" => "InternalApiErrorReason", "KeywordMatchType" => "KeywordMatchType", "LocationTargetingStatus" => "LocationTargetingStatus", - "MinuteOfHour" => "MinuteOfHour", "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", + "RegionCodeError.Reason" => "RegionCodeErrorReason", "RejectedError.Reason" => "RejectedErrorReason", "RequestError.Reason" => "RequestErrorReason", "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", "StringFormatError.Reason" => "StringFormatErrorReason", "StringLengthError.Reason" => "StringLengthErrorReason", "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "AdSchedule" => "AdSchedule", - "BusinessHour" => "BusinessHour", - "Creative" => "Creative", - "ExpandedCreative" => "ExpandedCreative", - "ExpressSoapHeader" => "ExpressSoapHeader", - "NoStatsPage" => "NoStatsPage", - "PhoneNumber" => "PhoneNumber", - "PolicyViolationError" => "PolicyViolationError", - "PolicyViolationError.Part" => "PolicyViolationErrorPart", - "PolicyViolationKey" => "PolicyViolationKey", - "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", + "AdGroupEstimate" => "AdGroupEstimate", + "AdGroupEstimateRequest" => "AdGroupEstimateRequest", + "CampaignEstimate" => "CampaignEstimate", + "CampaignEstimateRequest" => "CampaignEstimateRequest", + "CurrencyCodeError" => "CurrencyCodeError", + "Estimate" => "Estimate", + "EstimateRequest" => "EstimateRequest", + "KeywordEstimate" => "KeywordEstimate", + "KeywordEstimateRequest" => "KeywordEstimateRequest", + "PlatformCampaignEstimate" => "PlatformCampaignEstimate", + "StatsEstimate" => "StatsEstimate", + "TrafficEstimatorError" => "TrafficEstimatorError", + "TrafficEstimatorResult" => "TrafficEstimatorResult", + "TrafficEstimatorSelector" => "TrafficEstimatorSelector", + "CurrencyCodeError.Reason" => "CurrencyCodeErrorReason", + "TrafficEstimatorError.Reason" => "TrafficEstimatorErrorReason", + "get" => "TrafficEstimatorServiceGet", + "getResponse" => "TrafficEstimatorServiceGetResponse", ); @@ -5782,31 +5121,18 @@ public function __construct($wsdl, $options, $user) { * * * - * 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 + * 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 PromotionServiceGet($selector); + $args = new TrafficEstimatorServiceGet($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/v201705/TrialAsyncErrorService.php b/src/Google/Api/Ads/AdWords/v201705/TrialAsyncErrorService.php new file mode 100755 index 000000000..a80521440 --- /dev/null +++ b/src/Google/Api/Ads/AdWords/v201705/TrialAsyncErrorService.php @@ -0,0 +1,5626 @@ +min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PolicyViolationErrorPart { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationError.Part"; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * @access public + * @var integer + */ + public $length; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PolicyViolationKey { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PolicyViolationKey"; + + /** + * @access public + * @var string + */ + public $policyName; + + /** + * @access public + * @var string + */ + public $violatingText; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiError"; + + /** + * @access public + * @var string + */ + public $fieldPath; + + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ApplicationException", false)) { + /** + * Base class for exceptions. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Selector { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TrialAsyncError", false)) { + /** + * An error that has occurred while asynchronously processing the creation or promotion of a trial. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TrialAsyncError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TrialAsyncError"; + + /** + * @access public + * @var integer + */ + public $trialId; + + /** + * @access public + * @var ApiError + */ + public $asyncError; + + /** + * @access public + * @var integer + */ + public $trialCampaignId; + + /** + * @access public + * @var integer + */ + public $trialAdGroupId; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * @access public + * @var integer + */ + public $baseAdGroupId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($trialId = null, $asyncError = null, $trialCampaignId = null, $trialAdGroupId = null, $baseCampaignId = null, $baseAdGroupId = null) { + $this->trialId = $trialId; + $this->asyncError = $asyncError; + $this->trialCampaignId = $trialCampaignId; + $this->trialAdGroupId = $trialAdGroupId; + $this->baseCampaignId = $baseCampaignId; + $this->baseAdGroupId = $baseAdGroupId; + } + + } +} + +if (!class_exists("Page", false)) { + /** + * Contains the results from a get call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("AdErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupAdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupFeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupFeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdGroupServiceErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupServiceError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("AdSharingErrorReason", false)) { + /** + * Reasons for error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdSharingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdSharingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthenticationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AuthorizationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("BiddingErrorsReason", false)) { + /** + * Cannot transition to new bidding strategy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingErrorsReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignCriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CampaignFeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignFeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CampaignPreferenceErrorReason", false)) { + /** + * A campaign cannot have two preferences with the same preference key. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignPreferenceErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignPreferenceError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("CampaignSharedSetErrorReason", false)) { + /** + * Error reasons + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ClientTermsErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class CriterionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DatabaseErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DateErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("DateRangeErrorReason", false)) { + /** + * The reasons for the date range error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class DistinctErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceededReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FeedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class FunctionErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class IdErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ImageErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ImageError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class InternalApiErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class MediaErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("MultiplierErrorReason", false)) { + /** + * Reason for bidding error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MultiplierErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MultiplierError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NotEmptyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class NullErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperationAccessDeniedReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class OperatorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PagingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QuotaCheckErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RangeErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RateExceededErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class ReadOnlyErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RejectedErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequestErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SelectorErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SettingErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SettingError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SizeLimitErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SortOrder { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("StringFormatErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class StringLengthErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("UrlErrorReason", false)) { + /** + * The reasons for the url error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class VideoErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "VideoError.Reason"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct() { + } + + } +} + +if (!class_exists("TrialAsyncErrorServiceGet", false)) { + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a TrialAsyncErrorPage that contains a list of TrialAsyncErrors matching the selector. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TrialAsyncErrorServiceGet { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var Selector + */ + public $selector; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TrialAsyncErrorServiceGetResponse", false)) { + /** + * + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TrialAsyncErrorServiceGetResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var TrialAsyncErrorPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 TrialAsyncErrorPage that contains a list of TrialAsyncError matching the query. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Query { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var string + */ + public $query; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class QueryResponse { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; + + /** + * @access public + * @var TrialAsyncErrorPage + */ + public $rval; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class AdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdError"; + + /** + * @access public + * @var tnsAdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupAdError", false)) { + /** + * Error information for AdGroupAdService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupAdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupAdError"; + + /** + * @access public + * @var tnsAdGroupAdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupCriterionError", false)) { + /** + * Base error class for Ad Group Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupCriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupCriterionError"; + + /** + * @access public + * @var tnsAdGroupCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupFeedError", false)) { + /** + * Represents an error for the AdGroupFeedService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupFeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupFeedError"; + + /** + * @access public + * @var tnsAdGroupFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdGroupServiceError", false)) { + /** + * Represents possible error codes in AdGroupService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdGroupServiceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdGroupServiceError"; + + /** + * @access public + * @var tnsAdGroupServiceErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AdSharingError", false)) { + /** + * Errors related using the AdGroupAdService to create an AdGroupAd + * with a reference to an existing AdId. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AdSharingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AdSharingError"; + + /** + * @access public + * @var tnsAdSharingErrorReason + */ + public $reason; + + /** + * @access public + * @var ApiError + */ + public $sharedAdError; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $sharedAdError = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->sharedAdError = $sharedAdError; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("AuthenticationError", false)) { + /** + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class AuthenticationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; + + /** + * @access public + * @var tnsAuthenticationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class AuthorizationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class BiddingErrors extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors"; + + /** + * @access public + * @var tnsBiddingErrorsReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignCriterionError", false)) { + /** + * Base error class for Campaign Criterion Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignCriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignCriterionError"; + + /** + * @access public + * @var tnsCampaignCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CampaignError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignError"; + + /** + * @access public + * @var tnsCampaignErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignFeedError", false)) { + /** + * Represents an error for the CampaignFeedService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignFeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignFeedError"; + + /** + * @access public + * @var tnsCampaignFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignPreferenceError", false)) { + /** + * Represents error codes for campaign preferences. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignPreferenceError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignPreferenceError"; + + /** + * @access public + * @var tnsCampaignPreferenceErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("CampaignSharedSetError", false)) { + /** + * Represents error codes for the CampaignSharedSetService. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class CampaignSharedSetError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignSharedSetError"; + + /** + * @access public + * @var tnsCampaignSharedSetErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ClientTermsError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class CriterionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CriterionError"; + + /** + * @access public + * @var tnsCriterionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DateError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("DateRangeError", false)) { + /** + * A list of all the error codes being used for date range error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class DateRangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRangeError"; + + /** + * @access public + * @var tnsDateRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DistinctError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("EntityAccessDenied", false)) { + /** + * Reports permission problems trying to access an entity. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class EntityAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityAccessDenied"; + + /** + * @access public + * @var tnsEntityAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityCountLimitExceeded extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class EntityNotFound extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class FeedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FeedError"; + + /** + * @access public + * @var tnsFeedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("FunctionError", false)) { + /** + * Errors that indicate issues with the function. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FunctionError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FunctionError"; + + /** + * @access public + * @var tnsFunctionErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("IdError", false)) { + /** + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class IdError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("ImageError", false)) { + /** + * Error class for errors associated with parsing image data. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class ImageError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ImageError"; + + /** + * @access public + * @var tnsImageErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class InternalApiError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class MediaError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MediaError"; + + /** + * @access public + * @var tnsMediaErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("MultiplierError", false)) { + /** + * Represents errors in bid multipliers. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class MultiplierError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "MultiplierError"; + + /** + * @access public + * @var tnsMultiplierErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NewEntityCreationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NewEntityCreationError"; + + /** + * @access public + * @var tnsNewEntityCreationErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NotEmptyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; + + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperationAccessDenied extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class OperatorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("PagingError", false)) { + /** + * Error codes for pagination. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PagingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "PagingError"; + + /** + * @access public + * @var tnsPagingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QueryError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QueryError"; + + /** + * @access public + * @var tnsQueryErrorReason + */ + public $reason; + + /** + * @access public + * @var string + */ + public $message; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $message = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->message = $message; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class QuotaCheckError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RangeError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RateExceededError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ReadOnlyError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RejectedError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; + + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class RequiredError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SelectorError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SettingError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SettingError"; + + /** + * @access public + * @var tnsSettingErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class SizeLimitError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("StringFormatError", false)) { + /** + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class StringFormatError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; + + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("UrlError", false)) { + /** + * Url Validation errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class UrlError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "UrlError"; + + /** + * @access public + * @var tnsUrlErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; + } + + } +} + +if (!class_exists("VideoError", false)) { + /** + * Error class for errors associated with parsing video data. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class VideoError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "VideoError"; + + /** + * @access public + * @var tnsVideoErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class DatabaseError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; + + /** + * @access public + * @var tnsDatabaseErrorReason + */ + public $reason; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class PolicyViolationError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $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_v201705 + * @subpackage v201705 + */ + class ApiException extends ApplicationException { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ApiException"; + + /** + * @access public + * @var ApiError[] + */ + public $errors; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TrialAsyncErrorPage", false)) { + /** + * Contains a subset of TrialAsyncErrors resulting from the filtering and paging of + * {@link TrialAsyncErrorService#get} call. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TrialAsyncErrorPage extends Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TrialAsyncErrorPage"; + + /** + * @access public + * @var TrialAsyncError[] + */ + public $entries; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("TrialAsyncErrorService", false)) { + /** + * TrialAsyncErrorService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class TrialAsyncErrorService extends AdWordsSoapClient { + + const SERVICE_NAME = "TrialAsyncErrorService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/TrialAsyncErrorService"; + + /** + * The endpoint of the service + * @var string + */ + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/TrialAsyncErrorService"; + /** + * Default class map for wsdl=>php + * @access private + * @var array + */ + public static $classmap = array( + "AdError" => "AdError", + "AdGroupAdError" => "AdGroupAdError", + "AdGroupCriterionError" => "AdGroupCriterionError", + "AdGroupFeedError" => "AdGroupFeedError", + "AdGroupServiceError" => "AdGroupServiceError", + "AdSharingError" => "AdSharingError", + "AuthenticationError" => "AuthenticationError", + "AuthorizationError" => "AuthorizationError", + "BiddingErrors" => "BiddingErrors", + "CampaignCriterionError" => "CampaignCriterionError", + "CampaignError" => "CampaignError", + "CampaignFeedError" => "CampaignFeedError", + "CampaignPreferenceError" => "CampaignPreferenceError", + "CampaignSharedSetError" => "CampaignSharedSetError", + "ClientTermsError" => "ClientTermsError", + "CriterionError" => "CriterionError", + "DateError" => "DateError", + "DateRange" => "DateRange", + "DateRangeError" => "DateRangeError", + "DistinctError" => "DistinctError", + "EntityAccessDenied" => "EntityAccessDenied", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FeedError" => "FeedError", + "FieldPathElement" => "FieldPathElement", + "FunctionError" => "FunctionError", + "IdError" => "IdError", + "ImageError" => "ImageError", + "InternalApiError" => "InternalApiError", + "MediaError" => "MediaError", + "MultiplierError" => "MultiplierError", + "NewEntityCreationError" => "NewEntityCreationError", + "NotEmptyError" => "NotEmptyError", + "NullError" => "NullError", + "OperationAccessDenied" => "OperationAccessDenied", + "OperatorError" => "OperatorError", + "OrderBy" => "OrderBy", + "Paging" => "Paging", + "PagingError" => "PagingError", + "PolicyViolationError.Part" => "PolicyViolationErrorPart", + "PolicyViolationKey" => "PolicyViolationKey", + "Predicate" => "Predicate", + "QueryError" => "QueryError", + "QuotaCheckError" => "QuotaCheckError", + "RangeError" => "RangeError", + "RateExceededError" => "RateExceededError", + "ReadOnlyError" => "ReadOnlyError", + "RejectedError" => "RejectedError", + "RequestError" => "RequestError", + "RequiredError" => "RequiredError", + "SelectorError" => "SelectorError", + "SettingError" => "SettingError", + "SizeLimitError" => "SizeLimitError", + "SoapHeader" => "SoapRequestHeader", + "SoapResponseHeader" => "SoapResponseHeader", + "StringFormatError" => "StringFormatError", + "StringLengthError" => "StringLengthError", + "UrlError" => "UrlError", + "VideoError" => "VideoError", + "DatabaseError" => "DatabaseError", + "PolicyViolationError" => "PolicyViolationError", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "Selector" => "Selector", + "TrialAsyncError" => "TrialAsyncError", + "TrialAsyncErrorPage" => "TrialAsyncErrorPage", + "Page" => "Page", + "AdError.Reason" => "AdErrorReason", + "AdGroupAdError.Reason" => "AdGroupAdErrorReason", + "AdGroupCriterionError.Reason" => "AdGroupCriterionErrorReason", + "AdGroupFeedError.Reason" => "AdGroupFeedErrorReason", + "AdGroupServiceError.Reason" => "AdGroupServiceErrorReason", + "AdSharingError.Reason" => "AdSharingErrorReason", + "AuthenticationError.Reason" => "AuthenticationErrorReason", + "AuthorizationError.Reason" => "AuthorizationErrorReason", + "BiddingErrors.Reason" => "BiddingErrorsReason", + "CampaignCriterionError.Reason" => "CampaignCriterionErrorReason", + "CampaignError.Reason" => "CampaignErrorReason", + "CampaignFeedError.Reason" => "CampaignFeedErrorReason", + "CampaignPreferenceError.Reason" => "CampaignPreferenceErrorReason", + "CampaignSharedSetError.Reason" => "CampaignSharedSetErrorReason", + "ClientTermsError.Reason" => "ClientTermsErrorReason", + "CriterionError.Reason" => "CriterionErrorReason", + "DatabaseError.Reason" => "DatabaseErrorReason", + "DateError.Reason" => "DateErrorReason", + "DateRangeError.Reason" => "DateRangeErrorReason", + "DistinctError.Reason" => "DistinctErrorReason", + "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", + "FeedError.Reason" => "FeedErrorReason", + "FunctionError.Reason" => "FunctionErrorReason", + "IdError.Reason" => "IdErrorReason", + "ImageError.Reason" => "ImageErrorReason", + "InternalApiError.Reason" => "InternalApiErrorReason", + "MediaError.Reason" => "MediaErrorReason", + "MultiplierError.Reason" => "MultiplierErrorReason", + "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", + "NotEmptyError.Reason" => "NotEmptyErrorReason", + "NullError.Reason" => "NullErrorReason", + "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "OperatorError.Reason" => "OperatorErrorReason", + "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", + "SelectorError.Reason" => "SelectorErrorReason", + "SettingError.Reason" => "SettingErrorReason", + "SizeLimitError.Reason" => "SizeLimitErrorReason", + "SortOrder" => "SortOrder", + "StringFormatError.Reason" => "StringFormatErrorReason", + "StringLengthError.Reason" => "StringLengthErrorReason", + "UrlError.Reason" => "UrlErrorReason", + "VideoError.Reason" => "VideoErrorReason", + "get" => "TrialAsyncErrorServiceGet", + "getResponse" => "TrialAsyncErrorServiceGetResponse", + "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 TrialAsyncErrorPage that contains a list of TrialAsyncErrors matching the selector. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + */ + public function get($selector) { + $args = new TrialAsyncErrorServiceGet($selector); + $result = $this->__soapCall("get", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Returns a TrialAsyncErrorPage that contains a list of TrialAsyncError matching the query. + * + * @throws {#link com.google.ads.api.services.common.error.ApiException} if problems occurred + * while retrieving the results. + */ + 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/v201609/ProductServiceService.php b/src/Google/Api/Ads/AdWords/v201705/TrialService.php similarity index 65% rename from src/Google/Api/Ads/AdWords/v201609/ProductServiceService.php rename to src/Google/Api/Ads/AdWords/v201705/TrialService.php index 64d744c11..a2470482a 100755 --- a/src/Google/Api/Ads/AdWords/v201609/ProductServiceService.php +++ b/src/Google/Api/Ads/AdWords/v201705/TrialService.php @@ -1,6 +1,6 @@ min = $min; + $this->max = $max; + } + + } +} + +if (!class_exists("FieldPathElement", false)) { + /** + * A segment of a field path. Each dot in a field path defines a new segment. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class FieldPathElement { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FieldPathElement"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var integer + */ + public $index; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($field = null, $index = null) { + $this->field = $field; + $this->index = $index; + } + + } +} + +if (!class_exists("OrderBy", false)) { + /** + * Specifies how the resulting information should be sorted. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class OrderBy { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OrderBy"; + + /** + * @access public + * @var string + */ + public $field; + + /** + * @access public + * @var tnsSortOrder + */ + public $sortOrder; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Paging { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Paging"; + + /** + * @access public + * @var integer + */ + public $startIndex; + + /** + * @access public + * @var integer + */ + public $numberResults; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Predicate { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapRequestHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class SoapResponseHeader { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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("Trial", false)) { + /** + * Interface for campaign trial entities. A trial is an experiment created by an advertiser from + * changes in a draft. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Trial { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Trial"; + + /** + * @access public + * @var integer + */ + public $id; + + /** + * @access public + * @var integer + */ + public $baseCampaignId; + + /** + * @access public + * @var integer + */ + public $draftId; + + /** + * @access public + * @var integer + */ + public $budgetId; + + /** + * @access public + * @var string + */ + public $name; + + /** + * @access public + * @var string + */ + public $startDate; + + /** + * @access public + * @var string + */ + public $endDate; + + /** + * @access public + * @var integer + */ + public $trafficSplitPercent; + + /** + * @access public + * @var tnsTrialStatus + */ + public $status; + + /** + * @access public + * @var integer + */ + public $trialCampaignId; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class + */ + public function getXsiTypeName() { + return self::XSI_TYPE; + } + + public function __construct($id = null, $baseCampaignId = null, $draftId = null, $budgetId = null, $name = null, $startDate = null, $endDate = null, $trafficSplitPercent = null, $status = null, $trialCampaignId = null) { + $this->id = $id; + $this->baseCampaignId = $baseCampaignId; + $this->draftId = $draftId; + $this->budgetId = $budgetId; + $this->name = $name; + $this->startDate = $startDate; + $this->endDate = $endDate; + $this->trafficSplitPercent = $trafficSplitPercent; + $this->status = $status; + $this->trialCampaignId = $trialCampaignId; + } + + } +} + +if (!class_exists("Operation", false)) { + /** + * This represents an operation that includes an operator and an operand + * specified type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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_v201705 + * @subpackage v201705 + */ + class Page { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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 @@ -35,20 +679,12 @@ * *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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiError"; /** @@ -57,6 +693,12 @@ class ApiError { */ public $fieldPath; + /** + * @access public + * @var FieldPathElement[] + */ + public $fieldPathElements; + /** * @access public * @var string @@ -123,8 +765,9 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + public function __construct($fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; $this->trigger = $trigger; $this->errorString = $errorString; $this->ApiErrorType = $ApiErrorType; @@ -136,20 +779,12 @@ public function __construct($fieldPath = null, $trigger = null, $errorString = n 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApplicationException"; /** @@ -220,30 +855,46 @@ public function __construct($message = null, $ApplicationExceptionType = null) { } } -if (!class_exists("AuthenticationError", false)) { +if (!class_exists("Selector", 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_v201609 - * @subpackage v201609 + * A generic selector to specify the type of information to return. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthenticationError extends ApiError { + class Selector { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "AuthenticationError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Selector"; /** * @access public - * @var tnsAuthenticationErrorReason + * @var string[] */ - public $reason; + 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 @@ -261,42 +912,65 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + 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("AuthorizationError", false)) { +if (!class_exists("ListReturnValue", 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_v201609 - * @subpackage v201609 + * Base list return value type. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthorizationError extends ApiError { + class ListReturnValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "AuthorizationError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ListReturnValue"; /** * @access public - * @var tnsAuthorizationErrorReason + * @var string */ - public $reason; + 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 @@ -314,42 +988,23 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($ListReturnValueType = null) { + $this->ListReturnValueType = $ListReturnValueType; } } } -if (!class_exists("ClientTermsError", false)) { +if (!class_exists("AuthenticationErrorReason", 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_v201609 - * @subpackage v201609 + * The single reason for the authentication failure. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "ClientTermsError"; + class AuthenticationErrorReason { - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError.Reason"; /** * Gets the namesapce of this class @@ -367,88 +1022,56 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("Criterion", false)) { +if (!class_exists("AuthorizationErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the database error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; + class AuthorizationErrorReason { - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError.Reason"; /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set + * Gets the namesapce of this class + * @return string the namespace of this class */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; + public function getNamespace() { + return self::WSDL_NAMESPACE; } /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; + public function getXsiTypeName() { + return self::XSI_TYPE; } - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; + public function __construct() { } + } +} + +if (!class_exists("BiddingErrorsReason", false)) { + /** + * Cannot transition to new bidding strategy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class BiddingErrorsReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors.Reason"; + /** * Gets the namesapce of this class * @return string the namespace of this class @@ -465,39 +1088,22 @@ 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; + public function __construct() { } } } -if (!class_exists("DatabaseError", false)) { +if (!class_exists("BudgetErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the budget error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DatabaseError"; + class BudgetErrorReason { - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BudgetError.Reason"; /** * Gets the namesapce of this class @@ -515,42 +1121,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("DateError", false)) { +if (!class_exists("CampaignErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DateError"; + class CampaignErrorReason { - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignError.Reason"; /** * Gets the namesapce of this class @@ -568,49 +1154,23 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("DateRange", false)) { +if (!class_exists("ClientTermsErrorReason", 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_v201609 - * @subpackage v201609 + * Enums for the various reasons an error can be thrown as a result of + * ClientTerms violation. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; + class ClientTermsErrorReason { - /** - * @access public - * @var string - */ - public $max; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError.Reason"; /** * Gets the namesapce of this class @@ -628,38 +1188,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; + public function __construct() { } } } -if (!class_exists("DistinctError", false)) { +if (!class_exists("DatabaseErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the database error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DistinctError"; + class DatabaseErrorReason { - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError.Reason"; /** * Gets the namesapce of this class @@ -677,42 +1221,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("IdError", false)) { +if (!class_exists("DateErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "IdError"; + class DateErrorReason { - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError.Reason"; /** * Gets the namesapce of this class @@ -730,44 +1254,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("InternalApiError", false)) { +if (!class_exists("DateRangeErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the date range error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "InternalApiError"; + class DateRangeErrorReason { - /** - * @access public - * @var tnsInternalApiErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRangeError.Reason"; /** * Gets the namesapce of this class @@ -785,49 +1287,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("Keyword", false)) { +if (!class_exists("DistinctErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; + class DistinctErrorReason { - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError.Reason"; /** * Gets the namesapce of this class @@ -845,51 +1320,56 @@ 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; + public function __construct() { } } } -if (!class_exists("MobileAppCategory", false)) { +if (!class_exists("EntityCountLimitExceededReason", 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_v201609 - * @subpackage v201609 + * Limits at various levels of the account. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MobileAppCategory extends Criterion { + class EntityCountLimitExceededReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "MobileAppCategory"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded.Reason"; /** - * @access public - * @var integer + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $mobileAppCategoryId; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var string + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $displayName; + 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_v201705 + * @subpackage v201705 + */ + class EntityNotFoundReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound.Reason"; /** * Gets the namesapce of this class @@ -907,49 +1387,22 @@ 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; + public function __construct() { } } } -if (!class_exists("MobileApplication", false)) { +if (!class_exists("IdErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; + class IdErrorReason { - /** - * @access public - * @var string - */ - public $displayName; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError.Reason"; /** * Gets the namesapce of this class @@ -967,42 +1420,22 @@ 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; + public function __construct() { } } } -if (!class_exists("NotEmptyError", false)) { +if (!class_exists("InternalApiErrorReason", 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_v201609 - * @subpackage v201609 + * The single reason for the internal API error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NotEmptyError"; + class InternalApiErrorReason { - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError.Reason"; /** * Gets the namesapce of this class @@ -1020,42 +1453,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("NullError", false)) { +if (!class_exists("NotEmptyErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NullError"; + class NotEmptyErrorReason { - /** - * @access public - * @var tnsNullErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError.Reason"; /** * Gets the namesapce of this class @@ -1073,42 +1486,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("OperationAccessDenied", false)) { +if (!class_exists("NullErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OperationAccessDenied"; + class NullErrorReason { - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError.Reason"; /** * Gets the namesapce of this class @@ -1126,42 +1519,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("OperatorError", false)) { +if (!class_exists("OperationAccessDeniedReason", 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_v201609 - * @subpackage v201609 + * The reasons for the operation access error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OperatorError"; + class OperationAccessDeniedReason { - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied.Reason"; /** * Gets the namesapce of this class @@ -1179,48 +1552,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("OrderBy", false)) { +if (!class_exists("Operator", 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_v201609 - * @subpackage v201609 + * This represents an operator that may be presented to an adsapi service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; + class Operator { - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Operator"; /** * Gets the namesapce of this class @@ -1238,77 +1585,56 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; + public function __construct() { } } } -if (!class_exists("Page", false)) { +if (!class_exists("OperatorErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the validation error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; + class OperatorErrorReason { - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError.Reason"; /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set + * Gets the namesapce of this class + * @return string the namespace of this class */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; + public function getNamespace() { + return self::WSDL_NAMESPACE; } /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; + public function getXsiTypeName() { + return self::XSI_TYPE; } - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; + public function __construct() { } + } +} + +if (!class_exists("PredicateOperator", false)) { + /** + * Defines the valid set of operators. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class PredicateOperator { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "Predicate.Operator"; + /** * Gets the namesapce of this class * @return string the namespace of this class @@ -1325,46 +1651,23 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; + public function __construct() { } } } -if (!class_exists("Paging", false)) { +if (!class_exists("QuotaCheckErrorReason", 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_v201609 - * @subpackage v201609 + * Enums for all the reasons an error can be thrown to the user during + * billing quota checks. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; + class QuotaCheckErrorReason { - /** - * @access public - * @var integer - */ - public $numberResults; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError.Reason"; /** * Gets the namesapce of this class @@ -1382,40 +1685,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; + public function __construct() { } } } -if (!class_exists("Placement", false)) { +if (!class_exists("RangeErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Placement"; + class RangeErrorReason { - /** - * @access public - * @var string - */ - public $url; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError.Reason"; /** * Gets the namesapce of this class @@ -1433,53 +1718,22 @@ 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; + public function __construct() { } } } -if (!class_exists("Predicate", false)) { +if (!class_exists("RateExceededErrorReason", 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_v201609 - * @subpackage v201609 + * The reason for the rate exceeded error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; + class RateExceededErrorReason { - /** - * @access public - * @var string[] - */ - public $values; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RateExceededError.Reason"; /** * Gets the namesapce of this class @@ -1497,39 +1751,22 @@ 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; + public function __construct() { } } } -if (!class_exists("QuotaCheckError", false)) { +if (!class_exists("ReadOnlyErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "QuotaCheckError"; + class ReadOnlyErrorReason { - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError.Reason"; /** * Gets the namesapce of this class @@ -1547,42 +1784,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RangeError", false)) { +if (!class_exists("RejectedErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RangeError"; + class RejectedErrorReason { - /** - * @access public - * @var tnsRangeErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError.Reason"; /** * Gets the namesapce of this class @@ -1600,60 +1817,55 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RateExceededError", false)) { +if (!class_exists("RequestErrorReason", 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_v201609 - * @subpackage v201609 + * Error reason is unknown. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RateExceededError extends ApiError { + class RequestErrorReason { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RateExceededError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError.Reason"; /** - * @access public - * @var tnsRateExceededErrorReason + * Gets the namesapce of this class + * @return string the namespace of this class */ - public $reason; + public function getNamespace() { + return self::WSDL_NAMESPACE; + } /** - * @access public - * @var string + * Gets the xsi:type name of this class + * @return string the xsi:type name of this class */ - public $rateName; + public function getXsiTypeName() { + return self::XSI_TYPE; + } - /** - * @access public - * @var string - */ - public $rateScope; + public function __construct() { + } - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; + } +} + +if (!class_exists("RequiredErrorReason", false)) { + /** + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 + */ + class RequiredErrorReason { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError.Reason"; /** * Gets the namesapce of this class @@ -1671,45 +1883,22 @@ 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; + public function __construct() { } } } -if (!class_exists("ReadOnlyError", false)) { +if (!class_exists("SelectorErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "ReadOnlyError"; + class SelectorErrorReason { - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError.Reason"; /** * Gets the namesapce of this class @@ -1727,42 +1916,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RejectedError", false)) { +if (!class_exists("SizeLimitErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for Ad Scheduling errors. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RejectedError"; + class SizeLimitErrorReason { - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError.Reason"; /** * Gets the namesapce of this class @@ -1780,43 +1949,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RequestError", false)) { +if (!class_exists("SortOrder", 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_v201609 - * @subpackage v201609 + * Possible orders of sorting. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RequestError"; + class SortOrder { - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SortOrder"; /** * Gets the namesapce of this class @@ -1834,42 +1982,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("RequiredError", false)) { +if (!class_exists("StringFormatErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RequiredError"; + class StringFormatErrorReason { - /** - * @access public - * @var tnsRequiredErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError.Reason"; /** * Gets the namesapce of this class @@ -1887,66 +2015,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("Selector", false)) { +if (!class_exists("StringLengthErrorReason", 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_v201609 - * @subpackage v201609 + * The reasons for the target error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - 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; + class StringLengthErrorReason { - /** - * @access public - * @var Paging - */ - public $paging; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError.Reason"; /** * Gets the namesapce of this class @@ -1964,41 +2048,22 @@ 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; + public function __construct() { } } } -if (!class_exists("SelectorError", false)) { +if (!class_exists("TrialErrorReason", 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_v201609 - * @subpackage v201609 + * Error codes defined by {@link TrialError}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SelectorError"; + class TrialErrorReason { - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TrialError.Reason"; /** * Gets the namesapce of this class @@ -2016,42 +2081,22 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("SizeLimitError", false)) { +if (!class_exists("TrialStatus", 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_v201609 - * @subpackage v201609 + * Status of a trial. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SizeLimitError extends ApiError { + class TrialStatus { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TrialStatus"; /** * Gets the namesapce of this class @@ -2069,66 +2114,39 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct() { } } } -if (!class_exists("SoapRequestHeader", false)) { +if (!class_exists("TrialServiceGet", false)) { /** - * Defines the required and optional elements within the header of a SOAP request. + * This field is required and should not be {@code null}. * * * - * The API error base class that provides details about an error that occurred - * while processing a service request. + * Loads a TrialPage containing a list of {@link Trial} objects matching the selector. * - *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_v201609 - * @subpackage v201609 + * @param selector defines which subset of all available trials to return, the sort order, and + * which fields to include + * + * @return Returns a page of matching trial objects. + * @throws com.google.ads.api.services.common.error.ApiException if errors occurred while + * retrieving the results. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; + class TrialServiceGet { - /** - * @access public - * @var boolean - */ - public $validateOnly; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var boolean + * @var Selector */ - public $partialFailure; + public $selector; /** * Gets the namesapce of this class @@ -2146,65 +2164,29 @@ 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; + public function __construct($selector = null) { + $this->selector = $selector; } } } -if (!class_exists("SoapResponseHeader", false)) { +if (!class_exists("TrialServiceGetResponse", 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; + class TrialServiceGetResponse { - /** - * @access public - * @var integer - */ - public $operations; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var integer + * @var TrialPage */ - public $responseTime; + public $rval; /** * Gets the namesapce of this class @@ -2222,41 +2204,41 @@ 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; + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("StringFormatError", false)) { +if (!class_exists("TrialServiceMutate", false)) { /** - * A list of error code for reporting invalid content of input strings. + * 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 API error base class that provides details about an error that occurred - * while processing a service request. + * Creates new trials, updates properties and controls the life cycle of existing trials. + * See {@link TrialService} for details on the trial life cycle. * - *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_v201609 - * @subpackage v201609 + * @return Returns the list of updated Trials, in the same order as the {@code operations} list. + * @throws com.google.ads.api.services.common.error.ApiException if errors occurred while + * processing the request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringFormatError extends ApiError { + class TrialServiceMutate { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "StringFormatError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var tnsStringFormatErrorReason + * @var TrialOperation[] */ - public $reason; + public $operations; /** * Gets the namesapce of this class @@ -2274,43 +2256,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($operations = null) { + $this->operations = $operations; } } } -if (!class_exists("StringLengthError", false)) { +if (!class_exists("TrialServiceMutateResponse", 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringLengthError extends ApiError { + class TrialServiceMutateResponse { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "StringLengthError"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var tnsStringLengthErrorReason + * @var TrialReturnValue */ - public $reason; + public $rval; /** * Gets the namesapce of this class @@ -2328,55 +2296,40 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("CriterionUserInterest", false)) { +if (!class_exists("Query", false)) { /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. + * This field is required and should not be {@code null}. * * * - * The API error base class that provides details about an error that occurred - * while processing a service request. + * Loads a TrialPage containing a list of {@link Trial} objects matching the query. * - *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_v201609 - * @subpackage v201609 + * @param query defines which subset of all available trials to return, the sort order, and + * which fields to include + * + * @return Returns a page of matching trial objects. + * @throws com.google.ads.api.services.common.error.ApiException if errors occurred while + * retrieving the results. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; + class Query { - /** - * @access public - * @var integer - */ - public $userInterestParentId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public * @var string */ - public $userInterestName; + public $query; /** * Gets the namesapce of this class @@ -2394,68 +2347,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($userInterestId = null, $userInterestParentId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestParentId = $userInterestParentId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + public function __construct($query = null) { + $this->query = $query; } } } -if (!class_exists("CriterionUserList", false)) { +if (!class_exists("QueryResponse", 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; + class QueryResponse { - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * @access public - * @var boolean - */ - public $userListEligibleForSearch; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = ""; /** * @access public - * @var boolean + * @var TrialPage */ - public $userListEligibleForDisplay; + public $rval; /** * Gets the namesapce of this class @@ -2473,62 +2387,29 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $userListEligibleForSearch = null, $userListEligibleForDisplay = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->userListEligibleForSearch = $userListEligibleForSearch; - $this->userListEligibleForDisplay = $userListEligibleForDisplay; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + public function __construct($rval = null) { + $this->rval = $rval; } } } -if (!class_exists("Vertical", false)) { +if (!class_exists("AuthenticationError", 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_v201609 - * @subpackage v201609 + * Errors returned when Authentication failed. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; + class AuthenticationError extends ApiError { - /** - * @access public - * @var integer - */ - public $verticalParentId; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthenticationError"; /** * @access public - * @var string[] + * @var tnsAuthenticationErrorReason */ - public $path; + public $reason; /** * Gets the namesapce of this class @@ -2546,37 +2427,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("AuthenticationErrorReason", false)) { +if (!class_exists("AuthorizationError", 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_v201609 - * @subpackage v201609 + * Errors encountered when trying to authorize a user. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthenticationErrorReason { + class AuthorizationError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "AuthenticationError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "AuthorizationError"; + + /** + * @access public + * @var tnsAuthorizationErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2594,30 +2473,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("AuthorizationErrorReason", false)) { +if (!class_exists("BiddingErrors", 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_v201609 - * @subpackage v201609 + * Represents error codes for bidding strategy entities. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class AuthorizationErrorReason { + class BiddingErrors extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "AuthorizationError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BiddingErrors"; + + /** + * @access public + * @var tnsBiddingErrorsReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2635,31 +2519,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("ClientTermsErrorReason", false)) { +if (!class_exists("BudgetError", 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_v201609 - * @subpackage v201609 + * A list of all the error codes being used by the common budget domain package. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ClientTermsErrorReason { + class BudgetError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "ClientTermsError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "BudgetError"; + + /** + * @access public + * @var tnsBudgetErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2677,30 +2565,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("CriterionType", false)) { +if (!class_exists("CampaignError", 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_v201609 - * @subpackage v201609 + * Base error class for Campaign Service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionType { + class CampaignError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "CampaignError"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Criterion.Type"; + /** + * @access public + * @var tnsCampaignErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2718,30 +2611,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("DatabaseErrorReason", false)) { +if (!class_exists("ClientTermsError", 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_v201609 - * @subpackage v201609 + * Error due to user not accepting the AdWords terms of service. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DatabaseErrorReason { + class ClientTermsError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DatabaseError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ClientTermsError"; + + /** + * @access public + * @var tnsClientTermsErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2759,30 +2657,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("DateErrorReason", false)) { +if (!class_exists("DateError", 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_v201609 - * @subpackage v201609 + * Errors associated with invalid dates and date ranges. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DateErrorReason { + class DateError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DateError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateError"; + + /** + * @access public + * @var tnsDateErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2800,30 +2703,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("DistinctErrorReason", false)) { +if (!class_exists("DateRangeError", 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_v201609 - * @subpackage v201609 + * A list of all the error codes being used for date range error. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class DistinctErrorReason { + class DateRangeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "DistinctError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DateRangeError"; + + /** + * @access public + * @var tnsDateRangeErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2841,30 +2749,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("IdErrorReason", false)) { +if (!class_exists("DistinctError", 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_v201609 - * @subpackage v201609 + * Errors related to distinct ids or content. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class IdErrorReason { + class DistinctError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "IdError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DistinctError"; + + /** + * @access public + * @var tnsDistinctErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -2882,72 +2795,60 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("InternalApiErrorReason", false)) { +if (!class_exists("EntityCountLimitExceeded", 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_v201609 - * @subpackage v201609 + * Signals that an entity count limit was exceeded for some level. + * For example, too many criteria for a campaign. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class InternalApiErrorReason { + class EntityCountLimitExceeded extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "InternalApiError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityCountLimitExceeded"; /** - * Gets the namesapce of this class - * @return string the namespace of this class + * @access public + * @var tnsEntityCountLimitExceededReason */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } + public $reason; /** - * Gets the xsi:type name of this class - * @return string the xsi:type name of this class + * @access public + * @var string */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } + public $enclosingId; - } -} + /** + * @access public + * @var integer + */ + public $limit; -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_v201609 - * @subpackage v201609 - */ - class KeywordMatchType { + /** + * @access public + * @var string + */ + public $accountLimitType; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "KeywordMatchType"; + /** + * @access public + * @var integer + */ + public $existingCount; /** * Gets the namesapce of this class @@ -2965,30 +2866,40 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("NotEmptyErrorReason", false)) { +if (!class_exists("EntityNotFound", 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_v201609 - * @subpackage v201609 + * 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_v201705 + * @subpackage v201705 */ - class NotEmptyErrorReason { + class EntityNotFound extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NotEmptyError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "EntityNotFound"; + + /** + * @access public + * @var tnsEntityNotFoundReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3006,30 +2917,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("NullErrorReason", false)) { +if (!class_exists("IdError", 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_v201609 - * @subpackage v201609 + * Errors associated with the ids. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NullErrorReason { + class IdError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "NullError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "IdError"; + + /** + * @access public + * @var tnsIdErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3047,30 +2963,37 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("OperationAccessDeniedReason", false)) { +if (!class_exists("InternalApiError", 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_v201609 - * @subpackage v201609 + * 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_v201705 + * @subpackage v201705 */ - class OperationAccessDeniedReason { + class InternalApiError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OperationAccessDenied.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "InternalApiError"; + + /** + * @access public + * @var tnsInternalApiErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3088,30 +3011,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("OperatorErrorReason", false)) { +if (!class_exists("NotEmptyError", 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_v201609 - * @subpackage v201609 + * Errors corresponding with violation of a NOT EMPTY check. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class OperatorErrorReason { + class NotEmptyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "OperatorError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NotEmptyError"; + + /** + * @access public + * @var tnsNotEmptyErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3129,30 +3057,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("PredicateOperator", false)) { +if (!class_exists("NullError", 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_v201609 - * @subpackage v201609 + * Errors associated with violation of a NOT NULL check. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class PredicateOperator { + class NullError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "NullError"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "Predicate.Operator"; + /** + * @access public + * @var tnsNullErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3170,31 +3103,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("QuotaCheckErrorReason", false)) { +if (!class_exists("OperationAccessDenied", 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_v201609 - * @subpackage v201609 + * Operation not permitted due to the invoked service's access policy. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class QuotaCheckErrorReason { + class OperationAccessDenied extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "QuotaCheckError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperationAccessDenied"; + + /** + * @access public + * @var tnsOperationAccessDeniedReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3212,30 +3149,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RangeErrorReason", false)) { +if (!class_exists("OperatorError", 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_v201609 - * @subpackage v201609 + * Errors due to the use of unsupported operations. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RangeErrorReason { + class OperatorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RangeError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "OperatorError"; + + /** + * @access public + * @var tnsOperatorErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3253,30 +3195,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RateExceededErrorReason", false)) { +if (!class_exists("QuotaCheckError", 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_v201609 - * @subpackage v201609 + * Encapsulates the errors thrown during developer quota checks. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RateExceededErrorReason { + class QuotaCheckError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RateExceededError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "QuotaCheckError"; + + /** + * @access public + * @var tnsQuotaCheckErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3294,30 +3241,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("ReadOnlyErrorReason", false)) { +if (!class_exists("RangeError", 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_v201609 - * @subpackage v201609 + * A list of all errors associated with the Range constraint. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ReadOnlyErrorReason { + class RangeError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "ReadOnlyError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RangeError"; + + /** + * @access public + * @var tnsRangeErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3335,30 +3287,53 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RejectedErrorReason", false)) { +if (!class_exists("RateExceededError", 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_v201609 - * @subpackage v201609 + * Signals that a call failed because a measured rate exceeded. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RejectedErrorReason { + class RateExceededError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RejectedError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + 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 @@ -3376,30 +3351,38 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $fieldPathElements = 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->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RequestErrorReason", false)) { +if (!class_exists("ReadOnlyError", 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_v201609 - * @subpackage v201609 + * Errors from attempting to write to read-only fields. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequestErrorReason { + class ReadOnlyError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RequestError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "ReadOnlyError"; + + /** + * @access public + * @var tnsReadOnlyErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3417,30 +3400,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("RequiredErrorReason", false)) { +if (!class_exists("RejectedError", 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_v201609 - * @subpackage v201609 + * Indicates that a field was rejected due to compatibility issues. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class RequiredErrorReason { + class RejectedError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "RequiredError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RejectedError"; + + /** + * @access public + * @var tnsRejectedErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3458,30 +3446,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("SelectorErrorReason", false)) { +if (!class_exists("RequestError", 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_v201609 - * @subpackage v201609 + * Encapsulates the generic errors thrown when there's an error with user + * request. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SelectorErrorReason { + class RequestError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequestError"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SelectorError.Reason"; + /** + * @access public + * @var tnsRequestErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3499,30 +3493,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("SizeLimitErrorReason", false)) { +if (!class_exists("RequiredError", 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_v201609 - * @subpackage v201609 + * Errors due to missing required field. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SizeLimitErrorReason { + class RequiredError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SizeLimitError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "RequiredError"; + + /** + * @access public + * @var tnsRequiredErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3540,30 +3539,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("SortOrder", false)) { +if (!class_exists("SelectorError", 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_v201609 - * @subpackage v201609 + * Represents possible error codes for {@link Selector}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class SortOrder { + class SelectorError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "SortOrder"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SelectorError"; + + /** + * @access public + * @var tnsSelectorErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3581,30 +3585,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("StringFormatErrorReason", false)) { +if (!class_exists("SizeLimitError", 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_v201609 - * @subpackage v201609 + * Indicates that the number of entries in the request or response exceeds the system limit. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringFormatErrorReason { + class SizeLimitError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "StringFormatError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "SizeLimitError"; + + /** + * @access public + * @var tnsSizeLimitErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3622,30 +3631,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("StringLengthErrorReason", false)) { +if (!class_exists("StringFormatError", 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_v201609 - * @subpackage v201609 + * A list of error code for reporting invalid content of input strings. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class StringLengthErrorReason { + class StringFormatError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "StringLengthError.Reason"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringFormatError"; + + /** + * @access public + * @var tnsStringFormatErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3663,30 +3677,36 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("CriterionUserListMembershipStatus", false)) { +if (!class_exists("StringLengthError", 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_v201609 - * @subpackage v201609 + * Errors associated with the length of the given string being + * out of bounds. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class CriterionUserListMembershipStatus { + class StringLengthError extends ApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "StringLengthError"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; + /** + * @access public + * @var tnsStringLengthErrorReason + */ + public $reason; /** * Gets the namesapce of this class @@ -3704,36 +3724,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct() { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("ProductService", false)) { +if (!class_exists("TrialError", 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_v201609 - * @subpackage v201609 + * Error class for {@link TrialService}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductService extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ProductService"; + class TrialError extends ApiError { - /** - * @access public - * @var string - */ - public $text; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TrialError"; /** * @access public - * @var string + * @var tnsTrialErrorReason */ - public $locale; + public $reason; /** * Gets the namesapce of this class @@ -3751,28 +3770,35 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($text = null, $locale = null, $id = null, $type = null, $CriterionType = null) { + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { parent::__construct(); - $this->text = $text; - $this->locale = $locale; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } } -if (!class_exists("NoStatsPage", false)) { +if (!class_exists("TrialOperation", false)) { /** - * - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Operation for creating, modifying and promoting/archiving campaign trials. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class NoStatsPage extends Page { + class TrialOperation extends Operation { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TrialOperation"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "NoStatsPage"; + /** + * @access public + * @var Trial + */ + public $operand; /** * Gets the namesapce of this class @@ -3790,39 +3816,33 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($totalNumEntries = null, $PageType = null) { + public function __construct($operand = null, $operator = null, $OperationType = null) { parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; + $this->operand = $operand; + $this->operator = $operator; + $this->OperationType = $OperationType; } } } -if (!class_exists("ProductServiceServiceGet", false)) { +if (!class_exists("TrialPage", 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_v201609 - * @subpackage v201609 + * Contains a filtered and paged subset of campaign trials as returned by + * {@link TrialService#get}. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductServiceServiceGet { + class TrialPage extends Page { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TrialPage"; /** * @access public - * @var Selector + * @var Trial[] */ - public $selector; + public $entries; /** * Gets the namesapce of this class @@ -3840,29 +3860,32 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($selector = null) { - $this->selector = $selector; + public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { + parent::__construct(); + $this->entries = $entries; + $this->totalNumEntries = $totalNumEntries; + $this->PageType = $PageType; } } } -if (!class_exists("ProductServiceServiceGetResponse", false)) { +if (!class_exists("DatabaseError", false)) { /** - * - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Errors that are thrown due to a database access problem. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductServiceServiceGetResponse { + class DatabaseError extends ApiError { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = ""; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "DatabaseError"; /** * @access public - * @var ProductServicePage + * @var tnsDatabaseErrorReason */ - public $rval; + public $reason; /** * Gets the namesapce of this class @@ -3880,8 +3903,14 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($rval = null) { - $this->rval = $rval; + public function __construct($reason = null, $fieldPath = null, $fieldPathElements = null, $trigger = null, $errorString = null, $ApiErrorType = null) { + parent::__construct(); + $this->reason = $reason; + $this->fieldPath = $fieldPath; + $this->fieldPathElements = $fieldPathElements; + $this->trigger = $trigger; + $this->errorString = $errorString; + $this->ApiErrorType = $ApiErrorType; } } @@ -3890,20 +3919,12 @@ public function __construct($rval = null) { 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_v201609 - * @subpackage v201609 + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ class ApiException extends ApplicationException { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201609"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; const XSI_TYPE = "ApiException"; /** @@ -3938,22 +3959,28 @@ public function __construct($errors = null, $message = null, $ApplicationExcepti } } -if (!class_exists("ProductServicePage", false)) { +if (!class_exists("TrialReturnValue", false)) { /** - * Contains a page of {@link ProductService}s with no stats. - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * Return value for {@link TrialService#mutate(java.util.List)} operations. + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductServicePage extends NoStatsPage { + class TrialReturnValue extends ListReturnValue { - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const XSI_TYPE = "ProductServicePage"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "TrialReturnValue"; /** * @access public - * @var ProductService[] + * @var Trial[] */ - public $entries; + public $value; + + /** + * @access public + * @var ApiError[] + */ + public $partialFailureErrors; /** * Gets the namesapce of this class @@ -3971,61 +3998,60 @@ public function getXsiTypeName() { return self::XSI_TYPE; } - public function __construct($entries = null) { + public function __construct($value = null, $partialFailureErrors = null, $ListReturnValueType = null) { parent::__construct(); - $this->entries = $entries; + $this->value = $value; + $this->partialFailureErrors = $partialFailureErrors; + $this->ListReturnValueType = $ListReturnValueType; } } } -if (!class_exists("ProductServiceService", false)) { +if (!class_exists("TrialService", false)) { /** - * ProductServiceService - * @package Google_Api_Ads_AdWords_v201609 - * @subpackage v201609 + * TrialService + * @package Google_Api_Ads_AdWords_v201705 + * @subpackage v201705 */ - class ProductServiceService extends AdWordsSoapClient { + class TrialService extends AdWordsSoapClient { - const SERVICE_NAME = "ProductServiceService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201609"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201609/ProductServiceService"; + const SERVICE_NAME = "TrialService"; + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201705/TrialService"; /** * The endpoint of the service * @var string */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201609/ProductServiceService"; + public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201705/TrialService"; /** * Default class map for wsdl=>php * @access private * @var array */ public static $classmap = array( - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", "AuthenticationError" => "AuthenticationError", "AuthorizationError" => "AuthorizationError", + "BiddingErrors" => "BiddingErrors", + "BudgetError" => "BudgetError", + "CampaignError" => "CampaignError", "ClientTermsError" => "ClientTermsError", - "Criterion" => "Criterion", - "DatabaseError" => "DatabaseError", "DateError" => "DateError", "DateRange" => "DateRange", + "DateRangeError" => "DateRangeError", "DistinctError" => "DistinctError", + "EntityCountLimitExceeded" => "EntityCountLimitExceeded", + "EntityNotFound" => "EntityNotFound", + "FieldPathElement" => "FieldPathElement", "IdError" => "IdError", "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", "NotEmptyError" => "NotEmptyError", "NullError" => "NullError", "OperationAccessDenied" => "OperationAccessDenied", "OperatorError" => "OperatorError", "OrderBy" => "OrderBy", - "Page" => "Page", "Paging" => "Paging", - "Placement" => "Placement", "Predicate" => "Predicate", "QuotaCheckError" => "QuotaCheckError", "RangeError" => "RangeError", @@ -4034,29 +4060,43 @@ class ProductServiceService extends AdWordsSoapClient { "RejectedError" => "RejectedError", "RequestError" => "RequestError", "RequiredError" => "RequiredError", - "Selector" => "Selector", "SelectorError" => "SelectorError", "SizeLimitError" => "SizeLimitError", "SoapHeader" => "SoapRequestHeader", "SoapResponseHeader" => "SoapResponseHeader", "StringFormatError" => "StringFormatError", "StringLengthError" => "StringLengthError", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", + "Trial" => "Trial", + "TrialError" => "TrialError", + "TrialOperation" => "TrialOperation", + "TrialPage" => "TrialPage", + "DatabaseError" => "DatabaseError", + "Operation" => "Operation", + "Page" => "Page", + "ApiError" => "ApiError", + "ApiException" => "ApiException", + "ApplicationException" => "ApplicationException", + "Selector" => "Selector", + "TrialReturnValue" => "TrialReturnValue", + "ListReturnValue" => "ListReturnValue", "AuthenticationError.Reason" => "AuthenticationErrorReason", "AuthorizationError.Reason" => "AuthorizationErrorReason", + "BiddingErrors.Reason" => "BiddingErrorsReason", + "BudgetError.Reason" => "BudgetErrorReason", + "CampaignError.Reason" => "CampaignErrorReason", "ClientTermsError.Reason" => "ClientTermsErrorReason", - "Criterion.Type" => "CriterionType", "DatabaseError.Reason" => "DatabaseErrorReason", "DateError.Reason" => "DateErrorReason", + "DateRangeError.Reason" => "DateRangeErrorReason", "DistinctError.Reason" => "DistinctErrorReason", + "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", + "EntityNotFound.Reason" => "EntityNotFoundReason", "IdError.Reason" => "IdErrorReason", "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", "NotEmptyError.Reason" => "NotEmptyErrorReason", "NullError.Reason" => "NullErrorReason", "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", + "Operator" => "Operator", "OperatorError.Reason" => "OperatorErrorReason", "Predicate.Operator" => "PredicateOperator", "QuotaCheckError.Reason" => "QuotaCheckErrorReason", @@ -4071,12 +4111,14 @@ class ProductServiceService extends AdWordsSoapClient { "SortOrder" => "SortOrder", "StringFormatError.Reason" => "StringFormatErrorReason", "StringLengthError.Reason" => "StringLengthErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "ProductService" => "ProductService", - "ProductServicePage" => "ProductServicePage", - "NoStatsPage" => "NoStatsPage", - "get" => "ProductServiceServiceGet", - "getResponse" => "ProductServiceServiceGetResponse", + "TrialError.Reason" => "TrialErrorReason", + "TrialStatus" => "TrialStatus", + "get" => "TrialServiceGet", + "getResponse" => "TrialServiceGetResponse", + "mutate" => "TrialServiceMutate", + "mutateResponse" => "TrialServiceMutateResponse", + "query" => "Query", + "queryResponse" => "QueryResponse", ); @@ -4095,17 +4137,59 @@ public function __construct($wsdl, $options, $user) { * * * - * Retrieves the {@link ProductService}s that meet the criteria set in the given selector. Only a - * limited number of {@link ProductService}s are returned. + * Loads a TrialPage containing a list of {@link Trial} objects matching the selector. * - * @param selector the selector specifying the product services to return - * @return list of product services identified by the selector + * @param selector defines which subset of all available trials to return, the sort order, and + * which fields to include + * + * @return Returns a page of matching trial objects. + * @throws com.google.ads.api.services.common.error.ApiException if errors occurred while + * retrieving the results. */ public function get($selector) { - $args = new ProductServiceServiceGet($selector); + $args = new TrialServiceGet($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}. + * + * + * + * Creates new trials, updates properties and controls the life cycle of existing trials. + * See {@link TrialService} for details on the trial life cycle. + * + * @return Returns the list of updated Trials, in the same order as the {@code operations} list. + * @throws com.google.ads.api.services.common.error.ApiException if errors occurred while + * processing the request. + */ + public function mutate($operations) { + $args = new TrialServiceMutate($operations); + $result = $this->__soapCall("mutate", array($args)); + return $result->rval; + } + /** + * This field is required and should not be {@code null}. + * + * + * + * Loads a TrialPage containing a list of {@link Trial} objects matching the query. + * + * @param query defines which subset of all available trials to return, the sort order, and + * which fields to include + * + * @return Returns a page of matching trial objects. + * @throws com.google.ads.api.services.common.error.ApiException if errors occurred while + * retrieving the results. + */ + public function query($query) { + $args = new Query($query); + $result = $this->__soapCall("query", 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 0f8f14f07..dd4c1a0f4 100755 --- a/src/Google/Api/Ads/Common/Lib/build.ini +++ b/src/Google/Api/Ads/Common/Lib/build.ini @@ -1,2 +1,2 @@ -LIB_VERSION = 18.0.0 +LIB_VERSION = 18.1.0 LIB_NAME = "Common-PHP" diff --git a/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/FakeClasses.php b/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/FakeClasses.php new file mode 100755 index 000000000..12684046b --- /dev/null +++ b/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/FakeClasses.php @@ -0,0 +1,226 @@ + "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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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; + } +} + +/** + * Created based on PolicyViolationError, which represents violations of a + * single policy by some text in a field, for a testing purpose. + */ +class FakePolicyViolationError extends FakeApiError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FakePolicyViolationError"; + + /** + * @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 string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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; + } +} + +/** + * Created based on CriterionPolicyError, which contains the policy violations + * for a single BiddableAdGroupCriterion, for a testing purpose. + */ +class FakeCriterionPolicyError extends FakePolicyViolationError { + + const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201705"; + const XSI_TYPE = "FakeCriterionPolicyError"; + + /** + * Gets the namesapce of this class + * @return string the namespace of this class + */ + public function getNamespace() { + return self::WSDL_NAMESPACE; + } + + /** + * Gets the xsi:type name of this class + * @return string 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; + } +} + diff --git a/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/XmlTestHelper.php b/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/XmlTestHelper.php new file mode 100755 index 000000000..4b10aff3f --- /dev/null +++ b/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/XmlTestHelper.php @@ -0,0 +1,267 @@ +ApiError = + array($invalidFieldNameApiError, $noEnumApiError); + } + + /** + * Create a relevant AdWords object for testing with mutate request payload. + */ + private static function InitMutateRequestObject() { + $campaign = new Campaign(); + $campaign->id = -1; + $campaign->name = 'Test campaign&<>"\''; + $campaign->advertisingChannelType = 'SEARCH'; + $campaign->status = 'ENABLED'; + $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); + $biddingStrategyConfiguration->biddingScheme = new ManualCpcBiddingScheme(); + $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; + $campaignOperation = new CampaignOperation(); + $campaignOperation->operand = $campaign; + $campaignOperation->operator = 'ADD'; + $operations[] = $campaignOperation; + + $adGroup = new AdGroup(); + $adGroup->id = -2; + $adGroup->campaignId = -1; + $adGroup->name = 'Test ad group'; + $adGroupOperation = new AdGroupOperation(); + $adGroupOperation->operand = $adGroup; + $adGroupOperation->operator = 'ADD'; + $operations[] = $adGroupOperation; + + self::$MUTATE_REQUEST_OBJECT = new BatchJobOpsMutate(); + self::$MUTATE_REQUEST_OBJECT->operations = $operations; + } + + /** + * Create a relevant AdWords object for testing with mutate response payload. + */ + private static function InitMutateResponseObject() { + self::$MUTATE_RESPONSE_OBJECT = + new CampaignCriterionServiceMutateResponse(); + $returnValue = new CampaignCriterionReturnValue(); + $returnValue->ListReturnValueType = 'CampaignCriterionReturnValue'; + self::$MUTATE_RESPONSE_OBJECT->rval = $returnValue; + + // result 1 + $campaignCriterion = new CampaignCriterion(); + $campaignCriterion->campaignId = 1111; + $campaignCriterion->isNegative = false; + + $criterion = new Language(); + $criterion->id = 1000; + $criterion->type = 'LANGUAGE'; + $criterion->code = 'en'; + $criterion->name = 'English'; + $criterion->CriterionType = 'Language'; + $campaignCriterion->criterion = $criterion; + $campaignCriterion->CampaignCriterionType = 'CampaignCriterion'; + $returnValue->value[] = $campaignCriterion; + + // result 2 + $campaignCriterion = new NegativeCampaignCriterion(); + $campaignCriterion->campaignId = 2222; + $campaignCriterion->isNegative = true; + + $criterion = new Location(); + $criterion->id = 2276; + $criterion->type = 'LOCATION'; + $criterion->CriterionType = 'Location'; + $campaignCriterion->criterion = $criterion; + $campaignCriterion->CampaignCriterionType = 'NegativeCampaignCriterion'; + $returnValue->value[] = $campaignCriterion; + } + + /** + * Create a relevant AdWords object for testing with success batch job mutate + * response payload. + */ + private static function InitSuccessBatchJobMutateResponseObject() { + $operand = new Budget(12345, 'Test Budget'); + + $mutateResult = new MutateResult(); + $mutateResult->result = $operand; + $mutateResult->index = 0; + self::$SUCCESS_BATCH_JOB_MUTATE_RESPONSE_OBJECT = + new BatchJobOpsMutateResponse(); + self::$SUCCESS_BATCH_JOB_MUTATE_RESPONSE_OBJECT->rval[] = $mutateResult; + } + + /** + * Create a relevant AdWords object for testing with batch job mutate + * response payload. + */ + private static function InitBatchJobMutateResponseObject() { + $apiError = new FakeCriterionPolicyError(); + $apiError->fieldPath = 'operations[0].operand.criterion.text'; + $apiError->trigger = 'text'; + $apiError->errorString = 'CriterionPolicyError.POLICY_ERROR'; + $apiError->key = new PolicyViolationKey(); + $apiError->key->policyName = 'pharma'; + $apiError->key->violatingText = 'text'; + $apiError->externalPolicyName = 'Online pharmacy certification required'; + $apiError->externalPolicyUrl = ''; + $apiError->externalPolicyDescription = 'Description'; + $apiError->isExemptable = true; + $policyViolationErrorPart = new PolicyViolationErrorPart(); + $policyViolationErrorPart->index = 0; + $policyViolationErrorPart->length = 3; + $apiError->violatingParts = array($policyViolationErrorPart); + $apiError->ApiErrorType = 'CriterionPolicyError'; + + $errorList = new ErrorList(); + $errorList->errors = array($apiError); + + $mutateResult = new MutateResult(); + $mutateResult->errorList = $errorList; + $mutateResult->index = 0; + self::$BATCH_JOB_MUTATE_RESPONSE_OBJECT = new BatchJobOpsMutateResponse(); + self::$BATCH_JOB_MUTATE_RESPONSE_OBJECT->rval[] = $mutateResult; + } + + /** + * Create a relevant AdWords object for testing with report definition + * payload. + */ + private static function InitReportDefinitionObject() { + $selector = new Selector(); + $selector->fields = + array('CampaignId', 'Id', 'Impressions', 'Clicks', 'Cost'); + $selector->predicates[] = + new Predicate('Conversions', 'GREATER_THAN', array(2.0)); + $selector->predicates[] = + new Predicate('AllConversions', 'LESS_THAN', array(50.5221)); + $selector->predicates[] = + new Predicate('Clicks', 'GREATER_THAN', array(3400)); + $selector->predicates[] = + new Predicate('AverageCost', 'LESS_THAN', + array(2.05 * AdWordsConstants::MICROS_PER_DOLLAR)); + + self::$REPORT_DEFINITION_OBJECT = new ReportDefinition(); + self::$REPORT_DEFINITION_OBJECT->selector = $selector; + self::$REPORT_DEFINITION_OBJECT->reportName = + 'Custom Adgroup Performance Report'; + self::$REPORT_DEFINITION_OBJECT->dateRangeType = 'LAST_7_DAYS'; + self::$REPORT_DEFINITION_OBJECT->reportType = 'ADGROUP_PERFORMANCE_REPORT'; + self::$REPORT_DEFINITION_OBJECT->downloadFormat = 'CSV'; + } + + /** + * Load XML payload from the specified file. + * @param string $fileName the name of file to be loaded + * @return string a trimmed XML string + */ + private static function LoadXmlPayload($fileName) { + // Use trim to eliminate a new-line character at the end of the file read by + // file_get_contents. + return trim(file_get_contents($fileName)); + } +} +XmlTestHelper::Init(); diff --git a/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/batch_job_mutate_response.xml b/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/batch_job_mutate_response.xml new file mode 100755 index 000000000..c8c0d5d7c --- /dev/null +++ b/tests/Google/Api/Ads/AdWords/Testing/Util/v201705/batch_job_mutate_response.xml @@ -0,0 +1,26 @@ + +en
+