adcenter_api 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/README.md +57 -0
  2. data/lib/adcenter_api.rb +180 -0
  3. data/lib/adcenter_api/api_config.rb +163 -0
  4. data/lib/adcenter_api/client_login_header_handler.rb +70 -0
  5. data/lib/adcenter_api/credential_handler.rb +104 -0
  6. data/lib/adcenter_api/errors.rb +565 -0
  7. data/lib/adcenter_api/report_header_handler.rb +46 -0
  8. data/lib/adcenter_api/report_utils.rb +203 -0
  9. data/lib/adcenter_api/v7/administration_service.rb +38 -0
  10. data/lib/adcenter_api/v7/administration_service_registry.rb +30 -0
  11. data/lib/adcenter_api/v7/campaign_management_service.rb +398 -0
  12. data/lib/adcenter_api/v7/campaign_management_service_registry.rb +30 -0
  13. data/lib/adcenter_api/v7/customer_billing_service.rb +58 -0
  14. data/lib/adcenter_api/v7/customer_billing_service_registry.rb +30 -0
  15. data/lib/adcenter_api/v7/customer_management_service.rb +98 -0
  16. data/lib/adcenter_api/v7/customer_management_service_registry.rb +30 -0
  17. data/lib/adcenter_api/v7/notification_service.rb +38 -0
  18. data/lib/adcenter_api/v7/notification_service_registry.rb +30 -0
  19. data/lib/adcenter_api/v7/reporting_service.rb +38 -0
  20. data/lib/adcenter_api/v7/reporting_service_registry.rb +30 -0
  21. data/lib/adcenter_api/v8/ad_intelligence_service.rb +86 -0
  22. data/lib/adcenter_api/v8/ad_intelligence_service_registry.rb +30 -0
  23. data/lib/adcenter_api/v8/administration_service.rb +38 -0
  24. data/lib/adcenter_api/v8/administration_service_registry.rb +30 -0
  25. data/lib/adcenter_api/v8/bulk_service.rb +42 -0
  26. data/lib/adcenter_api/v8/bulk_service_registry.rb +30 -0
  27. data/lib/adcenter_api/v8/campaign_management_service.rb +390 -0
  28. data/lib/adcenter_api/v8/campaign_management_service_registry.rb +30 -0
  29. data/lib/adcenter_api/v8/customer_billing_service.rb +62 -0
  30. data/lib/adcenter_api/v8/customer_billing_service_registry.rb +30 -0
  31. data/lib/adcenter_api/v8/customer_management_service.rb +162 -0
  32. data/lib/adcenter_api/v8/customer_management_service_registry.rb +30 -0
  33. data/lib/adcenter_api/v8/notification_service.rb +38 -0
  34. data/lib/adcenter_api/v8/notification_service_registry.rb +30 -0
  35. data/lib/adcenter_api/v8/optimizer_service.rb +46 -0
  36. data/lib/adcenter_api/v8/optimizer_service_registry.rb +30 -0
  37. data/lib/adcenter_api/v8/reporting_service.rb +38 -0
  38. data/lib/adcenter_api/v8/reporting_service_registry.rb +30 -0
  39. data/lib/adcenter_api/version.rb +5 -0
  40. data/lib/ads_common/api_config_decorator.rb +43 -0
  41. data/lib/ads_common/auth/client_login_handler_decorator.rb +168 -0
  42. data/lib/ads_common/build/savon_registry_decorator.rb +16 -0
  43. data/lib/ads_common/parameters_validator_decorator.rb +37 -0
  44. data/lib/ads_common/savon_headers_base_header_handler_decorator.rb +23 -0
  45. data/lib/ads_common/savon_service_decorator.rb +109 -0
  46. data/rakefile.rb +54 -0
  47. 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:16.
9
+
10
+ require 'adcenter_api/errors'
11
+
12
+ module AdcenterApi; module V7; module CampaignManagementService
13
+ class CampaignManagementServiceRegistry
14
+ CAMPAIGNMANAGEMENTSERVICE_METHODS = {:set_networks_to_ad_groups=>{:input=>{:name=>"set_networks_to_ad_groups_request", :fields=>[]}, :output=>{:name=>"set_networks_to_ad_groups_response", :fields=>[]}, :original_name=>"SetNetworksToAdGroups"}, :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_account_migration_statuses=>{:input=>{:name=>"get_account_migration_statuses_request", :fields=>[]}, :output=>{:name=>"get_account_migration_statuses_response", :fields=>[]}, :original_name=>"GetAccountMigrationStatuses"}, :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"}, :get_keyword_estimates_by_bids=>{:input=>{:name=>"get_keyword_estimates_by_bids_request", :fields=>[]}, :output=>{:name=>"get_keyword_estimates_by_bids_response", :fields=>[]}, :original_name=>"GetKeywordEstimatesByBids"}, :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"}, :add_behavioral_bids=>{:input=>{:name=>"add_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"add_behavioral_bids_response", :fields=>[]}, :original_name=>"AddBehavioralBids"}, :delete_behavioral_bids=>{:input=>{:name=>"delete_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"delete_behavioral_bids_response", :fields=>[]}, :original_name=>"DeleteBehavioralBids"}, :get_behavioral_bids_by_ids=>{:input=>{:name=>"get_behavioral_bids_by_ids_request", :fields=>[]}, :output=>{:name=>"get_behavioral_bids_by_ids_response", :fields=>[]}, :original_name=>"GetBehavioralBidsByIds"}, :get_behavioral_bids_by_ad_group_id=>{:input=>{:name=>"get_behavioral_bids_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_behavioral_bids_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetBehavioralBidsByAdGroupId"}, :pause_behavioral_bids=>{:input=>{:name=>"pause_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"pause_behavioral_bids_response", :fields=>[]}, :original_name=>"PauseBehavioralBids"}, :resume_behavioral_bids=>{:input=>{:name=>"resume_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"resume_behavioral_bids_response", :fields=>[]}, :original_name=>"ResumeBehavioralBids"}, :update_behavioral_bids=>{:input=>{:name=>"update_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"update_behavioral_bids_response", :fields=>[]}, :original_name=>"UpdateBehavioralBids"}, :get_custom_segments=>{:input=>{:name=>"get_custom_segments_request", :fields=>[]}, :output=>{:name=>"get_custom_segments_response", :fields=>[]}, :original_name=>"GetCustomSegments"}, :add_segments=>{:input=>{:name=>"add_segments_request", :fields=>[]}, :output=>{:name=>"add_segments_response", :fields=>[]}, :original_name=>"AddSegments"}, :delete_segments=>{:input=>{:name=>"delete_segments_request", :fields=>[]}, :output=>{:name=>"delete_segments_response", :fields=>[]}, :original_name=>"DeleteSegments"}, :get_segments_by_ids=>{:input=>{:name=>"get_segments_by_ids_request", :fields=>[]}, :output=>{:name=>"get_segments_by_ids_response", :fields=>[]}, :original_name=>"GetSegmentsByIds"}, :get_segments=>{:input=>{:name=>"get_segments_request", :fields=>[]}, :output=>{:name=>"get_segments_response", :fields=>[]}, :original_name=>"GetSegments"}, :set_users_to_segments=>{:input=>{:name=>"set_users_to_segments_request", :fields=>[]}, :output=>{:name=>"set_users_to_segments_response", :fields=>[]}, :original_name=>"SetUsersToSegments"}, :delete_users_from_segment=>{:input=>{:name=>"delete_users_from_segment_request", :fields=>[]}, :output=>{:name=>"delete_users_from_segment_response", :fields=>[]}, :original_name=>"DeleteUsersFromSegment"}, :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"}, :get_networks_by_ad_group_ids=>{:input=>{:name=>"get_networks_by_ad_group_ids_request", :fields=>[]}, :output=>{:name=>"get_networks_by_ad_group_ids_response", :fields=>[]}, :original_name=>"GetNetworksByAdGroupIds"}, :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_campaigns_info_by_account_id=>{:input=>{:name=>"get_campaigns_info_by_account_id_request", :fields=>[]}, :output=>{:name=>"get_campaigns_info_by_account_id_response", :fields=>[]}, :original_name=>"GetCampaignsInfoByAccountId"}, :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"}, :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_ad_groups_info_by_campaign_id=>{:input=>{:name=>"get_ad_groups_info_by_campaign_id_request", :fields=>[]}, :output=>{:name=>"get_ad_groups_info_by_campaign_id_response", :fields=>[]}, :original_name=>"GetAdGroupsInfoByCampaignId"}, :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"}, :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"}, :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"}, :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"}, :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"}}
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,58 @@
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:46.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'adcenter_api/v7/customer_billing_service_registry'
12
+
13
+ module AdcenterApi; module V7; 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, :v7)
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
+ private
49
+
50
+ def get_service_registry()
51
+ return CustomerBillingServiceRegistry
52
+ end
53
+
54
+ def get_module()
55
+ return AdcenterApi::V7::CustomerBillingService
56
+ end
57
+ end
58
+ 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:49:46.
9
+
10
+ require 'adcenter_api/errors'
11
+
12
+ module AdcenterApi; module V7; 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"}}
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,98 @@
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:48.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'adcenter_api/v7/customer_management_service_registry'
12
+
13
+ module AdcenterApi; module V7; 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, :v7)
18
+ end
19
+
20
+ def get_accounts_info(*args, &block)
21
+ return execute_action('get_accounts_info', args, &block)
22
+ end
23
+
24
+ def add_account(*args, &block)
25
+ return execute_action('add_account', args, &block)
26
+ end
27
+
28
+ def update_account(*args, &block)
29
+ return execute_action('update_account', args, &block)
30
+ end
31
+
32
+ def get_customer(*args, &block)
33
+ return execute_action('get_customer', args, &block)
34
+ end
35
+
36
+ def update_customer(*args, &block)
37
+ return execute_action('update_customer', args, &block)
38
+ end
39
+
40
+ def signup_customer(*args, &block)
41
+ return execute_action('signup_customer', args, &block)
42
+ end
43
+
44
+ def get_account(*args, &block)
45
+ return execute_action('get_account', args, &block)
46
+ end
47
+
48
+ def get_customers_info(*args, &block)
49
+ return execute_action('get_customers_info', args, &block)
50
+ end
51
+
52
+ def add_user(*args, &block)
53
+ return execute_action('add_user', args, &block)
54
+ end
55
+
56
+ def delete_account(*args, &block)
57
+ return execute_action('delete_account', args, &block)
58
+ end
59
+
60
+ def delete_customer(*args, &block)
61
+ return execute_action('delete_customer', args, &block)
62
+ end
63
+
64
+ def update_user(*args, &block)
65
+ return execute_action('update_user', args, &block)
66
+ end
67
+
68
+ def update_user_roles(*args, &block)
69
+ return execute_action('update_user_roles', args, &block)
70
+ end
71
+
72
+ def get_user(*args, &block)
73
+ return execute_action('get_user', args, &block)
74
+ end
75
+
76
+ def delete_user(*args, &block)
77
+ return execute_action('delete_user', args, &block)
78
+ end
79
+
80
+ def get_users_info(*args, &block)
81
+ return execute_action('get_users_info', args, &block)
82
+ end
83
+
84
+ def get_customer_pilot_feature(*args, &block)
85
+ return execute_action('get_customer_pilot_feature', args, &block)
86
+ end
87
+
88
+ private
89
+
90
+ def get_service_registry()
91
+ return CustomerManagementServiceRegistry
92
+ end
93
+
94
+ def get_module()
95
+ return AdcenterApi::V7::CustomerManagementService
96
+ end
97
+ end
98
+ 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:49:48.
9
+
10
+ require 'adcenter_api/errors'
11
+
12
+ module AdcenterApi; module V7; 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"}, :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"}, :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"}}
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:49:49.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'adcenter_api/v7/notification_service_registry'
12
+
13
+ module AdcenterApi; module V7; 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, :v7)
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::V7::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:49:49.
9
+
10
+ require 'adcenter_api/errors'
11
+
12
+ module AdcenterApi; module V7; 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,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:49:50.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'adcenter_api/v7/reporting_service_registry'
12
+
13
+ module AdcenterApi; module V7; module ReportingService
14
+ class ReportingService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://adcenter.microsoft.com/v7'
17
+ super(config, endpoint, namespace, :v7)
18
+ end
19
+
20
+ def submit_generate_report(*args, &block)
21
+ return execute_action('submit_generate_report', args, &block)
22
+ end
23
+
24
+ def poll_generate_report(*args, &block)
25
+ return execute_action('poll_generate_report', args, &block)
26
+ end
27
+
28
+ private
29
+
30
+ def get_service_registry()
31
+ return ReportingServiceRegistry
32
+ end
33
+
34
+ def get_module()
35
+ return AdcenterApi::V7::ReportingService
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:49:50.
9
+
10
+ require 'adcenter_api/errors'
11
+
12
+ module AdcenterApi; module V7; module ReportingService
13
+ class ReportingServiceRegistry
14
+ REPORTINGSERVICE_METHODS = {:submit_generate_report=>{:input=>{:name=>"submit_generate_report_request", :fields=>[]}, :output=>{:name=>"submit_generate_report_response", :fields=>[]}, :original_name=>"SubmitGenerateReport"}, :poll_generate_report=>{:input=>{:name=>"poll_generate_report_request", :fields=>[]}, :output=>{:name=>"poll_generate_report_response", :fields=>[]}, :original_name=>"PollGenerateReport"}}
15
+ REPORTINGSERVICE_TYPES = {}
16
+ REPORTINGSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return REPORTINGSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return REPORTINGSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return REPORTINGSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+ end; end; end
@@ -0,0 +1,86 @@
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:50.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'adcenter_api/v8/ad_intelligence_service_registry'
12
+
13
+ module AdcenterApi; module V8; module AdIntelligenceService
14
+ class AdIntelligenceService < 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_publisher_keyword_performance(*args, &block)
21
+ return execute_action('get_publisher_keyword_performance', args, &block)
22
+ end
23
+
24
+ def suggest_keywords_for_url(*args, &block)
25
+ return execute_action('suggest_keywords_for_url', args, &block)
26
+ end
27
+
28
+ def get_estimated_bid_by_keyword_ids(*args, &block)
29
+ return execute_action('get_estimated_bid_by_keyword_ids', args, &block)
30
+ end
31
+
32
+ def get_estimated_position_by_keyword_ids(*args, &block)
33
+ return execute_action('get_estimated_position_by_keyword_ids', args, &block)
34
+ end
35
+
36
+ def get_estimated_bid_by_keywords(*args, &block)
37
+ return execute_action('get_estimated_bid_by_keywords', args, &block)
38
+ end
39
+
40
+ def get_estimated_position_by_keywords(*args, &block)
41
+ return execute_action('get_estimated_position_by_keywords', args, &block)
42
+ end
43
+
44
+ def get_historical_search_count(*args, &block)
45
+ return execute_action('get_historical_search_count', args, &block)
46
+ end
47
+
48
+ def get_historical_search_count_by_device(*args, &block)
49
+ return execute_action('get_historical_search_count_by_device', args, &block)
50
+ end
51
+
52
+ def get_historical_keyword_performance(*args, &block)
53
+ return execute_action('get_historical_keyword_performance', args, &block)
54
+ end
55
+
56
+ def get_historical_keyword_performance_by_device(*args, &block)
57
+ return execute_action('get_historical_keyword_performance_by_device', args, &block)
58
+ end
59
+
60
+ def suggest_keywords_from_existing_keywords(*args, &block)
61
+ return execute_action('suggest_keywords_from_existing_keywords', args, &block)
62
+ end
63
+
64
+ def get_keyword_locations(*args, &block)
65
+ return execute_action('get_keyword_locations', args, &block)
66
+ end
67
+
68
+ def get_keyword_categories(*args, &block)
69
+ return execute_action('get_keyword_categories', args, &block)
70
+ end
71
+
72
+ def get_keyword_demographics(*args, &block)
73
+ return execute_action('get_keyword_demographics', args, &block)
74
+ end
75
+
76
+ private
77
+
78
+ def get_service_registry()
79
+ return AdIntelligenceServiceRegistry
80
+ end
81
+
82
+ def get_module()
83
+ return AdcenterApi::V8::AdIntelligenceService
84
+ end
85
+ end
86
+ end; end; end