google-dfp-api 0.17.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1239) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +17 -0
  3. data/README.md +5 -0
  4. data/dfp_api.yml +2 -2
  5. data/lib/dfp_api/api_config.rb +15 -39
  6. data/lib/dfp_api/credential_handler.rb +10 -3
  7. data/lib/dfp_api/dfp_api_statement.rb +5 -0
  8. data/lib/dfp_api/v201602/activity_group_service.rb +1 -1
  9. data/lib/dfp_api/v201602/activity_group_service_registry.rb +1 -1
  10. data/lib/dfp_api/v201602/activity_service.rb +1 -1
  11. data/lib/dfp_api/v201602/activity_service_registry.rb +1 -1
  12. data/lib/dfp_api/v201602/ad_exclusion_rule_service.rb +1 -1
  13. data/lib/dfp_api/v201602/ad_exclusion_rule_service_registry.rb +1 -1
  14. data/lib/dfp_api/v201602/ad_rule_service.rb +1 -1
  15. data/lib/dfp_api/v201602/ad_rule_service_registry.rb +1 -1
  16. data/lib/dfp_api/v201602/audience_segment_service.rb +1 -1
  17. data/lib/dfp_api/v201602/audience_segment_service_registry.rb +2 -2
  18. data/lib/dfp_api/v201602/base_rate_service.rb +1 -1
  19. data/lib/dfp_api/v201602/base_rate_service_registry.rb +2 -2
  20. data/lib/dfp_api/v201602/company_service.rb +1 -1
  21. data/lib/dfp_api/v201602/company_service_registry.rb +1 -1
  22. data/lib/dfp_api/v201602/contact_service.rb +1 -1
  23. data/lib/dfp_api/v201602/contact_service_registry.rb +1 -1
  24. data/lib/dfp_api/v201602/content_bundle_service.rb +1 -1
  25. data/lib/dfp_api/v201602/content_bundle_service_registry.rb +2 -2
  26. data/lib/dfp_api/v201602/content_metadata_key_hierarchy_service.rb +1 -1
  27. data/lib/dfp_api/v201602/content_metadata_key_hierarchy_service_registry.rb +1 -1
  28. data/lib/dfp_api/v201602/content_service.rb +1 -1
  29. data/lib/dfp_api/v201602/content_service_registry.rb +1 -1
  30. data/lib/dfp_api/v201602/creative_service.rb +1 -1
  31. data/lib/dfp_api/v201602/creative_service_registry.rb +1 -1
  32. data/lib/dfp_api/v201602/creative_set_service.rb +1 -1
  33. data/lib/dfp_api/v201602/creative_set_service_registry.rb +1 -1
  34. data/lib/dfp_api/v201602/creative_template_service.rb +1 -1
  35. data/lib/dfp_api/v201602/creative_template_service_registry.rb +1 -1
  36. data/lib/dfp_api/v201602/creative_wrapper_service.rb +1 -1
  37. data/lib/dfp_api/v201602/creative_wrapper_service_registry.rb +1 -1
  38. data/lib/dfp_api/v201602/custom_field_service.rb +1 -1
  39. data/lib/dfp_api/v201602/custom_field_service_registry.rb +2 -2
  40. data/lib/dfp_api/v201602/custom_targeting_service.rb +1 -1
  41. data/lib/dfp_api/v201602/custom_targeting_service_registry.rb +2 -2
  42. data/lib/dfp_api/v201602/exchange_rate_service.rb +1 -1
  43. data/lib/dfp_api/v201602/exchange_rate_service_registry.rb +2 -2
  44. data/lib/dfp_api/v201602/forecast_service.rb +1 -1
  45. data/lib/dfp_api/v201602/forecast_service_registry.rb +1 -1
  46. data/lib/dfp_api/v201602/inventory_service.rb +1 -1
  47. data/lib/dfp_api/v201602/inventory_service_registry.rb +2 -2
  48. data/lib/dfp_api/v201602/label_service.rb +1 -1
  49. data/lib/dfp_api/v201602/label_service_registry.rb +1 -1
  50. data/lib/dfp_api/v201602/line_item_creative_association_service.rb +1 -1
  51. data/lib/dfp_api/v201602/line_item_creative_association_service_registry.rb +1 -1
  52. data/lib/dfp_api/v201602/line_item_service.rb +1 -1
  53. data/lib/dfp_api/v201602/line_item_service_registry.rb +2 -2
  54. data/lib/dfp_api/v201602/line_item_template_service.rb +1 -1
  55. data/lib/dfp_api/v201602/line_item_template_service_registry.rb +2 -2
  56. data/lib/dfp_api/v201602/live_stream_event_service.rb +1 -1
  57. data/lib/dfp_api/v201602/live_stream_event_service_registry.rb +1 -1
  58. data/lib/dfp_api/v201602/network_service.rb +1 -1
  59. data/lib/dfp_api/v201602/network_service_registry.rb +1 -1
  60. data/lib/dfp_api/v201602/order_service.rb +1 -1
  61. data/lib/dfp_api/v201602/order_service_registry.rb +2 -2
  62. data/lib/dfp_api/v201602/package_service.rb +1 -1
  63. data/lib/dfp_api/v201602/package_service_registry.rb +2 -2
  64. data/lib/dfp_api/v201602/placement_service.rb +1 -1
  65. data/lib/dfp_api/v201602/placement_service_registry.rb +1 -1
  66. data/lib/dfp_api/v201602/premium_rate_service.rb +1 -1
  67. data/lib/dfp_api/v201602/premium_rate_service_registry.rb +2 -2
  68. data/lib/dfp_api/v201602/product_package_item_service.rb +1 -1
  69. data/lib/dfp_api/v201602/product_package_item_service_registry.rb +1 -1
  70. data/lib/dfp_api/v201602/product_package_service.rb +1 -1
  71. data/lib/dfp_api/v201602/product_package_service_registry.rb +1 -1
  72. data/lib/dfp_api/v201602/product_service.rb +1 -1
  73. data/lib/dfp_api/v201602/product_service_registry.rb +1 -1
  74. data/lib/dfp_api/v201602/product_template_service.rb +1 -1
  75. data/lib/dfp_api/v201602/product_template_service_registry.rb +1 -1
  76. data/lib/dfp_api/v201602/proposal_line_item_service.rb +1 -1
  77. data/lib/dfp_api/v201602/proposal_line_item_service_registry.rb +2 -2
  78. data/lib/dfp_api/v201602/proposal_service.rb +1 -1
  79. data/lib/dfp_api/v201602/proposal_service_registry.rb +1 -1
  80. data/lib/dfp_api/v201602/publisher_query_language_service.rb +1 -1
  81. data/lib/dfp_api/v201602/publisher_query_language_service_registry.rb +2 -2
  82. data/lib/dfp_api/v201602/rate_card_service.rb +1 -1
  83. data/lib/dfp_api/v201602/rate_card_service_registry.rb +1 -1
  84. data/lib/dfp_api/v201602/reconciliation_line_item_report_service.rb +1 -1
  85. data/lib/dfp_api/v201602/reconciliation_line_item_report_service_registry.rb +2 -2
  86. data/lib/dfp_api/v201602/reconciliation_order_report_service.rb +1 -1
  87. data/lib/dfp_api/v201602/reconciliation_order_report_service_registry.rb +2 -2
  88. data/lib/dfp_api/v201602/reconciliation_report_row_service.rb +1 -1
  89. data/lib/dfp_api/v201602/reconciliation_report_row_service_registry.rb +2 -2
  90. data/lib/dfp_api/v201602/reconciliation_report_service.rb +1 -1
  91. data/lib/dfp_api/v201602/reconciliation_report_service_registry.rb +2 -2
  92. data/lib/dfp_api/v201602/report_service.rb +1 -1
  93. data/lib/dfp_api/v201602/report_service_registry.rb +1 -1
  94. data/lib/dfp_api/v201602/suggested_ad_unit_service.rb +1 -1
  95. data/lib/dfp_api/v201602/suggested_ad_unit_service_registry.rb +2 -2
  96. data/lib/dfp_api/v201602/team_service.rb +1 -1
  97. data/lib/dfp_api/v201602/team_service_registry.rb +1 -1
  98. data/lib/dfp_api/v201602/user_service.rb +1 -1
  99. data/lib/dfp_api/v201602/user_service_registry.rb +2 -2
  100. data/lib/dfp_api/v201602/user_team_association_service.rb +1 -1
  101. data/lib/dfp_api/v201602/user_team_association_service_registry.rb +2 -2
  102. data/lib/dfp_api/v201602/workflow_request_service.rb +1 -1
  103. data/lib/dfp_api/v201602/workflow_request_service_registry.rb +2 -2
  104. data/lib/dfp_api/v201605/activity_group_service.rb +1 -1
  105. data/lib/dfp_api/v201605/activity_group_service_registry.rb +1 -1
  106. data/lib/dfp_api/v201605/activity_service.rb +1 -1
  107. data/lib/dfp_api/v201605/activity_service_registry.rb +1 -1
  108. data/lib/dfp_api/v201605/ad_exclusion_rule_service.rb +1 -1
  109. data/lib/dfp_api/v201605/ad_exclusion_rule_service_registry.rb +1 -1
  110. data/lib/dfp_api/v201605/ad_rule_service.rb +1 -1
  111. data/lib/dfp_api/v201605/ad_rule_service_registry.rb +1 -1
  112. data/lib/dfp_api/v201605/audience_segment_service.rb +1 -1
  113. data/lib/dfp_api/v201605/audience_segment_service_registry.rb +2 -2
  114. data/lib/dfp_api/v201605/base_rate_service.rb +1 -1
  115. data/lib/dfp_api/v201605/base_rate_service_registry.rb +2 -2
  116. data/lib/dfp_api/v201605/company_service.rb +1 -1
  117. data/lib/dfp_api/v201605/company_service_registry.rb +1 -1
  118. data/lib/dfp_api/v201605/contact_service.rb +1 -1
  119. data/lib/dfp_api/v201605/contact_service_registry.rb +1 -1
  120. data/lib/dfp_api/v201605/content_bundle_service.rb +1 -1
  121. data/lib/dfp_api/v201605/content_bundle_service_registry.rb +2 -2
  122. data/lib/dfp_api/v201605/content_metadata_key_hierarchy_service.rb +1 -1
  123. data/lib/dfp_api/v201605/content_metadata_key_hierarchy_service_registry.rb +1 -1
  124. data/lib/dfp_api/v201605/content_service.rb +1 -1
  125. data/lib/dfp_api/v201605/content_service_registry.rb +1 -1
  126. data/lib/dfp_api/v201605/creative_service.rb +1 -1
  127. data/lib/dfp_api/v201605/creative_service_registry.rb +1 -1
  128. data/lib/dfp_api/v201605/creative_set_service.rb +1 -1
  129. data/lib/dfp_api/v201605/creative_set_service_registry.rb +1 -1
  130. data/lib/dfp_api/v201605/creative_template_service.rb +1 -1
  131. data/lib/dfp_api/v201605/creative_template_service_registry.rb +1 -1
  132. data/lib/dfp_api/v201605/creative_wrapper_service.rb +1 -1
  133. data/lib/dfp_api/v201605/creative_wrapper_service_registry.rb +1 -1
  134. data/lib/dfp_api/v201605/custom_field_service.rb +1 -1
  135. data/lib/dfp_api/v201605/custom_field_service_registry.rb +2 -2
  136. data/lib/dfp_api/v201605/custom_targeting_service.rb +1 -1
  137. data/lib/dfp_api/v201605/custom_targeting_service_registry.rb +2 -2
  138. data/lib/dfp_api/v201605/exchange_rate_service.rb +1 -1
  139. data/lib/dfp_api/v201605/exchange_rate_service_registry.rb +2 -2
  140. data/lib/dfp_api/v201605/forecast_service.rb +1 -1
  141. data/lib/dfp_api/v201605/forecast_service_registry.rb +1 -1
  142. data/lib/dfp_api/v201605/inventory_service.rb +1 -1
  143. data/lib/dfp_api/v201605/inventory_service_registry.rb +2 -2
  144. data/lib/dfp_api/v201605/label_service.rb +1 -1
  145. data/lib/dfp_api/v201605/label_service_registry.rb +1 -1
  146. data/lib/dfp_api/v201605/line_item_creative_association_service.rb +1 -1
  147. data/lib/dfp_api/v201605/line_item_creative_association_service_registry.rb +1 -1
  148. data/lib/dfp_api/v201605/line_item_service.rb +1 -1
  149. data/lib/dfp_api/v201605/line_item_service_registry.rb +2 -2
  150. data/lib/dfp_api/v201605/line_item_template_service.rb +1 -1
  151. data/lib/dfp_api/v201605/line_item_template_service_registry.rb +2 -2
  152. data/lib/dfp_api/v201605/live_stream_event_service.rb +1 -1
  153. data/lib/dfp_api/v201605/live_stream_event_service_registry.rb +1 -1
  154. data/lib/dfp_api/v201605/network_service.rb +1 -1
  155. data/lib/dfp_api/v201605/network_service_registry.rb +1 -1
  156. data/lib/dfp_api/v201605/order_service.rb +1 -1
  157. data/lib/dfp_api/v201605/order_service_registry.rb +2 -2
  158. data/lib/dfp_api/v201605/package_service.rb +1 -1
  159. data/lib/dfp_api/v201605/package_service_registry.rb +2 -2
  160. data/lib/dfp_api/v201605/placement_service.rb +1 -1
  161. data/lib/dfp_api/v201605/placement_service_registry.rb +1 -1
  162. data/lib/dfp_api/v201605/premium_rate_service.rb +1 -1
  163. data/lib/dfp_api/v201605/premium_rate_service_registry.rb +2 -2
  164. data/lib/dfp_api/v201605/product_package_item_service.rb +1 -1
  165. data/lib/dfp_api/v201605/product_package_item_service_registry.rb +1 -1
  166. data/lib/dfp_api/v201605/product_package_service.rb +1 -1
  167. data/lib/dfp_api/v201605/product_package_service_registry.rb +1 -1
  168. data/lib/dfp_api/v201605/product_service.rb +1 -1
  169. data/lib/dfp_api/v201605/product_service_registry.rb +1 -1
  170. data/lib/dfp_api/v201605/product_template_service.rb +1 -1
  171. data/lib/dfp_api/v201605/product_template_service_registry.rb +1 -1
  172. data/lib/dfp_api/v201605/proposal_line_item_service.rb +1 -1
  173. data/lib/dfp_api/v201605/proposal_line_item_service_registry.rb +2 -2
  174. data/lib/dfp_api/v201605/proposal_service.rb +1 -1
  175. data/lib/dfp_api/v201605/proposal_service_registry.rb +1 -1
  176. data/lib/dfp_api/v201605/publisher_query_language_service.rb +1 -1
  177. data/lib/dfp_api/v201605/publisher_query_language_service_registry.rb +2 -2
  178. data/lib/dfp_api/v201605/rate_card_service.rb +1 -1
  179. data/lib/dfp_api/v201605/rate_card_service_registry.rb +1 -1
  180. data/lib/dfp_api/v201605/reconciliation_line_item_report_service.rb +1 -1
  181. data/lib/dfp_api/v201605/reconciliation_line_item_report_service_registry.rb +2 -2
  182. data/lib/dfp_api/v201605/reconciliation_order_report_service.rb +1 -1
  183. data/lib/dfp_api/v201605/reconciliation_order_report_service_registry.rb +2 -2
  184. data/lib/dfp_api/v201605/reconciliation_report_row_service.rb +1 -1
  185. data/lib/dfp_api/v201605/reconciliation_report_row_service_registry.rb +2 -2
  186. data/lib/dfp_api/v201605/reconciliation_report_service.rb +1 -1
  187. data/lib/dfp_api/v201605/reconciliation_report_service_registry.rb +2 -2
  188. data/lib/dfp_api/v201605/report_service.rb +1 -1
  189. data/lib/dfp_api/v201605/report_service_registry.rb +1 -1
  190. data/lib/dfp_api/v201605/suggested_ad_unit_service.rb +1 -1
  191. data/lib/dfp_api/v201605/suggested_ad_unit_service_registry.rb +2 -2
  192. data/lib/dfp_api/v201605/team_service.rb +1 -1
  193. data/lib/dfp_api/v201605/team_service_registry.rb +1 -1
  194. data/lib/dfp_api/v201605/user_service.rb +1 -1
  195. data/lib/dfp_api/v201605/user_service_registry.rb +2 -2
  196. data/lib/dfp_api/v201605/user_team_association_service.rb +1 -1
  197. data/lib/dfp_api/v201605/user_team_association_service_registry.rb +2 -2
  198. data/lib/dfp_api/v201605/workflow_request_service.rb +1 -1
  199. data/lib/dfp_api/v201605/workflow_request_service_registry.rb +2 -2
  200. data/lib/dfp_api/v201608/activity_group_service.rb +54 -0
  201. data/lib/dfp_api/v201608/activity_group_service_registry.rb +45 -0
  202. data/lib/dfp_api/v201608/activity_service.rb +54 -0
  203. data/lib/dfp_api/v201608/activity_service_registry.rb +45 -0
  204. data/lib/dfp_api/v201608/ad_exclusion_rule_service.rb +62 -0
  205. data/lib/dfp_api/v201608/ad_exclusion_rule_service_registry.rb +45 -0
  206. data/lib/dfp_api/v201608/ad_rule_service.rb +62 -0
  207. data/lib/dfp_api/v201608/ad_rule_service_registry.rb +45 -0
  208. data/lib/dfp_api/v201608/audience_segment_service.rb +62 -0
  209. data/lib/dfp_api/v201608/audience_segment_service_registry.rb +45 -0
  210. data/lib/dfp_api/v201608/base_rate_service.rb +62 -0
  211. data/lib/dfp_api/v201608/base_rate_service_registry.rb +45 -0
  212. data/lib/dfp_api/v201608/company_service.rb +54 -0
  213. data/lib/dfp_api/v201608/company_service_registry.rb +45 -0
  214. data/lib/dfp_api/v201608/contact_service.rb +54 -0
  215. data/lib/dfp_api/v201608/contact_service_registry.rb +45 -0
  216. data/lib/dfp_api/v201608/content_bundle_service.rb +62 -0
  217. data/lib/dfp_api/v201608/content_bundle_service_registry.rb +45 -0
  218. data/lib/dfp_api/v201608/content_metadata_key_hierarchy_service.rb +62 -0
  219. data/lib/dfp_api/v201608/content_metadata_key_hierarchy_service_registry.rb +45 -0
  220. data/lib/dfp_api/v201608/content_service.rb +46 -0
  221. data/lib/dfp_api/v201608/content_service_registry.rb +45 -0
  222. data/lib/dfp_api/v201608/creative_service.rb +54 -0
  223. data/lib/dfp_api/v201608/creative_service_registry.rb +45 -0
  224. data/lib/dfp_api/v201608/creative_set_service.rb +54 -0
  225. data/lib/dfp_api/v201608/creative_set_service_registry.rb +45 -0
  226. data/lib/dfp_api/v201608/creative_template_service.rb +38 -0
  227. data/lib/dfp_api/v201608/creative_template_service_registry.rb +45 -0
  228. data/lib/dfp_api/v201608/creative_wrapper_service.rb +62 -0
  229. data/lib/dfp_api/v201608/creative_wrapper_service_registry.rb +45 -0
  230. data/lib/dfp_api/v201608/custom_field_service.rb +86 -0
  231. data/lib/dfp_api/v201608/custom_field_service_registry.rb +45 -0
  232. data/lib/dfp_api/v201608/custom_targeting_service.rb +94 -0
  233. data/lib/dfp_api/v201608/custom_targeting_service_registry.rb +45 -0
  234. data/lib/dfp_api/v201608/exchange_rate_service.rb +62 -0
  235. data/lib/dfp_api/v201608/exchange_rate_service_registry.rb +45 -0
  236. data/lib/dfp_api/v201608/forecast_service.rb +62 -0
  237. data/lib/dfp_api/v201608/forecast_service_registry.rb +45 -0
  238. data/lib/dfp_api/v201608/inventory_service.rb +70 -0
  239. data/lib/dfp_api/v201608/inventory_service_registry.rb +45 -0
  240. data/lib/dfp_api/v201608/label_service.rb +62 -0
  241. data/lib/dfp_api/v201608/label_service_registry.rb +45 -0
  242. data/lib/dfp_api/v201608/line_item_creative_association_service.rb +70 -0
  243. data/lib/dfp_api/v201608/line_item_creative_association_service_registry.rb +45 -0
  244. data/lib/dfp_api/v201608/line_item_service.rb +62 -0
  245. data/lib/dfp_api/v201608/line_item_service_registry.rb +45 -0
  246. data/lib/dfp_api/v201608/line_item_template_service.rb +38 -0
  247. data/lib/dfp_api/v201608/line_item_template_service_registry.rb +45 -0
  248. data/lib/dfp_api/v201608/live_stream_event_service.rb +70 -0
  249. data/lib/dfp_api/v201608/live_stream_event_service_registry.rb +45 -0
  250. data/lib/dfp_api/v201608/network_service.rb +62 -0
  251. data/lib/dfp_api/v201608/network_service_registry.rb +45 -0
  252. data/lib/dfp_api/v201608/order_service.rb +62 -0
  253. data/lib/dfp_api/v201608/order_service_registry.rb +45 -0
  254. data/lib/dfp_api/v201608/package_service.rb +62 -0
  255. data/lib/dfp_api/v201608/package_service_registry.rb +45 -0
  256. data/lib/dfp_api/v201608/placement_service.rb +62 -0
  257. data/lib/dfp_api/v201608/placement_service_registry.rb +45 -0
  258. data/lib/dfp_api/v201608/premium_rate_service.rb +54 -0
  259. data/lib/dfp_api/v201608/premium_rate_service_registry.rb +45 -0
  260. data/lib/dfp_api/v201608/product_package_item_service.rb +62 -0
  261. data/lib/dfp_api/v201608/product_package_item_service_registry.rb +45 -0
  262. data/lib/dfp_api/v201608/product_package_service.rb +62 -0
  263. data/lib/dfp_api/v201608/product_package_service_registry.rb +45 -0
  264. data/lib/dfp_api/v201608/product_service.rb +62 -0
  265. data/lib/dfp_api/v201608/product_service_registry.rb +45 -0
  266. data/lib/dfp_api/v201608/product_template_service.rb +62 -0
  267. data/lib/dfp_api/v201608/product_template_service_registry.rb +45 -0
  268. data/lib/dfp_api/v201608/proposal_line_item_service.rb +62 -0
  269. data/lib/dfp_api/v201608/proposal_line_item_service_registry.rb +45 -0
  270. data/lib/dfp_api/v201608/proposal_service.rb +70 -0
  271. data/lib/dfp_api/v201608/proposal_service_registry.rb +45 -0
  272. data/lib/dfp_api/v201608/publisher_query_language_service.rb +38 -0
  273. data/lib/dfp_api/v201608/publisher_query_language_service_registry.rb +45 -0
  274. data/lib/dfp_api/v201608/rate_card_service.rb +62 -0
  275. data/lib/dfp_api/v201608/rate_card_service_registry.rb +45 -0
  276. data/lib/dfp_api/v201608/reconciliation_line_item_report_service.rb +46 -0
  277. data/lib/dfp_api/v201608/reconciliation_line_item_report_service_registry.rb +45 -0
  278. data/lib/dfp_api/v201608/reconciliation_order_report_service.rb +54 -0
  279. data/lib/dfp_api/v201608/reconciliation_order_report_service_registry.rb +45 -0
  280. data/lib/dfp_api/v201608/reconciliation_report_row_service.rb +46 -0
  281. data/lib/dfp_api/v201608/reconciliation_report_row_service_registry.rb +45 -0
  282. data/lib/dfp_api/v201608/reconciliation_report_service.rb +46 -0
  283. data/lib/dfp_api/v201608/reconciliation_report_service_registry.rb +45 -0
  284. data/lib/dfp_api/v201608/report_service.rb +70 -0
  285. data/lib/dfp_api/v201608/report_service_registry.rb +45 -0
  286. data/lib/dfp_api/v201608/suggested_ad_unit_service.rb +46 -0
  287. data/lib/dfp_api/v201608/suggested_ad_unit_service_registry.rb +45 -0
  288. data/lib/dfp_api/v201608/team_service.rb +54 -0
  289. data/lib/dfp_api/v201608/team_service_registry.rb +45 -0
  290. data/lib/dfp_api/v201608/user_service.rb +78 -0
  291. data/lib/dfp_api/v201608/user_service_registry.rb +45 -0
  292. data/lib/dfp_api/v201608/user_team_association_service.rb +62 -0
  293. data/lib/dfp_api/v201608/user_team_association_service_registry.rb +45 -0
  294. data/lib/dfp_api/v201608/workflow_request_service.rb +46 -0
  295. data/lib/dfp_api/v201608/workflow_request_service_registry.rb +45 -0
  296. data/lib/dfp_api/v201611/activity_group_service.rb +54 -0
  297. data/lib/dfp_api/v201611/activity_group_service_registry.rb +45 -0
  298. data/lib/dfp_api/v201611/activity_service.rb +54 -0
  299. data/lib/dfp_api/v201611/activity_service_registry.rb +45 -0
  300. data/lib/dfp_api/v201611/ad_exclusion_rule_service.rb +62 -0
  301. data/lib/dfp_api/v201611/ad_exclusion_rule_service_registry.rb +45 -0
  302. data/lib/dfp_api/v201611/ad_rule_service.rb +62 -0
  303. data/lib/dfp_api/v201611/ad_rule_service_registry.rb +45 -0
  304. data/lib/dfp_api/v201611/audience_segment_service.rb +62 -0
  305. data/lib/dfp_api/v201611/audience_segment_service_registry.rb +45 -0
  306. data/lib/dfp_api/v201611/base_rate_service.rb +62 -0
  307. data/lib/dfp_api/v201611/base_rate_service_registry.rb +45 -0
  308. data/lib/dfp_api/v201611/company_service.rb +54 -0
  309. data/lib/dfp_api/v201611/company_service_registry.rb +45 -0
  310. data/lib/dfp_api/v201611/contact_service.rb +54 -0
  311. data/lib/dfp_api/v201611/contact_service_registry.rb +45 -0
  312. data/lib/dfp_api/v201611/content_bundle_service.rb +62 -0
  313. data/lib/dfp_api/v201611/content_bundle_service_registry.rb +45 -0
  314. data/lib/dfp_api/v201611/content_metadata_key_hierarchy_service.rb +62 -0
  315. data/lib/dfp_api/v201611/content_metadata_key_hierarchy_service_registry.rb +45 -0
  316. data/lib/dfp_api/v201611/content_service.rb +46 -0
  317. data/lib/dfp_api/v201611/content_service_registry.rb +45 -0
  318. data/lib/dfp_api/v201611/creative_service.rb +54 -0
  319. data/lib/dfp_api/v201611/creative_service_registry.rb +45 -0
  320. data/lib/dfp_api/v201611/creative_set_service.rb +54 -0
  321. data/lib/dfp_api/v201611/creative_set_service_registry.rb +45 -0
  322. data/lib/dfp_api/v201611/creative_template_service.rb +38 -0
  323. data/lib/dfp_api/v201611/creative_template_service_registry.rb +45 -0
  324. data/lib/dfp_api/v201611/creative_wrapper_service.rb +62 -0
  325. data/lib/dfp_api/v201611/creative_wrapper_service_registry.rb +45 -0
  326. data/lib/dfp_api/v201611/custom_field_service.rb +86 -0
  327. data/lib/dfp_api/v201611/custom_field_service_registry.rb +45 -0
  328. data/lib/dfp_api/v201611/custom_targeting_service.rb +94 -0
  329. data/lib/dfp_api/v201611/custom_targeting_service_registry.rb +45 -0
  330. data/lib/dfp_api/v201611/exchange_rate_service.rb +62 -0
  331. data/lib/dfp_api/v201611/exchange_rate_service_registry.rb +45 -0
  332. data/lib/dfp_api/v201611/forecast_service.rb +62 -0
  333. data/lib/dfp_api/v201611/forecast_service_registry.rb +45 -0
  334. data/lib/dfp_api/v201611/inventory_service.rb +70 -0
  335. data/lib/dfp_api/v201611/inventory_service_registry.rb +45 -0
  336. data/lib/dfp_api/v201611/label_service.rb +62 -0
  337. data/lib/dfp_api/v201611/label_service_registry.rb +45 -0
  338. data/lib/dfp_api/v201611/line_item_creative_association_service.rb +70 -0
  339. data/lib/dfp_api/v201611/line_item_creative_association_service_registry.rb +45 -0
  340. data/lib/dfp_api/v201611/line_item_service.rb +62 -0
  341. data/lib/dfp_api/v201611/line_item_service_registry.rb +45 -0
  342. data/lib/dfp_api/v201611/line_item_template_service.rb +38 -0
  343. data/lib/dfp_api/v201611/line_item_template_service_registry.rb +45 -0
  344. data/lib/dfp_api/v201611/live_stream_event_service.rb +70 -0
  345. data/lib/dfp_api/v201611/live_stream_event_service_registry.rb +45 -0
  346. data/lib/dfp_api/v201611/mobile_application_service.rb +62 -0
  347. data/lib/dfp_api/v201611/mobile_application_service_registry.rb +45 -0
  348. data/lib/dfp_api/v201611/network_service.rb +62 -0
  349. data/lib/dfp_api/v201611/network_service_registry.rb +45 -0
  350. data/lib/dfp_api/v201611/order_service.rb +62 -0
  351. data/lib/dfp_api/v201611/order_service_registry.rb +45 -0
  352. data/lib/dfp_api/v201611/package_service.rb +62 -0
  353. data/lib/dfp_api/v201611/package_service_registry.rb +45 -0
  354. data/lib/dfp_api/v201611/placement_service.rb +62 -0
  355. data/lib/dfp_api/v201611/placement_service_registry.rb +45 -0
  356. data/lib/dfp_api/v201611/premium_rate_service.rb +54 -0
  357. data/lib/dfp_api/v201611/premium_rate_service_registry.rb +45 -0
  358. data/lib/dfp_api/v201611/product_package_item_service.rb +62 -0
  359. data/lib/dfp_api/v201611/product_package_item_service_registry.rb +45 -0
  360. data/lib/dfp_api/v201611/product_package_service.rb +62 -0
  361. data/lib/dfp_api/v201611/product_package_service_registry.rb +45 -0
  362. data/lib/dfp_api/v201611/product_service.rb +62 -0
  363. data/lib/dfp_api/v201611/product_service_registry.rb +45 -0
  364. data/lib/dfp_api/v201611/product_template_service.rb +62 -0
  365. data/lib/dfp_api/v201611/product_template_service_registry.rb +45 -0
  366. data/lib/dfp_api/v201611/proposal_line_item_service.rb +62 -0
  367. data/lib/dfp_api/v201611/proposal_line_item_service_registry.rb +45 -0
  368. data/lib/dfp_api/v201611/proposal_service.rb +70 -0
  369. data/lib/dfp_api/v201611/proposal_service_registry.rb +45 -0
  370. data/lib/dfp_api/v201611/publisher_query_language_service.rb +38 -0
  371. data/lib/dfp_api/v201611/publisher_query_language_service_registry.rb +45 -0
  372. data/lib/dfp_api/v201611/rate_card_service.rb +62 -0
  373. data/lib/dfp_api/v201611/rate_card_service_registry.rb +45 -0
  374. data/lib/dfp_api/v201611/reconciliation_line_item_report_service.rb +46 -0
  375. data/lib/dfp_api/v201611/reconciliation_line_item_report_service_registry.rb +45 -0
  376. data/lib/dfp_api/v201611/reconciliation_order_report_service.rb +54 -0
  377. data/lib/dfp_api/v201611/reconciliation_order_report_service_registry.rb +45 -0
  378. data/lib/dfp_api/v201611/reconciliation_report_row_service.rb +46 -0
  379. data/lib/dfp_api/v201611/reconciliation_report_row_service_registry.rb +45 -0
  380. data/lib/dfp_api/v201611/reconciliation_report_service.rb +46 -0
  381. data/lib/dfp_api/v201611/reconciliation_report_service_registry.rb +45 -0
  382. data/lib/dfp_api/v201611/report_service.rb +70 -0
  383. data/lib/dfp_api/v201611/report_service_registry.rb +45 -0
  384. data/lib/dfp_api/v201611/suggested_ad_unit_service.rb +46 -0
  385. data/lib/dfp_api/v201611/suggested_ad_unit_service_registry.rb +45 -0
  386. data/lib/dfp_api/v201611/team_service.rb +54 -0
  387. data/lib/dfp_api/v201611/team_service_registry.rb +45 -0
  388. data/lib/dfp_api/v201611/user_service.rb +78 -0
  389. data/lib/dfp_api/v201611/user_service_registry.rb +45 -0
  390. data/lib/dfp_api/v201611/user_team_association_service.rb +62 -0
  391. data/lib/dfp_api/v201611/user_team_association_service_registry.rb +45 -0
  392. data/lib/dfp_api/v201611/workflow_request_service.rb +46 -0
  393. data/lib/dfp_api/v201611/workflow_request_service_registry.rb +45 -0
  394. data/lib/dfp_api/version.rb +1 -1
  395. data/test/bugs/test_issue_00000007.rb +113 -0
  396. data/test/bugs/test_issue_00000081.rb +5 -3
  397. data/test/dfp_api/test_credential_handler.rb +62 -0
  398. data/test/dfp_api/test_dfp_api.rb +2 -2
  399. metadata +203 -845
  400. data/examples/v201508/activity_group_service/create_activity_groups.rb +0 -90
  401. data/examples/v201508/activity_group_service/get_active_activity_groups.rb +0 -87
  402. data/examples/v201508/activity_group_service/get_all_activity_groups.rb +0 -81
  403. data/examples/v201508/activity_group_service/update_activity_groups.rb +0 -94
  404. data/examples/v201508/activity_service/create_activities.rb +0 -87
  405. data/examples/v201508/activity_service/get_active_activities.rb +0 -87
  406. data/examples/v201508/activity_service/get_all_activities.rb +0 -81
  407. data/examples/v201508/activity_service/update_activities.rb +0 -96
  408. data/examples/v201508/audience_segment_service/create_audience_segments.rb +0 -114
  409. data/examples/v201508/audience_segment_service/get_all_audience_segments.rb +0 -81
  410. data/examples/v201508/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  411. data/examples/v201508/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  412. data/examples/v201508/audience_segment_service/update_audience_segments.rb +0 -94
  413. data/examples/v201508/common/error_handling.rb +0 -72
  414. data/examples/v201508/common/oauth2_jwt_handling.rb +0 -99
  415. data/examples/v201508/common/setup_oauth2.rb +0 -85
  416. data/examples/v201508/company_service/create_companies.rb +0 -78
  417. data/examples/v201508/company_service/get_all_companies.rb +0 -80
  418. data/examples/v201508/company_service/get_companies_by_statement.rb +0 -89
  419. data/examples/v201508/company_service/update_companies.rb +0 -104
  420. data/examples/v201508/contact_service/create_contacts.rb +0 -91
  421. data/examples/v201508/contact_service/get_all_contacts.rb +0 -80
  422. data/examples/v201508/contact_service/get_uninvited_contacts.rb +0 -94
  423. data/examples/v201508/contact_service/update_contacts.rb +0 -96
  424. data/examples/v201508/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  425. data/examples/v201508/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  426. data/examples/v201508/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  427. data/examples/v201508/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  428. data/examples/v201508/content_service/get_all_content.rb +0 -81
  429. data/examples/v201508/content_service/get_content_by_category.rb +0 -127
  430. data/examples/v201508/creative_service/copy_image_creatives.rb +0 -111
  431. data/examples/v201508/creative_service/create_creative_from_template.rb +0 -135
  432. data/examples/v201508/creative_service/create_creatives.rb +0 -108
  433. data/examples/v201508/creative_service/create_custom_creative.rb +0 -100
  434. data/examples/v201508/creative_service/create_native_creative.rb +0 -185
  435. data/examples/v201508/creative_service/get_all_creatives.rb +0 -80
  436. data/examples/v201508/creative_service/get_creatives_by_statement.rb +0 -88
  437. data/examples/v201508/creative_service/update_creatives.rb +0 -97
  438. data/examples/v201508/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  439. data/examples/v201508/creative_set_service/create_creative_set.rb +0 -79
  440. data/examples/v201508/creative_set_service/get_all_creative_sets.rb +0 -82
  441. data/examples/v201508/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  442. data/examples/v201508/creative_set_service/update_creative_sets.rb +0 -98
  443. data/examples/v201508/creative_template_service/get_all_creative_templates.rb +0 -82
  444. data/examples/v201508/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  445. data/examples/v201508/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  446. data/examples/v201508/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  447. data/examples/v201508/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  448. data/examples/v201508/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  449. data/examples/v201508/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  450. data/examples/v201508/custom_field_service/create_custom_field_options.rb +0 -83
  451. data/examples/v201508/custom_field_service/create_custom_fields.rb +0 -82
  452. data/examples/v201508/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  453. data/examples/v201508/custom_field_service/get_all_custom_fields.rb +0 -90
  454. data/examples/v201508/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  455. data/examples/v201508/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  456. data/examples/v201508/custom_field_service/update_custom_fields.rb +0 -98
  457. data/examples/v201508/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  458. data/examples/v201508/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  459. data/examples/v201508/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  460. data/examples/v201508/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  461. data/examples/v201508/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  462. data/examples/v201508/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  463. data/examples/v201508/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  464. data/examples/v201508/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  465. data/examples/v201508/forecast_service/get_availability_forecast.rb +0 -134
  466. data/examples/v201508/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  467. data/examples/v201508/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  468. data/examples/v201508/inventory_service/create_ad_units.rb +0 -97
  469. data/examples/v201508/inventory_service/create_mobile_ad_unit.rb +0 -97
  470. data/examples/v201508/inventory_service/create_video_ad_unit.rb +0 -104
  471. data/examples/v201508/inventory_service/deactivate_ad_units.rb +0 -110
  472. data/examples/v201508/inventory_service/get_ad_unit_sizes.rb +0 -74
  473. data/examples/v201508/inventory_service/get_ad_units_by_statement.rb +0 -97
  474. data/examples/v201508/inventory_service/get_all_ad_units.rb +0 -80
  475. data/examples/v201508/inventory_service/update_ad_units.rb +0 -105
  476. data/examples/v201508/label_service/create_labels.rb +0 -79
  477. data/examples/v201508/label_service/deactivate_labels.rb +0 -107
  478. data/examples/v201508/label_service/get_all_labels.rb +0 -82
  479. data/examples/v201508/label_service/get_labels_by_statement.rb +0 -82
  480. data/examples/v201508/label_service/update_labels.rb +0 -96
  481. data/examples/v201508/line_item_creative_association_service/create_licas.rb +0 -90
  482. data/examples/v201508/line_item_creative_association_service/deactivate_licas.rb +0 -113
  483. data/examples/v201508/line_item_creative_association_service/get_all_licas.rb +0 -85
  484. data/examples/v201508/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  485. data/examples/v201508/line_item_creative_association_service/update_licas.rb +0 -96
  486. data/examples/v201508/line_item_service/activate_line_items.rb +0 -118
  487. data/examples/v201508/line_item_service/create_line_items.rb +0 -182
  488. data/examples/v201508/line_item_service/create_video_line_item.rb +0 -164
  489. data/examples/v201508/line_item_service/get_all_line_items.rb +0 -82
  490. data/examples/v201508/line_item_service/get_line_items_by_statement.rb +0 -91
  491. data/examples/v201508/line_item_service/get_recently_updated_line_items.rb +0 -100
  492. data/examples/v201508/line_item_service/target_custom_criteria.rb +0 -140
  493. data/examples/v201508/line_item_service/update_line_items.rb +0 -106
  494. data/examples/v201508/network_service/get_all_networks.rb +0 -70
  495. data/examples/v201508/network_service/get_current_network.rb +0 -62
  496. data/examples/v201508/network_service/make_test_network.rb +0 -75
  497. data/examples/v201508/order_service/approve_orders.rb +0 -110
  498. data/examples/v201508/order_service/create_orders.rb +0 -88
  499. data/examples/v201508/order_service/get_all_orders.rb +0 -80
  500. data/examples/v201508/order_service/get_orders_by_statement.rb +0 -90
  501. data/examples/v201508/order_service/update_orders.rb +0 -101
  502. data/examples/v201508/placement_service/create_placements.rb +0 -128
  503. data/examples/v201508/placement_service/deactivate_placements.rb +0 -106
  504. data/examples/v201508/placement_service/get_all_placements.rb +0 -81
  505. data/examples/v201508/placement_service/get_placements_by_statement.rb +0 -87
  506. data/examples/v201508/placement_service/update_placements.rb +0 -102
  507. data/examples/v201508/publisher_query_language_service/fetch_match_tables.rb +0 -107
  508. data/examples/v201508/publisher_query_language_service/get_all_line_items.rb +0 -95
  509. data/examples/v201508/publisher_query_language_service/get_geo_targets.rb +0 -98
  510. data/examples/v201508/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  511. data/examples/v201508/report_service/display_report.rb +0 -77
  512. data/examples/v201508/report_service/download_report.rb +0 -77
  513. data/examples/v201508/report_service/run_delivery_report.rb +0 -111
  514. data/examples/v201508/report_service/run_inventory_report.rb +0 -109
  515. data/examples/v201508/report_service/run_reach_report.rb +0 -85
  516. data/examples/v201508/report_service/run_report_with_custom_fields.rb +0 -89
  517. data/examples/v201508/report_service/run_sales_report.rb +0 -89
  518. data/examples/v201508/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  519. data/examples/v201508/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  520. data/examples/v201508/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  521. data/examples/v201508/team_service/create_teams.rb +0 -79
  522. data/examples/v201508/team_service/get_all_teams.rb +0 -79
  523. data/examples/v201508/team_service/get_teams_by_statement.rb +0 -78
  524. data/examples/v201508/team_service/update_teams.rb +0 -94
  525. data/examples/v201508/user_service/create_users.rb +0 -85
  526. data/examples/v201508/user_service/deactivate_users.rb +0 -94
  527. data/examples/v201508/user_service/get_all_roles.rb +0 -69
  528. data/examples/v201508/user_service/get_all_users.rb +0 -79
  529. data/examples/v201508/user_service/get_current_user.rb +0 -62
  530. data/examples/v201508/user_service/get_users_by_statement.rb +0 -80
  531. data/examples/v201508/user_service/update_users.rb +0 -94
  532. data/examples/v201508/user_team_association_service/create_user_team_associations.rb +0 -82
  533. data/examples/v201508/user_team_association_service/delete_user_team_associations.rb +0 -98
  534. data/examples/v201508/user_team_association_service/get_all_user_team_associations.rb +0 -83
  535. data/examples/v201508/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  536. data/examples/v201508/user_team_association_service/update_user_team_associations.rb +0 -98
  537. data/examples/v201511/activity_group_service/create_activity_groups.rb +0 -90
  538. data/examples/v201511/activity_group_service/get_active_activity_groups.rb +0 -87
  539. data/examples/v201511/activity_group_service/get_all_activity_groups.rb +0 -81
  540. data/examples/v201511/activity_group_service/update_activity_groups.rb +0 -94
  541. data/examples/v201511/activity_service/create_activities.rb +0 -87
  542. data/examples/v201511/activity_service/get_active_activities.rb +0 -87
  543. data/examples/v201511/activity_service/get_all_activities.rb +0 -81
  544. data/examples/v201511/activity_service/update_activities.rb +0 -96
  545. data/examples/v201511/audience_segment_service/create_audience_segments.rb +0 -114
  546. data/examples/v201511/audience_segment_service/get_all_audience_segments.rb +0 -81
  547. data/examples/v201511/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  548. data/examples/v201511/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  549. data/examples/v201511/audience_segment_service/update_audience_segments.rb +0 -94
  550. data/examples/v201511/common/error_handling.rb +0 -72
  551. data/examples/v201511/common/oauth2_jwt_handling.rb +0 -99
  552. data/examples/v201511/common/setup_oauth2.rb +0 -85
  553. data/examples/v201511/company_service/create_companies.rb +0 -78
  554. data/examples/v201511/company_service/get_all_companies.rb +0 -80
  555. data/examples/v201511/company_service/get_companies_by_statement.rb +0 -89
  556. data/examples/v201511/company_service/update_companies.rb +0 -104
  557. data/examples/v201511/contact_service/create_contacts.rb +0 -91
  558. data/examples/v201511/contact_service/get_all_contacts.rb +0 -80
  559. data/examples/v201511/contact_service/get_uninvited_contacts.rb +0 -94
  560. data/examples/v201511/contact_service/update_contacts.rb +0 -96
  561. data/examples/v201511/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  562. data/examples/v201511/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  563. data/examples/v201511/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  564. data/examples/v201511/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  565. data/examples/v201511/content_service/get_all_content.rb +0 -81
  566. data/examples/v201511/content_service/get_content_by_category.rb +0 -127
  567. data/examples/v201511/creative_service/copy_image_creatives.rb +0 -111
  568. data/examples/v201511/creative_service/create_creative_from_template.rb +0 -135
  569. data/examples/v201511/creative_service/create_creatives.rb +0 -108
  570. data/examples/v201511/creative_service/create_custom_creative.rb +0 -103
  571. data/examples/v201511/creative_service/create_native_creative.rb +0 -189
  572. data/examples/v201511/creative_service/get_all_creatives.rb +0 -80
  573. data/examples/v201511/creative_service/get_creatives_by_statement.rb +0 -88
  574. data/examples/v201511/creative_service/update_creatives.rb +0 -97
  575. data/examples/v201511/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  576. data/examples/v201511/creative_set_service/create_creative_set.rb +0 -79
  577. data/examples/v201511/creative_set_service/get_all_creative_sets.rb +0 -82
  578. data/examples/v201511/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  579. data/examples/v201511/creative_set_service/update_creative_sets.rb +0 -98
  580. data/examples/v201511/creative_template_service/get_all_creative_templates.rb +0 -82
  581. data/examples/v201511/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  582. data/examples/v201511/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  583. data/examples/v201511/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  584. data/examples/v201511/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  585. data/examples/v201511/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  586. data/examples/v201511/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  587. data/examples/v201511/custom_field_service/create_custom_field_options.rb +0 -83
  588. data/examples/v201511/custom_field_service/create_custom_fields.rb +0 -82
  589. data/examples/v201511/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  590. data/examples/v201511/custom_field_service/get_all_custom_fields.rb +0 -90
  591. data/examples/v201511/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  592. data/examples/v201511/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  593. data/examples/v201511/custom_field_service/update_custom_fields.rb +0 -98
  594. data/examples/v201511/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  595. data/examples/v201511/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  596. data/examples/v201511/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  597. data/examples/v201511/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  598. data/examples/v201511/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  599. data/examples/v201511/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  600. data/examples/v201511/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  601. data/examples/v201511/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  602. data/examples/v201511/forecast_service/get_availability_forecast.rb +0 -134
  603. data/examples/v201511/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  604. data/examples/v201511/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  605. data/examples/v201511/inventory_service/create_ad_units.rb +0 -97
  606. data/examples/v201511/inventory_service/create_mobile_ad_unit.rb +0 -97
  607. data/examples/v201511/inventory_service/create_video_ad_unit.rb +0 -104
  608. data/examples/v201511/inventory_service/deactivate_ad_units.rb +0 -110
  609. data/examples/v201511/inventory_service/get_ad_unit_sizes.rb +0 -74
  610. data/examples/v201511/inventory_service/get_ad_units_by_statement.rb +0 -97
  611. data/examples/v201511/inventory_service/get_all_ad_units.rb +0 -80
  612. data/examples/v201511/inventory_service/update_ad_units.rb +0 -105
  613. data/examples/v201511/label_service/create_labels.rb +0 -79
  614. data/examples/v201511/label_service/deactivate_labels.rb +0 -107
  615. data/examples/v201511/label_service/get_all_labels.rb +0 -82
  616. data/examples/v201511/label_service/get_labels_by_statement.rb +0 -82
  617. data/examples/v201511/label_service/update_labels.rb +0 -96
  618. data/examples/v201511/line_item_creative_association_service/create_licas.rb +0 -90
  619. data/examples/v201511/line_item_creative_association_service/deactivate_licas.rb +0 -113
  620. data/examples/v201511/line_item_creative_association_service/get_all_licas.rb +0 -85
  621. data/examples/v201511/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  622. data/examples/v201511/line_item_creative_association_service/update_licas.rb +0 -96
  623. data/examples/v201511/line_item_service/activate_line_items.rb +0 -118
  624. data/examples/v201511/line_item_service/create_line_items.rb +0 -182
  625. data/examples/v201511/line_item_service/create_video_line_item.rb +0 -164
  626. data/examples/v201511/line_item_service/get_all_line_items.rb +0 -82
  627. data/examples/v201511/line_item_service/get_line_items_by_statement.rb +0 -91
  628. data/examples/v201511/line_item_service/get_recently_updated_line_items.rb +0 -100
  629. data/examples/v201511/line_item_service/target_custom_criteria.rb +0 -140
  630. data/examples/v201511/line_item_service/update_line_items.rb +0 -106
  631. data/examples/v201511/network_service/get_all_networks.rb +0 -70
  632. data/examples/v201511/network_service/get_current_network.rb +0 -62
  633. data/examples/v201511/network_service/make_test_network.rb +0 -75
  634. data/examples/v201511/order_service/approve_orders.rb +0 -110
  635. data/examples/v201511/order_service/create_orders.rb +0 -88
  636. data/examples/v201511/order_service/get_all_orders.rb +0 -80
  637. data/examples/v201511/order_service/get_orders_by_statement.rb +0 -90
  638. data/examples/v201511/order_service/update_orders.rb +0 -101
  639. data/examples/v201511/placement_service/create_placements.rb +0 -128
  640. data/examples/v201511/placement_service/deactivate_placements.rb +0 -106
  641. data/examples/v201511/placement_service/get_all_placements.rb +0 -81
  642. data/examples/v201511/placement_service/get_placements_by_statement.rb +0 -87
  643. data/examples/v201511/placement_service/update_placements.rb +0 -102
  644. data/examples/v201511/publisher_query_language_service/fetch_match_tables.rb +0 -107
  645. data/examples/v201511/publisher_query_language_service/get_all_line_items.rb +0 -95
  646. data/examples/v201511/publisher_query_language_service/get_geo_targets.rb +0 -98
  647. data/examples/v201511/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  648. data/examples/v201511/report_service/display_report.rb +0 -77
  649. data/examples/v201511/report_service/download_report.rb +0 -77
  650. data/examples/v201511/report_service/run_delivery_report.rb +0 -111
  651. data/examples/v201511/report_service/run_inventory_report.rb +0 -109
  652. data/examples/v201511/report_service/run_reach_report.rb +0 -85
  653. data/examples/v201511/report_service/run_report_with_custom_fields.rb +0 -89
  654. data/examples/v201511/report_service/run_sales_report.rb +0 -89
  655. data/examples/v201511/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  656. data/examples/v201511/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  657. data/examples/v201511/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  658. data/examples/v201511/team_service/create_teams.rb +0 -79
  659. data/examples/v201511/team_service/get_all_teams.rb +0 -79
  660. data/examples/v201511/team_service/get_teams_by_statement.rb +0 -78
  661. data/examples/v201511/team_service/update_teams.rb +0 -94
  662. data/examples/v201511/user_service/create_users.rb +0 -85
  663. data/examples/v201511/user_service/deactivate_users.rb +0 -94
  664. data/examples/v201511/user_service/get_all_roles.rb +0 -69
  665. data/examples/v201511/user_service/get_all_users.rb +0 -79
  666. data/examples/v201511/user_service/get_current_user.rb +0 -62
  667. data/examples/v201511/user_service/get_users_by_statement.rb +0 -80
  668. data/examples/v201511/user_service/update_users.rb +0 -94
  669. data/examples/v201511/user_team_association_service/create_user_team_associations.rb +0 -82
  670. data/examples/v201511/user_team_association_service/delete_user_team_associations.rb +0 -98
  671. data/examples/v201511/user_team_association_service/get_all_user_team_associations.rb +0 -83
  672. data/examples/v201511/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  673. data/examples/v201511/user_team_association_service/update_user_team_associations.rb +0 -98
  674. data/examples/v201602/activity_group_service/create_activity_groups.rb +0 -90
  675. data/examples/v201602/activity_group_service/get_active_activity_groups.rb +0 -87
  676. data/examples/v201602/activity_group_service/get_all_activity_groups.rb +0 -81
  677. data/examples/v201602/activity_group_service/update_activity_groups.rb +0 -94
  678. data/examples/v201602/activity_service/create_activities.rb +0 -87
  679. data/examples/v201602/activity_service/get_active_activities.rb +0 -87
  680. data/examples/v201602/activity_service/get_all_activities.rb +0 -81
  681. data/examples/v201602/activity_service/update_activities.rb +0 -96
  682. data/examples/v201602/audience_segment_service/create_audience_segments.rb +0 -114
  683. data/examples/v201602/audience_segment_service/get_all_audience_segments.rb +0 -81
  684. data/examples/v201602/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  685. data/examples/v201602/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  686. data/examples/v201602/audience_segment_service/update_audience_segments.rb +0 -94
  687. data/examples/v201602/common/error_handling.rb +0 -72
  688. data/examples/v201602/common/oauth2_jwt_handling.rb +0 -99
  689. data/examples/v201602/common/setup_oauth2.rb +0 -85
  690. data/examples/v201602/company_service/create_companies.rb +0 -78
  691. data/examples/v201602/company_service/get_all_companies.rb +0 -80
  692. data/examples/v201602/company_service/get_companies_by_statement.rb +0 -89
  693. data/examples/v201602/company_service/update_companies.rb +0 -104
  694. data/examples/v201602/contact_service/create_contacts.rb +0 -91
  695. data/examples/v201602/contact_service/get_all_contacts.rb +0 -80
  696. data/examples/v201602/contact_service/get_uninvited_contacts.rb +0 -94
  697. data/examples/v201602/contact_service/update_contacts.rb +0 -96
  698. data/examples/v201602/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  699. data/examples/v201602/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  700. data/examples/v201602/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  701. data/examples/v201602/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  702. data/examples/v201602/content_service/get_all_content.rb +0 -81
  703. data/examples/v201602/content_service/get_content_by_category.rb +0 -127
  704. data/examples/v201602/creative_service/copy_image_creatives.rb +0 -111
  705. data/examples/v201602/creative_service/create_creative_from_template.rb +0 -135
  706. data/examples/v201602/creative_service/create_creatives.rb +0 -108
  707. data/examples/v201602/creative_service/create_custom_creative.rb +0 -103
  708. data/examples/v201602/creative_service/create_native_creative.rb +0 -189
  709. data/examples/v201602/creative_service/get_all_creatives.rb +0 -80
  710. data/examples/v201602/creative_service/get_creatives_by_statement.rb +0 -88
  711. data/examples/v201602/creative_service/update_creatives.rb +0 -97
  712. data/examples/v201602/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  713. data/examples/v201602/creative_set_service/create_creative_set.rb +0 -79
  714. data/examples/v201602/creative_set_service/get_all_creative_sets.rb +0 -82
  715. data/examples/v201602/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  716. data/examples/v201602/creative_set_service/update_creative_sets.rb +0 -98
  717. data/examples/v201602/creative_template_service/get_all_creative_templates.rb +0 -82
  718. data/examples/v201602/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  719. data/examples/v201602/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  720. data/examples/v201602/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  721. data/examples/v201602/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  722. data/examples/v201602/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  723. data/examples/v201602/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  724. data/examples/v201602/custom_field_service/create_custom_field_options.rb +0 -83
  725. data/examples/v201602/custom_field_service/create_custom_fields.rb +0 -82
  726. data/examples/v201602/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  727. data/examples/v201602/custom_field_service/get_all_custom_fields.rb +0 -90
  728. data/examples/v201602/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  729. data/examples/v201602/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  730. data/examples/v201602/custom_field_service/update_custom_fields.rb +0 -98
  731. data/examples/v201602/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  732. data/examples/v201602/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  733. data/examples/v201602/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  734. data/examples/v201602/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  735. data/examples/v201602/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  736. data/examples/v201602/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  737. data/examples/v201602/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  738. data/examples/v201602/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  739. data/examples/v201602/forecast_service/get_availability_forecast.rb +0 -134
  740. data/examples/v201602/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  741. data/examples/v201602/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  742. data/examples/v201602/inventory_service/create_ad_units.rb +0 -97
  743. data/examples/v201602/inventory_service/create_video_ad_unit.rb +0 -103
  744. data/examples/v201602/inventory_service/deactivate_ad_units.rb +0 -110
  745. data/examples/v201602/inventory_service/get_ad_unit_sizes.rb +0 -74
  746. data/examples/v201602/inventory_service/get_ad_units_by_statement.rb +0 -97
  747. data/examples/v201602/inventory_service/get_all_ad_units.rb +0 -80
  748. data/examples/v201602/inventory_service/update_ad_units.rb +0 -105
  749. data/examples/v201602/label_service/create_labels.rb +0 -79
  750. data/examples/v201602/label_service/deactivate_labels.rb +0 -107
  751. data/examples/v201602/label_service/get_all_labels.rb +0 -82
  752. data/examples/v201602/label_service/get_labels_by_statement.rb +0 -82
  753. data/examples/v201602/label_service/update_labels.rb +0 -96
  754. data/examples/v201602/line_item_creative_association_service/create_licas.rb +0 -90
  755. data/examples/v201602/line_item_creative_association_service/deactivate_licas.rb +0 -113
  756. data/examples/v201602/line_item_creative_association_service/get_all_licas.rb +0 -85
  757. data/examples/v201602/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  758. data/examples/v201602/line_item_creative_association_service/update_licas.rb +0 -96
  759. data/examples/v201602/line_item_service/activate_line_items.rb +0 -118
  760. data/examples/v201602/line_item_service/create_line_items.rb +0 -182
  761. data/examples/v201602/line_item_service/create_video_line_item.rb +0 -164
  762. data/examples/v201602/line_item_service/get_all_line_items.rb +0 -82
  763. data/examples/v201602/line_item_service/get_line_items_by_statement.rb +0 -91
  764. data/examples/v201602/line_item_service/get_recently_updated_line_items.rb +0 -100
  765. data/examples/v201602/line_item_service/target_custom_criteria.rb +0 -140
  766. data/examples/v201602/line_item_service/update_line_items.rb +0 -106
  767. data/examples/v201602/network_service/get_all_networks.rb +0 -70
  768. data/examples/v201602/network_service/get_current_network.rb +0 -62
  769. data/examples/v201602/network_service/make_test_network.rb +0 -75
  770. data/examples/v201602/order_service/approve_orders.rb +0 -110
  771. data/examples/v201602/order_service/create_orders.rb +0 -88
  772. data/examples/v201602/order_service/get_all_orders.rb +0 -80
  773. data/examples/v201602/order_service/get_orders_by_statement.rb +0 -90
  774. data/examples/v201602/order_service/update_orders.rb +0 -101
  775. data/examples/v201602/placement_service/create_placements.rb +0 -128
  776. data/examples/v201602/placement_service/deactivate_placements.rb +0 -106
  777. data/examples/v201602/placement_service/get_all_placements.rb +0 -81
  778. data/examples/v201602/placement_service/get_placements_by_statement.rb +0 -87
  779. data/examples/v201602/placement_service/update_placements.rb +0 -102
  780. data/examples/v201602/publisher_query_language_service/fetch_match_tables.rb +0 -107
  781. data/examples/v201602/publisher_query_language_service/get_all_line_items.rb +0 -95
  782. data/examples/v201602/publisher_query_language_service/get_geo_targets.rb +0 -98
  783. data/examples/v201602/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  784. data/examples/v201602/report_service/display_report.rb +0 -77
  785. data/examples/v201602/report_service/download_report.rb +0 -77
  786. data/examples/v201602/report_service/run_delivery_report.rb +0 -111
  787. data/examples/v201602/report_service/run_inventory_report.rb +0 -109
  788. data/examples/v201602/report_service/run_reach_report.rb +0 -85
  789. data/examples/v201602/report_service/run_report_with_custom_fields.rb +0 -89
  790. data/examples/v201602/report_service/run_sales_report.rb +0 -89
  791. data/examples/v201602/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  792. data/examples/v201602/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  793. data/examples/v201602/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  794. data/examples/v201602/team_service/create_teams.rb +0 -79
  795. data/examples/v201602/team_service/get_all_teams.rb +0 -79
  796. data/examples/v201602/team_service/get_teams_by_statement.rb +0 -78
  797. data/examples/v201602/team_service/update_teams.rb +0 -94
  798. data/examples/v201602/user_service/create_users.rb +0 -85
  799. data/examples/v201602/user_service/deactivate_users.rb +0 -94
  800. data/examples/v201602/user_service/get_all_roles.rb +0 -69
  801. data/examples/v201602/user_service/get_all_users.rb +0 -79
  802. data/examples/v201602/user_service/get_current_user.rb +0 -62
  803. data/examples/v201602/user_service/get_users_by_statement.rb +0 -80
  804. data/examples/v201602/user_service/update_users.rb +0 -94
  805. data/examples/v201602/user_team_association_service/create_user_team_associations.rb +0 -82
  806. data/examples/v201602/user_team_association_service/delete_user_team_associations.rb +0 -98
  807. data/examples/v201602/user_team_association_service/get_all_user_team_associations.rb +0 -83
  808. data/examples/v201602/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  809. data/examples/v201602/user_team_association_service/update_user_team_associations.rb +0 -98
  810. data/examples/v201605/activity_group_service/create_activity_groups.rb +0 -90
  811. data/examples/v201605/activity_group_service/get_active_activity_groups.rb +0 -87
  812. data/examples/v201605/activity_group_service/get_all_activity_groups.rb +0 -81
  813. data/examples/v201605/activity_group_service/update_activity_groups.rb +0 -94
  814. data/examples/v201605/activity_service/create_activities.rb +0 -87
  815. data/examples/v201605/activity_service/get_active_activities.rb +0 -87
  816. data/examples/v201605/activity_service/get_all_activities.rb +0 -81
  817. data/examples/v201605/activity_service/update_activities.rb +0 -96
  818. data/examples/v201605/audience_segment_service/create_audience_segments.rb +0 -114
  819. data/examples/v201605/audience_segment_service/get_all_audience_segments.rb +0 -81
  820. data/examples/v201605/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  821. data/examples/v201605/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  822. data/examples/v201605/audience_segment_service/update_audience_segments.rb +0 -94
  823. data/examples/v201605/common/error_handling.rb +0 -72
  824. data/examples/v201605/common/oauth2_jwt_handling.rb +0 -99
  825. data/examples/v201605/common/setup_oauth2.rb +0 -85
  826. data/examples/v201605/company_service/create_companies.rb +0 -78
  827. data/examples/v201605/company_service/get_all_companies.rb +0 -80
  828. data/examples/v201605/company_service/get_companies_by_statement.rb +0 -89
  829. data/examples/v201605/company_service/update_companies.rb +0 -104
  830. data/examples/v201605/contact_service/create_contacts.rb +0 -91
  831. data/examples/v201605/contact_service/get_all_contacts.rb +0 -80
  832. data/examples/v201605/contact_service/get_uninvited_contacts.rb +0 -94
  833. data/examples/v201605/contact_service/update_contacts.rb +0 -96
  834. data/examples/v201605/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  835. data/examples/v201605/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  836. data/examples/v201605/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  837. data/examples/v201605/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  838. data/examples/v201605/content_service/get_all_content.rb +0 -81
  839. data/examples/v201605/content_service/get_content_by_category.rb +0 -127
  840. data/examples/v201605/creative_service/copy_image_creatives.rb +0 -111
  841. data/examples/v201605/creative_service/create_creative_from_template.rb +0 -135
  842. data/examples/v201605/creative_service/create_creatives.rb +0 -108
  843. data/examples/v201605/creative_service/create_custom_creative.rb +0 -103
  844. data/examples/v201605/creative_service/create_native_creative.rb +0 -189
  845. data/examples/v201605/creative_service/get_all_creatives.rb +0 -80
  846. data/examples/v201605/creative_service/get_creatives_by_statement.rb +0 -88
  847. data/examples/v201605/creative_service/update_creatives.rb +0 -97
  848. data/examples/v201605/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  849. data/examples/v201605/creative_set_service/create_creative_set.rb +0 -79
  850. data/examples/v201605/creative_set_service/get_all_creative_sets.rb +0 -82
  851. data/examples/v201605/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  852. data/examples/v201605/creative_set_service/update_creative_sets.rb +0 -98
  853. data/examples/v201605/creative_template_service/get_all_creative_templates.rb +0 -82
  854. data/examples/v201605/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  855. data/examples/v201605/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  856. data/examples/v201605/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  857. data/examples/v201605/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  858. data/examples/v201605/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  859. data/examples/v201605/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  860. data/examples/v201605/custom_field_service/create_custom_field_options.rb +0 -83
  861. data/examples/v201605/custom_field_service/create_custom_fields.rb +0 -82
  862. data/examples/v201605/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  863. data/examples/v201605/custom_field_service/get_all_custom_fields.rb +0 -90
  864. data/examples/v201605/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  865. data/examples/v201605/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  866. data/examples/v201605/custom_field_service/update_custom_fields.rb +0 -98
  867. data/examples/v201605/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  868. data/examples/v201605/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  869. data/examples/v201605/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  870. data/examples/v201605/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  871. data/examples/v201605/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  872. data/examples/v201605/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  873. data/examples/v201605/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  874. data/examples/v201605/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  875. data/examples/v201605/forecast_service/get_availability_forecast.rb +0 -134
  876. data/examples/v201605/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  877. data/examples/v201605/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  878. data/examples/v201605/inventory_service/create_ad_units.rb +0 -97
  879. data/examples/v201605/inventory_service/create_video_ad_unit.rb +0 -103
  880. data/examples/v201605/inventory_service/deactivate_ad_units.rb +0 -110
  881. data/examples/v201605/inventory_service/get_ad_unit_sizes.rb +0 -74
  882. data/examples/v201605/inventory_service/get_ad_units_by_statement.rb +0 -97
  883. data/examples/v201605/inventory_service/get_all_ad_units.rb +0 -80
  884. data/examples/v201605/inventory_service/update_ad_units.rb +0 -105
  885. data/examples/v201605/label_service/create_labels.rb +0 -79
  886. data/examples/v201605/label_service/deactivate_labels.rb +0 -107
  887. data/examples/v201605/label_service/get_all_labels.rb +0 -82
  888. data/examples/v201605/label_service/get_labels_by_statement.rb +0 -82
  889. data/examples/v201605/label_service/update_labels.rb +0 -96
  890. data/examples/v201605/line_item_creative_association_service/create_licas.rb +0 -90
  891. data/examples/v201605/line_item_creative_association_service/deactivate_licas.rb +0 -113
  892. data/examples/v201605/line_item_creative_association_service/get_all_licas.rb +0 -85
  893. data/examples/v201605/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  894. data/examples/v201605/line_item_creative_association_service/update_licas.rb +0 -96
  895. data/examples/v201605/line_item_service/activate_line_items.rb +0 -118
  896. data/examples/v201605/line_item_service/create_line_items.rb +0 -182
  897. data/examples/v201605/line_item_service/create_video_line_item.rb +0 -164
  898. data/examples/v201605/line_item_service/get_all_line_items.rb +0 -82
  899. data/examples/v201605/line_item_service/get_line_items_by_statement.rb +0 -91
  900. data/examples/v201605/line_item_service/get_recently_updated_line_items.rb +0 -100
  901. data/examples/v201605/line_item_service/target_custom_criteria.rb +0 -140
  902. data/examples/v201605/line_item_service/update_line_items.rb +0 -106
  903. data/examples/v201605/network_service/get_all_networks.rb +0 -70
  904. data/examples/v201605/network_service/get_current_network.rb +0 -62
  905. data/examples/v201605/network_service/make_test_network.rb +0 -75
  906. data/examples/v201605/order_service/approve_orders.rb +0 -110
  907. data/examples/v201605/order_service/create_orders.rb +0 -88
  908. data/examples/v201605/order_service/get_all_orders.rb +0 -80
  909. data/examples/v201605/order_service/get_orders_by_statement.rb +0 -90
  910. data/examples/v201605/order_service/update_orders.rb +0 -101
  911. data/examples/v201605/placement_service/create_placements.rb +0 -128
  912. data/examples/v201605/placement_service/deactivate_placements.rb +0 -106
  913. data/examples/v201605/placement_service/get_all_placements.rb +0 -81
  914. data/examples/v201605/placement_service/get_placements_by_statement.rb +0 -87
  915. data/examples/v201605/placement_service/update_placements.rb +0 -102
  916. data/examples/v201605/publisher_query_language_service/fetch_match_tables.rb +0 -107
  917. data/examples/v201605/publisher_query_language_service/get_all_line_items.rb +0 -95
  918. data/examples/v201605/publisher_query_language_service/get_geo_targets.rb +0 -98
  919. data/examples/v201605/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  920. data/examples/v201605/report_service/display_report.rb +0 -77
  921. data/examples/v201605/report_service/download_report.rb +0 -77
  922. data/examples/v201605/report_service/run_delivery_report.rb +0 -111
  923. data/examples/v201605/report_service/run_inventory_report.rb +0 -109
  924. data/examples/v201605/report_service/run_reach_report.rb +0 -85
  925. data/examples/v201605/report_service/run_report_with_custom_fields.rb +0 -89
  926. data/examples/v201605/report_service/run_sales_report.rb +0 -89
  927. data/examples/v201605/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  928. data/examples/v201605/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  929. data/examples/v201605/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  930. data/examples/v201605/team_service/create_teams.rb +0 -79
  931. data/examples/v201605/team_service/get_all_teams.rb +0 -79
  932. data/examples/v201605/team_service/get_teams_by_statement.rb +0 -78
  933. data/examples/v201605/team_service/update_teams.rb +0 -94
  934. data/examples/v201605/user_service/create_users.rb +0 -85
  935. data/examples/v201605/user_service/deactivate_users.rb +0 -94
  936. data/examples/v201605/user_service/get_all_roles.rb +0 -69
  937. data/examples/v201605/user_service/get_all_users.rb +0 -79
  938. data/examples/v201605/user_service/get_current_user.rb +0 -62
  939. data/examples/v201605/user_service/get_users_by_statement.rb +0 -80
  940. data/examples/v201605/user_service/update_users.rb +0 -94
  941. data/examples/v201605/user_team_association_service/create_user_team_associations.rb +0 -82
  942. data/examples/v201605/user_team_association_service/delete_user_team_associations.rb +0 -98
  943. data/examples/v201605/user_team_association_service/get_all_user_team_associations.rb +0 -83
  944. data/examples/v201605/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  945. data/examples/v201605/user_team_association_service/update_user_team_associations.rb +0 -98
  946. data/lib/dfp_api/v201505/activity_group_service.rb +0 -54
  947. data/lib/dfp_api/v201505/activity_group_service_registry.rb +0 -45
  948. data/lib/dfp_api/v201505/activity_service.rb +0 -54
  949. data/lib/dfp_api/v201505/activity_service_registry.rb +0 -45
  950. data/lib/dfp_api/v201505/ad_exclusion_rule_service.rb +0 -62
  951. data/lib/dfp_api/v201505/ad_exclusion_rule_service_registry.rb +0 -45
  952. data/lib/dfp_api/v201505/ad_rule_service.rb +0 -62
  953. data/lib/dfp_api/v201505/ad_rule_service_registry.rb +0 -45
  954. data/lib/dfp_api/v201505/audience_segment_service.rb +0 -62
  955. data/lib/dfp_api/v201505/audience_segment_service_registry.rb +0 -45
  956. data/lib/dfp_api/v201505/base_rate_service.rb +0 -62
  957. data/lib/dfp_api/v201505/base_rate_service_registry.rb +0 -45
  958. data/lib/dfp_api/v201505/company_service.rb +0 -54
  959. data/lib/dfp_api/v201505/company_service_registry.rb +0 -45
  960. data/lib/dfp_api/v201505/contact_service.rb +0 -54
  961. data/lib/dfp_api/v201505/contact_service_registry.rb +0 -45
  962. data/lib/dfp_api/v201505/content_bundle_service.rb +0 -62
  963. data/lib/dfp_api/v201505/content_bundle_service_registry.rb +0 -45
  964. data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service.rb +0 -62
  965. data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service_registry.rb +0 -45
  966. data/lib/dfp_api/v201505/content_service.rb +0 -46
  967. data/lib/dfp_api/v201505/content_service_registry.rb +0 -45
  968. data/lib/dfp_api/v201505/creative_service.rb +0 -54
  969. data/lib/dfp_api/v201505/creative_service_registry.rb +0 -45
  970. data/lib/dfp_api/v201505/creative_set_service.rb +0 -54
  971. data/lib/dfp_api/v201505/creative_set_service_registry.rb +0 -45
  972. data/lib/dfp_api/v201505/creative_template_service.rb +0 -38
  973. data/lib/dfp_api/v201505/creative_template_service_registry.rb +0 -45
  974. data/lib/dfp_api/v201505/creative_wrapper_service.rb +0 -62
  975. data/lib/dfp_api/v201505/creative_wrapper_service_registry.rb +0 -45
  976. data/lib/dfp_api/v201505/custom_field_service.rb +0 -86
  977. data/lib/dfp_api/v201505/custom_field_service_registry.rb +0 -45
  978. data/lib/dfp_api/v201505/custom_targeting_service.rb +0 -94
  979. data/lib/dfp_api/v201505/custom_targeting_service_registry.rb +0 -45
  980. data/lib/dfp_api/v201505/exchange_rate_service.rb +0 -62
  981. data/lib/dfp_api/v201505/exchange_rate_service_registry.rb +0 -45
  982. data/lib/dfp_api/v201505/forecast_service.rb +0 -62
  983. data/lib/dfp_api/v201505/forecast_service_registry.rb +0 -45
  984. data/lib/dfp_api/v201505/inventory_service.rb +0 -70
  985. data/lib/dfp_api/v201505/inventory_service_registry.rb +0 -45
  986. data/lib/dfp_api/v201505/label_service.rb +0 -62
  987. data/lib/dfp_api/v201505/label_service_registry.rb +0 -45
  988. data/lib/dfp_api/v201505/line_item_creative_association_service.rb +0 -70
  989. data/lib/dfp_api/v201505/line_item_creative_association_service_registry.rb +0 -45
  990. data/lib/dfp_api/v201505/line_item_service.rb +0 -62
  991. data/lib/dfp_api/v201505/line_item_service_registry.rb +0 -45
  992. data/lib/dfp_api/v201505/line_item_template_service.rb +0 -38
  993. data/lib/dfp_api/v201505/line_item_template_service_registry.rb +0 -45
  994. data/lib/dfp_api/v201505/live_stream_event_service.rb +0 -62
  995. data/lib/dfp_api/v201505/live_stream_event_service_registry.rb +0 -45
  996. data/lib/dfp_api/v201505/network_service.rb +0 -62
  997. data/lib/dfp_api/v201505/network_service_registry.rb +0 -45
  998. data/lib/dfp_api/v201505/order_service.rb +0 -62
  999. data/lib/dfp_api/v201505/order_service_registry.rb +0 -45
  1000. data/lib/dfp_api/v201505/package_service.rb +0 -62
  1001. data/lib/dfp_api/v201505/package_service_registry.rb +0 -45
  1002. data/lib/dfp_api/v201505/placement_service.rb +0 -62
  1003. data/lib/dfp_api/v201505/placement_service_registry.rb +0 -45
  1004. data/lib/dfp_api/v201505/premium_rate_service.rb +0 -54
  1005. data/lib/dfp_api/v201505/premium_rate_service_registry.rb +0 -45
  1006. data/lib/dfp_api/v201505/product_package_item_service.rb +0 -62
  1007. data/lib/dfp_api/v201505/product_package_item_service_registry.rb +0 -45
  1008. data/lib/dfp_api/v201505/product_package_service.rb +0 -62
  1009. data/lib/dfp_api/v201505/product_package_service_registry.rb +0 -45
  1010. data/lib/dfp_api/v201505/product_service.rb +0 -54
  1011. data/lib/dfp_api/v201505/product_service_registry.rb +0 -45
  1012. data/lib/dfp_api/v201505/product_template_service.rb +0 -62
  1013. data/lib/dfp_api/v201505/product_template_service_registry.rb +0 -45
  1014. data/lib/dfp_api/v201505/proposal_line_item_service.rb +0 -62
  1015. data/lib/dfp_api/v201505/proposal_line_item_service_registry.rb +0 -45
  1016. data/lib/dfp_api/v201505/proposal_service.rb +0 -62
  1017. data/lib/dfp_api/v201505/proposal_service_registry.rb +0 -45
  1018. data/lib/dfp_api/v201505/publisher_query_language_service.rb +0 -38
  1019. data/lib/dfp_api/v201505/publisher_query_language_service_registry.rb +0 -45
  1020. data/lib/dfp_api/v201505/rate_card_service.rb +0 -62
  1021. data/lib/dfp_api/v201505/rate_card_service_registry.rb +0 -45
  1022. data/lib/dfp_api/v201505/reconciliation_order_report_service.rb +0 -46
  1023. data/lib/dfp_api/v201505/reconciliation_order_report_service_registry.rb +0 -45
  1024. data/lib/dfp_api/v201505/reconciliation_report_row_service.rb +0 -46
  1025. data/lib/dfp_api/v201505/reconciliation_report_row_service_registry.rb +0 -45
  1026. data/lib/dfp_api/v201505/reconciliation_report_service.rb +0 -46
  1027. data/lib/dfp_api/v201505/reconciliation_report_service_registry.rb +0 -45
  1028. data/lib/dfp_api/v201505/report_service.rb +0 -62
  1029. data/lib/dfp_api/v201505/report_service_registry.rb +0 -45
  1030. data/lib/dfp_api/v201505/shared_ad_unit_service.rb +0 -46
  1031. data/lib/dfp_api/v201505/shared_ad_unit_service_registry.rb +0 -45
  1032. data/lib/dfp_api/v201505/suggested_ad_unit_service.rb +0 -46
  1033. data/lib/dfp_api/v201505/suggested_ad_unit_service_registry.rb +0 -45
  1034. data/lib/dfp_api/v201505/team_service.rb +0 -54
  1035. data/lib/dfp_api/v201505/team_service_registry.rb +0 -45
  1036. data/lib/dfp_api/v201505/user_service.rb +0 -78
  1037. data/lib/dfp_api/v201505/user_service_registry.rb +0 -45
  1038. data/lib/dfp_api/v201505/user_team_association_service.rb +0 -62
  1039. data/lib/dfp_api/v201505/user_team_association_service_registry.rb +0 -45
  1040. data/lib/dfp_api/v201505/workflow_request_service.rb +0 -46
  1041. data/lib/dfp_api/v201505/workflow_request_service_registry.rb +0 -45
  1042. data/lib/dfp_api/v201508/activity_group_service.rb +0 -54
  1043. data/lib/dfp_api/v201508/activity_group_service_registry.rb +0 -45
  1044. data/lib/dfp_api/v201508/activity_service.rb +0 -54
  1045. data/lib/dfp_api/v201508/activity_service_registry.rb +0 -45
  1046. data/lib/dfp_api/v201508/ad_exclusion_rule_service.rb +0 -62
  1047. data/lib/dfp_api/v201508/ad_exclusion_rule_service_registry.rb +0 -45
  1048. data/lib/dfp_api/v201508/ad_rule_service.rb +0 -62
  1049. data/lib/dfp_api/v201508/ad_rule_service_registry.rb +0 -45
  1050. data/lib/dfp_api/v201508/audience_segment_service.rb +0 -62
  1051. data/lib/dfp_api/v201508/audience_segment_service_registry.rb +0 -45
  1052. data/lib/dfp_api/v201508/base_rate_service.rb +0 -62
  1053. data/lib/dfp_api/v201508/base_rate_service_registry.rb +0 -45
  1054. data/lib/dfp_api/v201508/company_service.rb +0 -54
  1055. data/lib/dfp_api/v201508/company_service_registry.rb +0 -45
  1056. data/lib/dfp_api/v201508/contact_service.rb +0 -54
  1057. data/lib/dfp_api/v201508/contact_service_registry.rb +0 -45
  1058. data/lib/dfp_api/v201508/content_bundle_service.rb +0 -62
  1059. data/lib/dfp_api/v201508/content_bundle_service_registry.rb +0 -45
  1060. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service.rb +0 -62
  1061. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service_registry.rb +0 -45
  1062. data/lib/dfp_api/v201508/content_service.rb +0 -46
  1063. data/lib/dfp_api/v201508/content_service_registry.rb +0 -45
  1064. data/lib/dfp_api/v201508/creative_service.rb +0 -54
  1065. data/lib/dfp_api/v201508/creative_service_registry.rb +0 -45
  1066. data/lib/dfp_api/v201508/creative_set_service.rb +0 -54
  1067. data/lib/dfp_api/v201508/creative_set_service_registry.rb +0 -45
  1068. data/lib/dfp_api/v201508/creative_template_service.rb +0 -38
  1069. data/lib/dfp_api/v201508/creative_template_service_registry.rb +0 -45
  1070. data/lib/dfp_api/v201508/creative_wrapper_service.rb +0 -62
  1071. data/lib/dfp_api/v201508/creative_wrapper_service_registry.rb +0 -45
  1072. data/lib/dfp_api/v201508/custom_field_service.rb +0 -86
  1073. data/lib/dfp_api/v201508/custom_field_service_registry.rb +0 -45
  1074. data/lib/dfp_api/v201508/custom_targeting_service.rb +0 -94
  1075. data/lib/dfp_api/v201508/custom_targeting_service_registry.rb +0 -45
  1076. data/lib/dfp_api/v201508/exchange_rate_service.rb +0 -62
  1077. data/lib/dfp_api/v201508/exchange_rate_service_registry.rb +0 -45
  1078. data/lib/dfp_api/v201508/forecast_service.rb +0 -62
  1079. data/lib/dfp_api/v201508/forecast_service_registry.rb +0 -45
  1080. data/lib/dfp_api/v201508/inventory_service.rb +0 -70
  1081. data/lib/dfp_api/v201508/inventory_service_registry.rb +0 -45
  1082. data/lib/dfp_api/v201508/label_service.rb +0 -62
  1083. data/lib/dfp_api/v201508/label_service_registry.rb +0 -45
  1084. data/lib/dfp_api/v201508/line_item_creative_association_service.rb +0 -70
  1085. data/lib/dfp_api/v201508/line_item_creative_association_service_registry.rb +0 -45
  1086. data/lib/dfp_api/v201508/line_item_service.rb +0 -62
  1087. data/lib/dfp_api/v201508/line_item_service_registry.rb +0 -45
  1088. data/lib/dfp_api/v201508/line_item_template_service.rb +0 -38
  1089. data/lib/dfp_api/v201508/line_item_template_service_registry.rb +0 -45
  1090. data/lib/dfp_api/v201508/live_stream_event_service.rb +0 -62
  1091. data/lib/dfp_api/v201508/live_stream_event_service_registry.rb +0 -45
  1092. data/lib/dfp_api/v201508/network_service.rb +0 -62
  1093. data/lib/dfp_api/v201508/network_service_registry.rb +0 -45
  1094. data/lib/dfp_api/v201508/order_service.rb +0 -62
  1095. data/lib/dfp_api/v201508/order_service_registry.rb +0 -45
  1096. data/lib/dfp_api/v201508/package_service.rb +0 -62
  1097. data/lib/dfp_api/v201508/package_service_registry.rb +0 -45
  1098. data/lib/dfp_api/v201508/placement_service.rb +0 -62
  1099. data/lib/dfp_api/v201508/placement_service_registry.rb +0 -45
  1100. data/lib/dfp_api/v201508/premium_rate_service.rb +0 -54
  1101. data/lib/dfp_api/v201508/premium_rate_service_registry.rb +0 -45
  1102. data/lib/dfp_api/v201508/product_package_item_service.rb +0 -62
  1103. data/lib/dfp_api/v201508/product_package_item_service_registry.rb +0 -45
  1104. data/lib/dfp_api/v201508/product_package_service.rb +0 -62
  1105. data/lib/dfp_api/v201508/product_package_service_registry.rb +0 -45
  1106. data/lib/dfp_api/v201508/product_service.rb +0 -54
  1107. data/lib/dfp_api/v201508/product_service_registry.rb +0 -45
  1108. data/lib/dfp_api/v201508/product_template_service.rb +0 -62
  1109. data/lib/dfp_api/v201508/product_template_service_registry.rb +0 -45
  1110. data/lib/dfp_api/v201508/proposal_line_item_service.rb +0 -62
  1111. data/lib/dfp_api/v201508/proposal_line_item_service_registry.rb +0 -45
  1112. data/lib/dfp_api/v201508/proposal_service.rb +0 -62
  1113. data/lib/dfp_api/v201508/proposal_service_registry.rb +0 -45
  1114. data/lib/dfp_api/v201508/publisher_query_language_service.rb +0 -38
  1115. data/lib/dfp_api/v201508/publisher_query_language_service_registry.rb +0 -45
  1116. data/lib/dfp_api/v201508/rate_card_service.rb +0 -62
  1117. data/lib/dfp_api/v201508/rate_card_service_registry.rb +0 -45
  1118. data/lib/dfp_api/v201508/reconciliation_line_item_report_service.rb +0 -46
  1119. data/lib/dfp_api/v201508/reconciliation_line_item_report_service_registry.rb +0 -45
  1120. data/lib/dfp_api/v201508/reconciliation_order_report_service.rb +0 -54
  1121. data/lib/dfp_api/v201508/reconciliation_order_report_service_registry.rb +0 -45
  1122. data/lib/dfp_api/v201508/reconciliation_report_row_service.rb +0 -46
  1123. data/lib/dfp_api/v201508/reconciliation_report_row_service_registry.rb +0 -45
  1124. data/lib/dfp_api/v201508/reconciliation_report_service.rb +0 -46
  1125. data/lib/dfp_api/v201508/reconciliation_report_service_registry.rb +0 -45
  1126. data/lib/dfp_api/v201508/report_service.rb +0 -62
  1127. data/lib/dfp_api/v201508/report_service_registry.rb +0 -45
  1128. data/lib/dfp_api/v201508/shared_ad_unit_service.rb +0 -46
  1129. data/lib/dfp_api/v201508/shared_ad_unit_service_registry.rb +0 -45
  1130. data/lib/dfp_api/v201508/suggested_ad_unit_service.rb +0 -46
  1131. data/lib/dfp_api/v201508/suggested_ad_unit_service_registry.rb +0 -45
  1132. data/lib/dfp_api/v201508/team_service.rb +0 -54
  1133. data/lib/dfp_api/v201508/team_service_registry.rb +0 -45
  1134. data/lib/dfp_api/v201508/user_service.rb +0 -78
  1135. data/lib/dfp_api/v201508/user_service_registry.rb +0 -45
  1136. data/lib/dfp_api/v201508/user_team_association_service.rb +0 -62
  1137. data/lib/dfp_api/v201508/user_team_association_service_registry.rb +0 -45
  1138. data/lib/dfp_api/v201508/workflow_request_service.rb +0 -46
  1139. data/lib/dfp_api/v201508/workflow_request_service_registry.rb +0 -45
  1140. data/lib/dfp_api/v201511/activity_group_service.rb +0 -54
  1141. data/lib/dfp_api/v201511/activity_group_service_registry.rb +0 -45
  1142. data/lib/dfp_api/v201511/activity_service.rb +0 -54
  1143. data/lib/dfp_api/v201511/activity_service_registry.rb +0 -45
  1144. data/lib/dfp_api/v201511/ad_exclusion_rule_service.rb +0 -62
  1145. data/lib/dfp_api/v201511/ad_exclusion_rule_service_registry.rb +0 -45
  1146. data/lib/dfp_api/v201511/ad_rule_service.rb +0 -62
  1147. data/lib/dfp_api/v201511/ad_rule_service_registry.rb +0 -45
  1148. data/lib/dfp_api/v201511/audience_segment_service.rb +0 -62
  1149. data/lib/dfp_api/v201511/audience_segment_service_registry.rb +0 -45
  1150. data/lib/dfp_api/v201511/base_rate_service.rb +0 -62
  1151. data/lib/dfp_api/v201511/base_rate_service_registry.rb +0 -45
  1152. data/lib/dfp_api/v201511/company_service.rb +0 -54
  1153. data/lib/dfp_api/v201511/company_service_registry.rb +0 -45
  1154. data/lib/dfp_api/v201511/contact_service.rb +0 -54
  1155. data/lib/dfp_api/v201511/contact_service_registry.rb +0 -45
  1156. data/lib/dfp_api/v201511/content_bundle_service.rb +0 -62
  1157. data/lib/dfp_api/v201511/content_bundle_service_registry.rb +0 -45
  1158. data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service.rb +0 -62
  1159. data/lib/dfp_api/v201511/content_metadata_key_hierarchy_service_registry.rb +0 -45
  1160. data/lib/dfp_api/v201511/content_service.rb +0 -46
  1161. data/lib/dfp_api/v201511/content_service_registry.rb +0 -45
  1162. data/lib/dfp_api/v201511/creative_service.rb +0 -54
  1163. data/lib/dfp_api/v201511/creative_service_registry.rb +0 -45
  1164. data/lib/dfp_api/v201511/creative_set_service.rb +0 -54
  1165. data/lib/dfp_api/v201511/creative_set_service_registry.rb +0 -45
  1166. data/lib/dfp_api/v201511/creative_template_service.rb +0 -38
  1167. data/lib/dfp_api/v201511/creative_template_service_registry.rb +0 -45
  1168. data/lib/dfp_api/v201511/creative_wrapper_service.rb +0 -62
  1169. data/lib/dfp_api/v201511/creative_wrapper_service_registry.rb +0 -45
  1170. data/lib/dfp_api/v201511/custom_field_service.rb +0 -86
  1171. data/lib/dfp_api/v201511/custom_field_service_registry.rb +0 -45
  1172. data/lib/dfp_api/v201511/custom_targeting_service.rb +0 -94
  1173. data/lib/dfp_api/v201511/custom_targeting_service_registry.rb +0 -45
  1174. data/lib/dfp_api/v201511/exchange_rate_service.rb +0 -62
  1175. data/lib/dfp_api/v201511/exchange_rate_service_registry.rb +0 -45
  1176. data/lib/dfp_api/v201511/forecast_service.rb +0 -62
  1177. data/lib/dfp_api/v201511/forecast_service_registry.rb +0 -45
  1178. data/lib/dfp_api/v201511/inventory_service.rb +0 -70
  1179. data/lib/dfp_api/v201511/inventory_service_registry.rb +0 -45
  1180. data/lib/dfp_api/v201511/label_service.rb +0 -62
  1181. data/lib/dfp_api/v201511/label_service_registry.rb +0 -45
  1182. data/lib/dfp_api/v201511/line_item_creative_association_service.rb +0 -70
  1183. data/lib/dfp_api/v201511/line_item_creative_association_service_registry.rb +0 -45
  1184. data/lib/dfp_api/v201511/line_item_service.rb +0 -62
  1185. data/lib/dfp_api/v201511/line_item_service_registry.rb +0 -45
  1186. data/lib/dfp_api/v201511/line_item_template_service.rb +0 -38
  1187. data/lib/dfp_api/v201511/line_item_template_service_registry.rb +0 -45
  1188. data/lib/dfp_api/v201511/live_stream_event_service.rb +0 -62
  1189. data/lib/dfp_api/v201511/live_stream_event_service_registry.rb +0 -45
  1190. data/lib/dfp_api/v201511/network_service.rb +0 -62
  1191. data/lib/dfp_api/v201511/network_service_registry.rb +0 -45
  1192. data/lib/dfp_api/v201511/order_service.rb +0 -62
  1193. data/lib/dfp_api/v201511/order_service_registry.rb +0 -45
  1194. data/lib/dfp_api/v201511/package_service.rb +0 -62
  1195. data/lib/dfp_api/v201511/package_service_registry.rb +0 -45
  1196. data/lib/dfp_api/v201511/placement_service.rb +0 -62
  1197. data/lib/dfp_api/v201511/placement_service_registry.rb +0 -45
  1198. data/lib/dfp_api/v201511/premium_rate_service.rb +0 -54
  1199. data/lib/dfp_api/v201511/premium_rate_service_registry.rb +0 -45
  1200. data/lib/dfp_api/v201511/product_package_item_service.rb +0 -62
  1201. data/lib/dfp_api/v201511/product_package_item_service_registry.rb +0 -45
  1202. data/lib/dfp_api/v201511/product_package_service.rb +0 -62
  1203. data/lib/dfp_api/v201511/product_package_service_registry.rb +0 -45
  1204. data/lib/dfp_api/v201511/product_service.rb +0 -54
  1205. data/lib/dfp_api/v201511/product_service_registry.rb +0 -45
  1206. data/lib/dfp_api/v201511/product_template_service.rb +0 -62
  1207. data/lib/dfp_api/v201511/product_template_service_registry.rb +0 -45
  1208. data/lib/dfp_api/v201511/proposal_line_item_service.rb +0 -62
  1209. data/lib/dfp_api/v201511/proposal_line_item_service_registry.rb +0 -45
  1210. data/lib/dfp_api/v201511/proposal_service.rb +0 -62
  1211. data/lib/dfp_api/v201511/proposal_service_registry.rb +0 -45
  1212. data/lib/dfp_api/v201511/publisher_query_language_service.rb +0 -38
  1213. data/lib/dfp_api/v201511/publisher_query_language_service_registry.rb +0 -45
  1214. data/lib/dfp_api/v201511/rate_card_service.rb +0 -62
  1215. data/lib/dfp_api/v201511/rate_card_service_registry.rb +0 -45
  1216. data/lib/dfp_api/v201511/reconciliation_line_item_report_service.rb +0 -46
  1217. data/lib/dfp_api/v201511/reconciliation_line_item_report_service_registry.rb +0 -45
  1218. data/lib/dfp_api/v201511/reconciliation_order_report_service.rb +0 -54
  1219. data/lib/dfp_api/v201511/reconciliation_order_report_service_registry.rb +0 -45
  1220. data/lib/dfp_api/v201511/reconciliation_report_row_service.rb +0 -46
  1221. data/lib/dfp_api/v201511/reconciliation_report_row_service_registry.rb +0 -45
  1222. data/lib/dfp_api/v201511/reconciliation_report_service.rb +0 -46
  1223. data/lib/dfp_api/v201511/reconciliation_report_service_registry.rb +0 -45
  1224. data/lib/dfp_api/v201511/report_service.rb +0 -62
  1225. data/lib/dfp_api/v201511/report_service_registry.rb +0 -45
  1226. data/lib/dfp_api/v201511/shared_ad_unit_service.rb +0 -46
  1227. data/lib/dfp_api/v201511/shared_ad_unit_service_registry.rb +0 -45
  1228. data/lib/dfp_api/v201511/suggested_ad_unit_service.rb +0 -46
  1229. data/lib/dfp_api/v201511/suggested_ad_unit_service_registry.rb +0 -45
  1230. data/lib/dfp_api/v201511/team_service.rb +0 -54
  1231. data/lib/dfp_api/v201511/team_service_registry.rb +0 -45
  1232. data/lib/dfp_api/v201511/user_service.rb +0 -78
  1233. data/lib/dfp_api/v201511/user_service_registry.rb +0 -45
  1234. data/lib/dfp_api/v201511/user_team_association_service.rb +0 -62
  1235. data/lib/dfp_api/v201511/user_team_association_service_registry.rb +0 -45
  1236. data/lib/dfp_api/v201511/workflow_request_service.rb +0 -46
  1237. data/lib/dfp_api/v201511/workflow_request_service_registry.rb +0 -45
  1238. data/test/dfp_api/test_config.yml +0 -9
  1239. data/test/suite_unittests.rb +0 -34
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:35.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201608; module ContactService
13
+ class ContactServiceRegistry
14
+ CONTACTSERVICE_METHODS = {:create_contacts=>{:input=>[{:name=>:contacts, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_contacts_response", :fields=>[{:name=>:rval, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_contacts_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_contacts_by_statement_response", :fields=>[{:name=>:rval, :type=>"ContactPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_contacts=>{:input=>[{:name=>:contacts, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_contacts_response", :fields=>[{:name=>:rval, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ CONTACTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Contact=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"Contact.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cell_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fax_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:title, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:work_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseContact"}, :ContactError=>{:fields=>[{:name=>:reason, :type=>"ContactError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContactPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"Contact", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BaseContact=>{:fields=>[]}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InvalidEmailError=>{:fields=>[{:name=>:reason, :type=>"InvalidEmailError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"Contact.Status"=>{:fields=>[]}, :"ContactError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"InvalidEmailError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
+ CONTACTSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return CONTACTSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return CONTACTSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return CONTACTSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, ContactServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,62 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:35.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201608/content_bundle_service_registry'
12
+
13
+ module DfpApi; module V201608; module ContentBundleService
14
+ class ContentBundleService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201608'
17
+ super(config, endpoint, namespace, :v201608)
18
+ end
19
+
20
+ def create_content_bundles(*args, &block)
21
+ return execute_action('create_content_bundles', args, &block)
22
+ end
23
+
24
+ def create_content_bundles_to_xml(*args)
25
+ return get_soap_xml('create_content_bundles', args)
26
+ end
27
+
28
+ def get_content_bundles_by_statement(*args, &block)
29
+ return execute_action('get_content_bundles_by_statement', args, &block)
30
+ end
31
+
32
+ def get_content_bundles_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_content_bundles_by_statement', args)
34
+ end
35
+
36
+ def perform_content_bundle_action(*args, &block)
37
+ return execute_action('perform_content_bundle_action', args, &block)
38
+ end
39
+
40
+ def perform_content_bundle_action_to_xml(*args)
41
+ return get_soap_xml('perform_content_bundle_action', args)
42
+ end
43
+
44
+ def update_content_bundles(*args, &block)
45
+ return execute_action('update_content_bundles', args, &block)
46
+ end
47
+
48
+ def update_content_bundles_to_xml(*args)
49
+ return get_soap_xml('update_content_bundles', args)
50
+ end
51
+
52
+ private
53
+
54
+ def get_service_registry()
55
+ return ContentBundleServiceRegistry
56
+ end
57
+
58
+ def get_module()
59
+ return DfpApi::V201608::ContentBundleService
60
+ end
61
+ end
62
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:35.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201608; module ContentBundleService
13
+ class ContentBundleServiceRegistry
14
+ CONTENTBUNDLESERVICE_METHODS = {:create_content_bundles=>{:input=>[{:name=>:content_bundles, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_content_bundles_response", :fields=>[{:name=>:rval, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_content_bundles_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_content_bundles_by_statement_response", :fields=>[{:name=>:rval, :type=>"ContentBundlePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_content_bundle_action=>{:input=>[{:name=>:content_bundle_action, :type=>"ContentBundleAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_content_bundle_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_content_bundles=>{:input=>[{:name=>:content_bundles, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_content_bundles_response", :fields=>[{:name=>:rval, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ CONTENTBUNDLESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateContentBundles=>{:fields=>[], :base=>"ContentBundleAction"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContentBundleAction=>{:fields=>[], :abstract=>true}, :ContentBundle=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ContentBundleStatus", :min_occurs=>0, :max_occurs=>1}]}, :ContentBundlePage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"ContentBundle", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeactivateContentBundles=>{:fields=>[], :base=>"ContentBundleAction"}, :ExcludeContentFromContentBundle=>{:fields=>[{:name=>:content_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :base=>"ContentBundleAction"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :IncludeContentInContentBundle=>{:fields=>[{:name=>:content_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :base=>"ContentBundleAction"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PlacementError=>{:fields=>[{:name=>:reason, :type=>"PlacementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :ContentBundleStatus=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PlacementError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
+ CONTENTBUNDLESERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return CONTENTBUNDLESERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return CONTENTBUNDLESERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return CONTENTBUNDLESERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, ContentBundleServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,62 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:36.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201608/content_metadata_key_hierarchy_service_registry'
12
+
13
+ module DfpApi; module V201608; module ContentMetadataKeyHierarchyService
14
+ class ContentMetadataKeyHierarchyService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201608'
17
+ super(config, endpoint, namespace, :v201608)
18
+ end
19
+
20
+ def create_content_metadata_key_hierarchies(*args, &block)
21
+ return execute_action('create_content_metadata_key_hierarchies', args, &block)
22
+ end
23
+
24
+ def create_content_metadata_key_hierarchies_to_xml(*args)
25
+ return get_soap_xml('create_content_metadata_key_hierarchies', args)
26
+ end
27
+
28
+ def get_content_metadata_key_hierarchies_by_statement(*args, &block)
29
+ return execute_action('get_content_metadata_key_hierarchies_by_statement', args, &block)
30
+ end
31
+
32
+ def get_content_metadata_key_hierarchies_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_content_metadata_key_hierarchies_by_statement', args)
34
+ end
35
+
36
+ def perform_content_metadata_key_hierarchy_action(*args, &block)
37
+ return execute_action('perform_content_metadata_key_hierarchy_action', args, &block)
38
+ end
39
+
40
+ def perform_content_metadata_key_hierarchy_action_to_xml(*args)
41
+ return get_soap_xml('perform_content_metadata_key_hierarchy_action', args)
42
+ end
43
+
44
+ def update_content_metadata_key_hierarchies(*args, &block)
45
+ return execute_action('update_content_metadata_key_hierarchies', args, &block)
46
+ end
47
+
48
+ def update_content_metadata_key_hierarchies_to_xml(*args)
49
+ return get_soap_xml('update_content_metadata_key_hierarchies', args)
50
+ end
51
+
52
+ private
53
+
54
+ def get_service_registry()
55
+ return ContentMetadataKeyHierarchyServiceRegistry
56
+ end
57
+
58
+ def get_module()
59
+ return DfpApi::V201608::ContentMetadataKeyHierarchyService
60
+ end
61
+ end
62
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:36.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201608; module ContentMetadataKeyHierarchyService
13
+ class ContentMetadataKeyHierarchyServiceRegistry
14
+ CONTENTMETADATAKEYHIERARCHYSERVICE_METHODS = {:create_content_metadata_key_hierarchies=>{:input=>[{:name=>:content_metadata_key_hierarchies, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_content_metadata_key_hierarchies_response", :fields=>[{:name=>:rval, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_content_metadata_key_hierarchies_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_content_metadata_key_hierarchies_by_statement_response", :fields=>[{:name=>:rval, :type=>"ContentMetadataKeyHierarchyPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_content_metadata_key_hierarchy_action=>{:input=>[{:name=>:content_metadata_key_hierarchy_action, :type=>"ContentMetadataKeyHierarchyAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_content_metadata_key_hierarchy_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_content_metadata_key_hierarchies=>{:input=>[{:name=>:content_metadata_key_hierarchies, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_content_metadata_key_hierarchies_response", :fields=>[{:name=>:rval, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ CONTENTMETADATAKEYHIERARCHYSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContentMetadataKeyHierarchyAction=>{:fields=>[], :abstract=>true}, :ContentMetadataKeyHierarchy=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:hierarchy_levels, :type=>"ContentMetadataKeyHierarchyLevel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:status, :type=>"ContentMetadataKeyHierarchyStatus", :min_occurs=>0, :max_occurs=>1}]}, :ContentMetadataKeyHierarchyError=>{:fields=>[{:name=>:reason, :type=>"ContentMetadataKeyHierarchyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContentMetadataKeyHierarchyLevel=>{:fields=>[{:name=>:custom_targeting_key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:hierarchy_level, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ContentMetadataKeyHierarchyPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"ContentMetadataKeyHierarchy", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeleteContentMetadataKeyHierarchies=>{:fields=>[], :base=>"ContentMetadataKeyHierarchyAction"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredNumberError=>{:fields=>[{:name=>:reason, :type=>"RequiredNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"ContentMetadataKeyHierarchyError.Reason"=>{:fields=>[]}, :ContentMetadataKeyHierarchyStatus=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
+ CONTENTMETADATAKEYHIERARCHYSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return CONTENTMETADATAKEYHIERARCHYSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return CONTENTMETADATAKEYHIERARCHYSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return CONTENTMETADATAKEYHIERARCHYSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, ContentMetadataKeyHierarchyServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,46 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:36.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201608/content_service_registry'
12
+
13
+ module DfpApi; module V201608; module ContentService
14
+ class ContentService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201608'
17
+ super(config, endpoint, namespace, :v201608)
18
+ end
19
+
20
+ def get_content_by_statement(*args, &block)
21
+ return execute_action('get_content_by_statement', args, &block)
22
+ end
23
+
24
+ def get_content_by_statement_to_xml(*args)
25
+ return get_soap_xml('get_content_by_statement', args)
26
+ end
27
+
28
+ def get_content_by_statement_and_custom_targeting_value(*args, &block)
29
+ return execute_action('get_content_by_statement_and_custom_targeting_value', args, &block)
30
+ end
31
+
32
+ def get_content_by_statement_and_custom_targeting_value_to_xml(*args)
33
+ return get_soap_xml('get_content_by_statement_and_custom_targeting_value', args)
34
+ end
35
+
36
+ private
37
+
38
+ def get_service_registry()
39
+ return ContentServiceRegistry
40
+ end
41
+
42
+ def get_module()
43
+ return DfpApi::V201608::ContentService
44
+ end
45
+ end
46
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:36.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201608; module ContentService
13
+ class ContentServiceRegistry
14
+ CONTENTSERVICE_METHODS = {:get_content_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_content_by_statement_response", :fields=>[{:name=>:rval, :type=>"ContentPage", :min_occurs=>0, :max_occurs=>1}]}}, :get_content_by_statement_and_custom_targeting_value=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_targeting_value_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_content_by_statement_and_custom_targeting_value_response", :fields=>[{:name=>:rval, :type=>"ContentPage", :min_occurs=>0, :max_occurs=>1}]}}}
15
+ CONTENTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CmsContent=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cms_content_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Content=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ContentStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:status_defined_by, :type=>"ContentStatusDefinedBy", :min_occurs=>0, :max_occurs=>1}, {:name=>:import_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_defined_custom_targeting_value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mapping_rule_defined_custom_targeting_value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:cms_sources, :type=>"CmsContent", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ContentPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"Content", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ContentPartnerError=>{:fields=>[{:name=>:reason, :type=>"ContentPartnerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InvalidUrlError=>{:fields=>[{:name=>:reason, :type=>"InvalidUrlError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredNumberError=>{:fields=>[{:name=>:reason, :type=>"RequiredNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"ContentPartnerError.Reason"=>{:fields=>[]}, :ContentStatus=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"InvalidUrlError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :ContentStatusDefinedBy=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
+ CONTENTSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return CONTENTSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return CONTENTSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return CONTENTSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, ContentServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,54 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:37.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201608/creative_service_registry'
12
+
13
+ module DfpApi; module V201608; module CreativeService
14
+ class CreativeService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201608'
17
+ super(config, endpoint, namespace, :v201608)
18
+ end
19
+
20
+ def create_creatives(*args, &block)
21
+ return execute_action('create_creatives', args, &block)
22
+ end
23
+
24
+ def create_creatives_to_xml(*args)
25
+ return get_soap_xml('create_creatives', args)
26
+ end
27
+
28
+ def get_creatives_by_statement(*args, &block)
29
+ return execute_action('get_creatives_by_statement', args, &block)
30
+ end
31
+
32
+ def get_creatives_by_statement_to_xml(*args)
33
+ return get_soap_xml('get_creatives_by_statement', args)
34
+ end
35
+
36
+ def update_creatives(*args, &block)
37
+ return execute_action('update_creatives', args, &block)
38
+ end
39
+
40
+ def update_creatives_to_xml(*args)
41
+ return get_soap_xml('update_creatives', args)
42
+ end
43
+
44
+ private
45
+
46
+ def get_service_registry()
47
+ return CreativeServiceRegistry
48
+ end
49
+
50
+ def get_module()
51
+ return DfpApi::V201608::CreativeService
52
+ end
53
+ end
54
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:51:37.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201608; module CreativeService
13
+ class CreativeServiceRegistry
14
+ CREATIVESERVICE_METHODS = {:create_creatives=>{:input=>[{:name=>:creatives, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_creatives_response", :fields=>[{:name=>:rval, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_creatives_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_creatives_by_statement_response", :fields=>[{:name=>:rval, :type=>"CreativePage", :min_occurs=>0, :max_occurs=>1}]}}, :update_creatives=>{:input=>[{:name=>:creatives, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_creatives_response", :fields=>[{:name=>:rval, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ CREATIVESERVICE_TYPES = {:BaseDynamicAllocationCreative=>{:fields=>[], :abstract=>true, :base=>"Creative"}, :BaseCreativeTemplateVariableValue=>{:fields=>[{:name=>:unique_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :AdExchangeCreative=>{:fields=>[{:name=>:is_native_eligible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"HasHtmlSnippetDynamicAllocationCreative"}, :AdMobBackfillCreative=>{:fields=>[{:name=>:additional_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:publisher_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseDynamicAllocationCreative"}, :AdSenseCreative=>{:fields=>[], :base=>"HasHtmlSnippetDynamicAllocationCreative"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AppliedLabel=>{:fields=>[{:name=>:label_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_negated, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :AspectRatioImageCreative=>{:fields=>[{:name=>:image_assets, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:alt_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"HasDestinationUrlCreative"}, :AssetCreativeTemplateVariableValue=>{:fields=>[{:name=>:asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCreativeTemplateVariableValue"}, :Asset=>{:fields=>[], :abstract=>true}, :AssetError=>{:fields=>[{:name=>:reason, :type=>"AssetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BaseCustomFieldValue=>{:fields=>[{:name=>:custom_field_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BaseFlashCreative=>{:fields=>[{:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:click_tag_required, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:flash_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}, {:name=>:fallback_image_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BaseFlashRedirectCreative=>{:fields=>[{:name=>:flash_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fallback_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fallback_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BaseImageCreative=>{:fields=>[{:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:primary_image_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BaseImageRedirectCreative=>{:fields=>[{:name=>:image_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BaseRichMediaStudioCreative=>{:fields=>[{:name=>:studio_creative_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_format, :type=>"RichMediaStudioCreativeFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:artwork_type, :type=>"RichMediaStudioCreativeArtworkType", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_tag_keys, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_key_values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:survey_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:all_impressions_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rich_media_impressions_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:backup_image_impressions_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_css, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:required_flash_plugin_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:billing_attribute, :type=>"RichMediaStudioCreativeBillingAttribute", :min_occurs=>0, :max_occurs=>1}, {:name=>:rich_media_studio_child_asset_properties, :type=>"RichMediaStudioChildAssetProperty", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Creative"}, :BaseVideoCreative=>{:fields=>[{:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:allow_duration_override, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"HasDestinationUrlCreative"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClickTag=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ClickTrackingCreative=>{:fields=>[{:name=>:click_tracking_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ConversionEvent_TrackingUrlsMapEntry=>{:fields=>[{:name=>:key, :type=>"ConversionEvent", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"TrackingUrls", :min_occurs=>0, :max_occurs=>1}]}, :CreativeAsset=>{:fields=>[{:name=>:asset_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:asset_byte_array, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}, {:name=>:file_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:asset_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:click_tags, :type=>"ClickTag", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:image_density, :type=>"ImageDensity", :min_occurs=>0, :max_occurs=>1}]}, :CustomCreativeAsset=>{:fields=>[{:name=>:macro_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}]}, :CreativeAssetMacroError=>{:fields=>[{:name=>:reason, :type=>"CreativeAssetMacroError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Creative=>{:fields=>[{:name=>:advertiser_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:policy_violations, :type=>"CreativePolicyViolation", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_field_values, :type=>"BaseCustomFieldValue", :min_occurs=>0, :max_occurs=>:unbounded}], :abstract=>true}, :CreativeError=>{:fields=>[{:name=>:reason, :type=>"CreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativePage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"Creative", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CreativeSetError=>{:fields=>[{:name=>:reason, :type=>"CreativeSetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeTemplateError=>{:fields=>[{:name=>:reason, :type=>"CreativeTemplateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CreativeTemplateOperationError=>{:fields=>[{:name=>:reason, :type=>"CreativeTemplateOperationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomCreative=>{:fields=>[{:name=>:html_snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_creative_assets, :type=>"CustomCreativeAsset", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"HasDestinationUrlCreative"}, :CustomCreativeError=>{:fields=>[{:name=>:reason, :type=>"CustomCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomFieldValue=>{:fields=>[{:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCustomFieldValue"}, :CustomFieldValueError=>{:fields=>[{:name=>:reason, :type=>"CustomFieldValueError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :LegacyDfpMobileCreative=>{:fields=>[], :base=>"HasDestinationUrlCreative"}, :DropDownCustomFieldValue=>{:fields=>[{:name=>:custom_field_option_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCustomFieldValue"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FileError=>{:fields=>[{:name=>:reason, :type=>"FileError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FlashCreative=>{:fields=>[{:name=>:swiffy_asset, :type=>"SwiffyFallbackAsset", :min_occurs=>0, :max_occurs=>1}, {:name=>:create_swiffy_asset, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:click_tag_overlay_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseFlashCreative"}, :FlashOverlayCreative=>{:fields=>[{:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_framework, :type=>"ApiFramework", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseFlashCreative"}, :FlashRedirectCreative=>{:fields=>[], :base=>"BaseFlashRedirectCreative"}, :FlashRedirectOverlayCreative=>{:fields=>[{:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_framework, :type=>"ApiFramework", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:flash_asset_size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseFlashRedirectCreative"}, :HasDestinationUrlCreative=>{:fields=>[{:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url_type, :type=>"DestinationUrlType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Creative"}, :HasHtmlSnippetDynamicAllocationCreative=>{:fields=>[{:name=>:code_snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"BaseDynamicAllocationCreative"}, :Html5Creative=>{:fields=>[{:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_tracking_urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:third_party_click_tracking_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:html5_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :HtmlBundleProcessorError=>{:fields=>[{:name=>:reason, :type=>"HtmlBundleProcessorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ImageCreative=>{:fields=>[{:name=>:alt_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:secondary_image_assets, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseImageCreative"}, :ImageError=>{:fields=>[{:name=>:reason, :type=>"ImageError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ImageOverlayCreative=>{:fields=>[{:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseImageCreative"}, :ImageRedirectCreative=>{:fields=>[{:name=>:alt_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_impression_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseImageRedirectCreative"}, :ImageRedirectOverlayCreative=>{:fields=>[{:name=>:asset_size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseImageRedirectCreative"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalRedirectCreative=>{:fields=>[{:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:asset_size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:internal_redirect_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :InvalidPhoneNumberError=>{:fields=>[{:name=>:reason, :type=>"InvalidPhoneNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InvalidUrlError=>{:fields=>[{:name=>:reason, :type=>"InvalidUrlError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LabelEntityAssociationError=>{:fields=>[{:name=>:reason, :type=>"LabelEntityAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LegacyDfpCreative=>{:fields=>[], :base=>"Creative"}, :LineItemCreativeAssociationError=>{:fields=>[{:name=>:reason, :type=>"LineItemCreativeAssociationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LongCreativeTemplateVariableValue=>{:fields=>[{:name=>:value, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCreativeTemplateVariableValue"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProgrammaticCreative=>{:fields=>[{:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RedirectAsset=>{:fields=>[{:name=>:redirect_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Asset"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredNumberError=>{:fields=>[{:name=>:reason, :type=>"RequiredNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredSizeError=>{:fields=>[{:name=>:reason, :type=>"RequiredSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RichMediaStudioChildAssetProperty=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"RichMediaStudioChildAssetProperty.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :RichMediaStudioCreative=>{:fields=>[{:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseRichMediaStudioCreative"}, :RichMediaStudioCreativeError=>{:fields=>[{:name=>:reason, :type=>"RichMediaStudioCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetTopBoxCreative=>{:fields=>[{:name=>:external_asset_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:provider_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:availability_region_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:license_window_start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:license_window_end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseVideoCreative"}, :SetTopBoxCreativeError=>{:fields=>[{:name=>:reason, :type=>"SetTopBoxCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringCreativeTemplateVariableValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCreativeTemplateVariableValue"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :SwiffyConversionError=>{:fields=>[{:name=>:reason, :type=>"SwiffyConversionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SwiffyFallbackAsset=>{:fields=>[{:name=>:asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}, {:name=>:html5_features, :type=>"Html5Feature", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:localized_info_messages, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TemplateCreative=>{:fields=>[{:name=>:creative_template_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_interstitial, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_native_eligible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_template_variable_values, :type=>"BaseCreativeTemplateVariableValue", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :TemplateInstantiatedCreativeError=>{:fields=>[{:name=>:reason, :type=>"TemplateInstantiatedCreativeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ThirdPartyCreative=>{:fields=>[{:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:expanded_snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:locked_orientation, :type=>"LockedOrientation", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_safe_frame_compatible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :TrackingUrls=>{:fields=>[{:name=>:urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UnsupportedCreative=>{:fields=>[{:name=>:unsupported_creative_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :UrlCreativeTemplateVariableValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"BaseCreativeTemplateVariableValue"}, :Value=>{:fields=>[], :abstract=>true}, :VastRedirectCreative=>{:fields=>[{:name=>:vast_xml_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_redirect_type, :type=>"VastRedirectType", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :base=>"Creative"}, :VideoCreative=>{:fields=>[], :base=>"BaseVideoCreative"}, :VideoMetadata=>{:fields=>[{:name=>:scalable_type, :type=>"ScalableType", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:bit_rate, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minimum_bit_rate, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:maximum_bit_rate, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:mime_type, :type=>"MimeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:delivery_type, :type=>"VideoDeliveryType", :min_occurs=>0, :max_occurs=>1}, {:name=>:codecs, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :VideoRedirectAsset=>{:fields=>[{:name=>:metadata, :type=>"VideoMetadata", :min_occurs=>0, :max_occurs=>1}], :base=>"RedirectAsset"}, :VideoRedirectCreative=>{:fields=>[{:name=>:video_assets, :type=>"VideoRedirectAsset", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"BaseVideoCreative"}, :VpaidLinearCreative=>{:fields=>[{:name=>:override_size, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}, {:name=>:flash_asset, :type=>"CreativeAsset", :min_occurs=>0, :max_occurs=>1}], :base=>"HasDestinationUrlCreative"}, :VpaidLinearRedirectCreative=>{:fields=>[{:name=>:companion_creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:tracking_urls, :type=>"ConversionEvent_TrackingUrlsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:custom_parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:flash_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:flash_asset_size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:vast_preview_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_scan_result, :type=>"SslScanResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:ssl_manual_override, :type=>"SslManualOverride", :min_occurs=>0, :max_occurs=>1}], :base=>"HasDestinationUrlCreative"}, :ApiFramework=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AssetError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :ConversionEvent=>{:fields=>[]}, :"CreativeAssetMacroError.Reason"=>{:fields=>[]}, :"CreativeError.Reason"=>{:fields=>[]}, :CreativePolicyViolation=>{:fields=>[]}, :"CreativeSetError.Reason"=>{:fields=>[]}, :"CreativeTemplateError.Reason"=>{:fields=>[]}, :"CreativeTemplateOperationError.Reason"=>{:fields=>[]}, :"CustomCreativeError.Reason"=>{:fields=>[]}, :"CustomFieldValueError.Reason"=>{:fields=>[]}, :DestinationUrlType=>{:fields=>[]}, :"EntityLimitReachedError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"FileError.Reason"=>{:fields=>[]}, :Html5Feature=>{:fields=>[]}, :"HtmlBundleProcessorError.Reason"=>{:fields=>[]}, :ImageDensity=>{:fields=>[]}, :"ImageError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"InvalidPhoneNumberError.Reason"=>{:fields=>[]}, :"InvalidUrlError.Reason"=>{:fields=>[]}, :"LabelEntityAssociationError.Reason"=>{:fields=>[]}, :"LineItemCreativeAssociationError.Reason"=>{:fields=>[]}, :LockedOrientation=>{:fields=>[]}, :MimeType=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"RequiredSizeError.Reason"=>{:fields=>[]}, :"RichMediaStudioChildAssetProperty.Type"=>{:fields=>[]}, :RichMediaStudioCreativeArtworkType=>{:fields=>[]}, :RichMediaStudioCreativeBillingAttribute=>{:fields=>[]}, :"RichMediaStudioCreativeError.Reason"=>{:fields=>[]}, :RichMediaStudioCreativeFormat=>{:fields=>[]}, :ScalableType=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"SetTopBoxCreativeError.Reason"=>{:fields=>[]}, :SslManualOverride=>{:fields=>[]}, :SslScanResult=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"SwiffyConversionError.Reason"=>{:fields=>[]}, :"TemplateInstantiatedCreativeError.Reason"=>{:fields=>[]}, :VastRedirectType=>{:fields=>[]}, :VideoDeliveryType=>{:fields=>[]}}
16
+ CREATIVESERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return CREATIVESERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return CREATIVESERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return CREATIVESERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, CreativeServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end