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,80 +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 orders. To create orders, run create_orders.rb.
20
-
21
- require 'dfp_api'
22
-
23
-
24
- API_VERSION = :v201602
25
-
26
- def get_all_orders()
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 OrderService.
35
- order_service = dfp.service(:OrderService, API_VERSION)
36
-
37
- # Create statement for one page with current offset.
38
- statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
39
-
40
- begin
41
- # Get orders by statement.
42
- page = order_service.get_orders_by_statement(statement.toStatement())
43
-
44
- if page[:results]
45
- # Print details about each order in results page.
46
- page[:results].each_with_index do |order, index|
47
- puts "%d) Order ID: %d, name: %s, advertiser ID: %d" %
48
- [index + statement.offset, order[:id], order[:name],
49
- order[:advertiser_id]]
50
- end
51
- end
52
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
53
- end while statement.offset < page[:total_result_set_size]
54
-
55
- # Print a footer
56
- if page.include?(:total_result_set_size)
57
- puts "Total number of orders: %d" % page[:total_result_set_size]
58
- end
59
- end
60
-
61
- if __FILE__ == $0
62
- begin
63
- get_all_orders()
64
-
65
- # HTTP errors.
66
- rescue AdsCommon::Errors::HttpError => e
67
- puts "HTTP Error: %s" % e
68
-
69
- # API errors.
70
- rescue DfpApi::Errors::ApiException => e
71
- puts "Message: %s" % e.message
72
- puts 'Errors:'
73
- e.errors.each_with_index do |error, index|
74
- puts "\tError [%d]:" % (index + 1)
75
- error.each do |field, value|
76
- puts "\t\t%s: %s" % [field, value]
77
- end
78
- end
79
- end
80
- end
@@ -1,90 +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 orders for a given advertiser. To create orders, run
20
- # create_orders.rb. To determine which companies are advertisers, run
21
- # get_companies_by_statement.rb.
22
-
23
- require 'dfp_api'
24
-
25
-
26
- API_VERSION = :v201602
27
-
28
- def get_orders_by_statement()
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 OrderService.
37
- order_service = dfp.service(:OrderService, API_VERSION)
38
-
39
- # Set the ID of the advertiser (company) to get orders for.
40
- advertiser_id = 'INSERT_ADVERTISER_COMPANY_ID_HERE'.to_i
41
-
42
- # Create a statement to only select orders for a given advertiser.
43
- statement = DfpApi::FilterStatement.new(
44
- 'WHERE advertiserId = :advertiser_id ORDER BY id ASC',
45
- [
46
- {:key => 'advertiser_id',
47
- :value => {:value => advertiser_id, :xsi_type => 'NumberValue'}}
48
- ]
49
- )
50
-
51
- begin
52
- # Get orders by statement.
53
- page = order_service.get_orders_by_statement(statement.toStatement())
54
-
55
- if page and page[:results]
56
- page[:results].each_with_index do |order, index|
57
- puts "%d) Order ID: %d, belongs to advertiser ID: %d, name: %s." % [
58
- index + statement.offset,
59
- order[:id], order[:advertiser_id], order[:name]]
60
- end
61
- end
62
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
63
- end while statement.offset < page[:total_result_set_size]
64
-
65
- # Print a footer.
66
- if page.include?(:total_result_set_size)
67
- puts "Number of results found: %d" % page[:total_result_set_size]
68
- end
69
- end
70
-
71
- if __FILE__ == $0
72
- begin
73
- get_orders_by_statement()
74
-
75
- # HTTP errors.
76
- rescue AdsCommon::Errors::HttpError => e
77
- puts "HTTP Error: %s" % e
78
-
79
- # API errors.
80
- rescue DfpApi::Errors::ApiException => e
81
- puts "Message: %s" % e.message
82
- puts 'Errors:'
83
- e.errors.each_with_index do |error, index|
84
- puts "\tError [%d]:" % (index + 1)
85
- error.each do |field, value|
86
- puts "\t\t%s: %s" % [field, value]
87
- end
88
- end
89
- end
90
- end
@@ -1,101 +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 updates the notes of a specific order.
20
- # To determine which orders exist, run get_all_orders.rb.
21
-
22
- require 'dfp_api'
23
-
24
-
25
- API_VERSION = :v201602
26
-
27
- def update_orders()
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 OrderService.
36
- order_service = dfp.service(:OrderService, API_VERSION)
37
-
38
- order_id = 'INSERT_ORDER_ID_HERE'.to_i
39
-
40
- # Create a statement to get first 500 orders.
41
- statement = DfpApi::FilterStatement.new(
42
- 'WHERE id = :id ORDER BY id ASC',
43
- [
44
- {:key => 'id',
45
- :value => {:value => order_id, :xsi_type => 'NumberValue'}}
46
- ],
47
- 1
48
- )
49
-
50
- # Get orders by statement.
51
- page = order_service.get_orders_by_statement(statement.toStatement())
52
-
53
- if page[:results]
54
- orders = page[:results]
55
-
56
- orders.each do |order|
57
- # Archived orders can not be updated.
58
- if !order[:is_archived]
59
- order[:notes] = 'Spoke to advertiser. All is well.'
60
- # Workaround for issue #94.
61
- order[:po_number] = "" if order[:po_number].nil?
62
- end
63
- end
64
-
65
- # Update the orders on the server.
66
- return_orders = order_service.update_orders(orders)
67
-
68
- if return_orders
69
- return_orders.each do |order|
70
- puts ("Order ID: %d, advertiser ID: %d, name: %s was updated " +
71
- "with notes %s") % [order[:id], order[:advertiser_id],
72
- order[:name], order[:notes]]
73
- end
74
- else
75
- raise 'No orders were updated.'
76
- end
77
- else
78
- puts 'No orders found to update.'
79
- end
80
- end
81
-
82
- if __FILE__ == $0
83
- begin
84
- update_orders()
85
-
86
- # HTTP errors.
87
- rescue AdsCommon::Errors::HttpError => e
88
- puts "HTTP Error: %s" % e
89
-
90
- # API errors.
91
- rescue DfpApi::Errors::ApiException => e
92
- puts "Message: %s" % e.message
93
- puts 'Errors:'
94
- e.errors.each_with_index do |error, index|
95
- puts "\tError [%d]:" % (index + 1)
96
- error.each do |field, value|
97
- puts "\t\t%s: %s" % [field, value]
98
- end
99
- end
100
- end
101
- end
@@ -1,128 +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 placements for various ad unit sizes. To determine
20
- # which placements exist, run get_all_placements.rb.
21
-
22
- require 'dfp_api'
23
-
24
-
25
- API_VERSION = :v201602
26
-
27
- def create_placements()
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 InventoryService.
36
- inventory_service = dfp.service(:InventoryService, API_VERSION)
37
-
38
- # Get the PlacementService.
39
- placement_service = dfp.service(:PlacementService, API_VERSION)
40
-
41
- # Create local placement object to store skyscraper ad units.
42
- skyscraper_ad_unit_placement = {
43
- :name => "Skyscraper AdUnit Placement #%d" % (Time.new.to_f * 1000),
44
- :description => 'Contains ad units for creatives of size 120x600',
45
- :targeted_ad_unit_ids => []
46
- }
47
-
48
- # Create local placement object to store medium square ad units.
49
- medium_square_ad_unit_placement = {
50
- :name => "Medium Square AdUnit Placement #%d" % (Time.new.to_f * 1000),
51
- :description => 'Contains ad units for creatives of size 300x250',
52
- :targeted_ad_unit_ids => []
53
- }
54
-
55
- # Create local placement object to store banner ad units.
56
- banner_ad_unit_placement = {
57
- :name => "Banner AdUnit Placement #%d" % (Time.new.to_f * 1000),
58
- :description => 'Contains ad units for creatives of size 468x60',
59
- :targeted_ad_unit_ids => []
60
- }
61
-
62
- # Get the first 500 ad units.
63
- page = inventory_service.get_ad_units_by_statement(
64
- DfpApi::FilterStatement.new('ORDER BY id ASC').toStatement())
65
-
66
- # Separate the ad units by size.
67
- if page and page[:results]
68
- page[:results].each do |ad_unit|
69
- if ad_unit[:parent_id] and ad_unit[:sizes]
70
- ad_unit[:ad_unit_sizes].each do |ad_unit_size|
71
- size = ad_unit_size[:size]
72
- receiver = case size[:width]
73
- when 120
74
- skyscraper_ad_unit_placement if size[:height] == 600
75
- when 300
76
- medium_square_ad_unit_placement if size[:height] == 250
77
- when 468
78
- banner_ad_unit_placement if size[:height] == 60
79
- else nil
80
- end
81
- receiver[:targeted_ad_unit_ids] |= [ad_unit[:id]] if receiver
82
- end
83
- end
84
- end
85
- end
86
-
87
- # Only create placements with one or more ad units.
88
- non_empty_placements = [
89
- medium_square_ad_unit_placement,
90
- skyscraper_ad_unit_placement,
91
- banner_ad_unit_placement].delete_if {|plc| plc.empty?}
92
-
93
- # Create the placements on the server.
94
- placements = placement_service.create_placements(non_empty_placements)
95
-
96
- # Display results.
97
- if placements
98
- placements.each do |placement|
99
- puts "Placement with ID: %d and name: %s created with ad units: [%s]" %
100
- [placement[:id], placement[:name],
101
- placement[:targeted_ad_unit_ids].join(', ')]
102
- end
103
- else
104
- raise 'No placements created.'
105
- end
106
-
107
- end
108
-
109
- if __FILE__ == $0
110
- begin
111
- create_placements()
112
-
113
- # HTTP errors.
114
- rescue AdsCommon::Errors::HttpError => e
115
- puts "HTTP Error: %s" % e
116
-
117
- # API errors.
118
- rescue DfpApi::Errors::ApiException => e
119
- puts "Message: %s" % e.message
120
- puts 'Errors:'
121
- e.errors.each_with_index do |error, index|
122
- puts "\tError [%d]:" % (index + 1)
123
- error.each do |field, value|
124
- puts "\t\t%s: %s" % [field, value]
125
- end
126
- end
127
- end
128
- end
@@ -1,106 +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 all active placements. To determine which placements
20
- # exist, run get_all_placements.rb.
21
-
22
- require 'dfp_api'
23
-
24
-
25
- API_VERSION = :v201602
26
-
27
- def deactivate_placements()
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 PlacementService.
36
- placement_service = dfp.service(:PlacementService, API_VERSION)
37
-
38
- # Create statement to select active placements.
39
- statement = DfpApi::FilterStatement.new(
40
- 'WHERE status = :status',
41
- [
42
- {:key => 'status',
43
- :value => {:value => 'ACTIVE', :xsi_type => 'TextValue'}}
44
- ]
45
- )
46
-
47
- # Define initial values.
48
- placement_ids = []
49
-
50
- begin
51
- # Get placements by statement.
52
- page = placement_service.get_placements_by_statement(
53
- statement.toStatement())
54
-
55
- if page[:results]
56
- page[:results].each_with_index do |placement, index|
57
- puts ("%d) Placement ID: %d, name: %s and status: %s will be " +
58
- "deactivated.") % [index + statement.offset, placement[:id],
59
- placement[:name], placement[:status]]
60
- placement_ids << placement[:id]
61
- end
62
- end
63
- end while statement.offset < page[:total_result_set_size]
64
-
65
- puts "Number of placements to be deactivated: %d" % placement_ids.size
66
-
67
- if !placement_ids.empty?
68
- # Create a statement for action.
69
- statement = DfpApi::FilterStatement.new(
70
- "WHERE id IN (%s)" % placement_ids.join(', '))
71
-
72
- # Perform action.
73
- result = placement_service.perform_placement_action(
74
- {:xsi_type => 'DeactivatePlacements'}, statement.toStatement())
75
-
76
- # Display results.
77
- if result and result[:num_changes] > 0
78
- puts "Number of placements deactivated: %d" % result[:num_changes]
79
- else
80
- puts 'No placements were deactivated.'
81
- end
82
- else
83
- puts 'No placements found to deactivate.'
84
- end
85
- end
86
-
87
- if __FILE__ == $0
88
- begin
89
- deactivate_placements()
90
-
91
- # HTTP errors.
92
- rescue AdsCommon::Errors::HttpError => e
93
- puts "HTTP Error: %s" % e
94
-
95
- # API errors.
96
- rescue DfpApi::Errors::ApiException => e
97
- puts "Message: %s" % e.message
98
- puts 'Errors:'
99
- e.errors.each_with_index do |error, index|
100
- puts "\tError [%d]:" % (index + 1)
101
- error.each do |field, value|
102
- puts "\t\t%s: %s" % [field, value]
103
- end
104
- end
105
- end
106
- end
@@ -1,81 +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 placements. To create placements, run
20
- # create_placements.rb
21
-
22
- require 'dfp_api'
23
-
24
-
25
- API_VERSION = :v201602
26
-
27
- def get_all_placements()
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 PlacementService.
36
- placement_service = dfp.service(:PlacementService, API_VERSION)
37
-
38
- # Create statement for placements ordered by ID.
39
- statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
40
-
41
- begin
42
- # Get placements by statement.
43
- page = placement_service.get_placements_by_statement(
44
- statement.toStatement())
45
-
46
- if page[:results]
47
- # Print details about each placement in results page.
48
- page[:results].each_with_index do |placement, index|
49
- puts "%d) Placement ID: %d, name: %s." %
50
- [index + statement.offset, placement[:id], placement[:name]]
51
- end
52
- end
53
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
54
- end while statement.offset < page[:total_result_set_size]
55
-
56
- # Print a footer
57
- if page.include?(:total_result_set_size)
58
- puts "Total number of placements: %d" % page[:total_result_set_size]
59
- end
60
- end
61
-
62
- if __FILE__ == $0
63
- begin
64
- get_all_placements()
65
-
66
- # HTTP errors.
67
- rescue AdsCommon::Errors::HttpError => e
68
- puts "HTTP Error: %s" % e
69
-
70
- # API errors.
71
- rescue DfpApi::Errors::ApiException => e
72
- puts "Message: %s" % e.message
73
- puts 'Errors:'
74
- e.errors.each_with_index do |error, index|
75
- puts "\tError [%d]:" % (index + 1)
76
- error.each do |field, value|
77
- puts "\t\t%s: %s" % [field, value]
78
- end
79
- end
80
- end
81
- end
@@ -1,87 +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 active placements. To create a placement, run
20
- # create_placements.rb.
21
-
22
- require 'dfp_api'
23
-
24
-
25
- API_VERSION = :v201602
26
-
27
- def get_placements_by_statement()
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 PlacementService.
36
- placement_service = dfp.service(:PlacementService, API_VERSION)
37
-
38
- # Create a statement to only select active placements.
39
- statement = DfpApi::FilterStatement.new(
40
- 'WHERE status = :status ORDER BY id ASC',
41
- [
42
- {:key => 'status',
43
- :value => {:value => 'ACTIVE', :xsi_type => 'TextValue'}}
44
- ]
45
- }
46
-
47
- begin
48
- # Get placements by statement.
49
- page = placement_service.get_placements_by_statement(
50
- statement.toStatement())
51
-
52
- if page and page[:results]
53
- page[:results].each_with_index do |placement, index|
54
- puts "%d) Placement ID: %d, name: %s, status: %s." % [
55
- index + statement.offset,
56
- placement[:id], placement[:name], placement[:status]]
57
- end
58
- end
59
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
60
- end while statement.offset < page[:total_result_set_size]
61
-
62
- # Print a footer.
63
- if page.include?(:total_result_set_size)
64
- puts "Number of results found: %d" % page[:total_result_set_size]
65
- end
66
- end
67
-
68
- if __FILE__ == $0
69
- begin
70
- get_placements_by_statement()
71
-
72
- # HTTP errors.
73
- rescue AdsCommon::Errors::HttpError => e
74
- puts "HTTP Error: %s" % e
75
-
76
- # API errors.
77
- rescue DfpApi::Errors::ApiException => e
78
- puts "Message: %s" % e.message
79
- puts 'Errors:'
80
- e.errors.each_with_index do |error, index|
81
- puts "\tError [%d]:" % (index + 1)
82
- error.each do |field, value|
83
- puts "\t\t%s: %s" % [field, value]
84
- end
85
- end
86
- end
87
- end