google-dfp-api 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +6 -1
  3. data/lib/dfp_api/api_config.rb +40 -16
  4. data/lib/dfp_api/{v201611 → v201711}/activity_group_service.rb +7 -7
  5. data/lib/dfp_api/v201711/activity_group_service_registry.rb +45 -0
  6. data/lib/dfp_api/{v201611 → v201711}/activity_service.rb +7 -7
  7. data/lib/dfp_api/v201711/activity_service_registry.rb +45 -0
  8. data/lib/dfp_api/{v201611 → v201711}/ad_exclusion_rule_service.rb +7 -7
  9. data/lib/dfp_api/v201711/ad_exclusion_rule_service_registry.rb +45 -0
  10. data/lib/dfp_api/{v201611 → v201711}/ad_rule_service.rb +7 -7
  11. data/lib/dfp_api/v201711/ad_rule_service_registry.rb +45 -0
  12. data/lib/dfp_api/{v201611 → v201711}/audience_segment_service.rb +7 -7
  13. data/lib/dfp_api/v201711/audience_segment_service_registry.rb +45 -0
  14. data/lib/dfp_api/{v201611 → v201711}/base_rate_service.rb +7 -7
  15. data/lib/dfp_api/v201711/base_rate_service_registry.rb +45 -0
  16. data/lib/dfp_api/v201711/cdn_configuration_service.rb +54 -0
  17. data/lib/dfp_api/v201711/cdn_configuration_service_registry.rb +45 -0
  18. data/lib/dfp_api/{v201611 → v201711}/company_service.rb +7 -7
  19. data/lib/dfp_api/v201711/company_service_registry.rb +45 -0
  20. data/lib/dfp_api/{v201611 → v201711}/contact_service.rb +7 -7
  21. data/lib/dfp_api/v201711/contact_service_registry.rb +45 -0
  22. data/lib/dfp_api/{v201611 → v201711}/content_bundle_service.rb +7 -7
  23. data/lib/dfp_api/v201711/content_bundle_service_registry.rb +45 -0
  24. data/lib/dfp_api/{v201611 → v201711}/content_metadata_key_hierarchy_service.rb +7 -7
  25. data/lib/dfp_api/v201711/content_metadata_key_hierarchy_service_registry.rb +45 -0
  26. data/lib/dfp_api/{v201611 → v201711}/content_service.rb +7 -7
  27. data/lib/dfp_api/v201711/content_service_registry.rb +45 -0
  28. data/lib/dfp_api/{v201611 → v201711}/creative_service.rb +7 -7
  29. data/lib/dfp_api/v201711/creative_service_registry.rb +45 -0
  30. data/lib/dfp_api/{v201611 → v201711}/creative_set_service.rb +7 -7
  31. data/lib/dfp_api/v201711/creative_set_service_registry.rb +45 -0
  32. data/lib/dfp_api/{v201611 → v201711}/creative_template_service.rb +7 -7
  33. data/lib/dfp_api/v201711/creative_template_service_registry.rb +45 -0
  34. data/lib/dfp_api/{v201611 → v201711}/creative_wrapper_service.rb +7 -7
  35. data/lib/dfp_api/v201711/creative_wrapper_service_registry.rb +45 -0
  36. data/lib/dfp_api/{v201611 → v201711}/custom_field_service.rb +7 -7
  37. data/lib/dfp_api/v201711/custom_field_service_registry.rb +45 -0
  38. data/lib/dfp_api/{v201611 → v201711}/custom_targeting_service.rb +7 -7
  39. data/lib/dfp_api/v201711/custom_targeting_service_registry.rb +45 -0
  40. data/lib/dfp_api/{v201611 → v201711}/exchange_rate_service.rb +7 -7
  41. data/lib/dfp_api/v201711/exchange_rate_service_registry.rb +45 -0
  42. data/lib/dfp_api/{v201611 → v201711}/forecast_service.rb +7 -7
  43. data/lib/dfp_api/v201711/forecast_service_registry.rb +45 -0
  44. data/lib/dfp_api/{v201611 → v201711}/inventory_service.rb +7 -7
  45. data/lib/dfp_api/v201711/inventory_service_registry.rb +45 -0
  46. data/lib/dfp_api/{v201611 → v201711}/label_service.rb +7 -7
  47. data/lib/dfp_api/v201711/label_service_registry.rb +45 -0
  48. data/lib/dfp_api/{v201611 → v201711}/line_item_creative_association_service.rb +15 -7
  49. data/lib/dfp_api/{v201611 → v201711}/line_item_creative_association_service_registry.rb +5 -5
  50. data/lib/dfp_api/{v201611 → v201711}/line_item_service.rb +7 -7
  51. data/lib/dfp_api/v201711/line_item_service_registry.rb +45 -0
  52. data/lib/dfp_api/{v201611 → v201711}/line_item_template_service.rb +7 -7
  53. data/lib/dfp_api/v201711/line_item_template_service_registry.rb +45 -0
  54. data/lib/dfp_api/{v201611 → v201711}/live_stream_event_service.rb +7 -7
  55. data/lib/dfp_api/v201711/live_stream_event_service_registry.rb +45 -0
  56. data/lib/dfp_api/{v201611 → v201711}/mobile_application_service.rb +7 -7
  57. data/lib/dfp_api/v201711/mobile_application_service_registry.rb +45 -0
  58. data/lib/dfp_api/v201711/native_style_service.rb +62 -0
  59. data/lib/dfp_api/v201711/native_style_service_registry.rb +45 -0
  60. data/lib/dfp_api/{v201611 → v201711}/network_service.rb +7 -7
  61. data/lib/dfp_api/v201711/network_service_registry.rb +45 -0
  62. data/lib/dfp_api/{v201611 → v201711}/order_service.rb +7 -7
  63. data/lib/dfp_api/v201711/order_service_registry.rb +45 -0
  64. data/lib/dfp_api/{v201611 → v201711}/package_service.rb +7 -7
  65. data/lib/dfp_api/v201711/package_service_registry.rb +45 -0
  66. data/lib/dfp_api/{v201611 → v201711}/placement_service.rb +7 -7
  67. data/lib/dfp_api/v201711/placement_service_registry.rb +45 -0
  68. data/lib/dfp_api/{v201611 → v201711}/premium_rate_service.rb +7 -7
  69. data/lib/dfp_api/v201711/premium_rate_service_registry.rb +45 -0
  70. data/lib/dfp_api/{v201611 → v201711}/product_package_item_service.rb +7 -7
  71. data/lib/dfp_api/v201711/product_package_item_service_registry.rb +45 -0
  72. data/lib/dfp_api/{v201611 → v201711}/product_package_service.rb +7 -7
  73. data/lib/dfp_api/v201711/product_package_service_registry.rb +45 -0
  74. data/lib/dfp_api/{v201611 → v201711}/product_service.rb +7 -7
  75. data/lib/dfp_api/v201711/product_service_registry.rb +45 -0
  76. data/lib/dfp_api/{v201611 → v201711}/product_template_service.rb +7 -7
  77. data/lib/dfp_api/v201711/product_template_service_registry.rb +45 -0
  78. data/lib/dfp_api/{v201611 → v201711}/proposal_line_item_service.rb +7 -7
  79. data/lib/dfp_api/v201711/proposal_line_item_service_registry.rb +45 -0
  80. data/lib/dfp_api/{v201611 → v201711}/proposal_service.rb +7 -7
  81. data/lib/dfp_api/v201711/proposal_service_registry.rb +45 -0
  82. data/lib/dfp_api/{v201611 → v201711}/publisher_query_language_service.rb +7 -7
  83. data/lib/dfp_api/v201711/publisher_query_language_service_registry.rb +45 -0
  84. data/lib/dfp_api/{v201611 → v201711}/rate_card_service.rb +7 -7
  85. data/lib/dfp_api/v201711/rate_card_service_registry.rb +45 -0
  86. data/lib/dfp_api/{v201611 → v201711}/reconciliation_line_item_report_service.rb +7 -7
  87. data/lib/dfp_api/v201711/reconciliation_line_item_report_service_registry.rb +45 -0
  88. data/lib/dfp_api/{v201611 → v201711}/reconciliation_order_report_service.rb +7 -7
  89. data/lib/dfp_api/v201711/reconciliation_order_report_service_registry.rb +45 -0
  90. data/lib/dfp_api/{v201611 → v201711}/reconciliation_report_row_service.rb +7 -7
  91. data/lib/dfp_api/v201711/reconciliation_report_row_service_registry.rb +45 -0
  92. data/lib/dfp_api/{v201611 → v201711}/reconciliation_report_service.rb +7 -7
  93. data/lib/dfp_api/v201711/reconciliation_report_service_registry.rb +45 -0
  94. data/lib/dfp_api/{v201611 → v201711}/report_service.rb +7 -7
  95. data/lib/dfp_api/v201711/report_service_registry.rb +45 -0
  96. data/lib/dfp_api/{v201611 → v201711}/suggested_ad_unit_service.rb +7 -7
  97. data/lib/dfp_api/v201711/suggested_ad_unit_service_registry.rb +45 -0
  98. data/lib/dfp_api/{v201611 → v201711}/team_service.rb +15 -7
  99. data/lib/dfp_api/v201711/team_service_registry.rb +45 -0
  100. data/lib/dfp_api/{v201611 → v201711}/user_service.rb +7 -7
  101. data/lib/dfp_api/v201711/user_service_registry.rb +45 -0
  102. data/lib/dfp_api/{v201611 → v201711}/user_team_association_service.rb +7 -7
  103. data/lib/dfp_api/v201711/user_team_association_service_registry.rb +45 -0
  104. data/lib/dfp_api/{v201611 → v201711}/workflow_request_service.rb +7 -7
  105. data/lib/dfp_api/v201711/workflow_request_service_registry.rb +45 -0
  106. data/lib/dfp_api/version.rb +1 -1
  107. metadata +105 -101
  108. data/lib/dfp_api/v201611/activity_group_service_registry.rb +0 -45
  109. data/lib/dfp_api/v201611/activity_service_registry.rb +0 -45
  110. data/lib/dfp_api/v201611/ad_exclusion_rule_service_registry.rb +0 -45
  111. data/lib/dfp_api/v201611/ad_rule_service_registry.rb +0 -45
  112. data/lib/dfp_api/v201611/audience_segment_service_registry.rb +0 -45
  113. data/lib/dfp_api/v201611/base_rate_service_registry.rb +0 -45
  114. data/lib/dfp_api/v201611/company_service_registry.rb +0 -45
  115. data/lib/dfp_api/v201611/contact_service_registry.rb +0 -45
  116. data/lib/dfp_api/v201611/content_bundle_service_registry.rb +0 -45
  117. data/lib/dfp_api/v201611/content_metadata_key_hierarchy_service_registry.rb +0 -45
  118. data/lib/dfp_api/v201611/content_service_registry.rb +0 -45
  119. data/lib/dfp_api/v201611/creative_service_registry.rb +0 -45
  120. data/lib/dfp_api/v201611/creative_set_service_registry.rb +0 -45
  121. data/lib/dfp_api/v201611/creative_template_service_registry.rb +0 -45
  122. data/lib/dfp_api/v201611/creative_wrapper_service_registry.rb +0 -45
  123. data/lib/dfp_api/v201611/custom_field_service_registry.rb +0 -45
  124. data/lib/dfp_api/v201611/custom_targeting_service_registry.rb +0 -45
  125. data/lib/dfp_api/v201611/exchange_rate_service_registry.rb +0 -45
  126. data/lib/dfp_api/v201611/forecast_service_registry.rb +0 -45
  127. data/lib/dfp_api/v201611/inventory_service_registry.rb +0 -45
  128. data/lib/dfp_api/v201611/label_service_registry.rb +0 -45
  129. data/lib/dfp_api/v201611/line_item_service_registry.rb +0 -45
  130. data/lib/dfp_api/v201611/line_item_template_service_registry.rb +0 -45
  131. data/lib/dfp_api/v201611/live_stream_event_service_registry.rb +0 -45
  132. data/lib/dfp_api/v201611/mobile_application_service_registry.rb +0 -45
  133. data/lib/dfp_api/v201611/network_service_registry.rb +0 -45
  134. data/lib/dfp_api/v201611/order_service_registry.rb +0 -45
  135. data/lib/dfp_api/v201611/package_service_registry.rb +0 -45
  136. data/lib/dfp_api/v201611/placement_service_registry.rb +0 -45
  137. data/lib/dfp_api/v201611/premium_rate_service_registry.rb +0 -45
  138. data/lib/dfp_api/v201611/product_package_item_service_registry.rb +0 -45
  139. data/lib/dfp_api/v201611/product_package_service_registry.rb +0 -45
  140. data/lib/dfp_api/v201611/product_service_registry.rb +0 -45
  141. data/lib/dfp_api/v201611/product_template_service_registry.rb +0 -45
  142. data/lib/dfp_api/v201611/proposal_line_item_service_registry.rb +0 -45
  143. data/lib/dfp_api/v201611/proposal_service_registry.rb +0 -45
  144. data/lib/dfp_api/v201611/publisher_query_language_service_registry.rb +0 -45
  145. data/lib/dfp_api/v201611/rate_card_service_registry.rb +0 -45
  146. data/lib/dfp_api/v201611/reconciliation_line_item_report_service_registry.rb +0 -45
  147. data/lib/dfp_api/v201611/reconciliation_order_report_service_registry.rb +0 -45
  148. data/lib/dfp_api/v201611/reconciliation_report_row_service_registry.rb +0 -45
  149. data/lib/dfp_api/v201611/reconciliation_report_service_registry.rb +0 -45
  150. data/lib/dfp_api/v201611/report_service_registry.rb +0 -45
  151. data/lib/dfp_api/v201611/suggested_ad_unit_service_registry.rb +0 -45
  152. data/lib/dfp_api/v201611/team_service_registry.rb +0 -45
  153. data/lib/dfp_api/v201611/user_service_registry.rb +0 -45
  154. data/lib/dfp_api/v201611/user_team_association_service_registry.rb +0 -45
  155. data/lib/dfp_api/v201611/workflow_request_service_registry.rb +0 -45
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 1.0.0 on 2017-10-13 16:16:33.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201711; module UserTeamAssociationService
13
+ class UserTeamAssociationServiceRegistry
14
+ USERTEAMASSOCIATIONSERVICE_METHODS = {:create_user_team_associations=>{:input=>[{:name=>:user_team_associations, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_user_team_associations_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_user_team_associations_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_user_team_associations_by_statement_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociationPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_user_team_association_action=>{:input=>[{:name=>:user_team_association_action, :type=>"UserTeamAssociationAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_user_team_association_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_user_team_associations=>{:input=>[{:name=>:user_team_associations, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_user_team_associations_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ USERTEAMASSOCIATIONSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeleteUserTeamAssociations=>{:fields=>[], :base=>"UserTeamAssociationAction"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TeamError=>{:fields=>[{:name=>:reason, :type=>"TeamError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :UserRecordTeamAssociation=>{:fields=>[{:name=>:team_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:overridden_team_access_type, :type=>"TeamAccessType", :min_occurs=>0, :max_occurs=>1}, {:name=>:default_team_access_type, :type=>"TeamAccessType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :UserTeamAssociationAction=>{:fields=>[], :abstract=>true}, :UserTeamAssociation=>{:fields=>[{:name=>:user_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"UserRecordTeamAssociation"}, :UserTeamAssociationPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :TeamAccessType=>{:fields=>[]}, :"TeamError.Reason"=>{:fields=>[]}}
16
+ USERTEAMASSOCIATIONSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return USERTEAMASSOCIATIONSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return USERTEAMASSOCIATIONSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return USERTEAMASSOCIATIONSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, UserTeamAssociationServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -2,19 +2,19 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:03:36.
8
+ # Code generated by AdsCommon library 1.0.0 on 2017-10-13 16:16:33.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'dfp_api/v201611/workflow_request_service_registry'
11
+ require 'dfp_api/v201711/workflow_request_service_registry'
12
12
 
13
- module DfpApi; module V201611; module WorkflowRequestService
13
+ module DfpApi; module V201711; module WorkflowRequestService
14
14
  class WorkflowRequestService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
- super(config, endpoint, namespace, :v201611)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201711'
17
+ super(config, endpoint, namespace, :v201711)
18
18
  end
19
19
 
20
20
  def get_workflow_requests_by_statement(*args, &block)
@@ -40,7 +40,7 @@ module DfpApi; module V201611; module WorkflowRequestService
40
40
  end
41
41
 
42
42
  def get_module()
43
- return DfpApi::V201611::WorkflowRequestService
43
+ return DfpApi::V201711::WorkflowRequestService
44
44
  end
45
45
  end
46
46
  end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 1.0.0 on 2017-10-13 16:16:33.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201711; module WorkflowRequestService
13
+ class WorkflowRequestServiceRegistry
14
+ WORKFLOWREQUESTSERVICE_METHODS = {:get_workflow_requests_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_workflow_requests_by_statement_response", :fields=>[{:name=>:rval, :type=>"WorkflowRequestPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_workflow_request_action=>{:input=>[{:name=>:action, :type=>"WorkflowRequestAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_workflow_request_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}}
15
+ WORKFLOWREQUESTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ApproveWorkflowApprovalRequests=>{:fields=>[{:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequestAction"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowRequest=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:workflow_rule_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:entity_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:entity_type, :type=>"WorkflowEntityType", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"WorkflowRequestType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :SkipWorkflowExternalConditionRequests=>{:fields=>[], :base=>"WorkflowRequestAction"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ForecastError=>{:fields=>[{:name=>:reason, :type=>"ForecastError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LineItemOperationError=>{:fields=>[{:name=>:reason, :type=>"LineItemOperationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TriggerWorkflowExternalConditionRequests=>{:fields=>[], :base=>"WorkflowRequestAction"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProposalActionError=>{:fields=>[{:name=>:reason, :type=>"ProposalActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectWorkflowApprovalRequests=>{:fields=>[{:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequestAction"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :WorkflowActionError=>{:fields=>[{:name=>:reason, :type=>"WorkflowActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowApprovalRequest=>{:fields=>[{:name=>:status, :type=>"WorkflowApprovalRequestStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequest"}, :WorkflowExternalConditionRequest=>{:fields=>[{:name=>:status, :type=>"WorkflowEvaluationStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequest"}, :WorkflowRequestAction=>{:fields=>[], :abstract=>true}, :WorkflowRequestError=>{:fields=>[{:name=>:reason, :type=>"WorkflowRequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowRequestPage=>{:fields=>[{:name=>:results, :type=>"WorkflowRequest", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :WorkflowApprovalRequestStatus=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"ForecastError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"LineItemOperationError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"ProposalActionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"WorkflowActionError.Reason"=>{:fields=>[]}, :WorkflowEntityType=>{:fields=>[]}, :"WorkflowRequestError.Reason"=>{:fields=>[]}, :WorkflowRequestType=>{:fields=>[]}, :WorkflowEvaluationStatus=>{:fields=>[]}}
16
+ WORKFLOWREQUESTSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return WORKFLOWREQUESTSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return WORKFLOWREQUESTSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return WORKFLOWREQUESTSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, WorkflowRequestServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -19,6 +19,6 @@
19
19
 
20
20
  module DfpApi
21
21
  module ApiConfig
22
- CLIENT_LIB_VERSION = '1.0.0'
22
+ CLIENT_LIB_VERSION = '1.1.0'
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-dfp-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danial Klimkin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-09-22 00:00:00.000000000 Z
12
+ date: 2017-11-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-ads-common
@@ -41,104 +41,6 @@ files:
41
41
  - lib/dfp_api/credential_handler.rb
42
42
  - lib/dfp_api/dfp_api_statement.rb
43
43
  - lib/dfp_api/errors.rb
44
- - lib/dfp_api/v201611/activity_group_service.rb
45
- - lib/dfp_api/v201611/activity_group_service_registry.rb
46
- - lib/dfp_api/v201611/activity_service.rb
47
- - lib/dfp_api/v201611/activity_service_registry.rb
48
- - lib/dfp_api/v201611/ad_exclusion_rule_service.rb
49
- - lib/dfp_api/v201611/ad_exclusion_rule_service_registry.rb
50
- - lib/dfp_api/v201611/ad_rule_service.rb
51
- - lib/dfp_api/v201611/ad_rule_service_registry.rb
52
- - lib/dfp_api/v201611/audience_segment_service.rb
53
- - lib/dfp_api/v201611/audience_segment_service_registry.rb
54
- - lib/dfp_api/v201611/base_rate_service.rb
55
- - lib/dfp_api/v201611/base_rate_service_registry.rb
56
- - lib/dfp_api/v201611/company_service.rb
57
- - lib/dfp_api/v201611/company_service_registry.rb
58
- - lib/dfp_api/v201611/contact_service.rb
59
- - lib/dfp_api/v201611/contact_service_registry.rb
60
- - lib/dfp_api/v201611/content_bundle_service.rb
61
- - lib/dfp_api/v201611/content_bundle_service_registry.rb
62
- - lib/dfp_api/v201611/content_metadata_key_hierarchy_service.rb
63
- - lib/dfp_api/v201611/content_metadata_key_hierarchy_service_registry.rb
64
- - lib/dfp_api/v201611/content_service.rb
65
- - lib/dfp_api/v201611/content_service_registry.rb
66
- - lib/dfp_api/v201611/creative_service.rb
67
- - lib/dfp_api/v201611/creative_service_registry.rb
68
- - lib/dfp_api/v201611/creative_set_service.rb
69
- - lib/dfp_api/v201611/creative_set_service_registry.rb
70
- - lib/dfp_api/v201611/creative_template_service.rb
71
- - lib/dfp_api/v201611/creative_template_service_registry.rb
72
- - lib/dfp_api/v201611/creative_wrapper_service.rb
73
- - lib/dfp_api/v201611/creative_wrapper_service_registry.rb
74
- - lib/dfp_api/v201611/custom_field_service.rb
75
- - lib/dfp_api/v201611/custom_field_service_registry.rb
76
- - lib/dfp_api/v201611/custom_targeting_service.rb
77
- - lib/dfp_api/v201611/custom_targeting_service_registry.rb
78
- - lib/dfp_api/v201611/exchange_rate_service.rb
79
- - lib/dfp_api/v201611/exchange_rate_service_registry.rb
80
- - lib/dfp_api/v201611/forecast_service.rb
81
- - lib/dfp_api/v201611/forecast_service_registry.rb
82
- - lib/dfp_api/v201611/inventory_service.rb
83
- - lib/dfp_api/v201611/inventory_service_registry.rb
84
- - lib/dfp_api/v201611/label_service.rb
85
- - lib/dfp_api/v201611/label_service_registry.rb
86
- - lib/dfp_api/v201611/line_item_creative_association_service.rb
87
- - lib/dfp_api/v201611/line_item_creative_association_service_registry.rb
88
- - lib/dfp_api/v201611/line_item_service.rb
89
- - lib/dfp_api/v201611/line_item_service_registry.rb
90
- - lib/dfp_api/v201611/line_item_template_service.rb
91
- - lib/dfp_api/v201611/line_item_template_service_registry.rb
92
- - lib/dfp_api/v201611/live_stream_event_service.rb
93
- - lib/dfp_api/v201611/live_stream_event_service_registry.rb
94
- - lib/dfp_api/v201611/mobile_application_service.rb
95
- - lib/dfp_api/v201611/mobile_application_service_registry.rb
96
- - lib/dfp_api/v201611/network_service.rb
97
- - lib/dfp_api/v201611/network_service_registry.rb
98
- - lib/dfp_api/v201611/order_service.rb
99
- - lib/dfp_api/v201611/order_service_registry.rb
100
- - lib/dfp_api/v201611/package_service.rb
101
- - lib/dfp_api/v201611/package_service_registry.rb
102
- - lib/dfp_api/v201611/placement_service.rb
103
- - lib/dfp_api/v201611/placement_service_registry.rb
104
- - lib/dfp_api/v201611/premium_rate_service.rb
105
- - lib/dfp_api/v201611/premium_rate_service_registry.rb
106
- - lib/dfp_api/v201611/product_package_item_service.rb
107
- - lib/dfp_api/v201611/product_package_item_service_registry.rb
108
- - lib/dfp_api/v201611/product_package_service.rb
109
- - lib/dfp_api/v201611/product_package_service_registry.rb
110
- - lib/dfp_api/v201611/product_service.rb
111
- - lib/dfp_api/v201611/product_service_registry.rb
112
- - lib/dfp_api/v201611/product_template_service.rb
113
- - lib/dfp_api/v201611/product_template_service_registry.rb
114
- - lib/dfp_api/v201611/proposal_line_item_service.rb
115
- - lib/dfp_api/v201611/proposal_line_item_service_registry.rb
116
- - lib/dfp_api/v201611/proposal_service.rb
117
- - lib/dfp_api/v201611/proposal_service_registry.rb
118
- - lib/dfp_api/v201611/publisher_query_language_service.rb
119
- - lib/dfp_api/v201611/publisher_query_language_service_registry.rb
120
- - lib/dfp_api/v201611/rate_card_service.rb
121
- - lib/dfp_api/v201611/rate_card_service_registry.rb
122
- - lib/dfp_api/v201611/reconciliation_line_item_report_service.rb
123
- - lib/dfp_api/v201611/reconciliation_line_item_report_service_registry.rb
124
- - lib/dfp_api/v201611/reconciliation_order_report_service.rb
125
- - lib/dfp_api/v201611/reconciliation_order_report_service_registry.rb
126
- - lib/dfp_api/v201611/reconciliation_report_row_service.rb
127
- - lib/dfp_api/v201611/reconciliation_report_row_service_registry.rb
128
- - lib/dfp_api/v201611/reconciliation_report_service.rb
129
- - lib/dfp_api/v201611/reconciliation_report_service_registry.rb
130
- - lib/dfp_api/v201611/report_service.rb
131
- - lib/dfp_api/v201611/report_service_registry.rb
132
- - lib/dfp_api/v201611/suggested_ad_unit_service.rb
133
- - lib/dfp_api/v201611/suggested_ad_unit_service_registry.rb
134
- - lib/dfp_api/v201611/team_service.rb
135
- - lib/dfp_api/v201611/team_service_registry.rb
136
- - lib/dfp_api/v201611/user_service.rb
137
- - lib/dfp_api/v201611/user_service_registry.rb
138
- - lib/dfp_api/v201611/user_team_association_service.rb
139
- - lib/dfp_api/v201611/user_team_association_service_registry.rb
140
- - lib/dfp_api/v201611/workflow_request_service.rb
141
- - lib/dfp_api/v201611/workflow_request_service_registry.rb
142
44
  - lib/dfp_api/v201702/activity_group_service.rb
143
45
  - lib/dfp_api/v201702/activity_group_service_registry.rb
144
46
  - lib/dfp_api/v201702/activity_service.rb
@@ -439,6 +341,108 @@ files:
439
341
  - lib/dfp_api/v201708/user_team_association_service_registry.rb
440
342
  - lib/dfp_api/v201708/workflow_request_service.rb
441
343
  - lib/dfp_api/v201708/workflow_request_service_registry.rb
344
+ - lib/dfp_api/v201711/activity_group_service.rb
345
+ - lib/dfp_api/v201711/activity_group_service_registry.rb
346
+ - lib/dfp_api/v201711/activity_service.rb
347
+ - lib/dfp_api/v201711/activity_service_registry.rb
348
+ - lib/dfp_api/v201711/ad_exclusion_rule_service.rb
349
+ - lib/dfp_api/v201711/ad_exclusion_rule_service_registry.rb
350
+ - lib/dfp_api/v201711/ad_rule_service.rb
351
+ - lib/dfp_api/v201711/ad_rule_service_registry.rb
352
+ - lib/dfp_api/v201711/audience_segment_service.rb
353
+ - lib/dfp_api/v201711/audience_segment_service_registry.rb
354
+ - lib/dfp_api/v201711/base_rate_service.rb
355
+ - lib/dfp_api/v201711/base_rate_service_registry.rb
356
+ - lib/dfp_api/v201711/cdn_configuration_service.rb
357
+ - lib/dfp_api/v201711/cdn_configuration_service_registry.rb
358
+ - lib/dfp_api/v201711/company_service.rb
359
+ - lib/dfp_api/v201711/company_service_registry.rb
360
+ - lib/dfp_api/v201711/contact_service.rb
361
+ - lib/dfp_api/v201711/contact_service_registry.rb
362
+ - lib/dfp_api/v201711/content_bundle_service.rb
363
+ - lib/dfp_api/v201711/content_bundle_service_registry.rb
364
+ - lib/dfp_api/v201711/content_metadata_key_hierarchy_service.rb
365
+ - lib/dfp_api/v201711/content_metadata_key_hierarchy_service_registry.rb
366
+ - lib/dfp_api/v201711/content_service.rb
367
+ - lib/dfp_api/v201711/content_service_registry.rb
368
+ - lib/dfp_api/v201711/creative_service.rb
369
+ - lib/dfp_api/v201711/creative_service_registry.rb
370
+ - lib/dfp_api/v201711/creative_set_service.rb
371
+ - lib/dfp_api/v201711/creative_set_service_registry.rb
372
+ - lib/dfp_api/v201711/creative_template_service.rb
373
+ - lib/dfp_api/v201711/creative_template_service_registry.rb
374
+ - lib/dfp_api/v201711/creative_wrapper_service.rb
375
+ - lib/dfp_api/v201711/creative_wrapper_service_registry.rb
376
+ - lib/dfp_api/v201711/custom_field_service.rb
377
+ - lib/dfp_api/v201711/custom_field_service_registry.rb
378
+ - lib/dfp_api/v201711/custom_targeting_service.rb
379
+ - lib/dfp_api/v201711/custom_targeting_service_registry.rb
380
+ - lib/dfp_api/v201711/exchange_rate_service.rb
381
+ - lib/dfp_api/v201711/exchange_rate_service_registry.rb
382
+ - lib/dfp_api/v201711/forecast_service.rb
383
+ - lib/dfp_api/v201711/forecast_service_registry.rb
384
+ - lib/dfp_api/v201711/inventory_service.rb
385
+ - lib/dfp_api/v201711/inventory_service_registry.rb
386
+ - lib/dfp_api/v201711/label_service.rb
387
+ - lib/dfp_api/v201711/label_service_registry.rb
388
+ - lib/dfp_api/v201711/line_item_creative_association_service.rb
389
+ - lib/dfp_api/v201711/line_item_creative_association_service_registry.rb
390
+ - lib/dfp_api/v201711/line_item_service.rb
391
+ - lib/dfp_api/v201711/line_item_service_registry.rb
392
+ - lib/dfp_api/v201711/line_item_template_service.rb
393
+ - lib/dfp_api/v201711/line_item_template_service_registry.rb
394
+ - lib/dfp_api/v201711/live_stream_event_service.rb
395
+ - lib/dfp_api/v201711/live_stream_event_service_registry.rb
396
+ - lib/dfp_api/v201711/mobile_application_service.rb
397
+ - lib/dfp_api/v201711/mobile_application_service_registry.rb
398
+ - lib/dfp_api/v201711/native_style_service.rb
399
+ - lib/dfp_api/v201711/native_style_service_registry.rb
400
+ - lib/dfp_api/v201711/network_service.rb
401
+ - lib/dfp_api/v201711/network_service_registry.rb
402
+ - lib/dfp_api/v201711/order_service.rb
403
+ - lib/dfp_api/v201711/order_service_registry.rb
404
+ - lib/dfp_api/v201711/package_service.rb
405
+ - lib/dfp_api/v201711/package_service_registry.rb
406
+ - lib/dfp_api/v201711/placement_service.rb
407
+ - lib/dfp_api/v201711/placement_service_registry.rb
408
+ - lib/dfp_api/v201711/premium_rate_service.rb
409
+ - lib/dfp_api/v201711/premium_rate_service_registry.rb
410
+ - lib/dfp_api/v201711/product_package_item_service.rb
411
+ - lib/dfp_api/v201711/product_package_item_service_registry.rb
412
+ - lib/dfp_api/v201711/product_package_service.rb
413
+ - lib/dfp_api/v201711/product_package_service_registry.rb
414
+ - lib/dfp_api/v201711/product_service.rb
415
+ - lib/dfp_api/v201711/product_service_registry.rb
416
+ - lib/dfp_api/v201711/product_template_service.rb
417
+ - lib/dfp_api/v201711/product_template_service_registry.rb
418
+ - lib/dfp_api/v201711/proposal_line_item_service.rb
419
+ - lib/dfp_api/v201711/proposal_line_item_service_registry.rb
420
+ - lib/dfp_api/v201711/proposal_service.rb
421
+ - lib/dfp_api/v201711/proposal_service_registry.rb
422
+ - lib/dfp_api/v201711/publisher_query_language_service.rb
423
+ - lib/dfp_api/v201711/publisher_query_language_service_registry.rb
424
+ - lib/dfp_api/v201711/rate_card_service.rb
425
+ - lib/dfp_api/v201711/rate_card_service_registry.rb
426
+ - lib/dfp_api/v201711/reconciliation_line_item_report_service.rb
427
+ - lib/dfp_api/v201711/reconciliation_line_item_report_service_registry.rb
428
+ - lib/dfp_api/v201711/reconciliation_order_report_service.rb
429
+ - lib/dfp_api/v201711/reconciliation_order_report_service_registry.rb
430
+ - lib/dfp_api/v201711/reconciliation_report_row_service.rb
431
+ - lib/dfp_api/v201711/reconciliation_report_row_service_registry.rb
432
+ - lib/dfp_api/v201711/reconciliation_report_service.rb
433
+ - lib/dfp_api/v201711/reconciliation_report_service_registry.rb
434
+ - lib/dfp_api/v201711/report_service.rb
435
+ - lib/dfp_api/v201711/report_service_registry.rb
436
+ - lib/dfp_api/v201711/suggested_ad_unit_service.rb
437
+ - lib/dfp_api/v201711/suggested_ad_unit_service_registry.rb
438
+ - lib/dfp_api/v201711/team_service.rb
439
+ - lib/dfp_api/v201711/team_service_registry.rb
440
+ - lib/dfp_api/v201711/user_service.rb
441
+ - lib/dfp_api/v201711/user_service_registry.rb
442
+ - lib/dfp_api/v201711/user_team_association_service.rb
443
+ - lib/dfp_api/v201711/user_team_association_service_registry.rb
444
+ - lib/dfp_api/v201711/workflow_request_service.rb
445
+ - lib/dfp_api/v201711/workflow_request_service_registry.rb
442
446
  - lib/dfp_api/version.rb
443
447
  homepage: https://github.com/googleads/google-api-ads-ruby
444
448
  licenses:
@@ -460,7 +464,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
460
464
  version: 1.3.6
461
465
  requirements: []
462
466
  rubyforge_project: google-dfp-api
463
- rubygems_version: 2.6.8
467
+ rubygems_version: 2.6.11
464
468
  signing_key:
465
469
  specification_version: 4
466
470
  summary: Ruby Client libraries for DFP API
@@ -1,45 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:50.
9
-
10
- require 'dfp_api/errors'
11
-
12
- module DfpApi; module V201611; module ActivityGroupService
13
- class ActivityGroupServiceRegistry
14
- ACTIVITYGROUPSERVICE_METHODS = {:create_activity_groups=>{:input=>[{:name=>:activity_groups, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_activity_groups_response", :fields=>[{:name=>:rval, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_activity_groups_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_activity_groups_by_statement_response", :fields=>[{:name=>:rval, :type=>"ActivityGroupPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_activity_groups=>{:input=>[{:name=>:activity_groups, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_activity_groups_response", :fields=>[{:name=>:rval, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- ACTIVITYGROUPSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivityError=>{:fields=>[{:name=>:reason, :type=>"ActivityError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ActivityGroup=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:impressions_lookback, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks_lookback, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ActivityGroup.Status", :min_occurs=>0, :max_occurs=>1}]}, :ActivityGroupPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"ActivityError.Reason"=>{:fields=>[]}, :"ActivityGroup.Status"=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
- ACTIVITYGROUPSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return ACTIVITYGROUPSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return ACTIVITYGROUPSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return ACTIVITYGROUPSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < DfpApi::Errors::ApiException
33
- attr_reader :message # string
34
- end
35
-
36
- # Exception class for holding a list of service errors.
37
- class ApiException < ApplicationException
38
- attr_reader :errors # ApiError
39
- def initialize(exception_fault)
40
- @array_fields ||= []
41
- @array_fields << 'errors'
42
- super(exception_fault, ActivityGroupServiceRegistry)
43
- end
44
- end
45
- end; end; end
@@ -1,45 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:50.
9
-
10
- require 'dfp_api/errors'
11
-
12
- module DfpApi; module V201611; module ActivityService
13
- class ActivityServiceRegistry
14
- ACTIVITYSERVICE_METHODS = {:create_activities=>{:input=>[{:name=>:activities, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_activities_response", :fields=>[{:name=>:rval, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_activities_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_activities_by_statement_response", :fields=>[{:name=>:rval, :type=>"ActivityPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_activities=>{:input=>[{:name=>:activities, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_activities_response", :fields=>[{:name=>:rval, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- ACTIVITYSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :Activity=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:activity_group_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:expected_url, :original_name=>"expectedURL", :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"Activity.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Activity.Type", :min_occurs=>0, :max_occurs=>1}]}, :ActivityError=>{:fields=>[{:name=>:reason, :type=>"ActivityError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ActivityPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"Activity.Status"=>{:fields=>[]}, :"Activity.Type"=>{:fields=>[]}, :"ActivityError.Reason"=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
- ACTIVITYSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return ACTIVITYSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return ACTIVITYSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return ACTIVITYSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < DfpApi::Errors::ApiException
33
- attr_reader :message # string
34
- end
35
-
36
- # Exception class for holding a list of service errors.
37
- class ApiException < ApplicationException
38
- attr_reader :errors # ApiError
39
- def initialize(exception_fault)
40
- @array_fields ||= []
41
- @array_fields << 'errors'
42
- super(exception_fault, ActivityServiceRegistry)
43
- end
44
- end
45
- end; end; end