adcenter_api 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +57 -0
- data/lib/adcenter_api.rb +180 -0
- data/lib/adcenter_api/api_config.rb +163 -0
- data/lib/adcenter_api/client_login_header_handler.rb +70 -0
- data/lib/adcenter_api/credential_handler.rb +104 -0
- data/lib/adcenter_api/errors.rb +565 -0
- data/lib/adcenter_api/report_header_handler.rb +46 -0
- data/lib/adcenter_api/report_utils.rb +203 -0
- data/lib/adcenter_api/v7/administration_service.rb +38 -0
- data/lib/adcenter_api/v7/administration_service_registry.rb +30 -0
- data/lib/adcenter_api/v7/campaign_management_service.rb +398 -0
- data/lib/adcenter_api/v7/campaign_management_service_registry.rb +30 -0
- data/lib/adcenter_api/v7/customer_billing_service.rb +58 -0
- data/lib/adcenter_api/v7/customer_billing_service_registry.rb +30 -0
- data/lib/adcenter_api/v7/customer_management_service.rb +98 -0
- data/lib/adcenter_api/v7/customer_management_service_registry.rb +30 -0
- data/lib/adcenter_api/v7/notification_service.rb +38 -0
- data/lib/adcenter_api/v7/notification_service_registry.rb +30 -0
- data/lib/adcenter_api/v7/reporting_service.rb +38 -0
- data/lib/adcenter_api/v7/reporting_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/ad_intelligence_service.rb +86 -0
- data/lib/adcenter_api/v8/ad_intelligence_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/administration_service.rb +38 -0
- data/lib/adcenter_api/v8/administration_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/bulk_service.rb +42 -0
- data/lib/adcenter_api/v8/bulk_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/campaign_management_service.rb +390 -0
- data/lib/adcenter_api/v8/campaign_management_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/customer_billing_service.rb +62 -0
- data/lib/adcenter_api/v8/customer_billing_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/customer_management_service.rb +162 -0
- data/lib/adcenter_api/v8/customer_management_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/notification_service.rb +38 -0
- data/lib/adcenter_api/v8/notification_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/optimizer_service.rb +46 -0
- data/lib/adcenter_api/v8/optimizer_service_registry.rb +30 -0
- data/lib/adcenter_api/v8/reporting_service.rb +38 -0
- data/lib/adcenter_api/v8/reporting_service_registry.rb +30 -0
- data/lib/adcenter_api/version.rb +5 -0
- data/lib/ads_common/api_config_decorator.rb +43 -0
- data/lib/ads_common/auth/client_login_handler_decorator.rb +168 -0
- data/lib/ads_common/build/savon_registry_decorator.rb +16 -0
- data/lib/ads_common/parameters_validator_decorator.rb +37 -0
- data/lib/ads_common/savon_headers_base_header_handler_decorator.rb +23 -0
- data/lib/ads_common/savon_service_decorator.rb +109 -0
- data/rakefile.rb +54 -0
- metadata +157 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:49:55.
|
9
|
+
|
10
|
+
require 'adcenter_api/errors'
|
11
|
+
|
12
|
+
module AdcenterApi; module V8; module CampaignManagementService
|
13
|
+
class CampaignManagementServiceRegistry
|
14
|
+
CAMPAIGNMANAGEMENTSERVICE_METHODS = {:delete_ad_extensions=>{:input=>{:name=>"delete_ad_extensions_request", :fields=>[]}, :output=>{:name=>"delete_ad_extensions_response", :fields=>[]}, :original_name=>"DeleteAdExtensions"}, :get_ad_extensions_by_campaign_ids=>{:input=>{:name=>"get_ad_extensions_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_extensions_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetAdExtensionsByCampaignIds"}, :get_ad_extensions_by_ids=>{:input=>{:name=>"get_ad_extensions_by_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_extensions_by_ids_response", :fields=>[]}, :original_name=>"GetAdExtensionsByIds"}, :get_ad_extensions_editorial_reasons_by_campaign_ids=>{:input=>{:name=>"get_ad_extensions_editorial_reasons_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_extensions_editorial_reasons_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetAdExtensionsEditorialReasonsByCampaignIds"}, :set_ad_extensions_to_campaigns=>{:input=>{:name=>"set_ad_extensions_to_campaigns_request", :fields=>[]}, :output=>{:name=>"set_ad_extensions_to_campaigns_response", :fields=>[]}, :original_name=>"SetAdExtensionsToCampaigns"}, :delete_ad_extensions_from_campaigns=>{:input=>{:name=>"delete_ad_extensions_from_campaigns_request", :fields=>[]}, :output=>{:name=>"delete_ad_extensions_from_campaigns_response", :fields=>[]}, :original_name=>"DeleteAdExtensionsFromCampaigns"}, :get_ads_by_editorial_status=>{:input=>{:name=>"get_ads_by_editorial_status_request", :fields=>[]}, :output=>{:name=>"get_ads_by_editorial_status_response", :fields=>[]}, :original_name=>"GetAdsByEditorialStatus"}, :get_ads_by_ids=>{:input=>{:name=>"get_ads_by_ids_request", :fields=>[]}, :output=>{:name=>"get_ads_by_ids_response", :fields=>[]}, :original_name=>"GetAdsByIds"}, :get_ads_by_ad_group_id=>{:input=>{:name=>"get_ads_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_ads_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetAdsByAdGroupId"}, :update_ads=>{:input=>{:name=>"update_ads_request", :fields=>[]}, :output=>{:name=>"update_ads_response", :fields=>[]}, :original_name=>"UpdateAds"}, :pause_ads=>{:input=>{:name=>"pause_ads_request", :fields=>[]}, :output=>{:name=>"pause_ads_response", :fields=>[]}, :original_name=>"PauseAds"}, :resume_ads=>{:input=>{:name=>"resume_ads_request", :fields=>[]}, :output=>{:name=>"resume_ads_response", :fields=>[]}, :original_name=>"ResumeAds"}, :add_keywords=>{:input=>{:name=>"add_keywords_request", :fields=>[]}, :output=>{:name=>"add_keywords_response", :fields=>[]}, :original_name=>"AddKeywords"}, :delete_keywords=>{:input=>{:name=>"delete_keywords_request", :fields=>[]}, :output=>{:name=>"delete_keywords_response", :fields=>[]}, :original_name=>"DeleteKeywords"}, :get_keywords_by_editorial_status=>{:input=>{:name=>"get_keywords_by_editorial_status_request", :fields=>[]}, :output=>{:name=>"get_keywords_by_editorial_status_response", :fields=>[]}, :original_name=>"GetKeywordsByEditorialStatus"}, :get_keywords_by_ids=>{:input=>{:name=>"get_keywords_by_ids_request", :fields=>[]}, :output=>{:name=>"get_keywords_by_ids_response", :fields=>[]}, :original_name=>"GetKeywordsByIds"}, :get_keywords_by_ad_group_id=>{:input=>{:name=>"get_keywords_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_keywords_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetKeywordsByAdGroupId"}, :pause_keywords=>{:input=>{:name=>"pause_keywords_request", :fields=>[]}, :output=>{:name=>"pause_keywords_response", :fields=>[]}, :original_name=>"PauseKeywords"}, :resume_keywords=>{:input=>{:name=>"resume_keywords_request", :fields=>[]}, :output=>{:name=>"resume_keywords_response", :fields=>[]}, :original_name=>"ResumeKeywords"}, :update_keywords=>{:input=>{:name=>"update_keywords_request", :fields=>[]}, :output=>{:name=>"update_keywords_response", :fields=>[]}, :original_name=>"UpdateKeywords"}, :add_businesses=>{:input=>{:name=>"add_businesses_request", :fields=>[]}, :output=>{:name=>"add_businesses_response", :fields=>[]}, :original_name=>"AddBusinesses"}, :update_businesses=>{:input=>{:name=>"update_businesses_request", :fields=>[]}, :output=>{:name=>"update_businesses_response", :fields=>[]}, :original_name=>"UpdateBusinesses"}, :delete_businesses=>{:input=>{:name=>"delete_businesses_request", :fields=>[]}, :output=>{:name=>"delete_businesses_response", :fields=>[]}, :original_name=>"DeleteBusinesses"}, :get_businesses_info=>{:input=>{:name=>"get_businesses_info_request", :fields=>[]}, :output=>{:name=>"get_businesses_info_response", :fields=>[]}, :original_name=>"GetBusinessesInfo"}, :get_businesses_by_ids=>{:input=>{:name=>"get_businesses_by_ids_request", :fields=>[]}, :output=>{:name=>"get_businesses_by_ids_response", :fields=>[]}, :original_name=>"GetBusinessesByIds"}, :add_site_placements=>{:input=>{:name=>"add_site_placements_request", :fields=>[]}, :output=>{:name=>"add_site_placements_response", :fields=>[]}, :original_name=>"AddSitePlacements"}, :delete_site_placements=>{:input=>{:name=>"delete_site_placements_request", :fields=>[]}, :output=>{:name=>"delete_site_placements_response", :fields=>[]}, :original_name=>"DeleteSitePlacements"}, :get_site_placements_by_ids=>{:input=>{:name=>"get_site_placements_by_ids_request", :fields=>[]}, :output=>{:name=>"get_site_placements_by_ids_response", :fields=>[]}, :original_name=>"GetSitePlacementsByIds"}, :get_site_placements_by_ad_group_id=>{:input=>{:name=>"get_site_placements_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_site_placements_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetSitePlacementsByAdGroupId"}, :pause_site_placements=>{:input=>{:name=>"pause_site_placements_request", :fields=>[]}, :output=>{:name=>"pause_site_placements_response", :fields=>[]}, :original_name=>"PauseSitePlacements"}, :resume_site_placements=>{:input=>{:name=>"resume_site_placements_request", :fields=>[]}, :output=>{:name=>"resume_site_placements_response", :fields=>[]}, :original_name=>"ResumeSitePlacements"}, :update_site_placements=>{:input=>{:name=>"update_site_placements_request", :fields=>[]}, :output=>{:name=>"update_site_placements_response", :fields=>[]}, :original_name=>"UpdateSitePlacements"}, :get_placement_details_for_urls=>{:input=>{:name=>"get_placement_details_for_urls_request", :fields=>[]}, :output=>{:name=>"get_placement_details_for_urls_response", :fields=>[]}, :original_name=>"GetPlacementDetailsForUrls"}, :get_normalized_strings=>{:input=>{:name=>"get_normalized_strings_request", :fields=>[]}, :output=>{:name=>"get_normalized_strings_response", :fields=>[]}, :original_name=>"GetNormalizedStrings"}, :get_keyword_editorial_reasons_by_ids=>{:input=>{:name=>"get_keyword_editorial_reasons_by_ids_request", :fields=>[]}, :output=>{:name=>"get_keyword_editorial_reasons_by_ids_response", :fields=>[]}, :original_name=>"GetKeywordEditorialReasonsByIds"}, :get_ad_editorial_reasons_by_ids=>{:input=>{:name=>"get_ad_editorial_reasons_by_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_editorial_reasons_by_ids_response", :fields=>[]}, :original_name=>"GetAdEditorialReasonsByIds"}, :download_campaign_hierarchy=>{:input=>{:name=>"download_campaign_hierarchy_request", :fields=>[]}, :output=>{:name=>"download_campaign_hierarchy_response", :fields=>[]}, :original_name=>"DownloadCampaignHierarchy"}, :get_download_status=>{:input=>{:name=>"get_download_status_request", :fields=>[]}, :output=>{:name=>"get_download_status_response", :fields=>[]}, :original_name=>"GetDownloadStatus"}, :add_goals=>{:input=>{:name=>"add_goals_request", :fields=>[]}, :output=>{:name=>"add_goals_response", :fields=>[]}, :original_name=>"AddGoals"}, :update_goals=>{:input=>{:name=>"update_goals_request", :fields=>[]}, :output=>{:name=>"update_goals_response", :fields=>[]}, :original_name=>"UpdateGoals"}, :get_goals=>{:input=>{:name=>"get_goals_request", :fields=>[]}, :output=>{:name=>"get_goals_response", :fields=>[]}, :original_name=>"GetGoals"}, :delete_goals=>{:input=>{:name=>"delete_goals_request", :fields=>[]}, :output=>{:name=>"delete_goals_response", :fields=>[]}, :original_name=>"DeleteGoals"}, :set_analytics_type=>{:input=>{:name=>"set_analytics_type_request", :fields=>[]}, :output=>{:name=>"set_analytics_type_response", :fields=>[]}, :original_name=>"SetAnalyticsType"}, :get_analytics_type=>{:input=>{:name=>"get_analytics_type_request", :fields=>[]}, :output=>{:name=>"get_analytics_type_response", :fields=>[]}, :original_name=>"GetAnalyticsType"}, :get_campaign_ad_extensions=>{:input=>{:name=>"get_campaign_ad_extensions_request", :fields=>[]}, :output=>{:name=>"get_campaign_ad_extensions_response", :fields=>[]}, :original_name=>"GetCampaignAdExtensions"}, :set_campaign_ad_extensions=>{:input=>{:name=>"set_campaign_ad_extensions_request", :fields=>[]}, :output=>{:name=>"set_campaign_ad_extensions_response", :fields=>[]}, :original_name=>"SetCampaignAdExtensions"}, :get_account_migration_statuses=>{:input=>{:name=>"get_account_migration_statuses_request", :fields=>[]}, :output=>{:name=>"get_account_migration_statuses_response", :fields=>[]}, :original_name=>"GetAccountMigrationStatuses"}, :add_ad_extensions=>{:input=>{:name=>"add_ad_extensions_request", :fields=>[]}, :output=>{:name=>"add_ad_extensions_response", :fields=>[]}, :original_name=>"AddAdExtensions"}, :add_campaigns=>{:input=>{:name=>"add_campaigns_request", :fields=>[]}, :output=>{:name=>"add_campaigns_response", :fields=>[]}, :original_name=>"AddCampaigns"}, :get_campaigns_by_account_id=>{:input=>{:name=>"get_campaigns_by_account_id_request", :fields=>[]}, :output=>{:name=>"get_campaigns_by_account_id_response", :fields=>[]}, :original_name=>"GetCampaignsByAccountId"}, :get_campaigns_by_ids=>{:input=>{:name=>"get_campaigns_by_ids_request", :fields=>[]}, :output=>{:name=>"get_campaigns_by_ids_response", :fields=>[]}, :original_name=>"GetCampaignsByIds"}, :pause_campaigns=>{:input=>{:name=>"pause_campaigns_request", :fields=>[]}, :output=>{:name=>"pause_campaigns_response", :fields=>[]}, :original_name=>"PauseCampaigns"}, :resume_campaigns=>{:input=>{:name=>"resume_campaigns_request", :fields=>[]}, :output=>{:name=>"resume_campaigns_response", :fields=>[]}, :original_name=>"ResumeCampaigns"}, :delete_campaigns=>{:input=>{:name=>"delete_campaigns_request", :fields=>[]}, :output=>{:name=>"delete_campaigns_response", :fields=>[]}, :original_name=>"DeleteCampaigns"}, :update_campaigns=>{:input=>{:name=>"update_campaigns_request", :fields=>[]}, :output=>{:name=>"update_campaigns_response", :fields=>[]}, :original_name=>"UpdateCampaigns"}, :get_negative_keywords_by_campaign_ids=>{:input=>{:name=>"get_negative_keywords_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_negative_keywords_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetNegativeKeywordsByCampaignIds"}, :set_negative_keywords_to_campaigns=>{:input=>{:name=>"set_negative_keywords_to_campaigns_request", :fields=>[]}, :output=>{:name=>"set_negative_keywords_to_campaigns_response", :fields=>[]}, :original_name=>"SetNegativeKeywordsToCampaigns"}, :get_negative_sites_by_campaign_ids=>{:input=>{:name=>"get_negative_sites_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_negative_sites_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetNegativeSitesByCampaignIds"}, :set_negative_sites_to_campaigns=>{:input=>{:name=>"set_negative_sites_to_campaigns_request", :fields=>[]}, :output=>{:name=>"set_negative_sites_to_campaigns_response", :fields=>[]}, :original_name=>"SetNegativeSitesToCampaigns"}, :add_ad_groups=>{:input=>{:name=>"add_ad_groups_request", :fields=>[]}, :output=>{:name=>"add_ad_groups_response", :fields=>[]}, :original_name=>"AddAdGroups"}, :delete_ad_groups=>{:input=>{:name=>"delete_ad_groups_request", :fields=>[]}, :output=>{:name=>"delete_ad_groups_response", :fields=>[]}, :original_name=>"DeleteAdGroups"}, :get_ad_groups_by_ids=>{:input=>{:name=>"get_ad_groups_by_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_groups_by_ids_response", :fields=>[]}, :original_name=>"GetAdGroupsByIds"}, :get_ad_groups_by_campaign_id=>{:input=>{:name=>"get_ad_groups_by_campaign_id_request", :fields=>[]}, :output=>{:name=>"get_ad_groups_by_campaign_id_response", :fields=>[]}, :original_name=>"GetAdGroupsByCampaignId"}, :pause_ad_groups=>{:input=>{:name=>"pause_ad_groups_request", :fields=>[]}, :output=>{:name=>"pause_ad_groups_response", :fields=>[]}, :original_name=>"PauseAdGroups"}, :resume_ad_groups=>{:input=>{:name=>"resume_ad_groups_request", :fields=>[]}, :output=>{:name=>"resume_ad_groups_response", :fields=>[]}, :original_name=>"ResumeAdGroups"}, :submit_ad_group_for_approval=>{:input=>{:name=>"submit_ad_group_for_approval_request", :fields=>[]}, :output=>{:name=>"submit_ad_group_for_approval_response", :fields=>[]}, :original_name=>"SubmitAdGroupForApproval"}, :update_ad_groups=>{:input=>{:name=>"update_ad_groups_request", :fields=>[]}, :output=>{:name=>"update_ad_groups_response", :fields=>[]}, :original_name=>"UpdateAdGroups"}, :get_negative_keywords_by_ad_group_ids=>{:input=>{:name=>"get_negative_keywords_by_ad_group_ids_request", :fields=>[]}, :output=>{:name=>"get_negative_keywords_by_ad_group_ids_response", :fields=>[]}, :original_name=>"GetNegativeKeywordsByAdGroupIds"}, :set_negative_keywords_to_ad_groups=>{:input=>{:name=>"set_negative_keywords_to_ad_groups_request", :fields=>[]}, :output=>{:name=>"set_negative_keywords_to_ad_groups_response", :fields=>[]}, :original_name=>"SetNegativeKeywordsToAdGroups"}, :get_negative_sites_by_ad_group_ids=>{:input=>{:name=>"get_negative_sites_by_ad_group_ids_request", :fields=>[]}, :output=>{:name=>"get_negative_sites_by_ad_group_ids_response", :fields=>[]}, :original_name=>"GetNegativeSitesByAdGroupIds"}, :set_negative_sites_to_ad_groups=>{:input=>{:name=>"set_negative_sites_to_ad_groups_request", :fields=>[]}, :output=>{:name=>"set_negative_sites_to_ad_groups_response", :fields=>[]}, :original_name=>"SetNegativeSitesToAdGroups"}, :add_target=>{:input=>{:name=>"add_target_request", :fields=>[]}, :output=>{:name=>"add_target_response", :fields=>[]}, :original_name=>"AddTarget"}, :delete_target=>{:input=>{:name=>"delete_target_request", :fields=>[]}, :output=>{:name=>"delete_target_response", :fields=>[]}, :original_name=>"DeleteTarget"}, :get_target_by_ad_group_id=>{:input=>{:name=>"get_target_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_target_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetTargetByAdGroupId"}, :update_target=>{:input=>{:name=>"update_target_request", :fields=>[]}, :output=>{:name=>"update_target_response", :fields=>[]}, :original_name=>"UpdateTarget"}, :add_targets_to_library=>{:input=>{:name=>"add_targets_to_library_request", :fields=>[]}, :output=>{:name=>"add_targets_to_library_response", :fields=>[]}, :original_name=>"AddTargetsToLibrary"}, :update_targets_in_library=>{:input=>{:name=>"update_targets_in_library_request", :fields=>[]}, :output=>{:name=>"update_targets_in_library_response", :fields=>[]}, :original_name=>"UpdateTargetsInLibrary"}, :update_device_os_targets=>{:input=>{:name=>"update_device_os_targets_request", :fields=>[]}, :output=>{:name=>"update_device_os_targets_response", :fields=>[]}, :original_name=>"UpdateDeviceOSTargets"}, :delete_targets_from_library=>{:input=>{:name=>"delete_targets_from_library_request", :fields=>[]}, :output=>{:name=>"delete_targets_from_library_response", :fields=>[]}, :original_name=>"DeleteTargetsFromLibrary"}, :get_targets_info_from_library=>{:input=>{:name=>"get_targets_info_from_library_request", :fields=>[]}, :output=>{:name=>"get_targets_info_from_library_response", :fields=>[]}, :original_name=>"GetTargetsInfoFromLibrary"}, :get_targets_by_ids=>{:input=>{:name=>"get_targets_by_ids_request", :fields=>[]}, :output=>{:name=>"get_targets_by_ids_response", :fields=>[]}, :original_name=>"GetTargetsByIds"}, :get_device_os_targets_by_ids=>{:input=>{:name=>"get_device_os_targets_by_ids_request", :fields=>[]}, :output=>{:name=>"get_device_os_targets_by_ids_response", :fields=>[]}, :original_name=>"GetDeviceOSTargetsByIds"}, :set_target_to_ad_group=>{:input=>{:name=>"set_target_to_ad_group_request", :fields=>[]}, :output=>{:name=>"set_target_to_ad_group_response", :fields=>[]}, :original_name=>"SetTargetToAdGroup"}, :delete_target_from_ad_group=>{:input=>{:name=>"delete_target_from_ad_group_request", :fields=>[]}, :output=>{:name=>"delete_target_from_ad_group_response", :fields=>[]}, :original_name=>"DeleteTargetFromAdGroup"}, :get_targets_by_ad_group_ids=>{:input=>{:name=>"get_targets_by_ad_group_ids_request", :fields=>[]}, :output=>{:name=>"get_targets_by_ad_group_ids_response", :fields=>[]}, :original_name=>"GetTargetsByAdGroupIds"}, :set_target_to_campaign=>{:input=>{:name=>"set_target_to_campaign_request", :fields=>[]}, :output=>{:name=>"set_target_to_campaign_response", :fields=>[]}, :original_name=>"SetTargetToCampaign"}, :delete_target_from_campaign=>{:input=>{:name=>"delete_target_from_campaign_request", :fields=>[]}, :output=>{:name=>"delete_target_from_campaign_response", :fields=>[]}, :original_name=>"DeleteTargetFromCampaign"}, :get_targets_by_campaign_ids=>{:input=>{:name=>"get_targets_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_targets_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetTargetsByCampaignIds"}, :add_ads=>{:input=>{:name=>"add_ads_request", :fields=>[]}, :output=>{:name=>"add_ads_response", :fields=>[]}, :original_name=>"AddAds"}, :delete_ads=>{:input=>{:name=>"delete_ads_request", :fields=>[]}, :output=>{:name=>"delete_ads_response", :fields=>[]}, :original_name=>"DeleteAds"}}
|
15
|
+
CAMPAIGNMANAGEMENTSERVICE_TYPES = {}
|
16
|
+
CAMPAIGNMANAGEMENTSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return CAMPAIGNMANAGEMENTSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return CAMPAIGNMANAGEMENTSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return CAMPAIGNMANAGEMENTSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end; end; end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:50:24.
|
9
|
+
|
10
|
+
require 'ads_common/savon_service'
|
11
|
+
require 'adcenter_api/v8/customer_billing_service_registry'
|
12
|
+
|
13
|
+
module AdcenterApi; module V8; module CustomerBillingService
|
14
|
+
class CustomerBillingService < AdsCommon::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://adcenter.microsoft.com/api/customerbilling'
|
17
|
+
super(config, endpoint, namespace, :v8)
|
18
|
+
end
|
19
|
+
|
20
|
+
def get_invoices_info(*args, &block)
|
21
|
+
return execute_action('get_invoices_info', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def get_invoices(*args, &block)
|
25
|
+
return execute_action('get_invoices', args, &block)
|
26
|
+
end
|
27
|
+
|
28
|
+
def get_display_invoices(*args, &block)
|
29
|
+
return execute_action('get_display_invoices', args, &block)
|
30
|
+
end
|
31
|
+
|
32
|
+
def add_insertion_order(*args, &block)
|
33
|
+
return execute_action('add_insertion_order', args, &block)
|
34
|
+
end
|
35
|
+
|
36
|
+
def update_insertion_order(*args, &block)
|
37
|
+
return execute_action('update_insertion_order', args, &block)
|
38
|
+
end
|
39
|
+
|
40
|
+
def get_insertion_orders_by_account(*args, &block)
|
41
|
+
return execute_action('get_insertion_orders_by_account', args, &block)
|
42
|
+
end
|
43
|
+
|
44
|
+
def get_kohio_invoices(*args, &block)
|
45
|
+
return execute_action('get_kohio_invoices', args, &block)
|
46
|
+
end
|
47
|
+
|
48
|
+
def get_account_monthly_spend(*args, &block)
|
49
|
+
return execute_action('get_account_monthly_spend', args, &block)
|
50
|
+
end
|
51
|
+
|
52
|
+
private
|
53
|
+
|
54
|
+
def get_service_registry()
|
55
|
+
return CustomerBillingServiceRegistry
|
56
|
+
end
|
57
|
+
|
58
|
+
def get_module()
|
59
|
+
return AdcenterApi::V8::CustomerBillingService
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end; end; end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:50:24.
|
9
|
+
|
10
|
+
require 'adcenter_api/errors'
|
11
|
+
|
12
|
+
module AdcenterApi; module V8; module CustomerBillingService
|
13
|
+
class CustomerBillingServiceRegistry
|
14
|
+
CUSTOMERBILLINGSERVICE_METHODS = {:get_invoices_info=>{:input=>{:name=>"get_invoices_info_request", :fields=>[]}, :output=>{:name=>"get_invoices_info_response", :fields=>[]}, :original_name=>"GetInvoicesInfo"}, :get_invoices=>{:input=>{:name=>"get_invoices_request", :fields=>[]}, :output=>{:name=>"get_invoices_response", :fields=>[]}, :original_name=>"GetInvoices"}, :get_display_invoices=>{:input=>{:name=>"get_display_invoices_request", :fields=>[]}, :output=>{:name=>"get_display_invoices_response", :fields=>[]}, :original_name=>"GetDisplayInvoices"}, :add_insertion_order=>{:input=>{:name=>"add_insertion_order_request", :fields=>[]}, :output=>{:name=>"add_insertion_order_response", :fields=>[]}, :original_name=>"AddInsertionOrder"}, :update_insertion_order=>{:input=>{:name=>"update_insertion_order_request", :fields=>[]}, :output=>{:name=>"update_insertion_order_response", :fields=>[]}, :original_name=>"UpdateInsertionOrder"}, :get_insertion_orders_by_account=>{:input=>{:name=>"get_insertion_orders_by_account_request", :fields=>[]}, :output=>{:name=>"get_insertion_orders_by_account_response", :fields=>[]}, :original_name=>"GetInsertionOrdersByAccount"}, :get_kohio_invoices=>{:input=>{:name=>"get_kohio_invoices_request", :fields=>[]}, :output=>{:name=>"get_kohio_invoices_response", :fields=>[]}, :original_name=>"GetKOHIOInvoices"}, :get_account_monthly_spend=>{:input=>{:name=>"get_account_monthly_spend_request", :fields=>[]}, :output=>{:name=>"get_account_monthly_spend_response", :fields=>[]}, :original_name=>"GetAccountMonthlySpend"}}
|
15
|
+
CUSTOMERBILLINGSERVICE_TYPES = {}
|
16
|
+
CUSTOMERBILLINGSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return CUSTOMERBILLINGSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return CUSTOMERBILLINGSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return CUSTOMERBILLINGSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end; end; end
|
@@ -0,0 +1,162 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:50:25.
|
9
|
+
|
10
|
+
require 'ads_common/savon_service'
|
11
|
+
require 'adcenter_api/v8/customer_management_service_registry'
|
12
|
+
|
13
|
+
module AdcenterApi; module V8; module CustomerManagementService
|
14
|
+
class CustomerManagementService < AdsCommon::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://adcenter.microsoft.com/api/customermanagement'
|
17
|
+
super(config, endpoint, namespace, :v8)
|
18
|
+
end
|
19
|
+
|
20
|
+
def get_accounts_info(*args, &block)
|
21
|
+
return execute_action('get_accounts_info', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def find_accounts(*args, &block)
|
25
|
+
return execute_action('find_accounts', args, &block)
|
26
|
+
end
|
27
|
+
|
28
|
+
def add_account(*args, &block)
|
29
|
+
return execute_action('add_account', args, &block)
|
30
|
+
end
|
31
|
+
|
32
|
+
def update_account(*args, &block)
|
33
|
+
return execute_action('update_account', args, &block)
|
34
|
+
end
|
35
|
+
|
36
|
+
def get_customer(*args, &block)
|
37
|
+
return execute_action('get_customer', args, &block)
|
38
|
+
end
|
39
|
+
|
40
|
+
def update_customer(*args, &block)
|
41
|
+
return execute_action('update_customer', args, &block)
|
42
|
+
end
|
43
|
+
|
44
|
+
def signup_customer(*args, &block)
|
45
|
+
return execute_action('signup_customer', args, &block)
|
46
|
+
end
|
47
|
+
|
48
|
+
def get_account(*args, &block)
|
49
|
+
return execute_action('get_account', args, &block)
|
50
|
+
end
|
51
|
+
|
52
|
+
def get_customers_info(*args, &block)
|
53
|
+
return execute_action('get_customers_info', args, &block)
|
54
|
+
end
|
55
|
+
|
56
|
+
def add_user(*args, &block)
|
57
|
+
return execute_action('add_user', args, &block)
|
58
|
+
end
|
59
|
+
|
60
|
+
def delete_account(*args, &block)
|
61
|
+
return execute_action('delete_account', args, &block)
|
62
|
+
end
|
63
|
+
|
64
|
+
def delete_customer(*args, &block)
|
65
|
+
return execute_action('delete_customer', args, &block)
|
66
|
+
end
|
67
|
+
|
68
|
+
def update_user(*args, &block)
|
69
|
+
return execute_action('update_user', args, &block)
|
70
|
+
end
|
71
|
+
|
72
|
+
def update_user_roles(*args, &block)
|
73
|
+
return execute_action('update_user_roles', args, &block)
|
74
|
+
end
|
75
|
+
|
76
|
+
def get_user(*args, &block)
|
77
|
+
return execute_action('get_user', args, &block)
|
78
|
+
end
|
79
|
+
|
80
|
+
def get_current_user(*args, &block)
|
81
|
+
return execute_action('get_current_user', args, &block)
|
82
|
+
end
|
83
|
+
|
84
|
+
def delete_user(*args, &block)
|
85
|
+
return execute_action('delete_user', args, &block)
|
86
|
+
end
|
87
|
+
|
88
|
+
def get_users_info(*args, &block)
|
89
|
+
return execute_action('get_users_info', args, &block)
|
90
|
+
end
|
91
|
+
|
92
|
+
def get_customer_pilot_feature(*args, &block)
|
93
|
+
return execute_action('get_customer_pilot_feature', args, &block)
|
94
|
+
end
|
95
|
+
|
96
|
+
def get_pilot_features_countries(*args, &block)
|
97
|
+
return execute_action('get_pilot_features_countries', args, &block)
|
98
|
+
end
|
99
|
+
|
100
|
+
def get_accessible_customer(*args, &block)
|
101
|
+
return execute_action('get_accessible_customer', args, &block)
|
102
|
+
end
|
103
|
+
|
104
|
+
def find_accounts_or_customers_info(*args, &block)
|
105
|
+
return execute_action('find_accounts_or_customers_info', args, &block)
|
106
|
+
end
|
107
|
+
|
108
|
+
def upgrade_customer_to_agency(*args, &block)
|
109
|
+
return execute_action('upgrade_customer_to_agency', args, &block)
|
110
|
+
end
|
111
|
+
|
112
|
+
def send_request_to_manage_accounts(*args, &block)
|
113
|
+
return execute_action('send_request_to_manage_accounts', args, &block)
|
114
|
+
end
|
115
|
+
|
116
|
+
def accept_request_to_manage_accounts(*args, &block)
|
117
|
+
return execute_action('accept_request_to_manage_accounts', args, &block)
|
118
|
+
end
|
119
|
+
|
120
|
+
def cancel_request_to_manage_accounts(*args, &block)
|
121
|
+
return execute_action('cancel_request_to_manage_accounts', args, &block)
|
122
|
+
end
|
123
|
+
|
124
|
+
def send_request_to_stop_managing_accounts(*args, &block)
|
125
|
+
return execute_action('send_request_to_stop_managing_accounts', args, &block)
|
126
|
+
end
|
127
|
+
|
128
|
+
def get_request_to_manage_accounts(*args, &block)
|
129
|
+
return execute_action('get_request_to_manage_accounts', args, &block)
|
130
|
+
end
|
131
|
+
|
132
|
+
def get_request_to_manage_accounts_infos(*args, &block)
|
133
|
+
return execute_action('get_request_to_manage_accounts_infos', args, &block)
|
134
|
+
end
|
135
|
+
|
136
|
+
def decline_request_to_manage_accounts(*args, &block)
|
137
|
+
return execute_action('decline_request_to_manage_accounts', args, &block)
|
138
|
+
end
|
139
|
+
|
140
|
+
def add_prepay_account(*args, &block)
|
141
|
+
return execute_action('add_prepay_account', args, &block)
|
142
|
+
end
|
143
|
+
|
144
|
+
def map_customer_id_to_external_customer_id(*args, &block)
|
145
|
+
return execute_action('map_customer_id_to_external_customer_id', args, &block)
|
146
|
+
end
|
147
|
+
|
148
|
+
def map_account_id_to_external_account_ids(*args, &block)
|
149
|
+
return execute_action('map_account_id_to_external_account_ids', args, &block)
|
150
|
+
end
|
151
|
+
|
152
|
+
private
|
153
|
+
|
154
|
+
def get_service_registry()
|
155
|
+
return CustomerManagementServiceRegistry
|
156
|
+
end
|
157
|
+
|
158
|
+
def get_module()
|
159
|
+
return AdcenterApi::V8::CustomerManagementService
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end; end; end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:50:25.
|
9
|
+
|
10
|
+
require 'adcenter_api/errors'
|
11
|
+
|
12
|
+
module AdcenterApi; module V8; module CustomerManagementService
|
13
|
+
class CustomerManagementServiceRegistry
|
14
|
+
CUSTOMERMANAGEMENTSERVICE_METHODS = {:get_accounts_info=>{:input=>{:name=>"get_accounts_info_request", :fields=>[]}, :output=>{:name=>"get_accounts_info_response", :fields=>[]}, :original_name=>"GetAccountsInfo"}, :find_accounts=>{:input=>{:name=>"find_accounts_request", :fields=>[]}, :output=>{:name=>"find_accounts_response", :fields=>[]}, :original_name=>"FindAccounts"}, :add_account=>{:input=>{:name=>"add_account_request", :fields=>[]}, :output=>{:name=>"add_account_response", :fields=>[]}, :original_name=>"AddAccount"}, :update_account=>{:input=>{:name=>"update_account_request", :fields=>[]}, :output=>{:name=>"update_account_response", :fields=>[]}, :original_name=>"UpdateAccount"}, :get_customer=>{:input=>{:name=>"get_customer_request", :fields=>[]}, :output=>{:name=>"get_customer_response", :fields=>[]}, :original_name=>"GetCustomer"}, :update_customer=>{:input=>{:name=>"update_customer_request", :fields=>[]}, :output=>{:name=>"update_customer_response", :fields=>[]}, :original_name=>"UpdateCustomer"}, :signup_customer=>{:input=>{:name=>"signup_customer_request", :fields=>[]}, :output=>{:name=>"signup_customer_response", :fields=>[]}, :original_name=>"SignupCustomer"}, :get_account=>{:input=>{:name=>"get_account_request", :fields=>[]}, :output=>{:name=>"get_account_response", :fields=>[]}, :original_name=>"GetAccount"}, :get_customers_info=>{:input=>{:name=>"get_customers_info_request", :fields=>[]}, :output=>{:name=>"get_customers_info_response", :fields=>[]}, :original_name=>"GetCustomersInfo"}, :add_user=>{:input=>{:name=>"add_user_request", :fields=>[]}, :output=>{:name=>"add_user_response", :fields=>[]}, :original_name=>"AddUser"}, :delete_account=>{:input=>{:name=>"delete_account_request", :fields=>[]}, :output=>{:name=>"delete_account_response", :fields=>[]}, :original_name=>"DeleteAccount"}, :delete_customer=>{:input=>{:name=>"delete_customer_request", :fields=>[]}, :output=>{:name=>"delete_customer_response", :fields=>[]}, :original_name=>"DeleteCustomer"}, :update_user=>{:input=>{:name=>"update_user_request", :fields=>[]}, :output=>{:name=>"update_user_response", :fields=>[]}, :original_name=>"UpdateUser"}, :update_user_roles=>{:input=>{:name=>"update_user_roles_request", :fields=>[]}, :output=>{:name=>"update_user_roles_response", :fields=>[]}, :original_name=>"UpdateUserRoles"}, :get_user=>{:input=>{:name=>"get_user_request", :fields=>[]}, :output=>{:name=>"get_user_response", :fields=>[]}, :original_name=>"GetUser"}, :get_current_user=>{:input=>{:name=>"get_current_user_request", :fields=>[]}, :output=>{:name=>"get_current_user_response", :fields=>[]}, :original_name=>"GetCurrentUser"}, :delete_user=>{:input=>{:name=>"delete_user_request", :fields=>[]}, :output=>{:name=>"delete_user_response", :fields=>[]}, :original_name=>"DeleteUser"}, :get_users_info=>{:input=>{:name=>"get_users_info_request", :fields=>[]}, :output=>{:name=>"get_users_info_response", :fields=>[]}, :original_name=>"GetUsersInfo"}, :get_customer_pilot_feature=>{:input=>{:name=>"get_customer_pilot_feature_request", :fields=>[]}, :output=>{:name=>"get_customer_pilot_feature_response", :fields=>[]}, :original_name=>"GetCustomerPilotFeature"}, :get_pilot_features_countries=>{:input=>{:name=>"get_pilot_features_countries_request", :fields=>[]}, :output=>{:name=>"get_pilot_features_countries_response", :fields=>[]}, :original_name=>"GetPilotFeaturesCountries"}, :get_accessible_customer=>{:input=>{:name=>"get_accessible_customer_request", :fields=>[]}, :output=>{:name=>"get_accessible_customer_response", :fields=>[]}, :original_name=>"GetAccessibleCustomer"}, :find_accounts_or_customers_info=>{:input=>{:name=>"find_accounts_or_customers_info_request", :fields=>[]}, :output=>{:name=>"find_accounts_or_customers_info_response", :fields=>[]}, :original_name=>"FindAccountsOrCustomersInfo"}, :upgrade_customer_to_agency=>{:input=>{:name=>"upgrade_customer_to_agency_request", :fields=>[]}, :output=>{:name=>"upgrade_customer_to_agency_response", :fields=>[]}, :original_name=>"UpgradeCustomerToAgency"}, :send_request_to_manage_accounts=>{:input=>{:name=>"send_request_to_manage_accounts_request", :fields=>[]}, :output=>{:name=>"send_request_to_manage_accounts_response", :fields=>[]}, :original_name=>"SendRequestToManageAccounts"}, :accept_request_to_manage_accounts=>{:input=>{:name=>"accept_request_to_manage_accounts_request", :fields=>[]}, :output=>{:name=>"accept_request_to_manage_accounts_response", :fields=>[]}, :original_name=>"AcceptRequestToManageAccounts"}, :cancel_request_to_manage_accounts=>{:input=>{:name=>"cancel_request_to_manage_accounts_request", :fields=>[]}, :output=>{:name=>"cancel_request_to_manage_accounts_response", :fields=>[]}, :original_name=>"CancelRequestToManageAccounts"}, :send_request_to_stop_managing_accounts=>{:input=>{:name=>"send_request_to_stop_managing_accounts_request", :fields=>[]}, :output=>{:name=>"send_request_to_stop_managing_accounts_response", :fields=>[]}, :original_name=>"SendRequestToStopManagingAccounts"}, :get_request_to_manage_accounts=>{:input=>{:name=>"get_request_to_manage_accounts_request", :fields=>[]}, :output=>{:name=>"get_request_to_manage_accounts_response", :fields=>[]}, :original_name=>"GetRequestToManageAccounts"}, :get_request_to_manage_accounts_infos=>{:input=>{:name=>"get_request_to_manage_accounts_infos_request", :fields=>[]}, :output=>{:name=>"get_request_to_manage_accounts_infos_response", :fields=>[]}, :original_name=>"GetRequestToManageAccountsInfos"}, :decline_request_to_manage_accounts=>{:input=>{:name=>"decline_request_to_manage_accounts_request", :fields=>[]}, :output=>{:name=>"decline_request_to_manage_accounts_response", :fields=>[]}, :original_name=>"DeclineRequestToManageAccounts"}, :add_prepay_account=>{:input=>{:name=>"add_prepay_account_request", :fields=>[]}, :output=>{:name=>"add_prepay_account_response", :fields=>[]}, :original_name=>"AddPrepayAccount"}, :map_customer_id_to_external_customer_id=>{:input=>{:name=>"map_customer_id_to_external_customer_id_request", :fields=>[]}, :output=>{:name=>"map_customer_id_to_external_customer_id_response", :fields=>[]}, :original_name=>"MapCustomerIdToExternalCustomerId"}, :map_account_id_to_external_account_ids=>{:input=>{:name=>"map_account_id_to_external_account_ids_request", :fields=>[]}, :output=>{:name=>"map_account_id_to_external_account_ids_response", :fields=>[]}, :original_name=>"MapAccountIdToExternalAccountIds"}}
|
15
|
+
CUSTOMERMANAGEMENTSERVICE_TYPES = {}
|
16
|
+
CUSTOMERMANAGEMENTSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return CUSTOMERMANAGEMENTSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return CUSTOMERMANAGEMENTSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return CUSTOMERMANAGEMENTSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end; end; end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:50:29.
|
9
|
+
|
10
|
+
require 'ads_common/savon_service'
|
11
|
+
require 'adcenter_api/v8/notification_service_registry'
|
12
|
+
|
13
|
+
module AdcenterApi; module V8; module NotificationService
|
14
|
+
class NotificationService < AdsCommon::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://adcenter.microsoft.com/api/notifications'
|
17
|
+
super(config, endpoint, namespace, :v8)
|
18
|
+
end
|
19
|
+
|
20
|
+
def get_notifications(*args, &block)
|
21
|
+
return execute_action('get_notifications', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def get_archived_notifications(*args, &block)
|
25
|
+
return execute_action('get_archived_notifications', args, &block)
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def get_service_registry()
|
31
|
+
return NotificationServiceRegistry
|
32
|
+
end
|
33
|
+
|
34
|
+
def get_module()
|
35
|
+
return AdcenterApi::V8::NotificationService
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end; end; end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:50:29.
|
9
|
+
|
10
|
+
require 'adcenter_api/errors'
|
11
|
+
|
12
|
+
module AdcenterApi; module V8; module NotificationService
|
13
|
+
class NotificationServiceRegistry
|
14
|
+
NOTIFICATIONSERVICE_METHODS = {:get_notifications=>{:input=>{:name=>"get_notifications_request", :fields=>[]}, :output=>{:name=>"get_notifications_response", :fields=>[]}, :original_name=>"GetNotifications"}, :get_archived_notifications=>{:input=>{:name=>"get_archived_notifications_request", :fields=>[]}, :output=>{:name=>"get_archived_notifications_response", :fields=>[]}, :original_name=>"GetArchivedNotifications"}}
|
15
|
+
NOTIFICATIONSERVICE_TYPES = {}
|
16
|
+
NOTIFICATIONSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return NOTIFICATIONSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return NOTIFICATIONSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return NOTIFICATIONSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end; end; end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:50:31.
|
9
|
+
|
10
|
+
require 'ads_common/savon_service'
|
11
|
+
require 'adcenter_api/v8/optimizer_service_registry'
|
12
|
+
|
13
|
+
module AdcenterApi; module V8; module OptimizerService
|
14
|
+
class OptimizerService < AdsCommon::SavonService
|
15
|
+
def initialize(config, endpoint)
|
16
|
+
namespace = 'https://adcenter.microsoft.com/v8'
|
17
|
+
super(config, endpoint, namespace, :v8)
|
18
|
+
end
|
19
|
+
|
20
|
+
def get_budget_opportunities(*args, &block)
|
21
|
+
return execute_action('get_budget_opportunities', args, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def get_bid_opportunities(*args, &block)
|
25
|
+
return execute_action('get_bid_opportunities', args, &block)
|
26
|
+
end
|
27
|
+
|
28
|
+
def apply_budget_opportunities(*args, &block)
|
29
|
+
return execute_action('apply_budget_opportunities', args, &block)
|
30
|
+
end
|
31
|
+
|
32
|
+
def apply_opportunities(*args, &block)
|
33
|
+
return execute_action('apply_opportunities', args, &block)
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
def get_service_registry()
|
39
|
+
return OptimizerServiceRegistry
|
40
|
+
end
|
41
|
+
|
42
|
+
def get_module()
|
43
|
+
return AdcenterApi::V8::OptimizerService
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end; end; end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 0.7.3 on 2012-07-04 16:50:31.
|
9
|
+
|
10
|
+
require 'adcenter_api/errors'
|
11
|
+
|
12
|
+
module AdcenterApi; module V8; module OptimizerService
|
13
|
+
class OptimizerServiceRegistry
|
14
|
+
OPTIMIZERSERVICE_METHODS = {:get_budget_opportunities=>{:input=>{:name=>"get_budget_opportunities_request", :fields=>[]}, :output=>{:name=>"get_budget_opportunities_response", :fields=>[]}, :original_name=>"GetBudgetOpportunities"}, :get_bid_opportunities=>{:input=>{:name=>"get_bid_opportunities_request", :fields=>[]}, :output=>{:name=>"get_bid_opportunities_response", :fields=>[]}, :original_name=>"GetBidOpportunities"}, :apply_budget_opportunities=>{:input=>{:name=>"apply_budget_opportunities_request", :fields=>[]}, :output=>{:name=>"apply_budget_opportunities_response", :fields=>[]}, :original_name=>"ApplyBudgetOpportunities"}, :apply_opportunities=>{:input=>{:name=>"apply_opportunities_request", :fields=>[]}, :output=>{:name=>"apply_opportunities_response", :fields=>[]}, :original_name=>"ApplyOpportunities"}}
|
15
|
+
OPTIMIZERSERVICE_TYPES = {}
|
16
|
+
OPTIMIZERSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return OPTIMIZERSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return OPTIMIZERSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return OPTIMIZERSERVICE_NAMESPACES[index]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end; end; end
|