adcenter-client 7.0.3 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/.gemtest +0 -0
  2. data/History.txt +6 -0
  3. data/Manifest.txt +41 -19
  4. data/README.txt +1 -1
  5. data/Rakefile.rb +2 -2
  6. data/VERSION +1 -1
  7. data/devel/gen_wsdl_drivers.rb +1 -1
  8. data/devel/wsdl.yml +16 -13
  9. data/lib/AdIntelligenceService.rb +787 -0
  10. data/lib/AdIntelligenceServiceClient.rb +160 -0
  11. data/lib/AdIntelligenceServiceDriver.rb +115 -0
  12. data/lib/AdIntelligenceServiceMappingRegistry.rb +1378 -0
  13. data/lib/AdministrationService.rb +85 -0
  14. data/lib/AdministrationServiceClient.rb +46 -0
  15. data/lib/AdministrationServiceDriver.rb +8 -8
  16. data/lib/AdministrationServiceMappingRegistry.rb +8 -7
  17. data/lib/CampaignManagementService.rb +3413 -0
  18. data/lib/CampaignManagementServiceClient.rb +1330 -0
  19. data/lib/CampaignManagementServiceDriver.rb +335 -359
  20. data/lib/CampaignManagementServiceMappingRegistry.rb +2288 -2259
  21. data/lib/CustomerBillingService.rb +419 -0
  22. data/lib/CustomerBillingServiceClient.rb +148 -0
  23. data/lib/CustomerBillingServiceDriver.rb +17 -9
  24. data/lib/CustomerBillingServiceMappingRegistry.rb +50 -32
  25. data/lib/CustomerManagementService.rb +1502 -0
  26. data/lib/CustomerManagementServiceClient.rb +368 -0
  27. data/lib/CustomerManagementServiceDriver.rb +59 -19
  28. data/lib/CustomerManagementServiceMappingRegistry.rb +373 -145
  29. data/lib/NotificationService.rb +427 -0
  30. data/lib/NotificationServiceClient.rb +48 -0
  31. data/lib/NotificationServiceDriver.rb +59 -0
  32. data/lib/NotificationServiceMappingRegistry.rb +756 -0
  33. data/lib/OptimizerService.rb +265 -0
  34. data/lib/OptimizerServiceClient.rb +48 -0
  35. data/lib/OptimizerServiceDriver.rb +59 -0
  36. data/lib/OptimizerServiceMappingRegistry.rb +469 -0
  37. data/lib/ReportingService.rb +2376 -0
  38. data/lib/ReportingServiceClient.rb +48 -0
  39. data/lib/ReportingServiceDriver.rb +8 -8
  40. data/lib/ReportingServiceMappingRegistry.rb +1718 -1476
  41. data/lib/ad_intelligence_service.rb +9 -0
  42. data/lib/adcenter_client.rb +30 -23
  43. data/lib/adcenter_service.rb +15 -1
  44. data/lib/adcenter_wrapper_entities.rb +8179 -8164
  45. data/lib/administration_service.rb +1 -0
  46. data/lib/campaign_management_service.rb +2 -0
  47. data/lib/custom_assertions.rb +1 -0
  48. data/lib/customer_billing_service.rb +2 -0
  49. data/lib/customer_management_service.rb +4 -0
  50. data/lib/notification_management.rb +2 -0
  51. data/lib/notification_service.rb +7 -0
  52. data/lib/optimizer_service.rb +7 -0
  53. data/lib/reporting_service.rb +2 -0
  54. data/lib/secure_data_management_service.rb +2 -0
  55. data/tasks/doctask.rake +1 -1
  56. data/test/adcenter_client_test.rb +2 -1
  57. data/test/administration_service_test.rb +2 -2
  58. data/test/customer_management_service_test.rb +2 -2
  59. data/test/report_service_test.rb +16 -6
  60. metadata +54 -35
  61. data/lib/SecureDataManagementServiceDriver.rb +0 -51
  62. data/lib/SecureDataManagementServiceMappingRegistry.rb +0 -380
  63. data/lib/defaultDriver.rb +0 -67
@@ -1,67 +0,0 @@
1
- require 'adcenter_wrapper_entities'
2
- require 'defaultMappingRegistry.rb'
3
- require 'soap/rpc/driver'
4
-
5
- module AdCenterWrapper
6
-
7
- class NotificationManagementSoap < ::SOAP::RPC::Driver
8
- DefaultEndpointUrl = "https://adcenterapi.microsoft.com/Api/Advertiser/v6/NotificationManagement/NotificationManagement.asmx"
9
-
10
- Methods = [
11
- [ "http://adcenter.microsoft.com/syncapis/GetNotifications",
12
- "getNotifications",
13
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetNotifications"]],
14
- ["out", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetNotificationsResponse"]] ],
15
- { :request_style => :document, :request_use => :literal,
16
- :response_style => :document, :response_use => :literal,
17
- :faults => {} }
18
- ],
19
- [ "http://adcenter.microsoft.com/syncapis/GetNotificationsByType",
20
- "getNotificationsByType",
21
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetNotificationsByType"]],
22
- ["out", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetNotificationsByTypeResponse"]] ],
23
- { :request_style => :document, :request_use => :literal,
24
- :response_style => :document, :response_use => :literal,
25
- :faults => {} }
26
- ],
27
- [ "http://adcenter.microsoft.com/syncapis/GetArchivedNotifications",
28
- "getArchivedNotifications",
29
- [ ["in", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetArchivedNotifications"]],
30
- ["out", "parameters", ["::SOAP::SOAPElement", "http://adcenter.microsoft.com/syncapis", "GetArchivedNotificationsResponse"]] ],
31
- { :request_style => :document, :request_use => :literal,
32
- :response_style => :document, :response_use => :literal,
33
- :faults => {} }
34
- ]
35
- ]
36
-
37
- def initialize(endpoint_url = nil)
38
- endpoint_url ||= DefaultEndpointUrl
39
- super(endpoint_url, nil)
40
- self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
41
- self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
42
- init_methods
43
- end
44
-
45
- private
46
-
47
- def init_methods
48
- Methods.each do |definitions|
49
- opt = definitions.last
50
- if opt[:request_style] == :document
51
- add_document_operation(*definitions)
52
- else
53
- add_rpc_operation(*definitions)
54
- qname = definitions[0]
55
- name = definitions[2]
56
- if qname.name != name and qname.name.capitalize == name.capitalize
57
- ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
58
- __send__(name, *arg)
59
- end
60
- end
61
- end
62
- end
63
- end
64
- end
65
-
66
-
67
- end