google-dfp-api 4.0.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +5 -0
  3. data/lib/ad_manager_api/api_config.rb +8 -8
  4. data/lib/ad_manager_api/v202408/ad_rule_service.rb +1 -1
  5. data/lib/ad_manager_api/v202408/ad_rule_service_registry.rb +1 -1
  6. data/lib/ad_manager_api/v202408/adjustment_service.rb +1 -1
  7. data/lib/ad_manager_api/v202408/adjustment_service_registry.rb +1 -1
  8. data/lib/ad_manager_api/v202408/ads_txt_service.rb +1 -1
  9. data/lib/ad_manager_api/v202408/ads_txt_service_registry.rb +1 -1
  10. data/lib/ad_manager_api/v202408/audience_segment_service.rb +1 -1
  11. data/lib/ad_manager_api/v202408/audience_segment_service_registry.rb +1 -1
  12. data/lib/ad_manager_api/v202408/cdn_configuration_service.rb +1 -1
  13. data/lib/ad_manager_api/v202408/cdn_configuration_service_registry.rb +1 -1
  14. data/lib/ad_manager_api/v202408/cms_metadata_service.rb +1 -1
  15. data/lib/ad_manager_api/v202408/cms_metadata_service_registry.rb +1 -1
  16. data/lib/ad_manager_api/v202408/company_service.rb +1 -1
  17. data/lib/ad_manager_api/v202408/company_service_registry.rb +1 -1
  18. data/lib/ad_manager_api/v202408/contact_service.rb +1 -1
  19. data/lib/ad_manager_api/v202408/contact_service_registry.rb +1 -1
  20. data/lib/ad_manager_api/v202408/content_bundle_service.rb +1 -1
  21. data/lib/ad_manager_api/v202408/content_bundle_service_registry.rb +1 -1
  22. data/lib/ad_manager_api/v202408/content_service.rb +1 -1
  23. data/lib/ad_manager_api/v202408/content_service_registry.rb +1 -1
  24. data/lib/ad_manager_api/v202408/creative_service.rb +1 -1
  25. data/lib/ad_manager_api/v202408/creative_service_registry.rb +1 -1
  26. data/lib/ad_manager_api/v202408/creative_set_service.rb +1 -1
  27. data/lib/ad_manager_api/v202408/creative_set_service_registry.rb +1 -1
  28. data/lib/ad_manager_api/v202408/creative_template_service.rb +1 -1
  29. data/lib/ad_manager_api/v202408/creative_template_service_registry.rb +1 -1
  30. data/lib/ad_manager_api/v202408/creative_wrapper_service.rb +1 -1
  31. data/lib/ad_manager_api/v202408/creative_wrapper_service_registry.rb +1 -1
  32. data/lib/ad_manager_api/v202408/custom_field_service.rb +1 -1
  33. data/lib/ad_manager_api/v202408/custom_field_service_registry.rb +1 -1
  34. data/lib/ad_manager_api/v202408/custom_targeting_service.rb +1 -1
  35. data/lib/ad_manager_api/v202408/custom_targeting_service_registry.rb +1 -1
  36. data/lib/ad_manager_api/v202408/dai_authentication_key_service.rb +1 -1
  37. data/lib/ad_manager_api/v202408/dai_authentication_key_service_registry.rb +1 -1
  38. data/lib/ad_manager_api/v202408/dai_encoding_profile_service.rb +1 -1
  39. data/lib/ad_manager_api/v202408/dai_encoding_profile_service_registry.rb +1 -1
  40. data/lib/ad_manager_api/v202408/forecast_service.rb +1 -1
  41. data/lib/ad_manager_api/v202408/forecast_service_registry.rb +1 -1
  42. data/lib/ad_manager_api/v202408/inventory_service.rb +1 -1
  43. data/lib/ad_manager_api/v202408/inventory_service_registry.rb +1 -1
  44. data/lib/ad_manager_api/v202408/label_service.rb +1 -1
  45. data/lib/ad_manager_api/v202408/label_service_registry.rb +1 -1
  46. data/lib/ad_manager_api/v202408/line_item_creative_association_service.rb +1 -1
  47. data/lib/ad_manager_api/v202408/line_item_creative_association_service_registry.rb +1 -1
  48. data/lib/ad_manager_api/v202408/line_item_service.rb +1 -1
  49. data/lib/ad_manager_api/v202408/line_item_service_registry.rb +1 -1
  50. data/lib/ad_manager_api/v202408/line_item_template_service.rb +1 -1
  51. data/lib/ad_manager_api/v202408/line_item_template_service_registry.rb +1 -1
  52. data/lib/ad_manager_api/v202408/live_stream_event_service.rb +1 -1
  53. data/lib/ad_manager_api/v202408/live_stream_event_service_registry.rb +1 -1
  54. data/lib/ad_manager_api/v202408/mobile_application_service.rb +1 -1
  55. data/lib/ad_manager_api/v202408/mobile_application_service_registry.rb +1 -1
  56. data/lib/ad_manager_api/v202408/native_style_service.rb +1 -1
  57. data/lib/ad_manager_api/v202408/native_style_service_registry.rb +1 -1
  58. data/lib/ad_manager_api/v202408/network_service.rb +1 -1
  59. data/lib/ad_manager_api/v202408/network_service_registry.rb +1 -1
  60. data/lib/ad_manager_api/v202408/order_service.rb +1 -1
  61. data/lib/ad_manager_api/v202408/order_service_registry.rb +1 -1
  62. data/lib/ad_manager_api/v202408/placement_service.rb +1 -1
  63. data/lib/ad_manager_api/v202408/placement_service_registry.rb +1 -1
  64. data/lib/ad_manager_api/v202408/proposal_line_item_service.rb +1 -1
  65. data/lib/ad_manager_api/v202408/proposal_line_item_service_registry.rb +1 -1
  66. data/lib/ad_manager_api/v202408/proposal_service.rb +1 -1
  67. data/lib/ad_manager_api/v202408/proposal_service_registry.rb +1 -1
  68. data/lib/ad_manager_api/v202408/publisher_query_language_service.rb +1 -1
  69. data/lib/ad_manager_api/v202408/publisher_query_language_service_registry.rb +1 -1
  70. data/lib/ad_manager_api/v202408/report_service.rb +1 -1
  71. data/lib/ad_manager_api/v202408/report_service_registry.rb +2 -2
  72. data/lib/ad_manager_api/v202408/segment_population_service.rb +1 -1
  73. data/lib/ad_manager_api/v202408/segment_population_service_registry.rb +1 -1
  74. data/lib/ad_manager_api/v202408/site_service.rb +1 -1
  75. data/lib/ad_manager_api/v202408/site_service_registry.rb +1 -1
  76. data/lib/ad_manager_api/v202408/stream_activity_monitor_service.rb +1 -1
  77. data/lib/ad_manager_api/v202408/stream_activity_monitor_service_registry.rb +1 -1
  78. data/lib/ad_manager_api/v202408/suggested_ad_unit_service.rb +1 -1
  79. data/lib/ad_manager_api/v202408/suggested_ad_unit_service_registry.rb +1 -1
  80. data/lib/ad_manager_api/v202408/targeting_preset_service.rb +1 -1
  81. data/lib/ad_manager_api/v202408/targeting_preset_service_registry.rb +1 -1
  82. data/lib/ad_manager_api/v202408/team_service.rb +1 -1
  83. data/lib/ad_manager_api/v202408/team_service_registry.rb +1 -1
  84. data/lib/ad_manager_api/v202408/user_service.rb +1 -1
  85. data/lib/ad_manager_api/v202408/user_service_registry.rb +1 -1
  86. data/lib/ad_manager_api/v202408/user_team_association_service.rb +1 -1
  87. data/lib/ad_manager_api/v202408/user_team_association_service_registry.rb +1 -1
  88. data/lib/ad_manager_api/v202408/yield_group_service.rb +1 -1
  89. data/lib/ad_manager_api/v202408/yield_group_service_registry.rb +1 -1
  90. data/lib/ad_manager_api/v202411/ad_rule_service.rb +1 -1
  91. data/lib/ad_manager_api/v202411/ad_rule_service_registry.rb +1 -1
  92. data/lib/ad_manager_api/v202411/adjustment_service.rb +1 -1
  93. data/lib/ad_manager_api/v202411/adjustment_service_registry.rb +1 -1
  94. data/lib/ad_manager_api/v202411/ads_txt_service.rb +1 -1
  95. data/lib/ad_manager_api/v202411/ads_txt_service_registry.rb +1 -1
  96. data/lib/ad_manager_api/v202411/audience_segment_service.rb +1 -1
  97. data/lib/ad_manager_api/v202411/audience_segment_service_registry.rb +1 -1
  98. data/lib/ad_manager_api/v202411/cdn_configuration_service.rb +1 -1
  99. data/lib/ad_manager_api/v202411/cdn_configuration_service_registry.rb +1 -1
  100. data/lib/ad_manager_api/v202411/cms_metadata_service.rb +1 -1
  101. data/lib/ad_manager_api/v202411/cms_metadata_service_registry.rb +1 -1
  102. data/lib/ad_manager_api/v202411/company_service.rb +1 -1
  103. data/lib/ad_manager_api/v202411/company_service_registry.rb +1 -1
  104. data/lib/ad_manager_api/v202411/contact_service.rb +1 -1
  105. data/lib/ad_manager_api/v202411/contact_service_registry.rb +1 -1
  106. data/lib/ad_manager_api/v202411/content_bundle_service.rb +1 -1
  107. data/lib/ad_manager_api/v202411/content_bundle_service_registry.rb +1 -1
  108. data/lib/ad_manager_api/v202411/content_service.rb +1 -1
  109. data/lib/ad_manager_api/v202411/content_service_registry.rb +1 -1
  110. data/lib/ad_manager_api/v202411/creative_service.rb +1 -1
  111. data/lib/ad_manager_api/v202411/creative_service_registry.rb +1 -1
  112. data/lib/ad_manager_api/v202411/creative_set_service.rb +1 -1
  113. data/lib/ad_manager_api/v202411/creative_set_service_registry.rb +1 -1
  114. data/lib/ad_manager_api/v202411/creative_template_service.rb +1 -1
  115. data/lib/ad_manager_api/v202411/creative_template_service_registry.rb +1 -1
  116. data/lib/ad_manager_api/v202411/creative_wrapper_service.rb +1 -1
  117. data/lib/ad_manager_api/v202411/creative_wrapper_service_registry.rb +1 -1
  118. data/lib/ad_manager_api/v202411/custom_field_service.rb +1 -1
  119. data/lib/ad_manager_api/v202411/custom_field_service_registry.rb +1 -1
  120. data/lib/ad_manager_api/v202411/custom_targeting_service.rb +1 -1
  121. data/lib/ad_manager_api/v202411/custom_targeting_service_registry.rb +1 -1
  122. data/lib/ad_manager_api/v202411/dai_authentication_key_service.rb +1 -1
  123. data/lib/ad_manager_api/v202411/dai_authentication_key_service_registry.rb +1 -1
  124. data/lib/ad_manager_api/v202411/dai_encoding_profile_service.rb +1 -1
  125. data/lib/ad_manager_api/v202411/dai_encoding_profile_service_registry.rb +1 -1
  126. data/lib/ad_manager_api/v202411/forecast_service.rb +1 -1
  127. data/lib/ad_manager_api/v202411/forecast_service_registry.rb +1 -1
  128. data/lib/ad_manager_api/v202411/inventory_service.rb +1 -1
  129. data/lib/ad_manager_api/v202411/inventory_service_registry.rb +1 -1
  130. data/lib/ad_manager_api/v202411/label_service.rb +1 -1
  131. data/lib/ad_manager_api/v202411/label_service_registry.rb +1 -1
  132. data/lib/ad_manager_api/v202411/line_item_creative_association_service.rb +1 -1
  133. data/lib/ad_manager_api/v202411/line_item_creative_association_service_registry.rb +1 -1
  134. data/lib/ad_manager_api/v202411/line_item_service.rb +1 -1
  135. data/lib/ad_manager_api/v202411/line_item_service_registry.rb +1 -1
  136. data/lib/ad_manager_api/v202411/line_item_template_service.rb +1 -1
  137. data/lib/ad_manager_api/v202411/line_item_template_service_registry.rb +1 -1
  138. data/lib/ad_manager_api/v202411/live_stream_event_service.rb +1 -1
  139. data/lib/ad_manager_api/v202411/live_stream_event_service_registry.rb +1 -1
  140. data/lib/ad_manager_api/v202411/mobile_application_service.rb +1 -1
  141. data/lib/ad_manager_api/v202411/mobile_application_service_registry.rb +1 -1
  142. data/lib/ad_manager_api/v202411/native_style_service.rb +1 -1
  143. data/lib/ad_manager_api/v202411/native_style_service_registry.rb +1 -1
  144. data/lib/ad_manager_api/v202411/network_service.rb +1 -1
  145. data/lib/ad_manager_api/v202411/network_service_registry.rb +1 -1
  146. data/lib/ad_manager_api/v202411/order_service.rb +1 -1
  147. data/lib/ad_manager_api/v202411/order_service_registry.rb +1 -1
  148. data/lib/ad_manager_api/v202411/placement_service.rb +1 -1
  149. data/lib/ad_manager_api/v202411/placement_service_registry.rb +1 -1
  150. data/lib/ad_manager_api/v202411/proposal_line_item_service.rb +1 -1
  151. data/lib/ad_manager_api/v202411/proposal_line_item_service_registry.rb +1 -1
  152. data/lib/ad_manager_api/v202411/proposal_service.rb +1 -1
  153. data/lib/ad_manager_api/v202411/proposal_service_registry.rb +1 -1
  154. data/lib/ad_manager_api/v202411/publisher_query_language_service.rb +1 -1
  155. data/lib/ad_manager_api/v202411/publisher_query_language_service_registry.rb +1 -1
  156. data/lib/ad_manager_api/v202411/report_service.rb +1 -1
  157. data/lib/ad_manager_api/v202411/report_service_registry.rb +2 -2
  158. data/lib/ad_manager_api/v202411/segment_population_service.rb +1 -1
  159. data/lib/ad_manager_api/v202411/segment_population_service_registry.rb +1 -1
  160. data/lib/ad_manager_api/v202411/site_service.rb +1 -1
  161. data/lib/ad_manager_api/v202411/site_service_registry.rb +1 -1
  162. data/lib/ad_manager_api/v202411/stream_activity_monitor_service.rb +1 -1
  163. data/lib/ad_manager_api/v202411/stream_activity_monitor_service_registry.rb +1 -1
  164. data/lib/ad_manager_api/v202411/suggested_ad_unit_service.rb +1 -1
  165. data/lib/ad_manager_api/v202411/suggested_ad_unit_service_registry.rb +1 -1
  166. data/lib/ad_manager_api/v202411/targeting_preset_service.rb +1 -1
  167. data/lib/ad_manager_api/v202411/targeting_preset_service_registry.rb +1 -1
  168. data/lib/ad_manager_api/v202411/team_service.rb +1 -1
  169. data/lib/ad_manager_api/v202411/team_service_registry.rb +1 -1
  170. data/lib/ad_manager_api/v202411/user_service.rb +1 -1
  171. data/lib/ad_manager_api/v202411/user_service_registry.rb +1 -1
  172. data/lib/ad_manager_api/v202411/user_team_association_service.rb +1 -1
  173. data/lib/ad_manager_api/v202411/user_team_association_service_registry.rb +1 -1
  174. data/lib/ad_manager_api/v202411/yield_group_service.rb +1 -1
  175. data/lib/ad_manager_api/v202411/yield_group_service_registry.rb +1 -1
  176. data/lib/ad_manager_api/v202502/ad_rule_service.rb +1 -1
  177. data/lib/ad_manager_api/v202502/ad_rule_service_registry.rb +1 -1
  178. data/lib/ad_manager_api/v202502/adjustment_service.rb +1 -1
  179. data/lib/ad_manager_api/v202502/adjustment_service_registry.rb +1 -1
  180. data/lib/ad_manager_api/v202502/ads_txt_service.rb +1 -1
  181. data/lib/ad_manager_api/v202502/ads_txt_service_registry.rb +1 -1
  182. data/lib/ad_manager_api/v202502/audience_segment_service.rb +1 -1
  183. data/lib/ad_manager_api/v202502/audience_segment_service_registry.rb +1 -1
  184. data/lib/ad_manager_api/v202502/cdn_configuration_service.rb +1 -1
  185. data/lib/ad_manager_api/v202502/cdn_configuration_service_registry.rb +1 -1
  186. data/lib/ad_manager_api/v202502/cms_metadata_service.rb +1 -1
  187. data/lib/ad_manager_api/v202502/cms_metadata_service_registry.rb +1 -1
  188. data/lib/ad_manager_api/v202502/company_service.rb +1 -1
  189. data/lib/ad_manager_api/v202502/company_service_registry.rb +1 -1
  190. data/lib/ad_manager_api/v202502/contact_service.rb +1 -1
  191. data/lib/ad_manager_api/v202502/contact_service_registry.rb +1 -1
  192. data/lib/ad_manager_api/v202502/content_bundle_service.rb +1 -1
  193. data/lib/ad_manager_api/v202502/content_bundle_service_registry.rb +1 -1
  194. data/lib/ad_manager_api/v202502/content_service.rb +1 -1
  195. data/lib/ad_manager_api/v202502/content_service_registry.rb +1 -1
  196. data/lib/ad_manager_api/v202502/creative_service.rb +1 -1
  197. data/lib/ad_manager_api/v202502/creative_service_registry.rb +1 -1
  198. data/lib/ad_manager_api/v202502/creative_set_service.rb +1 -1
  199. data/lib/ad_manager_api/v202502/creative_set_service_registry.rb +1 -1
  200. data/lib/ad_manager_api/v202502/creative_template_service.rb +1 -1
  201. data/lib/ad_manager_api/v202502/creative_template_service_registry.rb +1 -1
  202. data/lib/ad_manager_api/v202502/creative_wrapper_service.rb +1 -1
  203. data/lib/ad_manager_api/v202502/creative_wrapper_service_registry.rb +1 -1
  204. data/lib/ad_manager_api/v202502/custom_field_service.rb +1 -1
  205. data/lib/ad_manager_api/v202502/custom_field_service_registry.rb +1 -1
  206. data/lib/ad_manager_api/v202502/custom_targeting_service.rb +1 -1
  207. data/lib/ad_manager_api/v202502/custom_targeting_service_registry.rb +1 -1
  208. data/lib/ad_manager_api/v202502/dai_authentication_key_service.rb +1 -1
  209. data/lib/ad_manager_api/v202502/dai_authentication_key_service_registry.rb +1 -1
  210. data/lib/ad_manager_api/v202502/dai_encoding_profile_service.rb +1 -1
  211. data/lib/ad_manager_api/v202502/dai_encoding_profile_service_registry.rb +1 -1
  212. data/lib/ad_manager_api/v202502/forecast_service.rb +1 -1
  213. data/lib/ad_manager_api/v202502/forecast_service_registry.rb +1 -1
  214. data/lib/ad_manager_api/v202502/inventory_service.rb +1 -1
  215. data/lib/ad_manager_api/v202502/inventory_service_registry.rb +1 -1
  216. data/lib/ad_manager_api/v202502/label_service.rb +1 -1
  217. data/lib/ad_manager_api/v202502/label_service_registry.rb +1 -1
  218. data/lib/ad_manager_api/v202502/line_item_creative_association_service.rb +1 -1
  219. data/lib/ad_manager_api/v202502/line_item_creative_association_service_registry.rb +1 -1
  220. data/lib/ad_manager_api/v202502/line_item_service.rb +1 -1
  221. data/lib/ad_manager_api/v202502/line_item_service_registry.rb +1 -1
  222. data/lib/ad_manager_api/v202502/line_item_template_service.rb +1 -1
  223. data/lib/ad_manager_api/v202502/line_item_template_service_registry.rb +1 -1
  224. data/lib/ad_manager_api/v202502/live_stream_event_service.rb +1 -1
  225. data/lib/ad_manager_api/v202502/live_stream_event_service_registry.rb +1 -1
  226. data/lib/ad_manager_api/v202502/mobile_application_service.rb +1 -1
  227. data/lib/ad_manager_api/v202502/mobile_application_service_registry.rb +1 -1
  228. data/lib/ad_manager_api/v202502/native_style_service.rb +1 -1
  229. data/lib/ad_manager_api/v202502/native_style_service_registry.rb +1 -1
  230. data/lib/ad_manager_api/v202502/network_service.rb +1 -1
  231. data/lib/ad_manager_api/v202502/network_service_registry.rb +1 -1
  232. data/lib/ad_manager_api/v202502/order_service.rb +1 -1
  233. data/lib/ad_manager_api/v202502/order_service_registry.rb +1 -1
  234. data/lib/ad_manager_api/v202502/placement_service.rb +1 -1
  235. data/lib/ad_manager_api/v202502/placement_service_registry.rb +1 -1
  236. data/lib/ad_manager_api/v202502/proposal_line_item_service.rb +1 -1
  237. data/lib/ad_manager_api/v202502/proposal_line_item_service_registry.rb +1 -1
  238. data/lib/ad_manager_api/v202502/proposal_service.rb +1 -1
  239. data/lib/ad_manager_api/v202502/proposal_service_registry.rb +1 -1
  240. data/lib/ad_manager_api/v202502/publisher_query_language_service.rb +1 -1
  241. data/lib/ad_manager_api/v202502/publisher_query_language_service_registry.rb +1 -1
  242. data/lib/ad_manager_api/v202502/report_service.rb +1 -1
  243. data/lib/ad_manager_api/v202502/report_service_registry.rb +2 -2
  244. data/lib/ad_manager_api/v202502/segment_population_service.rb +1 -1
  245. data/lib/ad_manager_api/v202502/segment_population_service_registry.rb +1 -1
  246. data/lib/ad_manager_api/v202502/site_service.rb +1 -1
  247. data/lib/ad_manager_api/v202502/site_service_registry.rb +1 -1
  248. data/lib/ad_manager_api/v202502/stream_activity_monitor_service.rb +1 -1
  249. data/lib/ad_manager_api/v202502/stream_activity_monitor_service_registry.rb +1 -1
  250. data/lib/ad_manager_api/v202502/suggested_ad_unit_service.rb +1 -1
  251. data/lib/ad_manager_api/v202502/suggested_ad_unit_service_registry.rb +1 -1
  252. data/lib/ad_manager_api/v202502/targeting_preset_service.rb +1 -1
  253. data/lib/ad_manager_api/v202502/targeting_preset_service_registry.rb +1 -1
  254. data/lib/ad_manager_api/v202502/team_service.rb +1 -1
  255. data/lib/ad_manager_api/v202502/team_service_registry.rb +1 -1
  256. data/lib/ad_manager_api/v202502/user_service.rb +1 -1
  257. data/lib/ad_manager_api/v202502/user_service_registry.rb +1 -1
  258. data/lib/ad_manager_api/v202502/user_team_association_service.rb +1 -1
  259. data/lib/ad_manager_api/v202502/user_team_association_service_registry.rb +1 -1
  260. data/lib/ad_manager_api/v202502/yield_group_service.rb +1 -1
  261. data/lib/ad_manager_api/v202502/yield_group_service_registry.rb +1 -1
  262. data/lib/ad_manager_api/{v202405 → v202505}/ad_rule_service.rb +6 -6
  263. data/lib/ad_manager_api/v202505/ad_rule_service_registry.rb +45 -0
  264. data/lib/ad_manager_api/{v202405 → v202505}/adjustment_service.rb +6 -6
  265. data/lib/ad_manager_api/v202505/adjustment_service_registry.rb +45 -0
  266. data/lib/ad_manager_api/v202505/ads_txt_service.rb +38 -0
  267. data/lib/ad_manager_api/v202505/ads_txt_service_registry.rb +43 -0
  268. data/lib/ad_manager_api/{v202405 → v202505}/audience_segment_service.rb +6 -6
  269. data/lib/ad_manager_api/{v202405 → v202505}/audience_segment_service_registry.rb +3 -3
  270. data/lib/ad_manager_api/{v202405 → v202505}/cdn_configuration_service.rb +6 -6
  271. data/lib/ad_manager_api/{v202405 → v202505}/cdn_configuration_service_registry.rb +2 -2
  272. data/lib/ad_manager_api/{v202405 → v202505}/cms_metadata_service.rb +6 -6
  273. data/lib/ad_manager_api/{v202405 → v202505}/cms_metadata_service_registry.rb +2 -2
  274. data/lib/ad_manager_api/{v202405 → v202505}/company_service.rb +6 -6
  275. data/lib/ad_manager_api/v202505/company_service_registry.rb +45 -0
  276. data/lib/ad_manager_api/{v202405 → v202505}/contact_service.rb +6 -6
  277. data/lib/ad_manager_api/{v202405 → v202505}/contact_service_registry.rb +2 -2
  278. data/lib/ad_manager_api/{v202405 → v202505}/content_bundle_service.rb +6 -6
  279. data/lib/ad_manager_api/{v202405 → v202505}/content_bundle_service_registry.rb +2 -2
  280. data/lib/ad_manager_api/{v202405 → v202505}/content_service.rb +6 -6
  281. data/lib/ad_manager_api/{v202405 → v202505}/content_service_registry.rb +3 -3
  282. data/lib/ad_manager_api/{v202405 → v202505}/creative_service.rb +6 -6
  283. data/lib/ad_manager_api/v202505/creative_service_registry.rb +45 -0
  284. data/lib/ad_manager_api/{v202405 → v202505}/creative_set_service.rb +6 -6
  285. data/lib/ad_manager_api/{v202405 → v202505}/creative_set_service_registry.rb +3 -3
  286. data/lib/ad_manager_api/{v202405 → v202505}/creative_template_service.rb +6 -6
  287. data/lib/ad_manager_api/{v202405 → v202505}/creative_template_service_registry.rb +2 -2
  288. data/lib/ad_manager_api/{v202405 → v202505}/creative_wrapper_service.rb +6 -6
  289. data/lib/ad_manager_api/{v202405 → v202505}/creative_wrapper_service_registry.rb +2 -2
  290. data/lib/ad_manager_api/{v202405 → v202505}/custom_field_service.rb +6 -6
  291. data/lib/ad_manager_api/{v202405 → v202505}/custom_field_service_registry.rb +3 -3
  292. data/lib/ad_manager_api/{v202405 → v202505}/custom_targeting_service.rb +6 -6
  293. data/lib/ad_manager_api/{v202405 → v202505}/custom_targeting_service_registry.rb +3 -3
  294. data/lib/ad_manager_api/{v202405 → v202505}/dai_authentication_key_service.rb +6 -6
  295. data/lib/ad_manager_api/{v202405 → v202505}/dai_authentication_key_service_registry.rb +2 -2
  296. data/lib/ad_manager_api/{v202405 → v202505}/dai_encoding_profile_service.rb +6 -6
  297. data/lib/ad_manager_api/{v202405 → v202505}/dai_encoding_profile_service_registry.rb +3 -3
  298. data/lib/ad_manager_api/{v202405 → v202505}/forecast_service.rb +6 -6
  299. data/lib/ad_manager_api/v202505/forecast_service_registry.rb +45 -0
  300. data/lib/ad_manager_api/{v202405 → v202505}/inventory_service.rb +6 -6
  301. data/lib/ad_manager_api/{v202405 → v202505}/inventory_service_registry.rb +3 -3
  302. data/lib/ad_manager_api/{v202405 → v202505}/label_service.rb +6 -6
  303. data/lib/ad_manager_api/{v202405 → v202505}/label_service_registry.rb +2 -2
  304. data/lib/ad_manager_api/{v202405 → v202505}/line_item_creative_association_service.rb +6 -14
  305. data/lib/ad_manager_api/v202505/line_item_creative_association_service_registry.rb +45 -0
  306. data/lib/ad_manager_api/{v202405 → v202505}/line_item_service.rb +6 -6
  307. data/lib/ad_manager_api/v202505/line_item_service_registry.rb +45 -0
  308. data/lib/ad_manager_api/{v202405 → v202505}/line_item_template_service.rb +6 -6
  309. data/lib/ad_manager_api/v202505/line_item_template_service_registry.rb +45 -0
  310. data/lib/ad_manager_api/{v202405 → v202505}/live_stream_event_service.rb +6 -6
  311. data/lib/ad_manager_api/v202505/live_stream_event_service_registry.rb +45 -0
  312. data/lib/ad_manager_api/{v202405 → v202505}/mobile_application_service.rb +6 -6
  313. data/lib/ad_manager_api/{v202405 → v202505}/mobile_application_service_registry.rb +2 -2
  314. data/lib/ad_manager_api/{v202405 → v202505}/native_style_service.rb +6 -6
  315. data/lib/ad_manager_api/v202505/native_style_service_registry.rb +45 -0
  316. data/lib/ad_manager_api/{v202405 → v202505}/network_service.rb +6 -6
  317. data/lib/ad_manager_api/{v202405 → v202505}/network_service_registry.rb +3 -3
  318. data/lib/ad_manager_api/{v202405 → v202505}/order_service.rb +6 -6
  319. data/lib/ad_manager_api/{v202405 → v202505}/order_service_registry.rb +3 -3
  320. data/lib/ad_manager_api/{v202405 → v202505}/placement_service.rb +6 -6
  321. data/lib/ad_manager_api/{v202405 → v202505}/placement_service_registry.rb +3 -3
  322. data/lib/ad_manager_api/{v202405 → v202505}/proposal_line_item_service.rb +6 -6
  323. data/lib/ad_manager_api/v202505/proposal_line_item_service_registry.rb +45 -0
  324. data/lib/ad_manager_api/{v202405 → v202505}/proposal_service.rb +6 -6
  325. data/lib/ad_manager_api/v202505/proposal_service_registry.rb +45 -0
  326. data/lib/ad_manager_api/{v202405 → v202505}/publisher_query_language_service.rb +6 -6
  327. data/lib/ad_manager_api/v202505/publisher_query_language_service_registry.rb +45 -0
  328. data/lib/ad_manager_api/{v202405 → v202505}/report_service.rb +6 -6
  329. data/lib/ad_manager_api/{v202405 → v202505}/report_service_registry.rb +4 -4
  330. data/lib/ad_manager_api/{v202405 → v202505}/segment_population_service.rb +6 -6
  331. data/lib/ad_manager_api/{v202405 → v202505}/segment_population_service_registry.rb +2 -2
  332. data/lib/ad_manager_api/{v202405 → v202505}/site_service.rb +6 -6
  333. data/lib/ad_manager_api/{v202405 → v202505}/site_service_registry.rb +3 -3
  334. data/lib/ad_manager_api/{v202405 → v202505}/stream_activity_monitor_service.rb +6 -6
  335. data/lib/ad_manager_api/{v202405 → v202505}/stream_activity_monitor_service_registry.rb +2 -2
  336. data/lib/ad_manager_api/{v202405 → v202505}/suggested_ad_unit_service.rb +6 -6
  337. data/lib/ad_manager_api/{v202405 → v202505}/suggested_ad_unit_service_registry.rb +3 -3
  338. data/lib/ad_manager_api/{v202405 → v202505}/targeting_preset_service.rb +14 -6
  339. data/lib/ad_manager_api/v202505/targeting_preset_service_registry.rb +45 -0
  340. data/lib/ad_manager_api/{v202405 → v202505}/team_service.rb +6 -6
  341. data/lib/ad_manager_api/{v202405 → v202505}/team_service_registry.rb +3 -3
  342. data/lib/ad_manager_api/{v202405 → v202505}/user_service.rb +6 -6
  343. data/lib/ad_manager_api/{v202405 → v202505}/user_service_registry.rb +3 -3
  344. data/lib/ad_manager_api/{v202405 → v202505}/user_team_association_service.rb +6 -6
  345. data/lib/ad_manager_api/{v202405 → v202505}/user_team_association_service_registry.rb +2 -2
  346. data/lib/ad_manager_api/{v202405 → v202505}/yield_group_service.rb +6 -6
  347. data/lib/ad_manager_api/v202505/yield_group_service_registry.rb +43 -0
  348. data/lib/ad_manager_api/version.rb +1 -1
  349. metadata +88 -86
  350. data/lib/ad_manager_api/v202405/ad_rule_service_registry.rb +0 -45
  351. data/lib/ad_manager_api/v202405/adjustment_service_registry.rb +0 -45
  352. data/lib/ad_manager_api/v202405/company_service_registry.rb +0 -45
  353. data/lib/ad_manager_api/v202405/creative_service_registry.rb +0 -45
  354. data/lib/ad_manager_api/v202405/forecast_service_registry.rb +0 -45
  355. data/lib/ad_manager_api/v202405/line_item_creative_association_service_registry.rb +0 -45
  356. data/lib/ad_manager_api/v202405/line_item_service_registry.rb +0 -45
  357. data/lib/ad_manager_api/v202405/line_item_template_service_registry.rb +0 -45
  358. data/lib/ad_manager_api/v202405/live_stream_event_service_registry.rb +0 -45
  359. data/lib/ad_manager_api/v202405/native_style_service_registry.rb +0 -45
  360. data/lib/ad_manager_api/v202405/proposal_line_item_service_registry.rb +0 -45
  361. data/lib/ad_manager_api/v202405/proposal_service_registry.rb +0 -45
  362. data/lib/ad_manager_api/v202405/publisher_query_language_service_registry.rb +0 -45
  363. data/lib/ad_manager_api/v202405/targeting_preset_service_registry.rb +0 -45
  364. data/lib/ad_manager_api/v202405/yield_group_service_registry.rb +0 -43
@@ -5,14 +5,14 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:15.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:16.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202405; module AudienceSegmentService
12
+ module AdManagerApi; module V202505; module AudienceSegmentService
13
13
  class AudienceSegmentServiceRegistry
14
14
  AUDIENCESEGMENTSERVICE_METHODS = {create_audience_segments: {input: [{name: :segments, type: "FirstPartyAudienceSegment", min_occurs: 0, max_occurs: :unbounded}], output: {name: "create_audience_segments_response", fields: [{name: :rval, type: "FirstPartyAudienceSegment", min_occurs: 0, max_occurs: :unbounded}]}}, get_audience_segments_by_statement: {input: [{name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "get_audience_segments_by_statement_response", fields: [{name: :rval, type: "AudienceSegmentPage", min_occurs: 0, max_occurs: 1}]}}, perform_audience_segment_action: {input: [{name: :action, type: "AudienceSegmentAction", min_occurs: 0, max_occurs: 1}, {name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "perform_audience_segment_action_response", fields: [{name: :rval, type: "UpdateResult", min_occurs: 0, max_occurs: 1}]}}, update_audience_segments: {input: [{name: :segments, type: "FirstPartyAudienceSegment", min_occurs: 0, max_occurs: :unbounded}], output: {name: "update_audience_segments_response", fields: [{name: :rval, type: "FirstPartyAudienceSegment", min_occurs: 0, max_occurs: :unbounded}]}}}
15
- AUDIENCESEGMENTSERVICE_TYPES = {ObjectValue: {fields: [], abstract: true, base: "Value"}, ActivateAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, AdUnitTargeting: {fields: [{name: :ad_unit_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :include_descendants, type: "boolean", min_occurs: 0, max_occurs: 1}]}, 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}]}, ApproveAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, AudienceSegmentDataProvider: {fields: [{name: :name, type: "string", min_occurs: 0, max_occurs: 1}]}, AudienceSegmentPage: {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: "AudienceSegment", min_occurs: 0, max_occurs: :unbounded}]}, AuthenticationError: {fields: [{name: :reason, type: "AuthenticationError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, FirstPartyAudienceSegment: {fields: [], abstract: true, base: "AudienceSegment"}, 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"}, CustomCriteria: {fields: [{name: :key_id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :value_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}, {name: :operator, type: "CustomCriteria.ComparisonOperator", min_occurs: 0, max_occurs: 1}], base: "CustomCriteriaLeaf"}, CustomCriteriaSet: {fields: [{name: :logical_operator, type: "CustomCriteriaSet.LogicalOperator", min_occurs: 0, max_occurs: 1}, {name: :children, type: "CustomCriteriaNode", min_occurs: 0, max_occurs: :unbounded}], base: "CustomCriteriaNode"}, CmsMetadataCriteria: {fields: [{name: :operator, type: "CmsMetadataCriteria.ComparisonOperator", min_occurs: 0, max_occurs: 1}, {name: :cms_metadata_value_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}], base: "CustomCriteriaLeaf"}, CustomTargetingError: {fields: [{name: :reason, type: "CustomTargetingError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CustomCriteriaLeaf: {fields: [], abstract: true, base: "CustomCriteriaNode"}, CustomCriteriaNode: {fields: [], abstract: true}, AudienceSegmentCriteria: {fields: [{name: :operator, type: "AudienceSegmentCriteria.ComparisonOperator", min_occurs: 0, max_occurs: 1}, {name: :audience_segment_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}], base: "CustomCriteriaLeaf"}, 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"}, DeactivateAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, 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"}, ThirdPartyAudienceSegment: {fields: [{name: :approval_status, type: "AudienceSegmentApprovalStatus", min_occurs: 0, max_occurs: 1}, {name: :cost, type: "Money", min_occurs: 0, max_occurs: 1}, {name: :license_type, type: "LicenseType", min_occurs: 0, max_occurs: 1}, {name: :start_date_time, type: "DateTime", min_occurs: 0, max_occurs: 1}, {name: :end_date_time, type: "DateTime", min_occurs: 0, max_occurs: 1}], base: "AudienceSegment"}, 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"}, InventoryTargeting: {fields: [{name: :targeted_ad_units, type: "AdUnitTargeting", min_occurs: 0, max_occurs: :unbounded}, {name: :excluded_ad_units, type: "AdUnitTargeting", min_occurs: 0, max_occurs: :unbounded}, {name: :targeted_placement_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}]}, Money: {fields: [{name: :currency_code, type: "string", min_occurs: 0, max_occurs: 1}, {name: :micro_amount, type: "long", min_occurs: 0, max_occurs: 1}]}, NonRuleBasedFirstPartyAudienceSegment: {fields: [{name: :membership_expiration_days, type: "int", min_occurs: 0, max_occurs: 1}], base: "FirstPartyAudienceSegment"}, 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"}, PopulateAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, 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"}, FirstPartyAudienceSegmentRule: {fields: [{name: :inventory_rule, type: "InventoryTargeting", min_occurs: 0, max_occurs: 1}, {name: :custom_criteria_rule, type: "CustomCriteriaSet", min_occurs: 0, max_occurs: 1}]}, QuotaError: {fields: [{name: :reason, type: "QuotaError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RejectAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, 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"}, RuleBasedFirstPartyAudienceSegment: {fields: [{name: :rule, type: "FirstPartyAudienceSegmentRule", min_occurs: 0, max_occurs: 1}], base: "RuleBasedFirstPartyAudienceSegmentSummary"}, RuleBasedFirstPartyAudienceSegmentSummary: {fields: [{name: :page_views, type: "int", min_occurs: 0, max_occurs: 1}, {name: :recency_days, type: "int", min_occurs: 0, max_occurs: 1}, {name: :membership_expiration_days, type: "int", min_occurs: 0, max_occurs: 1}], base: "FirstPartyAudienceSegment"}, AudienceSegmentAction: {fields: [], abstract: true}, AudienceSegment: {fields: [{name: :id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :category_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}, {name: :description, type: "string", min_occurs: 0, max_occurs: 1}, {name: :status, type: "AudienceSegment.Status", min_occurs: 0, max_occurs: 1}, {name: :size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :mobile_web_size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :idfa_size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :ad_id_size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :ppid_size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :data_provider, type: "AudienceSegmentDataProvider", min_occurs: 0, max_occurs: 1}, {name: :type, type: "AudienceSegment.Type", min_occurs: 0, max_occurs: 1}]}, AudienceSegmentError: {fields: [{name: :reason, type: "AudienceSegmentError.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"}, SharedAudienceSegment: {fields: [], base: "AudienceSegment"}, 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"}, 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"]}, AudienceSegmentApprovalStatus: {type: "string", enumerations: ["UNAPPROVED", "APPROVED", "REJECTED", "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"]}, "CustomCriteria.ComparisonOperator": {type: "string", enumerations: ["IS", "IS_NOT"]}, "CustomCriteriaSet.LogicalOperator": {type: "string", enumerations: ["AND", "OR"]}, "CmsMetadataCriteria.ComparisonOperator": {type: "string", enumerations: ["EQUALS", "NOT_EQUALS"]}, "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_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"]}, "AudienceSegmentCriteria.ComparisonOperator": {type: "string", enumerations: ["IS", "IS_NOT"]}, "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", "USER_TEAMS_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"]}, LicenseType: {type: "string", enumerations: ["DIRECT_LICENSE", "GLOBAL_LICENSE", "UNKNOWN"]}, "NotNullError.Reason": {type: "string", enumerations: ["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, "ParseError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "PermissionError.Reason": {type: "string", enumerations: ["PERMISSION_DENIED", "UNKNOWN"]}, "PublisherQueryLanguageContextError.Reason": {type: "string", enumerations: ["UNEXECUTABLE", "UNKNOWN"]}, "PublisherQueryLanguageSyntaxError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "QuotaError.Reason": {type: "string", enumerations: ["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT", "SEGMENT_POPULATION_LIMIT"]}, "RequiredCollectionError.Reason": {type: "string", enumerations: ["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, "RequiredError.Reason": {type: "string", enumerations: ["REQUIRED"]}, "AudienceSegment.Type": {type: "string", enumerations: ["FIRST_PARTY", "SHARED", "THIRD_PARTY", "UNKNOWN"]}, "AudienceSegment.Status": {type: "string", enumerations: ["UNKNOWN", "ACTIVE", "INACTIVE", "UNUSED"]}, "AudienceSegmentError.Reason": {type: "string", enumerations: ["FIRST_PARTY_AUDIENCE_SEGMENT_NOT_SUPPORTED", "ONLY_RULE_BASED_FIRST_PARTY_AUDIENCE_SEGMENTS_CAN_BE_CREATED", "AUDIENCE_SEGMENT_ID_NOT_FOUND", "INVALID_AUDIENCE_SEGMENT_RULE", "AUDIENCE_SEGMENT_RULE_TOO_LONG", "INVALID_AUDIENCE_SEGMENT_NAME", "DUPLICATE_AUDIENCE_SEGMENT_NAME", "INVALID_AUDIENCE_SEGMENT_DESCRIPTION", "INVALID_AUDIENCE_SEGMENT_PAGEVIEWS", "INVALID_AUDIENCE_SEGMENT_RECENCY", "INVALID_AUDIENCE_SEGMENT_MEMBERSHIP_EXPIRATION", "INVALID_AUDIENCE_SEGMENT_CUSTOM_KEY_NAME", "INVALID_AUDIENCE_SEGMENT_CUSTOM_VALUE_NAME", "INVALID_AUDIENCE_SEGMENT_CUSTOM_VALUE_MATCH_TYPE", "INVALID_NESTED_FIRST_PARTY_AUDIENCE_SEGMENT", "SHARED_SELLING_PARTNER_ROOT_CANNOT_BE_INCLUDED", "INVALID_NESTED_THIRD_PARTY_AUDIENCE_SEGMENT", "INACTIVE_NESTED_AUDIENCE_SEGMENT", "AUDIENCE_SEGMENT_GLOBAL_LICENSE_ERROR", "SEGMENT_VIOLATED_POLICY", "UNKNOWN"]}, "ServerError.Reason": {type: "string", enumerations: ["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, "StatementError.Reason": {type: "string", enumerations: ["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, "StringFormatError.Reason": {type: "string", enumerations: ["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, "StringLengthError.Reason": {type: "string", enumerations: ["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}}
15
+ AUDIENCESEGMENTSERVICE_TYPES = {ObjectValue: {fields: [], abstract: true, base: "Value"}, ActivateAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, AdUnitTargeting: {fields: [{name: :ad_unit_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :include_descendants, type: "boolean", min_occurs: 0, max_occurs: 1}]}, 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}]}, ApproveAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, AudienceSegmentDataProvider: {fields: [{name: :name, type: "string", min_occurs: 0, max_occurs: 1}]}, AudienceSegmentPage: {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: "AudienceSegment", min_occurs: 0, max_occurs: :unbounded}]}, AuthenticationError: {fields: [{name: :reason, type: "AuthenticationError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, FirstPartyAudienceSegment: {fields: [], abstract: true, base: "AudienceSegment"}, 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"}, CustomCriteria: {fields: [{name: :key_id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :value_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}, {name: :operator, type: "CustomCriteria.ComparisonOperator", min_occurs: 0, max_occurs: 1}], base: "CustomCriteriaLeaf"}, CustomCriteriaSet: {fields: [{name: :logical_operator, type: "CustomCriteriaSet.LogicalOperator", min_occurs: 0, max_occurs: 1}, {name: :children, type: "CustomCriteriaNode", min_occurs: 0, max_occurs: :unbounded}], base: "CustomCriteriaNode"}, CmsMetadataCriteria: {fields: [{name: :operator, type: "CmsMetadataCriteria.ComparisonOperator", min_occurs: 0, max_occurs: 1}, {name: :cms_metadata_value_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}], base: "CustomCriteriaLeaf"}, CustomTargetingError: {fields: [{name: :reason, type: "CustomTargetingError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CustomCriteriaLeaf: {fields: [], abstract: true, base: "CustomCriteriaNode"}, CustomCriteriaNode: {fields: [], abstract: true}, AudienceSegmentCriteria: {fields: [{name: :operator, type: "AudienceSegmentCriteria.ComparisonOperator", min_occurs: 0, max_occurs: 1}, {name: :audience_segment_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}], base: "CustomCriteriaLeaf"}, 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"}, DeactivateAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, 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"}, ThirdPartyAudienceSegment: {fields: [{name: :approval_status, type: "AudienceSegmentApprovalStatus", min_occurs: 0, max_occurs: 1}, {name: :cost, type: "Money", min_occurs: 0, max_occurs: 1}, {name: :license_type, type: "LicenseType", min_occurs: 0, max_occurs: 1}, {name: :start_date_time, type: "DateTime", min_occurs: 0, max_occurs: 1}, {name: :end_date_time, type: "DateTime", min_occurs: 0, max_occurs: 1}], base: "AudienceSegment"}, 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"}, InventoryTargeting: {fields: [{name: :targeted_ad_units, type: "AdUnitTargeting", min_occurs: 0, max_occurs: :unbounded}, {name: :excluded_ad_units, type: "AdUnitTargeting", min_occurs: 0, max_occurs: :unbounded}, {name: :targeted_placement_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}]}, Money: {fields: [{name: :currency_code, type: "string", min_occurs: 0, max_occurs: 1}, {name: :micro_amount, type: "long", min_occurs: 0, max_occurs: 1}]}, NonRuleBasedFirstPartyAudienceSegment: {fields: [{name: :membership_expiration_days, type: "int", min_occurs: 0, max_occurs: 1}], base: "FirstPartyAudienceSegment"}, 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"}, PopulateAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, 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"}, FirstPartyAudienceSegmentRule: {fields: [{name: :inventory_rule, type: "InventoryTargeting", min_occurs: 0, max_occurs: 1}, {name: :custom_criteria_rule, type: "CustomCriteriaSet", min_occurs: 0, max_occurs: 1}]}, QuotaError: {fields: [{name: :reason, type: "QuotaError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RejectAudienceSegments: {fields: [], base: "AudienceSegmentAction"}, 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"}, RuleBasedFirstPartyAudienceSegment: {fields: [{name: :rule, type: "FirstPartyAudienceSegmentRule", min_occurs: 0, max_occurs: 1}], base: "RuleBasedFirstPartyAudienceSegmentSummary"}, RuleBasedFirstPartyAudienceSegmentSummary: {fields: [{name: :page_views, type: "int", min_occurs: 0, max_occurs: 1}, {name: :recency_days, type: "int", min_occurs: 0, max_occurs: 1}, {name: :membership_expiration_days, type: "int", min_occurs: 0, max_occurs: 1}], base: "FirstPartyAudienceSegment"}, AudienceSegmentAction: {fields: [], abstract: true}, AudienceSegment: {fields: [{name: :id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :category_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}, {name: :description, type: "string", min_occurs: 0, max_occurs: 1}, {name: :status, type: "AudienceSegment.Status", min_occurs: 0, max_occurs: 1}, {name: :size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :mobile_web_size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :idfa_size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :ad_id_size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :ppid_size, type: "long", min_occurs: 0, max_occurs: 1}, {name: :data_provider, type: "AudienceSegmentDataProvider", min_occurs: 0, max_occurs: 1}, {name: :type, type: "AudienceSegment.Type", min_occurs: 0, max_occurs: 1}]}, AudienceSegmentError: {fields: [{name: :reason, type: "AudienceSegmentError.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"}, SharedAudienceSegment: {fields: [], base: "AudienceSegment"}, 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"}, 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"]}, AudienceSegmentApprovalStatus: {type: "string", enumerations: ["UNAPPROVED", "APPROVED", "REJECTED", "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"]}, "CustomCriteria.ComparisonOperator": {type: "string", enumerations: ["IS", "IS_NOT"]}, "CustomCriteriaSet.LogicalOperator": {type: "string", enumerations: ["AND", "OR"]}, "CmsMetadataCriteria.ComparisonOperator": {type: "string", enumerations: ["EQUALS", "NOT_EQUALS"]}, "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_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"]}, "AudienceSegmentCriteria.ComparisonOperator": {type: "string", enumerations: ["IS", "IS_NOT"]}, "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", "USER_TEAMS_LIMIT_REACHED", "ACTIVE_TARGETING_PRESETS_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"]}, LicenseType: {type: "string", enumerations: ["DIRECT_LICENSE", "GLOBAL_LICENSE", "UNKNOWN"]}, "NotNullError.Reason": {type: "string", enumerations: ["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, "ParseError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "PermissionError.Reason": {type: "string", enumerations: ["PERMISSION_DENIED", "UNKNOWN"]}, "PublisherQueryLanguageContextError.Reason": {type: "string", enumerations: ["UNEXECUTABLE", "UNKNOWN"]}, "PublisherQueryLanguageSyntaxError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "QuotaError.Reason": {type: "string", enumerations: ["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT", "SEGMENT_POPULATION_LIMIT"]}, "RequiredCollectionError.Reason": {type: "string", enumerations: ["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, "RequiredError.Reason": {type: "string", enumerations: ["REQUIRED"]}, "AudienceSegment.Type": {type: "string", enumerations: ["FIRST_PARTY", "SHARED", "THIRD_PARTY", "UNKNOWN"]}, "AudienceSegment.Status": {type: "string", enumerations: ["UNKNOWN", "ACTIVE", "INACTIVE", "UNUSED"]}, "AudienceSegmentError.Reason": {type: "string", enumerations: ["FIRST_PARTY_AUDIENCE_SEGMENT_NOT_SUPPORTED", "ONLY_RULE_BASED_FIRST_PARTY_AUDIENCE_SEGMENTS_CAN_BE_CREATED", "AUDIENCE_SEGMENT_ID_NOT_FOUND", "INVALID_AUDIENCE_SEGMENT_RULE", "AUDIENCE_SEGMENT_RULE_TOO_LONG", "INVALID_AUDIENCE_SEGMENT_NAME", "DUPLICATE_AUDIENCE_SEGMENT_NAME", "INVALID_AUDIENCE_SEGMENT_DESCRIPTION", "INVALID_AUDIENCE_SEGMENT_PAGEVIEWS", "INVALID_AUDIENCE_SEGMENT_RECENCY", "INVALID_AUDIENCE_SEGMENT_MEMBERSHIP_EXPIRATION", "INVALID_AUDIENCE_SEGMENT_CUSTOM_KEY_NAME", "INVALID_AUDIENCE_SEGMENT_CUSTOM_VALUE_NAME", "INVALID_AUDIENCE_SEGMENT_CUSTOM_VALUE_MATCH_TYPE", "INVALID_NESTED_FIRST_PARTY_AUDIENCE_SEGMENT", "SHARED_SELLING_PARTNER_ROOT_CANNOT_BE_INCLUDED", "INVALID_NESTED_THIRD_PARTY_AUDIENCE_SEGMENT", "INACTIVE_NESTED_AUDIENCE_SEGMENT", "AUDIENCE_SEGMENT_GLOBAL_LICENSE_ERROR", "SEGMENT_VIOLATED_POLICY", "UNKNOWN"]}, "ServerError.Reason": {type: "string", enumerations: ["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, "StatementError.Reason": {type: "string", enumerations: ["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, "StringFormatError.Reason": {type: "string", enumerations: ["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, "StringLengthError.Reason": {type: "string", enumerations: ["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}}
16
16
  AUDIENCESEGMENTSERVICE_NAMESPACES = []
17
17
 
18
18
  def self.get_method_signature(method_name)
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:16.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:18.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202405/cdn_configuration_service_registry'
11
+ require 'ad_manager_api/v202505/cdn_configuration_service_registry'
12
12
 
13
- module AdManagerApi; module V202405; module CdnConfigurationService
13
+ module AdManagerApi; module V202505; module CdnConfigurationService
14
14
  class CdnConfigurationService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202405'
17
- super(config, endpoint, namespace, :v202405)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202505'
17
+ super(config, endpoint, namespace, :v202505)
18
18
  end
19
19
 
20
20
  def create_cdn_configurations(*args, &block)
@@ -56,7 +56,7 @@ module AdManagerApi; module V202405; module CdnConfigurationService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return AdManagerApi::V202405::CdnConfigurationService
59
+ return AdManagerApi::V202505::CdnConfigurationService
60
60
  end
61
61
  end
62
62
  end; end; end
@@ -5,11 +5,11 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:16.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:18.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202405; module CdnConfigurationService
12
+ module AdManagerApi; module V202505; module CdnConfigurationService
13
13
  class CdnConfigurationServiceRegistry
14
14
  CDNCONFIGURATIONSERVICE_METHODS = {create_cdn_configurations: {input: [{name: :cdn_configurations, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}], output: {name: "create_cdn_configurations_response", fields: [{name: :rval, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}]}}, get_cdn_configurations_by_statement: {input: [{name: :statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "get_cdn_configurations_by_statement_response", fields: [{name: :rval, type: "CdnConfigurationPage", min_occurs: 0, max_occurs: 1}]}}, perform_cdn_configuration_action: {input: [{name: :cdn_configuration_action, type: "CdnConfigurationAction", min_occurs: 0, max_occurs: 1}, {name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "perform_cdn_configuration_action_response", fields: [{name: :rval, type: "UpdateResult", min_occurs: 0, max_occurs: 1}]}}, update_cdn_configurations: {input: [{name: :cdn_configurations, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}], output: {name: "update_cdn_configurations_response", fields: [{name: :rval, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}]}}}
15
15
  CDNCONFIGURATIONSERVICE_TYPES = {ObjectValue: {fields: [], abstract: true, base: "Value"}, ActivateCdnConfigurations: {fields: [], base: "CdnConfigurationAction"}, 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}]}, ArchiveCdnConfigurations: {fields: [], base: "CdnConfigurationAction"}, 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"}, CdnConfigurationAction: {fields: [], abstract: true}, CdnConfiguration: {fields: [{name: :id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :cdn_configuration_type, type: "CdnConfigurationType", min_occurs: 0, max_occurs: 1}, {name: :source_content_configuration, type: "SourceContentConfiguration", min_occurs: 0, max_occurs: 1}, {name: :cdn_configuration_status, type: "CdnConfigurationStatus", min_occurs: 0, max_occurs: 1}]}, CdnConfigurationError: {fields: [{name: :reason, type: "CdnConfigurationError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CdnConfigurationPage: {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: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}]}, CollectionSizeError: {fields: [{name: :reason, type: "CollectionSizeError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CommonError: {fields: [{name: :reason, type: "CommonError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, Date: {fields: [{name: :year, type: "int", min_occurs: 0, max_occurs: 1}, {name: :month, type: "int", min_occurs: 0, max_occurs: 1}, {name: :day, type: "int", min_occurs: 0, max_occurs: 1}]}, DateTime: {fields: [{name: :date, type: "Date", min_occurs: 0, max_occurs: 1}, {name: :hour, type: "int", min_occurs: 0, max_occurs: 1}, {name: :minute, type: "int", min_occurs: 0, max_occurs: 1}, {name: :second, type: "int", min_occurs: 0, max_occurs: 1}, {name: :time_zone_id, type: "string", min_occurs: 0, max_occurs: 1}]}, DateTimeValue: {fields: [{name: :value, type: "DateTime", min_occurs: 0, max_occurs: 1}], base: "Value"}, DateValue: {fields: [{name: :value, type: "Date", min_occurs: 0, max_occurs: 1}], base: "Value"}, 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"}, InvalidUrlError: {fields: [{name: :reason, type: "InvalidUrlError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, MediaLocationSettings: {fields: [{name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :url_prefix, type: "string", min_occurs: 0, max_occurs: 1}, {name: :security_policy, type: "SecurityPolicySettings", min_occurs: 0, max_occurs: 1}]}, 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"}, SecurityPolicySettings: {fields: [{name: :security_policy_type, type: "SecurityPolicyType", min_occurs: 0, max_occurs: 1}, {name: :token_authentication_key, type: "string", min_occurs: 0, max_occurs: 1}, {name: :disable_server_side_url_signing, type: "boolean", min_occurs: 0, max_occurs: 1}, {name: :origin_forwarding_type, type: "OriginForwardingType", min_occurs: 0, max_occurs: 1}, {name: :origin_path_prefix, type: "string", min_occurs: 0, max_occurs: 1}, {name: :media_playlist_origin_forwarding_type, type: "OriginForwardingType", min_occurs: 0, max_occurs: 1}, {name: :media_playlist_origin_path_prefix, type: "string", min_occurs: 0, max_occurs: 1}, {name: :keyset_name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :signed_request_expiration_ttl_seconds, type: "long", min_occurs: 0, max_occurs: 1}]}, ServerError: {fields: [{name: :reason, type: "ServerError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, SetValue: {fields: [{name: :values, type: "Value", min_occurs: 0, max_occurs: :unbounded}], base: "Value"}, SoapRequestHeader: {fields: [{name: :network_code, type: "string", min_occurs: 0, max_occurs: 1}, {name: :application_name, type: "string", min_occurs: 0, max_occurs: 1}]}, SoapResponseHeader: {fields: [{name: :request_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :response_time, type: "long", min_occurs: 0, max_occurs: 1}]}, SourceContentConfiguration: {fields: [{name: :ingest_settings, type: "MediaLocationSettings", min_occurs: 0, max_occurs: 1}, {name: :default_delivery_settings, type: "MediaLocationSettings", 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"}, 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"]}, "CdnConfigurationError.Reason": {type: "string", enumerations: ["URL_SHOULD_NOT_CONTAIN_SCHEME", "INVALID_DELIVERY_LOCATION_NAMES", "CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_CONTENT_SOURCES", "CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_LIVE_STREAMS", "UNSUPPORTED_SECURITY_POLICY_TYPE", "UNKNOWN"]}, CdnConfigurationStatus: {type: "string", enumerations: ["UNKNOWN", "ACTIVE", "ARCHIVED"]}, CdnConfigurationType: {type: "string", enumerations: ["UNKNOWN", "LIVE_STREAM_SOURCE_CONTENT"]}, "CollectionSizeError.Reason": {type: "string", enumerations: ["TOO_LARGE", "UNKNOWN"]}, "CommonError.Reason": {type: "string", enumerations: ["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, "FeatureError.Reason": {type: "string", enumerations: ["MISSING_FEATURE", "UNKNOWN"]}, "InternalApiError.Reason": {type: "string", enumerations: ["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, "InvalidUrlError.Reason": {type: "string", enumerations: ["ILLEGAL_CHARACTERS", "INVALID_FORMAT", "INSECURE_SCHEME", "NO_SCHEME", "UNKNOWN"]}, "NotNullError.Reason": {type: "string", enumerations: ["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, OriginForwardingType: {type: "string", enumerations: ["ORIGIN_PATH", "CONVENTIONAL", "NONE", "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", "SEGMENT_POPULATION_LIMIT"]}, "RequiredCollectionError.Reason": {type: "string", enumerations: ["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, "RequiredError.Reason": {type: "string", enumerations: ["REQUIRED"]}, SecurityPolicyType: {type: "string", enumerations: ["UNKNOWN", "NONE", "AKAMAI", "CLOUD_MEDIA"]}, "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"]}}
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:17.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:19.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202405/cms_metadata_service_registry'
11
+ require 'ad_manager_api/v202505/cms_metadata_service_registry'
12
12
 
13
- module AdManagerApi; module V202405; module CmsMetadataService
13
+ module AdManagerApi; module V202505; module CmsMetadataService
14
14
  class CmsMetadataService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202405'
17
- super(config, endpoint, namespace, :v202405)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202505'
17
+ super(config, endpoint, namespace, :v202505)
18
18
  end
19
19
 
20
20
  def get_cms_metadata_keys_by_statement(*args, &block)
@@ -56,7 +56,7 @@ module AdManagerApi; module V202405; module CmsMetadataService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return AdManagerApi::V202405::CmsMetadataService
59
+ return AdManagerApi::V202505::CmsMetadataService
60
60
  end
61
61
  end
62
62
  end; end; end
@@ -5,11 +5,11 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:17.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:19.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202405; module CmsMetadataService
12
+ module AdManagerApi; module V202505; module CmsMetadataService
13
13
  class CmsMetadataServiceRegistry
14
14
  CMSMETADATASERVICE_METHODS = {get_cms_metadata_keys_by_statement: {input: [{name: :statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "get_cms_metadata_keys_by_statement_response", fields: [{name: :rval, type: "CmsMetadataKeyPage", min_occurs: 0, max_occurs: 1}]}}, get_cms_metadata_values_by_statement: {input: [{name: :statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "get_cms_metadata_values_by_statement_response", fields: [{name: :rval, type: "CmsMetadataValuePage", min_occurs: 0, max_occurs: 1}]}}, perform_cms_metadata_key_action: {input: [{name: :key_action, type: "CmsMetadataKeyAction", min_occurs: 0, max_occurs: 1}, {name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "perform_cms_metadata_key_action_response", fields: [{name: :rval, type: "UpdateResult", min_occurs: 0, max_occurs: 1}]}}, perform_cms_metadata_value_action: {input: [{name: :value_action, type: "CmsMetadataValueAction", min_occurs: 0, max_occurs: 1}, {name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "perform_cms_metadata_value_action_response", fields: [{name: :rval, type: "UpdateResult", min_occurs: 0, max_occurs: 1}]}}}
15
15
  CMSMETADATASERVICE_TYPES = {ObjectValue: {fields: [], abstract: true, base: "Value"}, ActivateCmsMetadataKeys: {fields: [], base: "CmsMetadataKeyAction"}, ActivateCmsMetadataValues: {fields: [], base: "CmsMetadataValueAction"}, 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"}, CmsMetadataKeyAction: {fields: [], abstract: true}, CmsMetadataKey: {fields: [{name: :id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :status, type: "CmsMetadataKeyStatus", min_occurs: 0, max_occurs: 1}]}, CmsMetadataKeyPage: {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: "CmsMetadataKey", min_occurs: 0, max_occurs: :unbounded}]}, CmsMetadataValueAction: {fields: [], abstract: true}, CmsMetadataValue: {fields: [{name: :cms_metadata_value_id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :value_name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :key, type: "CmsMetadataKey", min_occurs: 0, max_occurs: 1}, {name: :status, type: "CmsMetadataValueStatus", min_occurs: 0, max_occurs: 1}]}, CmsMetadataValuePage: {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: "CmsMetadataValue", min_occurs: 0, max_occurs: :unbounded}]}, CollectionSizeError: {fields: [{name: :reason, type: "CollectionSizeError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CommonError: {fields: [{name: :reason, type: "CommonError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, Date: {fields: [{name: :year, type: "int", min_occurs: 0, max_occurs: 1}, {name: :month, type: "int", min_occurs: 0, max_occurs: 1}, {name: :day, type: "int", min_occurs: 0, max_occurs: 1}]}, DateTime: {fields: [{name: :date, type: "Date", min_occurs: 0, max_occurs: 1}, {name: :hour, type: "int", min_occurs: 0, max_occurs: 1}, {name: :minute, type: "int", min_occurs: 0, max_occurs: 1}, {name: :second, type: "int", min_occurs: 0, max_occurs: 1}, {name: :time_zone_id, type: "string", min_occurs: 0, max_occurs: 1}]}, DateTimeValue: {fields: [{name: :value, type: "DateTime", min_occurs: 0, max_occurs: 1}], base: "Value"}, DateValue: {fields: [{name: :value, type: "Date", min_occurs: 0, max_occurs: 1}], base: "Value"}, DeactivateCmsMetadataKeys: {fields: [], base: "CmsMetadataKeyAction"}, DeactivateCmsMetadataValues: {fields: [], base: "CmsMetadataValueAction"}, 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"}, MetadataMergeSpecError: {fields: [{name: :reason, type: "MetadataMergeSpecError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, NotNullError: {fields: [{name: :reason, type: "NotNullError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, NumberValue: {fields: [{name: :value, type: "string", min_occurs: 0, max_occurs: 1}], base: "Value"}, ParseError: {fields: [{name: :reason, type: "ParseError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PermissionError: {fields: [{name: :reason, type: "PermissionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PublisherQueryLanguageContextError: {fields: [{name: :reason, type: "PublisherQueryLanguageContextError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PublisherQueryLanguageSyntaxError: {fields: [{name: :reason, type: "PublisherQueryLanguageSyntaxError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, QuotaError: {fields: [{name: :reason, type: "QuotaError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RangeError: {fields: [{name: :reason, type: "RangeError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RequiredCollectionError: {fields: [{name: :reason, type: "RequiredCollectionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RequiredError: {fields: [{name: :reason, type: "RequiredError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, ServerError: {fields: [{name: :reason, type: "ServerError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, SetValue: {fields: [{name: :values, type: "Value", min_occurs: 0, max_occurs: :unbounded}], base: "Value"}, SoapRequestHeader: {fields: [{name: :network_code, type: "string", min_occurs: 0, max_occurs: 1}, {name: :application_name, type: "string", min_occurs: 0, max_occurs: 1}]}, SoapResponseHeader: {fields: [{name: :request_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :response_time, type: "long", min_occurs: 0, max_occurs: 1}]}, Statement: {fields: [{name: :query, type: "string", min_occurs: 0, max_occurs: 1}, {name: :values, type: "String_ValueMapEntry", min_occurs: 0, max_occurs: :unbounded}]}, StatementError: {fields: [{name: :reason, type: "StatementError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, 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"]}, CmsMetadataKeyStatus: {type: "string", enumerations: ["ACTIVE", "INACTIVE", "UNKNOWN"]}, CmsMetadataValueStatus: {type: "string", enumerations: ["ACTIVE", "INACTIVE", "ARCHIVED", "UNKNOWN"]}, "CollectionSizeError.Reason": {type: "string", enumerations: ["TOO_LARGE", "UNKNOWN"]}, "CommonError.Reason": {type: "string", enumerations: ["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, "FeatureError.Reason": {type: "string", enumerations: ["MISSING_FEATURE", "UNKNOWN"]}, "InternalApiError.Reason": {type: "string", enumerations: ["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, "MetadataMergeSpecError.Reason": {type: "string", enumerations: ["INPUT_ID_ALREADY_USED", "BOUND_SPECIFIED_WITHOUT_VALUE", "VALUE_SPECIFIED_WITHOUT_BOUND", "MIN_EXCEEDS_MAX", "MORE_THAN_ONE_INPUT_KEY_HAS_VALUE_RULES", "VALUE_SPECIFIED_DOES_NOT_MATCH_OUTPUT_KEY", "CANNOT_MERGE_VALUES_WHERE_VALUE_BUCKET_EXISTS", "CANNOT_MODIFY_RESERVED_KEY", "UNKNOWN"]}, "NotNullError.Reason": {type: "string", enumerations: ["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, "ParseError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "PermissionError.Reason": {type: "string", enumerations: ["PERMISSION_DENIED", "UNKNOWN"]}, "PublisherQueryLanguageContextError.Reason": {type: "string", enumerations: ["UNEXECUTABLE", "UNKNOWN"]}, "PublisherQueryLanguageSyntaxError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "QuotaError.Reason": {type: "string", enumerations: ["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT", "SEGMENT_POPULATION_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"]}}
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:16.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:17.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202405/company_service_registry'
11
+ require 'ad_manager_api/v202505/company_service_registry'
12
12
 
13
- module AdManagerApi; module V202405; module CompanyService
13
+ module AdManagerApi; module V202505; module CompanyService
14
14
  class CompanyService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202405'
17
- super(config, endpoint, namespace, :v202405)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202505'
17
+ super(config, endpoint, namespace, :v202505)
18
18
  end
19
19
 
20
20
  def create_companies(*args, &block)
@@ -56,7 +56,7 @@ module AdManagerApi; module V202405; module CompanyService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return AdManagerApi::V202405::CompanyService
59
+ return AdManagerApi::V202505::CompanyService
60
60
  end
61
61
  end
62
62
  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 2025, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:17.
9
+
10
+ require 'ad_manager_api/errors'
11
+
12
+ module AdManagerApi; module V202505; module CompanyService
13
+ class CompanyServiceRegistry
14
+ COMPANYSERVICE_METHODS = {create_companies: {input: [{name: :companies, type: "Company", min_occurs: 0, max_occurs: :unbounded}], output: {name: "create_companies_response", fields: [{name: :rval, type: "Company", min_occurs: 0, max_occurs: :unbounded}]}}, get_companies_by_statement: {input: [{name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "get_companies_by_statement_response", fields: [{name: :rval, type: "CompanyPage", min_occurs: 0, max_occurs: 1}]}}, perform_company_action: {input: [{name: :company_action, type: "CompanyAction", min_occurs: 0, max_occurs: 1}, {name: :statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "perform_company_action_response", fields: [{name: :rval, type: "UpdateResult", min_occurs: 0, max_occurs: 1}]}}, update_companies: {input: [{name: :companies, type: "Company", min_occurs: 0, max_occurs: :unbounded}], output: {name: "update_companies_response", fields: [{name: :rval, type: "Company", min_occurs: 0, max_occurs: :unbounded}]}}}
15
+ COMPANYSERVICE_TYPES = {ObjectValue: {fields: [], abstract: true, base: "Value"}, ChildPublisher: {fields: [{name: :approved_delegation_type, type: "DelegationType", min_occurs: 0, max_occurs: 1}, {name: :proposed_delegation_type, type: "DelegationType", min_occurs: 0, max_occurs: 1}, {name: :invitation_status, type: "InvitationStatus", min_occurs: 0, max_occurs: 1}, {name: :account_status, type: "AccountStatus", min_occurs: 0, max_occurs: 1}, {name: :child_network_code, type: "string", min_occurs: 0, max_occurs: 1}, {name: :seller_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :proposed_revenue_share_millipercent, type: "long", min_occurs: 0, max_occurs: 1}, {name: :onboarding_tasks, type: "OnboardingTask", min_occurs: 0, max_occurs: :unbounded}]}, ApiError: {fields: [{name: :field_path, type: "string", min_occurs: 0, max_occurs: 1}, {name: :field_path_elements, type: "FieldPathElement", min_occurs: 0, max_occurs: :unbounded}, {name: :trigger, type: "string", min_occurs: 0, max_occurs: 1}, {name: :error_string, type: "string", min_occurs: 0, max_occurs: 1}], abstract: true}, ApiException: {fields: [{name: :errors, type: "ApiError", min_occurs: 0, max_occurs: :unbounded}], base: "ApplicationException"}, ApiVersionError: {fields: [{name: :reason, type: "ApiVersionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, ApplicationException: {fields: [{name: :message, type: "string", min_occurs: 0, max_occurs: 1}]}, AppliedLabel: {fields: [{name: :label_id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :is_negated, type: "boolean", 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"}, CompanyAction: {fields: [], abstract: true}, CompanyCreditStatusError: {fields: [{name: :reason, type: "CompanyCreditStatusError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, Company: {fields: [{name: :id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :type, type: "Company.Type", min_occurs: 0, max_occurs: 1}, {name: :address, type: "string", min_occurs: 0, max_occurs: 1}, {name: :email, type: "string", min_occurs: 0, max_occurs: 1}, {name: :fax_phone, type: "string", min_occurs: 0, max_occurs: 1}, {name: :primary_phone, type: "string", min_occurs: 0, max_occurs: 1}, {name: :external_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :comment, type: "string", min_occurs: 0, max_occurs: 1}, {name: :credit_status, type: "Company.CreditStatus", min_occurs: 0, max_occurs: 1}, {name: :applied_labels, type: "AppliedLabel", min_occurs: 0, max_occurs: :unbounded}, {name: :primary_contact_id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :applied_team_ids, type: "long", min_occurs: 0, max_occurs: :unbounded}, {name: :third_party_company_id, type: "int", min_occurs: 0, max_occurs: 1}, {name: :last_modified_date_time, type: "DateTime", min_occurs: 0, max_occurs: 1}, {name: :child_publisher, type: "ChildPublisher", min_occurs: 0, max_occurs: 1}, {name: :viewability_provider, type: "ViewabilityProvider", min_occurs: 0, max_occurs: 1}]}, CompanyError: {fields: [{name: :reason, type: "CompanyError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CompanyPage: {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: "Company", min_occurs: 0, max_occurs: :unbounded}]}, CrossSellError: {fields: [{name: :reason, type: "CrossSellError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CustomFieldValueError: {fields: [{name: :reason, type: "CustomFieldValueError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, Date: {fields: [{name: :year, type: "int", min_occurs: 0, max_occurs: 1}, {name: :month, type: "int", min_occurs: 0, max_occurs: 1}, {name: :day, type: "int", min_occurs: 0, max_occurs: 1}]}, DateTime: {fields: [{name: :date, type: "Date", min_occurs: 0, max_occurs: 1}, {name: :hour, type: "int", min_occurs: 0, max_occurs: 1}, {name: :minute, type: "int", min_occurs: 0, max_occurs: 1}, {name: :second, type: "int", min_occurs: 0, max_occurs: 1}, {name: :time_zone_id, type: "string", min_occurs: 0, max_occurs: 1}]}, DateTimeValue: {fields: [{name: :value, type: "DateTime", min_occurs: 0, max_occurs: 1}], base: "Value"}, DateValue: {fields: [{name: :value, type: "Date", min_occurs: 0, max_occurs: 1}], base: "Value"}, ReInviteAction: {fields: [{name: :proposed_delegation_type, type: "DelegationType", min_occurs: 0, max_occurs: 1}, {name: :proposed_revenue_share_millipercent, type: "long", min_occurs: 0, max_occurs: 1}, {name: :proposed_email, type: "string", min_occurs: 0, max_occurs: 1}], base: "CompanyAction"}, EndAgreementAction: {fields: [], base: "CompanyAction"}, ExchangeSignupApiError: {fields: [{name: :reason, type: "ExchangeSignupApiError.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"}, InvalidEmailError: {fields: [{name: :reason, type: "InvalidEmailError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, InvalidUrlError: {fields: [{name: :reason, type: "InvalidUrlError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, InventoryClientApiError: {fields: [{name: :reason, type: "InventoryClientApiError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, LabelEntityAssociationError: {fields: [{name: :reason, type: "LabelEntityAssociationError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, McmError: {fields: [{name: :reason, type: "McmError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, NetworkError: {fields: [{name: :reason, type: "NetworkError.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"}, RegExError: {fields: [{name: :reason, type: "RegExError.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"}, RequiredNumberError: {fields: [{name: :reason, type: "RequiredNumberError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, ResendInvitationAction: {fields: [], base: "CompanyAction"}, 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"}, SiteError: {fields: [{name: :reason, type: "SiteError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, SoapRequestHeader: {fields: [{name: :network_code, type: "string", min_occurs: 0, max_occurs: 1}, {name: :application_name, type: "string", min_occurs: 0, max_occurs: 1}]}, SoapResponseHeader: {fields: [{name: :request_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :response_time, type: "long", min_occurs: 0, max_occurs: 1}]}, Statement: {fields: [{name: :query, type: "string", min_occurs: 0, max_occurs: 1}, {name: :values, type: "String_ValueMapEntry", min_occurs: 0, max_occurs: :unbounded}]}, StatementError: {fields: [{name: :reason, type: "StatementError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, StringFormatError: {fields: [{name: :reason, type: "StringFormatError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, StringLengthError: {fields: [{name: :reason, type: "StringLengthError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, String_ValueMapEntry: {fields: [{name: :key, type: "string", min_occurs: 0, max_occurs: 1}, {name: :value, type: "Value", min_occurs: 0, max_occurs: 1}]}, TeamError: {fields: [{name: :reason, type: "TeamError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, TextValue: {fields: [{name: :value, type: "string", min_occurs: 0, max_occurs: 1}], base: "Value"}, 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}, ViewabilityProvider: {fields: [{name: :vendor_key, type: "string", min_occurs: 0, max_occurs: 1}, {name: :verification_script_url, type: "string", min_occurs: 0, max_occurs: 1}, {name: :verification_parameters, type: "string", min_occurs: 0, max_occurs: 1}, {name: :verification_rejection_tracker_url, type: "string", min_occurs: 0, max_occurs: 1}]}, DelegationType: {type: "string", enumerations: ["UNKNOWN", "MANAGE_ACCOUNT", "MANAGE_INVENTORY"]}, AccountStatus: {type: "string", enumerations: ["UNKNOWN", "INVITED", "DECLINED", "PENDING_GOOGLE_APPROVAL", "APPROVED", "CLOSED_POLICY_VIOLATION", "CLOSED_INVALID_ACTIVITY", "CLOSED_BY_PUBLISHER", "DISAPPROVED_INELIGIBLE", "DISAPPROVED_DUPLICATE_ACCOUNT", "EXPIRED", "INACTIVE", "DEACTIVATED_BY_AD_MANAGER"]}, "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"]}, "CompanyCreditStatusError.Reason": {type: "string", enumerations: ["COMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED", "CANNOT_USE_CREDIT_STATUS_SETTING", "CANNOT_USE_ADVANCED_CREDIT_STATUS_SETTING", "UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER", "UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_LINE_ITEM", "CANNOT_BLOCK_COMPANY_TOO_MANY_APPROVED_ORDERS", "UNKNOWN"]}, "Company.CreditStatus": {type: "string", enumerations: ["ACTIVE", "ON_HOLD", "CREDIT_STOP", "INACTIVE", "BLOCKED"]}, "Company.Type": {type: "string", enumerations: ["HOUSE_ADVERTISER", "HOUSE_AGENCY", "ADVERTISER", "AGENCY", "AD_NETWORK", "PARTNER", "CHILD_PUBLISHER", "VIEWABILITY_PROVIDER", "UNKNOWN"]}, "CompanyError.Reason": {type: "string", enumerations: ["CANNOT_SET_THIRD_PARTY_COMPANY_DUE_TO_TYPE", "CANNOT_UPDATE_COMPANY_TYPE", "INVALID_COMPANY_TYPE", "PRIMARY_CONTACT_DOES_NOT_BELONG_TO_THIS_COMPANY", "THIRD_PARTY_STATS_PROVIDER_IS_WRONG_ROLE_TYPE", "INVALID_LABEL_ASSOCIATION", "INVALID_COMPANY_TYPE_FOR_DEFAULT_BILLING_SETTING", "INVALID_DEFAULT_BILLING_SETTING", "COMPANY_HAS_ACTIVE_SHARE_ASSIGNMENTS", "UNKNOWN"]}, "CrossSellError.Reason": {type: "string", enumerations: ["COMPANY_IS_NOT_DISTRIBUTION_PARTNER", "CHANGING_PARTNER_NETWORK_IS_NOT_SUPPORTED", "MISSING_DISTRIBUTOR_PARTNER_NAME", "DISTRIBUTOR_NETWORK_MISSING_PUBLISHER_FEATURE", "CONTENT_PROVIDER_NETWORK_MISSING_PUBLISHER_FEATURE", "INVALID_DISTRIBUTOR_PARTNER_NAME", "INVALID_CONTENT_PROVIDER_NETWORK", "CONTENT_PROVIDER_NETWORK_CANNOT_BE_ACTIVE_NETWORK", "CONTENT_PROVIDER_NETWORK_ALREADY_ENABLED_FOR_CROSS_SELLING", "DISTRIBUTOR_RULE_VIOLATION_ERROR", "DISTRIBUTOR_RULE_VIOLATION_WARNING", "UNKNOWN"]}, "CustomFieldValueError.Reason": {type: "string", enumerations: ["CUSTOM_FIELD_NOT_FOUND", "CUSTOM_FIELD_INACTIVE", "CUSTOM_FIELD_OPTION_NOT_FOUND", "INVALID_ENTITY_TYPE", "UNKNOWN"]}, "ExchangeSignupApiError.Reason": {type: "string", enumerations: ["ADSENSE_ACCOUNT_CREATION_ERROR", "ADSENSE_ACCOUNT_ALREADY_HAS_EXCHANGE", "FAILED_TO_ADD_WEBSITE_TO_PROPERTY", "FAILED_TO_CREATE_LINK_FOR_NEW_ACCOUNT", "CANNOT_CREATE_NEW_ACCOUNT_FOR_MAPPED_CUSTOMER", "FAILED_TO_CREATE_EXCHANGE_SETTINGS", "DUPLICATE_PRODUCT_TYPE", "INVALID_SIGNUP_PRODUCT", "UNKNOWN_PRODUCT", "BAD_SITE_VERIFICATION_UPDATE_REQUEST", "NO_EXCHANGE_ACCOUNT", "SINGLE_SYNDICATION_PRODUCT", "ACCOUNT_NOT_YET_READY", "MULTIPLE_ADSENSE_ACCOUNTS_NOT_ALLOWED", "MISSING_LEGAL_ENTITY_NAME", "MISSING_ACTIVE_BILLING_PROFILE", "UNKNOWN"]}, "FeatureError.Reason": {type: "string", enumerations: ["MISSING_FEATURE", "UNKNOWN"]}, "InternalApiError.Reason": {type: "string", enumerations: ["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, "InvalidEmailError.Reason": {type: "string", enumerations: ["INVALID_FORMAT", "UNKNOWN"]}, "InvalidUrlError.Reason": {type: "string", enumerations: ["ILLEGAL_CHARACTERS", "INVALID_FORMAT", "INSECURE_SCHEME", "NO_SCHEME", "UNKNOWN"]}, "InventoryClientApiError.Reason": {type: "string", enumerations: ["ACCESS_DENIED", "ADSENSE_AUTH_ERROR", "ADSENSE_RPC_ERROR", "DOMAIN_NO_SCHEME", "DOMAIN_INVALID_HOST", "DOMAIN_INVALID_TLD", "DOMAIN_ONE_STRING_AND_PUBLIC_SUFFIX", "DOMAIN_INVALID_INPUT", "DOMAIN_NO_PUBLIC_SUFFIX", "UNKNOWN_ERROR"]}, InvitationStatus: {type: "string", enumerations: ["UNKNOWN", "ACCEPTED", "EXPIRED", "PENDING", "REJECTED", "WITHDRAWN", "DEACTIVATED_BY_AD_MANAGER"]}, "LabelEntityAssociationError.Reason": {type: "string", enumerations: ["DUPLICATE_ASSOCIATION", "INVALID_ASSOCIATION", "NEGATION_NOT_ALLOWED", "DUPLICATE_ASSOCIATION_WITH_NEGATION", "UNKNOWN"]}, "McmError.Reason": {type: "string", enumerations: ["UNKNOWN", "REVENUE_SHARE_PERCENT_OUTSIDE_RANGE", "RESELLER_PARENT_REVENUE_SHARE_IS_NOT_100_PERCENT", "MI_PARENT_REVENUE_SHARE_IS_NOT_100_PERCENT", "DUPLICATE_CHILD_PUBLISHER_NETWORK_CODE", "DUPLICATE_CHILD_PUBLISHER_ACTIVE_EMAIL", "CHILD_NETWORK_DISAPPROVED", "MANAGE_INVENTORY_UNSUPPORTED_IN_RESELLER_NETWORK", "CANNOT_SEND_INVITATION_TO_MCM_PARENT", "CANNOT_SEND_INVITATION_TO_NETWORK_WITH_RESELLER_PARENT", "CANNOT_SEND_INVITATION_TO_SELF", "CANNOT_CLOSE_MCM_WITH_ACTIVE_CHILDREN", "CANNOT_TURN_CHILD_INTO_PARENT_WITH_ACTIVE_INVITATION", "MISSING_NETWORK_EXCHANGE_ACCOUNT", "OPERATION_UNSUPPORTED_INITIAL_STATUS"]}, "NetworkError.Reason": {type: "string", enumerations: ["UNKNOWN", "MULTI_CURRENCY_NOT_SUPPORTED", "UNSUPPORTED_CURRENCY", "NETWORK_CURRENCY_CANNOT_BE_SAME_AS_SECONDARY", "DEPRECATED_DATA_TRANSFER_CONFIG_EVENT_TYPE", "DELEGATION_CHILD_NETWORK_CANNOT_BECOME_A_PARENT", "DELEGATION_PARENT_NETWORK_CANNOT_BECOME_A_CHILD", "CANNOT_ADD_SAME_NETWORK_AS_DELEGATION_CHILD", "MAX_APPROVED_DELEGATION_CHILD_NETWORKS_EXCEEDED", "MAX_PENDING_DELEGATION_CHILD_NETWORKS_EXCEEDED", "CHILD_NETWORK_ALREADY_EXISTS", "CHILD_NETWORK_CANNOT_BE_DISAPPROVED", "IN_PARENT_DELEGATION_UNSUPPORTED_FOR_NETWORK", "ERROR_REENABLING_AD_EXCHANGE_ON_MCM_CHILD", "ERROR_SETTING_SITE_SERVING_MODE_ON_MCM_CHILD"]}, "NotNullError.Reason": {type: "string", enumerations: ["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, "NullError.Reason": {type: "string", enumerations: ["NOT_NULL", "UNKNOWN"]}, OnboardingTask: {type: "string", enumerations: ["UNKNOWN", "BILLING_PROFILE_CREATION", "PHONE_PIN_VERIFICATION", "AD_MANAGER_ACCOUNT_SETUP"]}, "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", "SEGMENT_POPULATION_LIMIT"]}, "RegExError.Reason": {type: "string", enumerations: ["INVALID", "NULL", "UNKNOWN"]}, "RequiredCollectionError.Reason": {type: "string", enumerations: ["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, "RequiredError.Reason": {type: "string", enumerations: ["REQUIRED"]}, "RequiredNumberError.Reason": {type: "string", enumerations: ["REQUIRED", "TOO_LARGE", "TOO_SMALL", "TOO_LARGE_WITH_DETAILS", "TOO_SMALL_WITH_DETAILS", "UNKNOWN"]}, "ServerError.Reason": {type: "string", enumerations: ["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, "SiteError.Reason": {type: "string", enumerations: ["INVALID_CHILD_NETWORK_CODE", "CANNOT_ARCHIVE_SITE_WITH_SUBSITES", "INVALID_URL_FOR_SITE", "MULTIPLE_UPDATES_FOR_SAME_SITE", "TOO_MANY_SITES_PER_REVIEW_REQUEST", "TOO_MANY_REVIEW_REQUESTS_FOR_SITE", "INVALID_APPROVAL_STATUS_FOR_REVIEW", "UNKNOWN"]}, "StatementError.Reason": {type: "string", enumerations: ["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, "StringFormatError.Reason": {type: "string", enumerations: ["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, "StringLengthError.Reason": {type: "string", enumerations: ["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}, "TeamError.Reason": {type: "string", enumerations: ["ENTITY_NOT_ON_USERS_TEAMS", "AD_UNITS_NOT_ON_ORDER_TEAMS", "PLACEMENTS_NOT_ON_ORDER_TEAMS", "MISSING_USERS_TEAM", "ALL_TEAM_ASSOCIATION_NOT_ALLOWED", "INVALID_TEAM_ASSIGNMENT", "CANNOT_UPDATE_INACTIVE_TEAM", "UNKNOWN"]}}
16
+ COMPANYSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return COMPANYSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return COMPANYSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return COMPANYSERVICE_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, CompanyServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:17.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:20.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202405/contact_service_registry'
11
+ require 'ad_manager_api/v202505/contact_service_registry'
12
12
 
13
- module AdManagerApi; module V202405; module ContactService
13
+ module AdManagerApi; module V202505; module ContactService
14
14
  class ContactService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202405'
17
- super(config, endpoint, namespace, :v202405)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202505'
17
+ super(config, endpoint, namespace, :v202505)
18
18
  end
19
19
 
20
20
  def create_contacts(*args, &block)
@@ -48,7 +48,7 @@ module AdManagerApi; module V202405; module ContactService
48
48
  end
49
49
 
50
50
  def get_module()
51
- return AdManagerApi::V202405::ContactService
51
+ return AdManagerApi::V202505::ContactService
52
52
  end
53
53
  end
54
54
  end; end; end
@@ -5,11 +5,11 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:17.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:20.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202405; module ContactService
12
+ module AdManagerApi; module V202505; module ContactService
13
13
  class ContactServiceRegistry
14
14
  CONTACTSERVICE_METHODS = {create_contacts: {input: [{name: :contacts, type: "Contact", min_occurs: 0, max_occurs: :unbounded}], output: {name: "create_contacts_response", fields: [{name: :rval, type: "Contact", min_occurs: 0, max_occurs: :unbounded}]}}, get_contacts_by_statement: {input: [{name: :statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "get_contacts_by_statement_response", fields: [{name: :rval, type: "ContactPage", min_occurs: 0, max_occurs: 1}]}}, update_contacts: {input: [{name: :contacts, type: "Contact", min_occurs: 0, max_occurs: :unbounded}], output: {name: "update_contacts_response", fields: [{name: :rval, type: "Contact", min_occurs: 0, max_occurs: :unbounded}]}}}
15
15
  CONTACTSERVICE_TYPES = {ObjectValue: {fields: [], abstract: true, base: "Value"}, ApiError: {fields: [{name: :field_path, type: "string", min_occurs: 0, max_occurs: 1}, {name: :field_path_elements, type: "FieldPathElement", min_occurs: 0, max_occurs: :unbounded}, {name: :trigger, type: "string", min_occurs: 0, max_occurs: 1}, {name: :error_string, type: "string", min_occurs: 0, max_occurs: 1}], abstract: true}, ApiException: {fields: [{name: :errors, type: "ApiError", min_occurs: 0, max_occurs: :unbounded}], base: "ApplicationException"}, ApiVersionError: {fields: [{name: :reason, type: "ApiVersionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, ApplicationException: {fields: [{name: :message, type: "string", min_occurs: 0, max_occurs: 1}]}, AuthenticationError: {fields: [{name: :reason, type: "AuthenticationError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, BooleanValue: {fields: [{name: :value, type: "boolean", min_occurs: 0, max_occurs: 1}], base: "Value"}, CollectionSizeError: {fields: [{name: :reason, type: "CollectionSizeError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CommonError: {fields: [{name: :reason, type: "CommonError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, Contact: {fields: [{name: :id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :company_id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :status, type: "Contact.Status", min_occurs: 0, max_occurs: 1}, {name: :address, type: "string", min_occurs: 0, max_occurs: 1}, {name: :cell_phone, type: "string", min_occurs: 0, max_occurs: 1}, {name: :comment, type: "string", min_occurs: 0, max_occurs: 1}, {name: :email, type: "string", min_occurs: 0, max_occurs: 1}, {name: :fax_phone, type: "string", min_occurs: 0, max_occurs: 1}, {name: :title, type: "string", min_occurs: 0, max_occurs: 1}, {name: :work_phone, type: "string", min_occurs: 0, max_occurs: 1}], base: "BaseContact"}, ContactError: {fields: [{name: :reason, type: "ContactError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, ContactPage: {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: "Contact", min_occurs: 0, max_occurs: :unbounded}]}, BaseContact: {fields: []}, Date: {fields: [{name: :year, type: "int", min_occurs: 0, max_occurs: 1}, {name: :month, type: "int", min_occurs: 0, max_occurs: 1}, {name: :day, type: "int", min_occurs: 0, max_occurs: 1}]}, DateTime: {fields: [{name: :date, type: "Date", min_occurs: 0, max_occurs: 1}, {name: :hour, type: "int", min_occurs: 0, max_occurs: 1}, {name: :minute, type: "int", min_occurs: 0, max_occurs: 1}, {name: :second, type: "int", min_occurs: 0, max_occurs: 1}, {name: :time_zone_id, type: "string", min_occurs: 0, max_occurs: 1}]}, DateTimeValue: {fields: [{name: :value, type: "DateTime", min_occurs: 0, max_occurs: 1}], base: "Value"}, DateValue: {fields: [{name: :value, type: "Date", min_occurs: 0, max_occurs: 1}], base: "Value"}, FeatureError: {fields: [{name: :reason, type: "FeatureError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, FieldPathElement: {fields: [{name: :field, type: "string", min_occurs: 0, max_occurs: 1}, {name: :index, type: "int", min_occurs: 0, max_occurs: 1}]}, InternalApiError: {fields: [{name: :reason, type: "InternalApiError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, InvalidEmailError: {fields: [{name: :reason, type: "InvalidEmailError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, NotNullError: {fields: [{name: :reason, type: "NotNullError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, NumberValue: {fields: [{name: :value, type: "string", min_occurs: 0, max_occurs: 1}], base: "Value"}, ParseError: {fields: [{name: :reason, type: "ParseError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PermissionError: {fields: [{name: :reason, type: "PermissionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PublisherQueryLanguageContextError: {fields: [{name: :reason, type: "PublisherQueryLanguageContextError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PublisherQueryLanguageSyntaxError: {fields: [{name: :reason, type: "PublisherQueryLanguageSyntaxError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, QuotaError: {fields: [{name: :reason, type: "QuotaError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RequiredCollectionError: {fields: [{name: :reason, type: "RequiredCollectionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RequiredError: {fields: [{name: :reason, type: "RequiredError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, ServerError: {fields: [{name: :reason, type: "ServerError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, SetValue: {fields: [{name: :values, type: "Value", min_occurs: 0, max_occurs: :unbounded}], base: "Value"}, SoapRequestHeader: {fields: [{name: :network_code, type: "string", min_occurs: 0, max_occurs: 1}, {name: :application_name, type: "string", min_occurs: 0, max_occurs: 1}]}, SoapResponseHeader: {fields: [{name: :request_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :response_time, type: "long", min_occurs: 0, max_occurs: 1}]}, Statement: {fields: [{name: :query, type: "string", min_occurs: 0, max_occurs: 1}, {name: :values, type: "String_ValueMapEntry", min_occurs: 0, max_occurs: :unbounded}]}, StatementError: {fields: [{name: :reason, type: "StatementError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, StringFormatError: {fields: [{name: :reason, type: "StringFormatError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, StringLengthError: {fields: [{name: :reason, type: "StringLengthError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, String_ValueMapEntry: {fields: [{name: :key, type: "string", min_occurs: 0, max_occurs: 1}, {name: :value, type: "Value", min_occurs: 0, max_occurs: 1}]}, TeamError: {fields: [{name: :reason, type: "TeamError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, TextValue: {fields: [{name: :value, type: "string", min_occurs: 0, max_occurs: 1}], base: "Value"}, UniqueError: {fields: [], base: "ApiError"}, 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"]}, "Contact.Status": {type: "string", enumerations: ["UNINVITED", "INVITE_PENDNG", "INVITE_EXPIRED", "INVITE_CANCELED", "USER_ACTIVE", "USER_DISABLED", "UNKNOWN"]}, "ContactError.Reason": {type: "string", enumerations: ["UNKNOWN"]}, "FeatureError.Reason": {type: "string", enumerations: ["MISSING_FEATURE", "UNKNOWN"]}, "InternalApiError.Reason": {type: "string", enumerations: ["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, "InvalidEmailError.Reason": {type: "string", enumerations: ["INVALID_FORMAT", "UNKNOWN"]}, "NotNullError.Reason": {type: "string", enumerations: ["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, "ParseError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "PermissionError.Reason": {type: "string", enumerations: ["PERMISSION_DENIED", "UNKNOWN"]}, "PublisherQueryLanguageContextError.Reason": {type: "string", enumerations: ["UNEXECUTABLE", "UNKNOWN"]}, "PublisherQueryLanguageSyntaxError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "QuotaError.Reason": {type: "string", enumerations: ["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT", "SEGMENT_POPULATION_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"]}, "TeamError.Reason": {type: "string", enumerations: ["ENTITY_NOT_ON_USERS_TEAMS", "AD_UNITS_NOT_ON_ORDER_TEAMS", "PLACEMENTS_NOT_ON_ORDER_TEAMS", "MISSING_USERS_TEAM", "ALL_TEAM_ASSOCIATION_NOT_ALLOWED", "INVALID_TEAM_ASSIGNMENT", "CANNOT_UPDATE_INACTIVE_TEAM", "UNKNOWN"]}}
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:18.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:20.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202405/content_bundle_service_registry'
11
+ require 'ad_manager_api/v202505/content_bundle_service_registry'
12
12
 
13
- module AdManagerApi; module V202405; module ContentBundleService
13
+ module AdManagerApi; module V202505; module ContentBundleService
14
14
  class ContentBundleService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202405'
17
- super(config, endpoint, namespace, :v202405)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202505'
17
+ super(config, endpoint, namespace, :v202505)
18
18
  end
19
19
 
20
20
  def create_content_bundles(*args, &block)
@@ -56,7 +56,7 @@ module AdManagerApi; module V202405; module ContentBundleService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return AdManagerApi::V202405::ContentBundleService
59
+ return AdManagerApi::V202505::ContentBundleService
60
60
  end
61
61
  end
62
62
  end; end; end
@@ -5,11 +5,11 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:18.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:20.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202405; module ContentBundleService
12
+ module AdManagerApi; module V202505; module ContentBundleService
13
13
  class ContentBundleServiceRegistry
14
14
  CONTENTBUNDLESERVICE_METHODS = {create_content_bundles: {input: [{name: :content_bundles, type: "ContentBundle", min_occurs: 0, max_occurs: :unbounded}], output: {name: "create_content_bundles_response", fields: [{name: :rval, type: "ContentBundle", min_occurs: 0, max_occurs: :unbounded}]}}, get_content_bundles_by_statement: {input: [{name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "get_content_bundles_by_statement_response", fields: [{name: :rval, type: "ContentBundlePage", min_occurs: 0, max_occurs: 1}]}}, perform_content_bundle_action: {input: [{name: :content_bundle_action, type: "ContentBundleAction", min_occurs: 0, max_occurs: 1}, {name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "perform_content_bundle_action_response", fields: [{name: :rval, type: "UpdateResult", min_occurs: 0, max_occurs: 1}]}}, update_content_bundles: {input: [{name: :content_bundles, type: "ContentBundle", min_occurs: 0, max_occurs: :unbounded}], output: {name: "update_content_bundles_response", fields: [{name: :rval, type: "ContentBundle", min_occurs: 0, max_occurs: :unbounded}]}}}
15
15
  CONTENTBUNDLESERVICE_TYPES = {ObjectValue: {fields: [], abstract: true, base: "Value"}, ActivateContentBundles: {fields: [], base: "ContentBundleAction"}, 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"}, ContentBundleAction: {fields: [], abstract: true}, ContentBundle: {fields: [{name: :id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :status, type: "ContentBundleStatus", min_occurs: 0, max_occurs: 1}, {name: :last_modified_date_time, type: "DateTime", min_occurs: 0, max_occurs: 1}]}, ContentBundlePage: {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: "ContentBundle", min_occurs: 0, max_occurs: :unbounded}]}, ContentFilterError: {fields: [{name: :reason, type: "ContentFilterError.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"}, DeactivateContentBundles: {fields: [], base: "ContentBundleAction"}, 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"}, PlacementError: {fields: [{name: :reason, type: "PlacementError.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"}, RequestError: {fields: [{name: :reason, type: "RequestError.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"]}, ContentBundleStatus: {type: "string", enumerations: ["ACTIVE", "INACTIVE", "ARCHIVED", "UNKNOWN"]}, "ContentFilterError.Reason": {type: "string", enumerations: ["UNKNOWN", "WRONG_NUMBER_OF_ARGUMENTS", "ANY_FILTER_NOT_SUPPORTED"]}, "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"]}, "PlacementError.Reason": {type: "string", enumerations: ["INVALID_ENTITY_TYPE", "SHARED_INVENTORY_ASSIGNED", "PLACEMENTS_CANNOT_INCLUDE_INVENTORY_FROM_MULTIPLE_DISTRIBUTOR_NETWORKS", "PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY", "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", "SEGMENT_POPULATION_LIMIT"]}, "RequestError.Reason": {type: "string", enumerations: ["UNKNOWN", "INVALID_INPUT", "UNSUPPORTED_VERSION"]}, "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"]}}
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2025, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 3.0.0 on 2025-02-19 19:20:18.
8
+ # Code generated by AdsCommon library 3.0.0 on 2025-05-13 20:50:21.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202405/content_service_registry'
11
+ require 'ad_manager_api/v202505/content_service_registry'
12
12
 
13
- module AdManagerApi; module V202405; module ContentService
13
+ module AdManagerApi; module V202505; module ContentService
14
14
  class ContentService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202405'
17
- super(config, endpoint, namespace, :v202405)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v202505'
17
+ super(config, endpoint, namespace, :v202505)
18
18
  end
19
19
 
20
20
  def get_content_by_statement(*args, &block)
@@ -32,7 +32,7 @@ module AdManagerApi; module V202405; module ContentService
32
32
  end
33
33
 
34
34
  def get_module()
35
- return AdManagerApi::V202405::ContentService
35
+ return AdManagerApi::V202505::ContentService
36
36
  end
37
37
  end
38
38
  end; end; end