google-dfp-api 0.17.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1239) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +17 -0
  3. data/README.md +5 -0
  4. data/dfp_api.yml +2 -2
  5. data/lib/dfp_api/api_config.rb +15 -39
  6. data/lib/dfp_api/credential_handler.rb +10 -3
  7. data/lib/dfp_api/dfp_api_statement.rb +5 -0
  8. data/lib/dfp_api/v201602/activity_group_service.rb +1 -1
  9. data/lib/dfp_api/v201602/activity_group_service_registry.rb +1 -1
  10. data/lib/dfp_api/v201602/activity_service.rb +1 -1
  11. data/lib/dfp_api/v201602/activity_service_registry.rb +1 -1
  12. data/lib/dfp_api/v201602/ad_exclusion_rule_service.rb +1 -1
  13. data/lib/dfp_api/v201602/ad_exclusion_rule_service_registry.rb +1 -1
  14. data/lib/dfp_api/v201602/ad_rule_service.rb +1 -1
  15. data/lib/dfp_api/v201602/ad_rule_service_registry.rb +1 -1
  16. data/lib/dfp_api/v201602/audience_segment_service.rb +1 -1
  17. data/lib/dfp_api/v201602/audience_segment_service_registry.rb +2 -2
  18. data/lib/dfp_api/v201602/base_rate_service.rb +1 -1
  19. data/lib/dfp_api/v201602/base_rate_service_registry.rb +2 -2
  20. data/lib/dfp_api/v201602/company_service.rb +1 -1
  21. data/lib/dfp_api/v201602/company_service_registry.rb +1 -1
  22. data/lib/dfp_api/v201602/contact_service.rb +1 -1
  23. data/lib/dfp_api/v201602/contact_service_registry.rb +1 -1
  24. data/lib/dfp_api/v201602/content_bundle_service.rb +1 -1
  25. data/lib/dfp_api/v201602/content_bundle_service_registry.rb +2 -2
  26. data/lib/dfp_api/v201602/content_metadata_key_hierarchy_service.rb +1 -1
  27. data/lib/dfp_api/v201602/content_metadata_key_hierarchy_service_registry.rb +1 -1
  28. data/lib/dfp_api/v201602/content_service.rb +1 -1
  29. data/lib/dfp_api/v201602/content_service_registry.rb +1 -1
  30. data/lib/dfp_api/v201602/creative_service.rb +1 -1
  31. data/lib/dfp_api/v201602/creative_service_registry.rb +1 -1
  32. data/lib/dfp_api/v201602/creative_set_service.rb +1 -1
  33. data/lib/dfp_api/v201602/creative_set_service_registry.rb +1 -1
  34. data/lib/dfp_api/v201602/creative_template_service.rb +1 -1
  35. data/lib/dfp_api/v201602/creative_template_service_registry.rb +1 -1
  36. data/lib/dfp_api/v201602/creative_wrapper_service.rb +1 -1
  37. data/lib/dfp_api/v201602/creative_wrapper_service_registry.rb +1 -1
  38. data/lib/dfp_api/v201602/custom_field_service.rb +1 -1
  39. data/lib/dfp_api/v201602/custom_field_service_registry.rb +2 -2
  40. data/lib/dfp_api/v201602/custom_targeting_service.rb +1 -1
  41. data/lib/dfp_api/v201602/custom_targeting_service_registry.rb +2 -2
  42. data/lib/dfp_api/v201602/exchange_rate_service.rb +1 -1
  43. data/lib/dfp_api/v201602/exchange_rate_service_registry.rb +2 -2
  44. data/lib/dfp_api/v201602/forecast_service.rb +1 -1
  45. data/lib/dfp_api/v201602/forecast_service_registry.rb +1 -1
  46. data/lib/dfp_api/v201602/inventory_service.rb +1 -1
  47. data/lib/dfp_api/v201602/inventory_service_registry.rb +2 -2
  48. data/lib/dfp_api/v201602/label_service.rb +1 -1
  49. data/lib/dfp_api/v201602/label_service_registry.rb +1 -1
  50. data/lib/dfp_api/v201602/line_item_creative_association_service.rb +1 -1
  51. data/lib/dfp_api/v201602/line_item_creative_association_service_registry.rb +1 -1
  52. data/lib/dfp_api/v201602/line_item_service.rb +1 -1
  53. data/lib/dfp_api/v201602/line_item_service_registry.rb +2 -2
  54. data/lib/dfp_api/v201602/line_item_template_service.rb +1 -1
  55. data/lib/dfp_api/v201602/line_item_template_service_registry.rb +2 -2
  56. data/lib/dfp_api/v201602/live_stream_event_service.rb +1 -1
  57. data/lib/dfp_api/v201602/live_stream_event_service_registry.rb +1 -1
  58. data/lib/dfp_api/v201602/network_service.rb +1 -1
  59. data/lib/dfp_api/v201602/network_service_registry.rb +1 -1
  60. data/lib/dfp_api/v201602/order_service.rb +1 -1
  61. data/lib/dfp_api/v201602/order_service_registry.rb +2 -2
  62. data/lib/dfp_api/v201602/package_service.rb +1 -1
  63. data/lib/dfp_api/v201602/package_service_registry.rb +2 -2
  64. data/lib/dfp_api/v201602/placement_service.rb +1 -1
  65. data/lib/dfp_api/v201602/placement_service_registry.rb +1 -1
  66. data/lib/dfp_api/v201602/premium_rate_service.rb +1 -1
  67. data/lib/dfp_api/v201602/premium_rate_service_registry.rb +2 -2
  68. data/lib/dfp_api/v201602/product_package_item_service.rb +1 -1
  69. data/lib/dfp_api/v201602/product_package_item_service_registry.rb +1 -1
  70. data/lib/dfp_api/v201602/product_package_service.rb +1 -1
  71. data/lib/dfp_api/v201602/product_package_service_registry.rb +1 -1
  72. data/lib/dfp_api/v201602/product_service.rb +1 -1
  73. data/lib/dfp_api/v201602/product_service_registry.rb +1 -1
  74. data/lib/dfp_api/v201602/product_template_service.rb +1 -1
  75. data/lib/dfp_api/v201602/product_template_service_registry.rb +1 -1
  76. data/lib/dfp_api/v201602/proposal_line_item_service.rb +1 -1
  77. data/lib/dfp_api/v201602/proposal_line_item_service_registry.rb +2 -2
  78. data/lib/dfp_api/v201602/proposal_service.rb +1 -1
  79. data/lib/dfp_api/v201602/proposal_service_registry.rb +1 -1
  80. data/lib/dfp_api/v201602/publisher_query_language_service.rb +1 -1
  81. data/lib/dfp_api/v201602/publisher_query_language_service_registry.rb +2 -2
  82. data/lib/dfp_api/v201602/rate_card_service.rb +1 -1
  83. data/lib/dfp_api/v201602/rate_card_service_registry.rb +1 -1
  84. data/lib/dfp_api/v201602/reconciliation_line_item_report_service.rb +1 -1
  85. data/lib/dfp_api/v201602/reconciliation_line_item_report_service_registry.rb +2 -2
  86. data/lib/dfp_api/v201602/reconciliation_order_report_service.rb +1 -1
  87. data/lib/dfp_api/v201602/reconciliation_order_report_service_registry.rb +2 -2
  88. data/lib/dfp_api/v201602/reconciliation_report_row_service.rb +1 -1
  89. data/lib/dfp_api/v201602/reconciliation_report_row_service_registry.rb +2 -2
  90. data/lib/dfp_api/v201602/reconciliation_report_service.rb +1 -1
  91. data/lib/dfp_api/v201602/reconciliation_report_service_registry.rb +2 -2
  92. data/lib/dfp_api/v201602/report_service.rb +1 -1
  93. data/lib/dfp_api/v201602/report_service_registry.rb +1 -1
  94. data/lib/dfp_api/v201602/suggested_ad_unit_service.rb +1 -1
  95. data/lib/dfp_api/v201602/suggested_ad_unit_service_registry.rb +2 -2
  96. data/lib/dfp_api/v201602/team_service.rb +1 -1
  97. data/lib/dfp_api/v201602/team_service_registry.rb +1 -1
  98. data/lib/dfp_api/v201602/user_service.rb +1 -1
  99. data/lib/dfp_api/v201602/user_service_registry.rb +2 -2
  100. data/lib/dfp_api/v201602/user_team_association_service.rb +1 -1
  101. data/lib/dfp_api/v201602/user_team_association_service_registry.rb +2 -2
  102. data/lib/dfp_api/v201602/workflow_request_service.rb +1 -1
  103. data/lib/dfp_api/v201602/workflow_request_service_registry.rb +2 -2
  104. data/lib/dfp_api/v201605/activity_group_service.rb +1 -1
  105. data/lib/dfp_api/v201605/activity_group_service_registry.rb +1 -1
  106. data/lib/dfp_api/v201605/activity_service.rb +1 -1
  107. data/lib/dfp_api/v201605/activity_service_registry.rb +1 -1
  108. data/lib/dfp_api/v201605/ad_exclusion_rule_service.rb +1 -1
  109. data/lib/dfp_api/v201605/ad_exclusion_rule_service_registry.rb +1 -1
  110. data/lib/dfp_api/v201605/ad_rule_service.rb +1 -1
  111. data/lib/dfp_api/v201605/ad_rule_service_registry.rb +1 -1
  112. data/lib/dfp_api/v201605/audience_segment_service.rb +1 -1
  113. data/lib/dfp_api/v201605/audience_segment_service_registry.rb +2 -2
  114. data/lib/dfp_api/v201605/base_rate_service.rb +1 -1
  115. data/lib/dfp_api/v201605/base_rate_service_registry.rb +2 -2
  116. data/lib/dfp_api/v201605/company_service.rb +1 -1
  117. data/lib/dfp_api/v201605/company_service_registry.rb +1 -1
  118. data/lib/dfp_api/v201605/contact_service.rb +1 -1
  119. data/lib/dfp_api/v201605/contact_service_registry.rb +1 -1
  120. data/lib/dfp_api/v201605/content_bundle_service.rb +1 -1
  121. data/lib/dfp_api/v201605/content_bundle_service_registry.rb +2 -2
  122. data/lib/dfp_api/v201605/content_metadata_key_hierarchy_service.rb +1 -1
  123. data/lib/dfp_api/v201605/content_metadata_key_hierarchy_service_registry.rb +1 -1
  124. data/lib/dfp_api/v201605/content_service.rb +1 -1
  125. data/lib/dfp_api/v201605/content_service_registry.rb +1 -1
  126. data/lib/dfp_api/v201605/creative_service.rb +1 -1
  127. data/lib/dfp_api/v201605/creative_service_registry.rb +1 -1
  128. data/lib/dfp_api/v201605/creative_set_service.rb +1 -1
  129. data/lib/dfp_api/v201605/creative_set_service_registry.rb +1 -1
  130. data/lib/dfp_api/v201605/creative_template_service.rb +1 -1
  131. data/lib/dfp_api/v201605/creative_template_service_registry.rb +1 -1
  132. data/lib/dfp_api/v201605/creative_wrapper_service.rb +1 -1
  133. data/lib/dfp_api/v201605/creative_wrapper_service_registry.rb +1 -1
  134. data/lib/dfp_api/v201605/custom_field_service.rb +1 -1
  135. data/lib/dfp_api/v201605/custom_field_service_registry.rb +2 -2
  136. data/lib/dfp_api/v201605/custom_targeting_service.rb +1 -1
  137. data/lib/dfp_api/v201605/custom_targeting_service_registry.rb +2 -2
  138. data/lib/dfp_api/v201605/exchange_rate_service.rb +1 -1
  139. data/lib/dfp_api/v201605/exchange_rate_service_registry.rb +2 -2
  140. data/lib/dfp_api/v201605/forecast_service.rb +1 -1
  141. data/lib/dfp_api/v201605/forecast_service_registry.rb +1 -1
  142. data/lib/dfp_api/v201605/inventory_service.rb +1 -1
  143. data/lib/dfp_api/v201605/inventory_service_registry.rb +2 -2
  144. data/lib/dfp_api/v201605/label_service.rb +1 -1
  145. data/lib/dfp_api/v201605/label_service_registry.rb +1 -1
  146. data/lib/dfp_api/v201605/line_item_creative_association_service.rb +1 -1
  147. data/lib/dfp_api/v201605/line_item_creative_association_service_registry.rb +1 -1
  148. data/lib/dfp_api/v201605/line_item_service.rb +1 -1
  149. data/lib/dfp_api/v201605/line_item_service_registry.rb +2 -2
  150. data/lib/dfp_api/v201605/line_item_template_service.rb +1 -1
  151. data/lib/dfp_api/v201605/line_item_template_service_registry.rb +2 -2
  152. data/lib/dfp_api/v201605/live_stream_event_service.rb +1 -1
  153. data/lib/dfp_api/v201605/live_stream_event_service_registry.rb +1 -1
  154. data/lib/dfp_api/v201605/network_service.rb +1 -1
  155. data/lib/dfp_api/v201605/network_service_registry.rb +1 -1
  156. data/lib/dfp_api/v201605/order_service.rb +1 -1
  157. data/lib/dfp_api/v201605/order_service_registry.rb +2 -2
  158. data/lib/dfp_api/v201605/package_service.rb +1 -1
  159. data/lib/dfp_api/v201605/package_service_registry.rb +2 -2
  160. data/lib/dfp_api/v201605/placement_service.rb +1 -1
  161. data/lib/dfp_api/v201605/placement_service_registry.rb +1 -1
  162. data/lib/dfp_api/v201605/premium_rate_service.rb +1 -1
  163. data/lib/dfp_api/v201605/premium_rate_service_registry.rb +2 -2
  164. data/lib/dfp_api/v201605/product_package_item_service.rb +1 -1
  165. data/lib/dfp_api/v201605/product_package_item_service_registry.rb +1 -1
  166. data/lib/dfp_api/v201605/product_package_service.rb +1 -1
  167. data/lib/dfp_api/v201605/product_package_service_registry.rb +1 -1
  168. data/lib/dfp_api/v201605/product_service.rb +1 -1
  169. data/lib/dfp_api/v201605/product_service_registry.rb +1 -1
  170. data/lib/dfp_api/v201605/product_template_service.rb +1 -1
  171. data/lib/dfp_api/v201605/product_template_service_registry.rb +1 -1
  172. data/lib/dfp_api/v201605/proposal_line_item_service.rb +1 -1
  173. data/lib/dfp_api/v201605/proposal_line_item_service_registry.rb +2 -2
  174. data/lib/dfp_api/v201605/proposal_service.rb +1 -1
  175. data/lib/dfp_api/v201605/proposal_service_registry.rb +1 -1
  176. data/lib/dfp_api/v201605/publisher_query_language_service.rb +1 -1
  177. data/lib/dfp_api/v201605/publisher_query_language_service_registry.rb +2 -2
  178. data/lib/dfp_api/v201605/rate_card_service.rb +1 -1
  179. data/lib/dfp_api/v201605/rate_card_service_registry.rb +1 -1
  180. data/lib/dfp_api/v201605/reconciliation_line_item_report_service.rb +1 -1
  181. data/lib/dfp_api/v201605/reconciliation_line_item_report_service_registry.rb +2 -2
  182. data/lib/dfp_api/v201605/reconciliation_order_report_service.rb +1 -1
  183. data/lib/dfp_api/v201605/reconciliation_order_report_service_registry.rb +2 -2
  184. data/lib/dfp_api/v201605/reconciliation_report_row_service.rb +1 -1
  185. data/lib/dfp_api/v201605/reconciliation_report_row_service_registry.rb +2 -2
  186. data/lib/dfp_api/v201605/reconciliation_report_service.rb +1 -1
  187. data/lib/dfp_api/v201605/reconciliation_report_service_registry.rb +2 -2
  188. data/lib/dfp_api/v201605/report_service.rb +1 -1
  189. data/lib/dfp_api/v201605/report_service_registry.rb +1 -1
  190. data/lib/dfp_api/v201605/suggested_ad_unit_service.rb +1 -1
  191. data/lib/dfp_api/v201605/suggested_ad_unit_service_registry.rb +2 -2
  192. data/lib/dfp_api/v201605/team_service.rb +1 -1
  193. data/lib/dfp_api/v201605/team_service_registry.rb +1 -1
  194. data/lib/dfp_api/v201605/user_service.rb +1 -1
  195. data/lib/dfp_api/v201605/user_service_registry.rb +2 -2
  196. data/lib/dfp_api/v201605/user_team_association_service.rb +1 -1
  197. data/lib/dfp_api/v201605/user_team_association_service_registry.rb +2 -2
  198. data/lib/dfp_api/v201605/workflow_request_service.rb +1 -1
  199. data/lib/dfp_api/v201605/workflow_request_service_registry.rb +2 -2
  200. data/lib/dfp_api/v201608/activity_group_service.rb +54 -0
  201. data/lib/dfp_api/v201608/activity_group_service_registry.rb +45 -0
  202. data/lib/dfp_api/v201608/activity_service.rb +54 -0
  203. data/lib/dfp_api/v201608/activity_service_registry.rb +45 -0
  204. data/lib/dfp_api/v201608/ad_exclusion_rule_service.rb +62 -0
  205. data/lib/dfp_api/v201608/ad_exclusion_rule_service_registry.rb +45 -0
  206. data/lib/dfp_api/v201608/ad_rule_service.rb +62 -0
  207. data/lib/dfp_api/v201608/ad_rule_service_registry.rb +45 -0
  208. data/lib/dfp_api/v201608/audience_segment_service.rb +62 -0
  209. data/lib/dfp_api/v201608/audience_segment_service_registry.rb +45 -0
  210. data/lib/dfp_api/v201608/base_rate_service.rb +62 -0
  211. data/lib/dfp_api/v201608/base_rate_service_registry.rb +45 -0
  212. data/lib/dfp_api/v201608/company_service.rb +54 -0
  213. data/lib/dfp_api/v201608/company_service_registry.rb +45 -0
  214. data/lib/dfp_api/v201608/contact_service.rb +54 -0
  215. data/lib/dfp_api/v201608/contact_service_registry.rb +45 -0
  216. data/lib/dfp_api/v201608/content_bundle_service.rb +62 -0
  217. data/lib/dfp_api/v201608/content_bundle_service_registry.rb +45 -0
  218. data/lib/dfp_api/v201608/content_metadata_key_hierarchy_service.rb +62 -0
  219. data/lib/dfp_api/v201608/content_metadata_key_hierarchy_service_registry.rb +45 -0
  220. data/lib/dfp_api/v201608/content_service.rb +46 -0
  221. data/lib/dfp_api/v201608/content_service_registry.rb +45 -0
  222. data/lib/dfp_api/v201608/creative_service.rb +54 -0
  223. data/lib/dfp_api/v201608/creative_service_registry.rb +45 -0
  224. data/lib/dfp_api/v201608/creative_set_service.rb +54 -0
  225. data/lib/dfp_api/v201608/creative_set_service_registry.rb +45 -0
  226. data/lib/dfp_api/v201608/creative_template_service.rb +38 -0
  227. data/lib/dfp_api/v201608/creative_template_service_registry.rb +45 -0
  228. data/lib/dfp_api/v201608/creative_wrapper_service.rb +62 -0
  229. data/lib/dfp_api/v201608/creative_wrapper_service_registry.rb +45 -0
  230. data/lib/dfp_api/v201608/custom_field_service.rb +86 -0
  231. data/lib/dfp_api/v201608/custom_field_service_registry.rb +45 -0
  232. data/lib/dfp_api/v201608/custom_targeting_service.rb +94 -0
  233. data/lib/dfp_api/v201608/custom_targeting_service_registry.rb +45 -0
  234. data/lib/dfp_api/v201608/exchange_rate_service.rb +62 -0
  235. data/lib/dfp_api/v201608/exchange_rate_service_registry.rb +45 -0
  236. data/lib/dfp_api/v201608/forecast_service.rb +62 -0
  237. data/lib/dfp_api/v201608/forecast_service_registry.rb +45 -0
  238. data/lib/dfp_api/v201608/inventory_service.rb +70 -0
  239. data/lib/dfp_api/v201608/inventory_service_registry.rb +45 -0
  240. data/lib/dfp_api/v201608/label_service.rb +62 -0
  241. data/lib/dfp_api/v201608/label_service_registry.rb +45 -0
  242. data/lib/dfp_api/v201608/line_item_creative_association_service.rb +70 -0
  243. data/lib/dfp_api/v201608/line_item_creative_association_service_registry.rb +45 -0
  244. data/lib/dfp_api/v201608/line_item_service.rb +62 -0
  245. data/lib/dfp_api/v201608/line_item_service_registry.rb +45 -0
  246. data/lib/dfp_api/v201608/line_item_template_service.rb +38 -0
  247. data/lib/dfp_api/v201608/line_item_template_service_registry.rb +45 -0
  248. data/lib/dfp_api/v201608/live_stream_event_service.rb +70 -0
  249. data/lib/dfp_api/v201608/live_stream_event_service_registry.rb +45 -0
  250. data/lib/dfp_api/v201608/network_service.rb +62 -0
  251. data/lib/dfp_api/v201608/network_service_registry.rb +45 -0
  252. data/lib/dfp_api/v201608/order_service.rb +62 -0
  253. data/lib/dfp_api/v201608/order_service_registry.rb +45 -0
  254. data/lib/dfp_api/v201608/package_service.rb +62 -0
  255. data/lib/dfp_api/v201608/package_service_registry.rb +45 -0
  256. data/lib/dfp_api/v201608/placement_service.rb +62 -0
  257. data/lib/dfp_api/v201608/placement_service_registry.rb +45 -0
  258. data/lib/dfp_api/v201608/premium_rate_service.rb +54 -0
  259. data/lib/dfp_api/v201608/premium_rate_service_registry.rb +45 -0
  260. data/lib/dfp_api/v201608/product_package_item_service.rb +62 -0
  261. data/lib/dfp_api/v201608/product_package_item_service_registry.rb +45 -0
  262. data/lib/dfp_api/v201608/product_package_service.rb +62 -0
  263. data/lib/dfp_api/v201608/product_package_service_registry.rb +45 -0
  264. data/lib/dfp_api/v201608/product_service.rb +62 -0
  265. data/lib/dfp_api/v201608/product_service_registry.rb +45 -0
  266. data/lib/dfp_api/v201608/product_template_service.rb +62 -0
  267. data/lib/dfp_api/v201608/product_template_service_registry.rb +45 -0
  268. data/lib/dfp_api/v201608/proposal_line_item_service.rb +62 -0
  269. data/lib/dfp_api/v201608/proposal_line_item_service_registry.rb +45 -0
  270. data/lib/dfp_api/v201608/proposal_service.rb +70 -0
  271. data/lib/dfp_api/v201608/proposal_service_registry.rb +45 -0
  272. data/lib/dfp_api/v201608/publisher_query_language_service.rb +38 -0
  273. data/lib/dfp_api/v201608/publisher_query_language_service_registry.rb +45 -0
  274. data/lib/dfp_api/v201608/rate_card_service.rb +62 -0
  275. data/lib/dfp_api/v201608/rate_card_service_registry.rb +45 -0
  276. data/lib/dfp_api/v201608/reconciliation_line_item_report_service.rb +46 -0
  277. data/lib/dfp_api/v201608/reconciliation_line_item_report_service_registry.rb +45 -0
  278. data/lib/dfp_api/v201608/reconciliation_order_report_service.rb +54 -0
  279. data/lib/dfp_api/v201608/reconciliation_order_report_service_registry.rb +45 -0
  280. data/lib/dfp_api/v201608/reconciliation_report_row_service.rb +46 -0
  281. data/lib/dfp_api/v201608/reconciliation_report_row_service_registry.rb +45 -0
  282. data/lib/dfp_api/v201608/reconciliation_report_service.rb +46 -0
  283. data/lib/dfp_api/v201608/reconciliation_report_service_registry.rb +45 -0
  284. data/lib/dfp_api/v201608/report_service.rb +70 -0
  285. data/lib/dfp_api/v201608/report_service_registry.rb +45 -0
  286. data/lib/dfp_api/v201608/suggested_ad_unit_service.rb +46 -0
  287. data/lib/dfp_api/v201608/suggested_ad_unit_service_registry.rb +45 -0
  288. data/lib/dfp_api/v201608/team_service.rb +54 -0
  289. data/lib/dfp_api/v201608/team_service_registry.rb +45 -0
  290. data/lib/dfp_api/v201608/user_service.rb +78 -0
  291. data/lib/dfp_api/v201608/user_service_registry.rb +45 -0
  292. data/lib/dfp_api/v201608/user_team_association_service.rb +62 -0
  293. data/lib/dfp_api/v201608/user_team_association_service_registry.rb +45 -0
  294. data/lib/dfp_api/v201608/workflow_request_service.rb +46 -0
  295. data/lib/dfp_api/v201608/workflow_request_service_registry.rb +45 -0
  296. data/lib/dfp_api/v201611/activity_group_service.rb +54 -0
  297. data/lib/dfp_api/v201611/activity_group_service_registry.rb +45 -0
  298. data/lib/dfp_api/v201611/activity_service.rb +54 -0
  299. data/lib/dfp_api/v201611/activity_service_registry.rb +45 -0
  300. data/lib/dfp_api/v201611/ad_exclusion_rule_service.rb +62 -0
  301. data/lib/dfp_api/v201611/ad_exclusion_rule_service_registry.rb +45 -0
  302. data/lib/dfp_api/v201611/ad_rule_service.rb +62 -0
  303. data/lib/dfp_api/v201611/ad_rule_service_registry.rb +45 -0
  304. data/lib/dfp_api/v201611/audience_segment_service.rb +62 -0
  305. data/lib/dfp_api/v201611/audience_segment_service_registry.rb +45 -0
  306. data/lib/dfp_api/v201611/base_rate_service.rb +62 -0
  307. data/lib/dfp_api/v201611/base_rate_service_registry.rb +45 -0
  308. data/lib/dfp_api/v201611/company_service.rb +54 -0
  309. data/lib/dfp_api/v201611/company_service_registry.rb +45 -0
  310. data/lib/dfp_api/v201611/contact_service.rb +54 -0
  311. data/lib/dfp_api/v201611/contact_service_registry.rb +45 -0
  312. data/lib/dfp_api/v201611/content_bundle_service.rb +62 -0
  313. data/lib/dfp_api/v201611/content_bundle_service_registry.rb +45 -0
  314. data/lib/dfp_api/v201611/content_metadata_key_hierarchy_service.rb +62 -0
  315. data/lib/dfp_api/v201611/content_metadata_key_hierarchy_service_registry.rb +45 -0
  316. data/lib/dfp_api/v201611/content_service.rb +46 -0
  317. data/lib/dfp_api/v201611/content_service_registry.rb +45 -0
  318. data/lib/dfp_api/v201611/creative_service.rb +54 -0
  319. data/lib/dfp_api/v201611/creative_service_registry.rb +45 -0
  320. data/lib/dfp_api/v201611/creative_set_service.rb +54 -0
  321. data/lib/dfp_api/v201611/creative_set_service_registry.rb +45 -0
  322. data/lib/dfp_api/v201611/creative_template_service.rb +38 -0
  323. data/lib/dfp_api/v201611/creative_template_service_registry.rb +45 -0
  324. data/lib/dfp_api/v201611/creative_wrapper_service.rb +62 -0
  325. data/lib/dfp_api/v201611/creative_wrapper_service_registry.rb +45 -0
  326. data/lib/dfp_api/v201611/custom_field_service.rb +86 -0
  327. data/lib/dfp_api/v201611/custom_field_service_registry.rb +45 -0
  328. data/lib/dfp_api/v201611/custom_targeting_service.rb +94 -0
  329. data/lib/dfp_api/v201611/custom_targeting_service_registry.rb +45 -0
  330. data/lib/dfp_api/v201611/exchange_rate_service.rb +62 -0
  331. data/lib/dfp_api/v201611/exchange_rate_service_registry.rb +45 -0
  332. data/lib/dfp_api/v201611/forecast_service.rb +62 -0
  333. data/lib/dfp_api/v201611/forecast_service_registry.rb +45 -0
  334. data/lib/dfp_api/v201611/inventory_service.rb +70 -0
  335. data/lib/dfp_api/v201611/inventory_service_registry.rb +45 -0
  336. data/lib/dfp_api/v201611/label_service.rb +62 -0
  337. data/lib/dfp_api/v201611/label_service_registry.rb +45 -0
  338. data/lib/dfp_api/v201611/line_item_creative_association_service.rb +70 -0
  339. data/lib/dfp_api/v201611/line_item_creative_association_service_registry.rb +45 -0
  340. data/lib/dfp_api/v201611/line_item_service.rb +62 -0
  341. data/lib/dfp_api/v201611/line_item_service_registry.rb +45 -0
  342. data/lib/dfp_api/v201611/line_item_template_service.rb +38 -0
  343. data/lib/dfp_api/v201611/line_item_template_service_registry.rb +45 -0
  344. data/lib/dfp_api/v201611/live_stream_event_service.rb +70 -0
  345. data/lib/dfp_api/v201611/live_stream_event_service_registry.rb +45 -0
  346. data/lib/dfp_api/v201611/mobile_application_service.rb +62 -0
  347. data/lib/dfp_api/v201611/mobile_application_service_registry.rb +45 -0
  348. data/lib/dfp_api/v201611/network_service.rb +62 -0
  349. data/lib/dfp_api/v201611/network_service_registry.rb +45 -0
  350. data/lib/dfp_api/v201611/order_service.rb +62 -0
  351. data/lib/dfp_api/v201611/order_service_registry.rb +45 -0
  352. data/lib/dfp_api/v201611/package_service.rb +62 -0
  353. data/lib/dfp_api/v201611/package_service_registry.rb +45 -0
  354. data/lib/dfp_api/v201611/placement_service.rb +62 -0
  355. data/lib/dfp_api/v201611/placement_service_registry.rb +45 -0
  356. data/lib/dfp_api/v201611/premium_rate_service.rb +54 -0
  357. data/lib/dfp_api/v201611/premium_rate_service_registry.rb +45 -0
  358. data/lib/dfp_api/v201611/product_package_item_service.rb +62 -0
  359. data/lib/dfp_api/v201611/product_package_item_service_registry.rb +45 -0
  360. data/lib/dfp_api/v201611/product_package_service.rb +62 -0
  361. data/lib/dfp_api/v201611/product_package_service_registry.rb +45 -0
  362. data/lib/dfp_api/v201611/product_service.rb +62 -0
  363. data/lib/dfp_api/v201611/product_service_registry.rb +45 -0
  364. data/lib/dfp_api/v201611/product_template_service.rb +62 -0
  365. data/lib/dfp_api/v201611/product_template_service_registry.rb +45 -0
  366. data/lib/dfp_api/v201611/proposal_line_item_service.rb +62 -0
  367. data/lib/dfp_api/v201611/proposal_line_item_service_registry.rb +45 -0
  368. data/lib/dfp_api/v201611/proposal_service.rb +70 -0
  369. data/lib/dfp_api/v201611/proposal_service_registry.rb +45 -0
  370. data/lib/dfp_api/v201611/publisher_query_language_service.rb +38 -0
  371. data/lib/dfp_api/v201611/publisher_query_language_service_registry.rb +45 -0
  372. data/lib/dfp_api/v201611/rate_card_service.rb +62 -0
  373. data/lib/dfp_api/v201611/rate_card_service_registry.rb +45 -0
  374. data/lib/dfp_api/v201611/reconciliation_line_item_report_service.rb +46 -0
  375. data/lib/dfp_api/v201611/reconciliation_line_item_report_service_registry.rb +45 -0
  376. data/lib/dfp_api/v201611/reconciliation_order_report_service.rb +54 -0
  377. data/lib/dfp_api/v201611/reconciliation_order_report_service_registry.rb +45 -0
  378. data/lib/dfp_api/v201611/reconciliation_report_row_service.rb +46 -0
  379. data/lib/dfp_api/v201611/reconciliation_report_row_service_registry.rb +45 -0
  380. data/lib/dfp_api/v201611/reconciliation_report_service.rb +46 -0
  381. data/lib/dfp_api/v201611/reconciliation_report_service_registry.rb +45 -0
  382. data/lib/dfp_api/v201611/report_service.rb +70 -0
  383. data/lib/dfp_api/v201611/report_service_registry.rb +45 -0
  384. data/lib/dfp_api/v201611/suggested_ad_unit_service.rb +46 -0
  385. data/lib/dfp_api/v201611/suggested_ad_unit_service_registry.rb +45 -0
  386. data/lib/dfp_api/v201611/team_service.rb +54 -0
  387. data/lib/dfp_api/v201611/team_service_registry.rb +45 -0
  388. data/lib/dfp_api/v201611/user_service.rb +78 -0
  389. data/lib/dfp_api/v201611/user_service_registry.rb +45 -0
  390. data/lib/dfp_api/v201611/user_team_association_service.rb +62 -0
  391. data/lib/dfp_api/v201611/user_team_association_service_registry.rb +45 -0
  392. data/lib/dfp_api/v201611/workflow_request_service.rb +46 -0
  393. data/lib/dfp_api/v201611/workflow_request_service_registry.rb +45 -0
  394. data/lib/dfp_api/version.rb +1 -1
  395. data/test/bugs/test_issue_00000007.rb +113 -0
  396. data/test/bugs/test_issue_00000081.rb +5 -3
  397. data/test/dfp_api/test_credential_handler.rb +62 -0
  398. data/test/dfp_api/test_dfp_api.rb +2 -2
  399. metadata +203 -845
  400. data/examples/v201508/activity_group_service/create_activity_groups.rb +0 -90
  401. data/examples/v201508/activity_group_service/get_active_activity_groups.rb +0 -87
  402. data/examples/v201508/activity_group_service/get_all_activity_groups.rb +0 -81
  403. data/examples/v201508/activity_group_service/update_activity_groups.rb +0 -94
  404. data/examples/v201508/activity_service/create_activities.rb +0 -87
  405. data/examples/v201508/activity_service/get_active_activities.rb +0 -87
  406. data/examples/v201508/activity_service/get_all_activities.rb +0 -81
  407. data/examples/v201508/activity_service/update_activities.rb +0 -96
  408. data/examples/v201508/audience_segment_service/create_audience_segments.rb +0 -114
  409. data/examples/v201508/audience_segment_service/get_all_audience_segments.rb +0 -81
  410. data/examples/v201508/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  411. data/examples/v201508/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  412. data/examples/v201508/audience_segment_service/update_audience_segments.rb +0 -94
  413. data/examples/v201508/common/error_handling.rb +0 -72
  414. data/examples/v201508/common/oauth2_jwt_handling.rb +0 -99
  415. data/examples/v201508/common/setup_oauth2.rb +0 -85
  416. data/examples/v201508/company_service/create_companies.rb +0 -78
  417. data/examples/v201508/company_service/get_all_companies.rb +0 -80
  418. data/examples/v201508/company_service/get_companies_by_statement.rb +0 -89
  419. data/examples/v201508/company_service/update_companies.rb +0 -104
  420. data/examples/v201508/contact_service/create_contacts.rb +0 -91
  421. data/examples/v201508/contact_service/get_all_contacts.rb +0 -80
  422. data/examples/v201508/contact_service/get_uninvited_contacts.rb +0 -94
  423. data/examples/v201508/contact_service/update_contacts.rb +0 -96
  424. data/examples/v201508/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  425. data/examples/v201508/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  426. data/examples/v201508/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  427. data/examples/v201508/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  428. data/examples/v201508/content_service/get_all_content.rb +0 -81
  429. data/examples/v201508/content_service/get_content_by_category.rb +0 -127
  430. data/examples/v201508/creative_service/copy_image_creatives.rb +0 -111
  431. data/examples/v201508/creative_service/create_creative_from_template.rb +0 -135
  432. data/examples/v201508/creative_service/create_creatives.rb +0 -108
  433. data/examples/v201508/creative_service/create_custom_creative.rb +0 -100
  434. data/examples/v201508/creative_service/create_native_creative.rb +0 -185
  435. data/examples/v201508/creative_service/get_all_creatives.rb +0 -80
  436. data/examples/v201508/creative_service/get_creatives_by_statement.rb +0 -88
  437. data/examples/v201508/creative_service/update_creatives.rb +0 -97
  438. data/examples/v201508/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  439. data/examples/v201508/creative_set_service/create_creative_set.rb +0 -79
  440. data/examples/v201508/creative_set_service/get_all_creative_sets.rb +0 -82
  441. data/examples/v201508/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  442. data/examples/v201508/creative_set_service/update_creative_sets.rb +0 -98
  443. data/examples/v201508/creative_template_service/get_all_creative_templates.rb +0 -82
  444. data/examples/v201508/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  445. data/examples/v201508/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  446. data/examples/v201508/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  447. data/examples/v201508/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  448. data/examples/v201508/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  449. data/examples/v201508/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  450. data/examples/v201508/custom_field_service/create_custom_field_options.rb +0 -83
  451. data/examples/v201508/custom_field_service/create_custom_fields.rb +0 -82
  452. data/examples/v201508/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  453. data/examples/v201508/custom_field_service/get_all_custom_fields.rb +0 -90
  454. data/examples/v201508/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  455. data/examples/v201508/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  456. data/examples/v201508/custom_field_service/update_custom_fields.rb +0 -98
  457. data/examples/v201508/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  458. data/examples/v201508/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  459. data/examples/v201508/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  460. data/examples/v201508/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  461. data/examples/v201508/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  462. data/examples/v201508/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  463. data/examples/v201508/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  464. data/examples/v201508/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  465. data/examples/v201508/forecast_service/get_availability_forecast.rb +0 -134
  466. data/examples/v201508/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  467. data/examples/v201508/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  468. data/examples/v201508/inventory_service/create_ad_units.rb +0 -97
  469. data/examples/v201508/inventory_service/create_mobile_ad_unit.rb +0 -97
  470. data/examples/v201508/inventory_service/create_video_ad_unit.rb +0 -104
  471. data/examples/v201508/inventory_service/deactivate_ad_units.rb +0 -110
  472. data/examples/v201508/inventory_service/get_ad_unit_sizes.rb +0 -74
  473. data/examples/v201508/inventory_service/get_ad_units_by_statement.rb +0 -97
  474. data/examples/v201508/inventory_service/get_all_ad_units.rb +0 -80
  475. data/examples/v201508/inventory_service/update_ad_units.rb +0 -105
  476. data/examples/v201508/label_service/create_labels.rb +0 -79
  477. data/examples/v201508/label_service/deactivate_labels.rb +0 -107
  478. data/examples/v201508/label_service/get_all_labels.rb +0 -82
  479. data/examples/v201508/label_service/get_labels_by_statement.rb +0 -82
  480. data/examples/v201508/label_service/update_labels.rb +0 -96
  481. data/examples/v201508/line_item_creative_association_service/create_licas.rb +0 -90
  482. data/examples/v201508/line_item_creative_association_service/deactivate_licas.rb +0 -113
  483. data/examples/v201508/line_item_creative_association_service/get_all_licas.rb +0 -85
  484. data/examples/v201508/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  485. data/examples/v201508/line_item_creative_association_service/update_licas.rb +0 -96
  486. data/examples/v201508/line_item_service/activate_line_items.rb +0 -118
  487. data/examples/v201508/line_item_service/create_line_items.rb +0 -182
  488. data/examples/v201508/line_item_service/create_video_line_item.rb +0 -164
  489. data/examples/v201508/line_item_service/get_all_line_items.rb +0 -82
  490. data/examples/v201508/line_item_service/get_line_items_by_statement.rb +0 -91
  491. data/examples/v201508/line_item_service/get_recently_updated_line_items.rb +0 -100
  492. data/examples/v201508/line_item_service/target_custom_criteria.rb +0 -140
  493. data/examples/v201508/line_item_service/update_line_items.rb +0 -106
  494. data/examples/v201508/network_service/get_all_networks.rb +0 -70
  495. data/examples/v201508/network_service/get_current_network.rb +0 -62
  496. data/examples/v201508/network_service/make_test_network.rb +0 -75
  497. data/examples/v201508/order_service/approve_orders.rb +0 -110
  498. data/examples/v201508/order_service/create_orders.rb +0 -88
  499. data/examples/v201508/order_service/get_all_orders.rb +0 -80
  500. data/examples/v201508/order_service/get_orders_by_statement.rb +0 -90
  501. data/examples/v201508/order_service/update_orders.rb +0 -101
  502. data/examples/v201508/placement_service/create_placements.rb +0 -128
  503. data/examples/v201508/placement_service/deactivate_placements.rb +0 -106
  504. data/examples/v201508/placement_service/get_all_placements.rb +0 -81
  505. data/examples/v201508/placement_service/get_placements_by_statement.rb +0 -87
  506. data/examples/v201508/placement_service/update_placements.rb +0 -102
  507. data/examples/v201508/publisher_query_language_service/fetch_match_tables.rb +0 -107
  508. data/examples/v201508/publisher_query_language_service/get_all_line_items.rb +0 -95
  509. data/examples/v201508/publisher_query_language_service/get_geo_targets.rb +0 -98
  510. data/examples/v201508/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  511. data/examples/v201508/report_service/display_report.rb +0 -77
  512. data/examples/v201508/report_service/download_report.rb +0 -77
  513. data/examples/v201508/report_service/run_delivery_report.rb +0 -111
  514. data/examples/v201508/report_service/run_inventory_report.rb +0 -109
  515. data/examples/v201508/report_service/run_reach_report.rb +0 -85
  516. data/examples/v201508/report_service/run_report_with_custom_fields.rb +0 -89
  517. data/examples/v201508/report_service/run_sales_report.rb +0 -89
  518. data/examples/v201508/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  519. data/examples/v201508/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  520. data/examples/v201508/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  521. data/examples/v201508/team_service/create_teams.rb +0 -79
  522. data/examples/v201508/team_service/get_all_teams.rb +0 -79
  523. data/examples/v201508/team_service/get_teams_by_statement.rb +0 -78
  524. data/examples/v201508/team_service/update_teams.rb +0 -94
  525. data/examples/v201508/user_service/create_users.rb +0 -85
  526. data/examples/v201508/user_service/deactivate_users.rb +0 -94
  527. data/examples/v201508/user_service/get_all_roles.rb +0 -69
  528. data/examples/v201508/user_service/get_all_users.rb +0 -79
  529. data/examples/v201508/user_service/get_current_user.rb +0 -62
  530. data/examples/v201508/user_service/get_users_by_statement.rb +0 -80
  531. data/examples/v201508/user_service/update_users.rb +0 -94
  532. data/examples/v201508/user_team_association_service/create_user_team_associations.rb +0 -82
  533. data/examples/v201508/user_team_association_service/delete_user_team_associations.rb +0 -98
  534. data/examples/v201508/user_team_association_service/get_all_user_team_associations.rb +0 -83
  535. data/examples/v201508/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  536. data/examples/v201508/user_team_association_service/update_user_team_associations.rb +0 -98
  537. data/examples/v201511/activity_group_service/create_activity_groups.rb +0 -90
  538. data/examples/v201511/activity_group_service/get_active_activity_groups.rb +0 -87
  539. data/examples/v201511/activity_group_service/get_all_activity_groups.rb +0 -81
  540. data/examples/v201511/activity_group_service/update_activity_groups.rb +0 -94
  541. data/examples/v201511/activity_service/create_activities.rb +0 -87
  542. data/examples/v201511/activity_service/get_active_activities.rb +0 -87
  543. data/examples/v201511/activity_service/get_all_activities.rb +0 -81
  544. data/examples/v201511/activity_service/update_activities.rb +0 -96
  545. data/examples/v201511/audience_segment_service/create_audience_segments.rb +0 -114
  546. data/examples/v201511/audience_segment_service/get_all_audience_segments.rb +0 -81
  547. data/examples/v201511/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  548. data/examples/v201511/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  549. data/examples/v201511/audience_segment_service/update_audience_segments.rb +0 -94
  550. data/examples/v201511/common/error_handling.rb +0 -72
  551. data/examples/v201511/common/oauth2_jwt_handling.rb +0 -99
  552. data/examples/v201511/common/setup_oauth2.rb +0 -85
  553. data/examples/v201511/company_service/create_companies.rb +0 -78
  554. data/examples/v201511/company_service/get_all_companies.rb +0 -80
  555. data/examples/v201511/company_service/get_companies_by_statement.rb +0 -89
  556. data/examples/v201511/company_service/update_companies.rb +0 -104
  557. data/examples/v201511/contact_service/create_contacts.rb +0 -91
  558. data/examples/v201511/contact_service/get_all_contacts.rb +0 -80
  559. data/examples/v201511/contact_service/get_uninvited_contacts.rb +0 -94
  560. data/examples/v201511/contact_service/update_contacts.rb +0 -96
  561. data/examples/v201511/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  562. data/examples/v201511/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  563. data/examples/v201511/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  564. data/examples/v201511/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  565. data/examples/v201511/content_service/get_all_content.rb +0 -81
  566. data/examples/v201511/content_service/get_content_by_category.rb +0 -127
  567. data/examples/v201511/creative_service/copy_image_creatives.rb +0 -111
  568. data/examples/v201511/creative_service/create_creative_from_template.rb +0 -135
  569. data/examples/v201511/creative_service/create_creatives.rb +0 -108
  570. data/examples/v201511/creative_service/create_custom_creative.rb +0 -103
  571. data/examples/v201511/creative_service/create_native_creative.rb +0 -189
  572. data/examples/v201511/creative_service/get_all_creatives.rb +0 -80
  573. data/examples/v201511/creative_service/get_creatives_by_statement.rb +0 -88
  574. data/examples/v201511/creative_service/update_creatives.rb +0 -97
  575. data/examples/v201511/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  576. data/examples/v201511/creative_set_service/create_creative_set.rb +0 -79
  577. data/examples/v201511/creative_set_service/get_all_creative_sets.rb +0 -82
  578. data/examples/v201511/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  579. data/examples/v201511/creative_set_service/update_creative_sets.rb +0 -98
  580. data/examples/v201511/creative_template_service/get_all_creative_templates.rb +0 -82
  581. data/examples/v201511/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  582. data/examples/v201511/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  583. data/examples/v201511/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  584. data/examples/v201511/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  585. data/examples/v201511/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  586. data/examples/v201511/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  587. data/examples/v201511/custom_field_service/create_custom_field_options.rb +0 -83
  588. data/examples/v201511/custom_field_service/create_custom_fields.rb +0 -82
  589. data/examples/v201511/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  590. data/examples/v201511/custom_field_service/get_all_custom_fields.rb +0 -90
  591. data/examples/v201511/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  592. data/examples/v201511/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  593. data/examples/v201511/custom_field_service/update_custom_fields.rb +0 -98
  594. data/examples/v201511/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  595. data/examples/v201511/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  596. data/examples/v201511/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  597. data/examples/v201511/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  598. data/examples/v201511/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  599. data/examples/v201511/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  600. data/examples/v201511/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  601. data/examples/v201511/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  602. data/examples/v201511/forecast_service/get_availability_forecast.rb +0 -134
  603. data/examples/v201511/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  604. data/examples/v201511/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  605. data/examples/v201511/inventory_service/create_ad_units.rb +0 -97
  606. data/examples/v201511/inventory_service/create_mobile_ad_unit.rb +0 -97
  607. data/examples/v201511/inventory_service/create_video_ad_unit.rb +0 -104
  608. data/examples/v201511/inventory_service/deactivate_ad_units.rb +0 -110
  609. data/examples/v201511/inventory_service/get_ad_unit_sizes.rb +0 -74
  610. data/examples/v201511/inventory_service/get_ad_units_by_statement.rb +0 -97
  611. data/examples/v201511/inventory_service/get_all_ad_units.rb +0 -80
  612. data/examples/v201511/inventory_service/update_ad_units.rb +0 -105
  613. data/examples/v201511/label_service/create_labels.rb +0 -79
  614. data/examples/v201511/label_service/deactivate_labels.rb +0 -107
  615. data/examples/v201511/label_service/get_all_labels.rb +0 -82
  616. data/examples/v201511/label_service/get_labels_by_statement.rb +0 -82
  617. data/examples/v201511/label_service/update_labels.rb +0 -96
  618. data/examples/v201511/line_item_creative_association_service/create_licas.rb +0 -90
  619. data/examples/v201511/line_item_creative_association_service/deactivate_licas.rb +0 -113
  620. data/examples/v201511/line_item_creative_association_service/get_all_licas.rb +0 -85
  621. data/examples/v201511/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  622. data/examples/v201511/line_item_creative_association_service/update_licas.rb +0 -96
  623. data/examples/v201511/line_item_service/activate_line_items.rb +0 -118
  624. data/examples/v201511/line_item_service/create_line_items.rb +0 -182
  625. data/examples/v201511/line_item_service/create_video_line_item.rb +0 -164
  626. data/examples/v201511/line_item_service/get_all_line_items.rb +0 -82
  627. data/examples/v201511/line_item_service/get_line_items_by_statement.rb +0 -91
  628. data/examples/v201511/line_item_service/get_recently_updated_line_items.rb +0 -100
  629. data/examples/v201511/line_item_service/target_custom_criteria.rb +0 -140
  630. data/examples/v201511/line_item_service/update_line_items.rb +0 -106
  631. data/examples/v201511/network_service/get_all_networks.rb +0 -70
  632. data/examples/v201511/network_service/get_current_network.rb +0 -62
  633. data/examples/v201511/network_service/make_test_network.rb +0 -75
  634. data/examples/v201511/order_service/approve_orders.rb +0 -110
  635. data/examples/v201511/order_service/create_orders.rb +0 -88
  636. data/examples/v201511/order_service/get_all_orders.rb +0 -80
  637. data/examples/v201511/order_service/get_orders_by_statement.rb +0 -90
  638. data/examples/v201511/order_service/update_orders.rb +0 -101
  639. data/examples/v201511/placement_service/create_placements.rb +0 -128
  640. data/examples/v201511/placement_service/deactivate_placements.rb +0 -106
  641. data/examples/v201511/placement_service/get_all_placements.rb +0 -81
  642. data/examples/v201511/placement_service/get_placements_by_statement.rb +0 -87
  643. data/examples/v201511/placement_service/update_placements.rb +0 -102
  644. data/examples/v201511/publisher_query_language_service/fetch_match_tables.rb +0 -107
  645. data/examples/v201511/publisher_query_language_service/get_all_line_items.rb +0 -95
  646. data/examples/v201511/publisher_query_language_service/get_geo_targets.rb +0 -98
  647. data/examples/v201511/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  648. data/examples/v201511/report_service/display_report.rb +0 -77
  649. data/examples/v201511/report_service/download_report.rb +0 -77
  650. data/examples/v201511/report_service/run_delivery_report.rb +0 -111
  651. data/examples/v201511/report_service/run_inventory_report.rb +0 -109
  652. data/examples/v201511/report_service/run_reach_report.rb +0 -85
  653. data/examples/v201511/report_service/run_report_with_custom_fields.rb +0 -89
  654. data/examples/v201511/report_service/run_sales_report.rb +0 -89
  655. data/examples/v201511/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  656. data/examples/v201511/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  657. data/examples/v201511/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  658. data/examples/v201511/team_service/create_teams.rb +0 -79
  659. data/examples/v201511/team_service/get_all_teams.rb +0 -79
  660. data/examples/v201511/team_service/get_teams_by_statement.rb +0 -78
  661. data/examples/v201511/team_service/update_teams.rb +0 -94
  662. data/examples/v201511/user_service/create_users.rb +0 -85
  663. data/examples/v201511/user_service/deactivate_users.rb +0 -94
  664. data/examples/v201511/user_service/get_all_roles.rb +0 -69
  665. data/examples/v201511/user_service/get_all_users.rb +0 -79
  666. data/examples/v201511/user_service/get_current_user.rb +0 -62
  667. data/examples/v201511/user_service/get_users_by_statement.rb +0 -80
  668. data/examples/v201511/user_service/update_users.rb +0 -94
  669. data/examples/v201511/user_team_association_service/create_user_team_associations.rb +0 -82
  670. data/examples/v201511/user_team_association_service/delete_user_team_associations.rb +0 -98
  671. data/examples/v201511/user_team_association_service/get_all_user_team_associations.rb +0 -83
  672. data/examples/v201511/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  673. data/examples/v201511/user_team_association_service/update_user_team_associations.rb +0 -98
  674. data/examples/v201602/activity_group_service/create_activity_groups.rb +0 -90
  675. data/examples/v201602/activity_group_service/get_active_activity_groups.rb +0 -87
  676. data/examples/v201602/activity_group_service/get_all_activity_groups.rb +0 -81
  677. data/examples/v201602/activity_group_service/update_activity_groups.rb +0 -94
  678. data/examples/v201602/activity_service/create_activities.rb +0 -87
  679. data/examples/v201602/activity_service/get_active_activities.rb +0 -87
  680. data/examples/v201602/activity_service/get_all_activities.rb +0 -81
  681. data/examples/v201602/activity_service/update_activities.rb +0 -96
  682. data/examples/v201602/audience_segment_service/create_audience_segments.rb +0 -114
  683. data/examples/v201602/audience_segment_service/get_all_audience_segments.rb +0 -81
  684. data/examples/v201602/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  685. data/examples/v201602/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  686. data/examples/v201602/audience_segment_service/update_audience_segments.rb +0 -94
  687. data/examples/v201602/common/error_handling.rb +0 -72
  688. data/examples/v201602/common/oauth2_jwt_handling.rb +0 -99
  689. data/examples/v201602/common/setup_oauth2.rb +0 -85
  690. data/examples/v201602/company_service/create_companies.rb +0 -78
  691. data/examples/v201602/company_service/get_all_companies.rb +0 -80
  692. data/examples/v201602/company_service/get_companies_by_statement.rb +0 -89
  693. data/examples/v201602/company_service/update_companies.rb +0 -104
  694. data/examples/v201602/contact_service/create_contacts.rb +0 -91
  695. data/examples/v201602/contact_service/get_all_contacts.rb +0 -80
  696. data/examples/v201602/contact_service/get_uninvited_contacts.rb +0 -94
  697. data/examples/v201602/contact_service/update_contacts.rb +0 -96
  698. data/examples/v201602/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  699. data/examples/v201602/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  700. data/examples/v201602/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  701. data/examples/v201602/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  702. data/examples/v201602/content_service/get_all_content.rb +0 -81
  703. data/examples/v201602/content_service/get_content_by_category.rb +0 -127
  704. data/examples/v201602/creative_service/copy_image_creatives.rb +0 -111
  705. data/examples/v201602/creative_service/create_creative_from_template.rb +0 -135
  706. data/examples/v201602/creative_service/create_creatives.rb +0 -108
  707. data/examples/v201602/creative_service/create_custom_creative.rb +0 -103
  708. data/examples/v201602/creative_service/create_native_creative.rb +0 -189
  709. data/examples/v201602/creative_service/get_all_creatives.rb +0 -80
  710. data/examples/v201602/creative_service/get_creatives_by_statement.rb +0 -88
  711. data/examples/v201602/creative_service/update_creatives.rb +0 -97
  712. data/examples/v201602/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  713. data/examples/v201602/creative_set_service/create_creative_set.rb +0 -79
  714. data/examples/v201602/creative_set_service/get_all_creative_sets.rb +0 -82
  715. data/examples/v201602/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  716. data/examples/v201602/creative_set_service/update_creative_sets.rb +0 -98
  717. data/examples/v201602/creative_template_service/get_all_creative_templates.rb +0 -82
  718. data/examples/v201602/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  719. data/examples/v201602/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  720. data/examples/v201602/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  721. data/examples/v201602/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  722. data/examples/v201602/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  723. data/examples/v201602/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  724. data/examples/v201602/custom_field_service/create_custom_field_options.rb +0 -83
  725. data/examples/v201602/custom_field_service/create_custom_fields.rb +0 -82
  726. data/examples/v201602/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  727. data/examples/v201602/custom_field_service/get_all_custom_fields.rb +0 -90
  728. data/examples/v201602/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  729. data/examples/v201602/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  730. data/examples/v201602/custom_field_service/update_custom_fields.rb +0 -98
  731. data/examples/v201602/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  732. data/examples/v201602/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  733. data/examples/v201602/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  734. data/examples/v201602/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  735. data/examples/v201602/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  736. data/examples/v201602/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  737. data/examples/v201602/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  738. data/examples/v201602/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  739. data/examples/v201602/forecast_service/get_availability_forecast.rb +0 -134
  740. data/examples/v201602/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  741. data/examples/v201602/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  742. data/examples/v201602/inventory_service/create_ad_units.rb +0 -97
  743. data/examples/v201602/inventory_service/create_video_ad_unit.rb +0 -103
  744. data/examples/v201602/inventory_service/deactivate_ad_units.rb +0 -110
  745. data/examples/v201602/inventory_service/get_ad_unit_sizes.rb +0 -74
  746. data/examples/v201602/inventory_service/get_ad_units_by_statement.rb +0 -97
  747. data/examples/v201602/inventory_service/get_all_ad_units.rb +0 -80
  748. data/examples/v201602/inventory_service/update_ad_units.rb +0 -105
  749. data/examples/v201602/label_service/create_labels.rb +0 -79
  750. data/examples/v201602/label_service/deactivate_labels.rb +0 -107
  751. data/examples/v201602/label_service/get_all_labels.rb +0 -82
  752. data/examples/v201602/label_service/get_labels_by_statement.rb +0 -82
  753. data/examples/v201602/label_service/update_labels.rb +0 -96
  754. data/examples/v201602/line_item_creative_association_service/create_licas.rb +0 -90
  755. data/examples/v201602/line_item_creative_association_service/deactivate_licas.rb +0 -113
  756. data/examples/v201602/line_item_creative_association_service/get_all_licas.rb +0 -85
  757. data/examples/v201602/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  758. data/examples/v201602/line_item_creative_association_service/update_licas.rb +0 -96
  759. data/examples/v201602/line_item_service/activate_line_items.rb +0 -118
  760. data/examples/v201602/line_item_service/create_line_items.rb +0 -182
  761. data/examples/v201602/line_item_service/create_video_line_item.rb +0 -164
  762. data/examples/v201602/line_item_service/get_all_line_items.rb +0 -82
  763. data/examples/v201602/line_item_service/get_line_items_by_statement.rb +0 -91
  764. data/examples/v201602/line_item_service/get_recently_updated_line_items.rb +0 -100
  765. data/examples/v201602/line_item_service/target_custom_criteria.rb +0 -140
  766. data/examples/v201602/line_item_service/update_line_items.rb +0 -106
  767. data/examples/v201602/network_service/get_all_networks.rb +0 -70
  768. data/examples/v201602/network_service/get_current_network.rb +0 -62
  769. data/examples/v201602/network_service/make_test_network.rb +0 -75
  770. data/examples/v201602/order_service/approve_orders.rb +0 -110
  771. data/examples/v201602/order_service/create_orders.rb +0 -88
  772. data/examples/v201602/order_service/get_all_orders.rb +0 -80
  773. data/examples/v201602/order_service/get_orders_by_statement.rb +0 -90
  774. data/examples/v201602/order_service/update_orders.rb +0 -101
  775. data/examples/v201602/placement_service/create_placements.rb +0 -128
  776. data/examples/v201602/placement_service/deactivate_placements.rb +0 -106
  777. data/examples/v201602/placement_service/get_all_placements.rb +0 -81
  778. data/examples/v201602/placement_service/get_placements_by_statement.rb +0 -87
  779. data/examples/v201602/placement_service/update_placements.rb +0 -102
  780. data/examples/v201602/publisher_query_language_service/fetch_match_tables.rb +0 -107
  781. data/examples/v201602/publisher_query_language_service/get_all_line_items.rb +0 -95
  782. data/examples/v201602/publisher_query_language_service/get_geo_targets.rb +0 -98
  783. data/examples/v201602/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  784. data/examples/v201602/report_service/display_report.rb +0 -77
  785. data/examples/v201602/report_service/download_report.rb +0 -77
  786. data/examples/v201602/report_service/run_delivery_report.rb +0 -111
  787. data/examples/v201602/report_service/run_inventory_report.rb +0 -109
  788. data/examples/v201602/report_service/run_reach_report.rb +0 -85
  789. data/examples/v201602/report_service/run_report_with_custom_fields.rb +0 -89
  790. data/examples/v201602/report_service/run_sales_report.rb +0 -89
  791. data/examples/v201602/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  792. data/examples/v201602/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  793. data/examples/v201602/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  794. data/examples/v201602/team_service/create_teams.rb +0 -79
  795. data/examples/v201602/team_service/get_all_teams.rb +0 -79
  796. data/examples/v201602/team_service/get_teams_by_statement.rb +0 -78
  797. data/examples/v201602/team_service/update_teams.rb +0 -94
  798. data/examples/v201602/user_service/create_users.rb +0 -85
  799. data/examples/v201602/user_service/deactivate_users.rb +0 -94
  800. data/examples/v201602/user_service/get_all_roles.rb +0 -69
  801. data/examples/v201602/user_service/get_all_users.rb +0 -79
  802. data/examples/v201602/user_service/get_current_user.rb +0 -62
  803. data/examples/v201602/user_service/get_users_by_statement.rb +0 -80
  804. data/examples/v201602/user_service/update_users.rb +0 -94
  805. data/examples/v201602/user_team_association_service/create_user_team_associations.rb +0 -82
  806. data/examples/v201602/user_team_association_service/delete_user_team_associations.rb +0 -98
  807. data/examples/v201602/user_team_association_service/get_all_user_team_associations.rb +0 -83
  808. data/examples/v201602/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  809. data/examples/v201602/user_team_association_service/update_user_team_associations.rb +0 -98
  810. data/examples/v201605/activity_group_service/create_activity_groups.rb +0 -90
  811. data/examples/v201605/activity_group_service/get_active_activity_groups.rb +0 -87
  812. data/examples/v201605/activity_group_service/get_all_activity_groups.rb +0 -81
  813. data/examples/v201605/activity_group_service/update_activity_groups.rb +0 -94
  814. data/examples/v201605/activity_service/create_activities.rb +0 -87
  815. data/examples/v201605/activity_service/get_active_activities.rb +0 -87
  816. data/examples/v201605/activity_service/get_all_activities.rb +0 -81
  817. data/examples/v201605/activity_service/update_activities.rb +0 -96
  818. data/examples/v201605/audience_segment_service/create_audience_segments.rb +0 -114
  819. data/examples/v201605/audience_segment_service/get_all_audience_segments.rb +0 -81
  820. data/examples/v201605/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  821. data/examples/v201605/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  822. data/examples/v201605/audience_segment_service/update_audience_segments.rb +0 -94
  823. data/examples/v201605/common/error_handling.rb +0 -72
  824. data/examples/v201605/common/oauth2_jwt_handling.rb +0 -99
  825. data/examples/v201605/common/setup_oauth2.rb +0 -85
  826. data/examples/v201605/company_service/create_companies.rb +0 -78
  827. data/examples/v201605/company_service/get_all_companies.rb +0 -80
  828. data/examples/v201605/company_service/get_companies_by_statement.rb +0 -89
  829. data/examples/v201605/company_service/update_companies.rb +0 -104
  830. data/examples/v201605/contact_service/create_contacts.rb +0 -91
  831. data/examples/v201605/contact_service/get_all_contacts.rb +0 -80
  832. data/examples/v201605/contact_service/get_uninvited_contacts.rb +0 -94
  833. data/examples/v201605/contact_service/update_contacts.rb +0 -96
  834. data/examples/v201605/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  835. data/examples/v201605/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  836. data/examples/v201605/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  837. data/examples/v201605/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  838. data/examples/v201605/content_service/get_all_content.rb +0 -81
  839. data/examples/v201605/content_service/get_content_by_category.rb +0 -127
  840. data/examples/v201605/creative_service/copy_image_creatives.rb +0 -111
  841. data/examples/v201605/creative_service/create_creative_from_template.rb +0 -135
  842. data/examples/v201605/creative_service/create_creatives.rb +0 -108
  843. data/examples/v201605/creative_service/create_custom_creative.rb +0 -103
  844. data/examples/v201605/creative_service/create_native_creative.rb +0 -189
  845. data/examples/v201605/creative_service/get_all_creatives.rb +0 -80
  846. data/examples/v201605/creative_service/get_creatives_by_statement.rb +0 -88
  847. data/examples/v201605/creative_service/update_creatives.rb +0 -97
  848. data/examples/v201605/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  849. data/examples/v201605/creative_set_service/create_creative_set.rb +0 -79
  850. data/examples/v201605/creative_set_service/get_all_creative_sets.rb +0 -82
  851. data/examples/v201605/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  852. data/examples/v201605/creative_set_service/update_creative_sets.rb +0 -98
  853. data/examples/v201605/creative_template_service/get_all_creative_templates.rb +0 -82
  854. data/examples/v201605/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  855. data/examples/v201605/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  856. data/examples/v201605/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  857. data/examples/v201605/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  858. data/examples/v201605/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  859. data/examples/v201605/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  860. data/examples/v201605/custom_field_service/create_custom_field_options.rb +0 -83
  861. data/examples/v201605/custom_field_service/create_custom_fields.rb +0 -82
  862. data/examples/v201605/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  863. data/examples/v201605/custom_field_service/get_all_custom_fields.rb +0 -90
  864. data/examples/v201605/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  865. data/examples/v201605/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  866. data/examples/v201605/custom_field_service/update_custom_fields.rb +0 -98
  867. data/examples/v201605/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  868. data/examples/v201605/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  869. data/examples/v201605/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  870. data/examples/v201605/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  871. data/examples/v201605/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  872. data/examples/v201605/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  873. data/examples/v201605/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  874. data/examples/v201605/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  875. data/examples/v201605/forecast_service/get_availability_forecast.rb +0 -134
  876. data/examples/v201605/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  877. data/examples/v201605/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  878. data/examples/v201605/inventory_service/create_ad_units.rb +0 -97
  879. data/examples/v201605/inventory_service/create_video_ad_unit.rb +0 -103
  880. data/examples/v201605/inventory_service/deactivate_ad_units.rb +0 -110
  881. data/examples/v201605/inventory_service/get_ad_unit_sizes.rb +0 -74
  882. data/examples/v201605/inventory_service/get_ad_units_by_statement.rb +0 -97
  883. data/examples/v201605/inventory_service/get_all_ad_units.rb +0 -80
  884. data/examples/v201605/inventory_service/update_ad_units.rb +0 -105
  885. data/examples/v201605/label_service/create_labels.rb +0 -79
  886. data/examples/v201605/label_service/deactivate_labels.rb +0 -107
  887. data/examples/v201605/label_service/get_all_labels.rb +0 -82
  888. data/examples/v201605/label_service/get_labels_by_statement.rb +0 -82
  889. data/examples/v201605/label_service/update_labels.rb +0 -96
  890. data/examples/v201605/line_item_creative_association_service/create_licas.rb +0 -90
  891. data/examples/v201605/line_item_creative_association_service/deactivate_licas.rb +0 -113
  892. data/examples/v201605/line_item_creative_association_service/get_all_licas.rb +0 -85
  893. data/examples/v201605/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  894. data/examples/v201605/line_item_creative_association_service/update_licas.rb +0 -96
  895. data/examples/v201605/line_item_service/activate_line_items.rb +0 -118
  896. data/examples/v201605/line_item_service/create_line_items.rb +0 -182
  897. data/examples/v201605/line_item_service/create_video_line_item.rb +0 -164
  898. data/examples/v201605/line_item_service/get_all_line_items.rb +0 -82
  899. data/examples/v201605/line_item_service/get_line_items_by_statement.rb +0 -91
  900. data/examples/v201605/line_item_service/get_recently_updated_line_items.rb +0 -100
  901. data/examples/v201605/line_item_service/target_custom_criteria.rb +0 -140
  902. data/examples/v201605/line_item_service/update_line_items.rb +0 -106
  903. data/examples/v201605/network_service/get_all_networks.rb +0 -70
  904. data/examples/v201605/network_service/get_current_network.rb +0 -62
  905. data/examples/v201605/network_service/make_test_network.rb +0 -75
  906. data/examples/v201605/order_service/approve_orders.rb +0 -110
  907. data/examples/v201605/order_service/create_orders.rb +0 -88
  908. data/examples/v201605/order_service/get_all_orders.rb +0 -80
  909. data/examples/v201605/order_service/get_orders_by_statement.rb +0 -90
  910. data/examples/v201605/order_service/update_orders.rb +0 -101
  911. data/examples/v201605/placement_service/create_placements.rb +0 -128
  912. data/examples/v201605/placement_service/deactivate_placements.rb +0 -106
  913. data/examples/v201605/placement_service/get_all_placements.rb +0 -81
  914. data/examples/v201605/placement_service/get_placements_by_statement.rb +0 -87
  915. data/examples/v201605/placement_service/update_placements.rb +0 -102
  916. data/examples/v201605/publisher_query_language_service/fetch_match_tables.rb +0 -107
  917. data/examples/v201605/publisher_query_language_service/get_all_line_items.rb +0 -95
  918. data/examples/v201605/publisher_query_language_service/get_geo_targets.rb +0 -98
  919. data/examples/v201605/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  920. data/examples/v201605/report_service/display_report.rb +0 -77
  921. data/examples/v201605/report_service/download_report.rb +0 -77
  922. data/examples/v201605/report_service/run_delivery_report.rb +0 -111
  923. data/examples/v201605/report_service/run_inventory_report.rb +0 -109
  924. data/examples/v201605/report_service/run_reach_report.rb +0 -85
  925. data/examples/v201605/report_service/run_report_with_custom_fields.rb +0 -89
  926. data/examples/v201605/report_service/run_sales_report.rb +0 -89
  927. data/examples/v201605/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  928. data/examples/v201605/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  929. data/examples/v201605/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  930. data/examples/v201605/team_service/create_teams.rb +0 -79
  931. data/examples/v201605/team_service/get_all_teams.rb +0 -79
  932. data/examples/v201605/team_service/get_teams_by_statement.rb +0 -78
  933. data/examples/v201605/team_service/update_teams.rb +0 -94
  934. data/examples/v201605/user_service/create_users.rb +0 -85
  935. data/examples/v201605/user_service/deactivate_users.rb +0 -94
  936. data/examples/v201605/user_service/get_all_roles.rb +0 -69
  937. data/examples/v201605/user_service/get_all_users.rb +0 -79
  938. data/examples/v201605/user_service/get_current_user.rb +0 -62
  939. data/examples/v201605/user_service/get_users_by_statement.rb +0 -80
  940. data/examples/v201605/user_service/update_users.rb +0 -94
  941. data/examples/v201605/user_team_association_service/create_user_team_associations.rb +0 -82
  942. data/examples/v201605/user_team_association_service/delete_user_team_associations.rb +0 -98
  943. data/examples/v201605/user_team_association_service/get_all_user_team_associations.rb +0 -83
  944. data/examples/v201605/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  945. data/examples/v201605/user_team_association_service/update_user_team_associations.rb +0 -98
  946. data/lib/dfp_api/v201505/activity_group_service.rb +0 -54
  947. data/lib/dfp_api/v201505/activity_group_service_registry.rb +0 -45
  948. data/lib/dfp_api/v201505/activity_service.rb +0 -54
  949. data/lib/dfp_api/v201505/activity_service_registry.rb +0 -45
  950. data/lib/dfp_api/v201505/ad_exclusion_rule_service.rb +0 -62
  951. data/lib/dfp_api/v201505/ad_exclusion_rule_service_registry.rb +0 -45
  952. data/lib/dfp_api/v201505/ad_rule_service.rb +0 -62
  953. data/lib/dfp_api/v201505/ad_rule_service_registry.rb +0 -45
  954. data/lib/dfp_api/v201505/audience_segment_service.rb +0 -62
  955. data/lib/dfp_api/v201505/audience_segment_service_registry.rb +0 -45
  956. data/lib/dfp_api/v201505/base_rate_service.rb +0 -62
  957. data/lib/dfp_api/v201505/base_rate_service_registry.rb +0 -45
  958. data/lib/dfp_api/v201505/company_service.rb +0 -54
  959. data/lib/dfp_api/v201505/company_service_registry.rb +0 -45
  960. data/lib/dfp_api/v201505/contact_service.rb +0 -54
  961. data/lib/dfp_api/v201505/contact_service_registry.rb +0 -45
  962. data/lib/dfp_api/v201505/content_bundle_service.rb +0 -62
  963. data/lib/dfp_api/v201505/content_bundle_service_registry.rb +0 -45
  964. data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service.rb +0 -62
  965. data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service_registry.rb +0 -45
  966. data/lib/dfp_api/v201505/content_service.rb +0 -46
  967. data/lib/dfp_api/v201505/content_service_registry.rb +0 -45
  968. data/lib/dfp_api/v201505/creative_service.rb +0 -54
  969. data/lib/dfp_api/v201505/creative_service_registry.rb +0 -45
  970. data/lib/dfp_api/v201505/creative_set_service.rb +0 -54
  971. data/lib/dfp_api/v201505/creative_set_service_registry.rb +0 -45
  972. data/lib/dfp_api/v201505/creative_template_service.rb +0 -38
  973. data/lib/dfp_api/v201505/creative_template_service_registry.rb +0 -45
  974. data/lib/dfp_api/v201505/creative_wrapper_service.rb +0 -62
  975. data/lib/dfp_api/v201505/creative_wrapper_service_registry.rb +0 -45
  976. data/lib/dfp_api/v201505/custom_field_service.rb +0 -86
  977. data/lib/dfp_api/v201505/custom_field_service_registry.rb +0 -45
  978. data/lib/dfp_api/v201505/custom_targeting_service.rb +0 -94
  979. data/lib/dfp_api/v201505/custom_targeting_service_registry.rb +0 -45
  980. data/lib/dfp_api/v201505/exchange_rate_service.rb +0 -62
  981. data/lib/dfp_api/v201505/exchange_rate_service_registry.rb +0 -45
  982. data/lib/dfp_api/v201505/forecast_service.rb +0 -62
  983. data/lib/dfp_api/v201505/forecast_service_registry.rb +0 -45
  984. data/lib/dfp_api/v201505/inventory_service.rb +0 -70
  985. data/lib/dfp_api/v201505/inventory_service_registry.rb +0 -45
  986. data/lib/dfp_api/v201505/label_service.rb +0 -62
  987. data/lib/dfp_api/v201505/label_service_registry.rb +0 -45
  988. data/lib/dfp_api/v201505/line_item_creative_association_service.rb +0 -70
  989. data/lib/dfp_api/v201505/line_item_creative_association_service_registry.rb +0 -45
  990. data/lib/dfp_api/v201505/line_item_service.rb +0 -62
  991. data/lib/dfp_api/v201505/line_item_service_registry.rb +0 -45
  992. data/lib/dfp_api/v201505/line_item_template_service.rb +0 -38
  993. data/lib/dfp_api/v201505/line_item_template_service_registry.rb +0 -45
  994. data/lib/dfp_api/v201505/live_stream_event_service.rb +0 -62
  995. data/lib/dfp_api/v201505/live_stream_event_service_registry.rb +0 -45
  996. data/lib/dfp_api/v201505/network_service.rb +0 -62
  997. data/lib/dfp_api/v201505/network_service_registry.rb +0 -45
  998. data/lib/dfp_api/v201505/order_service.rb +0 -62
  999. data/lib/dfp_api/v201505/order_service_registry.rb +0 -45
  1000. data/lib/dfp_api/v201505/package_service.rb +0 -62
  1001. data/lib/dfp_api/v201505/package_service_registry.rb +0 -45
  1002. data/lib/dfp_api/v201505/placement_service.rb +0 -62
  1003. data/lib/dfp_api/v201505/placement_service_registry.rb +0 -45
  1004. data/lib/dfp_api/v201505/premium_rate_service.rb +0 -54
  1005. data/lib/dfp_api/v201505/premium_rate_service_registry.rb +0 -45
  1006. data/lib/dfp_api/v201505/product_package_item_service.rb +0 -62
  1007. data/lib/dfp_api/v201505/product_package_item_service_registry.rb +0 -45
  1008. data/lib/dfp_api/v201505/product_package_service.rb +0 -62
  1009. data/lib/dfp_api/v201505/product_package_service_registry.rb +0 -45
  1010. data/lib/dfp_api/v201505/product_service.rb +0 -54
  1011. data/lib/dfp_api/v201505/product_service_registry.rb +0 -45
  1012. data/lib/dfp_api/v201505/product_template_service.rb +0 -62
  1013. data/lib/dfp_api/v201505/product_template_service_registry.rb +0 -45
  1014. data/lib/dfp_api/v201505/proposal_line_item_service.rb +0 -62
  1015. data/lib/dfp_api/v201505/proposal_line_item_service_registry.rb +0 -45
  1016. data/lib/dfp_api/v201505/proposal_service.rb +0 -62
  1017. data/lib/dfp_api/v201505/proposal_service_registry.rb +0 -45
  1018. data/lib/dfp_api/v201505/publisher_query_language_service.rb +0 -38
  1019. data/lib/dfp_api/v201505/publisher_query_language_service_registry.rb +0 -45
  1020. data/lib/dfp_api/v201505/rate_card_service.rb +0 -62
  1021. data/lib/dfp_api/v201505/rate_card_service_registry.rb +0 -45
  1022. data/lib/dfp_api/v201505/reconciliation_order_report_service.rb +0 -46
  1023. data/lib/dfp_api/v201505/reconciliation_order_report_service_registry.rb +0 -45
  1024. data/lib/dfp_api/v201505/reconciliation_report_row_service.rb +0 -46
  1025. data/lib/dfp_api/v201505/reconciliation_report_row_service_registry.rb +0 -45
  1026. data/lib/dfp_api/v201505/reconciliation_report_service.rb +0 -46
  1027. data/lib/dfp_api/v201505/reconciliation_report_service_registry.rb +0 -45
  1028. data/lib/dfp_api/v201505/report_service.rb +0 -62
  1029. data/lib/dfp_api/v201505/report_service_registry.rb +0 -45
  1030. data/lib/dfp_api/v201505/shared_ad_unit_service.rb +0 -46
  1031. data/lib/dfp_api/v201505/shared_ad_unit_service_registry.rb +0 -45
  1032. data/lib/dfp_api/v201505/suggested_ad_unit_service.rb +0 -46
  1033. data/lib/dfp_api/v201505/suggested_ad_unit_service_registry.rb +0 -45
  1034. data/lib/dfp_api/v201505/team_service.rb +0 -54
  1035. data/lib/dfp_api/v201505/team_service_registry.rb +0 -45
  1036. data/lib/dfp_api/v201505/user_service.rb +0 -78
  1037. data/lib/dfp_api/v201505/user_service_registry.rb +0 -45
  1038. data/lib/dfp_api/v201505/user_team_association_service.rb +0 -62
  1039. data/lib/dfp_api/v201505/user_team_association_service_registry.rb +0 -45
  1040. data/lib/dfp_api/v201505/workflow_request_service.rb +0 -46
  1041. data/lib/dfp_api/v201505/workflow_request_service_registry.rb +0 -45
  1042. data/lib/dfp_api/v201508/activity_group_service.rb +0 -54
  1043. data/lib/dfp_api/v201508/activity_group_service_registry.rb +0 -45
  1044. data/lib/dfp_api/v201508/activity_service.rb +0 -54
  1045. data/lib/dfp_api/v201508/activity_service_registry.rb +0 -45
  1046. data/lib/dfp_api/v201508/ad_exclusion_rule_service.rb +0 -62
  1047. data/lib/dfp_api/v201508/ad_exclusion_rule_service_registry.rb +0 -45
  1048. data/lib/dfp_api/v201508/ad_rule_service.rb +0 -62
  1049. data/lib/dfp_api/v201508/ad_rule_service_registry.rb +0 -45
  1050. data/lib/dfp_api/v201508/audience_segment_service.rb +0 -62
  1051. data/lib/dfp_api/v201508/audience_segment_service_registry.rb +0 -45
  1052. data/lib/dfp_api/v201508/base_rate_service.rb +0 -62
  1053. data/lib/dfp_api/v201508/base_rate_service_registry.rb +0 -45
  1054. data/lib/dfp_api/v201508/company_service.rb +0 -54
  1055. data/lib/dfp_api/v201508/company_service_registry.rb +0 -45
  1056. data/lib/dfp_api/v201508/contact_service.rb +0 -54
  1057. data/lib/dfp_api/v201508/contact_service_registry.rb +0 -45
  1058. data/lib/dfp_api/v201508/content_bundle_service.rb +0 -62
  1059. data/lib/dfp_api/v201508/content_bundle_service_registry.rb +0 -45
  1060. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service.rb +0 -62
  1061. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service_registry.rb +0 -45
  1062. data/lib/dfp_api/v201508/content_service.rb +0 -46
  1063. data/lib/dfp_api/v201508/content_service_registry.rb +0 -45
  1064. data/lib/dfp_api/v201508/creative_service.rb +0 -54
  1065. data/lib/dfp_api/v201508/creative_service_registry.rb +0 -45
  1066. data/lib/dfp_api/v201508/creative_set_service.rb +0 -54
  1067. data/lib/dfp_api/v201508/creative_set_service_registry.rb +0 -45
  1068. data/lib/dfp_api/v201508/creative_template_service.rb +0 -38
  1069. data/lib/dfp_api/v201508/creative_template_service_registry.rb +0 -45
  1070. data/lib/dfp_api/v201508/creative_wrapper_service.rb +0 -62
  1071. data/lib/dfp_api/v201508/creative_wrapper_service_registry.rb +0 -45
  1072. data/lib/dfp_api/v201508/custom_field_service.rb +0 -86
  1073. data/lib/dfp_api/v201508/custom_field_service_registry.rb +0 -45
  1074. data/lib/dfp_api/v201508/custom_targeting_service.rb +0 -94
  1075. data/lib/dfp_api/v201508/custom_targeting_service_registry.rb +0 -45
  1076. data/lib/dfp_api/v201508/exchange_rate_service.rb +0 -62
  1077. data/lib/dfp_api/v201508/exchange_rate_service_registry.rb +0 -45
  1078. data/lib/dfp_api/v201508/forecast_service.rb +0 -62
  1079. data/lib/dfp_api/v201508/forecast_service_registry.rb +0 -45
  1080. data/lib/dfp_api/v201508/inventory_service.rb +0 -70
  1081. data/lib/dfp_api/v201508/inventory_service_registry.rb +0 -45
  1082. data/lib/dfp_api/v201508/label_service.rb +0 -62
  1083. data/lib/dfp_api/v201508/label_service_registry.rb +0 -45
  1084. data/lib/dfp_api/v201508/line_item_creative_association_service.rb +0 -70
  1085. data/lib/dfp_api/v201508/line_item_creative_association_service_registry.rb +0 -45
  1086. data/lib/dfp_api/v201508/line_item_service.rb +0 -62
  1087. data/lib/dfp_api/v201508/line_item_service_registry.rb +0 -45
  1088. data/lib/dfp_api/v201508/line_item_template_service.rb +0 -38
  1089. data/lib/dfp_api/v201508/line_item_template_service_registry.rb +0 -45
  1090. data/lib/dfp_api/v201508/live_stream_event_service.rb +0 -62
  1091. data/lib/dfp_api/v201508/live_stream_event_service_registry.rb +0 -45
  1092. data/lib/dfp_api/v201508/network_service.rb +0 -62
  1093. data/lib/dfp_api/v201508/network_service_registry.rb +0 -45
  1094. data/lib/dfp_api/v201508/order_service.rb +0 -62
  1095. data/lib/dfp_api/v201508/order_service_registry.rb +0 -45
  1096. data/lib/dfp_api/v201508/package_service.rb +0 -62
  1097. data/lib/dfp_api/v201508/package_service_registry.rb +0 -45
  1098. data/lib/dfp_api/v201508/placement_service.rb +0 -62
  1099. data/lib/dfp_api/v201508/placement_service_registry.rb +0 -45
  1100. data/lib/dfp_api/v201508/premium_rate_service.rb +0 -54
  1101. data/lib/dfp_api/v201508/premium_rate_service_registry.rb +0 -45
  1102. data/lib/dfp_api/v201508/product_package_item_service.rb +0 -62
  1103. data/lib/dfp_api/v201508/product_package_item_service_registry.rb +0 -45
  1104. data/lib/dfp_api/v201508/product_package_service.rb +0 -62
  1105. data/lib/dfp_api/v201508/product_package_service_registry.rb +0 -45
  1106. data/lib/dfp_api/v201508/product_service.rb +0 -54
  1107. data/lib/dfp_api/v201508/product_service_registry.rb +0 -45
  1108. data/lib/dfp_api/v201508/product_template_service.rb +0 -62
  1109. data/lib/dfp_api/v201508/product_template_service_registry.rb +0 -45
  1110. data/lib/dfp_api/v201508/proposal_line_item_service.rb +0 -62
  1111. data/lib/dfp_api/v201508/proposal_line_item_service_registry.rb +0 -45
  1112. data/lib/dfp_api/v201508/proposal_service.rb +0 -62
  1113. data/lib/dfp_api/v201508/proposal_service_registry.rb +0 -45
  1114. data/lib/dfp_api/v201508/publisher_query_language_service.rb +0 -38
  1115. data/lib/dfp_api/v201508/publisher_query_language_service_registry.rb +0 -45
  1116. data/lib/dfp_api/v201508/rate_card_service.rb +0 -62
  1117. data/lib/dfp_api/v201508/rate_card_service_registry.rb +0 -45
  1118. data/lib/dfp_api/v201508/reconciliation_line_item_report_service.rb +0 -46
  1119. data/lib/dfp_api/v201508/reconciliation_line_item_report_service_registry.rb +0 -45
  1120. data/lib/dfp_api/v201508/reconciliation_order_report_service.rb +0 -54
  1121. data/lib/dfp_api/v201508/reconciliation_order_report_service_registry.rb +0 -45
  1122. data/lib/dfp_api/v201508/reconciliation_report_row_service.rb +0 -46
  1123. data/lib/dfp_api/v201508/reconciliation_report_row_service_registry.rb +0 -45
  1124. data/lib/dfp_api/v201508/reconciliation_report_service.rb +0 -46
  1125. data/lib/dfp_api/v201508/reconciliation_report_service_registry.rb +0 -45
  1126. data/lib/dfp_api/v201508/report_service.rb +0 -62
  1127. data/lib/dfp_api/v201508/report_service_registry.rb +0 -45
  1128. data/lib/dfp_api/v201508/shared_ad_unit_service.rb +0 -46
  1129. data/lib/dfp_api/v201508/shared_ad_unit_service_registry.rb +0 -45
  1130. data/lib/dfp_api/v201508/suggested_ad_unit_service.rb +0 -46
  1131. data/lib/dfp_api/v201508/suggested_ad_unit_service_registry.rb +0 -45
  1132. data/lib/dfp_api/v201508/team_service.rb +0 -54
  1133. data/lib/dfp_api/v201508/team_service_registry.rb +0 -45
  1134. data/lib/dfp_api/v201508/user_service.rb +0 -78
  1135. data/lib/dfp_api/v201508/user_service_registry.rb +0 -45
  1136. data/lib/dfp_api/v201508/user_team_association_service.rb +0 -62
  1137. data/lib/dfp_api/v201508/user_team_association_service_registry.rb +0 -45
  1138. data/lib/dfp_api/v201508/workflow_request_service.rb +0 -46
  1139. data/lib/dfp_api/v201508/workflow_request_service_registry.rb +0 -45
  1140. data/lib/dfp_api/v201511/activity_group_service.rb +0 -54
  1141. data/lib/dfp_api/v201511/activity_group_service_registry.rb +0 -45
  1142. data/lib/dfp_api/v201511/activity_service.rb +0 -54
  1143. data/lib/dfp_api/v201511/activity_service_registry.rb +0 -45
  1144. data/lib/dfp_api/v201511/ad_exclusion_rule_service.rb +0 -62
  1145. data/lib/dfp_api/v201511/ad_exclusion_rule_service_registry.rb +0 -45
  1146. data/lib/dfp_api/v201511/ad_rule_service.rb +0 -62
  1147. data/lib/dfp_api/v201511/ad_rule_service_registry.rb +0 -45
  1148. data/lib/dfp_api/v201511/audience_segment_service.rb +0 -62
  1149. data/lib/dfp_api/v201511/audience_segment_service_registry.rb +0 -45
  1150. data/lib/dfp_api/v201511/base_rate_service.rb +0 -62
  1151. data/lib/dfp_api/v201511/base_rate_service_registry.rb +0 -45
  1152. data/lib/dfp_api/v201511/company_service.rb +0 -54
  1153. data/lib/dfp_api/v201511/company_service_registry.rb +0 -45
  1154. data/lib/dfp_api/v201511/contact_service.rb +0 -54
  1155. data/lib/dfp_api/v201511/contact_service_registry.rb +0 -45
  1156. data/lib/dfp_api/v201511/content_bundle_service.rb +0 -62
  1157. data/lib/dfp_api/v201511/content_bundle_service_registry.rb +0 -45
  1158. data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service.rb +0 -62
  1159. data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service_registry.rb +0 -45
  1160. data/lib/dfp_api/v201511/content_service.rb +0 -46
  1161. data/lib/dfp_api/v201511/content_service_registry.rb +0 -45
  1162. data/lib/dfp_api/v201511/creative_service.rb +0 -54
  1163. data/lib/dfp_api/v201511/creative_service_registry.rb +0 -45
  1164. data/lib/dfp_api/v201511/creative_set_service.rb +0 -54
  1165. data/lib/dfp_api/v201511/creative_set_service_registry.rb +0 -45
  1166. data/lib/dfp_api/v201511/creative_template_service.rb +0 -38
  1167. data/lib/dfp_api/v201511/creative_template_service_registry.rb +0 -45
  1168. data/lib/dfp_api/v201511/creative_wrapper_service.rb +0 -62
  1169. data/lib/dfp_api/v201511/creative_wrapper_service_registry.rb +0 -45
  1170. data/lib/dfp_api/v201511/custom_field_service.rb +0 -86
  1171. data/lib/dfp_api/v201511/custom_field_service_registry.rb +0 -45
  1172. data/lib/dfp_api/v201511/custom_targeting_service.rb +0 -94
  1173. data/lib/dfp_api/v201511/custom_targeting_service_registry.rb +0 -45
  1174. data/lib/dfp_api/v201511/exchange_rate_service.rb +0 -62
  1175. data/lib/dfp_api/v201511/exchange_rate_service_registry.rb +0 -45
  1176. data/lib/dfp_api/v201511/forecast_service.rb +0 -62
  1177. data/lib/dfp_api/v201511/forecast_service_registry.rb +0 -45
  1178. data/lib/dfp_api/v201511/inventory_service.rb +0 -70
  1179. data/lib/dfp_api/v201511/inventory_service_registry.rb +0 -45
  1180. data/lib/dfp_api/v201511/label_service.rb +0 -62
  1181. data/lib/dfp_api/v201511/label_service_registry.rb +0 -45
  1182. data/lib/dfp_api/v201511/line_item_creative_association_service.rb +0 -70
  1183. data/lib/dfp_api/v201511/line_item_creative_association_service_registry.rb +0 -45
  1184. data/lib/dfp_api/v201511/line_item_service.rb +0 -62
  1185. data/lib/dfp_api/v201511/line_item_service_registry.rb +0 -45
  1186. data/lib/dfp_api/v201511/line_item_template_service.rb +0 -38
  1187. data/lib/dfp_api/v201511/line_item_template_service_registry.rb +0 -45
  1188. data/lib/dfp_api/v201511/live_stream_event_service.rb +0 -62
  1189. data/lib/dfp_api/v201511/live_stream_event_service_registry.rb +0 -45
  1190. data/lib/dfp_api/v201511/network_service.rb +0 -62
  1191. data/lib/dfp_api/v201511/network_service_registry.rb +0 -45
  1192. data/lib/dfp_api/v201511/order_service.rb +0 -62
  1193. data/lib/dfp_api/v201511/order_service_registry.rb +0 -45
  1194. data/lib/dfp_api/v201511/package_service.rb +0 -62
  1195. data/lib/dfp_api/v201511/package_service_registry.rb +0 -45
  1196. data/lib/dfp_api/v201511/placement_service.rb +0 -62
  1197. data/lib/dfp_api/v201511/placement_service_registry.rb +0 -45
  1198. data/lib/dfp_api/v201511/premium_rate_service.rb +0 -54
  1199. data/lib/dfp_api/v201511/premium_rate_service_registry.rb +0 -45
  1200. data/lib/dfp_api/v201511/product_package_item_service.rb +0 -62
  1201. data/lib/dfp_api/v201511/product_package_item_service_registry.rb +0 -45
  1202. data/lib/dfp_api/v201511/product_package_service.rb +0 -62
  1203. data/lib/dfp_api/v201511/product_package_service_registry.rb +0 -45
  1204. data/lib/dfp_api/v201511/product_service.rb +0 -54
  1205. data/lib/dfp_api/v201511/product_service_registry.rb +0 -45
  1206. data/lib/dfp_api/v201511/product_template_service.rb +0 -62
  1207. data/lib/dfp_api/v201511/product_template_service_registry.rb +0 -45
  1208. data/lib/dfp_api/v201511/proposal_line_item_service.rb +0 -62
  1209. data/lib/dfp_api/v201511/proposal_line_item_service_registry.rb +0 -45
  1210. data/lib/dfp_api/v201511/proposal_service.rb +0 -62
  1211. data/lib/dfp_api/v201511/proposal_service_registry.rb +0 -45
  1212. data/lib/dfp_api/v201511/publisher_query_language_service.rb +0 -38
  1213. data/lib/dfp_api/v201511/publisher_query_language_service_registry.rb +0 -45
  1214. data/lib/dfp_api/v201511/rate_card_service.rb +0 -62
  1215. data/lib/dfp_api/v201511/rate_card_service_registry.rb +0 -45
  1216. data/lib/dfp_api/v201511/reconciliation_line_item_report_service.rb +0 -46
  1217. data/lib/dfp_api/v201511/reconciliation_line_item_report_service_registry.rb +0 -45
  1218. data/lib/dfp_api/v201511/reconciliation_order_report_service.rb +0 -54
  1219. data/lib/dfp_api/v201511/reconciliation_order_report_service_registry.rb +0 -45
  1220. data/lib/dfp_api/v201511/reconciliation_report_row_service.rb +0 -46
  1221. data/lib/dfp_api/v201511/reconciliation_report_row_service_registry.rb +0 -45
  1222. data/lib/dfp_api/v201511/reconciliation_report_service.rb +0 -46
  1223. data/lib/dfp_api/v201511/reconciliation_report_service_registry.rb +0 -45
  1224. data/lib/dfp_api/v201511/report_service.rb +0 -62
  1225. data/lib/dfp_api/v201511/report_service_registry.rb +0 -45
  1226. data/lib/dfp_api/v201511/shared_ad_unit_service.rb +0 -46
  1227. data/lib/dfp_api/v201511/shared_ad_unit_service_registry.rb +0 -45
  1228. data/lib/dfp_api/v201511/suggested_ad_unit_service.rb +0 -46
  1229. data/lib/dfp_api/v201511/suggested_ad_unit_service_registry.rb +0 -45
  1230. data/lib/dfp_api/v201511/team_service.rb +0 -54
  1231. data/lib/dfp_api/v201511/team_service_registry.rb +0 -45
  1232. data/lib/dfp_api/v201511/user_service.rb +0 -78
  1233. data/lib/dfp_api/v201511/user_service_registry.rb +0 -45
  1234. data/lib/dfp_api/v201511/user_team_association_service.rb +0 -62
  1235. data/lib/dfp_api/v201511/user_team_association_service_registry.rb +0 -45
  1236. data/lib/dfp_api/v201511/workflow_request_service.rb +0 -46
  1237. data/lib/dfp_api/v201511/workflow_request_service_registry.rb +0 -45
  1238. data/test/dfp_api/test_config.yml +0 -9
  1239. data/test/suite_unittests.rb +0 -34
@@ -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-08-09 15:52:17.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201608; module UserTeamAssociationService
13
+ class UserTeamAssociationServiceRegistry
14
+ USERTEAMASSOCIATIONSERVICE_METHODS = {:create_user_team_associations=>{:input=>[{:name=>:user_team_associations, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_user_team_associations_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_user_team_associations_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_user_team_associations_by_statement_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociationPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_user_team_association_action=>{:input=>[{:name=>:user_team_association_action, :type=>"UserTeamAssociationAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_user_team_association_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_user_team_associations=>{:input=>[{:name=>:user_team_associations, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_user_team_associations_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ USERTEAMASSOCIATIONSERVICE_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"}, :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"}, :DeleteUserTeamAssociations=>{:fields=>[], :base=>"UserTeamAssociationAction"}, :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"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :UserRecordTeamAssociation=>{:fields=>[{:name=>:team_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:overridden_team_access_type, :type=>"TeamAccessType", :min_occurs=>0, :max_occurs=>1}, {:name=>:default_team_access_type, :type=>"TeamAccessType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :UserTeamAssociationAction=>{:fields=>[], :abstract=>true}, :UserTeamAssociation=>{:fields=>[{:name=>:user_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"UserRecordTeamAssociation"}, :UserTeamAssociationPage=>{: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=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :TeamAccessType=>{:fields=>[]}, :"TeamError.Reason"=>{:fields=>[]}}
16
+ USERTEAMASSOCIATIONSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return USERTEAMASSOCIATIONSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return USERTEAMASSOCIATIONSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return USERTEAMASSOCIATIONSERVICE_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, UserTeamAssociationServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,46 @@
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-08-09 15:52:18.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201608/workflow_request_service_registry'
12
+
13
+ module DfpApi; module V201608; module WorkflowRequestService
14
+ class WorkflowRequestService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201608'
17
+ super(config, endpoint, namespace, :v201608)
18
+ end
19
+
20
+ def get_workflow_requests_by_statement(*args, &block)
21
+ return execute_action('get_workflow_requests_by_statement', args, &block)
22
+ end
23
+
24
+ def get_workflow_requests_by_statement_to_xml(*args)
25
+ return get_soap_xml('get_workflow_requests_by_statement', args)
26
+ end
27
+
28
+ def perform_workflow_request_action(*args, &block)
29
+ return execute_action('perform_workflow_request_action', args, &block)
30
+ end
31
+
32
+ def perform_workflow_request_action_to_xml(*args)
33
+ return get_soap_xml('perform_workflow_request_action', args)
34
+ end
35
+
36
+ private
37
+
38
+ def get_service_registry()
39
+ return WorkflowRequestServiceRegistry
40
+ end
41
+
42
+ def get_module()
43
+ return DfpApi::V201608::WorkflowRequestService
44
+ end
45
+ end
46
+ 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-08-09 15:52:18.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201608; module WorkflowRequestService
13
+ class WorkflowRequestServiceRegistry
14
+ WORKFLOWREQUESTSERVICE_METHODS = {:get_workflow_requests_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_workflow_requests_by_statement_response", :fields=>[{:name=>:rval, :type=>"WorkflowRequestPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_workflow_request_action=>{:input=>[{:name=>:action, :type=>"WorkflowRequestAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_workflow_request_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}}
15
+ WORKFLOWREQUESTSERVICE_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}]}, :ApproveWorkflowApprovalRequests=>{:fields=>[{:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequestAction"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowRequest=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:workflow_rule_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:entity_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:entity_type, :type=>"WorkflowEntityType", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"WorkflowRequestType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :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"}, :SkipWorkflowExternalConditionRequests=>{:fields=>[], :base=>"WorkflowRequestAction"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ForecastError=>{:fields=>[{:name=>:reason, :type=>"ForecastError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LineItemOperationError=>{:fields=>[{:name=>:reason, :type=>"LineItemOperationError.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"}, :TriggerWorkflowExternalConditionRequests=>{:fields=>[], :base=>"WorkflowRequestAction"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProposalActionError=>{:fields=>[{:name=>:reason, :type=>"ProposalActionError.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"}, :RejectWorkflowApprovalRequests=>{:fields=>[{:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequestAction"}, :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"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :WorkflowActionError=>{:fields=>[{:name=>:reason, :type=>"WorkflowActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowApprovalRequest=>{:fields=>[{:name=>:status, :type=>"WorkflowApprovalRequestStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequest"}, :WorkflowExternalConditionRequest=>{:fields=>[{:name=>:status, :type=>"WorkflowEvaluationStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequest"}, :WorkflowRequestAction=>{:fields=>[], :abstract=>true}, :WorkflowRequestError=>{:fields=>[{:name=>:reason, :type=>"WorkflowRequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowRequestPage=>{:fields=>[{:name=>:results, :type=>"WorkflowRequest", :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}]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :WorkflowApprovalRequestStatus=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"ForecastError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"LineItemOperationError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"ProposalActionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"WorkflowActionError.Reason"=>{:fields=>[]}, :WorkflowEntityType=>{:fields=>[]}, :"WorkflowRequestError.Reason"=>{:fields=>[]}, :WorkflowRequestType=>{:fields=>[]}, :WorkflowEvaluationStatus=>{:fields=>[]}}
16
+ WORKFLOWREQUESTSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return WORKFLOWREQUESTSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return WORKFLOWREQUESTSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return WORKFLOWREQUESTSERVICE_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, WorkflowRequestServiceRegistry)
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.6 on 2016-11-14 09:02:50.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201611/activity_group_service_registry'
12
+
13
+ module DfpApi; module V201611; module ActivityGroupService
14
+ class ActivityGroupService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
+ end
19
+
20
+ def create_activity_groups(*args, &block)
21
+ return execute_action('create_activity_groups', args, &block)
22
+ end
23
+
24
+ def create_activity_groups_to_xml(*args)
25
+ return get_soap_xml('create_activity_groups', args)
26
+ end
27
+
28
+ def get_activity_groups_by_statement(*args, &block)
29
+ return execute_action('get_activity_groups_by_statement', args, &block)
30
+ end
31
+
32
+ def get_activity_groups_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_activity_groups_by_statement', args)
34
+ end
35
+
36
+ def update_activity_groups(*args, &block)
37
+ return execute_action('update_activity_groups', args, &block)
38
+ end
39
+
40
+ def update_activity_groups_to_xml(*args)
41
+ return get_soap_xml('update_activity_groups', args)
42
+ end
43
+
44
+ private
45
+
46
+ def get_service_registry()
47
+ return ActivityGroupServiceRegistry
48
+ end
49
+
50
+ def get_module()
51
+ return DfpApi::V201611::ActivityGroupService
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.6 on 2016-11-14 09:02:50.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201611; module ActivityGroupService
13
+ class ActivityGroupServiceRegistry
14
+ ACTIVITYGROUPSERVICE_METHODS = {:create_activity_groups=>{:input=>[{:name=>:activity_groups, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_activity_groups_response", :fields=>[{:name=>:rval, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_activity_groups_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_activity_groups_by_statement_response", :fields=>[{:name=>:rval, :type=>"ActivityGroupPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_activity_groups=>{:input=>[{:name=>:activity_groups, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_activity_groups_response", :fields=>[{:name=>:rval, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ ACTIVITYGROUPSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivityError=>{:fields=>[{:name=>:reason, :type=>"ActivityError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ActivityGroup=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:impressions_lookback, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks_lookback, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ActivityGroup.Status", :min_occurs=>0, :max_occurs=>1}]}, :ActivityGroupPage=>{: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=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :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"}, :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"}, :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"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"ActivityError.Reason"=>{:fields=>[]}, :"ActivityGroup.Status"=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.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
+ ACTIVITYGROUPSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return ACTIVITYGROUPSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return ACTIVITYGROUPSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return ACTIVITYGROUPSERVICE_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, ActivityGroupServiceRegistry)
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.6 on 2016-11-14 09:02:50.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201611/activity_service_registry'
12
+
13
+ module DfpApi; module V201611; module ActivityService
14
+ class ActivityService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
+ end
19
+
20
+ def create_activities(*args, &block)
21
+ return execute_action('create_activities', args, &block)
22
+ end
23
+
24
+ def create_activities_to_xml(*args)
25
+ return get_soap_xml('create_activities', args)
26
+ end
27
+
28
+ def get_activities_by_statement(*args, &block)
29
+ return execute_action('get_activities_by_statement', args, &block)
30
+ end
31
+
32
+ def get_activities_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_activities_by_statement', args)
34
+ end
35
+
36
+ def update_activities(*args, &block)
37
+ return execute_action('update_activities', args, &block)
38
+ end
39
+
40
+ def update_activities_to_xml(*args)
41
+ return get_soap_xml('update_activities', args)
42
+ end
43
+
44
+ private
45
+
46
+ def get_service_registry()
47
+ return ActivityServiceRegistry
48
+ end
49
+
50
+ def get_module()
51
+ return DfpApi::V201611::ActivityService
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.6 on 2016-11-14 09:02:50.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201611; module ActivityService
13
+ class ActivityServiceRegistry
14
+ ACTIVITYSERVICE_METHODS = {:create_activities=>{:input=>[{:name=>:activities, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_activities_response", :fields=>[{:name=>:rval, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_activities_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_activities_by_statement_response", :fields=>[{:name=>:rval, :type=>"ActivityPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_activities=>{:input=>[{:name=>:activities, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_activities_response", :fields=>[{:name=>:rval, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ ACTIVITYSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :Activity=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:activity_group_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:expected_url, :original_name=>"expectedURL", :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"Activity.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Activity.Type", :min_occurs=>0, :max_occurs=>1}]}, :ActivityError=>{:fields=>[{:name=>:reason, :type=>"ActivityError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ActivityPage=>{: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=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :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"}, :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"}, :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"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"Activity.Status"=>{:fields=>[]}, :"Activity.Type"=>{:fields=>[]}, :"ActivityError.Reason"=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.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
+ ACTIVITYSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return ACTIVITYSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return ACTIVITYSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return ACTIVITYSERVICE_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, ActivityServiceRegistry)
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.6 on 2016-11-14 09:02:51.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201611/ad_exclusion_rule_service_registry'
12
+
13
+ module DfpApi; module V201611; module AdExclusionRuleService
14
+ class AdExclusionRuleService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
+ end
19
+
20
+ def create_ad_exclusion_rules(*args, &block)
21
+ return execute_action('create_ad_exclusion_rules', args, &block)
22
+ end
23
+
24
+ def create_ad_exclusion_rules_to_xml(*args)
25
+ return get_soap_xml('create_ad_exclusion_rules', args)
26
+ end
27
+
28
+ def get_ad_exclusion_rules_by_statement(*args, &block)
29
+ return execute_action('get_ad_exclusion_rules_by_statement', args, &block)
30
+ end
31
+
32
+ def get_ad_exclusion_rules_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_ad_exclusion_rules_by_statement', args)
34
+ end
35
+
36
+ def perform_ad_exclusion_rule_action(*args, &block)
37
+ return execute_action('perform_ad_exclusion_rule_action', args, &block)
38
+ end
39
+
40
+ def perform_ad_exclusion_rule_action_to_xml(*args)
41
+ return get_soap_xml('perform_ad_exclusion_rule_action', args)
42
+ end
43
+
44
+ def update_ad_exclusion_rules(*args, &block)
45
+ return execute_action('update_ad_exclusion_rules', args, &block)
46
+ end
47
+
48
+ def update_ad_exclusion_rules_to_xml(*args)
49
+ return get_soap_xml('update_ad_exclusion_rules', args)
50
+ end
51
+
52
+ private
53
+
54
+ def get_service_registry()
55
+ return AdExclusionRuleServiceRegistry
56
+ end
57
+
58
+ def get_module()
59
+ return DfpApi::V201611::AdExclusionRuleService
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.6 on 2016-11-14 09:02:51.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201611; module AdExclusionRuleService
13
+ class AdExclusionRuleServiceRegistry
14
+ ADEXCLUSIONRULESERVICE_METHODS = {:create_ad_exclusion_rules=>{:input=>[{:name=>:ad_exclusion_rules, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_ad_exclusion_rules_response", :fields=>[{:name=>:rval, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_ad_exclusion_rules_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_ad_exclusion_rules_by_statement_response", :fields=>[{:name=>:rval, :type=>"AdExclusionRulePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_ad_exclusion_rule_action=>{:input=>[{:name=>:ad_exclusion_rule_action, :type=>"AdExclusionRuleAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_ad_exclusion_rule_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_ad_exclusion_rules=>{:input=>[{:name=>:ad_exclusion_rules, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_ad_exclusion_rules_response", :fields=>[{:name=>:rval, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ ADEXCLUSIONRULESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateAdExclusionRules=>{:fields=>[], :base=>"AdExclusionRuleAction"}, :AdExclusionRuleAction=>{:fields=>[], :abstract=>true}, :AdExclusionRule=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_active, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_targeting, :type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_block_all, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:blocked_label_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:allowed_label_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:type, :type=>"AdExclusionRuleType", :min_occurs=>0, :max_occurs=>1}]}, :AdExclusionRuleError=>{:fields=>[{:name=>:reason, :type=>"AdExclusionRuleError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AdExclusionRulePage=>{: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=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :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"}, :DeactivateAdExclusionRules=>{:fields=>[], :base=>"AdExclusionRuleAction"}, :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"}, :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}]}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"AdExclusionRuleError.Reason"=>{:fields=>[]}, :AdExclusionRuleType=>{:fields=>[]}, :"ApiVersionError.Reason"=>{: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=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
+ ADEXCLUSIONRULESERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return ADEXCLUSIONRULESERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return ADEXCLUSIONRULESERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return ADEXCLUSIONRULESERVICE_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, AdExclusionRuleServiceRegistry)
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.6 on 2016-11-14 09:02:51.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201611/ad_rule_service_registry'
12
+
13
+ module DfpApi; module V201611; module AdRuleService
14
+ class AdRuleService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
+ end
19
+
20
+ def create_ad_rules(*args, &block)
21
+ return execute_action('create_ad_rules', args, &block)
22
+ end
23
+
24
+ def create_ad_rules_to_xml(*args)
25
+ return get_soap_xml('create_ad_rules', args)
26
+ end
27
+
28
+ def get_ad_rules_by_statement(*args, &block)
29
+ return execute_action('get_ad_rules_by_statement', args, &block)
30
+ end
31
+
32
+ def get_ad_rules_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_ad_rules_by_statement', args)
34
+ end
35
+
36
+ def perform_ad_rule_action(*args, &block)
37
+ return execute_action('perform_ad_rule_action', args, &block)
38
+ end
39
+
40
+ def perform_ad_rule_action_to_xml(*args)
41
+ return get_soap_xml('perform_ad_rule_action', args)
42
+ end
43
+
44
+ def update_ad_rules(*args, &block)
45
+ return execute_action('update_ad_rules', args, &block)
46
+ end
47
+
48
+ def update_ad_rules_to_xml(*args)
49
+ return get_soap_xml('update_ad_rules', args)
50
+ end
51
+
52
+ private
53
+
54
+ def get_service_registry()
55
+ return AdRuleServiceRegistry
56
+ end
57
+
58
+ def get_module()
59
+ return DfpApi::V201611::AdRuleService
60
+ end
61
+ end
62
+ end; end; end