google-dfp-api 2.5.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +6 -0
  3. data/lib/ad_manager_api/api_config.rb +13 -14
  4. data/lib/ad_manager_api/v202305/activity_group_service.rb +2 -2
  5. data/lib/ad_manager_api/v202305/activity_group_service_registry.rb +2 -2
  6. data/lib/ad_manager_api/v202305/activity_service.rb +2 -2
  7. data/lib/ad_manager_api/v202305/activity_service_registry.rb +2 -2
  8. data/lib/ad_manager_api/v202305/ad_rule_service.rb +2 -2
  9. data/lib/ad_manager_api/v202305/ad_rule_service_registry.rb +2 -2
  10. data/lib/ad_manager_api/v202305/adjustment_service.rb +2 -2
  11. data/lib/ad_manager_api/v202305/adjustment_service_registry.rb +2 -2
  12. data/lib/ad_manager_api/v202305/audience_segment_service.rb +2 -2
  13. data/lib/ad_manager_api/v202305/audience_segment_service_registry.rb +2 -2
  14. data/lib/ad_manager_api/v202305/cdn_configuration_service.rb +2 -2
  15. data/lib/ad_manager_api/v202305/cdn_configuration_service_registry.rb +2 -2
  16. data/lib/ad_manager_api/v202305/cms_metadata_service.rb +2 -2
  17. data/lib/ad_manager_api/v202305/cms_metadata_service_registry.rb +2 -2
  18. data/lib/ad_manager_api/v202305/company_service.rb +2 -2
  19. data/lib/ad_manager_api/v202305/company_service_registry.rb +2 -2
  20. data/lib/ad_manager_api/v202305/contact_service.rb +2 -2
  21. data/lib/ad_manager_api/v202305/contact_service_registry.rb +2 -2
  22. data/lib/ad_manager_api/v202305/content_bundle_service.rb +2 -2
  23. data/lib/ad_manager_api/v202305/content_bundle_service_registry.rb +2 -2
  24. data/lib/ad_manager_api/v202305/content_service.rb +2 -2
  25. data/lib/ad_manager_api/v202305/content_service_registry.rb +2 -2
  26. data/lib/ad_manager_api/v202305/creative_review_service.rb +2 -10
  27. data/lib/ad_manager_api/v202305/creative_review_service_registry.rb +4 -4
  28. data/lib/ad_manager_api/v202305/creative_service.rb +2 -2
  29. data/lib/ad_manager_api/v202305/creative_service_registry.rb +2 -2
  30. data/lib/ad_manager_api/v202305/creative_set_service.rb +2 -2
  31. data/lib/ad_manager_api/v202305/creative_set_service_registry.rb +2 -2
  32. data/lib/ad_manager_api/v202305/creative_template_service.rb +2 -2
  33. data/lib/ad_manager_api/v202305/creative_template_service_registry.rb +2 -2
  34. data/lib/ad_manager_api/v202305/creative_wrapper_service.rb +2 -2
  35. data/lib/ad_manager_api/v202305/creative_wrapper_service_registry.rb +2 -2
  36. data/lib/ad_manager_api/v202305/custom_field_service.rb +2 -2
  37. data/lib/ad_manager_api/v202305/custom_field_service_registry.rb +3 -3
  38. data/lib/ad_manager_api/v202305/custom_targeting_service.rb +2 -2
  39. data/lib/ad_manager_api/v202305/custom_targeting_service_registry.rb +2 -2
  40. data/lib/ad_manager_api/v202305/dai_authentication_key_service.rb +2 -2
  41. data/lib/ad_manager_api/v202305/dai_authentication_key_service_registry.rb +2 -2
  42. data/lib/ad_manager_api/v202305/dai_encoding_profile_service.rb +2 -2
  43. data/lib/ad_manager_api/v202305/dai_encoding_profile_service_registry.rb +2 -2
  44. data/lib/ad_manager_api/v202305/forecast_service.rb +2 -2
  45. data/lib/ad_manager_api/v202305/forecast_service_registry.rb +2 -2
  46. data/lib/ad_manager_api/v202305/inventory_service.rb +2 -2
  47. data/lib/ad_manager_api/v202305/inventory_service_registry.rb +2 -2
  48. data/lib/ad_manager_api/v202305/label_service.rb +2 -2
  49. data/lib/ad_manager_api/v202305/label_service_registry.rb +2 -2
  50. data/lib/ad_manager_api/v202305/line_item_creative_association_service.rb +2 -2
  51. data/lib/ad_manager_api/v202305/line_item_creative_association_service_registry.rb +2 -2
  52. data/lib/ad_manager_api/v202305/line_item_service.rb +2 -2
  53. data/lib/ad_manager_api/v202305/line_item_service_registry.rb +2 -2
  54. data/lib/ad_manager_api/v202305/line_item_template_service.rb +2 -2
  55. data/lib/ad_manager_api/v202305/line_item_template_service_registry.rb +2 -2
  56. data/lib/ad_manager_api/v202305/live_stream_event_service.rb +2 -2
  57. data/lib/ad_manager_api/v202305/live_stream_event_service_registry.rb +2 -2
  58. data/lib/ad_manager_api/v202305/mobile_application_service.rb +2 -2
  59. data/lib/ad_manager_api/v202305/mobile_application_service_registry.rb +2 -2
  60. data/lib/ad_manager_api/v202305/native_style_service.rb +2 -2
  61. data/lib/ad_manager_api/v202305/native_style_service_registry.rb +2 -2
  62. data/lib/ad_manager_api/v202305/network_service.rb +2 -2
  63. data/lib/ad_manager_api/v202305/network_service_registry.rb +2 -2
  64. data/lib/ad_manager_api/v202305/order_service.rb +2 -2
  65. data/lib/ad_manager_api/v202305/order_service_registry.rb +2 -2
  66. data/lib/ad_manager_api/v202305/placement_service.rb +2 -2
  67. data/lib/ad_manager_api/v202305/placement_service_registry.rb +2 -2
  68. data/lib/ad_manager_api/v202305/proposal_line_item_service.rb +2 -2
  69. data/lib/ad_manager_api/v202305/proposal_line_item_service_registry.rb +2 -2
  70. data/lib/ad_manager_api/v202305/proposal_service.rb +2 -2
  71. data/lib/ad_manager_api/v202305/proposal_service_registry.rb +2 -2
  72. data/lib/ad_manager_api/v202305/publisher_query_language_service.rb +2 -2
  73. data/lib/ad_manager_api/v202305/publisher_query_language_service_registry.rb +2 -2
  74. data/lib/ad_manager_api/v202305/report_service.rb +2 -2
  75. data/lib/ad_manager_api/v202305/report_service_registry.rb +2 -2
  76. data/lib/ad_manager_api/v202305/segment_population_service.rb +2 -2
  77. data/lib/ad_manager_api/v202305/segment_population_service_registry.rb +2 -2
  78. data/lib/ad_manager_api/v202305/site_service.rb +2 -2
  79. data/lib/ad_manager_api/v202305/site_service_registry.rb +2 -2
  80. data/lib/ad_manager_api/v202305/stream_activity_monitor_service.rb +2 -2
  81. data/lib/ad_manager_api/v202305/stream_activity_monitor_service_registry.rb +2 -2
  82. data/lib/ad_manager_api/v202305/suggested_ad_unit_service.rb +2 -2
  83. data/lib/ad_manager_api/v202305/suggested_ad_unit_service_registry.rb +2 -2
  84. data/lib/ad_manager_api/v202305/targeting_preset_service.rb +2 -2
  85. data/lib/ad_manager_api/v202305/targeting_preset_service_registry.rb +2 -2
  86. data/lib/ad_manager_api/v202305/team_service.rb +2 -2
  87. data/lib/ad_manager_api/v202305/team_service_registry.rb +3 -3
  88. data/lib/ad_manager_api/v202305/user_service.rb +2 -2
  89. data/lib/ad_manager_api/v202305/user_service_registry.rb +3 -3
  90. data/lib/ad_manager_api/v202305/user_team_association_service.rb +2 -2
  91. data/lib/ad_manager_api/v202305/user_team_association_service_registry.rb +2 -2
  92. data/lib/ad_manager_api/v202305/yield_group_service.rb +2 -2
  93. data/lib/ad_manager_api/v202305/yield_group_service_registry.rb +2 -2
  94. data/lib/ad_manager_api/v202308/activity_group_service.rb +2 -2
  95. data/lib/ad_manager_api/v202308/activity_group_service_registry.rb +2 -2
  96. data/lib/ad_manager_api/v202308/activity_service.rb +2 -2
  97. data/lib/ad_manager_api/v202308/activity_service_registry.rb +2 -2
  98. data/lib/ad_manager_api/v202308/ad_rule_service.rb +2 -2
  99. data/lib/ad_manager_api/v202308/ad_rule_service_registry.rb +2 -2
  100. data/lib/ad_manager_api/v202308/adjustment_service.rb +2 -2
  101. data/lib/ad_manager_api/v202308/adjustment_service_registry.rb +2 -2
  102. data/lib/ad_manager_api/v202308/audience_segment_service.rb +2 -2
  103. data/lib/ad_manager_api/v202308/audience_segment_service_registry.rb +2 -2
  104. data/lib/ad_manager_api/v202308/cdn_configuration_service.rb +2 -2
  105. data/lib/ad_manager_api/v202308/cdn_configuration_service_registry.rb +2 -2
  106. data/lib/ad_manager_api/v202308/cms_metadata_service.rb +2 -2
  107. data/lib/ad_manager_api/v202308/cms_metadata_service_registry.rb +2 -2
  108. data/lib/ad_manager_api/v202308/company_service.rb +2 -2
  109. data/lib/ad_manager_api/v202308/company_service_registry.rb +2 -2
  110. data/lib/ad_manager_api/v202308/contact_service.rb +2 -2
  111. data/lib/ad_manager_api/v202308/contact_service_registry.rb +2 -2
  112. data/lib/ad_manager_api/v202308/content_bundle_service.rb +2 -2
  113. data/lib/ad_manager_api/v202308/content_bundle_service_registry.rb +2 -2
  114. data/lib/ad_manager_api/v202308/content_service.rb +2 -2
  115. data/lib/ad_manager_api/v202308/content_service_registry.rb +2 -2
  116. data/lib/ad_manager_api/v202308/creative_review_service.rb +2 -10
  117. data/lib/ad_manager_api/v202308/creative_review_service_registry.rb +4 -4
  118. data/lib/ad_manager_api/v202308/creative_service.rb +2 -2
  119. data/lib/ad_manager_api/v202308/creative_service_registry.rb +2 -2
  120. data/lib/ad_manager_api/v202308/creative_set_service.rb +2 -2
  121. data/lib/ad_manager_api/v202308/creative_set_service_registry.rb +2 -2
  122. data/lib/ad_manager_api/v202308/creative_template_service.rb +2 -2
  123. data/lib/ad_manager_api/v202308/creative_template_service_registry.rb +2 -2
  124. data/lib/ad_manager_api/v202308/creative_wrapper_service.rb +2 -2
  125. data/lib/ad_manager_api/v202308/creative_wrapper_service_registry.rb +2 -2
  126. data/lib/ad_manager_api/v202308/custom_field_service.rb +2 -2
  127. data/lib/ad_manager_api/v202308/custom_field_service_registry.rb +3 -3
  128. data/lib/ad_manager_api/v202308/custom_targeting_service.rb +2 -2
  129. data/lib/ad_manager_api/v202308/custom_targeting_service_registry.rb +2 -2
  130. data/lib/ad_manager_api/v202308/dai_authentication_key_service.rb +2 -2
  131. data/lib/ad_manager_api/v202308/dai_authentication_key_service_registry.rb +2 -2
  132. data/lib/ad_manager_api/v202308/dai_encoding_profile_service.rb +2 -2
  133. data/lib/ad_manager_api/v202308/dai_encoding_profile_service_registry.rb +2 -2
  134. data/lib/ad_manager_api/v202308/forecast_service.rb +2 -2
  135. data/lib/ad_manager_api/v202308/forecast_service_registry.rb +2 -2
  136. data/lib/ad_manager_api/v202308/inventory_service.rb +2 -2
  137. data/lib/ad_manager_api/v202308/inventory_service_registry.rb +2 -2
  138. data/lib/ad_manager_api/v202308/label_service.rb +2 -2
  139. data/lib/ad_manager_api/v202308/label_service_registry.rb +2 -2
  140. data/lib/ad_manager_api/v202308/line_item_creative_association_service.rb +2 -2
  141. data/lib/ad_manager_api/v202308/line_item_creative_association_service_registry.rb +2 -2
  142. data/lib/ad_manager_api/v202308/line_item_service.rb +2 -2
  143. data/lib/ad_manager_api/v202308/line_item_service_registry.rb +2 -2
  144. data/lib/ad_manager_api/v202308/line_item_template_service.rb +2 -2
  145. data/lib/ad_manager_api/v202308/line_item_template_service_registry.rb +2 -2
  146. data/lib/ad_manager_api/v202308/live_stream_event_service.rb +2 -2
  147. data/lib/ad_manager_api/v202308/live_stream_event_service_registry.rb +2 -2
  148. data/lib/ad_manager_api/v202308/mobile_application_service.rb +2 -2
  149. data/lib/ad_manager_api/v202308/mobile_application_service_registry.rb +2 -2
  150. data/lib/ad_manager_api/v202308/native_style_service.rb +2 -2
  151. data/lib/ad_manager_api/v202308/native_style_service_registry.rb +2 -2
  152. data/lib/ad_manager_api/v202308/network_service.rb +2 -2
  153. data/lib/ad_manager_api/v202308/network_service_registry.rb +2 -2
  154. data/lib/ad_manager_api/v202308/order_service.rb +2 -2
  155. data/lib/ad_manager_api/v202308/order_service_registry.rb +2 -2
  156. data/lib/ad_manager_api/v202308/placement_service.rb +2 -2
  157. data/lib/ad_manager_api/v202308/placement_service_registry.rb +2 -2
  158. data/lib/ad_manager_api/v202308/proposal_line_item_service.rb +2 -2
  159. data/lib/ad_manager_api/v202308/proposal_line_item_service_registry.rb +2 -2
  160. data/lib/ad_manager_api/v202308/proposal_service.rb +2 -2
  161. data/lib/ad_manager_api/v202308/proposal_service_registry.rb +2 -2
  162. data/lib/ad_manager_api/v202308/publisher_query_language_service.rb +2 -2
  163. data/lib/ad_manager_api/v202308/publisher_query_language_service_registry.rb +2 -2
  164. data/lib/ad_manager_api/v202308/report_service.rb +2 -2
  165. data/lib/ad_manager_api/v202308/report_service_registry.rb +2 -2
  166. data/lib/ad_manager_api/v202308/segment_population_service.rb +2 -2
  167. data/lib/ad_manager_api/v202308/segment_population_service_registry.rb +2 -2
  168. data/lib/ad_manager_api/v202308/site_service.rb +2 -2
  169. data/lib/ad_manager_api/v202308/site_service_registry.rb +2 -2
  170. data/lib/ad_manager_api/v202308/stream_activity_monitor_service.rb +2 -2
  171. data/lib/ad_manager_api/v202308/stream_activity_monitor_service_registry.rb +2 -2
  172. data/lib/ad_manager_api/v202308/suggested_ad_unit_service.rb +2 -2
  173. data/lib/ad_manager_api/v202308/suggested_ad_unit_service_registry.rb +2 -2
  174. data/lib/ad_manager_api/v202308/targeting_preset_service.rb +2 -2
  175. data/lib/ad_manager_api/v202308/targeting_preset_service_registry.rb +2 -2
  176. data/lib/ad_manager_api/v202308/team_service.rb +2 -2
  177. data/lib/ad_manager_api/v202308/team_service_registry.rb +3 -3
  178. data/lib/ad_manager_api/v202308/user_service.rb +2 -2
  179. data/lib/ad_manager_api/v202308/user_service_registry.rb +3 -3
  180. data/lib/ad_manager_api/v202308/user_team_association_service.rb +2 -2
  181. data/lib/ad_manager_api/v202308/user_team_association_service_registry.rb +2 -2
  182. data/lib/ad_manager_api/v202308/yield_group_service.rb +2 -2
  183. data/lib/ad_manager_api/v202308/yield_group_service_registry.rb +2 -2
  184. data/lib/ad_manager_api/v202311/activity_group_service.rb +2 -2
  185. data/lib/ad_manager_api/v202311/activity_group_service_registry.rb +2 -2
  186. data/lib/ad_manager_api/v202311/activity_service.rb +2 -2
  187. data/lib/ad_manager_api/v202311/activity_service_registry.rb +2 -2
  188. data/lib/ad_manager_api/v202311/ad_rule_service.rb +2 -2
  189. data/lib/ad_manager_api/v202311/ad_rule_service_registry.rb +2 -2
  190. data/lib/ad_manager_api/v202311/adjustment_service.rb +2 -2
  191. data/lib/ad_manager_api/v202311/adjustment_service_registry.rb +2 -2
  192. data/lib/ad_manager_api/v202311/audience_segment_service.rb +2 -2
  193. data/lib/ad_manager_api/v202311/audience_segment_service_registry.rb +2 -2
  194. data/lib/ad_manager_api/v202311/cdn_configuration_service.rb +2 -2
  195. data/lib/ad_manager_api/v202311/cdn_configuration_service_registry.rb +2 -2
  196. data/lib/ad_manager_api/v202311/cms_metadata_service.rb +2 -2
  197. data/lib/ad_manager_api/v202311/cms_metadata_service_registry.rb +2 -2
  198. data/lib/ad_manager_api/v202311/company_service.rb +2 -2
  199. data/lib/ad_manager_api/v202311/company_service_registry.rb +2 -2
  200. data/lib/ad_manager_api/v202311/contact_service.rb +2 -2
  201. data/lib/ad_manager_api/v202311/contact_service_registry.rb +2 -2
  202. data/lib/ad_manager_api/v202311/content_bundle_service.rb +2 -2
  203. data/lib/ad_manager_api/v202311/content_bundle_service_registry.rb +2 -2
  204. data/lib/ad_manager_api/v202311/content_service.rb +2 -2
  205. data/lib/ad_manager_api/v202311/content_service_registry.rb +2 -2
  206. data/lib/ad_manager_api/v202311/creative_review_service.rb +2 -10
  207. data/lib/ad_manager_api/v202311/creative_review_service_registry.rb +4 -4
  208. data/lib/ad_manager_api/v202311/creative_service.rb +2 -2
  209. data/lib/ad_manager_api/v202311/creative_service_registry.rb +2 -2
  210. data/lib/ad_manager_api/v202311/creative_set_service.rb +2 -2
  211. data/lib/ad_manager_api/v202311/creative_set_service_registry.rb +2 -2
  212. data/lib/ad_manager_api/v202311/creative_template_service.rb +2 -2
  213. data/lib/ad_manager_api/v202311/creative_template_service_registry.rb +2 -2
  214. data/lib/ad_manager_api/v202311/creative_wrapper_service.rb +2 -2
  215. data/lib/ad_manager_api/v202311/creative_wrapper_service_registry.rb +2 -2
  216. data/lib/ad_manager_api/v202311/custom_field_service.rb +2 -2
  217. data/lib/ad_manager_api/v202311/custom_field_service_registry.rb +3 -3
  218. data/lib/ad_manager_api/v202311/custom_targeting_service.rb +2 -2
  219. data/lib/ad_manager_api/v202311/custom_targeting_service_registry.rb +2 -2
  220. data/lib/ad_manager_api/v202311/dai_authentication_key_service.rb +2 -2
  221. data/lib/ad_manager_api/v202311/dai_authentication_key_service_registry.rb +2 -2
  222. data/lib/ad_manager_api/v202311/dai_encoding_profile_service.rb +2 -2
  223. data/lib/ad_manager_api/v202311/dai_encoding_profile_service_registry.rb +2 -2
  224. data/lib/ad_manager_api/v202311/forecast_service.rb +2 -2
  225. data/lib/ad_manager_api/v202311/forecast_service_registry.rb +2 -2
  226. data/lib/ad_manager_api/v202311/inventory_service.rb +2 -2
  227. data/lib/ad_manager_api/v202311/inventory_service_registry.rb +2 -2
  228. data/lib/ad_manager_api/v202311/label_service.rb +2 -2
  229. data/lib/ad_manager_api/v202311/label_service_registry.rb +2 -2
  230. data/lib/ad_manager_api/v202311/line_item_creative_association_service.rb +2 -2
  231. data/lib/ad_manager_api/v202311/line_item_creative_association_service_registry.rb +2 -2
  232. data/lib/ad_manager_api/v202311/line_item_service.rb +2 -2
  233. data/lib/ad_manager_api/v202311/line_item_service_registry.rb +2 -2
  234. data/lib/ad_manager_api/v202311/line_item_template_service.rb +2 -2
  235. data/lib/ad_manager_api/v202311/line_item_template_service_registry.rb +2 -2
  236. data/lib/ad_manager_api/v202311/live_stream_event_service.rb +2 -2
  237. data/lib/ad_manager_api/v202311/live_stream_event_service_registry.rb +2 -2
  238. data/lib/ad_manager_api/v202311/mobile_application_service.rb +2 -2
  239. data/lib/ad_manager_api/v202311/mobile_application_service_registry.rb +2 -2
  240. data/lib/ad_manager_api/v202311/native_style_service.rb +2 -2
  241. data/lib/ad_manager_api/v202311/native_style_service_registry.rb +2 -2
  242. data/lib/ad_manager_api/v202311/network_service.rb +2 -2
  243. data/lib/ad_manager_api/v202311/network_service_registry.rb +2 -2
  244. data/lib/ad_manager_api/v202311/order_service.rb +2 -2
  245. data/lib/ad_manager_api/v202311/order_service_registry.rb +2 -2
  246. data/lib/ad_manager_api/v202311/placement_service.rb +2 -2
  247. data/lib/ad_manager_api/v202311/placement_service_registry.rb +2 -2
  248. data/lib/ad_manager_api/v202311/proposal_line_item_service.rb +2 -2
  249. data/lib/ad_manager_api/v202311/proposal_line_item_service_registry.rb +2 -2
  250. data/lib/ad_manager_api/v202311/proposal_service.rb +2 -2
  251. data/lib/ad_manager_api/v202311/proposal_service_registry.rb +2 -2
  252. data/lib/ad_manager_api/v202311/publisher_query_language_service.rb +2 -2
  253. data/lib/ad_manager_api/v202311/publisher_query_language_service_registry.rb +2 -2
  254. data/lib/ad_manager_api/v202311/report_service.rb +2 -2
  255. data/lib/ad_manager_api/v202311/report_service_registry.rb +2 -2
  256. data/lib/ad_manager_api/v202311/segment_population_service.rb +2 -2
  257. data/lib/ad_manager_api/v202311/segment_population_service_registry.rb +2 -2
  258. data/lib/ad_manager_api/v202311/site_service.rb +2 -2
  259. data/lib/ad_manager_api/v202311/site_service_registry.rb +2 -2
  260. data/lib/ad_manager_api/v202311/stream_activity_monitor_service.rb +2 -2
  261. data/lib/ad_manager_api/v202311/stream_activity_monitor_service_registry.rb +2 -2
  262. data/lib/ad_manager_api/v202311/suggested_ad_unit_service.rb +2 -2
  263. data/lib/ad_manager_api/v202311/suggested_ad_unit_service_registry.rb +2 -2
  264. data/lib/ad_manager_api/v202311/targeting_preset_service.rb +2 -2
  265. data/lib/ad_manager_api/v202311/targeting_preset_service_registry.rb +2 -2
  266. data/lib/ad_manager_api/v202311/team_service.rb +2 -2
  267. data/lib/ad_manager_api/v202311/team_service_registry.rb +3 -3
  268. data/lib/ad_manager_api/v202311/user_service.rb +2 -2
  269. data/lib/ad_manager_api/v202311/user_service_registry.rb +3 -3
  270. data/lib/ad_manager_api/v202311/user_team_association_service.rb +2 -2
  271. data/lib/ad_manager_api/v202311/user_team_association_service_registry.rb +2 -2
  272. data/lib/ad_manager_api/v202311/yield_group_service.rb +2 -2
  273. data/lib/ad_manager_api/v202311/yield_group_service_registry.rb +3 -3
  274. data/lib/ad_manager_api/{v202302 → v202402}/activity_group_service.rb +7 -7
  275. data/lib/ad_manager_api/{v202302 → v202402}/activity_group_service_registry.rb +4 -4
  276. data/lib/ad_manager_api/{v202302 → v202402}/activity_service.rb +7 -7
  277. data/lib/ad_manager_api/{v202302 → v202402}/activity_service_registry.rb +4 -4
  278. data/lib/ad_manager_api/{v202302 → v202402}/ad_rule_service.rb +7 -7
  279. data/lib/ad_manager_api/{v202302 → v202402}/ad_rule_service_registry.rb +4 -4
  280. data/lib/ad_manager_api/{v202302 → v202402}/adjustment_service.rb +7 -7
  281. data/lib/ad_manager_api/{v202302 → v202402}/adjustment_service_registry.rb +4 -4
  282. data/lib/ad_manager_api/{v202302 → v202402}/audience_segment_service.rb +7 -7
  283. data/lib/ad_manager_api/{v202302 → v202402}/audience_segment_service_registry.rb +4 -4
  284. data/lib/ad_manager_api/{v202302 → v202402}/cdn_configuration_service.rb +7 -7
  285. data/lib/ad_manager_api/{v202302 → v202402}/cdn_configuration_service_registry.rb +4 -4
  286. data/lib/ad_manager_api/{v202302 → v202402}/cms_metadata_service.rb +7 -7
  287. data/lib/ad_manager_api/{v202302 → v202402}/cms_metadata_service_registry.rb +4 -4
  288. data/lib/ad_manager_api/{v202302 → v202402}/company_service.rb +7 -7
  289. data/lib/ad_manager_api/v202402/company_service_registry.rb +45 -0
  290. data/lib/ad_manager_api/{v202302 → v202402}/contact_service.rb +7 -7
  291. data/lib/ad_manager_api/{v202302 → v202402}/contact_service_registry.rb +4 -4
  292. data/lib/ad_manager_api/{v202302 → v202402}/content_bundle_service.rb +7 -7
  293. data/lib/ad_manager_api/{v202302 → v202402}/content_bundle_service_registry.rb +4 -4
  294. data/lib/ad_manager_api/{v202302 → v202402}/content_service.rb +7 -7
  295. data/lib/ad_manager_api/{v202302 → v202402}/content_service_registry.rb +4 -4
  296. data/lib/ad_manager_api/{v202302 → v202402}/creative_service.rb +7 -7
  297. data/lib/ad_manager_api/{v202302 → v202402}/creative_service_registry.rb +4 -4
  298. data/lib/ad_manager_api/{v202302 → v202402}/creative_set_service.rb +7 -7
  299. data/lib/ad_manager_api/{v202302 → v202402}/creative_set_service_registry.rb +4 -4
  300. data/lib/ad_manager_api/{v202302 → v202402}/creative_template_service.rb +7 -7
  301. data/lib/ad_manager_api/{v202302 → v202402}/creative_template_service_registry.rb +4 -4
  302. data/lib/ad_manager_api/{v202302 → v202402}/creative_wrapper_service.rb +7 -7
  303. data/lib/ad_manager_api/{v202302 → v202402}/creative_wrapper_service_registry.rb +4 -4
  304. data/lib/ad_manager_api/{v202302 → v202402}/custom_field_service.rb +7 -7
  305. data/lib/ad_manager_api/{v202302 → v202402}/custom_field_service_registry.rb +4 -4
  306. data/lib/ad_manager_api/{v202302 → v202402}/custom_targeting_service.rb +7 -7
  307. data/lib/ad_manager_api/{v202302 → v202402}/custom_targeting_service_registry.rb +4 -4
  308. data/lib/ad_manager_api/{v202302 → v202402}/dai_authentication_key_service.rb +7 -7
  309. data/lib/ad_manager_api/{v202302 → v202402}/dai_authentication_key_service_registry.rb +4 -4
  310. data/lib/ad_manager_api/{v202302 → v202402}/dai_encoding_profile_service.rb +7 -7
  311. data/lib/ad_manager_api/{v202302 → v202402}/dai_encoding_profile_service_registry.rb +4 -4
  312. data/lib/ad_manager_api/{v202302 → v202402}/forecast_service.rb +7 -7
  313. data/lib/ad_manager_api/v202402/forecast_service_registry.rb +45 -0
  314. data/lib/ad_manager_api/{v202302 → v202402}/inventory_service.rb +7 -7
  315. data/lib/ad_manager_api/{v202302 → v202402}/inventory_service_registry.rb +4 -4
  316. data/lib/ad_manager_api/{v202302 → v202402}/label_service.rb +7 -7
  317. data/lib/ad_manager_api/{v202302 → v202402}/label_service_registry.rb +4 -4
  318. data/lib/ad_manager_api/{v202302 → v202402}/line_item_creative_association_service.rb +7 -7
  319. data/lib/ad_manager_api/{v202302 → v202402}/line_item_creative_association_service_registry.rb +4 -4
  320. data/lib/ad_manager_api/{v202302 → v202402}/line_item_service.rb +7 -7
  321. data/lib/ad_manager_api/v202402/line_item_service_registry.rb +45 -0
  322. data/lib/ad_manager_api/{v202302 → v202402}/line_item_template_service.rb +7 -7
  323. data/lib/ad_manager_api/v202402/line_item_template_service_registry.rb +45 -0
  324. data/lib/ad_manager_api/{v202302 → v202402}/live_stream_event_service.rb +7 -7
  325. data/lib/ad_manager_api/v202402/live_stream_event_service_registry.rb +45 -0
  326. data/lib/ad_manager_api/{v202302 → v202402}/mobile_application_service.rb +7 -7
  327. data/lib/ad_manager_api/v202402/mobile_application_service_registry.rb +45 -0
  328. data/lib/ad_manager_api/{v202302 → v202402}/native_style_service.rb +7 -7
  329. data/lib/ad_manager_api/{v202302 → v202402}/native_style_service_registry.rb +4 -4
  330. data/lib/ad_manager_api/{v202302 → v202402}/network_service.rb +7 -7
  331. data/lib/ad_manager_api/v202402/network_service_registry.rb +45 -0
  332. data/lib/ad_manager_api/{v202302 → v202402}/order_service.rb +7 -7
  333. data/lib/ad_manager_api/v202402/order_service_registry.rb +45 -0
  334. data/lib/ad_manager_api/{v202302 → v202402}/placement_service.rb +7 -7
  335. data/lib/ad_manager_api/{v202302 → v202402}/placement_service_registry.rb +4 -4
  336. data/lib/ad_manager_api/{v202302 → v202402}/proposal_line_item_service.rb +7 -7
  337. data/lib/ad_manager_api/v202402/proposal_line_item_service_registry.rb +45 -0
  338. data/lib/ad_manager_api/{v202302 → v202402}/proposal_service.rb +7 -7
  339. data/lib/ad_manager_api/v202402/proposal_service_registry.rb +45 -0
  340. data/lib/ad_manager_api/{v202302 → v202402}/publisher_query_language_service.rb +7 -7
  341. data/lib/ad_manager_api/{v202302 → v202402}/publisher_query_language_service_registry.rb +4 -4
  342. data/lib/ad_manager_api/{v202302 → v202402}/report_service.rb +7 -7
  343. data/lib/ad_manager_api/v202402/report_service_registry.rb +45 -0
  344. data/lib/ad_manager_api/v202402/segment_population_service.rb +54 -0
  345. data/lib/ad_manager_api/v202402/segment_population_service_registry.rb +43 -0
  346. data/lib/ad_manager_api/{v202302 → v202402}/site_service.rb +7 -7
  347. data/lib/ad_manager_api/{v202302 → v202402}/site_service_registry.rb +4 -4
  348. data/lib/ad_manager_api/{v202302 → v202402}/stream_activity_monitor_service.rb +7 -7
  349. data/lib/ad_manager_api/v202402/stream_activity_monitor_service_registry.rb +43 -0
  350. data/lib/ad_manager_api/{v202302 → v202402}/suggested_ad_unit_service.rb +7 -7
  351. data/lib/ad_manager_api/{v202302 → v202402}/suggested_ad_unit_service_registry.rb +4 -4
  352. data/lib/ad_manager_api/{v202302 → v202402}/targeting_preset_service.rb +7 -7
  353. data/lib/ad_manager_api/{v202302 → v202402}/targeting_preset_service_registry.rb +4 -4
  354. data/lib/ad_manager_api/{v202302 → v202402}/team_service.rb +7 -7
  355. data/lib/ad_manager_api/v202402/team_service_registry.rb +45 -0
  356. data/lib/ad_manager_api/{v202302 → v202402}/user_service.rb +7 -7
  357. data/lib/ad_manager_api/v202402/user_service_registry.rb +45 -0
  358. data/lib/ad_manager_api/{v202302 → v202402}/user_team_association_service.rb +7 -7
  359. data/lib/ad_manager_api/{v202302 → v202402}/user_team_association_service_registry.rb +4 -4
  360. data/lib/ad_manager_api/{v202302 → v202402}/yield_group_service.rb +7 -7
  361. data/lib/ad_manager_api/{v202302 → v202402}/yield_group_service_registry.rb +4 -4
  362. data/lib/ad_manager_api/version.rb +1 -1
  363. metadata +93 -93
  364. data/lib/ad_manager_api/v202302/company_service_registry.rb +0 -45
  365. data/lib/ad_manager_api/v202302/creative_review_service.rb +0 -46
  366. data/lib/ad_manager_api/v202302/creative_review_service_registry.rb +0 -43
  367. data/lib/ad_manager_api/v202302/forecast_service_registry.rb +0 -45
  368. data/lib/ad_manager_api/v202302/line_item_service_registry.rb +0 -45
  369. data/lib/ad_manager_api/v202302/line_item_template_service_registry.rb +0 -45
  370. data/lib/ad_manager_api/v202302/live_stream_event_service_registry.rb +0 -45
  371. data/lib/ad_manager_api/v202302/mobile_application_service_registry.rb +0 -45
  372. data/lib/ad_manager_api/v202302/network_service_registry.rb +0 -45
  373. data/lib/ad_manager_api/v202302/order_service_registry.rb +0 -45
  374. data/lib/ad_manager_api/v202302/proposal_line_item_service_registry.rb +0 -45
  375. data/lib/ad_manager_api/v202302/proposal_service_registry.rb +0 -45
  376. data/lib/ad_manager_api/v202302/report_service_registry.rb +0 -45
  377. data/lib/ad_manager_api/v202302/stream_activity_monitor_service_registry.rb +0 -43
  378. data/lib/ad_manager_api/v202302/team_service_registry.rb +0 -45
  379. data/lib/ad_manager_api/v202302/user_service_registry.rb +0 -45
@@ -2,17 +2,17 @@
2
2
  #
3
3
  # This is auto-generated code, changes will be overwritten.
4
4
  #
5
- # Copyright:: Copyright 2023, Google Inc. All Rights Reserved.
5
+ # Copyright:: Copyright 2024, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 1.0.3 on 2023-11-03 13:25:06.
8
+ # Code generated by AdsCommon library 1.0.3 on 2024-02-06 17:13:27.
9
9
 
10
10
  require 'ad_manager_api/errors'
11
11
 
12
- module AdManagerApi; module V202302; module YieldGroupService
12
+ module AdManagerApi; module V202402; module YieldGroupService
13
13
  class YieldGroupServiceRegistry
14
14
  YIELDGROUPSERVICE_METHODS = {:create_yield_groups=>{:input=>[{:name=>:yield_groups, :type=>"YieldGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_yield_groups_response", :fields=>[{:name=>:rval, :type=>"YieldGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_yield_groups_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_yield_groups_by_statement_response", :fields=>[{:name=>:rval, :type=>"YieldGroupPage", :min_occurs=>0, :max_occurs=>1}]}}, :get_yield_partners=>{:input=>[], :output=>{:name=>"get_yield_partners_response", :fields=>[{:name=>:rval, :type=>"YieldPartner", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :update_yield_groups=>{:input=>[{:name=>:yield_groups, :type=>"YieldGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_yield_groups_response", :fields=>[{:name=>:rval, :type=>"YieldGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- YIELDGROUPSERVICE_TYPES = {:AbstractDisplaySettings=>{:fields=>[], :abstract=>true}, :ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :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"}, :TechnologyTargeting=>{:fields=>[{:name=>:bandwidth_group_targeting, :type=>"BandwidthGroupTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_targeting, :type=>"BrowserTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_language_targeting, :type=>"BrowserLanguageTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_capability_targeting, :type=>"DeviceCapabilityTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_category_targeting, :type=>"DeviceCategoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturer_targeting, :type=>"DeviceManufacturerTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_carrier_targeting, :type=>"MobileCarrierTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_device_targeting, :type=>"MobileDeviceTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_device_submodel_targeting, :type=>"MobileDeviceSubmodelTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_targeting, :type=>"OperatingSystemTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_version_targeting, :type=>"OperatingSystemVersionTargeting", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :BandwidthGroup=>{:fields=>[], :base=>"Technology"}, :BandwidthGroupTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:bandwidth_groups, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :Browser=>{:fields=>[{:name=>:major_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:minor_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :BrowserLanguage=>{:fields=>[], :base=>"Technology"}, :BrowserLanguageTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_languages, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BrowserTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:browsers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BuyerUserListTargeting=>{:fields=>[{:name=>:has_buyer_user_list_targeting, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :ContentTargeting=>{:fields=>[{:name=>:targeted_content_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_content_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_video_content_bundle_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_video_content_bundle_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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}]}, :DateTimeRange=>{:fields=>[{:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeRangeTargeting=>{:fields=>[{:name=>:targeted_date_time_ranges, :type=>"DateTimeRange", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DateTimeRangeTargetingError=>{:fields=>[{:name=>:reason, :type=>"DateTimeRangeTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :DayPart=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_time, :type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_time, :type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1}]}, :DayPartTargeting=>{:fields=>[{:name=>:day_parts, :type=>"DayPart", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:time_zone, :type=>"DeliveryTimeZone", :min_occurs=>0, :max_occurs=>1}]}, :DayPartTargetingError=>{:fields=>[{:name=>:reason, :type=>"DayPartTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OpenBiddingSetting=>{:fields=>[{:name=>:yield_integration_type, :type=>"YieldIntegrationType", :min_occurs=>0, :max_occurs=>1}], :base=>"AbstractDisplaySettings"}, :DeviceCapability=>{:fields=>[], :base=>"Technology"}, :DeviceCapabilityTargeting=>{:fields=>[{:name=>:targeted_device_capabilities, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_device_capabilities, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DeviceCategory=>{:fields=>[], :base=>"Technology"}, :DeviceCategoryTargeting=>{:fields=>[{:name=>:targeted_device_categories, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_device_categories, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DeviceManufacturer=>{:fields=>[], :base=>"Technology"}, :DeviceManufacturerTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityChildrenLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityChildrenLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :GenericTargetingError=>{:fields=>[{:name=>:reason, :type=>"GenericTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GeoTargeting=>{:fields=>[{:name=>:targeted_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}]}, :GeoTargetingError=>{:fields=>[{:name=>:reason, :type=>"GeoTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :InventorySizeTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeted_sizes, :type=>"TargetedSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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}]}, :InventoryTargetingError=>{:fields=>[{:name=>:reason, :type=>"InventoryTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InventoryUrl=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :InventoryUrlTargeting=>{:fields=>[{:name=>:targeted_urls, :type=>"InventoryUrl", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_urls, :type=>"InventoryUrl", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Location=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:canonical_parent_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SdkMediationSettings=>{:fields=>[{:name=>:parameters, :type=>"YieldParameter_StringMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:yield_integration_type, :type=>"YieldIntegrationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:platform, :type=>"YieldPlatform", :min_occurs=>0, :max_occurs=>1}], :base=>"AbstractDisplaySettings"}, :MobileApplicationTargeting=>{:fields=>[{:name=>:mobile_application_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :MobileApplicationTargetingError=>{:fields=>[{:name=>:reason, :type=>"MobileApplicationTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :MobileCarrier=>{:fields=>[], :base=>"Technology"}, :MobileCarrierTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_carriers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MobileDevice=>{:fields=>[{:name=>:manufacturer_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :MobileDeviceSubmodel=>{:fields=>[{:name=>:mobile_device_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturer_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :MobileDeviceSubmodelTargeting=>{:fields=>[{:name=>:targeted_mobile_device_submodels, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_mobile_device_submodels, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MobileDeviceTargeting=>{:fields=>[{:name=>:targeted_mobile_devices, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_mobile_devices, :type=>"Technology", :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}]}, :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"}, :OperatingSystem=>{:fields=>[], :base=>"Technology"}, :OperatingSystemTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_systems, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :OperatingSystemVersion=>{:fields=>[{:name=>:major_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minor_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :OperatingSystemVersionTargeting=>{:fields=>[{:name=>:targeted_operating_system_versions, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_operating_system_versions, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :RequestPlatformTargeting=>{:fields=>[{:name=>:targeted_request_platforms, :type=>"RequestPlatform", :min_occurs=>0, :max_occurs=>:unbounded}]}, :RequestPlatformTargetingError=>{:fields=>[{:name=>:reason, :type=>"RequestPlatformTargetingError.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"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TargetedSize=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}]}, :Targeting=>{:fields=>[{:name=>:geo_targeting, :type=>"GeoTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_targeting, :type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:day_part_targeting, :type=>"DayPartTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:date_time_range_targeting, :type=>"DateTimeRangeTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:technology_targeting, :type=>"TechnologyTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_targeting, :type=>"CustomCriteriaSet", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_domain_targeting, :type=>"UserDomainTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_targeting, :type=>"ContentTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_position_targeting, :type=>"VideoPositionTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_application_targeting, :type=>"MobileApplicationTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:buyer_user_list_targeting, :type=>"BuyerUserListTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_url_targeting, :type=>"InventoryUrlTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:request_platform_targeting, :type=>"RequestPlatformTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_size_targeting, :type=>"InventorySizeTargeting", :min_occurs=>0, :max_occurs=>1}]}, :Technology=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :TechnologyTargetingError=>{:fields=>[{:name=>:reason, :type=>"TechnologyTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TimeOfDay=>{:fields=>[{:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}]}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UserDomainTargeting=>{:fields=>[{:name=>:domains, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :UserDomainTargetingError=>{:fields=>[{:name=>:reason, :type=>"UserDomainTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :VideoPosition=>{:fields=>[{:name=>:position_type, :type=>"VideoPosition.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:midroll_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :VideoPositionTargeting=>{:fields=>[{:name=>:targeted_positions, :type=>"VideoPositionTarget", :min_occurs=>0, :max_occurs=>:unbounded}]}, :VideoPositionTargetingError=>{:fields=>[{:name=>:reason, :type=>"VideoPositionTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :VideoPositionWithinPod=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :VideoPositionTarget=>{:fields=>[{:name=>:video_position, :type=>"VideoPosition", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_bumper_type, :type=>"VideoBumperType", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_position_within_pod, :type=>"VideoPositionWithinPod", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_spot_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :YieldAdSource=>{:fields=>[{:name=>:ad_source_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_settings, :type=>"AbstractDisplaySettings", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"YieldEntityStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:manual_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_dynamic_cpm, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :YieldError=>{:fields=>[{:name=>:reason, :type=>"YieldError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :YieldGroup=>{:fields=>[{:name=>:yield_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:yield_group_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:exchange_status, :type=>"YieldEntityStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:format, :type=>"YieldFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"YieldEnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting, :type=>"Targeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_sources, :type=>"YieldAdSource", :min_occurs=>0, :max_occurs=>:unbounded}]}, :YieldGroupPage=>{: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=>"YieldGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}, :YieldParameter=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_optional, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :YieldParameter_StringMapEntry=>{:fields=>[{:name=>:key, :type=>"YieldParameter", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :YieldPartner=>{:fields=>[{:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:settings, :type=>"YieldPartnerSettings", :min_occurs=>0, :max_occurs=>:unbounded}]}, :YieldPartnerSettings=>{:fields=>[{:name=>:status, :type=>"PartnerSettingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment, :type=>"YieldEnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:format, :type=>"YieldFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:integration_type, :type=>"YieldIntegrationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:platform, :type=>"YieldPlatform", :min_occurs=>0, :max_occurs=>1}, {:name=>:parameters, :type=>"YieldParameter", :min_occurs=>0, :max_occurs=>:unbounded}]}, :"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"]}, :"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_CONTENT_METADATA_MAPPING", "CANNOT_DELETE_CUSTOM_VALUE_USED_IN_CONTENT_METADATA_MAPPING", "CANNOT_DELETE_CUSTOM_KEY_USED_IN_PARTNER_ASSIGNMENT_TARGETING", "CANNOT_DELETE_CUSTOM_VALUE_USED_IN_PARTNER_ASSIGNMENT_TARGETING", "CANNOT_TARGET_AUDIENCE_SEGMENT", "CANNOT_TARGET_THIRD_PARTY_AUDIENCE_SEGMENT", "CANNOT_TARGET_INACTIVE_AUDIENCE_SEGMENT", "INVALID_AUDIENCE_SEGMENTS", "CANNOT_TARGET_MAPPED_METADATA", "ONLY_APPROVED_AUDIENCE_SEGMENTS_CAN_BE_TARGETED", "UNKNOWN"]}, :"AudienceSegmentCriteria.ComparisonOperator"=>{:type=>"string", :enumerations=>["IS", "IS_NOT"]}, :"DateTimeRangeTargetingError.Reason"=>{:type=>"string", :enumerations=>["EMPTY_RANGES", "NOT_SPONSORSHIP_LINEITEM", "NOT_SPONSORSHIP_OR_STANDARD_LINEITEM", "UNSUPPORTED_LINEITEM_RESERVATION_TYPE", "PAST_RANGES_CHANGED", "RANGES_OVERLAP", "FIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME", "LAST_DATE_TIME_DOES_NOT_MATCH_END_TIME", "RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD", "START_TIME_IS_NOT_START_OF_DAY", "END_TIME_IS_NOT_END_OF_DAY", "START_DATE_TIME_IS_IN_PAST", "MODIFY_START_DATE_TIME_TO_PAST", "RANGE_END_TIME_BEFORE_START_TIME", "END_DATE_TIME_IS_TOO_LATE", "LIMITED_RANGES_IN_UNLIMITED_LINEITEM", "UNKNOWN"]}, :DayOfWeek=>{:type=>"string", :enumerations=>["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]}, :"DayPartTargetingError.Reason"=>{:type=>"string", :enumerations=>["INVALID_HOUR", "INVALID_MINUTE", "END_TIME_NOT_AFTER_START_TIME", "TIME_PERIODS_OVERLAP", "UNKNOWN"]}, :DeliveryTimeZone=>{:type=>"string", :enumerations=>["PUBLISHER", "BROWSER"]}, :"DistinctError.Reason"=>{:type=>"string", :enumerations=>["DUPLICATE_ELEMENT", "DUPLICATE_TYPE"]}, :"EntityChildrenLimitReachedError.Reason"=>{:type=>"string", :enumerations=>["LINE_ITEM_LIMIT_FOR_ORDER_REACHED", "CREATIVE_ASSOCIATION_LIMIT_FOR_LINE_ITEM_REACHED", "AD_UNIT_LIMIT_FOR_PLACEMENT_REACHED", "TARGETING_EXPRESSION_LIMIT_FOR_LINE_ITEM_REACHED", "TARGETING_EXPRESSION_SIZE_LIMIT_REACHED", "CUSTOM_TARGETING_VALUES_FOR_KEY_LIMIT_REACHED", "TARGETING_EXPRESSION_LIMIT_FOR_CREATIVES_ON_LINE_ITEM_REACHED", "ATTACHMENT_LIMIT_FOR_PROPOSAL_REACHED", "PROPOSAL_LINE_ITEM_LIMIT_FOR_PROPOSAL_REACHED", "PRODUCT_LIMIT_FOR_PRODUCT_PACKAGE_REACHED", "PRODUCT_TEMPLATE_AND_PRODUCT_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED", "PRODUCT_PACKAGE_ITEM_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED", "PREMIUM_LIMIT_FOR_RATE_CARD_REACHED", "AD_UNIT_LIMIT_FOR_AD_EXCLUSION_RULE_TARGETING_REACHED", "NATIVE_STYLE_LIMIT_FOR_NATIVE_AD_FORMAT_REACHED", "TARGETING_EXPRESSION_LIMIT_FOR_PRESENTATION_ASSIGNMENT_REACHED", "UNKNOWN"]}, :"EntityLimitReachedError.Reason"=>{:type=>"string", :enumerations=>["CUSTOM_TARGETING_VALUES_LIMIT_REACHED", "AD_EXCLUSION_RULES_LIMIT_REACHED", "FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED", "PLACEMENTS_LIMIT_REACHED", "LINE_ITEMS_LIMIT_REACHED", "ACTIVE_LINE_ITEMS_LIMIT_REACHED", "DAI_ENCODING_PROFILES_LIMIT_REACHED", "TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED", "FORECAST_ADJUSTMENTS_LIMIT_REACHED", "ACTIVE_EXPERIMENTS_LIMIT_REACHED", "SITES_LIMIT_REACHED", "UNKNOWN"]}, :"FeatureError.Reason"=>{:type=>"string", :enumerations=>["MISSING_FEATURE", "UNKNOWN"]}, :"GenericTargetingError.Reason"=>{:type=>"string", :enumerations=>["CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS", "INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA", "UNKNOWN"]}, :"GeoTargetingError.Reason"=>{:type=>"string", :enumerations=>["TARGETED_LOCATIONS_NOT_EXCLUDABLE", "EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED", "POSTAL_CODES_CANNOT_BE_EXCLUDED", "UNTARGETABLE_LOCATION", "UNKNOWN"]}, :"IdError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND"]}, :"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"]}, :"InventoryTargetingError.Reason"=>{:type=>"string", :enumerations=>["AT_LEAST_ONE_PLACEMENT_OR_INVENTORY_UNIT_REQUIRED", "INVENTORY_CANNOT_BE_TARGETED_AND_EXCLUDED", "INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_TARGETED", "INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_EXCLUDED", "INVENTORY_UNIT_CANNOT_BE_EXCLUDED_IF_ANCESTOR_IS_EXCLUDED", "EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_TARGETED", "EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_EXCLUDED", "SELF_ONLY_INVENTORY_UNIT_NOT_ALLOWED", "SELF_ONLY_INVENTORY_UNIT_WITHOUT_DESCENDANTS", "YOUTUBE_AUDIENCE_SEGMENTS_CAN_ONLY_BE_TARGETED_WITH_YOUTUBE_SHARED_INVENTORY", "UNKNOWN"]}, :MinuteOfHour=>{:type=>"string", :enumerations=>["ZERO", "FIFTEEN", "THIRTY", "FORTY_FIVE"]}, :"MobileApplicationTargetingError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_TARGET_UNLINKED_APPLICATION", "UNKNOWN"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :PartnerSettingStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "PENDING", "ACTIVE", "DEPRECATED"]}, :"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"]}, :RequestPlatform=>{:type=>"string", :enumerations=>["UNKNOWN", "BROWSER", "MOBILE_APP", "VIDEO_PLAYER"]}, :"RequestPlatformTargetingError.Reason"=>{:type=>"string", :enumerations=>["REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE", "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"]}, :"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"]}, :"TechnologyTargetingError.Reason"=>{:type=>"string", :enumerations=>["MOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA", "WEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA", "MOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED", "DEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED", "UNKNOWN"]}, :"UserDomainTargetingError.Reason"=>{:type=>"string", :enumerations=>["INVALID_DOMAIN_NAMES", "UNKNOWN"]}, :VideoBumperType=>{:type=>"string", :enumerations=>["BEFORE", "AFTER"]}, :"VideoPosition.Type"=>{:type=>"string", :enumerations=>["UNKNOWN", "ALL", "PREROLL", "MIDROLL", "POSTROLL"]}, :"VideoPositionTargetingError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING", "INVALID_BUMPER_TARGETING", "CAN_ONLY_TARGET_CUSTOM_AD_SPOTS", "UNKNOWN"]}, :YieldEntityStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "EXPERIMENTING", "ACTIVE", "INACTIVE", "DELETED"]}, :YieldEnvironmentType=>{:type=>"string", :enumerations=>["UNKNOWN", "MOBILE", "VIDEO_VAST", "WEB"]}, :"YieldError.Reason"=>{:type=>"string", :enumerations=>["INVALID_BACKEND_DATA", "INVALID_REQUEST_DATA", "AD_SOURCE_COMPANY_CHANGE", "UNSUPPORTED_COMPANY_INTEGRATION_TYPE", "UNSUPPORTED_BUYER_SETTINGS", "DEPRECATED_AD_NETWORK_ADAPTER", "TOO_MANY_UPDATES", "DUPLICATE_YIELD_PARTNER", "DUPLICATE_HEADER_BIDDER", "INTERNAL_ERROR", "INVALID_EXCHANGE_STATUS", "INVALID_AD_SOURCE_STATUS", "INVALID_SDK_ADAPTER_KEY_NAME", "INVENTORY_UNIT_MAPPING_NOT_FOUND", "NO_COMPANIES_PERMISSION", "UNKNOWN"]}, :YieldFormat=>{:type=>"string", :enumerations=>["UNKNOWN", "BANNER", "INTERSTITIAL", "NATIVE", "VIDEO_VAST", "REWARDED", "REWARDED_INTERSTITIAL"]}, :YieldIntegrationType=>{:type=>"string", :enumerations=>["UNKNOWN", "CUSTOM_EVENT", "SDK", "OPEN_BIDDING", "NETWORK_BIDDING"]}, :YieldPlatform=>{:type=>"string", :enumerations=>["UNKNOWN", "ANDROID", "IOS"]}}
15
+ YIELDGROUPSERVICE_TYPES = {:AbstractDisplaySettings=>{:fields=>[], :abstract=>true}, :ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :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"}, :TechnologyTargeting=>{:fields=>[{:name=>:bandwidth_group_targeting, :type=>"BandwidthGroupTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_targeting, :type=>"BrowserTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_language_targeting, :type=>"BrowserLanguageTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_capability_targeting, :type=>"DeviceCapabilityTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_category_targeting, :type=>"DeviceCategoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturer_targeting, :type=>"DeviceManufacturerTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_carrier_targeting, :type=>"MobileCarrierTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_device_targeting, :type=>"MobileDeviceTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_device_submodel_targeting, :type=>"MobileDeviceSubmodelTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_targeting, :type=>"OperatingSystemTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_version_targeting, :type=>"OperatingSystemVersionTargeting", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :BandwidthGroup=>{:fields=>[], :base=>"Technology"}, :BandwidthGroupTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:bandwidth_groups, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :Browser=>{:fields=>[{:name=>:major_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:minor_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :BrowserLanguage=>{:fields=>[], :base=>"Technology"}, :BrowserLanguageTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_languages, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BrowserTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:browsers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BuyerUserListTargeting=>{:fields=>[{:name=>:has_buyer_user_list_targeting, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :ContentTargeting=>{:fields=>[{:name=>:targeted_content_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_content_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_video_content_bundle_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_video_content_bundle_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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}]}, :DateTimeRange=>{:fields=>[{:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeRangeTargeting=>{:fields=>[{:name=>:targeted_date_time_ranges, :type=>"DateTimeRange", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DateTimeRangeTargetingError=>{:fields=>[{:name=>:reason, :type=>"DateTimeRangeTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :DayPart=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_time, :type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_time, :type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1}]}, :DayPartTargeting=>{:fields=>[{:name=>:day_parts, :type=>"DayPart", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:time_zone, :type=>"DeliveryTimeZone", :min_occurs=>0, :max_occurs=>1}]}, :DayPartTargetingError=>{:fields=>[{:name=>:reason, :type=>"DayPartTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OpenBiddingSetting=>{:fields=>[{:name=>:yield_integration_type, :type=>"YieldIntegrationType", :min_occurs=>0, :max_occurs=>1}], :base=>"AbstractDisplaySettings"}, :DeviceCapability=>{:fields=>[], :base=>"Technology"}, :DeviceCapabilityTargeting=>{:fields=>[{:name=>:targeted_device_capabilities, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_device_capabilities, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DeviceCategory=>{:fields=>[], :base=>"Technology"}, :DeviceCategoryTargeting=>{:fields=>[{:name=>:targeted_device_categories, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_device_categories, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DeviceManufacturer=>{:fields=>[], :base=>"Technology"}, :DeviceManufacturerTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityChildrenLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityChildrenLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :GenericTargetingError=>{:fields=>[{:name=>:reason, :type=>"GenericTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GeoTargeting=>{:fields=>[{:name=>:targeted_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}]}, :GeoTargetingError=>{:fields=>[{:name=>:reason, :type=>"GeoTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :InventorySizeTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeted_sizes, :type=>"TargetedSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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}]}, :InventoryTargetingError=>{:fields=>[{:name=>:reason, :type=>"InventoryTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InventoryUrl=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :InventoryUrlTargeting=>{:fields=>[{:name=>:targeted_urls, :type=>"InventoryUrl", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_urls, :type=>"InventoryUrl", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Location=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:canonical_parent_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SdkMediationSettings=>{:fields=>[{:name=>:parameters, :type=>"YieldParameter_StringMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:yield_integration_type, :type=>"YieldIntegrationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:platform, :type=>"YieldPlatform", :min_occurs=>0, :max_occurs=>1}], :base=>"AbstractDisplaySettings"}, :MobileApplicationTargeting=>{:fields=>[{:name=>:mobile_application_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :MobileApplicationTargetingError=>{:fields=>[{:name=>:reason, :type=>"MobileApplicationTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :MobileCarrier=>{:fields=>[], :base=>"Technology"}, :MobileCarrierTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_carriers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MobileDevice=>{:fields=>[{:name=>:manufacturer_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :MobileDeviceSubmodel=>{:fields=>[{:name=>:mobile_device_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturer_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :MobileDeviceSubmodelTargeting=>{:fields=>[{:name=>:targeted_mobile_device_submodels, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_mobile_device_submodels, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MobileDeviceTargeting=>{:fields=>[{:name=>:targeted_mobile_devices, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_mobile_devices, :type=>"Technology", :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}]}, :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"}, :OperatingSystem=>{:fields=>[], :base=>"Technology"}, :OperatingSystemTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_systems, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :OperatingSystemVersion=>{:fields=>[{:name=>:major_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minor_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :OperatingSystemVersionTargeting=>{:fields=>[{:name=>:targeted_operating_system_versions, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_operating_system_versions, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :RequestPlatformTargeting=>{:fields=>[{:name=>:targeted_request_platforms, :type=>"RequestPlatform", :min_occurs=>0, :max_occurs=>:unbounded}]}, :RequestPlatformTargetingError=>{:fields=>[{:name=>:reason, :type=>"RequestPlatformTargetingError.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"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TargetedSize=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}]}, :Targeting=>{:fields=>[{:name=>:geo_targeting, :type=>"GeoTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_targeting, :type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:day_part_targeting, :type=>"DayPartTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:date_time_range_targeting, :type=>"DateTimeRangeTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:technology_targeting, :type=>"TechnologyTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_targeting, :type=>"CustomCriteriaSet", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_domain_targeting, :type=>"UserDomainTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_targeting, :type=>"ContentTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_position_targeting, :type=>"VideoPositionTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_application_targeting, :type=>"MobileApplicationTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:buyer_user_list_targeting, :type=>"BuyerUserListTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_url_targeting, :type=>"InventoryUrlTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:request_platform_targeting, :type=>"RequestPlatformTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_size_targeting, :type=>"InventorySizeTargeting", :min_occurs=>0, :max_occurs=>1}]}, :Technology=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :TechnologyTargetingError=>{:fields=>[{:name=>:reason, :type=>"TechnologyTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TimeOfDay=>{:fields=>[{:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}]}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UserDomainTargeting=>{:fields=>[{:name=>:domains, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :UserDomainTargetingError=>{:fields=>[{:name=>:reason, :type=>"UserDomainTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :VideoPosition=>{:fields=>[{:name=>:position_type, :type=>"VideoPosition.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:midroll_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :VideoPositionTargeting=>{:fields=>[{:name=>:targeted_positions, :type=>"VideoPositionTarget", :min_occurs=>0, :max_occurs=>:unbounded}]}, :VideoPositionTargetingError=>{:fields=>[{:name=>:reason, :type=>"VideoPositionTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :VideoPositionWithinPod=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :VideoPositionTarget=>{:fields=>[{:name=>:video_position, :type=>"VideoPosition", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_bumper_type, :type=>"VideoBumperType", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_position_within_pod, :type=>"VideoPositionWithinPod", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_spot_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :YieldAdSource=>{:fields=>[{:name=>:ad_source_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_settings, :type=>"AbstractDisplaySettings", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"YieldEntityStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:manual_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_dynamic_cpm, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :YieldError=>{:fields=>[{:name=>:reason, :type=>"YieldError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :YieldGroup=>{:fields=>[{:name=>:yield_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:yield_group_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:exchange_status, :type=>"YieldEntityStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:format, :type=>"YieldFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"YieldEnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting, :type=>"Targeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_sources, :type=>"YieldAdSource", :min_occurs=>0, :max_occurs=>:unbounded}]}, :YieldGroupPage=>{: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=>"YieldGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}, :YieldParameter=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_optional, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :YieldParameter_StringMapEntry=>{:fields=>[{:name=>:key, :type=>"YieldParameter", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :YieldPartner=>{:fields=>[{:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:settings, :type=>"YieldPartnerSettings", :min_occurs=>0, :max_occurs=>:unbounded}]}, :YieldPartnerSettings=>{:fields=>[{:name=>:status, :type=>"PartnerSettingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment, :type=>"YieldEnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:format, :type=>"YieldFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:integration_type, :type=>"YieldIntegrationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:platform, :type=>"YieldPlatform", :min_occurs=>0, :max_occurs=>1}, {:name=>:parameters, :type=>"YieldParameter", :min_occurs=>0, :max_occurs=>:unbounded}]}, :"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"]}, :"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_CONTENT_METADATA_MAPPING", "CANNOT_DELETE_CUSTOM_VALUE_USED_IN_CONTENT_METADATA_MAPPING", "CANNOT_DELETE_CUSTOM_KEY_USED_IN_PARTNER_ASSIGNMENT_TARGETING", "CANNOT_DELETE_CUSTOM_VALUE_USED_IN_PARTNER_ASSIGNMENT_TARGETING", "CANNOT_TARGET_AUDIENCE_SEGMENT", "CANNOT_TARGET_THIRD_PARTY_AUDIENCE_SEGMENT", "CANNOT_TARGET_INACTIVE_AUDIENCE_SEGMENT", "INVALID_AUDIENCE_SEGMENTS", "CANNOT_TARGET_MAPPED_METADATA", "ONLY_APPROVED_AUDIENCE_SEGMENTS_CAN_BE_TARGETED", "UNKNOWN"]}, :"AudienceSegmentCriteria.ComparisonOperator"=>{:type=>"string", :enumerations=>["IS", "IS_NOT"]}, :"DateTimeRangeTargetingError.Reason"=>{:type=>"string", :enumerations=>["EMPTY_RANGES", "NOT_SPONSORSHIP_LINEITEM", "NOT_SPONSORSHIP_OR_STANDARD_LINEITEM", "UNSUPPORTED_LINEITEM_RESERVATION_TYPE", "PAST_RANGES_CHANGED", "RANGES_OVERLAP", "FIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME", "LAST_DATE_TIME_DOES_NOT_MATCH_END_TIME", "RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD", "START_TIME_IS_NOT_START_OF_DAY", "END_TIME_IS_NOT_END_OF_DAY", "START_DATE_TIME_IS_IN_PAST", "MODIFY_START_DATE_TIME_TO_PAST", "RANGE_END_TIME_BEFORE_START_TIME", "END_DATE_TIME_IS_TOO_LATE", "LIMITED_RANGES_IN_UNLIMITED_LINEITEM", "UNKNOWN"]}, :DayOfWeek=>{:type=>"string", :enumerations=>["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]}, :"DayPartTargetingError.Reason"=>{:type=>"string", :enumerations=>["INVALID_HOUR", "INVALID_MINUTE", "END_TIME_NOT_AFTER_START_TIME", "TIME_PERIODS_OVERLAP", "UNKNOWN"]}, :DeliveryTimeZone=>{:type=>"string", :enumerations=>["PUBLISHER", "BROWSER"]}, :"DistinctError.Reason"=>{:type=>"string", :enumerations=>["DUPLICATE_ELEMENT", "DUPLICATE_TYPE"]}, :"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"]}, :"GenericTargetingError.Reason"=>{:type=>"string", :enumerations=>["CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS", "INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA", "UNKNOWN"]}, :"GeoTargetingError.Reason"=>{:type=>"string", :enumerations=>["TARGETED_LOCATIONS_NOT_EXCLUDABLE", "EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED", "POSTAL_CODES_CANNOT_BE_EXCLUDED", "UNTARGETABLE_LOCATION", "UNKNOWN"]}, :"IdError.Reason"=>{:type=>"string", :enumerations=>["NOT_FOUND"]}, :"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"]}, :"InventoryTargetingError.Reason"=>{:type=>"string", :enumerations=>["AT_LEAST_ONE_PLACEMENT_OR_INVENTORY_UNIT_REQUIRED", "INVENTORY_CANNOT_BE_TARGETED_AND_EXCLUDED", "INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_TARGETED", "INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_EXCLUDED", "INVENTORY_UNIT_CANNOT_BE_EXCLUDED_IF_ANCESTOR_IS_EXCLUDED", "EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_TARGETED", "EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_EXCLUDED", "SELF_ONLY_INVENTORY_UNIT_NOT_ALLOWED", "SELF_ONLY_INVENTORY_UNIT_WITHOUT_DESCENDANTS", "YOUTUBE_AUDIENCE_SEGMENTS_CAN_ONLY_BE_TARGETED_WITH_YOUTUBE_SHARED_INVENTORY", "UNKNOWN"]}, :MinuteOfHour=>{:type=>"string", :enumerations=>["ZERO", "FIFTEEN", "THIRTY", "FORTY_FIVE"]}, :"MobileApplicationTargetingError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_TARGET_UNLINKED_APPLICATION", "UNKNOWN"]}, :"NotNullError.Reason"=>{:type=>"string", :enumerations=>["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, :"ParseError.Reason"=>{:type=>"string", :enumerations=>["UNPARSABLE", "UNKNOWN"]}, :PartnerSettingStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "PENDING", "ACTIVE", "DEPRECATED"]}, :"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"]}, :RequestPlatform=>{:type=>"string", :enumerations=>["UNKNOWN", "BROWSER", "MOBILE_APP", "VIDEO_PLAYER"]}, :"RequestPlatformTargetingError.Reason"=>{:type=>"string", :enumerations=>["REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE", "REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE", "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"]}, :"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"]}, :"TechnologyTargetingError.Reason"=>{:type=>"string", :enumerations=>["MOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA", "WEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA", "MOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED", "DEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED", "UNKNOWN"]}, :"UserDomainTargetingError.Reason"=>{:type=>"string", :enumerations=>["INVALID_DOMAIN_NAMES", "UNKNOWN"]}, :VideoBumperType=>{:type=>"string", :enumerations=>["BEFORE", "AFTER"]}, :"VideoPosition.Type"=>{:type=>"string", :enumerations=>["UNKNOWN", "ALL", "PREROLL", "MIDROLL", "POSTROLL"]}, :"VideoPositionTargetingError.Reason"=>{:type=>"string", :enumerations=>["CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING", "INVALID_BUMPER_TARGETING", "CAN_ONLY_TARGET_CUSTOM_AD_SPOTS", "UNKNOWN"]}, :YieldEntityStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "EXPERIMENTING", "ACTIVE", "INACTIVE", "DELETED"]}, :YieldEnvironmentType=>{:type=>"string", :enumerations=>["UNKNOWN", "MOBILE", "VIDEO_VAST", "WEB"]}, :"YieldError.Reason"=>{:type=>"string", :enumerations=>["INVALID_BACKEND_DATA", "INVALID_REQUEST_DATA", "AD_SOURCE_COMPANY_CHANGE", "UNSUPPORTED_COMPANY_INTEGRATION_TYPE", "UNSUPPORTED_BUYER_SETTINGS", "DEPRECATED_AD_NETWORK_ADAPTER", "TOO_MANY_UPDATES", "DUPLICATE_YIELD_PARTNER", "DUPLICATE_HEADER_BIDDER", "INTERNAL_ERROR", "INVALID_EXCHANGE_STATUS", "INVALID_AD_SOURCE_STATUS", "INVALID_SDK_ADAPTER_KEY_NAME", "INVENTORY_UNIT_MAPPING_NOT_FOUND", "NO_COMPANIES_PERMISSION", "INVENTORY_UNIT_MAPPING_INVALID_PARAMETER", "UNSUPPORTED_FORMAT_AND_ENVIRONMENT", "UNKNOWN"]}, :YieldFormat=>{:type=>"string", :enumerations=>["UNKNOWN", "BANNER", "INTERSTITIAL", "NATIVE", "VIDEO_VAST", "REWARDED", "REWARDED_INTERSTITIAL", "APP_OPEN"]}, :YieldIntegrationType=>{:type=>"string", :enumerations=>["UNKNOWN", "CUSTOM_EVENT", "SDK", "OPEN_BIDDING", "NETWORK_BIDDING"]}, :YieldPlatform=>{:type=>"string", :enumerations=>["UNKNOWN", "ANDROID", "IOS"]}}
16
16
  YIELDGROUPSERVICE_NAMESPACES = []
17
17
 
18
18
  def self.get_method_signature(method_name)
@@ -19,6 +19,6 @@
19
19
 
20
20
  module AdManagerApi
21
21
  module ApiConfig
22
- CLIENT_LIB_VERSION = '2.5.0'
22
+ CLIENT_LIB_VERSION = '3.0.0'
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-dfp-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danial Klimkin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-07 00:00:00.000000000 Z
12
+ date: 2024-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-ads-common
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.0.0
20
+ version: '2.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.0.0
27
+ version: '2.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: tzinfo
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -64,94 +64,6 @@ files:
64
64
  - lib/ad_manager_api/pql_statement_utils.rb
65
65
  - lib/ad_manager_api/utils.rb
66
66
  - lib/ad_manager_api/utils_reporter.rb
67
- - lib/ad_manager_api/v202302/activity_group_service.rb
68
- - lib/ad_manager_api/v202302/activity_group_service_registry.rb
69
- - lib/ad_manager_api/v202302/activity_service.rb
70
- - lib/ad_manager_api/v202302/activity_service_registry.rb
71
- - lib/ad_manager_api/v202302/ad_rule_service.rb
72
- - lib/ad_manager_api/v202302/ad_rule_service_registry.rb
73
- - lib/ad_manager_api/v202302/adjustment_service.rb
74
- - lib/ad_manager_api/v202302/adjustment_service_registry.rb
75
- - lib/ad_manager_api/v202302/audience_segment_service.rb
76
- - lib/ad_manager_api/v202302/audience_segment_service_registry.rb
77
- - lib/ad_manager_api/v202302/cdn_configuration_service.rb
78
- - lib/ad_manager_api/v202302/cdn_configuration_service_registry.rb
79
- - lib/ad_manager_api/v202302/cms_metadata_service.rb
80
- - lib/ad_manager_api/v202302/cms_metadata_service_registry.rb
81
- - lib/ad_manager_api/v202302/company_service.rb
82
- - lib/ad_manager_api/v202302/company_service_registry.rb
83
- - lib/ad_manager_api/v202302/contact_service.rb
84
- - lib/ad_manager_api/v202302/contact_service_registry.rb
85
- - lib/ad_manager_api/v202302/content_bundle_service.rb
86
- - lib/ad_manager_api/v202302/content_bundle_service_registry.rb
87
- - lib/ad_manager_api/v202302/content_service.rb
88
- - lib/ad_manager_api/v202302/content_service_registry.rb
89
- - lib/ad_manager_api/v202302/creative_review_service.rb
90
- - lib/ad_manager_api/v202302/creative_review_service_registry.rb
91
- - lib/ad_manager_api/v202302/creative_service.rb
92
- - lib/ad_manager_api/v202302/creative_service_registry.rb
93
- - lib/ad_manager_api/v202302/creative_set_service.rb
94
- - lib/ad_manager_api/v202302/creative_set_service_registry.rb
95
- - lib/ad_manager_api/v202302/creative_template_service.rb
96
- - lib/ad_manager_api/v202302/creative_template_service_registry.rb
97
- - lib/ad_manager_api/v202302/creative_wrapper_service.rb
98
- - lib/ad_manager_api/v202302/creative_wrapper_service_registry.rb
99
- - lib/ad_manager_api/v202302/custom_field_service.rb
100
- - lib/ad_manager_api/v202302/custom_field_service_registry.rb
101
- - lib/ad_manager_api/v202302/custom_targeting_service.rb
102
- - lib/ad_manager_api/v202302/custom_targeting_service_registry.rb
103
- - lib/ad_manager_api/v202302/dai_authentication_key_service.rb
104
- - lib/ad_manager_api/v202302/dai_authentication_key_service_registry.rb
105
- - lib/ad_manager_api/v202302/dai_encoding_profile_service.rb
106
- - lib/ad_manager_api/v202302/dai_encoding_profile_service_registry.rb
107
- - lib/ad_manager_api/v202302/forecast_service.rb
108
- - lib/ad_manager_api/v202302/forecast_service_registry.rb
109
- - lib/ad_manager_api/v202302/inventory_service.rb
110
- - lib/ad_manager_api/v202302/inventory_service_registry.rb
111
- - lib/ad_manager_api/v202302/label_service.rb
112
- - lib/ad_manager_api/v202302/label_service_registry.rb
113
- - lib/ad_manager_api/v202302/line_item_creative_association_service.rb
114
- - lib/ad_manager_api/v202302/line_item_creative_association_service_registry.rb
115
- - lib/ad_manager_api/v202302/line_item_service.rb
116
- - lib/ad_manager_api/v202302/line_item_service_registry.rb
117
- - lib/ad_manager_api/v202302/line_item_template_service.rb
118
- - lib/ad_manager_api/v202302/line_item_template_service_registry.rb
119
- - lib/ad_manager_api/v202302/live_stream_event_service.rb
120
- - lib/ad_manager_api/v202302/live_stream_event_service_registry.rb
121
- - lib/ad_manager_api/v202302/mobile_application_service.rb
122
- - lib/ad_manager_api/v202302/mobile_application_service_registry.rb
123
- - lib/ad_manager_api/v202302/native_style_service.rb
124
- - lib/ad_manager_api/v202302/native_style_service_registry.rb
125
- - lib/ad_manager_api/v202302/network_service.rb
126
- - lib/ad_manager_api/v202302/network_service_registry.rb
127
- - lib/ad_manager_api/v202302/order_service.rb
128
- - lib/ad_manager_api/v202302/order_service_registry.rb
129
- - lib/ad_manager_api/v202302/placement_service.rb
130
- - lib/ad_manager_api/v202302/placement_service_registry.rb
131
- - lib/ad_manager_api/v202302/proposal_line_item_service.rb
132
- - lib/ad_manager_api/v202302/proposal_line_item_service_registry.rb
133
- - lib/ad_manager_api/v202302/proposal_service.rb
134
- - lib/ad_manager_api/v202302/proposal_service_registry.rb
135
- - lib/ad_manager_api/v202302/publisher_query_language_service.rb
136
- - lib/ad_manager_api/v202302/publisher_query_language_service_registry.rb
137
- - lib/ad_manager_api/v202302/report_service.rb
138
- - lib/ad_manager_api/v202302/report_service_registry.rb
139
- - lib/ad_manager_api/v202302/site_service.rb
140
- - lib/ad_manager_api/v202302/site_service_registry.rb
141
- - lib/ad_manager_api/v202302/stream_activity_monitor_service.rb
142
- - lib/ad_manager_api/v202302/stream_activity_monitor_service_registry.rb
143
- - lib/ad_manager_api/v202302/suggested_ad_unit_service.rb
144
- - lib/ad_manager_api/v202302/suggested_ad_unit_service_registry.rb
145
- - lib/ad_manager_api/v202302/targeting_preset_service.rb
146
- - lib/ad_manager_api/v202302/targeting_preset_service_registry.rb
147
- - lib/ad_manager_api/v202302/team_service.rb
148
- - lib/ad_manager_api/v202302/team_service_registry.rb
149
- - lib/ad_manager_api/v202302/user_service.rb
150
- - lib/ad_manager_api/v202302/user_service_registry.rb
151
- - lib/ad_manager_api/v202302/user_team_association_service.rb
152
- - lib/ad_manager_api/v202302/user_team_association_service_registry.rb
153
- - lib/ad_manager_api/v202302/yield_group_service.rb
154
- - lib/ad_manager_api/v202302/yield_group_service_registry.rb
155
67
  - lib/ad_manager_api/v202305/activity_group_service.rb
156
68
  - lib/ad_manager_api/v202305/activity_group_service_registry.rb
157
69
  - lib/ad_manager_api/v202305/activity_service.rb
@@ -422,6 +334,94 @@ files:
422
334
  - lib/ad_manager_api/v202311/user_team_association_service_registry.rb
423
335
  - lib/ad_manager_api/v202311/yield_group_service.rb
424
336
  - lib/ad_manager_api/v202311/yield_group_service_registry.rb
337
+ - lib/ad_manager_api/v202402/activity_group_service.rb
338
+ - lib/ad_manager_api/v202402/activity_group_service_registry.rb
339
+ - lib/ad_manager_api/v202402/activity_service.rb
340
+ - lib/ad_manager_api/v202402/activity_service_registry.rb
341
+ - lib/ad_manager_api/v202402/ad_rule_service.rb
342
+ - lib/ad_manager_api/v202402/ad_rule_service_registry.rb
343
+ - lib/ad_manager_api/v202402/adjustment_service.rb
344
+ - lib/ad_manager_api/v202402/adjustment_service_registry.rb
345
+ - lib/ad_manager_api/v202402/audience_segment_service.rb
346
+ - lib/ad_manager_api/v202402/audience_segment_service_registry.rb
347
+ - lib/ad_manager_api/v202402/cdn_configuration_service.rb
348
+ - lib/ad_manager_api/v202402/cdn_configuration_service_registry.rb
349
+ - lib/ad_manager_api/v202402/cms_metadata_service.rb
350
+ - lib/ad_manager_api/v202402/cms_metadata_service_registry.rb
351
+ - lib/ad_manager_api/v202402/company_service.rb
352
+ - lib/ad_manager_api/v202402/company_service_registry.rb
353
+ - lib/ad_manager_api/v202402/contact_service.rb
354
+ - lib/ad_manager_api/v202402/contact_service_registry.rb
355
+ - lib/ad_manager_api/v202402/content_bundle_service.rb
356
+ - lib/ad_manager_api/v202402/content_bundle_service_registry.rb
357
+ - lib/ad_manager_api/v202402/content_service.rb
358
+ - lib/ad_manager_api/v202402/content_service_registry.rb
359
+ - lib/ad_manager_api/v202402/creative_service.rb
360
+ - lib/ad_manager_api/v202402/creative_service_registry.rb
361
+ - lib/ad_manager_api/v202402/creative_set_service.rb
362
+ - lib/ad_manager_api/v202402/creative_set_service_registry.rb
363
+ - lib/ad_manager_api/v202402/creative_template_service.rb
364
+ - lib/ad_manager_api/v202402/creative_template_service_registry.rb
365
+ - lib/ad_manager_api/v202402/creative_wrapper_service.rb
366
+ - lib/ad_manager_api/v202402/creative_wrapper_service_registry.rb
367
+ - lib/ad_manager_api/v202402/custom_field_service.rb
368
+ - lib/ad_manager_api/v202402/custom_field_service_registry.rb
369
+ - lib/ad_manager_api/v202402/custom_targeting_service.rb
370
+ - lib/ad_manager_api/v202402/custom_targeting_service_registry.rb
371
+ - lib/ad_manager_api/v202402/dai_authentication_key_service.rb
372
+ - lib/ad_manager_api/v202402/dai_authentication_key_service_registry.rb
373
+ - lib/ad_manager_api/v202402/dai_encoding_profile_service.rb
374
+ - lib/ad_manager_api/v202402/dai_encoding_profile_service_registry.rb
375
+ - lib/ad_manager_api/v202402/forecast_service.rb
376
+ - lib/ad_manager_api/v202402/forecast_service_registry.rb
377
+ - lib/ad_manager_api/v202402/inventory_service.rb
378
+ - lib/ad_manager_api/v202402/inventory_service_registry.rb
379
+ - lib/ad_manager_api/v202402/label_service.rb
380
+ - lib/ad_manager_api/v202402/label_service_registry.rb
381
+ - lib/ad_manager_api/v202402/line_item_creative_association_service.rb
382
+ - lib/ad_manager_api/v202402/line_item_creative_association_service_registry.rb
383
+ - lib/ad_manager_api/v202402/line_item_service.rb
384
+ - lib/ad_manager_api/v202402/line_item_service_registry.rb
385
+ - lib/ad_manager_api/v202402/line_item_template_service.rb
386
+ - lib/ad_manager_api/v202402/line_item_template_service_registry.rb
387
+ - lib/ad_manager_api/v202402/live_stream_event_service.rb
388
+ - lib/ad_manager_api/v202402/live_stream_event_service_registry.rb
389
+ - lib/ad_manager_api/v202402/mobile_application_service.rb
390
+ - lib/ad_manager_api/v202402/mobile_application_service_registry.rb
391
+ - lib/ad_manager_api/v202402/native_style_service.rb
392
+ - lib/ad_manager_api/v202402/native_style_service_registry.rb
393
+ - lib/ad_manager_api/v202402/network_service.rb
394
+ - lib/ad_manager_api/v202402/network_service_registry.rb
395
+ - lib/ad_manager_api/v202402/order_service.rb
396
+ - lib/ad_manager_api/v202402/order_service_registry.rb
397
+ - lib/ad_manager_api/v202402/placement_service.rb
398
+ - lib/ad_manager_api/v202402/placement_service_registry.rb
399
+ - lib/ad_manager_api/v202402/proposal_line_item_service.rb
400
+ - lib/ad_manager_api/v202402/proposal_line_item_service_registry.rb
401
+ - lib/ad_manager_api/v202402/proposal_service.rb
402
+ - lib/ad_manager_api/v202402/proposal_service_registry.rb
403
+ - lib/ad_manager_api/v202402/publisher_query_language_service.rb
404
+ - lib/ad_manager_api/v202402/publisher_query_language_service_registry.rb
405
+ - lib/ad_manager_api/v202402/report_service.rb
406
+ - lib/ad_manager_api/v202402/report_service_registry.rb
407
+ - lib/ad_manager_api/v202402/segment_population_service.rb
408
+ - lib/ad_manager_api/v202402/segment_population_service_registry.rb
409
+ - lib/ad_manager_api/v202402/site_service.rb
410
+ - lib/ad_manager_api/v202402/site_service_registry.rb
411
+ - lib/ad_manager_api/v202402/stream_activity_monitor_service.rb
412
+ - lib/ad_manager_api/v202402/stream_activity_monitor_service_registry.rb
413
+ - lib/ad_manager_api/v202402/suggested_ad_unit_service.rb
414
+ - lib/ad_manager_api/v202402/suggested_ad_unit_service_registry.rb
415
+ - lib/ad_manager_api/v202402/targeting_preset_service.rb
416
+ - lib/ad_manager_api/v202402/targeting_preset_service_registry.rb
417
+ - lib/ad_manager_api/v202402/team_service.rb
418
+ - lib/ad_manager_api/v202402/team_service_registry.rb
419
+ - lib/ad_manager_api/v202402/user_service.rb
420
+ - lib/ad_manager_api/v202402/user_service_registry.rb
421
+ - lib/ad_manager_api/v202402/user_team_association_service.rb
422
+ - lib/ad_manager_api/v202402/user_team_association_service_registry.rb
423
+ - lib/ad_manager_api/v202402/yield_group_service.rb
424
+ - lib/ad_manager_api/v202402/yield_group_service_registry.rb
425
425
  - lib/ad_manager_api/version.rb
426
426
  homepage: https://github.com/googleads/google-api-ads-ruby
427
427
  licenses:
@@ -435,7 +435,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
435
435
  requirements:
436
436
  - - ">="
437
437
  - !ruby/object:Gem::Version
438
- version: '2.6'
438
+ version: '2.7'
439
439
  required_rubygems_version: !ruby/object:Gem::Requirement
440
440
  requirements:
441
441
  - - ">="
@@ -1,45 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2023, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 1.0.3 on 2023-11-03 13:24:28.
9
-
10
- require 'ad_manager_api/errors'
11
-
12
- module AdManagerApi; module V202302; 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=>:status, :type=>"DelegationStatus", :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=>:settings, :type=>"CompanySettings", :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}]}, :CompanySettings=>{:fields=>[]}, :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"}, :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}]}, :DelegationStatus=>{:type=>"string", :enumerations=>["UNKNOWN", "APPROVED", "PENDING", "REJECTED", "WITHDRAWN"]}, :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"]}, :"LabelEntityAssociationError.Reason"=>{:type=>"string", :enumerations=>["DUPLICATE_ASSOCIATION", "INVALID_ASSOCIATION", "NEGATION_NOT_ALLOWED", "DUPLICATE_ASSOCIATION_WITH_NEGATION", "UNKNOWN"]}, :"NetworkError.Reason"=>{:type=>"string", :enumerations=>["UNKNOWN", "MULTI_CURRENCY_NOT_SUPPORTED", "UNSUPPORTED_CURRENCY", "NETWORK_CURRENCY_CANNOT_BE_SAME_AS_SECONDARY", "CANNOT_DELETE_CURRENCY_WITH_ACTIVE_RATE_CARDS", "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"]}, :"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"]}, :"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", "ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED", "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
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2023, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 1.0.3 on 2023-11-03 13:24:32.
9
-
10
- require 'ads_common/savon_service'
11
- require 'ad_manager_api/v202302/creative_review_service_registry'
12
-
13
- module AdManagerApi; module V202302; module CreativeReviewService
14
- class CreativeReviewService < AdsCommon::SavonService
15
- def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v202302'
17
- super(config, endpoint, namespace, :v202302)
18
- end
19
-
20
- def get_creative_reviews_by_statement(*args, &block)
21
- return execute_action('get_creative_reviews_by_statement', args, &block)
22
- end
23
-
24
- def get_creative_reviews_by_statement_to_xml(*args)
25
- return get_soap_xml('get_creative_reviews_by_statement', args)
26
- end
27
-
28
- def perform_creative_review_action(*args, &block)
29
- return execute_action('perform_creative_review_action', args, &block)
30
- end
31
-
32
- def perform_creative_review_action_to_xml(*args)
33
- return get_soap_xml('perform_creative_review_action', args)
34
- end
35
-
36
- private
37
-
38
- def get_service_registry()
39
- return CreativeReviewServiceRegistry
40
- end
41
-
42
- def get_module()
43
- return AdManagerApi::V202302::CreativeReviewService
44
- end
45
- end
46
- end; end; end