google-dfp-api 2.5.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +6 -0
  3. data/lib/ad_manager_api/api_config.rb +13 -14
  4. data/lib/ad_manager_api/v202305/activity_group_service.rb +2 -2
  5. data/lib/ad_manager_api/v202305/activity_group_service_registry.rb +2 -2
  6. data/lib/ad_manager_api/v202305/activity_service.rb +2 -2
  7. data/lib/ad_manager_api/v202305/activity_service_registry.rb +2 -2
  8. data/lib/ad_manager_api/v202305/ad_rule_service.rb +2 -2
  9. data/lib/ad_manager_api/v202305/ad_rule_service_registry.rb +2 -2
  10. data/lib/ad_manager_api/v202305/adjustment_service.rb +2 -2
  11. data/lib/ad_manager_api/v202305/adjustment_service_registry.rb +2 -2
  12. data/lib/ad_manager_api/v202305/audience_segment_service.rb +2 -2
  13. data/lib/ad_manager_api/v202305/audience_segment_service_registry.rb +2 -2
  14. data/lib/ad_manager_api/v202305/cdn_configuration_service.rb +2 -2
  15. data/lib/ad_manager_api/v202305/cdn_configuration_service_registry.rb +2 -2
  16. data/lib/ad_manager_api/v202305/cms_metadata_service.rb +2 -2
  17. data/lib/ad_manager_api/v202305/cms_metadata_service_registry.rb +2 -2
  18. data/lib/ad_manager_api/v202305/company_service.rb +2 -2
  19. data/lib/ad_manager_api/v202305/company_service_registry.rb +2 -2
  20. data/lib/ad_manager_api/v202305/contact_service.rb +2 -2
  21. data/lib/ad_manager_api/v202305/contact_service_registry.rb +2 -2
  22. data/lib/ad_manager_api/v202305/content_bundle_service.rb +2 -2
  23. data/lib/ad_manager_api/v202305/content_bundle_service_registry.rb +2 -2
  24. data/lib/ad_manager_api/v202305/content_service.rb +2 -2
  25. data/lib/ad_manager_api/v202305/content_service_registry.rb +2 -2
  26. data/lib/ad_manager_api/v202305/creative_review_service.rb +2 -10
  27. data/lib/ad_manager_api/v202305/creative_review_service_registry.rb +4 -4
  28. data/lib/ad_manager_api/v202305/creative_service.rb +2 -2
  29. data/lib/ad_manager_api/v202305/creative_service_registry.rb +2 -2
  30. data/lib/ad_manager_api/v202305/creative_set_service.rb +2 -2
  31. data/lib/ad_manager_api/v202305/creative_set_service_registry.rb +2 -2
  32. data/lib/ad_manager_api/v202305/creative_template_service.rb +2 -2
  33. data/lib/ad_manager_api/v202305/creative_template_service_registry.rb +2 -2
  34. data/lib/ad_manager_api/v202305/creative_wrapper_service.rb +2 -2
  35. data/lib/ad_manager_api/v202305/creative_wrapper_service_registry.rb +2 -2
  36. data/lib/ad_manager_api/v202305/custom_field_service.rb +2 -2
  37. data/lib/ad_manager_api/v202305/custom_field_service_registry.rb +3 -3
  38. data/lib/ad_manager_api/v202305/custom_targeting_service.rb +2 -2
  39. data/lib/ad_manager_api/v202305/custom_targeting_service_registry.rb +2 -2
  40. data/lib/ad_manager_api/v202305/dai_authentication_key_service.rb +2 -2
  41. data/lib/ad_manager_api/v202305/dai_authentication_key_service_registry.rb +2 -2
  42. data/lib/ad_manager_api/v202305/dai_encoding_profile_service.rb +2 -2
  43. data/lib/ad_manager_api/v202305/dai_encoding_profile_service_registry.rb +2 -2
  44. data/lib/ad_manager_api/v202305/forecast_service.rb +2 -2
  45. data/lib/ad_manager_api/v202305/forecast_service_registry.rb +2 -2
  46. data/lib/ad_manager_api/v202305/inventory_service.rb +2 -2
  47. data/lib/ad_manager_api/v202305/inventory_service_registry.rb +2 -2
  48. data/lib/ad_manager_api/v202305/label_service.rb +2 -2
  49. data/lib/ad_manager_api/v202305/label_service_registry.rb +2 -2
  50. data/lib/ad_manager_api/v202305/line_item_creative_association_service.rb +2 -2
  51. data/lib/ad_manager_api/v202305/line_item_creative_association_service_registry.rb +2 -2
  52. data/lib/ad_manager_api/v202305/line_item_service.rb +2 -2
  53. data/lib/ad_manager_api/v202305/line_item_service_registry.rb +2 -2
  54. data/lib/ad_manager_api/v202305/line_item_template_service.rb +2 -2
  55. data/lib/ad_manager_api/v202305/line_item_template_service_registry.rb +2 -2
  56. data/lib/ad_manager_api/v202305/live_stream_event_service.rb +2 -2
  57. data/lib/ad_manager_api/v202305/live_stream_event_service_registry.rb +2 -2
  58. data/lib/ad_manager_api/v202305/mobile_application_service.rb +2 -2
  59. data/lib/ad_manager_api/v202305/mobile_application_service_registry.rb +2 -2
  60. data/lib/ad_manager_api/v202305/native_style_service.rb +2 -2
  61. data/lib/ad_manager_api/v202305/native_style_service_registry.rb +2 -2
  62. data/lib/ad_manager_api/v202305/network_service.rb +2 -2
  63. data/lib/ad_manager_api/v202305/network_service_registry.rb +2 -2
  64. data/lib/ad_manager_api/v202305/order_service.rb +2 -2
  65. data/lib/ad_manager_api/v202305/order_service_registry.rb +2 -2
  66. data/lib/ad_manager_api/v202305/placement_service.rb +2 -2
  67. data/lib/ad_manager_api/v202305/placement_service_registry.rb +2 -2
  68. data/lib/ad_manager_api/v202305/proposal_line_item_service.rb +2 -2
  69. data/lib/ad_manager_api/v202305/proposal_line_item_service_registry.rb +2 -2
  70. data/lib/ad_manager_api/v202305/proposal_service.rb +2 -2
  71. data/lib/ad_manager_api/v202305/proposal_service_registry.rb +2 -2
  72. data/lib/ad_manager_api/v202305/publisher_query_language_service.rb +2 -2
  73. data/lib/ad_manager_api/v202305/publisher_query_language_service_registry.rb +2 -2
  74. data/lib/ad_manager_api/v202305/report_service.rb +2 -2
  75. data/lib/ad_manager_api/v202305/report_service_registry.rb +2 -2
  76. data/lib/ad_manager_api/v202305/segment_population_service.rb +2 -2
  77. data/lib/ad_manager_api/v202305/segment_population_service_registry.rb +2 -2
  78. data/lib/ad_manager_api/v202305/site_service.rb +2 -2
  79. data/lib/ad_manager_api/v202305/site_service_registry.rb +2 -2
  80. data/lib/ad_manager_api/v202305/stream_activity_monitor_service.rb +2 -2
  81. data/lib/ad_manager_api/v202305/stream_activity_monitor_service_registry.rb +2 -2
  82. data/lib/ad_manager_api/v202305/suggested_ad_unit_service.rb +2 -2
  83. data/lib/ad_manager_api/v202305/suggested_ad_unit_service_registry.rb +2 -2
  84. data/lib/ad_manager_api/v202305/targeting_preset_service.rb +2 -2
  85. data/lib/ad_manager_api/v202305/targeting_preset_service_registry.rb +2 -2
  86. data/lib/ad_manager_api/v202305/team_service.rb +2 -2
  87. data/lib/ad_manager_api/v202305/team_service_registry.rb +3 -3
  88. data/lib/ad_manager_api/v202305/user_service.rb +2 -2
  89. data/lib/ad_manager_api/v202305/user_service_registry.rb +3 -3
  90. data/lib/ad_manager_api/v202305/user_team_association_service.rb +2 -2
  91. data/lib/ad_manager_api/v202305/user_team_association_service_registry.rb +2 -2
  92. data/lib/ad_manager_api/v202305/yield_group_service.rb +2 -2
  93. data/lib/ad_manager_api/v202305/yield_group_service_registry.rb +2 -2
  94. data/lib/ad_manager_api/v202308/activity_group_service.rb +2 -2
  95. data/lib/ad_manager_api/v202308/activity_group_service_registry.rb +2 -2
  96. data/lib/ad_manager_api/v202308/activity_service.rb +2 -2
  97. data/lib/ad_manager_api/v202308/activity_service_registry.rb +2 -2
  98. data/lib/ad_manager_api/v202308/ad_rule_service.rb +2 -2
  99. data/lib/ad_manager_api/v202308/ad_rule_service_registry.rb +2 -2
  100. data/lib/ad_manager_api/v202308/adjustment_service.rb +2 -2
  101. data/lib/ad_manager_api/v202308/adjustment_service_registry.rb +2 -2
  102. data/lib/ad_manager_api/v202308/audience_segment_service.rb +2 -2
  103. data/lib/ad_manager_api/v202308/audience_segment_service_registry.rb +2 -2
  104. data/lib/ad_manager_api/v202308/cdn_configuration_service.rb +2 -2
  105. data/lib/ad_manager_api/v202308/cdn_configuration_service_registry.rb +2 -2
  106. data/lib/ad_manager_api/v202308/cms_metadata_service.rb +2 -2
  107. data/lib/ad_manager_api/v202308/cms_metadata_service_registry.rb +2 -2
  108. data/lib/ad_manager_api/v202308/company_service.rb +2 -2
  109. data/lib/ad_manager_api/v202308/company_service_registry.rb +2 -2
  110. data/lib/ad_manager_api/v202308/contact_service.rb +2 -2
  111. data/lib/ad_manager_api/v202308/contact_service_registry.rb +2 -2
  112. data/lib/ad_manager_api/v202308/content_bundle_service.rb +2 -2
  113. data/lib/ad_manager_api/v202308/content_bundle_service_registry.rb +2 -2
  114. data/lib/ad_manager_api/v202308/content_service.rb +2 -2
  115. data/lib/ad_manager_api/v202308/content_service_registry.rb +2 -2
  116. data/lib/ad_manager_api/v202308/creative_review_service.rb +2 -10
  117. data/lib/ad_manager_api/v202308/creative_review_service_registry.rb +4 -4
  118. data/lib/ad_manager_api/v202308/creative_service.rb +2 -2
  119. data/lib/ad_manager_api/v202308/creative_service_registry.rb +2 -2
  120. data/lib/ad_manager_api/v202308/creative_set_service.rb +2 -2
  121. data/lib/ad_manager_api/v202308/creative_set_service_registry.rb +2 -2
  122. data/lib/ad_manager_api/v202308/creative_template_service.rb +2 -2
  123. data/lib/ad_manager_api/v202308/creative_template_service_registry.rb +2 -2
  124. data/lib/ad_manager_api/v202308/creative_wrapper_service.rb +2 -2
  125. data/lib/ad_manager_api/v202308/creative_wrapper_service_registry.rb +2 -2
  126. data/lib/ad_manager_api/v202308/custom_field_service.rb +2 -2
  127. data/lib/ad_manager_api/v202308/custom_field_service_registry.rb +3 -3
  128. data/lib/ad_manager_api/v202308/custom_targeting_service.rb +2 -2
  129. data/lib/ad_manager_api/v202308/custom_targeting_service_registry.rb +2 -2
  130. data/lib/ad_manager_api/v202308/dai_authentication_key_service.rb +2 -2
  131. data/lib/ad_manager_api/v202308/dai_authentication_key_service_registry.rb +2 -2
  132. data/lib/ad_manager_api/v202308/dai_encoding_profile_service.rb +2 -2
  133. data/lib/ad_manager_api/v202308/dai_encoding_profile_service_registry.rb +2 -2
  134. data/lib/ad_manager_api/v202308/forecast_service.rb +2 -2
  135. data/lib/ad_manager_api/v202308/forecast_service_registry.rb +2 -2
  136. data/lib/ad_manager_api/v202308/inventory_service.rb +2 -2
  137. data/lib/ad_manager_api/v202308/inventory_service_registry.rb +2 -2
  138. data/lib/ad_manager_api/v202308/label_service.rb +2 -2
  139. data/lib/ad_manager_api/v202308/label_service_registry.rb +2 -2
  140. data/lib/ad_manager_api/v202308/line_item_creative_association_service.rb +2 -2
  141. data/lib/ad_manager_api/v202308/line_item_creative_association_service_registry.rb +2 -2
  142. data/lib/ad_manager_api/v202308/line_item_service.rb +2 -2
  143. data/lib/ad_manager_api/v202308/line_item_service_registry.rb +2 -2
  144. data/lib/ad_manager_api/v202308/line_item_template_service.rb +2 -2
  145. data/lib/ad_manager_api/v202308/line_item_template_service_registry.rb +2 -2
  146. data/lib/ad_manager_api/v202308/live_stream_event_service.rb +2 -2
  147. data/lib/ad_manager_api/v202308/live_stream_event_service_registry.rb +2 -2
  148. data/lib/ad_manager_api/v202308/mobile_application_service.rb +2 -2
  149. data/lib/ad_manager_api/v202308/mobile_application_service_registry.rb +2 -2
  150. data/lib/ad_manager_api/v202308/native_style_service.rb +2 -2
  151. data/lib/ad_manager_api/v202308/native_style_service_registry.rb +2 -2
  152. data/lib/ad_manager_api/v202308/network_service.rb +2 -2
  153. data/lib/ad_manager_api/v202308/network_service_registry.rb +2 -2
  154. data/lib/ad_manager_api/v202308/order_service.rb +2 -2
  155. data/lib/ad_manager_api/v202308/order_service_registry.rb +2 -2
  156. data/lib/ad_manager_api/v202308/placement_service.rb +2 -2
  157. data/lib/ad_manager_api/v202308/placement_service_registry.rb +2 -2
  158. data/lib/ad_manager_api/v202308/proposal_line_item_service.rb +2 -2
  159. data/lib/ad_manager_api/v202308/proposal_line_item_service_registry.rb +2 -2
  160. data/lib/ad_manager_api/v202308/proposal_service.rb +2 -2
  161. data/lib/ad_manager_api/v202308/proposal_service_registry.rb +2 -2
  162. data/lib/ad_manager_api/v202308/publisher_query_language_service.rb +2 -2
  163. data/lib/ad_manager_api/v202308/publisher_query_language_service_registry.rb +2 -2
  164. data/lib/ad_manager_api/v202308/report_service.rb +2 -2
  165. data/lib/ad_manager_api/v202308/report_service_registry.rb +2 -2
  166. data/lib/ad_manager_api/v202308/segment_population_service.rb +2 -2
  167. data/lib/ad_manager_api/v202308/segment_population_service_registry.rb +2 -2
  168. data/lib/ad_manager_api/v202308/site_service.rb +2 -2
  169. data/lib/ad_manager_api/v202308/site_service_registry.rb +2 -2
  170. data/lib/ad_manager_api/v202308/stream_activity_monitor_service.rb +2 -2
  171. data/lib/ad_manager_api/v202308/stream_activity_monitor_service_registry.rb +2 -2
  172. data/lib/ad_manager_api/v202308/suggested_ad_unit_service.rb +2 -2
  173. data/lib/ad_manager_api/v202308/suggested_ad_unit_service_registry.rb +2 -2
  174. data/lib/ad_manager_api/v202308/targeting_preset_service.rb +2 -2
  175. data/lib/ad_manager_api/v202308/targeting_preset_service_registry.rb +2 -2
  176. data/lib/ad_manager_api/v202308/team_service.rb +2 -2
  177. data/lib/ad_manager_api/v202308/team_service_registry.rb +3 -3
  178. data/lib/ad_manager_api/v202308/user_service.rb +2 -2
  179. data/lib/ad_manager_api/v202308/user_service_registry.rb +3 -3
  180. data/lib/ad_manager_api/v202308/user_team_association_service.rb +2 -2
  181. data/lib/ad_manager_api/v202308/user_team_association_service_registry.rb +2 -2
  182. data/lib/ad_manager_api/v202308/yield_group_service.rb +2 -2
  183. data/lib/ad_manager_api/v202308/yield_group_service_registry.rb +2 -2
  184. data/lib/ad_manager_api/v202311/activity_group_service.rb +2 -2
  185. data/lib/ad_manager_api/v202311/activity_group_service_registry.rb +2 -2
  186. data/lib/ad_manager_api/v202311/activity_service.rb +2 -2
  187. data/lib/ad_manager_api/v202311/activity_service_registry.rb +2 -2
  188. data/lib/ad_manager_api/v202311/ad_rule_service.rb +2 -2
  189. data/lib/ad_manager_api/v202311/ad_rule_service_registry.rb +2 -2
  190. data/lib/ad_manager_api/v202311/adjustment_service.rb +2 -2
  191. data/lib/ad_manager_api/v202311/adjustment_service_registry.rb +2 -2
  192. data/lib/ad_manager_api/v202311/audience_segment_service.rb +2 -2
  193. data/lib/ad_manager_api/v202311/audience_segment_service_registry.rb +2 -2
  194. data/lib/ad_manager_api/v202311/cdn_configuration_service.rb +2 -2
  195. data/lib/ad_manager_api/v202311/cdn_configuration_service_registry.rb +2 -2
  196. data/lib/ad_manager_api/v202311/cms_metadata_service.rb +2 -2
  197. data/lib/ad_manager_api/v202311/cms_metadata_service_registry.rb +2 -2
  198. data/lib/ad_manager_api/v202311/company_service.rb +2 -2
  199. data/lib/ad_manager_api/v202311/company_service_registry.rb +2 -2
  200. data/lib/ad_manager_api/v202311/contact_service.rb +2 -2
  201. data/lib/ad_manager_api/v202311/contact_service_registry.rb +2 -2
  202. data/lib/ad_manager_api/v202311/content_bundle_service.rb +2 -2
  203. data/lib/ad_manager_api/v202311/content_bundle_service_registry.rb +2 -2
  204. data/lib/ad_manager_api/v202311/content_service.rb +2 -2
  205. data/lib/ad_manager_api/v202311/content_service_registry.rb +2 -2
  206. data/lib/ad_manager_api/v202311/creative_review_service.rb +2 -10
  207. data/lib/ad_manager_api/v202311/creative_review_service_registry.rb +4 -4
  208. data/lib/ad_manager_api/v202311/creative_service.rb +2 -2
  209. data/lib/ad_manager_api/v202311/creative_service_registry.rb +2 -2
  210. data/lib/ad_manager_api/v202311/creative_set_service.rb +2 -2
  211. data/lib/ad_manager_api/v202311/creative_set_service_registry.rb +2 -2
  212. data/lib/ad_manager_api/v202311/creative_template_service.rb +2 -2
  213. data/lib/ad_manager_api/v202311/creative_template_service_registry.rb +2 -2
  214. data/lib/ad_manager_api/v202311/creative_wrapper_service.rb +2 -2
  215. data/lib/ad_manager_api/v202311/creative_wrapper_service_registry.rb +2 -2
  216. data/lib/ad_manager_api/v202311/custom_field_service.rb +2 -2
  217. data/lib/ad_manager_api/v202311/custom_field_service_registry.rb +3 -3
  218. data/lib/ad_manager_api/v202311/custom_targeting_service.rb +2 -2
  219. data/lib/ad_manager_api/v202311/custom_targeting_service_registry.rb +2 -2
  220. data/lib/ad_manager_api/v202311/dai_authentication_key_service.rb +2 -2
  221. data/lib/ad_manager_api/v202311/dai_authentication_key_service_registry.rb +2 -2
  222. data/lib/ad_manager_api/v202311/dai_encoding_profile_service.rb +2 -2
  223. data/lib/ad_manager_api/v202311/dai_encoding_profile_service_registry.rb +2 -2
  224. data/lib/ad_manager_api/v202311/forecast_service.rb +2 -2
  225. data/lib/ad_manager_api/v202311/forecast_service_registry.rb +2 -2
  226. data/lib/ad_manager_api/v202311/inventory_service.rb +2 -2
  227. data/lib/ad_manager_api/v202311/inventory_service_registry.rb +2 -2
  228. data/lib/ad_manager_api/v202311/label_service.rb +2 -2
  229. data/lib/ad_manager_api/v202311/label_service_registry.rb +2 -2
  230. data/lib/ad_manager_api/v202311/line_item_creative_association_service.rb +2 -2
  231. data/lib/ad_manager_api/v202311/line_item_creative_association_service_registry.rb +2 -2
  232. data/lib/ad_manager_api/v202311/line_item_service.rb +2 -2
  233. data/lib/ad_manager_api/v202311/line_item_service_registry.rb +2 -2
  234. data/lib/ad_manager_api/v202311/line_item_template_service.rb +2 -2
  235. data/lib/ad_manager_api/v202311/line_item_template_service_registry.rb +2 -2
  236. data/lib/ad_manager_api/v202311/live_stream_event_service.rb +2 -2
  237. data/lib/ad_manager_api/v202311/live_stream_event_service_registry.rb +2 -2
  238. data/lib/ad_manager_api/v202311/mobile_application_service.rb +2 -2
  239. data/lib/ad_manager_api/v202311/mobile_application_service_registry.rb +2 -2
  240. data/lib/ad_manager_api/v202311/native_style_service.rb +2 -2
  241. data/lib/ad_manager_api/v202311/native_style_service_registry.rb +2 -2
  242. data/lib/ad_manager_api/v202311/network_service.rb +2 -2
  243. data/lib/ad_manager_api/v202311/network_service_registry.rb +2 -2
  244. data/lib/ad_manager_api/v202311/order_service.rb +2 -2
  245. data/lib/ad_manager_api/v202311/order_service_registry.rb +2 -2
  246. data/lib/ad_manager_api/v202311/placement_service.rb +2 -2
  247. data/lib/ad_manager_api/v202311/placement_service_registry.rb +2 -2
  248. data/lib/ad_manager_api/v202311/proposal_line_item_service.rb +2 -2
  249. data/lib/ad_manager_api/v202311/proposal_line_item_service_registry.rb +2 -2
  250. data/lib/ad_manager_api/v202311/proposal_service.rb +2 -2
  251. data/lib/ad_manager_api/v202311/proposal_service_registry.rb +2 -2
  252. data/lib/ad_manager_api/v202311/publisher_query_language_service.rb +2 -2
  253. data/lib/ad_manager_api/v202311/publisher_query_language_service_registry.rb +2 -2
  254. data/lib/ad_manager_api/v202311/report_service.rb +2 -2
  255. data/lib/ad_manager_api/v202311/report_service_registry.rb +2 -2
  256. data/lib/ad_manager_api/v202311/segment_population_service.rb +2 -2
  257. data/lib/ad_manager_api/v202311/segment_population_service_registry.rb +2 -2
  258. data/lib/ad_manager_api/v202311/site_service.rb +2 -2
  259. data/lib/ad_manager_api/v202311/site_service_registry.rb +2 -2
  260. data/lib/ad_manager_api/v202311/stream_activity_monitor_service.rb +2 -2
  261. data/lib/ad_manager_api/v202311/stream_activity_monitor_service_registry.rb +2 -2
  262. data/lib/ad_manager_api/v202311/suggested_ad_unit_service.rb +2 -2
  263. data/lib/ad_manager_api/v202311/suggested_ad_unit_service_registry.rb +2 -2
  264. data/lib/ad_manager_api/v202311/targeting_preset_service.rb +2 -2
  265. data/lib/ad_manager_api/v202311/targeting_preset_service_registry.rb +2 -2
  266. data/lib/ad_manager_api/v202311/team_service.rb +2 -2
  267. data/lib/ad_manager_api/v202311/team_service_registry.rb +3 -3
  268. data/lib/ad_manager_api/v202311/user_service.rb +2 -2
  269. data/lib/ad_manager_api/v202311/user_service_registry.rb +3 -3
  270. data/lib/ad_manager_api/v202311/user_team_association_service.rb +2 -2
  271. data/lib/ad_manager_api/v202311/user_team_association_service_registry.rb +2 -2
  272. data/lib/ad_manager_api/v202311/yield_group_service.rb +2 -2
  273. data/lib/ad_manager_api/v202311/yield_group_service_registry.rb +3 -3
  274. data/lib/ad_manager_api/{v202302 → v202402}/activity_group_service.rb +7 -7
  275. data/lib/ad_manager_api/{v202302 → v202402}/activity_group_service_registry.rb +4 -4
  276. data/lib/ad_manager_api/{v202302 → v202402}/activity_service.rb +7 -7
  277. data/lib/ad_manager_api/{v202302 → v202402}/activity_service_registry.rb +4 -4
  278. data/lib/ad_manager_api/{v202302 → v202402}/ad_rule_service.rb +7 -7
  279. data/lib/ad_manager_api/{v202302 → v202402}/ad_rule_service_registry.rb +4 -4
  280. data/lib/ad_manager_api/{v202302 → v202402}/adjustment_service.rb +7 -7
  281. data/lib/ad_manager_api/{v202302 → v202402}/adjustment_service_registry.rb +4 -4
  282. data/lib/ad_manager_api/{v202302 → v202402}/audience_segment_service.rb +7 -7
  283. data/lib/ad_manager_api/{v202302 → v202402}/audience_segment_service_registry.rb +4 -4
  284. data/lib/ad_manager_api/{v202302 → v202402}/cdn_configuration_service.rb +7 -7
  285. data/lib/ad_manager_api/{v202302 → v202402}/cdn_configuration_service_registry.rb +4 -4
  286. data/lib/ad_manager_api/{v202302 → v202402}/cms_metadata_service.rb +7 -7
  287. data/lib/ad_manager_api/{v202302 → v202402}/cms_metadata_service_registry.rb +4 -4
  288. data/lib/ad_manager_api/{v202302 → v202402}/company_service.rb +7 -7
  289. data/lib/ad_manager_api/v202402/company_service_registry.rb +45 -0
  290. data/lib/ad_manager_api/{v202302 → v202402}/contact_service.rb +7 -7
  291. data/lib/ad_manager_api/{v202302 → v202402}/contact_service_registry.rb +4 -4
  292. data/lib/ad_manager_api/{v202302 → v202402}/content_bundle_service.rb +7 -7
  293. data/lib/ad_manager_api/{v202302 → v202402}/content_bundle_service_registry.rb +4 -4
  294. data/lib/ad_manager_api/{v202302 → v202402}/content_service.rb +7 -7
  295. data/lib/ad_manager_api/{v202302 → v202402}/content_service_registry.rb +4 -4
  296. data/lib/ad_manager_api/{v202302 → v202402}/creative_service.rb +7 -7
  297. data/lib/ad_manager_api/{v202302 → v202402}/creative_service_registry.rb +4 -4
  298. data/lib/ad_manager_api/{v202302 → v202402}/creative_set_service.rb +7 -7
  299. data/lib/ad_manager_api/{v202302 → v202402}/creative_set_service_registry.rb +4 -4
  300. data/lib/ad_manager_api/{v202302 → v202402}/creative_template_service.rb +7 -7
  301. data/lib/ad_manager_api/{v202302 → v202402}/creative_template_service_registry.rb +4 -4
  302. data/lib/ad_manager_api/{v202302 → v202402}/creative_wrapper_service.rb +7 -7
  303. data/lib/ad_manager_api/{v202302 → v202402}/creative_wrapper_service_registry.rb +4 -4
  304. data/lib/ad_manager_api/{v202302 → v202402}/custom_field_service.rb +7 -7
  305. data/lib/ad_manager_api/{v202302 → v202402}/custom_field_service_registry.rb +4 -4
  306. data/lib/ad_manager_api/{v202302 → v202402}/custom_targeting_service.rb +7 -7
  307. data/lib/ad_manager_api/{v202302 → v202402}/custom_targeting_service_registry.rb +4 -4
  308. data/lib/ad_manager_api/{v202302 → v202402}/dai_authentication_key_service.rb +7 -7
  309. data/lib/ad_manager_api/{v202302 → v202402}/dai_authentication_key_service_registry.rb +4 -4
  310. data/lib/ad_manager_api/{v202302 → v202402}/dai_encoding_profile_service.rb +7 -7
  311. data/lib/ad_manager_api/{v202302 → v202402}/dai_encoding_profile_service_registry.rb +4 -4
  312. data/lib/ad_manager_api/{v202302 → v202402}/forecast_service.rb +7 -7
  313. data/lib/ad_manager_api/v202402/forecast_service_registry.rb +45 -0
  314. data/lib/ad_manager_api/{v202302 → v202402}/inventory_service.rb +7 -7
  315. data/lib/ad_manager_api/{v202302 → v202402}/inventory_service_registry.rb +4 -4
  316. data/lib/ad_manager_api/{v202302 → v202402}/label_service.rb +7 -7
  317. data/lib/ad_manager_api/{v202302 → v202402}/label_service_registry.rb +4 -4
  318. data/lib/ad_manager_api/{v202302 → v202402}/line_item_creative_association_service.rb +7 -7
  319. data/lib/ad_manager_api/{v202302 → v202402}/line_item_creative_association_service_registry.rb +4 -4
  320. data/lib/ad_manager_api/{v202302 → v202402}/line_item_service.rb +7 -7
  321. data/lib/ad_manager_api/v202402/line_item_service_registry.rb +45 -0
  322. data/lib/ad_manager_api/{v202302 → v202402}/line_item_template_service.rb +7 -7
  323. data/lib/ad_manager_api/v202402/line_item_template_service_registry.rb +45 -0
  324. data/lib/ad_manager_api/{v202302 → v202402}/live_stream_event_service.rb +7 -7
  325. data/lib/ad_manager_api/v202402/live_stream_event_service_registry.rb +45 -0
  326. data/lib/ad_manager_api/{v202302 → v202402}/mobile_application_service.rb +7 -7
  327. data/lib/ad_manager_api/v202402/mobile_application_service_registry.rb +45 -0
  328. data/lib/ad_manager_api/{v202302 → v202402}/native_style_service.rb +7 -7
  329. data/lib/ad_manager_api/{v202302 → v202402}/native_style_service_registry.rb +4 -4
  330. data/lib/ad_manager_api/{v202302 → v202402}/network_service.rb +7 -7
  331. data/lib/ad_manager_api/v202402/network_service_registry.rb +45 -0
  332. data/lib/ad_manager_api/{v202302 → v202402}/order_service.rb +7 -7
  333. data/lib/ad_manager_api/v202402/order_service_registry.rb +45 -0
  334. data/lib/ad_manager_api/{v202302 → v202402}/placement_service.rb +7 -7
  335. data/lib/ad_manager_api/{v202302 → v202402}/placement_service_registry.rb +4 -4
  336. data/lib/ad_manager_api/{v202302 → v202402}/proposal_line_item_service.rb +7 -7
  337. data/lib/ad_manager_api/v202402/proposal_line_item_service_registry.rb +45 -0
  338. data/lib/ad_manager_api/{v202302 → v202402}/proposal_service.rb +7 -7
  339. data/lib/ad_manager_api/v202402/proposal_service_registry.rb +45 -0
  340. data/lib/ad_manager_api/{v202302 → v202402}/publisher_query_language_service.rb +7 -7
  341. data/lib/ad_manager_api/{v202302 → v202402}/publisher_query_language_service_registry.rb +4 -4
  342. data/lib/ad_manager_api/{v202302 → v202402}/report_service.rb +7 -7
  343. data/lib/ad_manager_api/v202402/report_service_registry.rb +45 -0
  344. data/lib/ad_manager_api/v202402/segment_population_service.rb +54 -0
  345. data/lib/ad_manager_api/v202402/segment_population_service_registry.rb +43 -0
  346. data/lib/ad_manager_api/{v202302 → v202402}/site_service.rb +7 -7
  347. data/lib/ad_manager_api/{v202302 → v202402}/site_service_registry.rb +4 -4
  348. data/lib/ad_manager_api/{v202302 → v202402}/stream_activity_monitor_service.rb +7 -7
  349. data/lib/ad_manager_api/v202402/stream_activity_monitor_service_registry.rb +43 -0
  350. data/lib/ad_manager_api/{v202302 → v202402}/suggested_ad_unit_service.rb +7 -7
  351. data/lib/ad_manager_api/{v202302 → v202402}/suggested_ad_unit_service_registry.rb +4 -4
  352. data/lib/ad_manager_api/{v202302 → v202402}/targeting_preset_service.rb +7 -7
  353. data/lib/ad_manager_api/{v202302 → v202402}/targeting_preset_service_registry.rb +4 -4
  354. data/lib/ad_manager_api/{v202302 → v202402}/team_service.rb +7 -7
  355. data/lib/ad_manager_api/v202402/team_service_registry.rb +45 -0
  356. data/lib/ad_manager_api/{v202302 → v202402}/user_service.rb +7 -7
  357. data/lib/ad_manager_api/v202402/user_service_registry.rb +45 -0
  358. data/lib/ad_manager_api/{v202302 → v202402}/user_team_association_service.rb +7 -7
  359. data/lib/ad_manager_api/{v202302 → v202402}/user_team_association_service_registry.rb +4 -4
  360. data/lib/ad_manager_api/{v202302 → v202402}/yield_group_service.rb +7 -7
  361. data/lib/ad_manager_api/{v202302 → v202402}/yield_group_service_registry.rb +4 -4
  362. data/lib/ad_manager_api/version.rb +1 -1
  363. metadata +93 -93
  364. data/lib/ad_manager_api/v202302/company_service_registry.rb +0 -45
  365. data/lib/ad_manager_api/v202302/creative_review_service.rb +0 -46
  366. data/lib/ad_manager_api/v202302/creative_review_service_registry.rb +0 -43
  367. data/lib/ad_manager_api/v202302/forecast_service_registry.rb +0 -45
  368. data/lib/ad_manager_api/v202302/line_item_service_registry.rb +0 -45
  369. data/lib/ad_manager_api/v202302/line_item_template_service_registry.rb +0 -45
  370. data/lib/ad_manager_api/v202302/live_stream_event_service_registry.rb +0 -45
  371. data/lib/ad_manager_api/v202302/mobile_application_service_registry.rb +0 -45
  372. data/lib/ad_manager_api/v202302/network_service_registry.rb +0 -45
  373. data/lib/ad_manager_api/v202302/order_service_registry.rb +0 -45
  374. data/lib/ad_manager_api/v202302/proposal_line_item_service_registry.rb +0 -45
  375. data/lib/ad_manager_api/v202302/proposal_service_registry.rb +0 -45
  376. data/lib/ad_manager_api/v202302/report_service_registry.rb +0 -45
  377. data/lib/ad_manager_api/v202302/stream_activity_monitor_service_registry.rb +0 -43
  378. data/lib/ad_manager_api/v202302/team_service_registry.rb +0 -45
  379. data/lib/ad_manager_api/v202302/user_service_registry.rb +0 -45
@@ -1,43 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2023, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 1.0.3 on 2023-11-03 13:25:02.
9
-
10
- require 'ad_manager_api/errors'
11
-
12
- module AdManagerApi; module V202302; module StreamActivityMonitorService
13
- class StreamActivityMonitorServiceRegistry
14
- STREAMACTIVITYMONITORSERVICE_METHODS = {:get_sam_sessions_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_sam_sessions_by_statement_response", :fields=>[{:name=>:rval, :type=>"SamSession", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :register_sessions_for_monitoring=>{:input=>[{:name=>:session_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"register_sessions_for_monitoring_response", :fields=>[{:name=>:rval, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- STREAMACTIVITYMONITORSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :AdBreak=>{:fields=>[{:name=>:root_ad_responses, :type=>"AdResponse", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_decision_creatives, :type=>"AdDecisionCreative", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:pod_num, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:linear_absolute_pod_num, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_break_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:filled_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:served_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_time_offset_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:sam_error, :type=>"SamError", :min_occurs=>0, :max_occurs=>1}, {:name=>:midroll_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:decisioned_ads, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:tracking_events, :type=>"TrackingEvent", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AdDecisionCreative=>{:fields=>[{:name=>:sequence, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:slate_duration_mills, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_duration_mills, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_transcode, :type=>"CreativeTranscode", :min_occurs=>0, :max_occurs=>1}, {:name=>:google_video_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sam_error, :type=>"SamError", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_transcoded, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :AdResponse=>{:fields=>[{:name=>:request_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_vmap_request, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_body, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:redirect_responses, :type=>"AdResponse", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:sam_error, :type=>"SamError", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_errors, :type=>"SamError", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :CreativeTranscode=>{:fields=>[{:name=>:ad_server, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_id_type, :type=>"CreativeTranscode.IdType", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :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, :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"}, :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"}, :LinearStreamCreateRequest=>{:fields=>[{:name=>:live_stream_event_asset_key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:event_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:live_stream_event_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:event_start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:event_end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:prefetch_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"StreamCreateRequest"}, :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"}, :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"}, :SamError=>{:fields=>[{:name=>:sam_error_type, :type=>"SamErrorType", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_details, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SamSession=>{:fields=>[{:name=>:session_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_vod_session, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:stream_create_request, :type=>"StreamCreateRequest", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_breaks, :type=>"AdBreak", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:session_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :SamSessionError=>{:fields=>[{:name=>:reason, :type=>"SamSessionError.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"}, :StreamCreateRequest=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:reporting_type, :type=>"ReportingType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.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"}, :TrackingEvent=>{:fields=>[{:name=>:pings, :type=>"TrackingEvent.Ping", :min_occurs=>0, :max_occurs=>:unbounded}]}, :"TrackingEvent.Ping"=>{:fields=>[{:name=>:uri, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:has_error, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :VodStreamCreateRequest=>{:fields=>[{:name=>:content_source_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cue_points, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"StreamCreateRequest"}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NETWORK_API_ACCESS_DISABLED", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"CreativeTranscode.IdType"=>{:type=>"string", :enumerations=>["AD_ID", "CREATIVE_ID", "CREATIVE_ADID", "UNIVERSAL_AD_ID", "MEDIA_URI", "MEDIA_URI_PATH", "CREATIVE_ADID_WITH_FALLBACK", "CANONICALIZED_MEDIA_URI", "GV_REGISTRY_ID", "UNKNOWN_ID_TYPE", "MEDIA_URI_HASH", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :ReportingType=>{:type=>"string", :enumerations=>["DISABLED", "CLIENT", "SERVER", "AD_MEDIA", "UNKNOWN"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :SamErrorType=>{:type=>"string", :enumerations=>["INTERNAL_ERROR", "AD_REQUEST_ERROR", "VAST_PARSE_ERROR", "UNSUPPORTED_AD_SYSTEM", "CANNOT_FIND_UNIQUE_TRANSCODE_ID", "CANNOT_FIND_MEDIA_FILE_PATH", "MISSING_INLINE_ELEMENTS", "MAX_WRAPPER_DEPTH_REACHED", "INVALID_AD_SEQUENCE_NUMBER", "FAILED_PING", "AD_TAG_PARSE_ERROR", "VMAP_PARSE_ERROR", "INVALID_VMAP_RESPONSE", "NO_AD_BREAKS_IN_VMAP", "CUSTOM_AD_SOURCE_IN_VMAP", "AD_BREAK_TYPE_NOT_SUPPORTED", "NEITHER_AD_SOURCE_NOR_TRACKING", "UNKNOWN_ERROR", "AD_POD_DROPPED_TO_MANY_AD_PODS", "AD_POD_DROPPED_EMPTY_ADS", "AD_BREAK_WITHOUT_AD_POD", "TRANSCODING_IN_PROGRESS", "UNSUPPORTED_VAST_VERSION", "AD_POD_DROPPED_BUMPER_ERROR", "NO_VALID_MEDIAFILES_FOUND", "EXCEEDS_MAX_FILLER", "SKIPPABLE_AD_NOT_SUPPORTED", "AD_REQUEST_TIMEOUT", "AD_POD_DROPPED_UNSUPPORTED_TYPE", "DUPLICATE_AD_TAG", "FOLLOW_REDIRECTS_IS_FALSE", "AD_POD_DROPPED_INCOMPATIBLE_TIMEOFFSET", "UNKNOWN"]}, :"SamSessionError.Reason"=>{:type=>"string", :enumerations=>["COULD_NOT_REGISTER_SESSION", "MALFORMED_SESSION_ID", "INVALID_SESSION_ID", "INVALID_DEBUG_KEY", "REQUEST_EXCEEDS_SESSION_LIMIT", "UNKNOWN"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}}
16
- STREAMACTIVITYMONITORSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return STREAMACTIVITYMONITORSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return STREAMACTIVITYMONITORSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return STREAMACTIVITYMONITORSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- class ApplicationException < AdManagerApi::Errors::ApiException
32
- attr_reader :message # string
33
- end
34
-
35
- class ApiException < ApplicationException
36
- attr_reader :errors # ApiError
37
- def initialize(exception_fault)
38
- @array_fields ||= []
39
- @array_fields << 'errors'
40
- super(exception_fault, StreamActivityMonitorServiceRegistry)
41
- end
42
- end
43
- 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 2023, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 1.0.3 on 2023-11-03 13:25:04.
9
-
10
- require 'ad_manager_api/errors'
11
-
12
- module AdManagerApi; module V202302; module TeamService
13
- class TeamServiceRegistry
14
- TEAMSERVICE_METHODS = {:create_teams=>{:input=>[{:name=>:teams, :type=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_teams_response", :fields=>[{:name=>:rval, :type=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_teams_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_teams_by_statement_response", :fields=>[{:name=>:rval, :type=>"TeamPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_team_action=>{:input=>[{:name=>:team_action, :type=>"TeamAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_team_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_teams=>{:input=>[{:name=>:teams, :type=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_teams_response", :fields=>[{:name=>:rval, :type=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- TEAMSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateTeams=>{:fields=>[], :base=>"TeamAction"}, :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, :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"}, :DeactivateTeams=>{:fields=>[], :base=>"TeamAction"}, :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"}, :OrderError=>{:fields=>[{:name=>:reason, :type=>"OrderError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.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}]}, :TeamAction=>{:fields=>[], :abstract=>true}, :Team=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"TeamStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:has_all_companies, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:has_all_inventory, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:team_access_type, :type=>"TeamAccessType", :min_occurs=>0, :max_occurs=>1}]}, :TeamError=>{:fields=>[{:name=>:reason, :type=>"TeamError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TeamPage=>{: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=>"Team", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NETWORK_API_ACCESS_DISABLED", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"NullError.Reason"=>{:type=>"string", :enumerations=>["NULL_CONTENT"]}, :"OrderError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_CANCELED_ORDER_NOT_ALLOWED", "UPDATE_PENDING_APPROVAL_ORDER_NOT_ALLOWED", "UPDATE_ARCHIVED_ORDER_NOT_ALLOWED", "CANNOT_MODIFY_PROPOSAL_ID", "PRIMARY_USER_REQUIRED", "PRIMARY_USER_CANNOT_BE_SECONDARY", "ORDER_TEAM_NOT_ASSOCIATED_WITH_ADVERTISER", "USER_NOT_ON_ORDERS_TEAMS", "AGENCY_NOT_ON_ORDERS_TEAMS", "INVALID_FIELDS_SET_FOR_NON_PROGRAMMATIC_ORDER", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :TeamAccessType=>{:type=>"string", :enumerations=>["NONE", "READ_ONLY", "READ_WRITE"]}, :"TeamError.Reason"=>{:type=>"string", :enumerations=>["ENTITY_NOT_ON_USERS_TEAMS", "AD_UNITS_NOT_ON_ORDER_TEAMS", "PLACEMENTS_NOT_ON_ORDER_TEAMS", "MISSING_USERS_TEAM", "ALL_TEAM_ASSOCIATION_NOT_ALLOWED", "INVALID_TEAM_ASSIGNMENT", "ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED", "CANNOT_UPDATE_INACTIVE_TEAM", "UNKNOWN"]}, :TeamStatus=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "UNKNOWN"]}}
16
- TEAMSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return TEAMSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return TEAMSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return TEAMSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < AdManagerApi::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, TeamServiceRegistry)
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 2023, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 1.0.3 on 2023-11-03 13:25:05.
9
-
10
- require 'ad_manager_api/errors'
11
-
12
- module AdManagerApi; module V202302; module UserService
13
- class UserServiceRegistry
14
- USERSERVICE_METHODS = {:create_users=>{:input=>[{:name=>:users, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_users_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_all_roles=>{:input=>[], :output=>{:name=>"get_all_roles_response", :fields=>[{:name=>:rval, :type=>"Role", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_current_user=>{:input=>[], :output=>{:name=>"get_current_user_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>1}]}}, :get_users_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_users_by_statement_response", :fields=>[{:name=>:rval, :type=>"UserPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_user_action=>{:input=>[{:name=>:user_action, :type=>"UserAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_user_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_users=>{:input=>[{:name=>:users, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_users_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- USERSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateUsers=>{:fields=>[], :base=>"UserAction"}, :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"}, :CustomFieldValueError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldValueError.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, :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"}, :DeactivateUsers=>{:fields=>[], :base=>"UserAction"}, :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"}, :InvalidEmailError=>{:fields=>[{:name=>:reason, :type=>"InvalidEmailError.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"}, :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"}, :Role=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"RoleStatus", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.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"}, :TimeZoneError=>{:fields=>[{:name=>:reason, :type=>"TimeZoneError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TokenError=>{:fields=>[{:name=>:reason, :type=>"TokenError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :UserAction=>{:fields=>[], :abstract=>true}, :User=>{:fields=>[{:name=>:is_active, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_email_notification_allowed, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_service_account, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:orders_ui_local_time_zone_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"UserRecord"}, :UserPage=>{: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=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}, :UserRecord=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:role_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:role_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:type=>"string", :enumerations=>["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, :"AuthenticationError.Reason"=>{:type=>"string", :enumerations=>["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NETWORK_API_ACCESS_DISABLED", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, :"CollectionSizeError.Reason"=>{:type=>"string", :enumerations=>["TOO_LARGE", "UNKNOWN"]}, :"CommonError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"CustomFieldValueError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_FIELD_NOT_FOUND", "CUSTOM_FIELD_INACTIVE", "CUSTOM_FIELD_OPTION_NOT_FOUND", "INVALID_ENTITY_TYPE", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"InternalApiError.Reason"=>{:type=>"string", :enumerations=>["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, :"InvalidEmailError.Reason"=>{:type=>"string", :enumerations=>["INVALID_FORMAT", "UNKNOWN"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"PermissionError.Reason"=>{:type=>"string", :enumerations=>["PERMISSION_DENIED", "UNKNOWN"]}, :"PublisherQueryLanguageContextError.Reason"=>{:type=>"string", :enumerations=>["UNEXECUTABLE", "UNKNOWN"]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :"QuotaError.Reason"=>{:type=>"string", :enumerations=>["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT"]}, :"RequiredCollectionError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, :"RequiredError.Reason"=>{:type=>"string", :enumerations=>["REQUIRED"]}, :RoleStatus=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "UNKNOWN"]}, :"ServerError.Reason"=>{:type=>"string", :enumerations=>["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, :"StatementError.Reason"=>{:type=>"string", :enumerations=>["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, :"StringFormatError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, :"StringLengthError.Reason"=>{:type=>"string", :enumerations=>["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, :"TeamError.Reason"=>{:type=>"string", :enumerations=>["ENTITY_NOT_ON_USERS_TEAMS", "AD_UNITS_NOT_ON_ORDER_TEAMS", "PLACEMENTS_NOT_ON_ORDER_TEAMS", "MISSING_USERS_TEAM", "ALL_TEAM_ASSOCIATION_NOT_ALLOWED", "INVALID_TEAM_ASSIGNMENT", "ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED", "CANNOT_UPDATE_INACTIVE_TEAM", "UNKNOWN"]}, :"TimeZoneError.Reason"=>{:type=>"string", :enumerations=>["INVALID_TIMEZONE_ID", "TIMEZONE_ID_IN_WRONG_FORMAT", "UNKNOWN"]}, :"TokenError.Reason"=>{:type=>"string", :enumerations=>["INVALID", "EXPIRED", "UNKNOWN"]}}
16
- USERSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return USERSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return USERSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return USERSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < AdManagerApi::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, UserServiceRegistry)
43
- end
44
- end
45
- end; end; end