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
@@ -1,91 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example gets suggested ad units that have more than 50 requests.
20
- #
21
- # This feature is only available to DFP premium solution networks.
22
-
23
- require 'dfp_api'
24
-
25
-
26
- API_VERSION = :v201602
27
- NUMBER_OF_REQUESTS = 50
28
-
29
- def get_suggested_ad_units_by_statement()
30
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
31
- dfp = DfpApi::Api.new
32
-
33
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
34
- # the configuration file or provide your own logger:
35
- # dfp.logger = Logger.new('dfp_xml.log')
36
-
37
- # Get the SuggestedAdUnitService.
38
- suggested_ad_unit_service = dfp.service(:SuggestedAdUnitService, API_VERSION)
39
-
40
- # Create a statement to only select suggested ad units with more than 50
41
- # requests.
42
- statement = DfpApi::FilterStatement.new(
43
- 'WHERE numRequests > :num_requests ORDER BY id ASC',
44
- [
45
- {:key => 'num_requests',
46
- :value => {:value => NUMBER_OF_REQUESTS,
47
- :xsi_type => 'NumberValue'}}
48
- ]
49
- )
50
-
51
- begin
52
- # Get ad units by statement.
53
- page = suggested_ad_unit_service.get_suggested_ad_units_by_statement(
54
- statement.toStatement())
55
-
56
- if page[:results]
57
- # Print details about each suggested ad unit in results.
58
- page[:results].each_with_index do |ad_unit, index|
59
- puts "%d) Suggested ad unit ID: '%s', number of requests: %d" %
60
- [index + statement.offset, ad_unit[:id], ad_unit[:num_requests]]
61
- end
62
- end
63
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
64
- end statement.offset < page[:total_result_set_size]
65
-
66
- # Print a footer.
67
- if page.include?(:total_result_set_size)
68
- puts "Total number of suggested ad units: %d" % page[:total_result_set_size]
69
- end
70
- end
71
-
72
- if __FILE__ == $0
73
- begin
74
- get_suggested_ad_units_by_statement()
75
-
76
- # HTTP errors.
77
- rescue AdsCommon::Errors::HttpError => e
78
- puts "HTTP Error: %s" % e
79
-
80
- # API errors.
81
- rescue DfpApi::Errors::ApiException => e
82
- puts "Message: %s" % e.message
83
- puts 'Errors:'
84
- e.errors.each_with_index do |error, index|
85
- puts "\tError [%d]:" % (index + 1)
86
- error.each do |field, value|
87
- puts "\t\t%s: %s" % [field, value]
88
- end
89
- end
90
- end
91
- end
@@ -1,79 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example creates new teams with the logged in user added to each team. To
20
- # determine which teams exist, run get_all_teams.rb.
21
-
22
- require 'dfp_api'
23
-
24
- API_VERSION = :v201602
25
- ITEM_COUNT = 5
26
-
27
- def create_teams()
28
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
29
- dfp = DfpApi::Api.new
30
-
31
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
32
- # the configuration file or provide your own logger:
33
- # dfp.logger = Logger.new('dfp_xml.log')
34
-
35
- # Get the TeamService.
36
- team_service = dfp.service(:TeamService, API_VERSION)
37
-
38
- # Create an array to store local team objects.
39
- teams = (1..ITEM_COUNT).map do |index|
40
- {
41
- :name => "Team #%d" % index,
42
- :has_all_companies => false,
43
- :has_all_inventory => false
44
- }
45
- end
46
-
47
- # Create the teams on the server.
48
- return_teams = team_service.create_teams(teams)
49
-
50
- if return_teams
51
- return_teams.each do |team|
52
- puts "Team with ID: %d and name: '%s' was created." %
53
- [team[:id], team[:name]]
54
- end
55
- else
56
- raise 'No teams were created.'
57
- end
58
- end
59
-
60
- if __FILE__ == $0
61
- begin
62
- create_teams()
63
-
64
- # HTTP errors.
65
- rescue AdsCommon::Errors::HttpError => e
66
- puts "HTTP Error: %s" % e
67
-
68
- # API errors.
69
- rescue DfpApi::Errors::ApiException => e
70
- puts "Message: %s" % e.message
71
- puts 'Errors:'
72
- e.errors.each_with_index do |error, index|
73
- puts "\tError [%d]:" % (index + 1)
74
- error.each do |field, value|
75
- puts "\t\t%s: %s" % [field, value]
76
- end
77
- end
78
- end
79
- end
@@ -1,79 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example gets all teams. To create teams, run create_teams.rb.
20
-
21
- require 'dfp_api'
22
-
23
-
24
- API_VERSION = :v201602
25
-
26
- def get_all_teams()
27
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
28
- dfp = DfpApi::Api.new
29
-
30
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
31
- # the configuration file or provide your own logger:
32
- # dfp.logger = Logger.new('dfp_xml.log')
33
-
34
- # Get the TeamService.
35
- team_service = dfp.service(:TeamService, API_VERSION)
36
-
37
- # Create statement for all teams.
38
- statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
39
-
40
- begin
41
- # Get teams by statement.
42
- page = team_service.get_teams_by_statement(statement.toStatement())
43
-
44
- if page[:results]
45
- # Print details about each team in results page.
46
- page[:results].each_with_index do |team, index|
47
- puts "%d) Team ID: %d, name: %s" %
48
- [index + statement.offset, team[:id], team[:name]]
49
- end
50
- end
51
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
52
- end while statement.offset < page[:total_result_set_size]
53
-
54
- # Print a footer
55
- if page.include?(:total_result_set_size)
56
- puts "Total number of teams: %d" % page[:total_result_set_size]
57
- end
58
- end
59
-
60
- if __FILE__ == $0
61
- begin
62
- get_all_teams()
63
-
64
- # HTTP errors.
65
- rescue AdsCommon::Errors::HttpError => e
66
- puts "HTTP Error: %s" % e
67
-
68
- # API errors.
69
- rescue DfpApi::Errors::ApiException => e
70
- puts "Message: %s" % e.message
71
- puts 'Errors:'
72
- e.errors.each_with_index do |error, index|
73
- puts "\tError [%d]:" % (index + 1)
74
- error.each do |field, value|
75
- puts "\t\t%s: %s" % [field, value]
76
- end
77
- end
78
- end
79
- end
@@ -1,78 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example gets all teams ordered by name.
20
-
21
- require 'dfp_api'
22
-
23
-
24
- API_VERSION = :v201602
25
-
26
- def get_teams_by_statement()
27
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
28
- dfp = DfpApi::Api.new
29
-
30
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
31
- # the configuration file or provide your own logger:
32
- # dfp.logger = Logger.new('dfp_xml.log')
33
-
34
- # Get the TeamService.
35
- team_service = dfp.service(:TeamService, API_VERSION)
36
-
37
- # Create a statement to order teams by id.
38
- statement = DfpApi::FilterStatement.new('ORDER BY name ASC')
39
-
40
- begin
41
- # Get teams by statement.
42
- page = team_service.get_teams_by_statement(statement.toStatement())
43
-
44
- if page and page[:results]
45
- page[:results].each_with_index do |team, index|
46
- puts "%d) Team ID: %d, name: %s." % [index + statement.offset,
47
- team[:id], team[:name]]
48
- end
49
- end
50
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
51
- end while statement.offset < page[:total_result_set_size]
52
-
53
- # Print a footer.
54
- if page.include?(:total_result_set_size)
55
- puts "Number of results found: %d" % page[:total_result_set_size]
56
- end
57
- end
58
-
59
- if __FILE__ == $0
60
- begin
61
- get_teams_by_statement()
62
-
63
- # HTTP errors.
64
- rescue AdsCommon::Errors::HttpError => e
65
- puts "HTTP Error: %s" % e
66
-
67
- # API errors.
68
- rescue DfpApi::Errors::ApiException => e
69
- puts "Message: %s" % e.message
70
- puts 'Errors:'
71
- e.errors.each_with_index do |error, index|
72
- puts "\tError [%d]:" % (index + 1)
73
- error.each do |field, value|
74
- puts "\t\t%s: %s" % [field, value]
75
- end
76
- end
77
- end
78
- end
@@ -1,94 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example updates teams by adding an ad unit to the first 5. To determine
20
- # which teams exist, run get_all_teams.rb. To determine which ad units exist,
21
- # run get_all_ad_units.rb.
22
-
23
- require 'dfp_api'
24
-
25
-
26
- API_VERSION = :v201602
27
-
28
- def update_teams()
29
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
30
- dfp = DfpApi::Api.new
31
-
32
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
33
- # the configuration file or provide your own logger:
34
- # dfp.logger = Logger.new('dfp_xml.log')
35
-
36
- # Set the ID of the ad unit to add to the teams.
37
- ad_unit_id = 'INSERT_AD_UNIT_ID_HERE'.to_i
38
-
39
- # Get the TeamService.
40
- team_service = dfp.service(:TeamService, API_VERSION)
41
-
42
- # Create a statement to select first 5 teams that aren't built-in.
43
- statement = DfpApi::FilterStatement.new('WHERE id > 0', [], 5)
44
-
45
- # Get teams by statement.
46
- page = team_service.get_teams_by_statement(statement.toStatement())
47
-
48
- if page[:results]
49
- teams = page[:results]
50
-
51
- # Create a local set of teams than need to be updated. We are updating by
52
- # adding an ad unit to it.
53
- updated_teams = teams.inject([]) do |updated_teams, team|
54
- # Don't add ad unit if the team has all inventory already.
55
- unless team[:has_all_inventory]
56
- team[:ad_unit_ids] ||= []
57
- team[:ad_unit_ids] << ad_unit_id
58
- # Workaround for issue #94.
59
- team[:description] = "" if team[:description].nil?
60
- updated_teams << team
61
- end
62
- updated_teams
63
- end
64
-
65
- # Update the teams on the server.
66
- return_teams = team_service.update_teams(updated_teams)
67
- return_teams.each do |team|
68
- puts "Team ID: %d was updated" % team[:id]
69
- end
70
- else
71
- puts 'No teams found to update.'
72
- end
73
- end
74
-
75
- if __FILE__ == $0
76
- begin
77
- update_teams()
78
-
79
- # HTTP errors.
80
- rescue AdsCommon::Errors::HttpError => e
81
- puts "HTTP Error: %s" % e
82
-
83
- # API errors.
84
- rescue DfpApi::Errors::ApiException => e
85
- puts "Message: %s" % e.message
86
- puts 'Errors:'
87
- e.errors.each_with_index do |error, index|
88
- puts "\tError [%d]:" % (index + 1)
89
- error.each do |field, value|
90
- puts "\t\t%s: %s" % [field, value]
91
- end
92
- end
93
- end
94
- end
@@ -1,85 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example creates new users. To determine which users exist, run
20
- # get_all_users.rb. To determine which roles exist, run get_all_roles.rb.
21
-
22
- require 'dfp_api'
23
-
24
- API_VERSION = :v201602
25
-
26
- def create_users()
27
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
28
- dfp = DfpApi::Api.new
29
-
30
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
31
- # the configuration file or provide your own logger:
32
- # dfp.logger = Logger.new('dfp_xml.log')
33
-
34
- # Get the UserService.
35
- user_service = dfp.service(:UserService, API_VERSION)
36
-
37
- # Set the user's email addresses and names.
38
- emails_and_names = [
39
- {:name => 'INSERT_NAME_HERE',
40
- :email => 'INSERT_EMAIL_ADDRESS_HERE'},
41
- {:name => 'INSERT_NAME_HERE',
42
- :email => 'INSERT_EMAIL_ADDRESS_HERE'}
43
- ]
44
-
45
- # Set the role ID for new users.
46
- role_id = 'INSERT_ROLE_ID_HERE'.to_i
47
-
48
- # Create an array to store local user objects.
49
- users = emails_and_names.map do |email_and_name|
50
- email_and_name.merge({:role_id => role_id, :preferred_locale => 'en_US'})
51
- end
52
-
53
- # Create the users on the server.
54
- return_users = user_service.create_users(users)
55
-
56
- if return_users
57
- return_users.each do |user|
58
- puts "User with ID: %d, name: %s and email: %s was created." %
59
- [user[:id], user[:name], user[:email]]
60
- end
61
- else
62
- raise 'No users were created.'
63
- end
64
- end
65
-
66
- if __FILE__ == $0
67
- begin
68
- create_users()
69
-
70
- # HTTP errors.
71
- rescue AdsCommon::Errors::HttpError => e
72
- puts "HTTP Error: %s" % e
73
-
74
- # API errors.
75
- rescue DfpApi::Errors::ApiException => e
76
- puts "Message: %s" % e.message
77
- puts 'Errors:'
78
- e.errors.each_with_index do |error, index|
79
- puts "\tError [%d]:" % (index + 1)
80
- error.each do |field, value|
81
- puts "\t\t%s: %s" % [field, value]
82
- end
83
- end
84
- end
85
- end
@@ -1,94 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example deactivates a user. Deactivated users can no longer make requests
20
- # to the API. The user making the request cannot deactivate itself. To determine
21
- # which users exist, run get_all_users.rb.
22
-
23
- require 'dfp_api'
24
-
25
-
26
- API_VERSION = :v201602
27
-
28
- def deactivate_users()
29
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
30
- dfp = DfpApi::Api.new
31
-
32
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
33
- # the configuration file or provide your own logger:
34
- # dfp.logger = Logger.new('dfp_xml.log')
35
-
36
- # Get the UserService.
37
- user_service = dfp.service(:UserService, API_VERSION)
38
-
39
- # Set the ID of the user to deactivate
40
- user_id = 'INSERT_USER_ID_HERE'
41
-
42
- # Create filter text to select user by id.
43
- statement = DfpApi::FilterStatement.new(
44
- 'WHERE id = :user_id',
45
- [
46
- {:key => 'user_id',
47
- :value => {:value => user_id, :xsi_type => 'NumberValue'}}
48
- ]
49
- )
50
-
51
- # Get users by statement.
52
- page = user_service.get_users_by_statement(statement.toStatement())
53
-
54
- if page[:results]
55
- page[:results].each do |user|
56
- puts "User ID: %d, name: %s and status: %s will be deactivated." %
57
- [user[:id], user[:name], user[:status]]
58
- end
59
-
60
- # Perform action.
61
- result = user_service.perform_user_action(
62
- {:xsi_type => 'DeactivateUsers'}, statement.toStatement())
63
-
64
- # Display results.
65
- if result and result[:num_changes] > 0
66
- puts "Number of users deactivated: %d" % result[:num_changes]
67
- else
68
- puts 'No users were deactivated.'
69
- end
70
- else
71
- puts 'No user found to deactivate.'
72
- end
73
- end
74
-
75
- if __FILE__ == $0
76
- begin
77
- deactivate_users()
78
-
79
- # HTTP errors.
80
- rescue AdsCommon::Errors::HttpError => e
81
- puts "HTTP Error: %s" % e
82
-
83
- # API errors.
84
- rescue DfpApi::Errors::ApiException => e
85
- puts "Message: %s" % e.message
86
- puts 'Errors:'
87
- e.errors.each_with_index do |error, index|
88
- puts "\tError [%d]:" % (index + 1)
89
- error.each do |field, value|
90
- puts "\t\t%s: %s" % [field, value]
91
- end
92
- end
93
- end
94
- end
@@ -1,69 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example gets all roles. This example can be used to determine which role
20
- # ID is needed when getting and creating users.
21
-
22
- require 'dfp_api'
23
-
24
- API_VERSION = :v201602
25
-
26
- def get_all_roles()
27
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
28
- dfp = DfpApi::Api.new
29
-
30
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
31
- # the configuration file or provide your own logger:
32
- # dfp.logger = Logger.new('dfp_xml.log')
33
-
34
- # Get the UserService.
35
- user_service = dfp.service(:UserService, API_VERSION)
36
-
37
- # Get all roles.
38
- roles = user_service.get_all_roles()
39
-
40
- if roles
41
- # Print details about each role in results page.
42
- roles.each_with_index do |role, index|
43
- puts "%d) Role ID: %d, name: %s" % [index, role[:id], role[:name]]
44
- end
45
- # Print a footer
46
- puts "Total number of roles: %d" % roles.size
47
- end
48
- end
49
-
50
- if __FILE__ == $0
51
- begin
52
- get_all_roles()
53
-
54
- # HTTP errors.
55
- rescue AdsCommon::Errors::HttpError => e
56
- puts "HTTP Error: %s" % e
57
-
58
- # API errors.
59
- rescue DfpApi::Errors::ApiException => e
60
- puts "Message: %s" % e.message
61
- puts 'Errors:'
62
- e.errors.each_with_index do |error, index|
63
- puts "\tError [%d]:" % (index + 1)
64
- error.each do |field, value|
65
- puts "\t\t%s: %s" % [field, value]
66
- end
67
- end
68
- end
69
- end