google-dfp-api 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (488) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +4 -0
  3. data/lib/dfp_api/v201505/activity_group_service.rb +2 -2
  4. data/lib/dfp_api/v201505/activity_group_service_registry.rb +2 -2
  5. data/lib/dfp_api/v201505/activity_service.rb +2 -2
  6. data/lib/dfp_api/v201505/activity_service_registry.rb +2 -2
  7. data/lib/dfp_api/v201505/ad_exclusion_rule_service.rb +2 -2
  8. data/lib/dfp_api/v201505/ad_exclusion_rule_service_registry.rb +2 -2
  9. data/lib/dfp_api/v201505/ad_rule_service.rb +2 -2
  10. data/lib/dfp_api/v201505/ad_rule_service_registry.rb +2 -2
  11. data/lib/dfp_api/v201505/audience_segment_service.rb +2 -2
  12. data/lib/dfp_api/v201505/audience_segment_service_registry.rb +2 -2
  13. data/lib/dfp_api/v201505/base_rate_service.rb +2 -2
  14. data/lib/dfp_api/v201505/base_rate_service_registry.rb +2 -2
  15. data/lib/dfp_api/v201505/company_service.rb +2 -2
  16. data/lib/dfp_api/v201505/company_service_registry.rb +2 -2
  17. data/lib/dfp_api/v201505/contact_service.rb +2 -2
  18. data/lib/dfp_api/v201505/contact_service_registry.rb +2 -2
  19. data/lib/dfp_api/v201505/content_bundle_service.rb +2 -2
  20. data/lib/dfp_api/v201505/content_bundle_service_registry.rb +2 -2
  21. data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service.rb +2 -2
  22. data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service_registry.rb +2 -2
  23. data/lib/dfp_api/v201505/content_service.rb +2 -2
  24. data/lib/dfp_api/v201505/content_service_registry.rb +2 -2
  25. data/lib/dfp_api/v201505/creative_service.rb +2 -2
  26. data/lib/dfp_api/v201505/creative_service_registry.rb +2 -2
  27. data/lib/dfp_api/v201505/creative_set_service.rb +2 -2
  28. data/lib/dfp_api/v201505/creative_set_service_registry.rb +2 -2
  29. data/lib/dfp_api/v201505/creative_template_service.rb +2 -2
  30. data/lib/dfp_api/v201505/creative_template_service_registry.rb +2 -2
  31. data/lib/dfp_api/v201505/creative_wrapper_service.rb +2 -2
  32. data/lib/dfp_api/v201505/creative_wrapper_service_registry.rb +2 -2
  33. data/lib/dfp_api/v201505/custom_field_service.rb +2 -2
  34. data/lib/dfp_api/v201505/custom_field_service_registry.rb +2 -2
  35. data/lib/dfp_api/v201505/custom_targeting_service.rb +2 -2
  36. data/lib/dfp_api/v201505/custom_targeting_service_registry.rb +2 -2
  37. data/lib/dfp_api/v201505/exchange_rate_service.rb +2 -2
  38. data/lib/dfp_api/v201505/exchange_rate_service_registry.rb +2 -2
  39. data/lib/dfp_api/v201505/forecast_service.rb +2 -2
  40. data/lib/dfp_api/v201505/forecast_service_registry.rb +2 -2
  41. data/lib/dfp_api/v201505/inventory_service.rb +2 -2
  42. data/lib/dfp_api/v201505/inventory_service_registry.rb +2 -2
  43. data/lib/dfp_api/v201505/label_service.rb +2 -2
  44. data/lib/dfp_api/v201505/label_service_registry.rb +2 -2
  45. data/lib/dfp_api/v201505/line_item_creative_association_service.rb +2 -2
  46. data/lib/dfp_api/v201505/line_item_creative_association_service_registry.rb +2 -2
  47. data/lib/dfp_api/v201505/line_item_service.rb +2 -2
  48. data/lib/dfp_api/v201505/line_item_service_registry.rb +2 -2
  49. data/lib/dfp_api/v201505/line_item_template_service.rb +2 -2
  50. data/lib/dfp_api/v201505/line_item_template_service_registry.rb +2 -2
  51. data/lib/dfp_api/v201505/live_stream_event_service.rb +2 -2
  52. data/lib/dfp_api/v201505/live_stream_event_service_registry.rb +2 -2
  53. data/lib/dfp_api/v201505/network_service.rb +2 -2
  54. data/lib/dfp_api/v201505/network_service_registry.rb +3 -3
  55. data/lib/dfp_api/v201505/order_service.rb +2 -2
  56. data/lib/dfp_api/v201505/order_service_registry.rb +2 -2
  57. data/lib/dfp_api/v201505/package_service.rb +2 -2
  58. data/lib/dfp_api/v201505/package_service_registry.rb +2 -2
  59. data/lib/dfp_api/v201505/placement_service.rb +2 -2
  60. data/lib/dfp_api/v201505/placement_service_registry.rb +2 -2
  61. data/lib/dfp_api/v201505/premium_rate_service.rb +2 -2
  62. data/lib/dfp_api/v201505/premium_rate_service_registry.rb +2 -2
  63. data/lib/dfp_api/v201505/product_package_item_service.rb +2 -2
  64. data/lib/dfp_api/v201505/product_package_item_service_registry.rb +2 -2
  65. data/lib/dfp_api/v201505/product_package_service.rb +2 -2
  66. data/lib/dfp_api/v201505/product_package_service_registry.rb +2 -2
  67. data/lib/dfp_api/v201505/product_service.rb +2 -2
  68. data/lib/dfp_api/v201505/product_service_registry.rb +2 -2
  69. data/lib/dfp_api/v201505/product_template_service.rb +2 -2
  70. data/lib/dfp_api/v201505/product_template_service_registry.rb +2 -2
  71. data/lib/dfp_api/v201505/proposal_line_item_service.rb +2 -2
  72. data/lib/dfp_api/v201505/proposal_line_item_service_registry.rb +2 -2
  73. data/lib/dfp_api/v201505/proposal_service.rb +2 -2
  74. data/lib/dfp_api/v201505/proposal_service_registry.rb +2 -2
  75. data/lib/dfp_api/v201505/publisher_query_language_service.rb +2 -2
  76. data/lib/dfp_api/v201505/publisher_query_language_service_registry.rb +2 -2
  77. data/lib/dfp_api/v201505/rate_card_service.rb +2 -2
  78. data/lib/dfp_api/v201505/rate_card_service_registry.rb +2 -2
  79. data/lib/dfp_api/v201505/reconciliation_order_report_service.rb +2 -2
  80. data/lib/dfp_api/v201505/reconciliation_order_report_service_registry.rb +2 -2
  81. data/lib/dfp_api/v201505/reconciliation_report_row_service.rb +2 -2
  82. data/lib/dfp_api/v201505/reconciliation_report_row_service_registry.rb +2 -2
  83. data/lib/dfp_api/v201505/reconciliation_report_service.rb +2 -2
  84. data/lib/dfp_api/v201505/reconciliation_report_service_registry.rb +2 -2
  85. data/lib/dfp_api/v201505/report_service.rb +2 -2
  86. data/lib/dfp_api/v201505/report_service_registry.rb +2 -2
  87. data/lib/dfp_api/v201505/shared_ad_unit_service.rb +2 -2
  88. data/lib/dfp_api/v201505/shared_ad_unit_service_registry.rb +2 -2
  89. data/lib/dfp_api/v201505/suggested_ad_unit_service.rb +2 -2
  90. data/lib/dfp_api/v201505/suggested_ad_unit_service_registry.rb +2 -2
  91. data/lib/dfp_api/v201505/team_service.rb +2 -2
  92. data/lib/dfp_api/v201505/team_service_registry.rb +2 -2
  93. data/lib/dfp_api/v201505/user_service.rb +2 -2
  94. data/lib/dfp_api/v201505/user_service_registry.rb +2 -2
  95. data/lib/dfp_api/v201505/user_team_association_service.rb +2 -2
  96. data/lib/dfp_api/v201505/user_team_association_service_registry.rb +2 -2
  97. data/lib/dfp_api/v201505/workflow_request_service.rb +2 -2
  98. data/lib/dfp_api/v201505/workflow_request_service_registry.rb +2 -2
  99. data/lib/dfp_api/v201508/activity_group_service.rb +2 -2
  100. data/lib/dfp_api/v201508/activity_group_service_registry.rb +2 -2
  101. data/lib/dfp_api/v201508/activity_service.rb +2 -2
  102. data/lib/dfp_api/v201508/activity_service_registry.rb +2 -2
  103. data/lib/dfp_api/v201508/ad_exclusion_rule_service.rb +2 -2
  104. data/lib/dfp_api/v201508/ad_exclusion_rule_service_registry.rb +2 -2
  105. data/lib/dfp_api/v201508/ad_rule_service.rb +2 -2
  106. data/lib/dfp_api/v201508/ad_rule_service_registry.rb +2 -2
  107. data/lib/dfp_api/v201508/audience_segment_service.rb +2 -2
  108. data/lib/dfp_api/v201508/audience_segment_service_registry.rb +2 -2
  109. data/lib/dfp_api/v201508/base_rate_service.rb +2 -2
  110. data/lib/dfp_api/v201508/base_rate_service_registry.rb +2 -2
  111. data/lib/dfp_api/v201508/company_service.rb +2 -2
  112. data/lib/dfp_api/v201508/company_service_registry.rb +2 -2
  113. data/lib/dfp_api/v201508/contact_service.rb +2 -2
  114. data/lib/dfp_api/v201508/contact_service_registry.rb +2 -2
  115. data/lib/dfp_api/v201508/content_bundle_service.rb +2 -2
  116. data/lib/dfp_api/v201508/content_bundle_service_registry.rb +2 -2
  117. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service.rb +2 -2
  118. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service_registry.rb +2 -2
  119. data/lib/dfp_api/v201508/content_service.rb +2 -2
  120. data/lib/dfp_api/v201508/content_service_registry.rb +2 -2
  121. data/lib/dfp_api/v201508/creative_service.rb +2 -2
  122. data/lib/dfp_api/v201508/creative_service_registry.rb +2 -2
  123. data/lib/dfp_api/v201508/creative_set_service.rb +2 -2
  124. data/lib/dfp_api/v201508/creative_set_service_registry.rb +2 -2
  125. data/lib/dfp_api/v201508/creative_template_service.rb +2 -2
  126. data/lib/dfp_api/v201508/creative_template_service_registry.rb +2 -2
  127. data/lib/dfp_api/v201508/creative_wrapper_service.rb +2 -2
  128. data/lib/dfp_api/v201508/creative_wrapper_service_registry.rb +2 -2
  129. data/lib/dfp_api/v201508/custom_field_service.rb +2 -2
  130. data/lib/dfp_api/v201508/custom_field_service_registry.rb +2 -2
  131. data/lib/dfp_api/v201508/custom_targeting_service.rb +2 -2
  132. data/lib/dfp_api/v201508/custom_targeting_service_registry.rb +2 -2
  133. data/lib/dfp_api/v201508/exchange_rate_service.rb +2 -2
  134. data/lib/dfp_api/v201508/exchange_rate_service_registry.rb +2 -2
  135. data/lib/dfp_api/v201508/forecast_service.rb +2 -2
  136. data/lib/dfp_api/v201508/forecast_service_registry.rb +2 -2
  137. data/lib/dfp_api/v201508/inventory_service.rb +2 -2
  138. data/lib/dfp_api/v201508/inventory_service_registry.rb +2 -2
  139. data/lib/dfp_api/v201508/label_service.rb +2 -2
  140. data/lib/dfp_api/v201508/label_service_registry.rb +2 -2
  141. data/lib/dfp_api/v201508/line_item_creative_association_service.rb +2 -2
  142. data/lib/dfp_api/v201508/line_item_creative_association_service_registry.rb +2 -2
  143. data/lib/dfp_api/v201508/line_item_service.rb +2 -2
  144. data/lib/dfp_api/v201508/line_item_service_registry.rb +2 -2
  145. data/lib/dfp_api/v201508/line_item_template_service.rb +2 -2
  146. data/lib/dfp_api/v201508/line_item_template_service_registry.rb +2 -2
  147. data/lib/dfp_api/v201508/live_stream_event_service.rb +2 -2
  148. data/lib/dfp_api/v201508/live_stream_event_service_registry.rb +2 -2
  149. data/lib/dfp_api/v201508/network_service.rb +2 -2
  150. data/lib/dfp_api/v201508/network_service_registry.rb +3 -3
  151. data/lib/dfp_api/v201508/order_service.rb +2 -2
  152. data/lib/dfp_api/v201508/order_service_registry.rb +2 -2
  153. data/lib/dfp_api/v201508/package_service.rb +2 -2
  154. data/lib/dfp_api/v201508/package_service_registry.rb +2 -2
  155. data/lib/dfp_api/v201508/placement_service.rb +2 -2
  156. data/lib/dfp_api/v201508/placement_service_registry.rb +2 -2
  157. data/lib/dfp_api/v201508/premium_rate_service.rb +2 -2
  158. data/lib/dfp_api/v201508/premium_rate_service_registry.rb +2 -2
  159. data/lib/dfp_api/v201508/product_package_item_service.rb +2 -2
  160. data/lib/dfp_api/v201508/product_package_item_service_registry.rb +2 -2
  161. data/lib/dfp_api/v201508/product_package_service.rb +2 -2
  162. data/lib/dfp_api/v201508/product_package_service_registry.rb +2 -2
  163. data/lib/dfp_api/v201508/product_service.rb +2 -2
  164. data/lib/dfp_api/v201508/product_service_registry.rb +2 -2
  165. data/lib/dfp_api/v201508/product_template_service.rb +2 -2
  166. data/lib/dfp_api/v201508/product_template_service_registry.rb +2 -2
  167. data/lib/dfp_api/v201508/proposal_line_item_service.rb +2 -2
  168. data/lib/dfp_api/v201508/proposal_line_item_service_registry.rb +2 -2
  169. data/lib/dfp_api/v201508/proposal_service.rb +2 -2
  170. data/lib/dfp_api/v201508/proposal_service_registry.rb +2 -2
  171. data/lib/dfp_api/v201508/publisher_query_language_service.rb +2 -2
  172. data/lib/dfp_api/v201508/publisher_query_language_service_registry.rb +2 -2
  173. data/lib/dfp_api/v201508/rate_card_service.rb +2 -2
  174. data/lib/dfp_api/v201508/rate_card_service_registry.rb +2 -2
  175. data/lib/dfp_api/v201508/reconciliation_line_item_report_service.rb +2 -2
  176. data/lib/dfp_api/v201508/reconciliation_line_item_report_service_registry.rb +2 -2
  177. data/lib/dfp_api/v201508/reconciliation_order_report_service.rb +2 -2
  178. data/lib/dfp_api/v201508/reconciliation_order_report_service_registry.rb +2 -2
  179. data/lib/dfp_api/v201508/reconciliation_report_row_service.rb +2 -2
  180. data/lib/dfp_api/v201508/reconciliation_report_row_service_registry.rb +2 -2
  181. data/lib/dfp_api/v201508/reconciliation_report_service.rb +2 -2
  182. data/lib/dfp_api/v201508/reconciliation_report_service_registry.rb +2 -2
  183. data/lib/dfp_api/v201508/report_service.rb +2 -2
  184. data/lib/dfp_api/v201508/report_service_registry.rb +2 -2
  185. data/lib/dfp_api/v201508/shared_ad_unit_service.rb +2 -2
  186. data/lib/dfp_api/v201508/shared_ad_unit_service_registry.rb +2 -2
  187. data/lib/dfp_api/v201508/suggested_ad_unit_service.rb +2 -2
  188. data/lib/dfp_api/v201508/suggested_ad_unit_service_registry.rb +2 -2
  189. data/lib/dfp_api/v201508/team_service.rb +2 -2
  190. data/lib/dfp_api/v201508/team_service_registry.rb +2 -2
  191. data/lib/dfp_api/v201508/user_service.rb +2 -2
  192. data/lib/dfp_api/v201508/user_service_registry.rb +2 -2
  193. data/lib/dfp_api/v201508/user_team_association_service.rb +2 -2
  194. data/lib/dfp_api/v201508/user_team_association_service_registry.rb +2 -2
  195. data/lib/dfp_api/v201508/workflow_request_service.rb +2 -2
  196. data/lib/dfp_api/v201508/workflow_request_service_registry.rb +2 -2
  197. data/lib/dfp_api/v201511/activity_group_service.rb +2 -2
  198. data/lib/dfp_api/v201511/activity_group_service_registry.rb +2 -2
  199. data/lib/dfp_api/v201511/activity_service.rb +2 -2
  200. data/lib/dfp_api/v201511/activity_service_registry.rb +2 -2
  201. data/lib/dfp_api/v201511/ad_exclusion_rule_service.rb +2 -2
  202. data/lib/dfp_api/v201511/ad_exclusion_rule_service_registry.rb +2 -2
  203. data/lib/dfp_api/v201511/ad_rule_service.rb +2 -2
  204. data/lib/dfp_api/v201511/ad_rule_service_registry.rb +2 -2
  205. data/lib/dfp_api/v201511/audience_segment_service.rb +2 -2
  206. data/lib/dfp_api/v201511/audience_segment_service_registry.rb +2 -2
  207. data/lib/dfp_api/v201511/base_rate_service.rb +2 -2
  208. data/lib/dfp_api/v201511/base_rate_service_registry.rb +2 -2
  209. data/lib/dfp_api/v201511/company_service.rb +2 -2
  210. data/lib/dfp_api/v201511/company_service_registry.rb +2 -2
  211. data/lib/dfp_api/v201511/contact_service.rb +2 -2
  212. data/lib/dfp_api/v201511/contact_service_registry.rb +2 -2
  213. data/lib/dfp_api/v201511/content_bundle_service.rb +2 -2
  214. data/lib/dfp_api/v201511/content_bundle_service_registry.rb +2 -2
  215. data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service.rb +2 -2
  216. data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service_registry.rb +2 -2
  217. data/lib/dfp_api/v201511/content_service.rb +2 -2
  218. data/lib/dfp_api/v201511/content_service_registry.rb +2 -2
  219. data/lib/dfp_api/v201511/creative_service.rb +2 -2
  220. data/lib/dfp_api/v201511/creative_service_registry.rb +2 -2
  221. data/lib/dfp_api/v201511/creative_set_service.rb +2 -2
  222. data/lib/dfp_api/v201511/creative_set_service_registry.rb +2 -2
  223. data/lib/dfp_api/v201511/creative_template_service.rb +2 -2
  224. data/lib/dfp_api/v201511/creative_template_service_registry.rb +2 -2
  225. data/lib/dfp_api/v201511/creative_wrapper_service.rb +2 -2
  226. data/lib/dfp_api/v201511/creative_wrapper_service_registry.rb +2 -2
  227. data/lib/dfp_api/v201511/custom_field_service.rb +2 -2
  228. data/lib/dfp_api/v201511/custom_field_service_registry.rb +2 -2
  229. data/lib/dfp_api/v201511/custom_targeting_service.rb +2 -2
  230. data/lib/dfp_api/v201511/custom_targeting_service_registry.rb +2 -2
  231. data/lib/dfp_api/v201511/exchange_rate_service.rb +2 -2
  232. data/lib/dfp_api/v201511/exchange_rate_service_registry.rb +2 -2
  233. data/lib/dfp_api/v201511/forecast_service.rb +2 -2
  234. data/lib/dfp_api/v201511/forecast_service_registry.rb +2 -2
  235. data/lib/dfp_api/v201511/inventory_service.rb +2 -2
  236. data/lib/dfp_api/v201511/inventory_service_registry.rb +2 -2
  237. data/lib/dfp_api/v201511/label_service.rb +2 -2
  238. data/lib/dfp_api/v201511/label_service_registry.rb +2 -2
  239. data/lib/dfp_api/v201511/line_item_creative_association_service.rb +2 -2
  240. data/lib/dfp_api/v201511/line_item_creative_association_service_registry.rb +2 -2
  241. data/lib/dfp_api/v201511/line_item_service.rb +2 -2
  242. data/lib/dfp_api/v201511/line_item_service_registry.rb +2 -2
  243. data/lib/dfp_api/v201511/line_item_template_service.rb +2 -2
  244. data/lib/dfp_api/v201511/line_item_template_service_registry.rb +2 -2
  245. data/lib/dfp_api/v201511/live_stream_event_service.rb +2 -2
  246. data/lib/dfp_api/v201511/live_stream_event_service_registry.rb +2 -2
  247. data/lib/dfp_api/v201511/network_service.rb +2 -2
  248. data/lib/dfp_api/v201511/network_service_registry.rb +3 -3
  249. data/lib/dfp_api/v201511/order_service.rb +2 -2
  250. data/lib/dfp_api/v201511/order_service_registry.rb +2 -2
  251. data/lib/dfp_api/v201511/package_service.rb +2 -2
  252. data/lib/dfp_api/v201511/package_service_registry.rb +2 -2
  253. data/lib/dfp_api/v201511/placement_service.rb +2 -2
  254. data/lib/dfp_api/v201511/placement_service_registry.rb +2 -2
  255. data/lib/dfp_api/v201511/premium_rate_service.rb +2 -2
  256. data/lib/dfp_api/v201511/premium_rate_service_registry.rb +2 -2
  257. data/lib/dfp_api/v201511/product_package_item_service.rb +2 -2
  258. data/lib/dfp_api/v201511/product_package_item_service_registry.rb +2 -2
  259. data/lib/dfp_api/v201511/product_package_service.rb +2 -2
  260. data/lib/dfp_api/v201511/product_package_service_registry.rb +2 -2
  261. data/lib/dfp_api/v201511/product_service.rb +2 -2
  262. data/lib/dfp_api/v201511/product_service_registry.rb +2 -2
  263. data/lib/dfp_api/v201511/product_template_service.rb +2 -2
  264. data/lib/dfp_api/v201511/product_template_service_registry.rb +2 -2
  265. data/lib/dfp_api/v201511/proposal_line_item_service.rb +2 -2
  266. data/lib/dfp_api/v201511/proposal_line_item_service_registry.rb +2 -2
  267. data/lib/dfp_api/v201511/proposal_service.rb +2 -2
  268. data/lib/dfp_api/v201511/proposal_service_registry.rb +2 -2
  269. data/lib/dfp_api/v201511/publisher_query_language_service.rb +2 -2
  270. data/lib/dfp_api/v201511/publisher_query_language_service_registry.rb +2 -2
  271. data/lib/dfp_api/v201511/rate_card_service.rb +2 -2
  272. data/lib/dfp_api/v201511/rate_card_service_registry.rb +2 -2
  273. data/lib/dfp_api/v201511/reconciliation_line_item_report_service.rb +2 -2
  274. data/lib/dfp_api/v201511/reconciliation_line_item_report_service_registry.rb +2 -2
  275. data/lib/dfp_api/v201511/reconciliation_order_report_service.rb +2 -2
  276. data/lib/dfp_api/v201511/reconciliation_order_report_service_registry.rb +2 -2
  277. data/lib/dfp_api/v201511/reconciliation_report_row_service.rb +2 -2
  278. data/lib/dfp_api/v201511/reconciliation_report_row_service_registry.rb +2 -2
  279. data/lib/dfp_api/v201511/reconciliation_report_service.rb +2 -2
  280. data/lib/dfp_api/v201511/reconciliation_report_service_registry.rb +2 -2
  281. data/lib/dfp_api/v201511/report_service.rb +2 -2
  282. data/lib/dfp_api/v201511/report_service_registry.rb +2 -2
  283. data/lib/dfp_api/v201511/shared_ad_unit_service.rb +2 -2
  284. data/lib/dfp_api/v201511/shared_ad_unit_service_registry.rb +2 -2
  285. data/lib/dfp_api/v201511/suggested_ad_unit_service.rb +2 -2
  286. data/lib/dfp_api/v201511/suggested_ad_unit_service_registry.rb +2 -2
  287. data/lib/dfp_api/v201511/team_service.rb +2 -2
  288. data/lib/dfp_api/v201511/team_service_registry.rb +2 -2
  289. data/lib/dfp_api/v201511/user_service.rb +2 -2
  290. data/lib/dfp_api/v201511/user_service_registry.rb +2 -2
  291. data/lib/dfp_api/v201511/user_team_association_service.rb +2 -2
  292. data/lib/dfp_api/v201511/user_team_association_service_registry.rb +2 -2
  293. data/lib/dfp_api/v201511/workflow_request_service.rb +2 -2
  294. data/lib/dfp_api/v201511/workflow_request_service_registry.rb +2 -2
  295. data/lib/dfp_api/v201602/activity_group_service.rb +2 -2
  296. data/lib/dfp_api/v201602/activity_group_service_registry.rb +2 -2
  297. data/lib/dfp_api/v201602/activity_service.rb +2 -2
  298. data/lib/dfp_api/v201602/activity_service_registry.rb +2 -2
  299. data/lib/dfp_api/v201602/ad_exclusion_rule_service.rb +2 -2
  300. data/lib/dfp_api/v201602/ad_exclusion_rule_service_registry.rb +2 -2
  301. data/lib/dfp_api/v201602/ad_rule_service.rb +2 -2
  302. data/lib/dfp_api/v201602/ad_rule_service_registry.rb +2 -2
  303. data/lib/dfp_api/v201602/audience_segment_service.rb +2 -2
  304. data/lib/dfp_api/v201602/audience_segment_service_registry.rb +2 -2
  305. data/lib/dfp_api/v201602/base_rate_service.rb +2 -2
  306. data/lib/dfp_api/v201602/base_rate_service_registry.rb +2 -2
  307. data/lib/dfp_api/v201602/company_service.rb +2 -2
  308. data/lib/dfp_api/v201602/company_service_registry.rb +2 -2
  309. data/lib/dfp_api/v201602/contact_service.rb +2 -2
  310. data/lib/dfp_api/v201602/contact_service_registry.rb +2 -2
  311. data/lib/dfp_api/v201602/content_bundle_service.rb +2 -2
  312. data/lib/dfp_api/v201602/content_bundle_service_registry.rb +2 -2
  313. data/lib/dfp_api/v201602/content_metadata_key_hierarchy_service.rb +2 -2
  314. data/lib/dfp_api/v201602/content_metadata_key_hierarchy_service_registry.rb +2 -2
  315. data/lib/dfp_api/v201602/content_service.rb +2 -2
  316. data/lib/dfp_api/v201602/content_service_registry.rb +2 -2
  317. data/lib/dfp_api/v201602/creative_service.rb +2 -2
  318. data/lib/dfp_api/v201602/creative_service_registry.rb +2 -2
  319. data/lib/dfp_api/v201602/creative_set_service.rb +2 -2
  320. data/lib/dfp_api/v201602/creative_set_service_registry.rb +2 -2
  321. data/lib/dfp_api/v201602/creative_template_service.rb +2 -2
  322. data/lib/dfp_api/v201602/creative_template_service_registry.rb +2 -2
  323. data/lib/dfp_api/v201602/creative_wrapper_service.rb +2 -2
  324. data/lib/dfp_api/v201602/creative_wrapper_service_registry.rb +2 -2
  325. data/lib/dfp_api/v201602/custom_field_service.rb +2 -2
  326. data/lib/dfp_api/v201602/custom_field_service_registry.rb +2 -2
  327. data/lib/dfp_api/v201602/custom_targeting_service.rb +2 -2
  328. data/lib/dfp_api/v201602/custom_targeting_service_registry.rb +2 -2
  329. data/lib/dfp_api/v201602/exchange_rate_service.rb +2 -2
  330. data/lib/dfp_api/v201602/exchange_rate_service_registry.rb +2 -2
  331. data/lib/dfp_api/v201602/forecast_service.rb +2 -2
  332. data/lib/dfp_api/v201602/forecast_service_registry.rb +2 -2
  333. data/lib/dfp_api/v201602/inventory_service.rb +2 -2
  334. data/lib/dfp_api/v201602/inventory_service_registry.rb +2 -2
  335. data/lib/dfp_api/v201602/label_service.rb +2 -2
  336. data/lib/dfp_api/v201602/label_service_registry.rb +2 -2
  337. data/lib/dfp_api/v201602/line_item_creative_association_service.rb +2 -2
  338. data/lib/dfp_api/v201602/line_item_creative_association_service_registry.rb +2 -2
  339. data/lib/dfp_api/v201602/line_item_service.rb +2 -2
  340. data/lib/dfp_api/v201602/line_item_service_registry.rb +2 -2
  341. data/lib/dfp_api/v201602/line_item_template_service.rb +2 -2
  342. data/lib/dfp_api/v201602/line_item_template_service_registry.rb +2 -2
  343. data/lib/dfp_api/v201602/live_stream_event_service.rb +2 -2
  344. data/lib/dfp_api/v201602/live_stream_event_service_registry.rb +2 -2
  345. data/lib/dfp_api/v201602/network_service.rb +2 -2
  346. data/lib/dfp_api/v201602/network_service_registry.rb +3 -3
  347. data/lib/dfp_api/v201602/order_service.rb +2 -2
  348. data/lib/dfp_api/v201602/order_service_registry.rb +2 -2
  349. data/lib/dfp_api/v201602/package_service.rb +2 -2
  350. data/lib/dfp_api/v201602/package_service_registry.rb +2 -2
  351. data/lib/dfp_api/v201602/placement_service.rb +2 -2
  352. data/lib/dfp_api/v201602/placement_service_registry.rb +2 -2
  353. data/lib/dfp_api/v201602/premium_rate_service.rb +2 -2
  354. data/lib/dfp_api/v201602/premium_rate_service_registry.rb +2 -2
  355. data/lib/dfp_api/v201602/product_package_item_service.rb +2 -2
  356. data/lib/dfp_api/v201602/product_package_item_service_registry.rb +2 -2
  357. data/lib/dfp_api/v201602/product_package_service.rb +2 -2
  358. data/lib/dfp_api/v201602/product_package_service_registry.rb +2 -2
  359. data/lib/dfp_api/v201602/product_service.rb +2 -2
  360. data/lib/dfp_api/v201602/product_service_registry.rb +2 -2
  361. data/lib/dfp_api/v201602/product_template_service.rb +2 -2
  362. data/lib/dfp_api/v201602/product_template_service_registry.rb +2 -2
  363. data/lib/dfp_api/v201602/proposal_line_item_service.rb +2 -2
  364. data/lib/dfp_api/v201602/proposal_line_item_service_registry.rb +2 -2
  365. data/lib/dfp_api/v201602/proposal_service.rb +2 -2
  366. data/lib/dfp_api/v201602/proposal_service_registry.rb +2 -2
  367. data/lib/dfp_api/v201602/publisher_query_language_service.rb +2 -2
  368. data/lib/dfp_api/v201602/publisher_query_language_service_registry.rb +2 -2
  369. data/lib/dfp_api/v201602/rate_card_service.rb +2 -2
  370. data/lib/dfp_api/v201602/rate_card_service_registry.rb +2 -2
  371. data/lib/dfp_api/v201602/reconciliation_line_item_report_service.rb +2 -2
  372. data/lib/dfp_api/v201602/reconciliation_line_item_report_service_registry.rb +2 -2
  373. data/lib/dfp_api/v201602/reconciliation_order_report_service.rb +2 -2
  374. data/lib/dfp_api/v201602/reconciliation_order_report_service_registry.rb +2 -2
  375. data/lib/dfp_api/v201602/reconciliation_report_row_service.rb +2 -2
  376. data/lib/dfp_api/v201602/reconciliation_report_row_service_registry.rb +2 -2
  377. data/lib/dfp_api/v201602/reconciliation_report_service.rb +2 -2
  378. data/lib/dfp_api/v201602/reconciliation_report_service_registry.rb +2 -2
  379. data/lib/dfp_api/v201602/report_service.rb +2 -2
  380. data/lib/dfp_api/v201602/report_service_registry.rb +2 -2
  381. data/lib/dfp_api/v201602/suggested_ad_unit_service.rb +2 -2
  382. data/lib/dfp_api/v201602/suggested_ad_unit_service_registry.rb +2 -2
  383. data/lib/dfp_api/v201602/team_service.rb +2 -2
  384. data/lib/dfp_api/v201602/team_service_registry.rb +2 -2
  385. data/lib/dfp_api/v201602/user_service.rb +2 -2
  386. data/lib/dfp_api/v201602/user_service_registry.rb +2 -2
  387. data/lib/dfp_api/v201602/user_team_association_service.rb +2 -2
  388. data/lib/dfp_api/v201602/user_team_association_service_registry.rb +2 -2
  389. data/lib/dfp_api/v201602/workflow_request_service.rb +2 -2
  390. data/lib/dfp_api/v201602/workflow_request_service_registry.rb +2 -2
  391. data/lib/dfp_api/v201605/activity_group_service.rb +54 -0
  392. data/lib/dfp_api/v201605/activity_group_service_registry.rb +45 -0
  393. data/lib/dfp_api/v201605/activity_service.rb +54 -0
  394. data/lib/dfp_api/v201605/activity_service_registry.rb +45 -0
  395. data/lib/dfp_api/v201605/ad_exclusion_rule_service.rb +62 -0
  396. data/lib/dfp_api/v201605/ad_exclusion_rule_service_registry.rb +45 -0
  397. data/lib/dfp_api/v201605/ad_rule_service.rb +62 -0
  398. data/lib/dfp_api/v201605/ad_rule_service_registry.rb +45 -0
  399. data/lib/dfp_api/v201605/audience_segment_service.rb +62 -0
  400. data/lib/dfp_api/v201605/audience_segment_service_registry.rb +45 -0
  401. data/lib/dfp_api/v201605/base_rate_service.rb +62 -0
  402. data/lib/dfp_api/v201605/base_rate_service_registry.rb +45 -0
  403. data/lib/dfp_api/v201605/company_service.rb +54 -0
  404. data/lib/dfp_api/v201605/company_service_registry.rb +45 -0
  405. data/lib/dfp_api/v201605/contact_service.rb +54 -0
  406. data/lib/dfp_api/v201605/contact_service_registry.rb +45 -0
  407. data/lib/dfp_api/v201605/content_bundle_service.rb +62 -0
  408. data/lib/dfp_api/v201605/content_bundle_service_registry.rb +45 -0
  409. data/lib/dfp_api/v201605/content_metadata_key_hierarchy_service.rb +62 -0
  410. data/lib/dfp_api/v201605/content_metadata_key_hierarchy_service_registry.rb +45 -0
  411. data/lib/dfp_api/v201605/content_service.rb +46 -0
  412. data/lib/dfp_api/v201605/content_service_registry.rb +45 -0
  413. data/lib/dfp_api/v201605/creative_service.rb +54 -0
  414. data/lib/dfp_api/v201605/creative_service_registry.rb +45 -0
  415. data/lib/dfp_api/v201605/creative_set_service.rb +54 -0
  416. data/lib/dfp_api/v201605/creative_set_service_registry.rb +45 -0
  417. data/lib/dfp_api/v201605/creative_template_service.rb +38 -0
  418. data/lib/dfp_api/v201605/creative_template_service_registry.rb +45 -0
  419. data/lib/dfp_api/v201605/creative_wrapper_service.rb +62 -0
  420. data/lib/dfp_api/v201605/creative_wrapper_service_registry.rb +45 -0
  421. data/lib/dfp_api/v201605/custom_field_service.rb +86 -0
  422. data/lib/dfp_api/v201605/custom_field_service_registry.rb +45 -0
  423. data/lib/dfp_api/v201605/custom_targeting_service.rb +94 -0
  424. data/lib/dfp_api/v201605/custom_targeting_service_registry.rb +45 -0
  425. data/lib/dfp_api/v201605/exchange_rate_service.rb +62 -0
  426. data/lib/dfp_api/v201605/exchange_rate_service_registry.rb +45 -0
  427. data/lib/dfp_api/v201605/forecast_service.rb +62 -0
  428. data/lib/dfp_api/v201605/forecast_service_registry.rb +45 -0
  429. data/lib/dfp_api/v201605/inventory_service.rb +70 -0
  430. data/lib/dfp_api/v201605/inventory_service_registry.rb +45 -0
  431. data/lib/dfp_api/v201605/label_service.rb +62 -0
  432. data/lib/dfp_api/v201605/label_service_registry.rb +45 -0
  433. data/lib/dfp_api/v201605/line_item_creative_association_service.rb +70 -0
  434. data/lib/dfp_api/v201605/line_item_creative_association_service_registry.rb +45 -0
  435. data/lib/dfp_api/v201605/line_item_service.rb +62 -0
  436. data/lib/dfp_api/v201605/line_item_service_registry.rb +45 -0
  437. data/lib/dfp_api/v201605/line_item_template_service.rb +38 -0
  438. data/lib/dfp_api/v201605/line_item_template_service_registry.rb +45 -0
  439. data/lib/dfp_api/v201605/live_stream_event_service.rb +62 -0
  440. data/lib/dfp_api/v201605/live_stream_event_service_registry.rb +45 -0
  441. data/lib/dfp_api/v201605/network_service.rb +62 -0
  442. data/lib/dfp_api/v201605/network_service_registry.rb +45 -0
  443. data/lib/dfp_api/v201605/order_service.rb +62 -0
  444. data/lib/dfp_api/v201605/order_service_registry.rb +45 -0
  445. data/lib/dfp_api/v201605/package_service.rb +62 -0
  446. data/lib/dfp_api/v201605/package_service_registry.rb +45 -0
  447. data/lib/dfp_api/v201605/placement_service.rb +62 -0
  448. data/lib/dfp_api/v201605/placement_service_registry.rb +45 -0
  449. data/lib/dfp_api/v201605/premium_rate_service.rb +54 -0
  450. data/lib/dfp_api/v201605/premium_rate_service_registry.rb +45 -0
  451. data/lib/dfp_api/v201605/product_package_item_service.rb +62 -0
  452. data/lib/dfp_api/v201605/product_package_item_service_registry.rb +45 -0
  453. data/lib/dfp_api/v201605/product_package_service.rb +62 -0
  454. data/lib/dfp_api/v201605/product_package_service_registry.rb +45 -0
  455. data/lib/dfp_api/v201605/product_service.rb +54 -0
  456. data/lib/dfp_api/v201605/product_service_registry.rb +45 -0
  457. data/lib/dfp_api/v201605/product_template_service.rb +62 -0
  458. data/lib/dfp_api/v201605/product_template_service_registry.rb +45 -0
  459. data/lib/dfp_api/v201605/proposal_line_item_service.rb +62 -0
  460. data/lib/dfp_api/v201605/proposal_line_item_service_registry.rb +45 -0
  461. data/lib/dfp_api/v201605/proposal_service.rb +62 -0
  462. data/lib/dfp_api/v201605/proposal_service_registry.rb +45 -0
  463. data/lib/dfp_api/v201605/publisher_query_language_service.rb +38 -0
  464. data/lib/dfp_api/v201605/publisher_query_language_service_registry.rb +45 -0
  465. data/lib/dfp_api/v201605/rate_card_service.rb +62 -0
  466. data/lib/dfp_api/v201605/rate_card_service_registry.rb +45 -0
  467. data/lib/dfp_api/v201605/reconciliation_line_item_report_service.rb +46 -0
  468. data/lib/dfp_api/v201605/reconciliation_line_item_report_service_registry.rb +45 -0
  469. data/lib/dfp_api/v201605/reconciliation_order_report_service.rb +54 -0
  470. data/lib/dfp_api/v201605/reconciliation_order_report_service_registry.rb +45 -0
  471. data/lib/dfp_api/v201605/reconciliation_report_row_service.rb +46 -0
  472. data/lib/dfp_api/v201605/reconciliation_report_row_service_registry.rb +45 -0
  473. data/lib/dfp_api/v201605/reconciliation_report_service.rb +46 -0
  474. data/lib/dfp_api/v201605/reconciliation_report_service_registry.rb +45 -0
  475. data/lib/dfp_api/v201605/report_service.rb +62 -0
  476. data/lib/dfp_api/v201605/report_service_registry.rb +45 -0
  477. data/lib/dfp_api/v201605/suggested_ad_unit_service.rb +46 -0
  478. data/lib/dfp_api/v201605/suggested_ad_unit_service_registry.rb +45 -0
  479. data/lib/dfp_api/v201605/team_service.rb +54 -0
  480. data/lib/dfp_api/v201605/team_service_registry.rb +45 -0
  481. data/lib/dfp_api/v201605/user_service.rb +78 -0
  482. data/lib/dfp_api/v201605/user_service_registry.rb +45 -0
  483. data/lib/dfp_api/v201605/user_team_association_service.rb +62 -0
  484. data/lib/dfp_api/v201605/user_team_association_service_registry.rb +45 -0
  485. data/lib/dfp_api/v201605/workflow_request_service.rb +46 -0
  486. data/lib/dfp_api/v201605/workflow_request_service_registry.rb +45 -0
  487. data/lib/dfp_api/version.rb +1 -1
  488. metadata +97 -1
@@ -0,0 +1,62 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:38.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201605/package_service_registry'
12
+
13
+ module DfpApi; module V201605; module PackageService
14
+ class PackageService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201605'
17
+ super(config, endpoint, namespace, :v201605)
18
+ end
19
+
20
+ def create_packages(*args, &block)
21
+ return execute_action('create_packages', args, &block)
22
+ end
23
+
24
+ def create_packages_to_xml(*args)
25
+ return get_soap_xml('create_packages', args)
26
+ end
27
+
28
+ def get_packages_by_statement(*args, &block)
29
+ return execute_action('get_packages_by_statement', args, &block)
30
+ end
31
+
32
+ def get_packages_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_packages_by_statement', args)
34
+ end
35
+
36
+ def perform_package_action(*args, &block)
37
+ return execute_action('perform_package_action', args, &block)
38
+ end
39
+
40
+ def perform_package_action_to_xml(*args)
41
+ return get_soap_xml('perform_package_action', args)
42
+ end
43
+
44
+ def update_packages(*args, &block)
45
+ return execute_action('update_packages', args, &block)
46
+ end
47
+
48
+ def update_packages_to_xml(*args)
49
+ return get_soap_xml('update_packages', args)
50
+ end
51
+
52
+ private
53
+
54
+ def get_service_registry()
55
+ return PackageServiceRegistry
56
+ end
57
+
58
+ def get_module()
59
+ return DfpApi::V201605::PackageService
60
+ end
61
+ end
62
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:38.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201605; module PackageService
13
+ class PackageServiceRegistry
14
+ PACKAGESERVICE_METHODS = {:create_packages=>{:input=>[{:name=>:packages, :type=>"Package", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_packages_response", :fields=>[{:name=>:rval, :type=>"Package", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_packages_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_packages_by_statement_response", :fields=>[{:name=>:rval, :type=>"PackagePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_package_action=>{:input=>[{:name=>:package_action, :type=>"PackageAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_package_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_packages=>{:input=>[{:name=>:packages, :type=>"Package", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_packages_response", :fields=>[{:name=>:rval, :type=>"Package", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ PACKAGESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AvailableBillingError=>{:fields=>[{:name=>:reason, :type=>"AvailableBillingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BillingError=>{:fields=>[{:name=>:reason, :type=>"BillingError.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"}, :CreateProposalLineItemsFromPackages=>{:fields=>[], :base=>"PackageAction"}, :CustomFieldValueError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldValueError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomTargetingError=>{:fields=>[{:name=>:reason, :type=>"CustomTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DayPartTargetingError=>{:fields=>[{:name=>:reason, :type=>"DayPartTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FrequencyCapError=>{:fields=>[{:name=>:reason, :type=>"FrequencyCapError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GenericTargetingError=>{:fields=>[{:name=>:reason, :type=>"GenericTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GeoTargetingError=>{:fields=>[{:name=>:reason, :type=>"GeoTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InventoryTargetingError=>{:fields=>[{:name=>:reason, :type=>"InventoryTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LabelEntityAssociationError=>{:fields=>[{:name=>:reason, :type=>"LabelEntityAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :PackageAction=>{:fields=>[], :abstract=>true}, :PackageActionError=>{:fields=>[{:name=>:reason, :type=>"PackageActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Package=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:proposal_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:product_package_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_card_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:comments, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"PackageStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}]}, :PackageError=>{:fields=>[{:name=>:reason, :type=>"PackageError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PackagePage=>{:fields=>[{:name=>:results, :type=>"Package", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :PrecisionError=>{:fields=>[{:name=>:reason, :type=>"PrecisionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProductError=>{:fields=>[{:name=>:reason, :type=>"ProductError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProposalError=>{:fields=>[{:name=>:reason, :type=>"ProposalError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProposalLineItemError=>{:fields=>[{:name=>:reason, :type=>"ProposalLineItemError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredNumberError=>{:fields=>[{:name=>:reason, :type=>"RequiredNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReservationDetailsError=>{:fields=>[{:name=>:reason, :type=>"ReservationDetailsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TeamError=>{:fields=>[{:name=>:reason, :type=>"TeamError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :TimeZoneError=>{:fields=>[{:name=>:reason, :type=>"TimeZoneError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :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}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AvailableBillingError.Reason"=>{:fields=>[]}, :"BillingError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"CustomFieldValueError.Reason"=>{:fields=>[]}, :"CustomTargetingError.Reason"=>{:fields=>[]}, :"DayPartTargetingError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"FrequencyCapError.Reason"=>{:fields=>[]}, :"GenericTargetingError.Reason"=>{:fields=>[]}, :"GeoTargetingError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"InventoryTargetingError.Reason"=>{:fields=>[]}, :"LabelEntityAssociationError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"PackageActionError.Reason"=>{:fields=>[]}, :"PackageError.Reason"=>{:fields=>[]}, :PackageStatus=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PrecisionError.Reason"=>{:fields=>[]}, :"ProductError.Reason"=>{:fields=>[]}, :"ProposalError.Reason"=>{:fields=>[]}, :"ProposalLineItemError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"ReservationDetailsError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"TeamError.Reason"=>{:fields=>[]}, :"TechnologyTargetingError.Reason"=>{:fields=>[]}, :"TimeZoneError.Reason"=>{:fields=>[]}, :"UserDomainTargetingError.Reason"=>{:fields=>[]}}
16
+ PACKAGESERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return PACKAGESERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return PACKAGESERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return PACKAGESERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, PackageServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,62 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:40.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201605/placement_service_registry'
12
+
13
+ module DfpApi; module V201605; module PlacementService
14
+ class PlacementService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201605'
17
+ super(config, endpoint, namespace, :v201605)
18
+ end
19
+
20
+ def create_placements(*args, &block)
21
+ return execute_action('create_placements', args, &block)
22
+ end
23
+
24
+ def create_placements_to_xml(*args)
25
+ return get_soap_xml('create_placements', args)
26
+ end
27
+
28
+ def get_placements_by_statement(*args, &block)
29
+ return execute_action('get_placements_by_statement', args, &block)
30
+ end
31
+
32
+ def get_placements_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_placements_by_statement', args)
34
+ end
35
+
36
+ def perform_placement_action(*args, &block)
37
+ return execute_action('perform_placement_action', args, &block)
38
+ end
39
+
40
+ def perform_placement_action_to_xml(*args)
41
+ return get_soap_xml('perform_placement_action', args)
42
+ end
43
+
44
+ def update_placements(*args, &block)
45
+ return execute_action('update_placements', args, &block)
46
+ end
47
+
48
+ def update_placements_to_xml(*args)
49
+ return get_soap_xml('update_placements', args)
50
+ end
51
+
52
+ private
53
+
54
+ def get_service_registry()
55
+ return PlacementServiceRegistry
56
+ end
57
+
58
+ def get_module()
59
+ return DfpApi::V201605::PlacementService
60
+ end
61
+ end
62
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:40.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201605; module PlacementService
13
+ class PlacementServiceRegistry
14
+ PLACEMENTSERVICE_METHODS = {:create_placements=>{:input=>[{:name=>:placements, :type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_placements_response", :fields=>[{:name=>:rval, :type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_placements_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_placements_by_statement_response", :fields=>[{:name=>:rval, :type=>"PlacementPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_placement_action=>{:input=>[{:name=>:placement_action, :type=>"PlacementAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_placement_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_placements=>{:input=>[{:name=>:placements, :type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_placements_response", :fields=>[{:name=>:rval, :type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ PLACEMENTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivatePlacements=>{:fields=>[], :base=>"PlacementAction"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ArchivePlacements=>{:fields=>[], :base=>"PlacementAction"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeactivatePlacements=>{:fields=>[], :base=>"PlacementAction"}, :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"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PlacementAction=>{:fields=>[], :abstract=>true}, :Placement=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:placement_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"InventoryStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_ad_sense_targeting_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_sense_targeting_locale, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeted_ad_unit_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"SiteTargetingInfo"}, :PlacementError=>{:fields=>[{:name=>:reason, :type=>"PlacementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PlacementPage=>{: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=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}]}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :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"}, :SiteTargetingInfo=>{:fields=>[{:name=>:targeting_description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting_site_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting_ad_location, :type=>"string", :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"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"EntityChildrenLimitReachedError.Reason"=>{:fields=>[]}, :"EntityLimitReachedError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :InventoryStatus=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PlacementError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RegExError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
+ PLACEMENTSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return PLACEMENTSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return PLACEMENTSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return PLACEMENTSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, PlacementServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,54 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:41.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201605/premium_rate_service_registry'
12
+
13
+ module DfpApi; module V201605; module PremiumRateService
14
+ class PremiumRateService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201605'
17
+ super(config, endpoint, namespace, :v201605)
18
+ end
19
+
20
+ def create_premium_rates(*args, &block)
21
+ return execute_action('create_premium_rates', args, &block)
22
+ end
23
+
24
+ def create_premium_rates_to_xml(*args)
25
+ return get_soap_xml('create_premium_rates', args)
26
+ end
27
+
28
+ def get_premium_rates_by_statement(*args, &block)
29
+ return execute_action('get_premium_rates_by_statement', args, &block)
30
+ end
31
+
32
+ def get_premium_rates_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_premium_rates_by_statement', args)
34
+ end
35
+
36
+ def update_premium_rates(*args, &block)
37
+ return execute_action('update_premium_rates', args, &block)
38
+ end
39
+
40
+ def update_premium_rates_to_xml(*args)
41
+ return get_soap_xml('update_premium_rates', args)
42
+ end
43
+
44
+ private
45
+
46
+ def get_service_registry()
47
+ return PremiumRateServiceRegistry
48
+ end
49
+
50
+ def get_module()
51
+ return DfpApi::V201605::PremiumRateService
52
+ end
53
+ end
54
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:41.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201605; module PremiumRateService
13
+ class PremiumRateServiceRegistry
14
+ PREMIUMRATESERVICE_METHODS = {:create_premium_rates=>{:input=>[{:name=>:premium_rates, :type=>"PremiumRate", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_premium_rates_response", :fields=>[{:name=>:rval, :type=>"PremiumRate", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_premium_rates_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_premium_rates_by_statement_response", :fields=>[{:name=>:rval, :type=>"PremiumRatePage", :min_occurs=>0, :max_occurs=>1}]}}, :update_premium_rates=>{:input=>[{:name=>:premium_rates, :type=>"PremiumRate", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_premium_rates_response", :fields=>[{:name=>:rval, :type=>"PremiumRate", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ PREMIUMRATESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :AdUnitPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AudienceSegmentPremiumFeature=>{:fields=>[{:name=>:audience_segment_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"PremiumFeature"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BandwidthPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :BrowserPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :BrowserLanguagePremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :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"}, :ContentBundlePremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :CustomTargetingPremiumFeature=>{:fields=>[{:name=>:custom_targeting_key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_targeting_value_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"PremiumFeature"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DaypartPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :DeviceCapabilityPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :DeviceCategoryPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :DeviceManufacturerPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :EntityChildrenLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityChildrenLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FrequencyCapPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :GeographyPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :MobileCarrierPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :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"}, :OperatingSystemPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :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"}, :PlacementPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :PremiumFeature=>{:fields=>[], :abstract=>true}, :PremiumRate=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_card_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:pricing_method, :type=>"PricingMethod", :min_occurs=>0, :max_occurs=>1}, {:name=>:premium_feature, :type=>"PremiumFeature", :min_occurs=>0, :max_occurs=>1}, {:name=>:premium_rate_values, :type=>"PremiumRateValue", :min_occurs=>0, :max_occurs=>:unbounded}]}, :PremiumRateError=>{:fields=>[{:name=>:reason, :type=>"PremiumRateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PremiumRatePage=>{:fields=>[{:name=>:results, :type=>"PremiumRate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PremiumRateValue=>{:fields=>[{:name=>:premium_rate_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:premium_feature, :type=>"PremiumFeature", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_type, :type=>"RateType", :min_occurs=>0, :max_occurs=>1}, {:name=>:adjustment_type, :type=>"PremiumAdjustmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:adjustment_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UnknownPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :UserDomainPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :Value=>{:fields=>[], :abstract=>true}, :VideoPositionPremiumFeature=>{:fields=>[], :base=>"PremiumFeature"}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"EntityChildrenLimitReachedError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :PremiumAdjustmentType=>{:fields=>[]}, :"PremiumRateError.Reason"=>{:fields=>[]}, :PricingMethod=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :RateType=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}}
16
+ PREMIUMRATESERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return PREMIUMRATESERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return PREMIUMRATESERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return PREMIUMRATESERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, PremiumRateServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,62 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:40.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201605/product_package_item_service_registry'
12
+
13
+ module DfpApi; module V201605; module ProductPackageItemService
14
+ class ProductPackageItemService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201605'
17
+ super(config, endpoint, namespace, :v201605)
18
+ end
19
+
20
+ def create_product_package_items(*args, &block)
21
+ return execute_action('create_product_package_items', args, &block)
22
+ end
23
+
24
+ def create_product_package_items_to_xml(*args)
25
+ return get_soap_xml('create_product_package_items', args)
26
+ end
27
+
28
+ def get_product_package_items_by_statement(*args, &block)
29
+ return execute_action('get_product_package_items_by_statement', args, &block)
30
+ end
31
+
32
+ def get_product_package_items_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_product_package_items_by_statement', args)
34
+ end
35
+
36
+ def perform_product_package_item_action(*args, &block)
37
+ return execute_action('perform_product_package_item_action', args, &block)
38
+ end
39
+
40
+ def perform_product_package_item_action_to_xml(*args)
41
+ return get_soap_xml('perform_product_package_item_action', args)
42
+ end
43
+
44
+ def update_product_package_items(*args, &block)
45
+ return execute_action('update_product_package_items', args, &block)
46
+ end
47
+
48
+ def update_product_package_items_to_xml(*args)
49
+ return get_soap_xml('update_product_package_items', args)
50
+ end
51
+
52
+ private
53
+
54
+ def get_service_registry()
55
+ return ProductPackageItemServiceRegistry
56
+ end
57
+
58
+ def get_module()
59
+ return DfpApi::V201605::ProductPackageItemService
60
+ end
61
+ end
62
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:40.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201605; module ProductPackageItemService
13
+ class ProductPackageItemServiceRegistry
14
+ PRODUCTPACKAGEITEMSERVICE_METHODS = {:create_product_package_items=>{:input=>[{:name=>:product_package_items, :type=>"ProductPackageItem", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_product_package_items_response", :fields=>[{:name=>:rval, :type=>"ProductPackageItem", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_product_package_items_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_product_package_items_by_statement_response", :fields=>[{:name=>:rval, :type=>"ProductPackageItemPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_product_package_item_action=>{:input=>[{:name=>:product_package_item_action, :type=>"ProductPackageItemAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_product_package_item_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_product_package_items=>{:input=>[{:name=>:product_package_items, :type=>"ProductPackageItem", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_product_package_items_response", :fields=>[{:name=>:rval, :type=>"ProductPackageItem", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ PRODUCTPACKAGEITEMSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ArchiveProductPackageItems=>{:fields=>[], :base=>"ProductPackageItemAction"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :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"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProductError=>{:fields=>[{:name=>:reason, :type=>"ProductError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProductPackageActionError=>{:fields=>[{:name=>:reason, :type=>"ProductPackageActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProductPackageItemAction=>{:fields=>[], :abstract=>true}, :ProductPackageItemActionError=>{:fields=>[{:name=>:reason, :type=>"ProductPackageItemActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProductPackageItem=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:product_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:product_package_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_mandatory, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:archive_status, :type=>"ArchiveStatus", :min_occurs=>0, :max_occurs=>1}]}, :ProductPackageItemError=>{:fields=>[{:name=>:reason, :type=>"ProductPackageItemError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProductPackageItemPage=>{: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=>"ProductPackageItem", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ProductPackageRateCardAssociationError=>{:fields=>[{:name=>:reason, :type=>"ProductPackageRateCardAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UnArchiveProductPackageItems=>{:fields=>[], :base=>"ProductPackageItemAction"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :ArchiveStatus=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"EntityChildrenLimitReachedError.Reason"=>{:fields=>[]}, :"EntityLimitReachedError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"ProductError.Reason"=>{:fields=>[]}, :"ProductPackageActionError.Reason"=>{:fields=>[]}, :"ProductPackageItemActionError.Reason"=>{:fields=>[]}, :"ProductPackageItemError.Reason"=>{:fields=>[]}, :"ProductPackageRateCardAssociationError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
+ PRODUCTPACKAGEITEMSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return PRODUCTPACKAGEITEMSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return PRODUCTPACKAGEITEMSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return PRODUCTPACKAGEITEMSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, ProductPackageItemServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,62 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-05-23 15:37:39.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201605/product_package_service_registry'
12
+
13
+ module DfpApi; module V201605; module ProductPackageService
14
+ class ProductPackageService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201605'
17
+ super(config, endpoint, namespace, :v201605)
18
+ end
19
+
20
+ def create_product_packages(*args, &block)
21
+ return execute_action('create_product_packages', args, &block)
22
+ end
23
+
24
+ def create_product_packages_to_xml(*args)
25
+ return get_soap_xml('create_product_packages', args)
26
+ end
27
+
28
+ def get_product_packages_by_statement(*args, &block)
29
+ return execute_action('get_product_packages_by_statement', args, &block)
30
+ end
31
+
32
+ def get_product_packages_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_product_packages_by_statement', args)
34
+ end
35
+
36
+ def perform_product_package_action(*args, &block)
37
+ return execute_action('perform_product_package_action', args, &block)
38
+ end
39
+
40
+ def perform_product_package_action_to_xml(*args)
41
+ return get_soap_xml('perform_product_package_action', args)
42
+ end
43
+
44
+ def update_product_packages(*args, &block)
45
+ return execute_action('update_product_packages', args, &block)
46
+ end
47
+
48
+ def update_product_packages_to_xml(*args)
49
+ return get_soap_xml('update_product_packages', args)
50
+ end
51
+
52
+ private
53
+
54
+ def get_service_registry()
55
+ return ProductPackageServiceRegistry
56
+ end
57
+
58
+ def get_module()
59
+ return DfpApi::V201605::ProductPackageService
60
+ end
61
+ end
62
+ end; end; end