google-dfp-api 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1392) hide show
  1. checksums.yaml +15 -0
  2. data/ChangeLog +3 -0
  3. data/{README → README.md} +32 -0
  4. data/examples/v201208/audience_segment_service/get_all_audience_segments.rb +93 -0
  5. data/examples/v201208/common/error_handling.rb +76 -0
  6. data/examples/v201208/company_service/create_companies.rb +81 -0
  7. data/examples/v201208/company_service/get_all_companies.rb +92 -0
  8. data/examples/v201208/company_service/get_companies_by_statement.rb +88 -0
  9. data/examples/v201208/company_service/get_company.rb +72 -0
  10. data/examples/v201208/company_service/update_companies.rb +95 -0
  11. data/examples/v201208/content_service/get_all_content.rb +94 -0
  12. data/examples/v201208/content_service/get_content_by_category.rb +136 -0
  13. data/examples/v201208/creative_service/copy_image_creatives.rb +115 -0
  14. data/examples/v201208/creative_service/create_creative_from_template.rb +139 -0
  15. data/examples/v201208/creative_service/create_creatives.rb +106 -0
  16. data/examples/v201208/creative_service/create_custom_creative.rb +104 -0
  17. data/examples/v201208/creative_service/get_all_creatives.rb +93 -0
  18. data/examples/v201208/creative_service/get_creative.rb +72 -0
  19. data/examples/v201208/creative_service/get_creatives_by_statement.rb +87 -0
  20. data/examples/v201208/creative_service/update_creatives.rb +96 -0
  21. data/examples/v201208/creative_set_service/associate_creative_set_to_line_item.rb +77 -0
  22. data/examples/v201208/creative_set_service/create_creative_set.rb +83 -0
  23. data/examples/v201208/creative_set_service/get_all_creative_sets.rb +94 -0
  24. data/examples/v201208/creative_set_service/get_creative_sets_by_statement.rb +90 -0
  25. data/examples/v201208/creative_set_service/update_creative_sets.rb +85 -0
  26. data/examples/v201208/creative_template_service/get_all_creative_templates.rb +94 -0
  27. data/examples/v201208/creative_template_service/get_creative_template.rb +74 -0
  28. data/examples/v201208/creative_template_service/get_creative_templates_by_statement.rb +80 -0
  29. data/examples/v201208/custom_field_service/create_custom_field_options.rb +87 -0
  30. data/examples/v201208/custom_field_service/create_custom_fields.rb +86 -0
  31. data/examples/v201208/custom_field_service/deactivate_all_line_item_custom_fields.rb +112 -0
  32. data/examples/v201208/custom_field_service/get_all_custom_fields.rb +102 -0
  33. data/examples/v201208/custom_field_service/get_all_line_item_custom_fields.rb +86 -0
  34. data/examples/v201208/custom_field_service/set_line_item_custom_field_value.rb +135 -0
  35. data/examples/v201208/custom_field_service/update_custom_fields.rb +83 -0
  36. data/examples/v201208/custom_targeting_service/create_custom_targeting_keys_and_values.rb +140 -0
  37. data/examples/v201208/custom_targeting_service/delete_custom_targeting_keys.rb +121 -0
  38. data/examples/v201208/custom_targeting_service/delete_custom_targeting_values.rb +125 -0
  39. data/examples/v201208/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +148 -0
  40. data/examples/v201208/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +92 -0
  41. data/examples/v201208/custom_targeting_service/get_custom_targeting_values_by_statement.rb +98 -0
  42. data/examples/v201208/custom_targeting_service/update_custom_targeting_keys.rb +94 -0
  43. data/examples/v201208/custom_targeting_service/update_custom_targeting_values.rb +106 -0
  44. data/examples/v201208/forecast_service/get_forecast.rb +107 -0
  45. data/examples/v201208/forecast_service/get_forecast_by_id.rb +80 -0
  46. data/examples/v201208/inventory_service/create_ad_units.rb +101 -0
  47. data/examples/v201208/inventory_service/create_mobile_ad_unit.rb +101 -0
  48. data/examples/v201208/inventory_service/create_video_ad_unit.rb +108 -0
  49. data/examples/v201208/inventory_service/deactivate_ad_units.rb +119 -0
  50. data/examples/v201208/inventory_service/get_ad_unit.rb +72 -0
  51. data/examples/v201208/inventory_service/get_ad_unit_sizes.rb +85 -0
  52. data/examples/v201208/inventory_service/get_ad_units_by_statement.rb +96 -0
  53. data/examples/v201208/inventory_service/get_all_ad_units.rb +93 -0
  54. data/examples/v201208/inventory_service/update_ad_units.rb +94 -0
  55. data/examples/v201208/label_service/create_labels.rb +83 -0
  56. data/examples/v201208/label_service/deactivate_labels.rb +118 -0
  57. data/examples/v201208/label_service/get_all_labels.rb +95 -0
  58. data/examples/v201208/label_service/get_label.rb +76 -0
  59. data/examples/v201208/label_service/get_labels_by_statement.rb +81 -0
  60. data/examples/v201208/label_service/update_labels.rb +102 -0
  61. data/examples/v201208/line_item_creative_association_service/create_licas.rb +94 -0
  62. data/examples/v201208/line_item_creative_association_service/deactivate_licas.rb +127 -0
  63. data/examples/v201208/line_item_creative_association_service/get_all_licas.rb +98 -0
  64. data/examples/v201208/line_item_creative_association_service/get_lica.rb +77 -0
  65. data/examples/v201208/line_item_creative_association_service/get_licas_by_statement.rb +91 -0
  66. data/examples/v201208/line_item_creative_association_service/update_licas.rb +91 -0
  67. data/examples/v201208/line_item_service/activate_line_items.rb +131 -0
  68. data/examples/v201208/line_item_service/create_line_items.rb +177 -0
  69. data/examples/v201208/line_item_service/create_mobile_line_item.rb +135 -0
  70. data/examples/v201208/line_item_service/create_video_line_item.rb +156 -0
  71. data/examples/v201208/line_item_service/get_all_line_items.rb +94 -0
  72. data/examples/v201208/line_item_service/get_line_item.rb +74 -0
  73. data/examples/v201208/line_item_service/get_line_items_by_statement.rb +93 -0
  74. data/examples/v201208/line_item_service/get_recently_updated_line_items.rb +98 -0
  75. data/examples/v201208/line_item_service/target_custom_criteria.rb +129 -0
  76. data/examples/v201208/line_item_service/update_line_items.rb +109 -0
  77. data/examples/v201208/network_service/get_all_networks.rb +74 -0
  78. data/examples/v201208/network_service/get_current_network.rb +66 -0
  79. data/examples/v201208/network_service/make_test_network.rb +79 -0
  80. data/examples/v201208/order_service/approve_orders.rb +122 -0
  81. data/examples/v201208/order_service/create_orders.rb +92 -0
  82. data/examples/v201208/order_service/get_all_orders.rb +93 -0
  83. data/examples/v201208/order_service/get_order.rb +74 -0
  84. data/examples/v201208/order_service/get_orders_by_statement.rb +90 -0
  85. data/examples/v201208/order_service/update_orders.rb +95 -0
  86. data/examples/v201208/placement_service/create_placements.rb +131 -0
  87. data/examples/v201208/placement_service/deactivate_placements.rb +118 -0
  88. data/examples/v201208/placement_service/get_all_placements.rb +93 -0
  89. data/examples/v201208/placement_service/get_placement.rb +74 -0
  90. data/examples/v201208/placement_service/get_placements_by_statement.rb +86 -0
  91. data/examples/v201208/placement_service/update_placements.rb +97 -0
  92. data/examples/v201208/publisher_query_language_service/get_all_cities.rb +90 -0
  93. data/examples/v201208/report_service/download_report.rb +81 -0
  94. data/examples/v201208/report_service/run_delivery_report.rb +103 -0
  95. data/examples/v201208/report_service/run_inventory_report.rb +96 -0
  96. data/examples/v201208/report_service/run_merged_delivery_report.rb +94 -0
  97. data/examples/v201208/report_service/run_report_with_custom_fields.rb +135 -0
  98. data/examples/v201208/report_service/run_sales_report.rb +92 -0
  99. data/examples/v201208/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +109 -0
  100. data/examples/v201208/suggested_ad_unit_service/get_all_suggested_ad_units.rb +96 -0
  101. data/examples/v201208/suggested_ad_unit_service/get_suggested_ad_unit.rb +75 -0
  102. data/examples/v201208/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +92 -0
  103. data/examples/v201208/team_service/create_teams.rb +83 -0
  104. data/examples/v201208/team_service/get_all_teams.rb +92 -0
  105. data/examples/v201208/team_service/get_team.rb +74 -0
  106. data/examples/v201208/team_service/get_teams_by_statement.rb +78 -0
  107. data/examples/v201208/team_service/update_teams.rb +95 -0
  108. data/examples/v201208/third_party_slot_service/archive_third_party_slots.rb +125 -0
  109. data/examples/v201208/third_party_slot_service/create_third_party_slot.rb +91 -0
  110. data/examples/v201208/third_party_slot_service/get_all_third_party_slots.rb +93 -0
  111. data/examples/v201208/third_party_slot_service/get_third_party_slot_by_statement.rb +86 -0
  112. data/examples/v201208/third_party_slot_service/update_third_party_slots.rb +95 -0
  113. data/examples/v201208/user_service/create_users.rb +89 -0
  114. data/examples/v201208/user_service/deactivate_users.rb +97 -0
  115. data/examples/v201208/user_service/get_all_roles.rb +73 -0
  116. data/examples/v201208/user_service/get_all_users.rb +93 -0
  117. data/examples/v201208/user_service/get_current_user.rb +66 -0
  118. data/examples/v201208/user_service/get_user.rb +73 -0
  119. data/examples/v201208/user_service/get_users_by_statement.rb +79 -0
  120. data/examples/v201208/user_service/update_users.rb +89 -0
  121. data/examples/v201208/user_team_association_service/create_user_team_associations.rb +86 -0
  122. data/examples/v201208/user_team_association_service/delete_user_team_associations.rb +111 -0
  123. data/examples/v201208/user_team_association_service/get_all_user_team_associations.rb +94 -0
  124. data/examples/v201208/user_team_association_service/get_user_team_association.rb +76 -0
  125. data/examples/v201208/user_team_association_service/get_user_team_associations_by_statement.rb +94 -0
  126. data/examples/v201208/user_team_association_service/update_user_team_associations.rb +102 -0
  127. data/examples/v201211/audience_segment_service/get_all_audience_segments.rb +93 -0
  128. data/examples/v201211/common/error_handling.rb +76 -0
  129. data/examples/v201211/company_service/create_companies.rb +81 -0
  130. data/examples/v201211/company_service/get_all_companies.rb +92 -0
  131. data/examples/v201211/company_service/get_companies_by_statement.rb +88 -0
  132. data/examples/v201211/company_service/get_company.rb +72 -0
  133. data/examples/v201211/company_service/update_companies.rb +102 -0
  134. data/examples/v201211/content_service/get_all_content.rb +94 -0
  135. data/examples/v201211/content_service/get_content_by_category.rb +143 -0
  136. data/examples/v201211/creative_service/copy_image_creatives.rb +115 -0
  137. data/examples/v201211/creative_service/create_creative_from_template.rb +139 -0
  138. data/examples/v201211/creative_service/create_creatives.rb +106 -0
  139. data/examples/v201211/creative_service/create_custom_creative.rb +104 -0
  140. data/examples/v201211/creative_service/get_all_creatives.rb +93 -0
  141. data/examples/v201211/creative_service/get_creative.rb +72 -0
  142. data/examples/v201211/creative_service/get_creatives_by_statement.rb +87 -0
  143. data/examples/v201211/creative_service/update_creatives.rb +96 -0
  144. data/examples/v201211/creative_set_service/associate_creative_set_to_line_item.rb +77 -0
  145. data/examples/v201211/creative_set_service/create_creative_set.rb +83 -0
  146. data/examples/v201211/creative_set_service/get_all_creative_sets.rb +94 -0
  147. data/examples/v201211/creative_set_service/get_creative_sets_by_statement.rb +90 -0
  148. data/examples/v201211/creative_set_service/update_creative_sets.rb +85 -0
  149. data/examples/v201211/creative_template_service/get_all_creative_templates.rb +94 -0
  150. data/examples/v201211/creative_template_service/get_creative_template.rb +74 -0
  151. data/examples/v201211/creative_template_service/get_creative_templates_by_statement.rb +80 -0
  152. data/examples/v201211/creative_wrapper_service/create_creative_wrappers.rb +89 -0
  153. data/examples/v201211/creative_wrapper_service/deactivate_creative_wrapper.rb +102 -0
  154. data/examples/v201211/creative_wrapper_service/get_all_creative_wrappers.rb +94 -0
  155. data/examples/v201211/creative_wrapper_service/get_creative_wrappers_by_statement.rb +88 -0
  156. data/examples/v201211/creative_wrapper_service/update_creative_wrappers.rb +86 -0
  157. data/examples/v201211/custom_field_service/create_custom_field_options.rb +87 -0
  158. data/examples/v201211/custom_field_service/create_custom_fields.rb +86 -0
  159. data/examples/v201211/custom_field_service/deactivate_all_line_item_custom_fields.rb +112 -0
  160. data/examples/v201211/custom_field_service/get_all_custom_fields.rb +102 -0
  161. data/examples/v201211/custom_field_service/get_all_line_item_custom_fields.rb +86 -0
  162. data/examples/v201211/custom_field_service/set_line_item_custom_field_value.rb +135 -0
  163. data/examples/v201211/custom_field_service/update_custom_fields.rb +83 -0
  164. data/examples/v201211/custom_targeting_service/create_custom_targeting_keys_and_values.rb +140 -0
  165. data/examples/v201211/custom_targeting_service/delete_custom_targeting_keys.rb +121 -0
  166. data/examples/v201211/custom_targeting_service/delete_custom_targeting_values.rb +125 -0
  167. data/examples/v201211/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +148 -0
  168. data/examples/v201211/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +92 -0
  169. data/examples/v201211/custom_targeting_service/get_custom_targeting_values_by_statement.rb +98 -0
  170. data/examples/v201211/custom_targeting_service/update_custom_targeting_keys.rb +94 -0
  171. data/examples/v201211/custom_targeting_service/update_custom_targeting_values.rb +106 -0
  172. data/examples/v201211/forecast_service/get_forecast.rb +107 -0
  173. data/examples/v201211/forecast_service/get_forecast_by_id.rb +80 -0
  174. data/examples/v201211/inventory_service/create_ad_units.rb +101 -0
  175. data/examples/v201211/inventory_service/create_mobile_ad_unit.rb +101 -0
  176. data/examples/v201211/inventory_service/create_video_ad_unit.rb +108 -0
  177. data/examples/v201211/inventory_service/deactivate_ad_units.rb +119 -0
  178. data/examples/v201211/inventory_service/get_ad_unit.rb +72 -0
  179. data/examples/v201211/inventory_service/get_ad_unit_sizes.rb +85 -0
  180. data/examples/v201211/inventory_service/get_ad_units_by_statement.rb +96 -0
  181. data/examples/v201211/inventory_service/get_all_ad_units.rb +93 -0
  182. data/examples/v201211/inventory_service/update_ad_units.rb +96 -0
  183. data/examples/v201211/label_service/create_labels.rb +83 -0
  184. data/examples/v201211/label_service/deactivate_labels.rb +118 -0
  185. data/examples/v201211/label_service/get_all_labels.rb +95 -0
  186. data/examples/v201211/label_service/get_label.rb +76 -0
  187. data/examples/v201211/label_service/get_labels_by_statement.rb +81 -0
  188. data/examples/v201211/label_service/update_labels.rb +102 -0
  189. data/examples/v201211/line_item_creative_association_service/create_licas.rb +94 -0
  190. data/examples/v201211/line_item_creative_association_service/deactivate_licas.rb +127 -0
  191. data/examples/v201211/line_item_creative_association_service/get_all_licas.rb +98 -0
  192. data/examples/v201211/line_item_creative_association_service/get_lica.rb +77 -0
  193. data/examples/v201211/line_item_creative_association_service/get_licas_by_statement.rb +91 -0
  194. data/examples/v201211/line_item_creative_association_service/update_licas.rb +91 -0
  195. data/examples/v201211/line_item_service/activate_line_items.rb +131 -0
  196. data/examples/v201211/line_item_service/create_line_items.rb +177 -0
  197. data/examples/v201211/line_item_service/create_mobile_line_item.rb +135 -0
  198. data/examples/v201211/line_item_service/create_video_line_item.rb +156 -0
  199. data/examples/v201211/line_item_service/get_all_line_items.rb +94 -0
  200. data/examples/v201211/line_item_service/get_line_item.rb +74 -0
  201. data/examples/v201211/line_item_service/get_line_items_by_statement.rb +93 -0
  202. data/examples/v201211/line_item_service/get_recently_updated_line_items.rb +98 -0
  203. data/examples/v201211/line_item_service/target_custom_criteria.rb +129 -0
  204. data/examples/v201211/line_item_service/update_line_items.rb +109 -0
  205. data/examples/v201211/network_service/get_all_networks.rb +74 -0
  206. data/examples/v201211/network_service/get_current_network.rb +66 -0
  207. data/examples/v201211/network_service/make_test_network.rb +79 -0
  208. data/examples/v201211/order_service/approve_orders.rb +122 -0
  209. data/examples/v201211/order_service/create_orders.rb +92 -0
  210. data/examples/v201211/order_service/get_all_orders.rb +93 -0
  211. data/examples/v201211/order_service/get_order.rb +74 -0
  212. data/examples/v201211/order_service/get_orders_by_statement.rb +90 -0
  213. data/examples/v201211/order_service/update_orders.rb +97 -0
  214. data/examples/v201211/placement_service/create_placements.rb +131 -0
  215. data/examples/v201211/placement_service/deactivate_placements.rb +118 -0
  216. data/examples/v201211/placement_service/get_all_placements.rb +93 -0
  217. data/examples/v201211/placement_service/get_placement.rb +74 -0
  218. data/examples/v201211/placement_service/get_placements_by_statement.rb +86 -0
  219. data/examples/v201211/placement_service/update_placements.rb +97 -0
  220. data/examples/v201211/publisher_query_language_service/get_all_cities.rb +104 -0
  221. data/examples/v201211/report_service/download_report.rb +81 -0
  222. data/examples/v201211/report_service/run_delivery_report.rb +103 -0
  223. data/examples/v201211/report_service/run_inventory_report.rb +96 -0
  224. data/examples/v201211/report_service/run_merged_delivery_report.rb +94 -0
  225. data/examples/v201211/report_service/run_report_with_custom_fields.rb +135 -0
  226. data/examples/v201211/report_service/run_sales_report.rb +92 -0
  227. data/examples/v201211/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +109 -0
  228. data/examples/v201211/suggested_ad_unit_service/get_all_suggested_ad_units.rb +96 -0
  229. data/examples/v201211/suggested_ad_unit_service/get_suggested_ad_unit.rb +75 -0
  230. data/examples/v201211/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +92 -0
  231. data/examples/v201211/team_service/create_teams.rb +83 -0
  232. data/examples/v201211/team_service/get_all_teams.rb +92 -0
  233. data/examples/v201211/team_service/get_team.rb +74 -0
  234. data/examples/v201211/team_service/get_teams_by_statement.rb +78 -0
  235. data/examples/v201211/team_service/update_teams.rb +97 -0
  236. data/examples/v201211/third_party_slot_service/archive_third_party_slots.rb +125 -0
  237. data/examples/v201211/third_party_slot_service/create_third_party_slot.rb +91 -0
  238. data/examples/v201211/third_party_slot_service/get_all_third_party_slots.rb +93 -0
  239. data/examples/v201211/third_party_slot_service/get_third_party_slot_by_statement.rb +86 -0
  240. data/examples/v201211/third_party_slot_service/update_third_party_slots.rb +95 -0
  241. data/examples/v201211/user_service/create_users.rb +89 -0
  242. data/examples/v201211/user_service/deactivate_users.rb +97 -0
  243. data/examples/v201211/user_service/get_all_roles.rb +73 -0
  244. data/examples/v201211/user_service/get_all_users.rb +93 -0
  245. data/examples/v201211/user_service/get_current_user.rb +66 -0
  246. data/examples/v201211/user_service/get_user.rb +73 -0
  247. data/examples/v201211/user_service/get_users_by_statement.rb +79 -0
  248. data/examples/v201211/user_service/update_users.rb +89 -0
  249. data/examples/v201211/user_team_association_service/create_user_team_associations.rb +86 -0
  250. data/examples/v201211/user_team_association_service/delete_user_team_associations.rb +111 -0
  251. data/examples/v201211/user_team_association_service/get_all_user_team_associations.rb +94 -0
  252. data/examples/v201211/user_team_association_service/get_user_team_association.rb +76 -0
  253. data/examples/v201211/user_team_association_service/get_user_team_associations_by_statement.rb +94 -0
  254. data/examples/v201211/user_team_association_service/update_user_team_associations.rb +102 -0
  255. data/examples/v201302/activity_group_service/create_activity_groups.rb +94 -0
  256. data/examples/v201302/activity_group_service/get_active_activity_groups.rb +100 -0
  257. data/examples/v201302/activity_group_service/get_all_activity_groups.rb +95 -0
  258. data/examples/v201302/activity_group_service/update_activity_groups.rb +87 -0
  259. data/examples/v201302/activity_service/create_activities.rb +91 -0
  260. data/examples/v201302/activity_service/get_active_activities.rb +107 -0
  261. data/examples/v201302/activity_service/get_all_activities.rb +144 -0
  262. data/examples/v201302/activity_service/update_activities.rb +85 -0
  263. data/examples/v201302/audience_segment_service/get_all_audience_segments.rb +93 -0
  264. data/examples/v201302/common/error_handling.rb +76 -0
  265. data/examples/v201302/company_service/create_companies.rb +81 -0
  266. data/examples/v201302/company_service/get_all_companies.rb +92 -0
  267. data/examples/v201302/company_service/get_companies_by_statement.rb +88 -0
  268. data/examples/v201302/company_service/get_company.rb +72 -0
  269. data/examples/v201302/company_service/update_companies.rb +102 -0
  270. data/examples/v201302/contact_service/create_contacts.rb +95 -0
  271. data/examples/v201302/contact_service/get_all_contacts.rb +92 -0
  272. data/examples/v201302/contact_service/get_uninvited_contacts.rb +102 -0
  273. data/examples/v201302/contact_service/update_contacts.rb +84 -0
  274. data/examples/v201302/content_service/get_all_content.rb +94 -0
  275. data/examples/v201302/content_service/get_content_by_category.rb +143 -0
  276. data/examples/v201302/creative_service/copy_image_creatives.rb +115 -0
  277. data/examples/v201302/creative_service/create_creative_from_template.rb +139 -0
  278. data/examples/v201302/creative_service/create_creatives.rb +112 -0
  279. data/examples/v201302/creative_service/create_custom_creative.rb +104 -0
  280. data/examples/v201302/creative_service/get_all_creatives.rb +93 -0
  281. data/examples/v201302/creative_service/get_creative.rb +72 -0
  282. data/examples/v201302/creative_service/get_creatives_by_statement.rb +87 -0
  283. data/examples/v201302/creative_service/update_creatives.rb +96 -0
  284. data/examples/v201302/creative_set_service/associate_creative_set_to_line_item.rb +77 -0
  285. data/examples/v201302/creative_set_service/create_creative_set.rb +83 -0
  286. data/examples/v201302/creative_set_service/get_all_creative_sets.rb +94 -0
  287. data/examples/v201302/creative_set_service/get_creative_sets_by_statement.rb +90 -0
  288. data/examples/v201302/creative_set_service/update_creative_sets.rb +85 -0
  289. data/examples/v201302/creative_template_service/get_all_creative_templates.rb +94 -0
  290. data/examples/v201302/creative_template_service/get_creative_template.rb +74 -0
  291. data/examples/v201302/creative_template_service/get_creative_templates_by_statement.rb +80 -0
  292. data/examples/v201302/creative_wrapper_service/create_creative_wrappers.rb +89 -0
  293. data/examples/v201302/creative_wrapper_service/deactivate_creative_wrapper.rb +102 -0
  294. data/examples/v201302/creative_wrapper_service/get_all_creative_wrappers.rb +94 -0
  295. data/examples/v201302/creative_wrapper_service/get_creative_wrappers_by_statement.rb +88 -0
  296. data/examples/v201302/creative_wrapper_service/update_creative_wrappers.rb +86 -0
  297. data/examples/v201302/custom_field_service/create_custom_field_options.rb +87 -0
  298. data/examples/v201302/custom_field_service/create_custom_fields.rb +86 -0
  299. data/examples/v201302/custom_field_service/deactivate_all_line_item_custom_fields.rb +112 -0
  300. data/examples/v201302/custom_field_service/get_all_custom_fields.rb +102 -0
  301. data/examples/v201302/custom_field_service/get_all_line_item_custom_fields.rb +86 -0
  302. data/examples/v201302/custom_field_service/set_line_item_custom_field_value.rb +135 -0
  303. data/examples/v201302/custom_field_service/update_custom_fields.rb +84 -0
  304. data/examples/v201302/custom_targeting_service/create_custom_targeting_keys_and_values.rb +140 -0
  305. data/examples/v201302/custom_targeting_service/delete_custom_targeting_keys.rb +121 -0
  306. data/examples/v201302/custom_targeting_service/delete_custom_targeting_values.rb +125 -0
  307. data/examples/v201302/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +148 -0
  308. data/examples/v201302/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +92 -0
  309. data/examples/v201302/custom_targeting_service/get_custom_targeting_values_by_statement.rb +98 -0
  310. data/examples/v201302/custom_targeting_service/update_custom_targeting_keys.rb +94 -0
  311. data/examples/v201302/custom_targeting_service/update_custom_targeting_values.rb +106 -0
  312. data/examples/v201302/forecast_service/get_forecast.rb +107 -0
  313. data/examples/v201302/forecast_service/get_forecast_by_id.rb +80 -0
  314. data/examples/v201302/inventory_service/create_ad_units.rb +101 -0
  315. data/examples/v201302/inventory_service/create_mobile_ad_unit.rb +101 -0
  316. data/examples/v201302/inventory_service/create_video_ad_unit.rb +108 -0
  317. data/examples/v201302/inventory_service/deactivate_ad_units.rb +119 -0
  318. data/examples/v201302/inventory_service/get_ad_unit.rb +72 -0
  319. data/examples/v201302/inventory_service/get_ad_unit_sizes.rb +85 -0
  320. data/examples/v201302/inventory_service/get_ad_units_by_statement.rb +96 -0
  321. data/examples/v201302/inventory_service/get_all_ad_units.rb +93 -0
  322. data/examples/v201302/inventory_service/update_ad_units.rb +96 -0
  323. data/examples/v201302/label_service/create_labels.rb +83 -0
  324. data/examples/v201302/label_service/deactivate_labels.rb +118 -0
  325. data/examples/v201302/label_service/get_all_labels.rb +95 -0
  326. data/examples/v201302/label_service/get_label.rb +76 -0
  327. data/examples/v201302/label_service/get_labels_by_statement.rb +81 -0
  328. data/examples/v201302/label_service/update_labels.rb +102 -0
  329. data/examples/v201302/line_item_creative_association_service/create_licas.rb +94 -0
  330. data/examples/v201302/line_item_creative_association_service/deactivate_licas.rb +127 -0
  331. data/examples/v201302/line_item_creative_association_service/get_all_licas.rb +98 -0
  332. data/examples/v201302/line_item_creative_association_service/get_lica.rb +77 -0
  333. data/examples/v201302/line_item_creative_association_service/get_licas_by_statement.rb +91 -0
  334. data/examples/v201302/line_item_creative_association_service/update_licas.rb +91 -0
  335. data/examples/v201302/line_item_service/activate_line_items.rb +131 -0
  336. data/examples/v201302/line_item_service/create_line_items.rb +177 -0
  337. data/examples/v201302/line_item_service/create_mobile_line_item.rb +135 -0
  338. data/examples/v201302/line_item_service/create_video_line_item.rb +158 -0
  339. data/examples/v201302/line_item_service/get_all_line_items.rb +94 -0
  340. data/examples/v201302/line_item_service/get_line_item.rb +74 -0
  341. data/examples/v201302/line_item_service/get_line_items_by_statement.rb +93 -0
  342. data/examples/v201302/line_item_service/get_recently_updated_line_items.rb +98 -0
  343. data/examples/v201302/line_item_service/target_custom_criteria.rb +129 -0
  344. data/examples/v201302/line_item_service/update_line_items.rb +109 -0
  345. data/examples/v201302/network_service/get_all_networks.rb +74 -0
  346. data/examples/v201302/network_service/get_current_network.rb +66 -0
  347. data/examples/v201302/network_service/make_test_network.rb +79 -0
  348. data/examples/v201302/order_service/approve_orders.rb +122 -0
  349. data/examples/v201302/order_service/create_orders.rb +92 -0
  350. data/examples/v201302/order_service/get_all_orders.rb +93 -0
  351. data/examples/v201302/order_service/get_order.rb +74 -0
  352. data/examples/v201302/order_service/get_orders_by_statement.rb +90 -0
  353. data/examples/v201302/order_service/update_orders.rb +97 -0
  354. data/examples/v201302/placement_service/create_placements.rb +131 -0
  355. data/examples/v201302/placement_service/deactivate_placements.rb +118 -0
  356. data/examples/v201302/placement_service/get_all_placements.rb +93 -0
  357. data/examples/v201302/placement_service/get_placement.rb +74 -0
  358. data/examples/v201302/placement_service/get_placements_by_statement.rb +86 -0
  359. data/examples/v201302/placement_service/update_placements.rb +97 -0
  360. data/examples/v201302/publisher_query_language_service/get_all_cities.rb +104 -0
  361. data/examples/v201302/report_service/display_report.rb +81 -0
  362. data/examples/v201302/report_service/download_report.rb +81 -0
  363. data/examples/v201302/report_service/run_delivery_report.rb +103 -0
  364. data/examples/v201302/report_service/run_inventory_report.rb +96 -0
  365. data/examples/v201302/report_service/run_merged_delivery_report.rb +94 -0
  366. data/examples/v201302/report_service/run_reach_report.rb +87 -0
  367. data/examples/v201302/report_service/run_report_with_custom_fields.rb +135 -0
  368. data/examples/v201302/report_service/run_sales_report.rb +92 -0
  369. data/examples/v201302/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +109 -0
  370. data/examples/v201302/suggested_ad_unit_service/get_all_suggested_ad_units.rb +96 -0
  371. data/examples/v201302/suggested_ad_unit_service/get_suggested_ad_unit.rb +75 -0
  372. data/examples/v201302/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +92 -0
  373. data/examples/v201302/team_service/create_teams.rb +83 -0
  374. data/examples/v201302/team_service/get_all_teams.rb +92 -0
  375. data/examples/v201302/team_service/get_team.rb +74 -0
  376. data/examples/v201302/team_service/get_teams_by_statement.rb +78 -0
  377. data/examples/v201302/team_service/update_teams.rb +97 -0
  378. data/examples/v201302/third_party_slot_service/archive_third_party_slots.rb +125 -0
  379. data/examples/v201302/third_party_slot_service/create_third_party_slot.rb +91 -0
  380. data/examples/v201302/third_party_slot_service/get_all_third_party_slots.rb +93 -0
  381. data/examples/v201302/third_party_slot_service/get_third_party_slot_by_statement.rb +86 -0
  382. data/examples/v201302/third_party_slot_service/update_third_party_slots.rb +95 -0
  383. data/examples/v201302/user_service/create_users.rb +89 -0
  384. data/examples/v201302/user_service/deactivate_users.rb +97 -0
  385. data/examples/v201302/user_service/get_all_roles.rb +73 -0
  386. data/examples/v201302/user_service/get_all_users.rb +93 -0
  387. data/examples/v201302/user_service/get_current_user.rb +66 -0
  388. data/examples/v201302/user_service/get_user.rb +73 -0
  389. data/examples/v201302/user_service/get_users_by_statement.rb +79 -0
  390. data/examples/v201302/user_service/update_users.rb +89 -0
  391. data/examples/v201302/user_team_association_service/create_user_team_associations.rb +86 -0
  392. data/examples/v201302/user_team_association_service/delete_user_team_associations.rb +111 -0
  393. data/examples/v201302/user_team_association_service/get_all_user_team_associations.rb +94 -0
  394. data/examples/v201302/user_team_association_service/get_user_team_association.rb +76 -0
  395. data/examples/v201302/user_team_association_service/get_user_team_associations_by_statement.rb +94 -0
  396. data/examples/v201302/user_team_association_service/update_user_team_associations.rb +102 -0
  397. data/examples/v201306/activity_group_service/create_activity_groups.rb +94 -0
  398. data/examples/v201306/activity_group_service/get_active_activity_groups.rb +100 -0
  399. data/examples/v201306/activity_group_service/get_all_activity_groups.rb +95 -0
  400. data/examples/v201306/activity_group_service/update_activity_groups.rb +87 -0
  401. data/examples/v201306/activity_service/create_activities.rb +91 -0
  402. data/examples/v201306/activity_service/get_active_activities.rb +107 -0
  403. data/examples/v201306/activity_service/get_all_activities.rb +144 -0
  404. data/examples/v201306/activity_service/update_activities.rb +85 -0
  405. data/examples/v201306/audience_segment_service/get_all_audience_segments.rb +93 -0
  406. data/examples/v201306/common/error_handling.rb +76 -0
  407. data/examples/v201306/company_service/create_companies.rb +81 -0
  408. data/examples/v201306/company_service/get_all_companies.rb +92 -0
  409. data/examples/v201306/company_service/get_companies_by_statement.rb +88 -0
  410. data/examples/v201306/company_service/get_company.rb +72 -0
  411. data/examples/v201306/company_service/update_companies.rb +102 -0
  412. data/examples/v201306/contact_service/create_contacts.rb +95 -0
  413. data/examples/v201306/contact_service/get_all_contacts.rb +92 -0
  414. data/examples/v201306/contact_service/get_uninvited_contacts.rb +102 -0
  415. data/examples/v201306/contact_service/update_contacts.rb +84 -0
  416. data/examples/v201306/content_service/get_all_content.rb +94 -0
  417. data/examples/v201306/content_service/get_content_by_category.rb +143 -0
  418. data/examples/v201306/creative_service/copy_image_creatives.rb +115 -0
  419. data/examples/v201306/creative_service/create_creative_from_template.rb +139 -0
  420. data/examples/v201306/creative_service/create_creatives.rb +112 -0
  421. data/examples/v201306/creative_service/create_custom_creative.rb +104 -0
  422. data/examples/v201306/creative_service/get_all_creatives.rb +93 -0
  423. data/examples/v201306/creative_service/get_creative.rb +72 -0
  424. data/examples/v201306/creative_service/get_creatives_by_statement.rb +87 -0
  425. data/examples/v201306/creative_service/update_creatives.rb +96 -0
  426. data/examples/v201306/creative_set_service/associate_creative_set_to_line_item.rb +77 -0
  427. data/examples/v201306/creative_set_service/create_creative_set.rb +83 -0
  428. data/examples/v201306/creative_set_service/get_all_creative_sets.rb +94 -0
  429. data/examples/v201306/creative_set_service/get_creative_sets_by_statement.rb +90 -0
  430. data/examples/v201306/creative_set_service/update_creative_sets.rb +85 -0
  431. data/examples/v201306/creative_template_service/get_all_creative_templates.rb +94 -0
  432. data/examples/v201306/creative_template_service/get_creative_template.rb +74 -0
  433. data/examples/v201306/creative_template_service/get_creative_templates_by_statement.rb +80 -0
  434. data/examples/v201306/creative_wrapper_service/create_creative_wrappers.rb +89 -0
  435. data/examples/v201306/creative_wrapper_service/deactivate_creative_wrapper.rb +102 -0
  436. data/examples/v201306/creative_wrapper_service/get_all_creative_wrappers.rb +94 -0
  437. data/examples/v201306/creative_wrapper_service/get_creative_wrappers_by_statement.rb +88 -0
  438. data/examples/v201306/creative_wrapper_service/update_creative_wrappers.rb +86 -0
  439. data/examples/v201306/custom_field_service/create_custom_field_options.rb +87 -0
  440. data/examples/v201306/custom_field_service/create_custom_fields.rb +86 -0
  441. data/examples/v201306/custom_field_service/deactivate_all_line_item_custom_fields.rb +112 -0
  442. data/examples/v201306/custom_field_service/get_all_custom_fields.rb +102 -0
  443. data/examples/v201306/custom_field_service/get_all_line_item_custom_fields.rb +86 -0
  444. data/examples/v201306/custom_field_service/set_line_item_custom_field_value.rb +135 -0
  445. data/examples/v201306/custom_field_service/update_custom_fields.rb +84 -0
  446. data/examples/v201306/custom_targeting_service/create_custom_targeting_keys_and_values.rb +140 -0
  447. data/examples/v201306/custom_targeting_service/delete_custom_targeting_keys.rb +121 -0
  448. data/examples/v201306/custom_targeting_service/delete_custom_targeting_values.rb +125 -0
  449. data/examples/v201306/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +148 -0
  450. data/examples/v201306/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +92 -0
  451. data/examples/v201306/custom_targeting_service/get_custom_targeting_values_by_statement.rb +98 -0
  452. data/examples/v201306/custom_targeting_service/update_custom_targeting_keys.rb +94 -0
  453. data/examples/v201306/custom_targeting_service/update_custom_targeting_values.rb +106 -0
  454. data/examples/v201306/forecast_service/get_forecast.rb +107 -0
  455. data/examples/v201306/forecast_service/get_forecast_by_id.rb +80 -0
  456. data/examples/v201306/inventory_service/create_ad_units.rb +101 -0
  457. data/examples/v201306/inventory_service/create_mobile_ad_unit.rb +101 -0
  458. data/examples/v201306/inventory_service/create_video_ad_unit.rb +108 -0
  459. data/examples/v201306/inventory_service/deactivate_ad_units.rb +119 -0
  460. data/examples/v201306/inventory_service/get_ad_unit.rb +72 -0
  461. data/examples/v201306/inventory_service/get_ad_unit_sizes.rb +85 -0
  462. data/examples/v201306/inventory_service/get_ad_units_by_statement.rb +96 -0
  463. data/examples/v201306/inventory_service/get_all_ad_units.rb +93 -0
  464. data/examples/v201306/inventory_service/update_ad_units.rb +96 -0
  465. data/examples/v201306/label_service/create_labels.rb +83 -0
  466. data/examples/v201306/label_service/deactivate_labels.rb +118 -0
  467. data/examples/v201306/label_service/get_all_labels.rb +95 -0
  468. data/examples/v201306/label_service/get_label.rb +76 -0
  469. data/examples/v201306/label_service/get_labels_by_statement.rb +81 -0
  470. data/examples/v201306/label_service/update_labels.rb +102 -0
  471. data/examples/v201306/line_item_creative_association_service/create_licas.rb +94 -0
  472. data/examples/v201306/line_item_creative_association_service/deactivate_licas.rb +127 -0
  473. data/examples/v201306/line_item_creative_association_service/get_all_licas.rb +98 -0
  474. data/examples/v201306/line_item_creative_association_service/get_lica.rb +77 -0
  475. data/examples/v201306/line_item_creative_association_service/get_licas_by_statement.rb +91 -0
  476. data/examples/v201306/line_item_creative_association_service/update_licas.rb +91 -0
  477. data/examples/v201306/line_item_service/activate_line_items.rb +131 -0
  478. data/examples/v201306/line_item_service/create_line_items.rb +177 -0
  479. data/examples/v201306/line_item_service/create_mobile_line_item.rb +135 -0
  480. data/examples/v201306/line_item_service/create_video_line_item.rb +158 -0
  481. data/examples/v201306/line_item_service/get_all_line_items.rb +94 -0
  482. data/examples/v201306/line_item_service/get_line_item.rb +74 -0
  483. data/examples/v201306/line_item_service/get_line_items_by_statement.rb +93 -0
  484. data/examples/v201306/line_item_service/get_recently_updated_line_items.rb +98 -0
  485. data/examples/v201306/line_item_service/target_custom_criteria.rb +129 -0
  486. data/examples/v201306/line_item_service/update_line_items.rb +109 -0
  487. data/examples/v201306/network_service/get_all_networks.rb +74 -0
  488. data/examples/v201306/network_service/get_current_network.rb +66 -0
  489. data/examples/v201306/network_service/make_test_network.rb +79 -0
  490. data/examples/v201306/order_service/approve_orders.rb +122 -0
  491. data/examples/v201306/order_service/create_orders.rb +92 -0
  492. data/examples/v201306/order_service/get_all_orders.rb +93 -0
  493. data/examples/v201306/order_service/get_order.rb +74 -0
  494. data/examples/v201306/order_service/get_orders_by_statement.rb +90 -0
  495. data/examples/v201306/order_service/update_orders.rb +97 -0
  496. data/examples/v201306/placement_service/create_placements.rb +131 -0
  497. data/examples/v201306/placement_service/deactivate_placements.rb +118 -0
  498. data/examples/v201306/placement_service/get_all_placements.rb +93 -0
  499. data/examples/v201306/placement_service/get_placement.rb +74 -0
  500. data/examples/v201306/placement_service/get_placements_by_statement.rb +86 -0
  501. data/examples/v201306/placement_service/update_placements.rb +97 -0
  502. data/examples/v201306/publisher_query_language_service/get_all_cities.rb +104 -0
  503. data/examples/v201306/report_service/display_report.rb +81 -0
  504. data/examples/v201306/report_service/download_report.rb +81 -0
  505. data/examples/v201306/report_service/run_delivery_report.rb +103 -0
  506. data/examples/v201306/report_service/run_inventory_report.rb +96 -0
  507. data/examples/v201306/report_service/run_merged_delivery_report.rb +94 -0
  508. data/examples/v201306/report_service/run_reach_report.rb +87 -0
  509. data/examples/v201306/report_service/run_report_with_custom_fields.rb +135 -0
  510. data/examples/v201306/report_service/run_sales_report.rb +92 -0
  511. data/examples/v201306/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +109 -0
  512. data/examples/v201306/suggested_ad_unit_service/get_all_suggested_ad_units.rb +96 -0
  513. data/examples/v201306/suggested_ad_unit_service/get_suggested_ad_unit.rb +75 -0
  514. data/examples/v201306/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +92 -0
  515. data/examples/v201306/team_service/create_teams.rb +83 -0
  516. data/examples/v201306/team_service/get_all_teams.rb +92 -0
  517. data/examples/v201306/team_service/get_team.rb +74 -0
  518. data/examples/v201306/team_service/get_teams_by_statement.rb +78 -0
  519. data/examples/v201306/team_service/update_teams.rb +97 -0
  520. data/examples/v201306/user_service/create_users.rb +89 -0
  521. data/examples/v201306/user_service/deactivate_users.rb +97 -0
  522. data/examples/v201306/user_service/get_all_roles.rb +73 -0
  523. data/examples/v201306/user_service/get_all_users.rb +93 -0
  524. data/examples/v201306/user_service/get_current_user.rb +66 -0
  525. data/examples/v201306/user_service/get_user.rb +73 -0
  526. data/examples/v201306/user_service/get_users_by_statement.rb +79 -0
  527. data/examples/v201306/user_service/update_users.rb +89 -0
  528. data/examples/v201306/user_team_association_service/create_user_team_associations.rb +86 -0
  529. data/examples/v201306/user_team_association_service/delete_user_team_associations.rb +111 -0
  530. data/examples/v201306/user_team_association_service/get_all_user_team_associations.rb +94 -0
  531. data/examples/v201306/user_team_association_service/get_user_team_association.rb +76 -0
  532. data/examples/v201306/user_team_association_service/get_user_team_associations_by_statement.rb +94 -0
  533. data/examples/v201306/user_team_association_service/update_user_team_associations.rb +102 -0
  534. data/examples/v201308/activity_group_service/create_activity_groups.rb +94 -0
  535. data/examples/v201308/activity_group_service/get_active_activity_groups.rb +100 -0
  536. data/examples/v201308/activity_group_service/get_all_activity_groups.rb +95 -0
  537. data/examples/v201308/activity_group_service/update_activity_groups.rb +87 -0
  538. data/examples/v201308/activity_service/create_activities.rb +91 -0
  539. data/examples/v201308/activity_service/get_active_activities.rb +107 -0
  540. data/examples/v201308/activity_service/get_all_activities.rb +144 -0
  541. data/examples/v201308/activity_service/update_activities.rb +85 -0
  542. data/examples/v201308/audience_segment_service/create_audience_segments.rb +118 -0
  543. data/examples/v201308/audience_segment_service/get_all_audience_segments.rb +94 -0
  544. data/examples/v201308/audience_segment_service/get_first_party_audience_segments.rb +99 -0
  545. data/examples/v201308/audience_segment_service/populate_first_party_audience_segments.rb +101 -0
  546. data/examples/v201308/audience_segment_service/update_audience_segments.rb +98 -0
  547. data/examples/v201308/common/error_handling.rb +76 -0
  548. data/examples/v201308/company_service/create_companies.rb +81 -0
  549. data/examples/v201308/company_service/get_all_companies.rb +92 -0
  550. data/examples/v201308/company_service/get_companies_by_statement.rb +88 -0
  551. data/examples/v201308/company_service/get_company.rb +72 -0
  552. data/examples/v201308/company_service/update_companies.rb +102 -0
  553. data/examples/v201308/contact_service/create_contacts.rb +95 -0
  554. data/examples/v201308/contact_service/get_all_contacts.rb +92 -0
  555. data/examples/v201308/contact_service/get_uninvited_contacts.rb +102 -0
  556. data/examples/v201308/contact_service/update_contacts.rb +84 -0
  557. data/examples/v201308/content_service/get_all_content.rb +94 -0
  558. data/examples/v201308/content_service/get_content_by_category.rb +143 -0
  559. data/examples/v201308/creative_service/copy_image_creatives.rb +115 -0
  560. data/examples/v201308/creative_service/create_creative_from_template.rb +139 -0
  561. data/examples/v201308/creative_service/create_creatives.rb +112 -0
  562. data/examples/v201308/creative_service/create_custom_creative.rb +104 -0
  563. data/examples/v201308/creative_service/get_all_creatives.rb +93 -0
  564. data/examples/v201308/creative_service/get_creative.rb +72 -0
  565. data/examples/v201308/creative_service/get_creatives_by_statement.rb +87 -0
  566. data/examples/v201308/creative_service/update_creatives.rb +96 -0
  567. data/examples/v201308/creative_set_service/associate_creative_set_to_line_item.rb +77 -0
  568. data/examples/v201308/creative_set_service/create_creative_set.rb +83 -0
  569. data/examples/v201308/creative_set_service/get_all_creative_sets.rb +94 -0
  570. data/examples/v201308/creative_set_service/get_creative_sets_by_statement.rb +90 -0
  571. data/examples/v201308/creative_set_service/update_creative_sets.rb +85 -0
  572. data/examples/v201308/creative_template_service/get_all_creative_templates.rb +94 -0
  573. data/examples/v201308/creative_template_service/get_creative_template.rb +74 -0
  574. data/examples/v201308/creative_template_service/get_creative_templates_by_statement.rb +80 -0
  575. data/examples/v201308/creative_wrapper_service/create_creative_wrappers.rb +89 -0
  576. data/examples/v201308/creative_wrapper_service/deactivate_creative_wrapper.rb +102 -0
  577. data/examples/v201308/creative_wrapper_service/get_all_creative_wrappers.rb +94 -0
  578. data/examples/v201308/creative_wrapper_service/get_creative_wrappers_by_statement.rb +88 -0
  579. data/examples/v201308/creative_wrapper_service/update_creative_wrappers.rb +86 -0
  580. data/examples/v201308/custom_field_service/create_custom_field_options.rb +87 -0
  581. data/examples/v201308/custom_field_service/create_custom_fields.rb +86 -0
  582. data/examples/v201308/custom_field_service/deactivate_all_line_item_custom_fields.rb +112 -0
  583. data/examples/v201308/custom_field_service/get_all_custom_fields.rb +102 -0
  584. data/examples/v201308/custom_field_service/get_all_line_item_custom_fields.rb +86 -0
  585. data/examples/v201308/custom_field_service/set_line_item_custom_field_value.rb +135 -0
  586. data/examples/v201308/custom_field_service/update_custom_fields.rb +84 -0
  587. data/examples/v201308/custom_targeting_service/create_custom_targeting_keys_and_values.rb +140 -0
  588. data/examples/v201308/custom_targeting_service/delete_custom_targeting_keys.rb +121 -0
  589. data/examples/v201308/custom_targeting_service/delete_custom_targeting_values.rb +125 -0
  590. data/examples/v201308/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +148 -0
  591. data/examples/v201308/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +92 -0
  592. data/examples/v201308/custom_targeting_service/get_custom_targeting_values_by_statement.rb +98 -0
  593. data/examples/v201308/custom_targeting_service/update_custom_targeting_keys.rb +94 -0
  594. data/examples/v201308/custom_targeting_service/update_custom_targeting_values.rb +106 -0
  595. data/examples/v201308/forecast_service/get_forecast.rb +108 -0
  596. data/examples/v201308/forecast_service/get_forecast_by_id.rb +81 -0
  597. data/examples/v201308/inventory_service/create_ad_units.rb +101 -0
  598. data/examples/v201308/inventory_service/create_mobile_ad_unit.rb +101 -0
  599. data/examples/v201308/inventory_service/create_video_ad_unit.rb +108 -0
  600. data/examples/v201308/inventory_service/deactivate_ad_units.rb +119 -0
  601. data/examples/v201308/inventory_service/get_ad_unit.rb +72 -0
  602. data/examples/v201308/inventory_service/get_ad_unit_sizes.rb +85 -0
  603. data/examples/v201308/inventory_service/get_ad_units_by_statement.rb +96 -0
  604. data/examples/v201308/inventory_service/get_all_ad_units.rb +93 -0
  605. data/examples/v201308/inventory_service/update_ad_units.rb +96 -0
  606. data/examples/v201308/label_service/create_labels.rb +83 -0
  607. data/examples/v201308/label_service/deactivate_labels.rb +118 -0
  608. data/examples/v201308/label_service/get_all_labels.rb +95 -0
  609. data/examples/v201308/label_service/get_label.rb +76 -0
  610. data/examples/v201308/label_service/get_labels_by_statement.rb +81 -0
  611. data/examples/v201308/label_service/update_labels.rb +102 -0
  612. data/examples/v201308/line_item_creative_association_service/create_licas.rb +94 -0
  613. data/examples/v201308/line_item_creative_association_service/deactivate_licas.rb +127 -0
  614. data/examples/v201308/line_item_creative_association_service/get_all_licas.rb +98 -0
  615. data/examples/v201308/line_item_creative_association_service/get_lica.rb +77 -0
  616. data/examples/v201308/line_item_creative_association_service/get_licas_by_statement.rb +91 -0
  617. data/examples/v201308/line_item_creative_association_service/update_licas.rb +91 -0
  618. data/examples/v201308/line_item_service/activate_line_items.rb +131 -0
  619. data/examples/v201308/line_item_service/create_line_items.rb +177 -0
  620. data/examples/v201308/line_item_service/create_mobile_line_item.rb +135 -0
  621. data/examples/v201308/line_item_service/create_video_line_item.rb +158 -0
  622. data/examples/v201308/line_item_service/get_all_line_items.rb +94 -0
  623. data/examples/v201308/line_item_service/get_line_item.rb +74 -0
  624. data/examples/v201308/line_item_service/get_line_items_by_statement.rb +93 -0
  625. data/examples/v201308/line_item_service/get_recently_updated_line_items.rb +98 -0
  626. data/examples/v201308/line_item_service/target_custom_criteria.rb +129 -0
  627. data/examples/v201308/line_item_service/update_line_items.rb +109 -0
  628. data/examples/v201308/network_service/get_all_networks.rb +74 -0
  629. data/examples/v201308/network_service/get_current_network.rb +66 -0
  630. data/examples/v201308/network_service/make_test_network.rb +79 -0
  631. data/examples/v201308/order_service/approve_orders.rb +122 -0
  632. data/examples/v201308/order_service/create_orders.rb +92 -0
  633. data/examples/v201308/order_service/get_all_orders.rb +93 -0
  634. data/examples/v201308/order_service/get_order.rb +74 -0
  635. data/examples/v201308/order_service/get_orders_by_statement.rb +90 -0
  636. data/examples/v201308/order_service/update_orders.rb +97 -0
  637. data/examples/v201308/placement_service/create_placements.rb +131 -0
  638. data/examples/v201308/placement_service/deactivate_placements.rb +118 -0
  639. data/examples/v201308/placement_service/get_all_placements.rb +93 -0
  640. data/examples/v201308/placement_service/get_placement.rb +74 -0
  641. data/examples/v201308/placement_service/get_placements_by_statement.rb +86 -0
  642. data/examples/v201308/placement_service/update_placements.rb +97 -0
  643. data/examples/v201308/publisher_query_language_service/get_all_line_items.rb +100 -0
  644. data/examples/v201308/publisher_query_language_service/get_geo_targets.rb +102 -0
  645. data/examples/v201308/publisher_query_language_service/get_line_items_named_like.rb +100 -0
  646. data/examples/v201308/report_service/display_report.rb +81 -0
  647. data/examples/v201308/report_service/download_report.rb +81 -0
  648. data/examples/v201308/report_service/run_delivery_report.rb +103 -0
  649. data/examples/v201308/report_service/run_inventory_report.rb +96 -0
  650. data/examples/v201308/report_service/run_merged_delivery_report.rb +94 -0
  651. data/examples/v201308/report_service/run_reach_report.rb +87 -0
  652. data/examples/v201308/report_service/run_report_with_custom_fields.rb +135 -0
  653. data/examples/v201308/report_service/run_sales_report.rb +92 -0
  654. data/examples/v201308/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +109 -0
  655. data/examples/v201308/suggested_ad_unit_service/get_all_suggested_ad_units.rb +96 -0
  656. data/examples/v201308/suggested_ad_unit_service/get_suggested_ad_unit.rb +75 -0
  657. data/examples/v201308/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +92 -0
  658. data/examples/v201308/team_service/create_teams.rb +83 -0
  659. data/examples/v201308/team_service/get_all_teams.rb +92 -0
  660. data/examples/v201308/team_service/get_team.rb +74 -0
  661. data/examples/v201308/team_service/get_teams_by_statement.rb +78 -0
  662. data/examples/v201308/team_service/update_teams.rb +97 -0
  663. data/examples/v201308/user_service/create_users.rb +89 -0
  664. data/examples/v201308/user_service/deactivate_users.rb +97 -0
  665. data/examples/v201308/user_service/get_all_roles.rb +73 -0
  666. data/examples/v201308/user_service/get_all_users.rb +93 -0
  667. data/examples/v201308/user_service/get_current_user.rb +66 -0
  668. data/examples/v201308/user_service/get_user.rb +73 -0
  669. data/examples/v201308/user_service/get_users_by_statement.rb +79 -0
  670. data/examples/v201308/user_service/update_users.rb +89 -0
  671. data/examples/v201308/user_team_association_service/create_user_team_associations.rb +86 -0
  672. data/examples/v201308/user_team_association_service/delete_user_team_associations.rb +111 -0
  673. data/examples/v201308/user_team_association_service/get_all_user_team_associations.rb +94 -0
  674. data/examples/v201308/user_team_association_service/get_user_team_association.rb +76 -0
  675. data/examples/v201308/user_team_association_service/get_user_team_associations_by_statement.rb +94 -0
  676. data/examples/v201308/user_team_association_service/update_user_team_associations.rb +102 -0
  677. data/examples/v201405/activity_group_service/create_activity_groups.rb +94 -0
  678. data/examples/v201405/activity_group_service/get_active_activity_groups.rb +100 -0
  679. data/examples/v201405/activity_group_service/get_all_activity_groups.rb +95 -0
  680. data/examples/v201405/activity_group_service/update_activity_groups.rb +96 -0
  681. data/examples/v201405/activity_service/create_activities.rb +91 -0
  682. data/examples/v201405/activity_service/get_active_activities.rb +103 -0
  683. data/examples/v201405/activity_service/get_all_activities.rb +96 -0
  684. data/examples/v201405/activity_service/update_activities.rb +99 -0
  685. data/examples/v201405/audience_segment_service/create_audience_segments.rb +118 -0
  686. data/examples/v201405/audience_segment_service/get_all_audience_segments.rb +94 -0
  687. data/examples/v201405/audience_segment_service/get_first_party_audience_segments.rb +99 -0
  688. data/examples/v201405/audience_segment_service/populate_first_party_audience_segments.rb +102 -0
  689. data/examples/v201405/audience_segment_service/update_audience_segments.rb +98 -0
  690. data/examples/v201405/common/error_handling.rb +76 -0
  691. data/examples/v201405/common/oauth2_jwt_handling.rb +111 -0
  692. data/examples/v201405/common/setup_oauth2.rb +89 -0
  693. data/examples/v201405/company_service/create_companies.rb +81 -0
  694. data/examples/v201405/company_service/get_all_companies.rb +92 -0
  695. data/examples/v201405/company_service/get_companies_by_statement.rb +88 -0
  696. data/examples/v201405/company_service/update_companies.rb +105 -0
  697. data/examples/v201405/contact_service/create_contacts.rb +95 -0
  698. data/examples/v201405/contact_service/get_all_contacts.rb +92 -0
  699. data/examples/v201405/contact_service/get_uninvited_contacts.rb +102 -0
  700. data/examples/v201405/contact_service/update_contacts.rb +98 -0
  701. data/examples/v201405/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +96 -0
  702. data/examples/v201405/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +103 -0
  703. data/examples/v201405/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +99 -0
  704. data/examples/v201405/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +113 -0
  705. data/examples/v201405/content_service/get_all_content.rb +94 -0
  706. data/examples/v201405/content_service/get_content_by_category.rb +143 -0
  707. data/examples/v201405/creative_service/copy_image_creatives.rb +115 -0
  708. data/examples/v201405/creative_service/create_creative_from_template.rb +139 -0
  709. data/examples/v201405/creative_service/create_creatives.rb +112 -0
  710. data/examples/v201405/creative_service/create_custom_creative.rb +104 -0
  711. data/examples/v201405/creative_service/get_all_creatives.rb +93 -0
  712. data/examples/v201405/creative_service/get_creatives_by_statement.rb +87 -0
  713. data/examples/v201405/creative_service/update_creatives.rb +96 -0
  714. data/examples/v201405/creative_set_service/associate_creative_set_to_line_item.rb +77 -0
  715. data/examples/v201405/creative_set_service/create_creative_set.rb +83 -0
  716. data/examples/v201405/creative_set_service/get_all_creative_sets.rb +94 -0
  717. data/examples/v201405/creative_set_service/get_creative_sets_by_statement.rb +90 -0
  718. data/examples/v201405/creative_set_service/update_creative_sets.rb +100 -0
  719. data/examples/v201405/creative_template_service/get_all_creative_templates.rb +94 -0
  720. data/examples/v201405/creative_template_service/get_creative_template.rb +74 -0
  721. data/examples/v201405/creative_template_service/get_creative_templates_by_statement.rb +80 -0
  722. data/examples/v201405/creative_wrapper_service/create_creative_wrappers.rb +89 -0
  723. data/examples/v201405/creative_wrapper_service/deactivate_creative_wrapper.rb +102 -0
  724. data/examples/v201405/creative_wrapper_service/get_all_creative_wrappers.rb +94 -0
  725. data/examples/v201405/creative_wrapper_service/get_creative_wrappers_by_statement.rb +88 -0
  726. data/examples/v201405/creative_wrapper_service/update_creative_wrappers.rb +101 -0
  727. data/examples/v201405/custom_field_service/create_custom_field_options.rb +87 -0
  728. data/examples/v201405/custom_field_service/create_custom_fields.rb +86 -0
  729. data/examples/v201405/custom_field_service/deactivate_all_line_item_custom_fields.rb +112 -0
  730. data/examples/v201405/custom_field_service/get_all_custom_fields.rb +102 -0
  731. data/examples/v201405/custom_field_service/get_all_line_item_custom_fields.rb +86 -0
  732. data/examples/v201405/custom_field_service/set_line_item_custom_field_value.rb +178 -0
  733. data/examples/v201405/custom_field_service/update_custom_fields.rb +99 -0
  734. data/examples/v201405/custom_targeting_service/create_custom_targeting_keys_and_values.rb +140 -0
  735. data/examples/v201405/custom_targeting_service/delete_custom_targeting_keys.rb +121 -0
  736. data/examples/v201405/custom_targeting_service/delete_custom_targeting_values.rb +125 -0
  737. data/examples/v201405/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +148 -0
  738. data/examples/v201405/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +92 -0
  739. data/examples/v201405/custom_targeting_service/get_custom_targeting_values_by_statement.rb +98 -0
  740. data/examples/v201405/custom_targeting_service/update_custom_targeting_keys.rb +94 -0
  741. data/examples/v201405/custom_targeting_service/update_custom_targeting_values.rb +106 -0
  742. data/examples/v201405/forecast_service/get_forecast.rb +110 -0
  743. data/examples/v201405/forecast_service/get_forecast_by_id.rb +81 -0
  744. data/examples/v201405/inventory_service/create_ad_units.rb +101 -0
  745. data/examples/v201405/inventory_service/create_mobile_ad_unit.rb +101 -0
  746. data/examples/v201405/inventory_service/create_video_ad_unit.rb +108 -0
  747. data/examples/v201405/inventory_service/deactivate_ad_units.rb +119 -0
  748. data/examples/v201405/inventory_service/get_ad_unit_sizes.rb +85 -0
  749. data/examples/v201405/inventory_service/get_ad_units_by_statement.rb +96 -0
  750. data/examples/v201405/inventory_service/get_all_ad_units.rb +93 -0
  751. data/examples/v201405/inventory_service/update_ad_units.rb +96 -0
  752. data/examples/v201405/label_service/create_labels.rb +83 -0
  753. data/examples/v201405/label_service/deactivate_labels.rb +118 -0
  754. data/examples/v201405/label_service/get_all_labels.rb +95 -0
  755. data/examples/v201405/label_service/get_labels_by_statement.rb +81 -0
  756. data/examples/v201405/label_service/update_labels.rb +102 -0
  757. data/examples/v201405/line_item_creative_association_service/create_licas.rb +94 -0
  758. data/examples/v201405/line_item_creative_association_service/deactivate_licas.rb +127 -0
  759. data/examples/v201405/line_item_creative_association_service/get_all_licas.rb +98 -0
  760. data/examples/v201405/line_item_creative_association_service/get_licas_by_statement.rb +91 -0
  761. data/examples/v201405/line_item_creative_association_service/update_licas.rb +91 -0
  762. data/examples/v201405/line_item_service/activate_line_items.rb +131 -0
  763. data/examples/v201405/line_item_service/create_line_items.rb +179 -0
  764. data/examples/v201405/line_item_service/create_video_line_item.rb +158 -0
  765. data/examples/v201405/line_item_service/get_all_line_items.rb +94 -0
  766. data/examples/v201405/line_item_service/get_line_items_by_statement.rb +93 -0
  767. data/examples/v201405/line_item_service/get_recently_updated_line_items.rb +98 -0
  768. data/examples/v201405/line_item_service/target_custom_criteria.rb +143 -0
  769. data/examples/v201405/line_item_service/update_line_items.rb +109 -0
  770. data/examples/v201405/network_service/get_all_networks.rb +74 -0
  771. data/examples/v201405/network_service/get_current_network.rb +66 -0
  772. data/examples/v201405/network_service/make_test_network.rb +79 -0
  773. data/examples/v201405/order_service/approve_orders.rb +122 -0
  774. data/examples/v201405/order_service/create_orders.rb +92 -0
  775. data/examples/v201405/order_service/get_all_orders.rb +93 -0
  776. data/examples/v201405/order_service/get_orders_by_statement.rb +90 -0
  777. data/examples/v201405/order_service/update_orders.rb +97 -0
  778. data/examples/v201405/placement_service/create_placements.rb +131 -0
  779. data/examples/v201405/placement_service/deactivate_placements.rb +118 -0
  780. data/examples/v201405/placement_service/get_all_placements.rb +93 -0
  781. data/examples/v201405/placement_service/get_placements_by_statement.rb +86 -0
  782. data/examples/v201405/placement_service/update_placements.rb +97 -0
  783. data/examples/v201405/publisher_query_language_service/fetch_match_tables.rb +114 -0
  784. data/examples/v201405/publisher_query_language_service/get_all_line_items.rb +100 -0
  785. data/examples/v201405/publisher_query_language_service/get_geo_targets.rb +102 -0
  786. data/examples/v201405/publisher_query_language_service/get_line_items_named_like.rb +100 -0
  787. data/examples/v201405/report_service/display_report.rb +81 -0
  788. data/examples/v201405/report_service/download_report.rb +81 -0
  789. data/examples/v201405/report_service/run_delivery_report.rb +103 -0
  790. data/examples/v201405/report_service/run_inventory_report.rb +112 -0
  791. data/examples/v201405/report_service/run_merged_delivery_report.rb +94 -0
  792. data/examples/v201405/report_service/run_reach_report.rb +87 -0
  793. data/examples/v201405/report_service/run_report_with_custom_fields.rb +135 -0
  794. data/examples/v201405/report_service/run_sales_report.rb +92 -0
  795. data/examples/v201405/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +109 -0
  796. data/examples/v201405/suggested_ad_unit_service/get_all_suggested_ad_units.rb +96 -0
  797. data/examples/v201405/suggested_ad_unit_service/get_suggested_ad_unit.rb +75 -0
  798. data/examples/v201405/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +92 -0
  799. data/examples/v201405/team_service/create_teams.rb +83 -0
  800. data/examples/v201405/team_service/get_all_teams.rb +92 -0
  801. data/examples/v201405/team_service/get_teams_by_statement.rb +78 -0
  802. data/examples/v201405/team_service/update_teams.rb +97 -0
  803. data/examples/v201405/user_service/create_users.rb +89 -0
  804. data/examples/v201405/user_service/deactivate_users.rb +97 -0
  805. data/examples/v201405/user_service/get_all_roles.rb +73 -0
  806. data/examples/v201405/user_service/get_all_users.rb +93 -0
  807. data/examples/v201405/user_service/get_current_user.rb +66 -0
  808. data/examples/v201405/user_service/get_users_by_statement.rb +79 -0
  809. data/examples/v201405/user_service/update_users.rb +89 -0
  810. data/examples/v201405/user_team_association_service/create_user_team_associations.rb +86 -0
  811. data/examples/v201405/user_team_association_service/delete_user_team_associations.rb +111 -0
  812. data/examples/v201405/user_team_association_service/get_all_user_team_associations.rb +94 -0
  813. data/examples/v201405/user_team_association_service/get_user_team_associations_by_statement.rb +94 -0
  814. data/examples/v201405/user_team_association_service/update_user_team_associations.rb +102 -0
  815. data/lib/dfp_api.rb +1 -1
  816. data/lib/dfp_api/api_config.rb +25 -3
  817. data/lib/dfp_api/v201208/audience_segment_service.rb +1 -1
  818. data/lib/dfp_api/v201208/audience_segment_service_registry.rb +1 -1
  819. data/lib/dfp_api/v201208/company_service.rb +1 -1
  820. data/lib/dfp_api/v201208/company_service_registry.rb +1 -1
  821. data/lib/dfp_api/v201208/content_service.rb +1 -1
  822. data/lib/dfp_api/v201208/content_service_registry.rb +1 -1
  823. data/lib/dfp_api/v201208/creative_service.rb +1 -1
  824. data/lib/dfp_api/v201208/creative_service_registry.rb +2 -2
  825. data/lib/dfp_api/v201208/creative_set_service.rb +1 -1
  826. data/lib/dfp_api/v201208/creative_set_service_registry.rb +2 -2
  827. data/lib/dfp_api/v201208/creative_template_service.rb +1 -1
  828. data/lib/dfp_api/v201208/creative_template_service_registry.rb +1 -1
  829. data/lib/dfp_api/v201208/custom_field_service.rb +1 -1
  830. data/lib/dfp_api/v201208/custom_field_service_registry.rb +1 -1
  831. data/lib/dfp_api/v201208/custom_targeting_service.rb +1 -1
  832. data/lib/dfp_api/v201208/custom_targeting_service_registry.rb +1 -1
  833. data/lib/dfp_api/v201208/forecast_service.rb +1 -1
  834. data/lib/dfp_api/v201208/forecast_service_registry.rb +1 -1
  835. data/lib/dfp_api/v201208/inventory_service.rb +1 -1
  836. data/lib/dfp_api/v201208/inventory_service_registry.rb +1 -1
  837. data/lib/dfp_api/v201208/label_service.rb +1 -1
  838. data/lib/dfp_api/v201208/label_service_registry.rb +1 -1
  839. data/lib/dfp_api/v201208/line_item_creative_association_service.rb +1 -1
  840. data/lib/dfp_api/v201208/line_item_creative_association_service_registry.rb +2 -2
  841. data/lib/dfp_api/v201208/line_item_service.rb +1 -1
  842. data/lib/dfp_api/v201208/line_item_service_registry.rb +1 -1
  843. data/lib/dfp_api/v201208/network_service.rb +1 -1
  844. data/lib/dfp_api/v201208/network_service_registry.rb +1 -1
  845. data/lib/dfp_api/v201208/order_service.rb +1 -1
  846. data/lib/dfp_api/v201208/order_service_registry.rb +2 -2
  847. data/lib/dfp_api/v201208/placement_service.rb +1 -1
  848. data/lib/dfp_api/v201208/placement_service_registry.rb +1 -1
  849. data/lib/dfp_api/v201208/publisher_query_language_service.rb +1 -1
  850. data/lib/dfp_api/v201208/publisher_query_language_service_registry.rb +1 -1
  851. data/lib/dfp_api/v201208/report_service.rb +1 -1
  852. data/lib/dfp_api/v201208/report_service_registry.rb +1 -1
  853. data/lib/dfp_api/v201208/suggested_ad_unit_service.rb +1 -1
  854. data/lib/dfp_api/v201208/suggested_ad_unit_service_registry.rb +1 -1
  855. data/lib/dfp_api/v201208/team_service.rb +1 -1
  856. data/lib/dfp_api/v201208/team_service_registry.rb +1 -1
  857. data/lib/dfp_api/v201208/third_party_slot_service.rb +1 -1
  858. data/lib/dfp_api/v201208/third_party_slot_service_registry.rb +1 -1
  859. data/lib/dfp_api/v201208/user_service.rb +1 -1
  860. data/lib/dfp_api/v201208/user_service_registry.rb +1 -1
  861. data/lib/dfp_api/v201208/user_team_association_service.rb +1 -1
  862. data/lib/dfp_api/v201208/user_team_association_service_registry.rb +1 -1
  863. data/lib/dfp_api/v201211/audience_segment_service.rb +1 -1
  864. data/lib/dfp_api/v201211/audience_segment_service_registry.rb +1 -1
  865. data/lib/dfp_api/v201211/company_service.rb +1 -1
  866. data/lib/dfp_api/v201211/company_service_registry.rb +1 -1
  867. data/lib/dfp_api/v201211/content_service.rb +1 -1
  868. data/lib/dfp_api/v201211/content_service_registry.rb +1 -1
  869. data/lib/dfp_api/v201211/creative_service.rb +1 -1
  870. data/lib/dfp_api/v201211/creative_service_registry.rb +2 -2
  871. data/lib/dfp_api/v201211/creative_set_service.rb +1 -1
  872. data/lib/dfp_api/v201211/creative_set_service_registry.rb +2 -2
  873. data/lib/dfp_api/v201211/creative_template_service.rb +1 -1
  874. data/lib/dfp_api/v201211/creative_template_service_registry.rb +1 -1
  875. data/lib/dfp_api/v201211/creative_wrapper_service.rb +1 -1
  876. data/lib/dfp_api/v201211/creative_wrapper_service_registry.rb +1 -1
  877. data/lib/dfp_api/v201211/custom_field_service.rb +1 -1
  878. data/lib/dfp_api/v201211/custom_field_service_registry.rb +1 -1
  879. data/lib/dfp_api/v201211/custom_targeting_service.rb +1 -1
  880. data/lib/dfp_api/v201211/custom_targeting_service_registry.rb +1 -1
  881. data/lib/dfp_api/v201211/forecast_service.rb +1 -1
  882. data/lib/dfp_api/v201211/forecast_service_registry.rb +1 -1
  883. data/lib/dfp_api/v201211/inventory_service.rb +1 -1
  884. data/lib/dfp_api/v201211/inventory_service_registry.rb +1 -1
  885. data/lib/dfp_api/v201211/label_service.rb +1 -1
  886. data/lib/dfp_api/v201211/label_service_registry.rb +1 -1
  887. data/lib/dfp_api/v201211/line_item_creative_association_service.rb +1 -1
  888. data/lib/dfp_api/v201211/line_item_creative_association_service_registry.rb +2 -2
  889. data/lib/dfp_api/v201211/line_item_service.rb +1 -1
  890. data/lib/dfp_api/v201211/line_item_service_registry.rb +1 -1
  891. data/lib/dfp_api/v201211/network_service.rb +1 -1
  892. data/lib/dfp_api/v201211/network_service_registry.rb +1 -1
  893. data/lib/dfp_api/v201211/order_service.rb +1 -1
  894. data/lib/dfp_api/v201211/order_service_registry.rb +2 -2
  895. data/lib/dfp_api/v201211/placement_service.rb +1 -1
  896. data/lib/dfp_api/v201211/placement_service_registry.rb +1 -1
  897. data/lib/dfp_api/v201211/publisher_query_language_service.rb +1 -1
  898. data/lib/dfp_api/v201211/publisher_query_language_service_registry.rb +1 -1
  899. data/lib/dfp_api/v201211/report_service.rb +1 -1
  900. data/lib/dfp_api/v201211/report_service_registry.rb +1 -1
  901. data/lib/dfp_api/v201211/suggested_ad_unit_service.rb +1 -1
  902. data/lib/dfp_api/v201211/suggested_ad_unit_service_registry.rb +1 -1
  903. data/lib/dfp_api/v201211/team_service.rb +1 -1
  904. data/lib/dfp_api/v201211/team_service_registry.rb +1 -1
  905. data/lib/dfp_api/v201211/third_party_slot_service.rb +1 -1
  906. data/lib/dfp_api/v201211/third_party_slot_service_registry.rb +1 -1
  907. data/lib/dfp_api/v201211/user_service.rb +1 -1
  908. data/lib/dfp_api/v201211/user_service_registry.rb +1 -1
  909. data/lib/dfp_api/v201211/user_team_association_service.rb +1 -1
  910. data/lib/dfp_api/v201211/user_team_association_service_registry.rb +1 -1
  911. data/lib/dfp_api/v201302/activity_group_service.rb +1 -1
  912. data/lib/dfp_api/v201302/activity_group_service_registry.rb +1 -1
  913. data/lib/dfp_api/v201302/activity_service.rb +1 -1
  914. data/lib/dfp_api/v201302/activity_service_registry.rb +1 -1
  915. data/lib/dfp_api/v201302/ad_rule_service.rb +1 -1
  916. data/lib/dfp_api/v201302/ad_rule_service_registry.rb +1 -1
  917. data/lib/dfp_api/v201302/audience_segment_service.rb +1 -1
  918. data/lib/dfp_api/v201302/audience_segment_service_registry.rb +1 -1
  919. data/lib/dfp_api/v201302/company_service.rb +1 -1
  920. data/lib/dfp_api/v201302/company_service_registry.rb +1 -1
  921. data/lib/dfp_api/v201302/contact_service.rb +1 -1
  922. data/lib/dfp_api/v201302/contact_service_registry.rb +1 -1
  923. data/lib/dfp_api/v201302/content_bundle_service.rb +1 -1
  924. data/lib/dfp_api/v201302/content_bundle_service_registry.rb +1 -1
  925. data/lib/dfp_api/v201302/content_service.rb +1 -1
  926. data/lib/dfp_api/v201302/content_service_registry.rb +1 -1
  927. data/lib/dfp_api/v201302/creative_service.rb +1 -1
  928. data/lib/dfp_api/v201302/creative_service_registry.rb +2 -2
  929. data/lib/dfp_api/v201302/creative_set_service.rb +1 -1
  930. data/lib/dfp_api/v201302/creative_set_service_registry.rb +2 -2
  931. data/lib/dfp_api/v201302/creative_template_service.rb +1 -1
  932. data/lib/dfp_api/v201302/creative_template_service_registry.rb +1 -1
  933. data/lib/dfp_api/v201302/creative_wrapper_service.rb +1 -1
  934. data/lib/dfp_api/v201302/creative_wrapper_service_registry.rb +1 -1
  935. data/lib/dfp_api/v201302/custom_field_service.rb +1 -1
  936. data/lib/dfp_api/v201302/custom_field_service_registry.rb +1 -1
  937. data/lib/dfp_api/v201302/custom_targeting_service.rb +1 -1
  938. data/lib/dfp_api/v201302/custom_targeting_service_registry.rb +1 -1
  939. data/lib/dfp_api/v201302/forecast_service.rb +1 -1
  940. data/lib/dfp_api/v201302/forecast_service_registry.rb +1 -1
  941. data/lib/dfp_api/v201302/inventory_service.rb +1 -1
  942. data/lib/dfp_api/v201302/inventory_service_registry.rb +1 -1
  943. data/lib/dfp_api/v201302/label_service.rb +1 -1
  944. data/lib/dfp_api/v201302/label_service_registry.rb +1 -1
  945. data/lib/dfp_api/v201302/line_item_creative_association_service.rb +1 -1
  946. data/lib/dfp_api/v201302/line_item_creative_association_service_registry.rb +2 -2
  947. data/lib/dfp_api/v201302/line_item_service.rb +1 -1
  948. data/lib/dfp_api/v201302/line_item_service_registry.rb +1 -1
  949. data/lib/dfp_api/v201302/network_service.rb +1 -1
  950. data/lib/dfp_api/v201302/network_service_registry.rb +1 -1
  951. data/lib/dfp_api/v201302/order_service.rb +1 -1
  952. data/lib/dfp_api/v201302/order_service_registry.rb +2 -2
  953. data/lib/dfp_api/v201302/placement_service.rb +1 -1
  954. data/lib/dfp_api/v201302/placement_service_registry.rb +1 -1
  955. data/lib/dfp_api/v201302/publisher_query_language_service.rb +1 -1
  956. data/lib/dfp_api/v201302/publisher_query_language_service_registry.rb +1 -1
  957. data/lib/dfp_api/v201302/report_service.rb +1 -1
  958. data/lib/dfp_api/v201302/report_service_registry.rb +1 -1
  959. data/lib/dfp_api/v201302/suggested_ad_unit_service.rb +1 -1
  960. data/lib/dfp_api/v201302/suggested_ad_unit_service_registry.rb +1 -1
  961. data/lib/dfp_api/v201302/team_service.rb +1 -1
  962. data/lib/dfp_api/v201302/team_service_registry.rb +1 -1
  963. data/lib/dfp_api/v201302/third_party_slot_service.rb +1 -1
  964. data/lib/dfp_api/v201302/third_party_slot_service_registry.rb +1 -1
  965. data/lib/dfp_api/v201302/user_service.rb +1 -1
  966. data/lib/dfp_api/v201302/user_service_registry.rb +1 -1
  967. data/lib/dfp_api/v201302/user_team_association_service.rb +1 -1
  968. data/lib/dfp_api/v201302/user_team_association_service_registry.rb +1 -1
  969. data/lib/dfp_api/v201306/activity_group_service.rb +1 -1
  970. data/lib/dfp_api/v201306/activity_group_service_registry.rb +1 -1
  971. data/lib/dfp_api/v201306/activity_service.rb +1 -1
  972. data/lib/dfp_api/v201306/activity_service_registry.rb +1 -1
  973. data/lib/dfp_api/v201306/ad_rule_service.rb +1 -1
  974. data/lib/dfp_api/v201306/ad_rule_service_registry.rb +1 -1
  975. data/lib/dfp_api/v201306/audience_segment_service.rb +1 -1
  976. data/lib/dfp_api/v201306/audience_segment_service_registry.rb +1 -1
  977. data/lib/dfp_api/v201306/base_rate_service.rb +1 -1
  978. data/lib/dfp_api/v201306/base_rate_service_registry.rb +1 -1
  979. data/lib/dfp_api/v201306/company_service.rb +1 -1
  980. data/lib/dfp_api/v201306/company_service_registry.rb +1 -1
  981. data/lib/dfp_api/v201306/contact_service.rb +1 -1
  982. data/lib/dfp_api/v201306/contact_service_registry.rb +1 -1
  983. data/lib/dfp_api/v201306/content_bundle_service.rb +1 -1
  984. data/lib/dfp_api/v201306/content_bundle_service_registry.rb +1 -1
  985. data/lib/dfp_api/v201306/content_service.rb +1 -1
  986. data/lib/dfp_api/v201306/content_service_registry.rb +1 -1
  987. data/lib/dfp_api/v201306/creative_service.rb +1 -1
  988. data/lib/dfp_api/v201306/creative_service_registry.rb +2 -2
  989. data/lib/dfp_api/v201306/creative_set_service.rb +1 -1
  990. data/lib/dfp_api/v201306/creative_set_service_registry.rb +2 -2
  991. data/lib/dfp_api/v201306/creative_template_service.rb +1 -1
  992. data/lib/dfp_api/v201306/creative_template_service_registry.rb +1 -1
  993. data/lib/dfp_api/v201306/creative_wrapper_service.rb +1 -1
  994. data/lib/dfp_api/v201306/creative_wrapper_service_registry.rb +1 -1
  995. data/lib/dfp_api/v201306/custom_field_service.rb +1 -1
  996. data/lib/dfp_api/v201306/custom_field_service_registry.rb +1 -1
  997. data/lib/dfp_api/v201306/custom_targeting_service.rb +1 -1
  998. data/lib/dfp_api/v201306/custom_targeting_service_registry.rb +1 -1
  999. data/lib/dfp_api/v201306/forecast_service.rb +1 -1
  1000. data/lib/dfp_api/v201306/forecast_service_registry.rb +1 -1
  1001. data/lib/dfp_api/v201306/inventory_service.rb +1 -1
  1002. data/lib/dfp_api/v201306/inventory_service_registry.rb +1 -1
  1003. data/lib/dfp_api/v201306/label_service.rb +1 -1
  1004. data/lib/dfp_api/v201306/label_service_registry.rb +1 -1
  1005. data/lib/dfp_api/v201306/line_item_creative_association_service.rb +1 -1
  1006. data/lib/dfp_api/v201306/line_item_creative_association_service_registry.rb +2 -2
  1007. data/lib/dfp_api/v201306/line_item_service.rb +1 -1
  1008. data/lib/dfp_api/v201306/line_item_service_registry.rb +1 -1
  1009. data/lib/dfp_api/v201306/line_item_template_service.rb +1 -1
  1010. data/lib/dfp_api/v201306/line_item_template_service_registry.rb +1 -1
  1011. data/lib/dfp_api/v201306/network_service.rb +1 -1
  1012. data/lib/dfp_api/v201306/network_service_registry.rb +1 -1
  1013. data/lib/dfp_api/v201306/order_service.rb +1 -1
  1014. data/lib/dfp_api/v201306/order_service_registry.rb +2 -2
  1015. data/lib/dfp_api/v201306/placement_service.rb +1 -1
  1016. data/lib/dfp_api/v201306/placement_service_registry.rb +1 -1
  1017. data/lib/dfp_api/v201306/product_service.rb +1 -1
  1018. data/lib/dfp_api/v201306/product_service_registry.rb +1 -1
  1019. data/lib/dfp_api/v201306/product_template_service.rb +1 -1
  1020. data/lib/dfp_api/v201306/product_template_service_registry.rb +1 -1
  1021. data/lib/dfp_api/v201306/proposal_line_item_service.rb +1 -1
  1022. data/lib/dfp_api/v201306/proposal_line_item_service_registry.rb +1 -1
  1023. data/lib/dfp_api/v201306/proposal_service.rb +1 -1
  1024. data/lib/dfp_api/v201306/proposal_service_registry.rb +1 -1
  1025. data/lib/dfp_api/v201306/publisher_query_language_service.rb +1 -1
  1026. data/lib/dfp_api/v201306/publisher_query_language_service_registry.rb +1 -1
  1027. data/lib/dfp_api/v201306/rate_card_customization_service.rb +1 -1
  1028. data/lib/dfp_api/v201306/rate_card_customization_service_registry.rb +1 -1
  1029. data/lib/dfp_api/v201306/rate_card_service.rb +1 -1
  1030. data/lib/dfp_api/v201306/rate_card_service_registry.rb +1 -1
  1031. data/lib/dfp_api/v201306/reconciliation_order_report_service.rb +1 -1
  1032. data/lib/dfp_api/v201306/reconciliation_order_report_service_registry.rb +1 -1
  1033. data/lib/dfp_api/v201306/reconciliation_report_row_service.rb +1 -1
  1034. data/lib/dfp_api/v201306/reconciliation_report_row_service_registry.rb +1 -1
  1035. data/lib/dfp_api/v201306/reconciliation_report_service.rb +1 -1
  1036. data/lib/dfp_api/v201306/reconciliation_report_service_registry.rb +1 -1
  1037. data/lib/dfp_api/v201306/report_service.rb +1 -1
  1038. data/lib/dfp_api/v201306/report_service_registry.rb +1 -1
  1039. data/lib/dfp_api/v201306/suggested_ad_unit_service.rb +1 -1
  1040. data/lib/dfp_api/v201306/suggested_ad_unit_service_registry.rb +1 -1
  1041. data/lib/dfp_api/v201306/team_service.rb +1 -1
  1042. data/lib/dfp_api/v201306/team_service_registry.rb +1 -1
  1043. data/lib/dfp_api/v201306/user_service.rb +1 -1
  1044. data/lib/dfp_api/v201306/user_service_registry.rb +1 -1
  1045. data/lib/dfp_api/v201306/user_team_association_service.rb +1 -1
  1046. data/lib/dfp_api/v201306/user_team_association_service_registry.rb +1 -1
  1047. data/lib/dfp_api/v201306/workflow_action_service.rb +1 -1
  1048. data/lib/dfp_api/v201306/workflow_action_service_registry.rb +1 -1
  1049. data/lib/dfp_api/v201308/activity_group_service.rb +1 -1
  1050. data/lib/dfp_api/v201308/activity_group_service_registry.rb +1 -1
  1051. data/lib/dfp_api/v201308/activity_service.rb +1 -1
  1052. data/lib/dfp_api/v201308/activity_service_registry.rb +1 -1
  1053. data/lib/dfp_api/v201308/ad_rule_service.rb +1 -1
  1054. data/lib/dfp_api/v201308/ad_rule_service_registry.rb +1 -1
  1055. data/lib/dfp_api/v201308/audience_segment_service.rb +1 -1
  1056. data/lib/dfp_api/v201308/audience_segment_service_registry.rb +1 -1
  1057. data/lib/dfp_api/v201308/base_rate_service.rb +1 -1
  1058. data/lib/dfp_api/v201308/base_rate_service_registry.rb +1 -1
  1059. data/lib/dfp_api/v201308/company_service.rb +1 -1
  1060. data/lib/dfp_api/v201308/company_service_registry.rb +1 -1
  1061. data/lib/dfp_api/v201308/contact_service.rb +1 -1
  1062. data/lib/dfp_api/v201308/contact_service_registry.rb +1 -1
  1063. data/lib/dfp_api/v201308/content_bundle_service.rb +1 -1
  1064. data/lib/dfp_api/v201308/content_bundle_service_registry.rb +1 -1
  1065. data/lib/dfp_api/v201308/content_service.rb +1 -1
  1066. data/lib/dfp_api/v201308/content_service_registry.rb +1 -1
  1067. data/lib/dfp_api/v201308/creative_service.rb +1 -1
  1068. data/lib/dfp_api/v201308/creative_service_registry.rb +2 -2
  1069. data/lib/dfp_api/v201308/creative_set_service.rb +1 -1
  1070. data/lib/dfp_api/v201308/creative_set_service_registry.rb +2 -2
  1071. data/lib/dfp_api/v201308/creative_template_service.rb +1 -1
  1072. data/lib/dfp_api/v201308/creative_template_service_registry.rb +1 -1
  1073. data/lib/dfp_api/v201308/creative_wrapper_service.rb +1 -1
  1074. data/lib/dfp_api/v201308/creative_wrapper_service_registry.rb +1 -1
  1075. data/lib/dfp_api/v201308/custom_field_service.rb +1 -1
  1076. data/lib/dfp_api/v201308/custom_field_service_registry.rb +1 -1
  1077. data/lib/dfp_api/v201308/custom_targeting_service.rb +1 -1
  1078. data/lib/dfp_api/v201308/custom_targeting_service_registry.rb +1 -1
  1079. data/lib/dfp_api/v201308/forecast_service.rb +1 -1
  1080. data/lib/dfp_api/v201308/forecast_service_registry.rb +1 -1
  1081. data/lib/dfp_api/v201308/inventory_service.rb +1 -1
  1082. data/lib/dfp_api/v201308/inventory_service_registry.rb +1 -1
  1083. data/lib/dfp_api/v201308/label_service.rb +1 -1
  1084. data/lib/dfp_api/v201308/label_service_registry.rb +1 -1
  1085. data/lib/dfp_api/v201308/line_item_creative_association_service.rb +1 -1
  1086. data/lib/dfp_api/v201308/line_item_creative_association_service_registry.rb +2 -2
  1087. data/lib/dfp_api/v201308/line_item_service.rb +1 -1
  1088. data/lib/dfp_api/v201308/line_item_service_registry.rb +1 -1
  1089. data/lib/dfp_api/v201308/line_item_template_service.rb +1 -1
  1090. data/lib/dfp_api/v201308/line_item_template_service_registry.rb +1 -1
  1091. data/lib/dfp_api/v201308/network_service.rb +1 -1
  1092. data/lib/dfp_api/v201308/network_service_registry.rb +1 -1
  1093. data/lib/dfp_api/v201308/order_service.rb +1 -1
  1094. data/lib/dfp_api/v201308/order_service_registry.rb +2 -2
  1095. data/lib/dfp_api/v201308/placement_service.rb +1 -1
  1096. data/lib/dfp_api/v201308/placement_service_registry.rb +1 -1
  1097. data/lib/dfp_api/v201308/product_service.rb +1 -1
  1098. data/lib/dfp_api/v201308/product_service_registry.rb +1 -1
  1099. data/lib/dfp_api/v201308/product_template_service.rb +1 -1
  1100. data/lib/dfp_api/v201308/product_template_service_registry.rb +1 -1
  1101. data/lib/dfp_api/v201308/proposal_line_item_service.rb +1 -1
  1102. data/lib/dfp_api/v201308/proposal_line_item_service_registry.rb +1 -1
  1103. data/lib/dfp_api/v201308/proposal_service.rb +1 -1
  1104. data/lib/dfp_api/v201308/proposal_service_registry.rb +1 -1
  1105. data/lib/dfp_api/v201308/publisher_query_language_service.rb +1 -1
  1106. data/lib/dfp_api/v201308/publisher_query_language_service_registry.rb +1 -1
  1107. data/lib/dfp_api/v201308/rate_card_customization_service.rb +1 -1
  1108. data/lib/dfp_api/v201308/rate_card_customization_service_registry.rb +1 -1
  1109. data/lib/dfp_api/v201308/rate_card_service.rb +1 -1
  1110. data/lib/dfp_api/v201308/rate_card_service_registry.rb +1 -1
  1111. data/lib/dfp_api/v201308/reconciliation_order_report_service.rb +1 -1
  1112. data/lib/dfp_api/v201308/reconciliation_order_report_service_registry.rb +1 -1
  1113. data/lib/dfp_api/v201308/reconciliation_report_row_service.rb +1 -1
  1114. data/lib/dfp_api/v201308/reconciliation_report_row_service_registry.rb +1 -1
  1115. data/lib/dfp_api/v201308/reconciliation_report_service.rb +1 -1
  1116. data/lib/dfp_api/v201308/reconciliation_report_service_registry.rb +1 -1
  1117. data/lib/dfp_api/v201308/report_service.rb +1 -1
  1118. data/lib/dfp_api/v201308/report_service_registry.rb +1 -1
  1119. data/lib/dfp_api/v201308/suggested_ad_unit_service.rb +1 -1
  1120. data/lib/dfp_api/v201308/suggested_ad_unit_service_registry.rb +1 -1
  1121. data/lib/dfp_api/v201308/team_service.rb +1 -1
  1122. data/lib/dfp_api/v201308/team_service_registry.rb +1 -1
  1123. data/lib/dfp_api/v201308/user_service.rb +1 -1
  1124. data/lib/dfp_api/v201308/user_service_registry.rb +1 -1
  1125. data/lib/dfp_api/v201308/user_team_association_service.rb +1 -1
  1126. data/lib/dfp_api/v201308/user_team_association_service_registry.rb +1 -1
  1127. data/lib/dfp_api/v201308/workflow_action_service.rb +1 -1
  1128. data/lib/dfp_api/v201308/workflow_action_service_registry.rb +1 -1
  1129. data/lib/dfp_api/v201311/activity_group_service.rb +1 -1
  1130. data/lib/dfp_api/v201311/activity_group_service_registry.rb +1 -1
  1131. data/lib/dfp_api/v201311/activity_service.rb +1 -1
  1132. data/lib/dfp_api/v201311/activity_service_registry.rb +1 -1
  1133. data/lib/dfp_api/v201311/ad_rule_service.rb +1 -1
  1134. data/lib/dfp_api/v201311/ad_rule_service_registry.rb +1 -1
  1135. data/lib/dfp_api/v201311/audience_segment_service.rb +1 -1
  1136. data/lib/dfp_api/v201311/audience_segment_service_registry.rb +1 -1
  1137. data/lib/dfp_api/v201311/base_rate_service.rb +1 -1
  1138. data/lib/dfp_api/v201311/base_rate_service_registry.rb +1 -1
  1139. data/lib/dfp_api/v201311/company_service.rb +1 -1
  1140. data/lib/dfp_api/v201311/company_service_registry.rb +1 -1
  1141. data/lib/dfp_api/v201311/contact_service.rb +1 -1
  1142. data/lib/dfp_api/v201311/contact_service_registry.rb +1 -1
  1143. data/lib/dfp_api/v201311/content_bundle_service.rb +1 -1
  1144. data/lib/dfp_api/v201311/content_bundle_service_registry.rb +1 -1
  1145. data/lib/dfp_api/v201311/content_metadata_key_hierarchy_service.rb +1 -1
  1146. data/lib/dfp_api/v201311/content_metadata_key_hierarchy_service_registry.rb +1 -1
  1147. data/lib/dfp_api/v201311/content_service.rb +1 -1
  1148. data/lib/dfp_api/v201311/content_service_registry.rb +1 -1
  1149. data/lib/dfp_api/v201311/creative_service.rb +1 -1
  1150. data/lib/dfp_api/v201311/creative_service_registry.rb +2 -2
  1151. data/lib/dfp_api/v201311/creative_set_service.rb +1 -1
  1152. data/lib/dfp_api/v201311/creative_set_service_registry.rb +2 -2
  1153. data/lib/dfp_api/v201311/creative_template_service.rb +1 -1
  1154. data/lib/dfp_api/v201311/creative_template_service_registry.rb +1 -1
  1155. data/lib/dfp_api/v201311/creative_wrapper_service.rb +1 -1
  1156. data/lib/dfp_api/v201311/creative_wrapper_service_registry.rb +1 -1
  1157. data/lib/dfp_api/v201311/custom_field_service.rb +1 -1
  1158. data/lib/dfp_api/v201311/custom_field_service_registry.rb +1 -1
  1159. data/lib/dfp_api/v201311/custom_targeting_service.rb +1 -1
  1160. data/lib/dfp_api/v201311/custom_targeting_service_registry.rb +1 -1
  1161. data/lib/dfp_api/v201311/exchange_rate_service.rb +1 -1
  1162. data/lib/dfp_api/v201311/exchange_rate_service_registry.rb +1 -1
  1163. data/lib/dfp_api/v201311/forecast_service.rb +1 -1
  1164. data/lib/dfp_api/v201311/forecast_service_registry.rb +1 -1
  1165. data/lib/dfp_api/v201311/inventory_service.rb +1 -1
  1166. data/lib/dfp_api/v201311/inventory_service_registry.rb +1 -1
  1167. data/lib/dfp_api/v201311/label_service.rb +1 -1
  1168. data/lib/dfp_api/v201311/label_service_registry.rb +1 -1
  1169. data/lib/dfp_api/v201311/line_item_creative_association_service.rb +1 -1
  1170. data/lib/dfp_api/v201311/line_item_creative_association_service_registry.rb +2 -2
  1171. data/lib/dfp_api/v201311/line_item_service.rb +1 -1
  1172. data/lib/dfp_api/v201311/line_item_service_registry.rb +1 -1
  1173. data/lib/dfp_api/v201311/line_item_template_service.rb +1 -1
  1174. data/lib/dfp_api/v201311/line_item_template_service_registry.rb +1 -1
  1175. data/lib/dfp_api/v201311/network_service.rb +1 -1
  1176. data/lib/dfp_api/v201311/network_service_registry.rb +1 -1
  1177. data/lib/dfp_api/v201311/order_service.rb +1 -1
  1178. data/lib/dfp_api/v201311/order_service_registry.rb +2 -2
  1179. data/lib/dfp_api/v201311/placement_service.rb +1 -1
  1180. data/lib/dfp_api/v201311/placement_service_registry.rb +1 -1
  1181. data/lib/dfp_api/v201311/product_service.rb +1 -1
  1182. data/lib/dfp_api/v201311/product_service_registry.rb +1 -1
  1183. data/lib/dfp_api/v201311/product_template_service.rb +1 -1
  1184. data/lib/dfp_api/v201311/product_template_service_registry.rb +1 -1
  1185. data/lib/dfp_api/v201311/proposal_line_item_service.rb +1 -1
  1186. data/lib/dfp_api/v201311/proposal_line_item_service_registry.rb +1 -1
  1187. data/lib/dfp_api/v201311/proposal_service.rb +1 -1
  1188. data/lib/dfp_api/v201311/proposal_service_registry.rb +1 -1
  1189. data/lib/dfp_api/v201311/publisher_query_language_service.rb +1 -1
  1190. data/lib/dfp_api/v201311/publisher_query_language_service_registry.rb +1 -1
  1191. data/lib/dfp_api/v201311/rate_card_customization_service.rb +1 -1
  1192. data/lib/dfp_api/v201311/rate_card_customization_service_registry.rb +1 -1
  1193. data/lib/dfp_api/v201311/rate_card_service.rb +1 -1
  1194. data/lib/dfp_api/v201311/rate_card_service_registry.rb +1 -1
  1195. data/lib/dfp_api/v201311/reconciliation_order_report_service.rb +1 -1
  1196. data/lib/dfp_api/v201311/reconciliation_order_report_service_registry.rb +1 -1
  1197. data/lib/dfp_api/v201311/reconciliation_report_row_service.rb +1 -1
  1198. data/lib/dfp_api/v201311/reconciliation_report_row_service_registry.rb +1 -1
  1199. data/lib/dfp_api/v201311/reconciliation_report_service.rb +1 -1
  1200. data/lib/dfp_api/v201311/reconciliation_report_service_registry.rb +1 -1
  1201. data/lib/dfp_api/v201311/report_service.rb +1 -1
  1202. data/lib/dfp_api/v201311/report_service_registry.rb +1 -1
  1203. data/lib/dfp_api/v201311/suggested_ad_unit_service.rb +1 -1
  1204. data/lib/dfp_api/v201311/suggested_ad_unit_service_registry.rb +1 -1
  1205. data/lib/dfp_api/v201311/team_service.rb +1 -1
  1206. data/lib/dfp_api/v201311/team_service_registry.rb +1 -1
  1207. data/lib/dfp_api/v201311/user_service.rb +1 -1
  1208. data/lib/dfp_api/v201311/user_service_registry.rb +1 -1
  1209. data/lib/dfp_api/v201311/user_team_association_service.rb +1 -1
  1210. data/lib/dfp_api/v201311/user_team_association_service_registry.rb +1 -1
  1211. data/lib/dfp_api/v201311/workflow_request_service.rb +1 -1
  1212. data/lib/dfp_api/v201311/workflow_request_service_registry.rb +2 -2
  1213. data/lib/dfp_api/v201403/activity_group_service.rb +1 -1
  1214. data/lib/dfp_api/v201403/activity_group_service_registry.rb +1 -1
  1215. data/lib/dfp_api/v201403/activity_service.rb +1 -1
  1216. data/lib/dfp_api/v201403/activity_service_registry.rb +1 -1
  1217. data/lib/dfp_api/v201403/ad_rule_service.rb +1 -1
  1218. data/lib/dfp_api/v201403/ad_rule_service_registry.rb +1 -1
  1219. data/lib/dfp_api/v201403/audience_segment_service.rb +1 -1
  1220. data/lib/dfp_api/v201403/audience_segment_service_registry.rb +1 -1
  1221. data/lib/dfp_api/v201403/base_rate_service.rb +1 -1
  1222. data/lib/dfp_api/v201403/base_rate_service_registry.rb +1 -1
  1223. data/lib/dfp_api/v201403/company_service.rb +1 -1
  1224. data/lib/dfp_api/v201403/company_service_registry.rb +1 -1
  1225. data/lib/dfp_api/v201403/contact_service.rb +1 -1
  1226. data/lib/dfp_api/v201403/contact_service_registry.rb +1 -1
  1227. data/lib/dfp_api/v201403/content_bundle_service.rb +1 -1
  1228. data/lib/dfp_api/v201403/content_bundle_service_registry.rb +1 -1
  1229. data/lib/dfp_api/v201403/content_metadata_key_hierarchy_service.rb +1 -1
  1230. data/lib/dfp_api/v201403/content_metadata_key_hierarchy_service_registry.rb +1 -1
  1231. data/lib/dfp_api/v201403/content_service.rb +1 -1
  1232. data/lib/dfp_api/v201403/content_service_registry.rb +1 -1
  1233. data/lib/dfp_api/v201403/creative_service.rb +1 -1
  1234. data/lib/dfp_api/v201403/creative_service_registry.rb +2 -2
  1235. data/lib/dfp_api/v201403/creative_set_service.rb +1 -1
  1236. data/lib/dfp_api/v201403/creative_set_service_registry.rb +2 -2
  1237. data/lib/dfp_api/v201403/creative_template_service.rb +1 -1
  1238. data/lib/dfp_api/v201403/creative_template_service_registry.rb +1 -1
  1239. data/lib/dfp_api/v201403/creative_wrapper_service.rb +1 -1
  1240. data/lib/dfp_api/v201403/creative_wrapper_service_registry.rb +1 -1
  1241. data/lib/dfp_api/v201403/custom_field_service.rb +1 -1
  1242. data/lib/dfp_api/v201403/custom_field_service_registry.rb +1 -1
  1243. data/lib/dfp_api/v201403/custom_targeting_service.rb +1 -1
  1244. data/lib/dfp_api/v201403/custom_targeting_service_registry.rb +1 -1
  1245. data/lib/dfp_api/v201403/exchange_rate_service.rb +1 -1
  1246. data/lib/dfp_api/v201403/exchange_rate_service_registry.rb +1 -1
  1247. data/lib/dfp_api/v201403/forecast_service.rb +1 -1
  1248. data/lib/dfp_api/v201403/forecast_service_registry.rb +1 -1
  1249. data/lib/dfp_api/v201403/inventory_service.rb +1 -1
  1250. data/lib/dfp_api/v201403/inventory_service_registry.rb +1 -1
  1251. data/lib/dfp_api/v201403/label_service.rb +1 -1
  1252. data/lib/dfp_api/v201403/label_service_registry.rb +1 -1
  1253. data/lib/dfp_api/v201403/line_item_creative_association_service.rb +1 -1
  1254. data/lib/dfp_api/v201403/line_item_creative_association_service_registry.rb +2 -2
  1255. data/lib/dfp_api/v201403/line_item_service.rb +1 -1
  1256. data/lib/dfp_api/v201403/line_item_service_registry.rb +1 -1
  1257. data/lib/dfp_api/v201403/line_item_template_service.rb +1 -1
  1258. data/lib/dfp_api/v201403/line_item_template_service_registry.rb +1 -1
  1259. data/lib/dfp_api/v201403/live_stream_event_service.rb +1 -1
  1260. data/lib/dfp_api/v201403/live_stream_event_service_registry.rb +1 -1
  1261. data/lib/dfp_api/v201403/network_service.rb +1 -1
  1262. data/lib/dfp_api/v201403/network_service_registry.rb +1 -1
  1263. data/lib/dfp_api/v201403/order_service.rb +1 -1
  1264. data/lib/dfp_api/v201403/order_service_registry.rb +2 -2
  1265. data/lib/dfp_api/v201403/placement_service.rb +1 -1
  1266. data/lib/dfp_api/v201403/placement_service_registry.rb +1 -1
  1267. data/lib/dfp_api/v201403/product_service.rb +1 -1
  1268. data/lib/dfp_api/v201403/product_service_registry.rb +1 -1
  1269. data/lib/dfp_api/v201403/product_template_service.rb +1 -1
  1270. data/lib/dfp_api/v201403/product_template_service_registry.rb +1 -1
  1271. data/lib/dfp_api/v201403/proposal_line_item_service.rb +1 -1
  1272. data/lib/dfp_api/v201403/proposal_line_item_service_registry.rb +2 -2
  1273. data/lib/dfp_api/v201403/proposal_service.rb +1 -5
  1274. data/lib/dfp_api/v201403/proposal_service_registry.rb +3 -3
  1275. data/lib/dfp_api/v201403/publisher_query_language_service.rb +1 -1
  1276. data/lib/dfp_api/v201403/publisher_query_language_service_registry.rb +1 -1
  1277. data/lib/dfp_api/v201403/rate_card_customization_group_service.rb +1 -1
  1278. data/lib/dfp_api/v201403/rate_card_customization_group_service_registry.rb +2 -2
  1279. data/lib/dfp_api/v201403/rate_card_customization_service.rb +1 -1
  1280. data/lib/dfp_api/v201403/rate_card_customization_service_registry.rb +1 -1
  1281. data/lib/dfp_api/v201403/rate_card_service.rb +1 -1
  1282. data/lib/dfp_api/v201403/rate_card_service_registry.rb +1 -1
  1283. data/lib/dfp_api/v201403/reconciliation_order_report_service.rb +1 -1
  1284. data/lib/dfp_api/v201403/reconciliation_order_report_service_registry.rb +1 -1
  1285. data/lib/dfp_api/v201403/reconciliation_report_row_service.rb +1 -1
  1286. data/lib/dfp_api/v201403/reconciliation_report_row_service_registry.rb +1 -1
  1287. data/lib/dfp_api/v201403/reconciliation_report_service.rb +1 -1
  1288. data/lib/dfp_api/v201403/reconciliation_report_service_registry.rb +1 -1
  1289. data/lib/dfp_api/v201403/report_service.rb +1 -1
  1290. data/lib/dfp_api/v201403/report_service_registry.rb +1 -1
  1291. data/lib/dfp_api/v201403/suggested_ad_unit_service.rb +1 -1
  1292. data/lib/dfp_api/v201403/suggested_ad_unit_service_registry.rb +1 -1
  1293. data/lib/dfp_api/v201403/team_service.rb +1 -1
  1294. data/lib/dfp_api/v201403/team_service_registry.rb +1 -1
  1295. data/lib/dfp_api/v201403/user_service.rb +1 -1
  1296. data/lib/dfp_api/v201403/user_service_registry.rb +1 -1
  1297. data/lib/dfp_api/v201403/user_team_association_service.rb +1 -1
  1298. data/lib/dfp_api/v201403/user_team_association_service_registry.rb +1 -1
  1299. data/lib/dfp_api/v201403/workflow_request_service.rb +1 -1
  1300. data/lib/dfp_api/v201403/workflow_request_service_registry.rb +2 -2
  1301. data/lib/dfp_api/v201405/activity_group_service.rb +42 -0
  1302. data/lib/dfp_api/v201405/activity_group_service_registry.rb +46 -0
  1303. data/lib/dfp_api/v201405/activity_service.rb +42 -0
  1304. data/lib/dfp_api/v201405/activity_service_registry.rb +46 -0
  1305. data/lib/dfp_api/v201405/ad_rule_service.rb +46 -0
  1306. data/lib/dfp_api/v201405/ad_rule_service_registry.rb +46 -0
  1307. data/lib/dfp_api/v201405/audience_segment_service.rb +46 -0
  1308. data/lib/dfp_api/v201405/audience_segment_service_registry.rb +46 -0
  1309. data/lib/dfp_api/v201405/base_rate_service.rb +46 -0
  1310. data/lib/dfp_api/v201405/base_rate_service_registry.rb +46 -0
  1311. data/lib/dfp_api/v201405/company_service.rb +42 -0
  1312. data/lib/dfp_api/v201405/company_service_registry.rb +46 -0
  1313. data/lib/dfp_api/v201405/contact_service.rb +42 -0
  1314. data/lib/dfp_api/v201405/contact_service_registry.rb +46 -0
  1315. data/lib/dfp_api/v201405/content_bundle_service.rb +46 -0
  1316. data/lib/dfp_api/v201405/content_bundle_service_registry.rb +46 -0
  1317. data/lib/dfp_api/v201405/content_metadata_key_hierarchy_service.rb +46 -0
  1318. data/lib/dfp_api/v201405/content_metadata_key_hierarchy_service_registry.rb +46 -0
  1319. data/lib/dfp_api/v201405/content_service.rb +38 -0
  1320. data/lib/dfp_api/v201405/content_service_registry.rb +46 -0
  1321. data/lib/dfp_api/v201405/creative_service.rb +42 -0
  1322. data/lib/dfp_api/v201405/creative_service_registry.rb +46 -0
  1323. data/lib/dfp_api/v201405/creative_set_service.rb +42 -0
  1324. data/lib/dfp_api/v201405/creative_set_service_registry.rb +46 -0
  1325. data/lib/dfp_api/v201405/creative_template_service.rb +34 -0
  1326. data/lib/dfp_api/v201405/creative_template_service_registry.rb +46 -0
  1327. data/lib/dfp_api/v201405/creative_wrapper_service.rb +46 -0
  1328. data/lib/dfp_api/v201405/creative_wrapper_service_registry.rb +46 -0
  1329. data/lib/dfp_api/v201405/custom_field_service.rb +58 -0
  1330. data/lib/dfp_api/v201405/custom_field_service_registry.rb +46 -0
  1331. data/lib/dfp_api/v201405/custom_targeting_service.rb +62 -0
  1332. data/lib/dfp_api/v201405/custom_targeting_service_registry.rb +46 -0
  1333. data/lib/dfp_api/v201405/exchange_rate_service.rb +46 -0
  1334. data/lib/dfp_api/v201405/exchange_rate_service_registry.rb +46 -0
  1335. data/lib/dfp_api/v201405/forecast_service.rb +38 -0
  1336. data/lib/dfp_api/v201405/forecast_service_registry.rb +46 -0
  1337. data/lib/dfp_api/v201405/inventory_service.rb +50 -0
  1338. data/lib/dfp_api/v201405/inventory_service_registry.rb +46 -0
  1339. data/lib/dfp_api/v201405/label_service.rb +46 -0
  1340. data/lib/dfp_api/v201405/label_service_registry.rb +46 -0
  1341. data/lib/dfp_api/v201405/line_item_creative_association_service.rb +50 -0
  1342. data/lib/dfp_api/v201405/line_item_creative_association_service_registry.rb +46 -0
  1343. data/lib/dfp_api/v201405/line_item_service.rb +46 -0
  1344. data/lib/dfp_api/v201405/line_item_service_registry.rb +46 -0
  1345. data/lib/dfp_api/v201405/line_item_template_service.rb +34 -0
  1346. data/lib/dfp_api/v201405/line_item_template_service_registry.rb +46 -0
  1347. data/lib/dfp_api/v201405/live_stream_event_service.rb +46 -0
  1348. data/lib/dfp_api/v201405/live_stream_event_service_registry.rb +46 -0
  1349. data/lib/dfp_api/v201405/network_service.rb +46 -0
  1350. data/lib/dfp_api/v201405/network_service_registry.rb +46 -0
  1351. data/lib/dfp_api/v201405/order_service.rb +46 -0
  1352. data/lib/dfp_api/v201405/order_service_registry.rb +46 -0
  1353. data/lib/dfp_api/v201405/placement_service.rb +46 -0
  1354. data/lib/dfp_api/v201405/placement_service_registry.rb +46 -0
  1355. data/lib/dfp_api/v201405/product_service.rb +42 -0
  1356. data/lib/dfp_api/v201405/product_service_registry.rb +46 -0
  1357. data/lib/dfp_api/v201405/product_template_service.rb +46 -0
  1358. data/lib/dfp_api/v201405/product_template_service_registry.rb +46 -0
  1359. data/lib/dfp_api/v201405/proposal_line_item_service.rb +46 -0
  1360. data/lib/dfp_api/v201405/proposal_line_item_service_registry.rb +46 -0
  1361. data/lib/dfp_api/v201405/proposal_service.rb +46 -0
  1362. data/lib/dfp_api/v201405/proposal_service_registry.rb +46 -0
  1363. data/lib/dfp_api/v201405/publisher_query_language_service.rb +34 -0
  1364. data/lib/dfp_api/v201405/publisher_query_language_service_registry.rb +46 -0
  1365. data/lib/dfp_api/v201405/rate_card_customization_group_service.rb +42 -0
  1366. data/lib/dfp_api/v201405/rate_card_customization_group_service_registry.rb +46 -0
  1367. data/lib/dfp_api/v201405/rate_card_customization_service.rb +46 -0
  1368. data/lib/dfp_api/v201405/rate_card_customization_service_registry.rb +46 -0
  1369. data/lib/dfp_api/v201405/rate_card_service.rb +46 -0
  1370. data/lib/dfp_api/v201405/rate_card_service_registry.rb +46 -0
  1371. data/lib/dfp_api/v201405/reconciliation_order_report_service.rb +38 -0
  1372. data/lib/dfp_api/v201405/reconciliation_order_report_service_registry.rb +46 -0
  1373. data/lib/dfp_api/v201405/reconciliation_report_row_service.rb +38 -0
  1374. data/lib/dfp_api/v201405/reconciliation_report_row_service_registry.rb +46 -0
  1375. data/lib/dfp_api/v201405/reconciliation_report_service.rb +38 -0
  1376. data/lib/dfp_api/v201405/reconciliation_report_service_registry.rb +46 -0
  1377. data/lib/dfp_api/v201405/report_service.rb +46 -0
  1378. data/lib/dfp_api/v201405/report_service_registry.rb +46 -0
  1379. data/lib/dfp_api/v201405/suggested_ad_unit_service.rb +38 -0
  1380. data/lib/dfp_api/v201405/suggested_ad_unit_service_registry.rb +46 -0
  1381. data/lib/dfp_api/v201405/team_service.rb +42 -0
  1382. data/lib/dfp_api/v201405/team_service_registry.rb +46 -0
  1383. data/lib/dfp_api/v201405/user_service.rb +54 -0
  1384. data/lib/dfp_api/v201405/user_service_registry.rb +46 -0
  1385. data/lib/dfp_api/v201405/user_team_association_service.rb +46 -0
  1386. data/lib/dfp_api/v201405/user_team_association_service_registry.rb +46 -0
  1387. data/lib/dfp_api/v201405/workflow_request_service.rb +38 -0
  1388. data/lib/dfp_api/v201405/workflow_request_service_registry.rb +46 -0
  1389. data/lib/dfp_api/version.rb +1 -1
  1390. data/test/bugs/test_issue_00000016.rb +2 -2
  1391. data/test/dfp_api/test_dfp_api.rb +7 -3
  1392. metadata +1649 -749
@@ -0,0 +1,89 @@
1
+ #!/usr/bin/env ruby
2
+ # Encoding: utf-8
3
+ #
4
+ # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
+ #
6
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
7
+ #
8
+ # License:: Licensed under the Apache License, Version 2.0 (the "License");
9
+ # you may not use this file except in compliance with the License.
10
+ # You may obtain a copy of the License at
11
+ #
12
+ # http://www.apache.org/licenses/LICENSE-2.0
13
+ #
14
+ # Unless required by applicable law or agreed to in writing, software
15
+ # distributed under the License is distributed on an "AS IS" BASIS,
16
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17
+ # implied.
18
+ # See the License for the specific language governing permissions and
19
+ # limitations under the License.
20
+ #
21
+ # This code example creates a new creative wrapper.
22
+ #
23
+ # Creative wrappers must be associated with a LabelType.CREATIVE_WRAPPER label
24
+ # and applied to ad units by AdUnit.appliedLabels. To determine which creative
25
+ # wrappers exist, run get_all_creative_wrappers.rb.
26
+ #
27
+ # Tags: CreativeWrapperService.createCreativeWrappers
28
+
29
+ require 'dfp_api'
30
+
31
+ API_VERSION = :v201302
32
+
33
+ def create_creative_wrappers()
34
+ # Get DfpApi instance and load configuration from ~/dfp_api.yml.
35
+ dfp = DfpApi::Api.new
36
+
37
+ # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
38
+ # the configuration file or provide your own logger:
39
+ # dfp.logger = Logger.new('dfp_xml.log')
40
+
41
+ # Get the CreativeWrapperService.
42
+ creative_wrapper_service = dfp.service(:CreativeWrapperService, API_VERSION)
43
+
44
+ # Set the creative wrapper label ID.
45
+ label_id = 'INSERT_CREATIVE_WRAPPER_LABEL_ID_HERE'.to_i
46
+
47
+ # Create creative wrapper objects.
48
+ creative_wrapper = {
49
+ # A label can only be associated with one creative wrapper.
50
+ :label_id => label_id,
51
+ :ordering => 'INNER',
52
+ :header => {:html_snippet => '<b>My creative wrapper header</b>'},
53
+ :footer => {:html_snippet => '<b>My creative wrapper footer</b>'}
54
+ }
55
+
56
+ # Create the creative wrapper on the server.
57
+ return_creative_wrappers =
58
+ creative_wrapper_service.create_creative_wrappers([creative_wrapper])
59
+
60
+ if return_creative_wrappers
61
+ return_creative_wrappers.each do |creative_wrapper|
62
+ puts "Creative wrapper with ID: %d applying to label: %d was created." %
63
+ [creative_wrapper[:id], creative_wrapper[:label_id]]
64
+ end
65
+ else
66
+ raise 'No creative wrappers were created.'
67
+ end
68
+ end
69
+
70
+ if __FILE__ == $0
71
+ begin
72
+ create_creative_wrappers()
73
+
74
+ # HTTP errors.
75
+ rescue AdsCommon::Errors::HttpError => e
76
+ puts "HTTP Error: %s" % e
77
+
78
+ # API errors.
79
+ rescue DfpApi::Errors::ApiException => e
80
+ puts "Message: %s" % e.message
81
+ puts 'Errors:'
82
+ e.errors.each_with_index do |error, index|
83
+ puts "\tError [%d]:" % (index + 1)
84
+ error.each do |field, value|
85
+ puts "\t\t%s: %s" % [field, value]
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,102 @@
1
+ #!/usr/bin/env ruby
2
+ # Encoding: utf-8
3
+ #
4
+ # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
+ #
6
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
7
+ #
8
+ # License:: Licensed under the Apache License, Version 2.0 (the "License");
9
+ # you may not use this file except in compliance with the License.
10
+ # You may obtain a copy of the License at
11
+ #
12
+ # http://www.apache.org/licenses/LICENSE-2.0
13
+ #
14
+ # Unless required by applicable law or agreed to in writing, software
15
+ # distributed under the License is distributed on an "AS IS" BASIS,
16
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17
+ # implied.
18
+ # See the License for the specific language governing permissions and
19
+ # limitations under the License.
20
+ #
21
+ # This example deactivates a creative wrapper belonging to a label.
22
+ #
23
+ # Tags: CreativeWrapperService.getCreativeWrappersByStatement
24
+ # Tags: CreativeWrapperService.performCreativeWrapperAction
25
+
26
+ require 'dfp_api'
27
+
28
+ API_VERSION = :v201302
29
+
30
+ def deactivate_creative_wrappers()
31
+ # Get DfpApi instance and load configuration from ~/dfp_api.yml.
32
+ dfp = DfpApi::Api.new
33
+
34
+ # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
35
+ # the configuration file or provide your own logger:
36
+ # dfp.logger = Logger.new('dfp_xml.log')
37
+
38
+ # Get the CreativeWrapperService.
39
+ creative_wrapper_service = dfp.service(:CreativeWrapperService, API_VERSION)
40
+
41
+ # Set the ID of the label for the creative wrapper to deactivate.
42
+ label_id = 'INSERT_CREATIVE_WRAPPER_LABEL_ID_HERE'.to_i
43
+
44
+ # Create statement to select creative wrappers by label id and status.
45
+ statement = {
46
+ :query => 'WHERE labelId = :label_id AND status = :status',
47
+ :values => [
48
+ {
49
+ :key => 'label_id',
50
+ :value => {:value => label_id, :xsi_type => 'NumberValue'}
51
+ },
52
+ {
53
+ :key => 'status',
54
+ :value => {:value => 'ACTIVE', :xsi_type => 'TextValue'}
55
+ }
56
+ ]
57
+ }
58
+
59
+ # Get creative wrappers by statement.
60
+ page = creative_wrapper_service.get_creative_wrappers_by_statement(statement)
61
+
62
+ if page[:results]
63
+ page[:results].each do |creative_wrapper|
64
+ puts 'Creative wrapper ID: %d, label: %d will be deactivated.' %
65
+ [creative_wrapper[:id], creative_wrapper[:label_id]]
66
+ end
67
+
68
+ # Perform action.
69
+ result = creative_wrapper_service.perform_creative_wrapper_action(
70
+ {:xsi_type => 'DeactivateCreativeWrappers'}, statement)
71
+
72
+ # Display results.
73
+ if result and result[:num_changes] > 0
74
+ puts 'Number of creative wrappers deactivated: %d' % result[:num_changes]
75
+ else
76
+ puts 'No creative wrappers were deactivated.'
77
+ end
78
+ else
79
+ puts 'No creative wrapper found to deactivate.'
80
+ end
81
+ end
82
+
83
+ if __FILE__ == $0
84
+ begin
85
+ deactivate_creative_wrappers()
86
+
87
+ # HTTP errors.
88
+ rescue AdsCommon::Errors::HttpError => e
89
+ puts "HTTP Error: %s" % e
90
+
91
+ # API errors.
92
+ rescue DfpApi::Errors::ApiException => e
93
+ puts "Message: %s" % e.message
94
+ puts 'Errors:'
95
+ e.errors.each_with_index do |error, index|
96
+ puts "\tError [%d]:" % (index + 1)
97
+ error.each do |field, value|
98
+ puts "\t\t%s: %s" % [field, value]
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,94 @@
1
+ #!/usr/bin/env ruby
2
+ # Encoding: utf-8
3
+ #
4
+ # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
+ #
6
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
7
+ #
8
+ # License:: Licensed under the Apache License, Version 2.0 (the "License");
9
+ # you may not use this file except in compliance with the License.
10
+ # You may obtain a copy of the License at
11
+ #
12
+ # http://www.apache.org/licenses/LICENSE-2.0
13
+ #
14
+ # Unless required by applicable law or agreed to in writing, software
15
+ # distributed under the License is distributed on an "AS IS" BASIS,
16
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17
+ # implied.
18
+ # See the License for the specific language governing permissions and
19
+ # limitations under the License.
20
+ #
21
+ # This example gets all creative wrappers for an account. To create creative
22
+ # wrappers, run create_creative_wrappers.rb.
23
+ #
24
+ # Tags: CreativeWrapperService.getCreativeWrappersByStatement
25
+
26
+ require 'dfp_api'
27
+
28
+ API_VERSION = :v201302
29
+ PAGE_SIZE = 500
30
+
31
+ def get_all_creative_wrappers()
32
+ # Get DfpApi instance and load configuration from ~/dfp_api.yml.
33
+ dfp = DfpApi::Api.new
34
+
35
+ # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
36
+ # the configuration file or provide your own logger:
37
+ # dfp.logger = Logger.new('dfp_xml.log')
38
+
39
+ # Get the CreativeWrapperService.
40
+ creative_wrapper_service = dfp.service(:CreativeWrapperService, API_VERSION)
41
+
42
+ # Define initial values.
43
+ offset = 0
44
+ page = {}
45
+
46
+ begin
47
+ # Create statement for one page with current offset.
48
+ statement = {:query => "LIMIT %d OFFSET %d" % [PAGE_SIZE, offset]}
49
+
50
+ # Get creative wrappers by statement.
51
+ page =
52
+ creative_wrapper_service.get_creative_wrappers_by_statement(statement)
53
+
54
+ if page[:results]
55
+ # Increase query offset by page size.
56
+ offset += PAGE_SIZE
57
+
58
+ # Get the start index for printout.
59
+ start_index = page[:start_index]
60
+
61
+ # Print details about each creative wrapper in results page.
62
+ page[:results].each_with_index do |creative_wrapper, index|
63
+ puts "%d) Creative wrapper ID: %d, label ID: %d" % [index + start_index,
64
+ creative_wrapper[:id], creative_wrapper[:label_id]]
65
+ end
66
+ end
67
+ end while offset < page[:total_result_set_size]
68
+
69
+ # Print a footer
70
+ if page.include?(:total_result_set_size)
71
+ puts "Total number of creative wrappers: %d" % page[:total_result_set_size]
72
+ end
73
+ end
74
+
75
+ if __FILE__ == $0
76
+ begin
77
+ get_all_creative_wrappers()
78
+
79
+ # HTTP errors.
80
+ rescue AdsCommon::Errors::HttpError => e
81
+ puts "HTTP Error: %s" % e
82
+
83
+ # API errors.
84
+ rescue DfpApi::Errors::ApiException => e
85
+ puts "Message: %s" % e.message
86
+ puts 'Errors:'
87
+ e.errors.each_with_index do |error, index|
88
+ puts "\tError [%d]:" % (index + 1)
89
+ error.each do |field, value|
90
+ puts "\t\t%s: %s" % [field, value]
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,88 @@
1
+ #!/usr/bin/env ruby
2
+ # Encoding: utf-8
3
+ #
4
+ # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
+ #
6
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
7
+ #
8
+ # License:: Licensed under the Apache License, Version 2.0 (the "License");
9
+ # you may not use this file except in compliance with the License.
10
+ # You may obtain a copy of the License at
11
+ #
12
+ # http://www.apache.org/licenses/LICENSE-2.0
13
+ #
14
+ # Unless required by applicable law or agreed to in writing, software
15
+ # distributed under the License is distributed on an "AS IS" BASIS,
16
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17
+ # implied.
18
+ # See the License for the specific language governing permissions and
19
+ # limitations under the License.
20
+ #
21
+ # This code example gets all active creative wrappers. To create creative
22
+ # wrappers, run create_creative_wrappers.rb.
23
+ #
24
+ # Tags: CreativeWrapperService.getCreativeWrappersByStatement
25
+
26
+ require 'dfp_api'
27
+
28
+ API_VERSION = :v201302
29
+
30
+ def get_creative_wrappers_by_statement()
31
+ # Get DfpApi instance and load configuration from ~/dfp_api.yml.
32
+ dfp = DfpApi::Api.new
33
+
34
+ # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
35
+ # the configuration file or provide your own logger:
36
+ # dfp.logger = Logger.new('dfp_xml.log')
37
+
38
+ # Get the CreativeWrapperService.
39
+ creative_wrapper_service = dfp.service(:CreativeWrapperService, API_VERSION)
40
+
41
+ # Create filter text to select active creative wrappers.
42
+ statement = {
43
+ :query => 'WHERE status = :status',
44
+ :values => [
45
+ {
46
+ :key => 'status',
47
+ :value => {:value => 'ACTIVE', :xsi_type => 'TextValue'}
48
+ }
49
+ ]
50
+ }
51
+
52
+ # Get creative wrappers by statement.
53
+ page = creative_wrapper_service.get_creative_wrappers_by_statement(statement)
54
+
55
+ if page and page[:results]
56
+ page[:results].each_with_index do |creative_wrapper, index|
57
+ puts "%d) Creative wrapper ID: %d, label ID: %d, status: '%s'." %
58
+ [index, creative_wrapper[:id], creative_wrapper[:label_id],
59
+ creative_wrapper[:status]]
60
+ end
61
+ end
62
+
63
+ # Print a footer.
64
+ if page.include?(:total_result_set_size)
65
+ puts "Number of results found: %d" % page[:total_result_set_size]
66
+ end
67
+ end
68
+
69
+ if __FILE__ == $0
70
+ begin
71
+ get_creative_wrappers_by_statement()
72
+
73
+ # HTTP errors.
74
+ rescue AdsCommon::Errors::HttpError => e
75
+ puts "HTTP Error: %s" % e
76
+
77
+ # API errors.
78
+ rescue DfpApi::Errors::ApiException => e
79
+ puts "Message: %s" % e.message
80
+ puts 'Errors:'
81
+ e.errors.each_with_index do |error, index|
82
+ puts "\tError [%d]:" % (index + 1)
83
+ error.each do |field, value|
84
+ puts "\t\t%s: %s" % [field, value]
85
+ end
86
+ end
87
+ end
88
+ end
@@ -0,0 +1,86 @@
1
+ #!/usr/bin/env ruby
2
+ # Encoding: utf-8
3
+ #
4
+ # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
+ #
6
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
7
+ #
8
+ # License:: Licensed under the Apache License, Version 2.0 (the "License");
9
+ # you may not use this file except in compliance with the License.
10
+ # You may obtain a copy of the License at
11
+ #
12
+ # http://www.apache.org/licenses/LICENSE-2.0
13
+ #
14
+ # Unless required by applicable law or agreed to in writing, software
15
+ # distributed under the License is distributed on an "AS IS" BASIS,
16
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17
+ # implied.
18
+ # See the License for the specific language governing permissions and
19
+ # limitations under the License.
20
+ #
21
+ # This code example updates a creative wrapper to the 'OUTER' wrapping order. To
22
+ # determine which creative wrappers exist, run get_all_creative_wrappers.rb.
23
+ #
24
+ # Tags: CreativeWrapperService.getCreativeWrappersByStatement
25
+ # Tags: CreativeWrapperService.updateCreativeWrappers
26
+
27
+ require 'dfp_api'
28
+
29
+ API_VERSION = :v201302
30
+
31
+ def update_creative_wrappers()
32
+ # Get DfpApi instance and load configuration from ~/dfp_api.yml.
33
+ dfp = DfpApi::Api.new
34
+
35
+ # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
36
+ # the configuration file or provide your own logger:
37
+ # dfp.logger = Logger.new('dfp_xml.log')
38
+
39
+ # Get the CreativeWrapperService.
40
+ creative_wrapper_service = dfp.service(:CreativeWrapperService, API_VERSION)
41
+
42
+ # Set the ID of the creative wrapper to get.
43
+ creative_wrapper_id = 'INSERT_CREATIVE_WRAPPER_ID_HERE'.to_i
44
+
45
+ # Get creative wrapper by ID.
46
+ creative_wrapper =
47
+ creative_wrapper_service.get_creative_wrapper(creative_wrapper_id)
48
+
49
+ # Update local creative wrapper object by changing its ordering.
50
+ creative_wrapper[:ordering] = 'OUTER'
51
+
52
+ # Update the creative wrapper on the server.
53
+ return_creative_wrappers =
54
+ creative_wrapper_service.update_creative_wrappers([creative_wrapper])
55
+
56
+ if return_creative_wrappers
57
+ return_creative_wrappers.each do |creative_wrapper|
58
+ puts ("Creative wrapper ID: %d, label ID: %d was updated with ordering" +
59
+ " '%s'") % [creative_wrapper[:id], creative_wrapper[:label_id],
60
+ creative_wrapper[:ordering]]
61
+ end
62
+ else
63
+ puts 'No creative wrappers found to update.'
64
+ end
65
+ end
66
+
67
+ if __FILE__ == $0
68
+ begin
69
+ update_creative_wrappers()
70
+
71
+ # HTTP errors.
72
+ rescue AdsCommon::Errors::HttpError => e
73
+ puts "HTTP Error: %s" % e
74
+
75
+ # API errors.
76
+ rescue DfpApi::Errors::ApiException => e
77
+ puts "Message: %s" % e.message
78
+ puts 'Errors:'
79
+ e.errors.each_with_index do |error, index|
80
+ puts "\tError [%d]:" % (index + 1)
81
+ error.each do |field, value|
82
+ puts "\t\t%s: %s" % [field, value]
83
+ end
84
+ end
85
+ end
86
+ end