google-dfp-api 1.13.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (442) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING +0 -0
  3. data/ChangeLog +22 -0
  4. data/README.md +0 -0
  5. data/ad_manager_api.yml +0 -0
  6. data/lib/ad_manager_api/ad_manager_api_datetime.rb +0 -0
  7. data/lib/ad_manager_api/ad_manager_api_statement.rb +0 -0
  8. data/lib/ad_manager_api/api_config.rb +20 -18
  9. data/lib/ad_manager_api/credential_handler.rb +0 -0
  10. data/lib/ad_manager_api/errors.rb +0 -0
  11. data/lib/ad_manager_api/pql_statement_utils.rb +0 -0
  12. data/lib/ad_manager_api/utils.rb +0 -0
  13. data/lib/ad_manager_api/utils_reporter.rb +0 -0
  14. data/lib/ad_manager_api/{v202002 → v202102}/activity_group_service.rb +7 -7
  15. data/lib/ad_manager_api/{v202011 → v202102}/activity_group_service_registry.rb +4 -4
  16. data/lib/ad_manager_api/{v202005 → v202102}/activity_service.rb +7 -7
  17. data/lib/ad_manager_api/{v202011 → v202102}/activity_service_registry.rb +4 -4
  18. data/lib/ad_manager_api/{v202011 → v202102}/ad_exclusion_rule_service.rb +7 -7
  19. data/lib/ad_manager_api/{v202002 → v202102}/ad_exclusion_rule_service_registry.rb +4 -4
  20. data/lib/ad_manager_api/{v202011 → v202102}/ad_rule_service.rb +7 -7
  21. data/lib/ad_manager_api/{v202011 → v202102}/ad_rule_service_registry.rb +4 -4
  22. data/lib/ad_manager_api/{v202008 → v202102}/adjustment_service.rb +7 -7
  23. data/lib/ad_manager_api/v202102/adjustment_service_registry.rb +45 -0
  24. data/lib/ad_manager_api/{v202008 → v202102}/audience_segment_service.rb +7 -7
  25. data/lib/ad_manager_api/v202102/audience_segment_service_registry.rb +45 -0
  26. data/lib/ad_manager_api/{v202005 → v202102}/cdn_configuration_service.rb +7 -7
  27. data/lib/ad_manager_api/{v202011 → v202102}/cdn_configuration_service_registry.rb +4 -4
  28. data/lib/ad_manager_api/{v202008 → v202102}/cms_metadata_service.rb +7 -7
  29. data/lib/ad_manager_api/{v202008 → v202102}/cms_metadata_service_registry.rb +4 -4
  30. data/lib/ad_manager_api/{v202008 → v202102}/company_service.rb +7 -7
  31. data/lib/ad_manager_api/v202102/company_service_registry.rb +45 -0
  32. data/lib/ad_manager_api/{v202011 → v202102}/contact_service.rb +7 -7
  33. data/lib/ad_manager_api/{v202008 → v202102}/contact_service_registry.rb +4 -4
  34. data/lib/ad_manager_api/{v202005 → v202102}/content_bundle_service.rb +7 -7
  35. data/lib/ad_manager_api/{v202005 → v202102}/content_bundle_service_registry.rb +4 -4
  36. data/lib/ad_manager_api/{v202002 → v202102}/content_service.rb +7 -7
  37. data/lib/ad_manager_api/{v202008 → v202102}/content_service_registry.rb +4 -4
  38. data/lib/ad_manager_api/{v202005 → v202102}/creative_review_service.rb +7 -7
  39. data/lib/ad_manager_api/{v202008 → v202102}/creative_review_service_registry.rb +4 -4
  40. data/lib/ad_manager_api/{v202008 → v202102}/creative_service.rb +7 -7
  41. data/lib/ad_manager_api/v202102/creative_service_registry.rb +45 -0
  42. data/lib/ad_manager_api/{v202002 → v202102}/creative_set_service.rb +7 -7
  43. data/lib/ad_manager_api/{v202005 → v202102}/creative_set_service_registry.rb +4 -4
  44. data/lib/ad_manager_api/{v202005 → v202102}/creative_template_service.rb +7 -7
  45. data/lib/ad_manager_api/{v202005 → v202102}/creative_template_service_registry.rb +4 -4
  46. data/lib/ad_manager_api/{v202008 → v202102}/creative_wrapper_service.rb +7 -7
  47. data/lib/ad_manager_api/{v202008 → v202102}/creative_wrapper_service_registry.rb +4 -4
  48. data/lib/ad_manager_api/{v202008 → v202102}/custom_field_service.rb +7 -7
  49. data/lib/ad_manager_api/{v202008 → v202102}/custom_field_service_registry.rb +4 -4
  50. data/lib/ad_manager_api/{v202002 → v202102}/custom_targeting_service.rb +7 -7
  51. data/lib/ad_manager_api/{v202011 → v202102}/custom_targeting_service_registry.rb +4 -4
  52. data/lib/ad_manager_api/{v202008 → v202102}/dai_authentication_key_service.rb +7 -7
  53. data/lib/ad_manager_api/{v202005 → v202102}/dai_authentication_key_service_registry.rb +4 -4
  54. data/lib/ad_manager_api/{v202008 → v202102}/dai_encoding_profile_service.rb +7 -7
  55. data/lib/ad_manager_api/{v202011 → v202102}/dai_encoding_profile_service_registry.rb +4 -4
  56. data/lib/ad_manager_api/{v202011 → v202102}/forecast_service.rb +7 -7
  57. data/lib/ad_manager_api/v202102/forecast_service_registry.rb +45 -0
  58. data/lib/ad_manager_api/{v202008 → v202102}/inventory_service.rb +7 -7
  59. data/lib/ad_manager_api/{v202011 → v202102}/inventory_service_registry.rb +4 -4
  60. data/lib/ad_manager_api/{v202008 → v202102}/label_service.rb +7 -7
  61. data/lib/ad_manager_api/{v202005 → v202102}/label_service_registry.rb +4 -4
  62. data/lib/ad_manager_api/{v202002 → v202102}/line_item_creative_association_service.rb +7 -7
  63. data/lib/ad_manager_api/{v202008 → v202102}/line_item_creative_association_service_registry.rb +4 -4
  64. data/lib/ad_manager_api/{v202008 → v202102}/line_item_service.rb +7 -7
  65. data/lib/ad_manager_api/v202102/line_item_service_registry.rb +45 -0
  66. data/lib/ad_manager_api/{v202008 → v202102}/line_item_template_service.rb +7 -7
  67. data/lib/ad_manager_api/v202102/line_item_template_service_registry.rb +45 -0
  68. data/lib/ad_manager_api/{v202008 → v202102}/live_stream_event_service.rb +7 -7
  69. data/lib/ad_manager_api/{v202011 → v202102}/live_stream_event_service_registry.rb +4 -4
  70. data/lib/ad_manager_api/{v202002 → v202102}/mobile_application_service.rb +7 -7
  71. data/lib/ad_manager_api/{v202005 → v202102}/mobile_application_service_registry.rb +4 -4
  72. data/lib/ad_manager_api/{v202008 → v202102}/native_style_service.rb +7 -7
  73. data/lib/ad_manager_api/{v202008 → v202102}/native_style_service_registry.rb +4 -4
  74. data/lib/ad_manager_api/{v202011 → v202102}/network_service.rb +7 -7
  75. data/lib/ad_manager_api/v202102/network_service_registry.rb +45 -0
  76. data/lib/ad_manager_api/{v202002 → v202102}/order_service.rb +7 -7
  77. data/lib/ad_manager_api/v202102/order_service_registry.rb +45 -0
  78. data/lib/ad_manager_api/{v202002 → v202102}/placement_service.rb +7 -7
  79. data/lib/ad_manager_api/{v202005 → v202102}/placement_service_registry.rb +4 -4
  80. data/lib/ad_manager_api/{v202008 → v202102}/proposal_line_item_service.rb +7 -7
  81. data/lib/ad_manager_api/{v202011 → v202102}/proposal_line_item_service_registry.rb +4 -4
  82. data/lib/ad_manager_api/{v202008 → v202102}/proposal_service.rb +7 -7
  83. data/lib/ad_manager_api/{v202005 → v202102}/proposal_service_registry.rb +4 -4
  84. data/lib/ad_manager_api/{v202008 → v202102}/publisher_query_language_service.rb +7 -7
  85. data/lib/ad_manager_api/{v202008 → v202102}/publisher_query_language_service_registry.rb +4 -4
  86. data/lib/ad_manager_api/{v202005 → v202102}/report_service.rb +7 -7
  87. data/lib/ad_manager_api/v202102/report_service_registry.rb +45 -0
  88. data/lib/ad_manager_api/{v202011 → v202102}/site_service.rb +7 -7
  89. data/lib/ad_manager_api/{v202011 → v202102}/site_service_registry.rb +4 -4
  90. data/lib/ad_manager_api/{v202002 → v202102}/stream_activity_monitor_service.rb +7 -7
  91. data/lib/ad_manager_api/v202102/stream_activity_monitor_service_registry.rb +43 -0
  92. data/lib/ad_manager_api/{v202008 → v202102}/suggested_ad_unit_service.rb +7 -7
  93. data/lib/ad_manager_api/{v202008 → v202102}/suggested_ad_unit_service_registry.rb +4 -4
  94. data/lib/ad_manager_api/{v202005 → v202102}/targeting_preset_service.rb +7 -7
  95. data/lib/ad_manager_api/{v202008 → v202102}/targeting_preset_service_registry.rb +4 -4
  96. data/lib/ad_manager_api/{v202002 → v202102}/team_service.rb +7 -7
  97. data/lib/ad_manager_api/{v202008 → v202102}/team_service_registry.rb +4 -4
  98. data/lib/ad_manager_api/{v202002 → v202102}/user_service.rb +7 -7
  99. data/lib/ad_manager_api/{v202008 → v202102}/user_service_registry.rb +4 -4
  100. data/lib/ad_manager_api/{v202002 → v202102}/user_team_association_service.rb +7 -7
  101. data/lib/ad_manager_api/{v202002 → v202102}/user_team_association_service_registry.rb +4 -4
  102. data/lib/ad_manager_api/{v202008 → v202105}/activity_group_service.rb +7 -7
  103. data/lib/ad_manager_api/{v202005 → v202105}/activity_group_service_registry.rb +4 -4
  104. data/lib/ad_manager_api/{v202008 → v202105}/activity_service.rb +7 -7
  105. data/lib/ad_manager_api/{v202005 → v202105}/activity_service_registry.rb +4 -4
  106. data/lib/ad_manager_api/{v202002 → v202105}/ad_exclusion_rule_service.rb +7 -7
  107. data/lib/ad_manager_api/{v202008 → v202105}/ad_exclusion_rule_service_registry.rb +4 -4
  108. data/lib/ad_manager_api/{v202008 → v202105}/ad_rule_service.rb +7 -7
  109. data/lib/ad_manager_api/v202105/ad_rule_service_registry.rb +45 -0
  110. data/lib/ad_manager_api/{v202011 → v202105}/adjustment_service.rb +7 -7
  111. data/lib/ad_manager_api/v202105/adjustment_service_registry.rb +45 -0
  112. data/lib/ad_manager_api/{v202005 → v202105}/audience_segment_service.rb +7 -7
  113. data/lib/ad_manager_api/v202105/audience_segment_service_registry.rb +45 -0
  114. data/lib/ad_manager_api/{v202008 → v202105}/cdn_configuration_service.rb +7 -7
  115. data/lib/ad_manager_api/{v202008 → v202105}/cdn_configuration_service_registry.rb +4 -4
  116. data/lib/ad_manager_api/{v202011 → v202105}/cms_metadata_service.rb +7 -7
  117. data/lib/ad_manager_api/{v202011 → v202105}/cms_metadata_service_registry.rb +4 -4
  118. data/lib/ad_manager_api/{v202011 → v202105}/company_service.rb +7 -7
  119. data/lib/ad_manager_api/v202105/company_service_registry.rb +45 -0
  120. data/lib/ad_manager_api/{v202002 → v202105}/contact_service.rb +7 -7
  121. data/lib/ad_manager_api/{v202002 → v202105}/contact_service_registry.rb +4 -4
  122. data/lib/ad_manager_api/{v202008 → v202105}/content_bundle_service.rb +7 -7
  123. data/lib/ad_manager_api/{v202008 → v202105}/content_bundle_service_registry.rb +4 -4
  124. data/lib/ad_manager_api/{v202005 → v202105}/content_service.rb +7 -7
  125. data/lib/ad_manager_api/{v202011 → v202105}/content_service_registry.rb +4 -4
  126. data/lib/ad_manager_api/{v202008 → v202105}/creative_review_service.rb +7 -7
  127. data/lib/ad_manager_api/{v202005 → v202105}/creative_review_service_registry.rb +4 -4
  128. data/lib/ad_manager_api/{v202011 → v202105}/creative_service.rb +7 -7
  129. data/lib/ad_manager_api/v202105/creative_service_registry.rb +45 -0
  130. data/lib/ad_manager_api/{v202005 → v202105}/creative_set_service.rb +7 -7
  131. data/lib/ad_manager_api/{v202011 → v202105}/creative_set_service_registry.rb +4 -4
  132. data/lib/ad_manager_api/{v202002 → v202105}/creative_template_service.rb +7 -7
  133. data/lib/ad_manager_api/{v202002 → v202105}/creative_template_service_registry.rb +4 -4
  134. data/lib/ad_manager_api/{v202002 → v202105}/creative_wrapper_service.rb +7 -7
  135. data/lib/ad_manager_api/{v202005 → v202105}/creative_wrapper_service_registry.rb +4 -4
  136. data/lib/ad_manager_api/{v202002 → v202105}/custom_field_service.rb +7 -7
  137. data/lib/ad_manager_api/{v202005 → v202105}/custom_field_service_registry.rb +4 -4
  138. data/lib/ad_manager_api/{v202008 → v202105}/custom_targeting_service.rb +7 -7
  139. data/lib/ad_manager_api/v202105/custom_targeting_service_registry.rb +45 -0
  140. data/lib/ad_manager_api/{v202002 → v202105}/dai_authentication_key_service.rb +7 -7
  141. data/lib/ad_manager_api/{v202011 → v202105}/dai_authentication_key_service_registry.rb +4 -4
  142. data/lib/ad_manager_api/{v202011 → v202105}/dai_encoding_profile_service.rb +7 -7
  143. data/lib/ad_manager_api/{v202008 → v202105}/dai_encoding_profile_service_registry.rb +4 -4
  144. data/lib/ad_manager_api/{v202005 → v202105}/forecast_service.rb +7 -7
  145. data/lib/ad_manager_api/v202105/forecast_service_registry.rb +45 -0
  146. data/lib/ad_manager_api/{v202005 → v202105}/inventory_service.rb +7 -7
  147. data/lib/ad_manager_api/{v202008 → v202105}/inventory_service_registry.rb +4 -4
  148. data/lib/ad_manager_api/{v202005 → v202105}/label_service.rb +7 -7
  149. data/lib/ad_manager_api/{v202008 → v202105}/label_service_registry.rb +4 -4
  150. data/lib/ad_manager_api/{v202005 → v202105}/line_item_creative_association_service.rb +15 -7
  151. data/lib/ad_manager_api/v202105/line_item_creative_association_service_registry.rb +45 -0
  152. data/lib/ad_manager_api/{v202011 → v202105}/line_item_service.rb +7 -7
  153. data/lib/ad_manager_api/v202105/line_item_service_registry.rb +45 -0
  154. data/lib/ad_manager_api/{v202002 → v202105}/line_item_template_service.rb +7 -7
  155. data/lib/ad_manager_api/{v202011 → v202105}/line_item_template_service_registry.rb +4 -4
  156. data/lib/ad_manager_api/{v202002 → v202105}/live_stream_event_service.rb +35 -11
  157. data/lib/ad_manager_api/v202105/live_stream_event_service_registry.rb +45 -0
  158. data/lib/ad_manager_api/{v202011 → v202105}/mobile_application_service.rb +7 -7
  159. data/lib/ad_manager_api/{v202011 → v202105}/mobile_application_service_registry.rb +4 -4
  160. data/lib/ad_manager_api/{v202005 → v202105}/native_style_service.rb +7 -7
  161. data/lib/ad_manager_api/{v202011 → v202105}/native_style_service_registry.rb +4 -4
  162. data/lib/ad_manager_api/{v202002 → v202105}/network_service.rb +15 -7
  163. data/lib/ad_manager_api/v202105/network_service_registry.rb +45 -0
  164. data/lib/ad_manager_api/{v202008 → v202105}/order_service.rb +7 -7
  165. data/lib/ad_manager_api/{v202011 → v202105}/order_service_registry.rb +4 -4
  166. data/lib/ad_manager_api/{v202005 → v202105}/placement_service.rb +7 -7
  167. data/lib/ad_manager_api/{v202008 → v202105}/placement_service_registry.rb +4 -4
  168. data/lib/ad_manager_api/{v202011 → v202105}/proposal_line_item_service.rb +7 -7
  169. data/lib/ad_manager_api/{v202008 → v202105}/proposal_line_item_service_registry.rb +4 -4
  170. data/lib/ad_manager_api/{v202002 → v202105}/proposal_service.rb +7 -7
  171. data/lib/ad_manager_api/{v202008 → v202105}/proposal_service_registry.rb +4 -4
  172. data/lib/ad_manager_api/{v202011 → v202105}/publisher_query_language_service.rb +7 -7
  173. data/lib/ad_manager_api/{v202005 → v202105}/publisher_query_language_service_registry.rb +4 -4
  174. data/lib/ad_manager_api/{v202008 → v202105}/report_service.rb +7 -7
  175. data/lib/ad_manager_api/v202105/report_service_registry.rb +45 -0
  176. data/lib/ad_manager_api/{v202008 → v202105}/site_service.rb +15 -7
  177. data/lib/ad_manager_api/v202105/site_service_registry.rb +43 -0
  178. data/lib/ad_manager_api/{v202008 → v202105}/stream_activity_monitor_service.rb +7 -7
  179. data/lib/ad_manager_api/v202105/stream_activity_monitor_service_registry.rb +43 -0
  180. data/lib/ad_manager_api/{v202002 → v202105}/suggested_ad_unit_service.rb +7 -7
  181. data/lib/ad_manager_api/{v202011 → v202105}/suggested_ad_unit_service_registry.rb +4 -4
  182. data/lib/ad_manager_api/{v202008 → v202105}/targeting_preset_service.rb +7 -7
  183. data/lib/ad_manager_api/v202105/targeting_preset_service_registry.rb +45 -0
  184. data/lib/ad_manager_api/{v202008 → v202105}/team_service.rb +7 -7
  185. data/lib/ad_manager_api/{v202005 → v202105}/team_service_registry.rb +4 -4
  186. data/lib/ad_manager_api/{v202005 → v202105}/user_service.rb +7 -7
  187. data/lib/ad_manager_api/{v202011 → v202105}/user_service_registry.rb +4 -4
  188. data/lib/ad_manager_api/{v202008 → v202105}/user_team_association_service.rb +7 -7
  189. data/lib/ad_manager_api/{v202008 → v202105}/user_team_association_service_registry.rb +4 -4
  190. data/lib/ad_manager_api/{v202011 → v202108}/activity_group_service.rb +7 -7
  191. data/lib/ad_manager_api/{v202008 → v202108}/activity_group_service_registry.rb +4 -4
  192. data/lib/ad_manager_api/{v202002 → v202108}/activity_service.rb +7 -7
  193. data/lib/ad_manager_api/{v202008 → v202108}/activity_service_registry.rb +4 -4
  194. data/lib/ad_manager_api/{v202008 → v202108}/ad_exclusion_rule_service.rb +7 -7
  195. data/lib/ad_manager_api/{v202005 → v202108}/ad_exclusion_rule_service_registry.rb +4 -4
  196. data/lib/ad_manager_api/{v202002 → v202108}/ad_rule_service.rb +7 -7
  197. data/lib/ad_manager_api/v202108/ad_rule_service_registry.rb +45 -0
  198. data/lib/ad_manager_api/{v202005 → v202108}/adjustment_service.rb +15 -7
  199. data/lib/ad_manager_api/v202108/adjustment_service_registry.rb +45 -0
  200. data/lib/ad_manager_api/{v202011 → v202108}/audience_segment_service.rb +7 -7
  201. data/lib/ad_manager_api/v202108/audience_segment_service_registry.rb +45 -0
  202. data/lib/ad_manager_api/{v202002 → v202108}/cdn_configuration_service.rb +7 -7
  203. data/lib/ad_manager_api/{v202002 → v202108}/cdn_configuration_service_registry.rb +4 -4
  204. data/lib/ad_manager_api/{v202005 → v202108}/cms_metadata_service.rb +15 -7
  205. data/lib/ad_manager_api/v202108/cms_metadata_service_registry.rb +45 -0
  206. data/lib/ad_manager_api/{v202005 → v202108}/company_service.rb +7 -7
  207. data/lib/ad_manager_api/v202108/company_service_registry.rb +45 -0
  208. data/lib/ad_manager_api/{v202005 → v202108}/contact_service.rb +7 -7
  209. data/lib/ad_manager_api/{v202005 → v202108}/contact_service_registry.rb +4 -4
  210. data/lib/ad_manager_api/{v202002 → v202108}/content_bundle_service.rb +7 -7
  211. data/lib/ad_manager_api/{v202011 → v202108}/content_bundle_service_registry.rb +4 -4
  212. data/lib/ad_manager_api/{v202008 → v202108}/content_service.rb +7 -7
  213. data/lib/ad_manager_api/{v202005 → v202108}/content_service_registry.rb +4 -4
  214. data/lib/ad_manager_api/{v202002 → v202108}/creative_review_service.rb +7 -7
  215. data/lib/ad_manager_api/{v202011 → v202108}/creative_review_service_registry.rb +4 -4
  216. data/lib/ad_manager_api/{v202005 → v202108}/creative_service.rb +15 -7
  217. data/lib/ad_manager_api/v202108/creative_service_registry.rb +45 -0
  218. data/lib/ad_manager_api/{v202008 → v202108}/creative_set_service.rb +7 -7
  219. data/lib/ad_manager_api/{v202002 → v202108}/creative_set_service_registry.rb +4 -4
  220. data/lib/ad_manager_api/{v202008 → v202108}/creative_template_service.rb +7 -7
  221. data/lib/ad_manager_api/{v202008 → v202108}/creative_template_service_registry.rb +4 -4
  222. data/lib/ad_manager_api/{v202005 → v202108}/creative_wrapper_service.rb +7 -7
  223. data/lib/ad_manager_api/{v202011 → v202108}/creative_wrapper_service_registry.rb +4 -4
  224. data/lib/ad_manager_api/{v202011 → v202108}/custom_field_service.rb +7 -7
  225. data/lib/ad_manager_api/{v202011 → v202108}/custom_field_service_registry.rb +4 -4
  226. data/lib/ad_manager_api/{v202005 → v202108}/custom_targeting_service.rb +7 -7
  227. data/lib/ad_manager_api/v202108/custom_targeting_service_registry.rb +45 -0
  228. data/lib/ad_manager_api/{v202011 → v202108}/dai_authentication_key_service.rb +7 -7
  229. data/lib/ad_manager_api/{v202002 → v202108}/dai_authentication_key_service_registry.rb +4 -4
  230. data/lib/ad_manager_api/v202108/dai_encoding_profile_service.rb +62 -0
  231. data/lib/ad_manager_api/v202108/dai_encoding_profile_service_registry.rb +45 -0
  232. data/lib/ad_manager_api/{v202008 → v202108}/forecast_service.rb +15 -7
  233. data/lib/ad_manager_api/v202108/forecast_service_registry.rb +45 -0
  234. data/lib/ad_manager_api/{v202011 → v202108}/inventory_service.rb +7 -7
  235. data/lib/ad_manager_api/v202108/inventory_service_registry.rb +45 -0
  236. data/lib/ad_manager_api/{v202002 → v202108}/label_service.rb +7 -7
  237. data/lib/ad_manager_api/{v202002 → v202108}/label_service_registry.rb +4 -4
  238. data/lib/ad_manager_api/{v202008 → v202108}/line_item_creative_association_service.rb +15 -7
  239. data/lib/ad_manager_api/v202108/line_item_creative_association_service_registry.rb +45 -0
  240. data/lib/ad_manager_api/{v202002 → v202108}/line_item_service.rb +7 -15
  241. data/lib/ad_manager_api/v202108/line_item_service_registry.rb +45 -0
  242. data/lib/ad_manager_api/{v202011 → v202108}/line_item_template_service.rb +7 -7
  243. data/lib/ad_manager_api/v202108/line_item_template_service_registry.rb +45 -0
  244. data/lib/ad_manager_api/{v202005 → v202108}/live_stream_event_service.rb +39 -7
  245. data/lib/ad_manager_api/v202108/live_stream_event_service_registry.rb +45 -0
  246. data/lib/ad_manager_api/{v202005 → v202108}/mobile_application_service.rb +7 -7
  247. data/lib/ad_manager_api/{v202008 → v202108}/mobile_application_service_registry.rb +4 -4
  248. data/lib/ad_manager_api/{v202002 → v202108}/native_style_service.rb +7 -7
  249. data/lib/ad_manager_api/v202108/native_style_service_registry.rb +45 -0
  250. data/lib/ad_manager_api/{v202005 → v202108}/network_service.rb +15 -7
  251. data/lib/ad_manager_api/v202108/network_service_registry.rb +45 -0
  252. data/lib/ad_manager_api/{v202011 → v202108}/order_service.rb +7 -7
  253. data/lib/ad_manager_api/v202108/order_service_registry.rb +45 -0
  254. data/lib/ad_manager_api/{v202011 → v202108}/placement_service.rb +7 -7
  255. data/lib/ad_manager_api/{v202002 → v202108}/placement_service_registry.rb +4 -4
  256. data/lib/ad_manager_api/{v202005 → v202108}/proposal_line_item_service.rb +7 -7
  257. data/lib/ad_manager_api/v202108/proposal_line_item_service_registry.rb +45 -0
  258. data/lib/ad_manager_api/{v202005 → v202108}/proposal_service.rb +7 -7
  259. data/lib/ad_manager_api/{v202011 → v202108}/proposal_service_registry.rb +4 -4
  260. data/lib/ad_manager_api/{v202005 → v202108}/publisher_query_language_service.rb +7 -7
  261. data/lib/ad_manager_api/{v202002 → v202108}/publisher_query_language_service_registry.rb +4 -4
  262. data/lib/ad_manager_api/{v202011 → v202108}/report_service.rb +7 -7
  263. data/lib/ad_manager_api/v202108/report_service_registry.rb +45 -0
  264. data/lib/ad_manager_api/v202108/site_service.rb +62 -0
  265. data/lib/ad_manager_api/v202108/site_service_registry.rb +43 -0
  266. data/lib/ad_manager_api/{v202005 → v202108}/stream_activity_monitor_service.rb +7 -7
  267. data/lib/ad_manager_api/v202108/stream_activity_monitor_service_registry.rb +43 -0
  268. data/lib/ad_manager_api/{v202011 → v202108}/suggested_ad_unit_service.rb +7 -7
  269. data/lib/ad_manager_api/v202108/suggested_ad_unit_service_registry.rb +45 -0
  270. data/lib/ad_manager_api/{v202011 → v202108}/targeting_preset_service.rb +7 -7
  271. data/lib/ad_manager_api/v202108/targeting_preset_service_registry.rb +45 -0
  272. data/lib/ad_manager_api/{v202011 → v202108}/team_service.rb +7 -7
  273. data/lib/ad_manager_api/{v202002 → v202108}/team_service_registry.rb +4 -4
  274. data/lib/ad_manager_api/{v202008 → v202108}/user_service.rb +7 -7
  275. data/lib/ad_manager_api/{v202002 → v202108}/user_service_registry.rb +4 -4
  276. data/lib/ad_manager_api/{v202011 → v202108}/user_team_association_service.rb +7 -7
  277. data/lib/ad_manager_api/{v202011 → v202108}/user_team_association_service_registry.rb +4 -4
  278. data/lib/ad_manager_api/{v202005 → v202111}/activity_group_service.rb +7 -7
  279. data/lib/ad_manager_api/v202111/activity_group_service_registry.rb +45 -0
  280. data/lib/ad_manager_api/{v202011 → v202111}/activity_service.rb +7 -7
  281. data/lib/ad_manager_api/v202111/activity_service_registry.rb +45 -0
  282. data/lib/ad_manager_api/{v202005 → v202111}/ad_exclusion_rule_service.rb +7 -7
  283. data/lib/ad_manager_api/{v202011 → v202111}/ad_exclusion_rule_service_registry.rb +4 -4
  284. data/lib/ad_manager_api/{v202005 → v202111}/ad_rule_service.rb +7 -7
  285. data/lib/ad_manager_api/v202111/ad_rule_service_registry.rb +45 -0
  286. data/lib/ad_manager_api/v202111/adjustment_service.rb +94 -0
  287. data/lib/ad_manager_api/v202111/adjustment_service_registry.rb +45 -0
  288. data/lib/ad_manager_api/{v202002 → v202111}/audience_segment_service.rb +7 -7
  289. data/lib/ad_manager_api/v202111/audience_segment_service_registry.rb +45 -0
  290. data/lib/ad_manager_api/{v202011 → v202111}/cdn_configuration_service.rb +7 -7
  291. data/lib/ad_manager_api/{v202005 → v202111}/cdn_configuration_service_registry.rb +4 -4
  292. data/lib/ad_manager_api/{v202002 → v202111}/cms_metadata_service.rb +23 -7
  293. data/lib/ad_manager_api/v202111/cms_metadata_service_registry.rb +45 -0
  294. data/lib/ad_manager_api/{v202002 → v202111}/company_service.rb +15 -7
  295. data/lib/ad_manager_api/v202111/company_service_registry.rb +45 -0
  296. data/lib/ad_manager_api/{v202008 → v202111}/contact_service.rb +7 -7
  297. data/lib/ad_manager_api/{v202011 → v202111}/contact_service_registry.rb +4 -4
  298. data/lib/ad_manager_api/{v202011 → v202111}/content_bundle_service.rb +7 -7
  299. data/lib/ad_manager_api/{v202002 → v202111}/content_bundle_service_registry.rb +4 -4
  300. data/lib/ad_manager_api/{v202011 → v202111}/content_service.rb +7 -7
  301. data/lib/ad_manager_api/v202111/content_service_registry.rb +45 -0
  302. data/lib/ad_manager_api/{v202011 → v202111}/creative_review_service.rb +7 -7
  303. data/lib/ad_manager_api/{v202002 → v202111}/creative_review_service_registry.rb +4 -4
  304. data/lib/ad_manager_api/{v202002 → v202111}/creative_service.rb +15 -7
  305. data/lib/ad_manager_api/v202111/creative_service_registry.rb +45 -0
  306. data/lib/ad_manager_api/{v202011 → v202111}/creative_set_service.rb +7 -7
  307. data/lib/ad_manager_api/{v202008 → v202111}/creative_set_service_registry.rb +4 -4
  308. data/lib/ad_manager_api/{v202011 → v202111}/creative_template_service.rb +7 -7
  309. data/lib/ad_manager_api/{v202011 → v202111}/creative_template_service_registry.rb +4 -4
  310. data/lib/ad_manager_api/{v202011 → v202111}/creative_wrapper_service.rb +7 -7
  311. data/lib/ad_manager_api/v202111/creative_wrapper_service_registry.rb +45 -0
  312. data/lib/ad_manager_api/{v202005 → v202111}/custom_field_service.rb +7 -7
  313. data/lib/ad_manager_api/{v202002 → v202111}/custom_field_service_registry.rb +4 -4
  314. data/lib/ad_manager_api/{v202011 → v202111}/custom_targeting_service.rb +7 -7
  315. data/lib/ad_manager_api/v202111/custom_targeting_service_registry.rb +45 -0
  316. data/lib/ad_manager_api/{v202005 → v202111}/dai_authentication_key_service.rb +7 -7
  317. data/lib/ad_manager_api/{v202008 → v202111}/dai_authentication_key_service_registry.rb +4 -4
  318. data/lib/ad_manager_api/v202111/dai_encoding_profile_service.rb +62 -0
  319. data/lib/ad_manager_api/v202111/dai_encoding_profile_service_registry.rb +45 -0
  320. data/lib/ad_manager_api/{v202002 → v202111}/forecast_service.rb +15 -7
  321. data/lib/ad_manager_api/v202111/forecast_service_registry.rb +45 -0
  322. data/lib/ad_manager_api/{v202002 → v202111}/inventory_service.rb +7 -7
  323. data/lib/ad_manager_api/v202111/inventory_service_registry.rb +45 -0
  324. data/lib/ad_manager_api/{v202011 → v202111}/label_service.rb +7 -7
  325. data/lib/ad_manager_api/{v202011 → v202111}/label_service_registry.rb +4 -4
  326. data/lib/ad_manager_api/{v202011 → v202111}/line_item_creative_association_service.rb +15 -7
  327. data/lib/ad_manager_api/v202111/line_item_creative_association_service_registry.rb +45 -0
  328. data/lib/ad_manager_api/{v202005 → v202111}/line_item_service.rb +7 -15
  329. data/lib/ad_manager_api/v202111/line_item_service_registry.rb +45 -0
  330. data/lib/ad_manager_api/{v202005 → v202111}/line_item_template_service.rb +7 -7
  331. data/lib/ad_manager_api/v202111/line_item_template_service_registry.rb +45 -0
  332. data/lib/ad_manager_api/{v202011 → v202111}/live_stream_event_service.rb +39 -7
  333. data/lib/ad_manager_api/v202111/live_stream_event_service_registry.rb +45 -0
  334. data/lib/ad_manager_api/{v202008 → v202111}/mobile_application_service.rb +7 -7
  335. data/lib/ad_manager_api/v202111/mobile_application_service_registry.rb +45 -0
  336. data/lib/ad_manager_api/{v202011 → v202111}/native_style_service.rb +7 -7
  337. data/lib/ad_manager_api/v202111/native_style_service_registry.rb +45 -0
  338. data/lib/ad_manager_api/{v202008 → v202111}/network_service.rb +15 -7
  339. data/lib/ad_manager_api/v202111/network_service_registry.rb +45 -0
  340. data/lib/ad_manager_api/{v202005 → v202111}/order_service.rb +7 -7
  341. data/lib/ad_manager_api/v202111/order_service_registry.rb +45 -0
  342. data/lib/ad_manager_api/{v202008 → v202111}/placement_service.rb +7 -7
  343. data/lib/ad_manager_api/{v202011 → v202111}/placement_service_registry.rb +4 -4
  344. data/lib/ad_manager_api/{v202002 → v202111}/proposal_line_item_service.rb +15 -7
  345. data/lib/ad_manager_api/v202111/proposal_line_item_service_registry.rb +45 -0
  346. data/lib/ad_manager_api/{v202011 → v202111}/proposal_service.rb +7 -7
  347. data/lib/ad_manager_api/v202111/proposal_service_registry.rb +45 -0
  348. data/lib/ad_manager_api/{v202002 → v202111}/publisher_query_language_service.rb +7 -7
  349. data/lib/ad_manager_api/{v202011 → v202111}/publisher_query_language_service_registry.rb +4 -4
  350. data/lib/ad_manager_api/{v202002 → v202111}/report_service.rb +7 -7
  351. data/lib/ad_manager_api/v202111/report_service_registry.rb +45 -0
  352. data/lib/ad_manager_api/v202111/site_service.rb +62 -0
  353. data/lib/ad_manager_api/v202111/site_service_registry.rb +43 -0
  354. data/lib/ad_manager_api/{v202011 → v202111}/stream_activity_monitor_service.rb +7 -7
  355. data/lib/ad_manager_api/v202111/stream_activity_monitor_service_registry.rb +43 -0
  356. data/lib/ad_manager_api/{v202005 → v202111}/suggested_ad_unit_service.rb +7 -7
  357. data/lib/ad_manager_api/v202111/suggested_ad_unit_service_registry.rb +45 -0
  358. data/lib/ad_manager_api/{v202002 → v202111}/targeting_preset_service.rb +7 -7
  359. data/lib/ad_manager_api/{v202011 → v202111}/targeting_preset_service_registry.rb +4 -4
  360. data/lib/ad_manager_api/{v202005 → v202111}/team_service.rb +7 -7
  361. data/lib/ad_manager_api/{v202011 → v202111}/team_service_registry.rb +4 -4
  362. data/lib/ad_manager_api/{v202011 → v202111}/user_service.rb +7 -7
  363. data/lib/ad_manager_api/{v202005 → v202111}/user_service_registry.rb +4 -4
  364. data/lib/ad_manager_api/{v202005 → v202111}/user_team_association_service.rb +7 -7
  365. data/lib/ad_manager_api/{v202005 → v202111}/user_team_association_service_registry.rb +4 -4
  366. data/lib/ad_manager_api/version.rb +1 -1
  367. data/lib/ad_manager_api.rb +0 -0
  368. metadata +363 -350
  369. data/lib/ad_manager_api/v202002/activity_group_service_registry.rb +0 -45
  370. data/lib/ad_manager_api/v202002/activity_service_registry.rb +0 -45
  371. data/lib/ad_manager_api/v202002/ad_rule_service_registry.rb +0 -45
  372. data/lib/ad_manager_api/v202002/adjustment_service.rb +0 -46
  373. data/lib/ad_manager_api/v202002/adjustment_service_registry.rb +0 -45
  374. data/lib/ad_manager_api/v202002/audience_segment_service_registry.rb +0 -45
  375. data/lib/ad_manager_api/v202002/cms_metadata_service_registry.rb +0 -45
  376. data/lib/ad_manager_api/v202002/company_service_registry.rb +0 -45
  377. data/lib/ad_manager_api/v202002/content_service_registry.rb +0 -45
  378. data/lib/ad_manager_api/v202002/creative_service_registry.rb +0 -45
  379. data/lib/ad_manager_api/v202002/creative_wrapper_service_registry.rb +0 -45
  380. data/lib/ad_manager_api/v202002/custom_targeting_service_registry.rb +0 -45
  381. data/lib/ad_manager_api/v202002/forecast_service_registry.rb +0 -45
  382. data/lib/ad_manager_api/v202002/inventory_service_registry.rb +0 -45
  383. data/lib/ad_manager_api/v202002/line_item_creative_association_service_registry.rb +0 -45
  384. data/lib/ad_manager_api/v202002/line_item_service_registry.rb +0 -45
  385. data/lib/ad_manager_api/v202002/line_item_template_service_registry.rb +0 -45
  386. data/lib/ad_manager_api/v202002/live_stream_event_service_registry.rb +0 -45
  387. data/lib/ad_manager_api/v202002/mobile_application_service_registry.rb +0 -45
  388. data/lib/ad_manager_api/v202002/native_style_service_registry.rb +0 -45
  389. data/lib/ad_manager_api/v202002/network_service_registry.rb +0 -45
  390. data/lib/ad_manager_api/v202002/order_service_registry.rb +0 -45
  391. data/lib/ad_manager_api/v202002/proposal_line_item_service_registry.rb +0 -45
  392. data/lib/ad_manager_api/v202002/proposal_service_registry.rb +0 -45
  393. data/lib/ad_manager_api/v202002/report_service_registry.rb +0 -45
  394. data/lib/ad_manager_api/v202002/stream_activity_monitor_service_registry.rb +0 -43
  395. data/lib/ad_manager_api/v202002/suggested_ad_unit_service_registry.rb +0 -45
  396. data/lib/ad_manager_api/v202002/targeting_preset_service_registry.rb +0 -45
  397. data/lib/ad_manager_api/v202005/ad_rule_service_registry.rb +0 -45
  398. data/lib/ad_manager_api/v202005/adjustment_service_registry.rb +0 -45
  399. data/lib/ad_manager_api/v202005/audience_segment_service_registry.rb +0 -45
  400. data/lib/ad_manager_api/v202005/cms_metadata_service_registry.rb +0 -45
  401. data/lib/ad_manager_api/v202005/company_service_registry.rb +0 -45
  402. data/lib/ad_manager_api/v202005/creative_service_registry.rb +0 -45
  403. data/lib/ad_manager_api/v202005/custom_targeting_service_registry.rb +0 -45
  404. data/lib/ad_manager_api/v202005/forecast_service_registry.rb +0 -45
  405. data/lib/ad_manager_api/v202005/inventory_service_registry.rb +0 -45
  406. data/lib/ad_manager_api/v202005/line_item_creative_association_service_registry.rb +0 -45
  407. data/lib/ad_manager_api/v202005/line_item_service_registry.rb +0 -45
  408. data/lib/ad_manager_api/v202005/line_item_template_service_registry.rb +0 -45
  409. data/lib/ad_manager_api/v202005/live_stream_event_service_registry.rb +0 -45
  410. data/lib/ad_manager_api/v202005/native_style_service_registry.rb +0 -45
  411. data/lib/ad_manager_api/v202005/network_service_registry.rb +0 -45
  412. data/lib/ad_manager_api/v202005/order_service_registry.rb +0 -45
  413. data/lib/ad_manager_api/v202005/proposal_line_item_service_registry.rb +0 -45
  414. data/lib/ad_manager_api/v202005/report_service_registry.rb +0 -45
  415. data/lib/ad_manager_api/v202005/stream_activity_monitor_service_registry.rb +0 -43
  416. data/lib/ad_manager_api/v202005/suggested_ad_unit_service_registry.rb +0 -45
  417. data/lib/ad_manager_api/v202005/targeting_preset_service_registry.rb +0 -45
  418. data/lib/ad_manager_api/v202008/ad_rule_service_registry.rb +0 -45
  419. data/lib/ad_manager_api/v202008/adjustment_service_registry.rb +0 -45
  420. data/lib/ad_manager_api/v202008/audience_segment_service_registry.rb +0 -45
  421. data/lib/ad_manager_api/v202008/company_service_registry.rb +0 -45
  422. data/lib/ad_manager_api/v202008/creative_service_registry.rb +0 -45
  423. data/lib/ad_manager_api/v202008/custom_targeting_service_registry.rb +0 -45
  424. data/lib/ad_manager_api/v202008/forecast_service_registry.rb +0 -45
  425. data/lib/ad_manager_api/v202008/line_item_service_registry.rb +0 -45
  426. data/lib/ad_manager_api/v202008/line_item_template_service_registry.rb +0 -45
  427. data/lib/ad_manager_api/v202008/live_stream_event_service_registry.rb +0 -45
  428. data/lib/ad_manager_api/v202008/network_service_registry.rb +0 -45
  429. data/lib/ad_manager_api/v202008/order_service_registry.rb +0 -45
  430. data/lib/ad_manager_api/v202008/report_service_registry.rb +0 -45
  431. data/lib/ad_manager_api/v202008/site_service_registry.rb +0 -43
  432. data/lib/ad_manager_api/v202008/stream_activity_monitor_service_registry.rb +0 -43
  433. data/lib/ad_manager_api/v202011/adjustment_service_registry.rb +0 -45
  434. data/lib/ad_manager_api/v202011/audience_segment_service_registry.rb +0 -45
  435. data/lib/ad_manager_api/v202011/company_service_registry.rb +0 -45
  436. data/lib/ad_manager_api/v202011/creative_service_registry.rb +0 -45
  437. data/lib/ad_manager_api/v202011/forecast_service_registry.rb +0 -45
  438. data/lib/ad_manager_api/v202011/line_item_creative_association_service_registry.rb +0 -45
  439. data/lib/ad_manager_api/v202011/line_item_service_registry.rb +0 -45
  440. data/lib/ad_manager_api/v202011/network_service_registry.rb +0 -45
  441. data/lib/ad_manager_api/v202011/report_service_registry.rb +0 -45
  442. data/lib/ad_manager_api/v202011/stream_activity_monitor_service_registry.rb +0 -43
@@ -2,19 +2,19 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2020, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.2 on 2020-02-04 15:24:11.
8
+ # Code generated by AdsCommon library 1.0.3 on 2021-05-07 00:49:00.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202002/custom_field_service_registry'
11
+ require 'ad_manager_api/v202105/custom_field_service_registry'
12
12
 
13
- module AdManagerApi; module V202002; module CustomFieldService
13
+ module AdManagerApi; module V202105; module CustomFieldService
14
14
  class CustomFieldService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202002'
17
- super(config, endpoint, namespace, :v202002)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202105'
17
+ super(config, endpoint, namespace, :v202105)
18
18
  end
19
19
 
20
20
  def create_custom_field_options(*args, &block)
@@ -80,7 +80,7 @@ module AdManagerApi; module V202002; module CustomFieldService
80
80
  end
81
81
 
82
82
  def get_module()
83
- return AdManagerApi::V202002::CustomFieldService
83
+ return AdManagerApi::V202105::CustomFieldService
84
84
  end
85
85
  end
86
86
  end; end; end
@@ -2,17 +2,17 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2020, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.2 on 2020-05-07 23:37:36.
8
+ # Code generated by AdsCommon library 1.0.3 on 2021-05-07 00:49:00.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202005; module CustomFieldService
12
+ module AdManagerApi; module V202105; module CustomFieldService
13
13
  class CustomFieldServiceRegistry
14
14
  CUSTOMFIELDSERVICE_METHODS = {:create_custom_field_options=>{:input=>[{:name=>:custom_field_options, :type=>"CustomFieldOption", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_custom_field_options_response", :fields=>[{:name=>:rval, :type=>"CustomFieldOption", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :create_custom_fields=>{:input=>[{:name=>:custom_fields, :type=>"CustomField", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_custom_fields_response", :fields=>[{:name=>:rval, :type=>"CustomField", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_custom_field_option=>{:input=>[{:name=>:custom_field_option_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_custom_field_option_response", :fields=>[{:name=>:rval, :type=>"CustomFieldOption", :min_occurs=>0, :max_occurs=>1}]}}, :get_custom_fields_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_custom_fields_by_statement_response", :fields=>[{:name=>:rval, :type=>"CustomFieldPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_custom_field_action=>{:input=>[{:name=>:custom_field_action, :type=>"CustomFieldAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_custom_field_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_custom_field_options=>{:input=>[{:name=>:custom_field_options, :type=>"CustomFieldOption", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_custom_field_options_response", :fields=>[{:name=>:rval, :type=>"CustomFieldOption", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :update_custom_fields=>{:input=>[{:name=>:custom_fields, :type=>"CustomField", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_custom_fields_response", :fields=>[{:name=>:rval, :type=>"CustomField", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- CUSTOMFIELDSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateCustomFields=>{:fields=>[], :base=>"CustomFieldAction"}, :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"}, :CustomFieldAction=>{:fields=>[]}, :CustomField=>{: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=>:is_active, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:entity_type, :type=>"CustomFieldEntityType", :min_occurs=>0, :max_occurs=>1}, {:name=>:data_type, :type=>"CustomFieldDataType", :min_occurs=>0, :max_occurs=>1}, {:name=>:visibility, :type=>"CustomFieldVisibility", :min_occurs=>0, :max_occurs=>1}]}, :CustomFieldError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomFieldOption=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_field_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CustomFieldPage=>{: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=>"CustomField", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :DeactivateCustomFields=>{:fields=>[], :base=>"CustomFieldAction"}, :DropDownCustomField=>{:fields=>[{:name=>:options, :type=>"CustomFieldOption", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomField"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :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"}, :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", "NOT_WHITELISTED_FOR_API_ACCESS", "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", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :CustomFieldDataType=>{:type=>"string", :enumerations=>["STRING", "NUMBER", "TOGGLE", "DROP_DOWN", "UNKNOWN"]}, :CustomFieldEntityType=>{:type=>"string", :enumerations=>["LINE_ITEM", "ORDER", "CREATIVE", "PRODUCT_TEMPLATE", "PRODUCT", "PROPOSAL", "PROPOSAL_LINE_ITEM", "UNKNOWN"]}, :"CustomFieldError.Reason"=>{:type=>"string", :enumerations=>["INVALID_CUSTOM_FIELD_FOR_OPTION", "UNKNOWN"]}, :CustomFieldVisibility=>{:type=>"string", :enumerations=>["API_ONLY", "READ_ONLY", "FULL"]}, :"EntityLimitReachedError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_TARGETING_VALUES_LIMIT_REACHED", "AD_EXCLUSION_RULES_LIMIT_REACHED", "FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED", "PLACEMENTS_LIMIT_REACHED", "LINE_ITEMS_LIMIT_REACHED", "ACTIVE_LINE_ITEMS_LIMIT_REACHED", "TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED", "FORECAST_ADJUSTMENTS_LIMIT_REACHED", "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"]}, :"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"]}}
15
+ CUSTOMFIELDSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateCustomFields=>{:fields=>[], :base=>"CustomFieldAction"}, :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"}, :CustomFieldAction=>{:fields=>[]}, :CustomField=>{: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=>:is_active, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:entity_type, :type=>"CustomFieldEntityType", :min_occurs=>0, :max_occurs=>1}, {:name=>:data_type, :type=>"CustomFieldDataType", :min_occurs=>0, :max_occurs=>1}, {:name=>:visibility, :type=>"CustomFieldVisibility", :min_occurs=>0, :max_occurs=>1}]}, :CustomFieldError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomFieldOption=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_field_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CustomFieldPage=>{: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=>"CustomField", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :DeactivateCustomFields=>{:fields=>[], :base=>"CustomFieldAction"}, :DropDownCustomField=>{:fields=>[{:name=>:options, :type=>"CustomFieldOption", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomField"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :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"}, :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"]}, :CustomFieldDataType=>{:type=>"string", :enumerations=>["STRING", "NUMBER", "TOGGLE", "DROP_DOWN", "UNKNOWN"]}, :CustomFieldEntityType=>{:type=>"string", :enumerations=>["LINE_ITEM", "ORDER", "CREATIVE", "PRODUCT_TEMPLATE", "PRODUCT", "PROPOSAL", "PROPOSAL_LINE_ITEM", "UNKNOWN"]}, :"CustomFieldError.Reason"=>{:type=>"string", :enumerations=>["INVALID_CUSTOM_FIELD_FOR_OPTION", "UNKNOWN"]}, :CustomFieldVisibility=>{:type=>"string", :enumerations=>["API_ONLY", "READ_ONLY", "FULL"]}, :"EntityLimitReachedError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_TARGETING_VALUES_LIMIT_REACHED", "AD_EXCLUSION_RULES_LIMIT_REACHED", "FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED", "PLACEMENTS_LIMIT_REACHED", "LINE_ITEMS_LIMIT_REACHED", "ACTIVE_LINE_ITEMS_LIMIT_REACHED", "DAI_ENCODING_PROFILES_LIMIT_REACHED", "TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED", "FORECAST_ADJUSTMENTS_LIMIT_REACHED", "ACTIVE_EXPERIMENTS_LIMIT_REACHED", "SITES_LIMIT_REACHED", "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"]}, :"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"]}}
16
16
  CUSTOMFIELDSERVICE_NAMESPACES = []
17
17
 
18
18
  def self.get_method_signature(method_name)
@@ -2,19 +2,19 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2020, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.2 on 2020-08-24 10:41:45.
8
+ # Code generated by AdsCommon library 1.0.3 on 2021-05-07 00:49:01.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202008/custom_targeting_service_registry'
11
+ require 'ad_manager_api/v202105/custom_targeting_service_registry'
12
12
 
13
- module AdManagerApi; module V202008; module CustomTargetingService
13
+ module AdManagerApi; module V202105; module CustomTargetingService
14
14
  class CustomTargetingService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202008'
17
- super(config, endpoint, namespace, :v202008)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202105'
17
+ super(config, endpoint, namespace, :v202105)
18
18
  end
19
19
 
20
20
  def create_custom_targeting_keys(*args, &block)
@@ -88,7 +88,7 @@ module AdManagerApi; module V202008; module CustomTargetingService
88
88
  end
89
89
 
90
90
  def get_module()
91
- return AdManagerApi::V202008::CustomTargetingService
91
+ return AdManagerApi::V202105::CustomTargetingService
92
92
  end
93
93
  end
94
94
  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 2021, 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 2021-05-07 00:49:01.
9
+
10
+ require 'ad_manager_api/errors'
11
+
12
+ module AdManagerApi; module V202105; module CustomTargetingService
13
+ class CustomTargetingServiceRegistry
14
+ CUSTOMTARGETINGSERVICE_METHODS = {:create_custom_targeting_keys=>{:input=>[{:name=>:keys, :type=>"CustomTargetingKey", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_custom_targeting_keys_response", :fields=>[{:name=>:rval, :type=>"CustomTargetingKey", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :create_custom_targeting_values=>{:input=>[{:name=>:values, :type=>"CustomTargetingValue", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_custom_targeting_values_response", :fields=>[{:name=>:rval, :type=>"CustomTargetingValue", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_custom_targeting_keys_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_custom_targeting_keys_by_statement_response", :fields=>[{:name=>:rval, :type=>"CustomTargetingKeyPage", :min_occurs=>0, :max_occurs=>1}]}}, :get_custom_targeting_values_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_custom_targeting_values_by_statement_response", :fields=>[{:name=>:rval, :type=>"CustomTargetingValuePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_custom_targeting_key_action=>{:input=>[{:name=>:custom_targeting_key_action, :type=>"CustomTargetingKeyAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_custom_targeting_key_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :perform_custom_targeting_value_action=>{:input=>[{:name=>:custom_targeting_value_action, :type=>"CustomTargetingValueAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_custom_targeting_value_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_custom_targeting_keys=>{:input=>[{:name=>:keys, :type=>"CustomTargetingKey", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_custom_targeting_keys_response", :fields=>[{:name=>:rval, :type=>"CustomTargetingKey", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :update_custom_targeting_values=>{:input=>[{:name=>:values, :type=>"CustomTargetingValue", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_custom_targeting_values_response", :fields=>[{:name=>:rval, :type=>"CustomTargetingValue", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ CUSTOMTARGETINGSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateCustomTargetingKeys=>{:fields=>[], :base=>"CustomTargetingKeyAction"}, :ActivateCustomTargetingValues=>{:fields=>[], :base=>"CustomTargetingValueAction"}, :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"}, :CustomTargetingError=>{:fields=>[{:name=>:reason, :type=>"CustomTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomTargetingKeyAction=>{:fields=>[], :abstract=>true}, :CustomTargetingKey=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"CustomTargetingKey.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_declaration_type, :type=>"ValueDeclarationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"CustomTargetingKey.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:reportable_type, :type=>"ReportableType", :min_occurs=>0, :max_occurs=>1}]}, :CustomTargetingKeyPage=>{: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=>"CustomTargetingKey", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CustomTargetingValueAction=>{:fields=>[], :abstract=>true}, :CustomTargetingValue=>{:fields=>[{:name=>:custom_targeting_key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"CustomTargetingValue.MatchType", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"CustomTargetingValue.Status", :min_occurs=>0, :max_occurs=>1}]}, :CustomTargetingValuePage=>{: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=>"CustomTargetingValue", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :DeleteCustomTargetingKeys=>{:fields=>[], :base=>"CustomTargetingKeyAction"}, :DeleteCustomTargetingValues=>{:fields=>[], :base=>"CustomTargetingValueAction"}, :EntityChildrenLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityChildrenLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :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"}, :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"]}, :"CustomTargetingError.Reason"=>{:type=>"string", :enumerations=>["KEY_NOT_FOUND", "KEY_COUNT_TOO_LARGE", "KEY_NAME_DUPLICATE", "KEY_NAME_EMPTY", "KEY_NAME_INVALID_LENGTH", "KEY_NAME_INVALID_CHARS", "KEY_NAME_RESERVED", "KEY_DISPLAY_NAME_INVALID_LENGTH", "KEY_STATUS_NOT_ACTIVE", "VALUE_NOT_FOUND", "GET_VALUES_BY_STATEMENT_MUST_CONTAIN_KEY_ID", "VALUE_COUNT_FOR_KEY_TOO_LARGE", "VALUE_NAME_DUPLICATE", "VALUE_NAME_EMPTY", "VALUE_NAME_INVALID_LENGTH", "VALUE_NAME_INVALID_CHARS", "VALUE_DISPLAY_NAME_INVALID_LENGTH", "VALUE_MATCH_TYPE_NOT_ALLOWED", "VALUE_MATCH_TYPE_NOT_EXACT_FOR_PREDEFINED_KEY", "SUFFIX_MATCH_TYPE_NOT_ALLOWED", "CONTAINS_MATCH_TYPE_NOT_ALLOWED", "VALUE_STATUS_NOT_ACTIVE", "KEY_WITH_MISSING_VALUES", "INVALID_VALUE_FOR_KEY", "CANNOT_OR_DIFFERENT_KEYS", "INVALID_TARGETING_EXPRESSION", "DELETED_KEY_CANNOT_BE_USED_FOR_TARGETING", "DELETED_VALUE_CANNOT_BE_USED_FOR_TARGETING", "VIDEO_BROWSE_BY_KEY_CANNOT_BE_USED_FOR_CUSTOM_TARGETING", "CANNOT_DELETE_CUSTOM_KEY_USED_IN_CONTENT_METADATA_MAPPING", "CANNOT_DELETE_CUSTOM_VALUE_USED_IN_CONTENT_METADATA_MAPPING", "CANNOT_DELETE_CUSTOM_KEY_USED_IN_PARTNER_ASSIGNMENT_TARGETING", "CANNOT_DELETE_CUSTOM_VALUE_USED_IN_PARTNER_ASSIGNMENT_TARGETING", "CANNOT_TARGET_AUDIENCE_SEGMENT", "CANNOT_TARGET_THIRD_PARTY_AUDIENCE_SEGMENT", "CANNOT_TARGET_INACTIVE_AUDIENCE_SEGMENT", "INVALID_AUDIENCE_SEGMENTS", "CANNOT_TARGET_MAPPED_METADATA", "ONLY_APPROVED_AUDIENCE_SEGMENTS_CAN_BE_TARGETED", "UNKNOWN"]}, :"CustomTargetingKey.Status"=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "UNKNOWN"]}, :"CustomTargetingKey.Type"=>{:type=>"string", :enumerations=>["PREDEFINED", "FREEFORM"]}, :"CustomTargetingValue.MatchType"=>{:type=>"string", :enumerations=>["EXACT", "BROAD", "PREFIX", "BROAD_PREFIX", "SUFFIX", "CONTAINS", "UNKNOWN"]}, :"CustomTargetingValue.Status"=>{:type=>"string", :enumerations=>["ACTIVE", "INACTIVE", "UNKNOWN"]}, :"EntityChildrenLimitReachedError.Reason"=>{:type=>"string", :enumerations=>["LINE_ITEM_LIMIT_FOR_ORDER_REACHED", "CREATIVE_ASSOCIATION_LIMIT_FOR_LINE_ITEM_REACHED", "AD_UNIT_LIMIT_FOR_PLACEMENT_REACHED", "TARGETING_EXPRESSION_LIMIT_FOR_LINE_ITEM_REACHED", "TARGETING_EXPRESSION_SIZE_LIMIT_REACHED", "CUSTOM_TARGETING_VALUES_FOR_KEY_LIMIT_REACHED", "TARGETING_EXPRESSION_LIMIT_FOR_CREATIVES_ON_LINE_ITEM_REACHED", "ATTACHMENT_LIMIT_FOR_PROPOSAL_REACHED", "PROPOSAL_LINE_ITEM_LIMIT_FOR_PROPOSAL_REACHED", "PRODUCT_LIMIT_FOR_PRODUCT_PACKAGE_REACHED", "PRODUCT_TEMPLATE_AND_PRODUCT_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED", "PRODUCT_PACKAGE_ITEM_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED", "PREMIUM_LIMIT_FOR_RATE_CARD_REACHED", "AD_UNIT_LIMIT_FOR_AD_EXCLUSION_RULE_TARGETING_REACHED", "NATIVE_STYLE_LIMIT_FOR_NATIVE_AD_FORMAT_REACHED", "TARGETING_EXPRESSION_LIMIT_FOR_PRESENTATION_ASSIGNMENT_REACHED", "UNKNOWN"]}, :"EntityLimitReachedError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_TARGETING_VALUES_LIMIT_REACHED", "AD_EXCLUSION_RULES_LIMIT_REACHED", "FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED", "PLACEMENTS_LIMIT_REACHED", "LINE_ITEMS_LIMIT_REACHED", "ACTIVE_LINE_ITEMS_LIMIT_REACHED", "DAI_ENCODING_PROFILES_LIMIT_REACHED", "TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED", "FORECAST_ADJUSTMENTS_LIMIT_REACHED", "ACTIVE_EXPERIMENTS_LIMIT_REACHED", "SITES_LIMIT_REACHED", "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"]}, :"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"]}, :ReportableType=>{:type=>"string", :enumerations=>["UNKNOWN", "ON", "OFF", "CUSTOM_DIMENSION"]}, :"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"]}, :ValueDeclarationType=>{:type=>"string", :enumerations=>["NON_USER_DATA", "USER_DATA", "USER_ID"]}}
16
+ CUSTOMTARGETINGSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return CUSTOMTARGETINGSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return CUSTOMTARGETINGSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return CUSTOMTARGETINGSERVICE_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, CustomTargetingServiceRegistry)
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 2020, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.2 on 2020-02-04 15:24:12.
8
+ # Code generated by AdsCommon library 1.0.3 on 2021-05-07 00:49:01.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202002/dai_authentication_key_service_registry'
11
+ require 'ad_manager_api/v202105/dai_authentication_key_service_registry'
12
12
 
13
- module AdManagerApi; module V202002; module DaiAuthenticationKeyService
13
+ module AdManagerApi; module V202105; module DaiAuthenticationKeyService
14
14
  class DaiAuthenticationKeyService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202002'
17
- super(config, endpoint, namespace, :v202002)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202105'
17
+ super(config, endpoint, namespace, :v202105)
18
18
  end
19
19
 
20
20
  def create_dai_authentication_keys(*args, &block)
@@ -56,7 +56,7 @@ module AdManagerApi; module V202002; module DaiAuthenticationKeyService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return AdManagerApi::V202002::DaiAuthenticationKeyService
59
+ return AdManagerApi::V202105::DaiAuthenticationKeyService
60
60
  end
61
61
  end
62
62
  end; end; end
@@ -2,17 +2,17 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2020, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.2 on 2020-11-04 22:41:49.
8
+ # Code generated by AdsCommon library 1.0.3 on 2021-05-07 00:49:01.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202011; module DaiAuthenticationKeyService
12
+ module AdManagerApi; module V202105; module DaiAuthenticationKeyService
13
13
  class DaiAuthenticationKeyServiceRegistry
14
14
  DAIAUTHENTICATIONKEYSERVICE_METHODS = {:create_dai_authentication_keys=>{:input=>[{:name=>:dai_authentication_keys, :type=>"DaiAuthenticationKey", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_dai_authentication_keys_response", :fields=>[{:name=>:rval, :type=>"DaiAuthenticationKey", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_dai_authentication_keys_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_dai_authentication_keys_by_statement_response", :fields=>[{:name=>:rval, :type=>"DaiAuthenticationKeyPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_dai_authentication_key_action=>{:input=>[{:name=>:dai_authentication_key_action, :type=>"DaiAuthenticationKeyAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_dai_authentication_key_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_dai_authentication_keys=>{:input=>[{:name=>:dai_authentication_keys, :type=>"DaiAuthenticationKey", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_dai_authentication_keys_response", :fields=>[{:name=>:rval, :type=>"DaiAuthenticationKey", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- DAIAUTHENTICATIONKEYSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateDaiAuthenticationKeys=>{:fields=>[], :base=>"DaiAuthenticationKeyAction"}, :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"}, :DaiAuthenticationKeyAction=>{:fields=>[], :abstract=>true}, :DaiAuthenticationKeyActionError=>{:fields=>[{:name=>:reason, :type=>"DaiAuthenticationKeyActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DaiAuthenticationKey=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:creation_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"DaiAuthenticationKeyStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:key_type, :type=>"DaiAuthenticationKeyType", :min_occurs=>0, :max_occurs=>1}]}, :DaiAuthenticationKeyPage=>{: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=>"DaiAuthenticationKey", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :DeactivateDaiAuthenticationKeys=>{:fields=>[], :base=>"DaiAuthenticationKeyAction"}, :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"}, :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"}, :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"}, :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", "NOT_WHITELISTED_FOR_API_ACCESS", "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", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :"DaiAuthenticationKeyActionError.Reason"=>{:type=>"string", :enumerations=>["INVALID_STATUS_TRANSITION", "CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES", "CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_LIVE_STREAMS", "UNKNOWN"]}, :DaiAuthenticationKeyStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "ACTIVE", "INACTIVE"]}, :DaiAuthenticationKeyType=>{:type=>"string", :enumerations=>["UNKNOWN", "API", "HMAC"]}, :"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"]}, :"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"]}}
15
+ DAIAUTHENTICATIONKEYSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateDaiAuthenticationKeys=>{:fields=>[], :base=>"DaiAuthenticationKeyAction"}, :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"}, :DaiAuthenticationKeyAction=>{:fields=>[], :abstract=>true}, :DaiAuthenticationKeyActionError=>{:fields=>[{:name=>:reason, :type=>"DaiAuthenticationKeyActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DaiAuthenticationKey=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:creation_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"DaiAuthenticationKeyStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:key_type, :type=>"DaiAuthenticationKeyType", :min_occurs=>0, :max_occurs=>1}]}, :DaiAuthenticationKeyPage=>{: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=>"DaiAuthenticationKey", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :DeactivateDaiAuthenticationKeys=>{:fields=>[], :base=>"DaiAuthenticationKeyAction"}, :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"}, :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"}, :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"}, :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"]}, :"DaiAuthenticationKeyActionError.Reason"=>{:type=>"string", :enumerations=>["INVALID_STATUS_TRANSITION", "CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES", "CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_LIVE_STREAMS", "UNKNOWN"]}, :DaiAuthenticationKeyStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "ACTIVE", "INACTIVE"]}, :DaiAuthenticationKeyType=>{:type=>"string", :enumerations=>["UNKNOWN", "API", "HMAC"]}, :"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"]}, :"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"]}}
16
16
  DAIAUTHENTICATIONKEYSERVICE_NAMESPACES = []
17
17
 
18
18
  def self.get_method_signature(method_name)
@@ -2,19 +2,19 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2020, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.2 on 2020-11-04 22:41:49.
8
+ # Code generated by AdsCommon library 1.0.3 on 2021-05-07 00:49:02.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202011/dai_encoding_profile_service_registry'
11
+ require 'ad_manager_api/v202105/dai_encoding_profile_service_registry'
12
12
 
13
- module AdManagerApi; module V202011; module DaiEncodingProfileService
13
+ module AdManagerApi; module V202105; module DaiEncodingProfileService
14
14
  class DaiEncodingProfileService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202011'
17
- super(config, endpoint, namespace, :v202011)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202105'
17
+ super(config, endpoint, namespace, :v202105)
18
18
  end
19
19
 
20
20
  def create_dai_encoding_profiles(*args, &block)
@@ -56,7 +56,7 @@ module AdManagerApi; module V202011; module DaiEncodingProfileService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return AdManagerApi::V202011::DaiEncodingProfileService
59
+ return AdManagerApi::V202105::DaiEncodingProfileService
60
60
  end
61
61
  end
62
62
  end; end; end
@@ -2,17 +2,17 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2020, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.2 on 2020-08-24 10:41:47.
8
+ # Code generated by AdsCommon library 1.0.3 on 2021-05-07 00:49:02.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202008; module DaiEncodingProfileService
12
+ module AdManagerApi; module V202105; module DaiEncodingProfileService
13
13
  class DaiEncodingProfileServiceRegistry
14
14
  DAIENCODINGPROFILESERVICE_METHODS = {:create_dai_encoding_profiles=>{:input=>[{:name=>:dai_encoding_profiles, :type=>"DaiEncodingProfile", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_dai_encoding_profiles_response", :fields=>[{:name=>:rval, :type=>"DaiEncodingProfile", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_dai_encoding_profiles_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_dai_encoding_profiles_by_statement_response", :fields=>[{:name=>:rval, :type=>"DaiEncodingProfilePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_dai_encoding_profile_action=>{:input=>[{:name=>:dai_encoding_profile_action, :type=>"DaiEncodingProfileAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_dai_encoding_profile_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_dai_encoding_profiles=>{:input=>[{:name=>:dai_encoding_profiles, :type=>"DaiEncodingProfile", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_dai_encoding_profiles_response", :fields=>[{:name=>:rval, :type=>"DaiEncodingProfile", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- DAIENCODINGPROFILESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateDaiEncodingProfiles=>{:fields=>[], :base=>"DaiEncodingProfileAction"}, :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}]}, :ArchiveDaiEncodingProfiles=>{:fields=>[], :base=>"DaiEncodingProfileAction"}, :AudioSettings=>{:fields=>[{:name=>:codec, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:bitrate, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:channels, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:sample_rate_hertz, :type=>"long", :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"}, :DaiEncodingProfileAction=>{:fields=>[], :abstract=>true}, :DaiEncodingProfileContainerSettingsError=>{:fields=>[{:name=>:reason, :type=>"DaiEncodingProfileContainerSettingsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DaiEncodingProfile=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"DaiEncodingProfileStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:variant_type, :type=>"VariantType", :min_occurs=>0, :max_occurs=>1}, {:name=>:container_type, :type=>"ContainerType", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_settings, :type=>"VideoSettings", :min_occurs=>0, :max_occurs=>1}, {:name=>:audio_settings, :type=>"AudioSettings", :min_occurs=>0, :max_occurs=>1}]}, :DaiEncodingProfileNameError=>{:fields=>[{:name=>:reason, :type=>"DaiEncodingProfileNameError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DaiEncodingProfilePage=>{: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=>"DaiEncodingProfile", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DaiEncodingProfileUpdateError=>{:fields=>[{:name=>:reason, :type=>"DaiEncodingProfileUpdateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DaiEncodingProfileVariantSettingsError=>{:fields=>[{:name=>:reason, :type=>"DaiEncodingProfileVariantSettingsError.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"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :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"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :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}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :VideoSettings=>{:fields=>[{:name=>:codec, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:bitrate, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:frames_per_second, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:resolution, :type=>"Size", :min_occurs=>0, :max_occurs=>1}]}, :"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", "NOT_WHITELISTED_FOR_API_ACCESS", "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", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, :ContainerType=>{:type=>"string", :enumerations=>["TS", "FMP4", "HLS_AUDIO", "UNKNOWN"]}, :"DaiEncodingProfileContainerSettingsError.Reason"=>{:type=>"string", :enumerations=>["TS_MUST_HAVE_AUDIO_OR_VIDEO_SETTINGS", "FMP4_MUST_HAVE_EITHER_AUDIO_OR_VIDEO_SETTINGS", "HLS_AUDIO_MUST_HAVE_ONLY_AUDIO_SETTINGS", "UNKNOWN"]}, :"DaiEncodingProfileNameError.Reason"=>{:type=>"string", :enumerations=>["CONTAINS_INVALID_CHARACTERS", "UNKNOWN"]}, :DaiEncodingProfileStatus=>{:type=>"string", :enumerations=>["ACTIVE", "ARCHIVED", "UNKNOWN"]}, :"DaiEncodingProfileUpdateError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_UPDATE_IF_USED_BY_RUNNING_LIVE_STREAMS", "UNKNOWN"]}, :"DaiEncodingProfileVariantSettingsError.Reason"=>{:type=>"string", :enumerations=>["CONTAINER_TYPE_REQUIRED", "VIDEO_SETTINGS_NOT_ALLOWED", "AUDIO_SETTINGS_NOT_ALLOWED", "UNKNOWN"]}, :"EntityLimitReachedError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_TARGETING_VALUES_LIMIT_REACHED", "AD_EXCLUSION_RULES_LIMIT_REACHED", "FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED", "PLACEMENTS_LIMIT_REACHED", "LINE_ITEMS_LIMIT_REACHED", "ACTIVE_LINE_ITEMS_LIMIT_REACHED", "DAI_ENCODING_PROFILES_LIMIT_REACHED", "TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED", "FORECAST_ADJUSTMENTS_LIMIT_REACHED", "ACTIVE_EXPERIMENTS_LIMIT_REACHED", "SITES_LIMIT_REACHED", "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=>["NOT_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"]}, :"RangeError.Reason"=>{:type=>"string", :enumerations=>["TOO_HIGH", "TOO_LOW", "UNKNOWN"]}, :"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"]}, :VariantType=>{:type=>"string", :enumerations=>["MEDIA", "IFRAME", "SUBTITLES", "UNKNOWN"]}}
15
+ DAIENCODINGPROFILESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateDaiEncodingProfiles=>{:fields=>[], :base=>"DaiEncodingProfileAction"}, :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}]}, :ArchiveDaiEncodingProfiles=>{:fields=>[], :base=>"DaiEncodingProfileAction"}, :AudioSettings=>{:fields=>[{:name=>:codec, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:bitrate, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:channels, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:sample_rate_hertz, :type=>"long", :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"}, :DaiEncodingProfileAction=>{:fields=>[], :abstract=>true}, :DaiEncodingProfileContainerSettingsError=>{:fields=>[{:name=>:reason, :type=>"DaiEncodingProfileContainerSettingsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DaiEncodingProfile=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"DaiEncodingProfileStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:variant_type, :type=>"VariantType", :min_occurs=>0, :max_occurs=>1}, {:name=>:container_type, :type=>"ContainerType", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_settings, :type=>"VideoSettings", :min_occurs=>0, :max_occurs=>1}, {:name=>:audio_settings, :type=>"AudioSettings", :min_occurs=>0, :max_occurs=>1}]}, :DaiEncodingProfileNameError=>{:fields=>[{:name=>:reason, :type=>"DaiEncodingProfileNameError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DaiEncodingProfilePage=>{: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=>"DaiEncodingProfile", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DaiEncodingProfileUpdateError=>{:fields=>[{:name=>:reason, :type=>"DaiEncodingProfileUpdateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DaiEncodingProfileVariantSettingsError=>{:fields=>[{:name=>:reason, :type=>"DaiEncodingProfileVariantSettingsError.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"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :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"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :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}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :VideoSettings=>{:fields=>[{:name=>:codec, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:bitrate, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:frames_per_second, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:resolution, :type=>"Size", :min_occurs=>0, :max_occurs=>1}]}, :"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"]}, :ContainerType=>{:type=>"string", :enumerations=>["TS", "FMP4", "HLS_AUDIO", "UNKNOWN"]}, :"DaiEncodingProfileContainerSettingsError.Reason"=>{:type=>"string", :enumerations=>["TS_MUST_HAVE_AUDIO_OR_VIDEO_SETTINGS", "FMP4_MUST_HAVE_EITHER_AUDIO_OR_VIDEO_SETTINGS", "HLS_AUDIO_MUST_HAVE_ONLY_AUDIO_SETTINGS", "UNKNOWN"]}, :"DaiEncodingProfileNameError.Reason"=>{:type=>"string", :enumerations=>["CONTAINS_INVALID_CHARACTERS", "UNKNOWN"]}, :DaiEncodingProfileStatus=>{:type=>"string", :enumerations=>["ACTIVE", "ARCHIVED", "UNKNOWN"]}, :"DaiEncodingProfileUpdateError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_UPDATE_IF_USED_BY_RUNNING_LIVE_STREAMS", "UNKNOWN"]}, :"DaiEncodingProfileVariantSettingsError.Reason"=>{:type=>"string", :enumerations=>["CONTAINER_TYPE_REQUIRED", "VIDEO_SETTINGS_NOT_ALLOWED", "AUDIO_SETTINGS_NOT_ALLOWED", "UNKNOWN"]}, :"EntityLimitReachedError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_TARGETING_VALUES_LIMIT_REACHED", "AD_EXCLUSION_RULES_LIMIT_REACHED", "FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED", "PLACEMENTS_LIMIT_REACHED", "LINE_ITEMS_LIMIT_REACHED", "ACTIVE_LINE_ITEMS_LIMIT_REACHED", "DAI_ENCODING_PROFILES_LIMIT_REACHED", "TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED", "FORECAST_ADJUSTMENTS_LIMIT_REACHED", "ACTIVE_EXPERIMENTS_LIMIT_REACHED", "SITES_LIMIT_REACHED", "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=>["NOT_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"]}, :"RangeError.Reason"=>{:type=>"string", :enumerations=>["TOO_HIGH", "TOO_LOW", "UNKNOWN"]}, :"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"]}, :VariantType=>{:type=>"string", :enumerations=>["MEDIA", "IFRAME", "SUBTITLES", "UNKNOWN"]}}
16
16
  DAIENCODINGPROFILESERVICE_NAMESPACES = []
17
17
 
18
18
  def self.get_method_signature(method_name)
@@ -2,19 +2,19 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2020, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2021, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.2 on 2020-05-07 23:37:37.
8
+ # Code generated by AdsCommon library 1.0.3 on 2021-05-07 00:49:02.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202005/forecast_service_registry'
11
+ require 'ad_manager_api/v202105/forecast_service_registry'
12
12
 
13
- module AdManagerApi; module V202005; module ForecastService
13
+ module AdManagerApi; module V202105; module ForecastService
14
14
  class ForecastService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202005'
17
- super(config, endpoint, namespace, :v202005)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202105'
17
+ super(config, endpoint, namespace, :v202105)
18
18
  end
19
19
 
20
20
  def get_availability_forecast(*args, &block)
@@ -64,7 +64,7 @@ module AdManagerApi; module V202005; module ForecastService
64
64
  end
65
65
 
66
66
  def get_module()
67
- return AdManagerApi::V202005::ForecastService
67
+ return AdManagerApi::V202105::ForecastService
68
68
  end
69
69
  end
70
70
  end; end; end