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,182 +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 line items. To determine which line items exist, run
20
- # get_all_line_items.rb. To determine which orders exist, run
21
- # get_all_orders.rb. To determine which placements exist, run
22
- # get_all_placements.rb. To determine the IDs for locations, run
23
- # get_all_cities.rb, get_all_countries.rb, get_all_metros.rb and
24
- # get_all_regions.rb.
25
-
26
- require 'dfp_api'
27
-
28
- API_VERSION = :v201605
29
- # Number of line items to create.
30
- ITEM_COUNT = 5
31
-
32
- def create_line_items()
33
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
34
- dfp = DfpApi::Api.new
35
-
36
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
37
- # the configuration file or provide your own logger:
38
- # dfp.logger = Logger.new('dfp_xml.log')
39
-
40
- # Get the LineItemService.
41
- line_item_service = dfp.service(:LineItemService, API_VERSION)
42
-
43
- # Set the order that all created line items will belong to and the placement
44
- # ID to target.
45
- order_id = 'INSERT_ORDER_ID_HERE'.to_i
46
- targeted_placement_ids = Array.new(ITEM_COUNT) do
47
- 'INSERT_PLACEMENT_ID_HERE'.to_i
48
- end
49
-
50
- # Create inventory targeting.
51
- inventory_targeting = {:targeted_placement_ids => targeted_placement_ids}
52
-
53
- # Create geographical targeting.
54
- geo_targeting = {
55
- # Include targets.
56
- :targeted_locations => [
57
- {:id => 2840}, # USA.
58
- {:id => 20123}, # Quebec, Canada.
59
- {:id => 9000093} # Postal code B3P (Canada).
60
- ],
61
- # Exclude targets.
62
- :excluded_locations => [
63
- {:id => 1016367}, # Chicago.
64
- {:id => 200501} # New York.
65
- ]
66
- }
67
-
68
- # Create user domain targeting. Exclude domains that are not under the
69
- # network's control.
70
- user_domain_targeting = {:domains => ['usa.gov'], :targeted => false}
71
-
72
- # Create day-part targeting.
73
- day_part_targeting = {
74
- # Target only the weekend in the browser's timezone.
75
- :time_zone => 'BROWSER',
76
- :day_parts => [
77
- {:day_of_week => 'SATURDAY',
78
- :start_time => {:hour => 0, :minute => 'ZERO'},
79
- :end_time => {:hour => 24, :minute => 'ZERO'}},
80
- {:day_of_week => 'SUNDAY',
81
- :start_time => {:hour => 0, :minute => 'ZERO'},
82
- :end_time => {:hour => 24, :minute => 'ZERO'}}
83
- ]
84
- }
85
-
86
- # Create technology targeting.
87
- technology_targeting = {
88
- # Create browser targeting.
89
- :browser_targeting => {
90
- :is_targeted => true,
91
- # Target just the Chrome browser.
92
- :browsers => [{:id => 500072}]
93
- }
94
- }
95
-
96
- # Create targeting.
97
- targeting = {:geo_targeting => geo_targeting,
98
- :inventory_targeting => inventory_targeting,
99
- :user_domain_targeting => user_domain_targeting,
100
- :day_part_targeting => day_part_targeting,
101
- :technology_targeting => technology_targeting
102
- }
103
-
104
- # Create an array to store local line item objects.
105
- line_items = (1..ITEM_COUNT).map do |index|
106
- line_item = {:name => "Line item #%d-%d" % [Time.new.to_f * 1000, index],
107
- :order_id => order_id,
108
- :targeting => targeting,
109
- :line_item_type => 'STANDARD',
110
- :allow_overbook => true}
111
- # Set the creative rotation type to even.
112
- line_item[:creative_rotation_type] = 'EVEN'
113
-
114
- # Create the creative placeholder.
115
- creative_placeholder = {
116
- :size => {:width => 300, :height => 250, :is_aspect_ratio => false}
117
- }
118
-
119
- # Set the size of creatives that can be associated with this line item.
120
- line_item[:creative_placeholders] = [creative_placeholder]
121
-
122
- # Set the length of the line item to run.
123
- line_item[:start_date_time_type] = 'IMMEDIATELY'
124
- line_item[:end_date_time] = {:date => {:year => Time.now.year + 1,
125
- :month => 9,
126
- :day => 30},
127
- :hour => 0,
128
- :minute => 0,
129
- :second => 0,
130
- :time_zone_id => 'America/Los_Angeles'}
131
-
132
- # Set the cost per unit to $2.
133
- line_item[:cost_type] = 'CPM'
134
- line_item[:cost_per_unit] = {
135
- :currency_code => 'USD',
136
- :micro_amount => 2000000
137
- }
138
-
139
- # Set the number of units bought to 500,000 so that the budget is $1,000.
140
- line_item[:primary_goal] = {
141
- :units => '500000',
142
- :unit_type => 'IMPRESSIONS',
143
- :goal_type => 'LIFETIME'
144
- }
145
-
146
- line_item
147
- end
148
-
149
- # Create the line items on the server.
150
- return_line_items = line_item_service.create_line_items(line_items)
151
-
152
- if return_line_items
153
- return_line_items.each do |line_item|
154
- puts ("Line item with ID: %d, belonging to order ID: %d, " +
155
- "and named: %s was created.") %
156
- [line_item[:id], line_item[:order_id], line_item[:name]]
157
- end
158
- else
159
- raise 'No line items were created.'
160
- end
161
- end
162
-
163
- if __FILE__ == $0
164
- begin
165
- create_line_items()
166
-
167
- # HTTP errors.
168
- rescue AdsCommon::Errors::HttpError => e
169
- puts "HTTP Error: %s" % e
170
-
171
- # API errors.
172
- rescue DfpApi::Errors::ApiException => e
173
- puts "Message: %s" % e.message
174
- puts 'Errors:'
175
- e.errors.each_with_index do |error, index|
176
- puts "\tError [%d]:" % (index + 1)
177
- error.each do |field, value|
178
- puts "\t\t%s: %s" % [field, value]
179
- end
180
- end
181
- end
182
- end
@@ -1,164 +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 create a new line item to serve to video content. To determine
20
- # which line items exist, run get_all_line_items.rb. To determine which orders
21
- # exist, run get_all_orders.rb. To create a video ad unit, run
22
- # create_video_ad_unit.rb. To create criteria for categories, run
23
- # create_custom_targeting_keys_and_values.rb.
24
- #
25
- # This feature is only available to DFP premium solution networks.
26
-
27
- require 'dfp_api'
28
-
29
- API_VERSION = :v201605
30
-
31
- def create_video_line_item()
32
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
33
- dfp = DfpApi::Api.new
34
-
35
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
36
- # the configuration file or provide your own logger:
37
- # dfp.logger = Logger.new('dfp_xml.log')
38
-
39
- # Get the LineItemService.
40
- line_item_service = dfp.service(:LineItemService, API_VERSION)
41
-
42
- # Set the order that the created line item will belong to and the video ad
43
- # unit ID to target.
44
- order_id = 'INSERT_ORDER_ID_HERE'.to_i
45
- targeted_video_ad_unit_id = 'INSERT_VIDEO_AD_UNIT_ID_HERE'.to_s
46
-
47
- # Set the custom targeting key ID and value ID representing the metadata on
48
- # the content to target. This would typically be a key representing a "genre"
49
- # and a value representing something like "comedy".
50
- content_custom_targeting_key_id =
51
- 'INSERT_CONTENT_CUSTOM_TARGETING_KEY_ID_HERE'.to_i
52
- content_custom_targeting_value_id =
53
- 'INSERT_CONTENT_CUSTOM_TARGETING_VALUE_ID_HERE'.to_i
54
-
55
- # Create custom criteria for the content metadata targeting.
56
- content_custom_criteria = {
57
- :xsi_type => 'CustomCriteria',
58
- :key_id => content_custom_targeting_key_id,
59
- :value_ids => [content_custom_targeting_value_id],
60
- :operator => 'IS'
61
- }
62
-
63
- # Create custom criteria set.
64
- custom_criteria_set = {
65
- :children => [content_custom_criteria]
66
- }
67
-
68
- # Create inventory targeting.
69
- inventory_targeting = {
70
- :targeted_ad_units => [
71
- {:ad_unit_id => targeted_video_ad_unit_id}
72
- ]
73
- }
74
-
75
- # Create video position targeting.
76
- video_position = {:position_type => 'PREROLL'}
77
- video_position_target = {:video_position => video_position}
78
- video_position_targeting = {:targeted_positions => [video_position_target]}
79
-
80
- # Create targeting.
81
- targeting = {
82
- :custom_targeting => custom_criteria_set,
83
- :inventory_targeting => inventory_targeting,
84
- :video_position_targeting => video_position_targeting
85
- }
86
-
87
- # Create local line item object.
88
- line_item = {
89
- :name => 'Video line item',
90
- :order_id => order_id,
91
- :targeting => targeting,
92
- :line_item_type => 'SPONSORSHIP',
93
- :allow_overbook => true,
94
- # Set the environment type to video.
95
- :environment_type => 'VIDEO_PLAYER',
96
- # Set the creative rotation type to optimized.
97
- :creative_rotation_type => 'OPTIMIZED',
98
- # Set delivery of video companions to optional.
99
- :companion_delivery_option => 'OPTIONAL',
100
- # Set the length of the line item to run.
101
- :start_date_time_type => 'IMMEDIATELY',
102
- line_item[:end_date_time] = {:date => {:year => Time.now.year + 1,
103
- :month => 9,
104
- :day => 30},
105
- :hour => 0,
106
- :minute => 0,
107
- :second => 0,
108
- :time_zone_id => 'America/Los_Angeles'}
109
- # Set the cost per day to $1.
110
- :cost_type => 'CPD',
111
- :cost_per_unit => {:currency_code => 'USD', :micro_amount => 1000000},
112
- # Set the percentage to be 100%.
113
- :primary_goal => {
114
- :units => '100',
115
- :unit_type => 'IMPRESSIONS',
116
- :goal_type => 'DAILY'
117
- }
118
- }
119
-
120
- # Create the master creative placeholder and companion creative placeholders.
121
- creative_master_placeholder = {
122
- :size => {:width => 400, :height => 300, :is_aspect_ratio => false},
123
- :companions => [
124
- {:size => {:width => 300, :height => 250, :is_aspect_ratio => false}},
125
- {:size => {:width => 728, :height => 90, :is_aspect_ratio => false}}
126
- ]
127
- }
128
-
129
- # Set the size of creatives that can be associated with this line item.
130
- line_item[:creative_placeholders] = [creative_master_placeholder]
131
-
132
- # Create the line item on the server.
133
- return_line_item = line_item_service.create_line_item(line_item)
134
-
135
- if return_line_item
136
- puts(("Line item with ID: %d, belonging to order ID: %d, " +
137
- "and named: %s was created.") %
138
- [return_line_item[:id], return_line_item[:order_id],
139
- return_line_item[:name]])
140
- else
141
- raise 'No line items were created.'
142
- end
143
- end
144
-
145
- if __FILE__ == $0
146
- begin
147
- create_video_line_item()
148
-
149
- # HTTP errors.
150
- rescue AdsCommon::Errors::HttpError => e
151
- puts "HTTP Error: %s" % e
152
-
153
- # API errors.
154
- rescue DfpApi::Errors::ApiException => e
155
- puts "Message: %s" % e.message
156
- puts 'Errors:'
157
- e.errors.each_with_index do |error, index|
158
- puts "\tError [%d]:" % (index + 1)
159
- error.each do |field, value|
160
- puts "\t\t%s: %s" % [field, value]
161
- end
162
- end
163
- end
164
- end
@@ -1,82 +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 line items. To create line items, run
20
- # create_line_items.rb.
21
-
22
- require 'dfp_api'
23
-
24
-
25
- API_VERSION = :v201605
26
-
27
- def get_all_line_items()
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 LineItemService.
36
- line_item_service = dfp.service(:LineItemService, API_VERSION)
37
-
38
- # Create a statement to get one page with current offset.
39
- statement = DfpApi::FilterStatement.new('ORDER BY id ASC')
40
-
41
- begin
42
- # Get line items by statement.
43
- page = line_item_service.get_line_items_by_statement(
44
- statement.toStatement())
45
-
46
- if page[:results]
47
- # Print details about each line item in results.
48
- page[:results].each_with_index do |line_item, index|
49
- puts "%d) Line item ID: %d, order ID: %d, name: %s" %
50
- [index + statement.offset, line_item[:id],
51
- line_item[:order_id], line_item[:name]]
52
- end
53
- end
54
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
55
- end while statement.offset < page[:total_result_set_size]
56
-
57
- # Print a footer.
58
- if page.include?(:total_result_set_size)
59
- puts "Total number of line items: %d" % page[:total_result_set_size]
60
- end
61
- end
62
-
63
- if __FILE__ == $0
64
- begin
65
- get_all_line_items()
66
-
67
- # HTTP errors.
68
- rescue AdsCommon::Errors::HttpError => e
69
- puts "HTTP Error: %s" % e
70
-
71
- # API errors.
72
- rescue DfpApi::Errors::ApiException => e
73
- puts "Message: %s" % e.message
74
- puts 'Errors:'
75
- e.errors.each_with_index do |error, index|
76
- puts "\tError [%d]:" % (index + 1)
77
- error.each do |field, value|
78
- puts "\t\t%s: %s" % [field, value]
79
- end
80
- end
81
- end
82
- end
@@ -1,91 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2014, 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 line items for a given order. To create line
20
- # items, run create_line_items.rb. To determine which orders exist, run
21
- # get_all_orders.rb.
22
-
23
- require 'dfp_api'
24
-
25
-
26
- API_VERSION = :v201605
27
-
28
- def get_line_items_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 LineItemService.
37
- line_item_service = dfp.service(:LineItemService, API_VERSION)
38
-
39
- # Set the ID of the order to get line items from.
40
- order_id = 'INSERT_ORDER_ID_HERE'.to_i
41
-
42
- # Create a statement to only select line items from a given order.
43
- statement = DfpApi::FilterStatement.new(
44
- 'WHERE orderId = :order_id ORDER BY id ASC',
45
- [
46
- {:key => 'order_id',
47
- :value => {:value => order_id, :xsi_type => 'NumberValue'}}
48
- ]
49
- )
50
-
51
-
52
- # Get line items by statement.
53
- page = line_item_service.get_line_items_by_statement(statement.toStatement())
54
-
55
- while page and page[:results] do
56
- page[:results].each_with_index do |line_item, index|
57
- puts "%d) [%d] belongs to order ID %d, name: %s." % [
58
- index + statement.offset,
59
- line_item[:id], line_item[:order_id], line_item[:name]]
60
- end
61
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
62
- page = line_item_service.get_line_items_by_statement(
63
- statement.toStatement())
64
- end
65
-
66
- # Print a footer.
67
- if page.include?(:total_result_set_size)
68
- puts "Number of results found: %d" % page[:total_result_set_size]
69
- end
70
- end
71
-
72
- if __FILE__ == $0
73
- begin
74
- get_line_items_by_statement()
75
-
76
- # HTTP errors.
77
- rescue AdsCommon::Errors::HttpError => e
78
- puts "HTTP Error: %s" % e
79
-
80
- # API errors.
81
- rescue DfpApi::Errors::ApiException => e
82
- puts "Message: %s" % e.message
83
- puts 'Errors:'
84
- e.errors.each_with_index do |error, index|
85
- puts "\tError [%d]:" % (index + 1)
86
- error.each do |field, value|
87
- puts "\t\t%s: %s" % [field, value]
88
- end
89
- end
90
- end
91
- end
@@ -1,100 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This code example shows how to get recently updated line items. To create line
20
- # items, run create_line_items.rb. To determine which orders exist, run
21
- # get_all_orders.rb.
22
-
23
- require 'date'
24
-
25
- require 'dfp_api'
26
-
27
-
28
- API_VERSION = :v201605
29
-
30
- def get_recently_updated_line_items()
31
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
32
- dfp = DfpApi::Api.new
33
-
34
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
35
- # the configuration file or provide your own logger:
36
- # dfp.logger = Logger.new('dfp_xml.log')
37
-
38
- # Get the LineItemService.
39
- line_item_service = dfp.service(:LineItemService, API_VERSION)
40
-
41
- # Set the ID of the order to get line items from.
42
- order_id = 'INSERT_ORDER_ID_HERE'.to_i
43
-
44
- # Create statement object to only select line items belonging to the order and
45
- # have been modified in the last 3 days.
46
- statement = DfpApi::FilterStatement.new(
47
- 'WHERE lastModifiedDateTime >= :date_time_string AND ' +
48
- 'orderId = :order_id ORDER BY id ASC',
49
- [
50
- {:key => 'order_id',
51
- :value => {:value => order_id, :xsi_type => 'NumberValue'}},
52
- {:key => 'date_time_string',
53
- :value => {
54
- :value => (DateTime.now - 3).strftime('%Y-%m-%dT%H:%M:%S'),
55
- :xsi_type => 'TextValue'
56
- }},
57
- ]
58
- )
59
-
60
- begin
61
- # Get line items by statement.
62
- page = line_item_service.get_line_items_by_statement(
63
- statement.toStatement())
64
-
65
- if page and page[:results]
66
- page[:results].each_with_index do |line_item, index|
67
- puts "%d) [%d] belongs to order ID %d, name: %s." % [
68
- index + statement.offset, line_item[:id],
69
- line_item[:order_id], line_item[:name]]
70
- end
71
- end
72
- statement.offset += DfpApi::SUGGESTED_PAGE_LIMIT
73
- end while statement.offset < page[:total_result_set_size]
74
-
75
- # Print a footer.
76
- if page.include?(:total_result_set_size)
77
- puts "Number of results found: %d" % page[:total_result_set_size]
78
- end
79
- end
80
-
81
- if __FILE__ == $0
82
- begin
83
- get_recently_updated_line_items()
84
-
85
- # HTTP errors.
86
- rescue AdsCommon::Errors::HttpError => e
87
- puts "HTTP Error: %s" % e
88
-
89
- # API errors.
90
- rescue DfpApi::Errors::ApiException => e
91
- puts "Message: %s" % e.message
92
- puts 'Errors:'
93
- e.errors.each_with_index do |error, index|
94
- puts "\tError [%d]:" % (index + 1)
95
- error.each do |field, value|
96
- puts "\t\t%s: %s" % [field, value]
97
- end
98
- end
99
- end
100
- end