google-dfp-api 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (634) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +11 -0
  3. data/README.md +5 -0
  4. data/dfp_api.yml +1 -1
  5. data/lib/dfp_api/api_config.rb +13 -38
  6. data/lib/dfp_api/dfp_api_statement.rb +5 -0
  7. data/lib/dfp_api/{v201511 → v201611}/activity_group_service.rb +6 -6
  8. data/lib/dfp_api/{v201511 → v201611}/activity_group_service_registry.rb +2 -2
  9. data/lib/dfp_api/{v201508 → v201611}/activity_service.rb +6 -6
  10. data/lib/dfp_api/{v201508 → v201611}/activity_service_registry.rb +2 -2
  11. data/lib/dfp_api/{v201511 → v201611}/ad_exclusion_rule_service.rb +6 -6
  12. data/lib/dfp_api/{v201511 → v201611}/ad_exclusion_rule_service_registry.rb +2 -2
  13. data/lib/dfp_api/{v201511 → v201611}/ad_rule_service.rb +6 -6
  14. data/lib/dfp_api/v201611/ad_rule_service_registry.rb +45 -0
  15. data/lib/dfp_api/{v201508 → v201611}/audience_segment_service.rb +6 -6
  16. data/lib/dfp_api/{v201511 → v201611}/audience_segment_service_registry.rb +3 -3
  17. data/lib/dfp_api/{v201511 → v201611}/base_rate_service.rb +6 -6
  18. data/lib/dfp_api/{v201511 → v201611}/base_rate_service_registry.rb +2 -2
  19. data/lib/dfp_api/{v201511 → v201611}/company_service.rb +6 -6
  20. data/lib/dfp_api/{v201511 → v201611}/company_service_registry.rb +3 -3
  21. data/lib/dfp_api/{v201511 → v201611}/contact_service.rb +6 -6
  22. data/lib/dfp_api/{v201511 → v201611}/contact_service_registry.rb +2 -2
  23. data/lib/dfp_api/{v201511 → v201611}/content_bundle_service.rb +6 -6
  24. data/lib/dfp_api/v201611/content_bundle_service_registry.rb +45 -0
  25. data/lib/dfp_api/{v201511 → v201611}/content_metadata_key_hierarchy_service.rb +6 -6
  26. data/lib/dfp_api/{v201511 → v201611}/content_metadata_key_hierarchy_service_registry.rb +2 -2
  27. data/lib/dfp_api/{v201511 → v201611}/content_service.rb +6 -6
  28. data/lib/dfp_api/{v201511 → v201611}/content_service_registry.rb +2 -2
  29. data/lib/dfp_api/{v201511 → v201611}/creative_service.rb +6 -6
  30. data/lib/dfp_api/v201611/creative_service_registry.rb +45 -0
  31. data/lib/dfp_api/{v201508 → v201611}/creative_set_service.rb +6 -6
  32. data/lib/dfp_api/v201611/creative_set_service_registry.rb +45 -0
  33. data/lib/dfp_api/{v201508 → v201611}/creative_template_service.rb +6 -6
  34. data/lib/dfp_api/v201611/creative_template_service_registry.rb +45 -0
  35. data/lib/dfp_api/{v201508 → v201611}/creative_wrapper_service.rb +6 -6
  36. data/lib/dfp_api/{v201511 → v201611}/creative_wrapper_service_registry.rb +2 -2
  37. data/lib/dfp_api/{v201511 → v201611}/custom_field_service.rb +6 -6
  38. data/lib/dfp_api/{v201511 → v201611}/custom_field_service_registry.rb +2 -2
  39. data/lib/dfp_api/{v201508 → v201611}/custom_targeting_service.rb +6 -6
  40. data/lib/dfp_api/{v201511 → v201611}/custom_targeting_service_registry.rb +2 -2
  41. data/lib/dfp_api/{v201508 → v201611}/exchange_rate_service.rb +6 -6
  42. data/lib/dfp_api/{v201511 → v201611}/exchange_rate_service_registry.rb +2 -2
  43. data/lib/dfp_api/{v201511 → v201611}/forecast_service.rb +6 -6
  44. data/lib/dfp_api/v201611/forecast_service_registry.rb +45 -0
  45. data/lib/dfp_api/{v201508 → v201611}/inventory_service.rb +6 -6
  46. data/lib/dfp_api/v201611/inventory_service_registry.rb +45 -0
  47. data/lib/dfp_api/{v201508 → v201611}/label_service.rb +6 -6
  48. data/lib/dfp_api/{v201511 → v201611}/label_service_registry.rb +2 -2
  49. data/lib/dfp_api/{v201508 → v201611}/line_item_creative_association_service.rb +6 -6
  50. data/lib/dfp_api/v201611/line_item_creative_association_service_registry.rb +45 -0
  51. data/lib/dfp_api/{v201511 → v201611}/line_item_service.rb +6 -6
  52. data/lib/dfp_api/v201611/line_item_service_registry.rb +45 -0
  53. data/lib/dfp_api/{v201511 → v201611}/line_item_template_service.rb +6 -6
  54. data/lib/dfp_api/v201611/line_item_template_service_registry.rb +45 -0
  55. data/lib/dfp_api/{v201511 → v201611}/live_stream_event_service.rb +14 -6
  56. data/lib/dfp_api/{v201511 → v201611}/live_stream_event_service_registry.rb +4 -4
  57. data/lib/dfp_api/v201611/mobile_application_service.rb +62 -0
  58. data/lib/dfp_api/v201611/mobile_application_service_registry.rb +45 -0
  59. data/lib/dfp_api/{v201511 → v201611}/network_service.rb +6 -6
  60. data/lib/dfp_api/{v201511 → v201611}/network_service_registry.rb +3 -3
  61. data/lib/dfp_api/{v201508 → v201611}/order_service.rb +6 -6
  62. data/lib/dfp_api/{v201508 → v201611}/order_service_registry.rb +3 -3
  63. data/lib/dfp_api/{v201508 → v201611}/package_service.rb +6 -6
  64. data/lib/dfp_api/{v201511 → v201611}/package_service_registry.rb +2 -2
  65. data/lib/dfp_api/{v201508 → v201611}/placement_service.rb +6 -6
  66. data/lib/dfp_api/{v201511 → v201611}/placement_service_registry.rb +2 -2
  67. data/lib/dfp_api/{v201508 → v201611}/premium_rate_service.rb +6 -6
  68. data/lib/dfp_api/{v201508 → v201611}/premium_rate_service_registry.rb +2 -2
  69. data/lib/dfp_api/{v201508 → v201611}/product_package_item_service.rb +6 -6
  70. data/lib/dfp_api/{v201508 → v201611}/product_package_item_service_registry.rb +2 -2
  71. data/lib/dfp_api/{v201511 → v201611}/product_package_service.rb +6 -6
  72. data/lib/dfp_api/{v201508 → v201611}/product_package_service_registry.rb +3 -3
  73. data/lib/dfp_api/{v201511 → v201611}/product_service.rb +14 -6
  74. data/lib/dfp_api/v201611/product_service_registry.rb +45 -0
  75. data/lib/dfp_api/{v201511 → v201611}/product_template_service.rb +6 -6
  76. data/lib/dfp_api/v201611/product_template_service_registry.rb +45 -0
  77. data/lib/dfp_api/{v201508 → v201611}/proposal_line_item_service.rb +6 -6
  78. data/lib/dfp_api/v201611/proposal_line_item_service_registry.rb +45 -0
  79. data/lib/dfp_api/{v201508 → v201611}/proposal_service.rb +14 -6
  80. data/lib/dfp_api/v201611/proposal_service_registry.rb +45 -0
  81. data/lib/dfp_api/{v201511 → v201611}/publisher_query_language_service.rb +6 -6
  82. data/lib/dfp_api/v201611/publisher_query_language_service_registry.rb +45 -0
  83. data/lib/dfp_api/{v201508 → v201611}/rate_card_service.rb +6 -6
  84. data/lib/dfp_api/{v201511 → v201611}/rate_card_service_registry.rb +3 -3
  85. data/lib/dfp_api/{v201508 → v201611}/reconciliation_line_item_report_service.rb +6 -6
  86. data/lib/dfp_api/{v201511 → v201611}/reconciliation_line_item_report_service_registry.rb +2 -2
  87. data/lib/dfp_api/{v201511 → v201611}/reconciliation_order_report_service.rb +6 -6
  88. data/lib/dfp_api/{v201508 → v201611}/reconciliation_order_report_service_registry.rb +2 -2
  89. data/lib/dfp_api/{v201511 → v201611}/reconciliation_report_row_service.rb +6 -6
  90. data/lib/dfp_api/{v201511 → v201611}/reconciliation_report_row_service_registry.rb +2 -2
  91. data/lib/dfp_api/{v201508 → v201611}/reconciliation_report_service.rb +6 -6
  92. data/lib/dfp_api/{v201508 → v201611}/reconciliation_report_service_registry.rb +2 -2
  93. data/lib/dfp_api/{v201508 → v201611}/report_service.rb +14 -6
  94. data/lib/dfp_api/{v201511 → v201611}/report_service_registry.rb +4 -4
  95. data/lib/dfp_api/{v201508 → v201611}/suggested_ad_unit_service.rb +6 -6
  96. data/lib/dfp_api/v201611/suggested_ad_unit_service_registry.rb +45 -0
  97. data/lib/dfp_api/{v201508 → v201611}/team_service.rb +6 -6
  98. data/lib/dfp_api/{v201508 → v201611}/team_service_registry.rb +3 -3
  99. data/lib/dfp_api/{v201508 → v201611}/user_service.rb +6 -6
  100. data/lib/dfp_api/{v201508 → v201611}/user_service_registry.rb +3 -3
  101. data/lib/dfp_api/{v201511 → v201611}/user_team_association_service.rb +6 -6
  102. data/lib/dfp_api/{v201511 → v201611}/user_team_association_service_registry.rb +2 -2
  103. data/lib/dfp_api/{v201508 → v201611}/workflow_request_service.rb +6 -6
  104. data/lib/dfp_api/{v201511 → v201611}/workflow_request_service_registry.rb +3 -3
  105. data/lib/dfp_api/version.rb +1 -1
  106. data/test/bugs/test_issue_00000007.rb +113 -0
  107. data/test/bugs/test_issue_00000081.rb +5 -3
  108. metadata +105 -611
  109. data/examples/v201602/activity_group_service/create_activity_groups.rb +0 -90
  110. data/examples/v201602/activity_group_service/get_active_activity_groups.rb +0 -87
  111. data/examples/v201602/activity_group_service/get_all_activity_groups.rb +0 -81
  112. data/examples/v201602/activity_group_service/update_activity_groups.rb +0 -94
  113. data/examples/v201602/activity_service/create_activities.rb +0 -87
  114. data/examples/v201602/activity_service/get_active_activities.rb +0 -87
  115. data/examples/v201602/activity_service/get_all_activities.rb +0 -81
  116. data/examples/v201602/activity_service/update_activities.rb +0 -96
  117. data/examples/v201602/audience_segment_service/create_audience_segments.rb +0 -114
  118. data/examples/v201602/audience_segment_service/get_all_audience_segments.rb +0 -81
  119. data/examples/v201602/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  120. data/examples/v201602/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  121. data/examples/v201602/audience_segment_service/update_audience_segments.rb +0 -94
  122. data/examples/v201602/common/error_handling.rb +0 -72
  123. data/examples/v201602/common/oauth2_jwt_handling.rb +0 -99
  124. data/examples/v201602/common/setup_oauth2.rb +0 -85
  125. data/examples/v201602/company_service/create_companies.rb +0 -78
  126. data/examples/v201602/company_service/get_all_companies.rb +0 -80
  127. data/examples/v201602/company_service/get_companies_by_statement.rb +0 -89
  128. data/examples/v201602/company_service/update_companies.rb +0 -104
  129. data/examples/v201602/contact_service/create_contacts.rb +0 -91
  130. data/examples/v201602/contact_service/get_all_contacts.rb +0 -80
  131. data/examples/v201602/contact_service/get_uninvited_contacts.rb +0 -94
  132. data/examples/v201602/contact_service/update_contacts.rb +0 -96
  133. data/examples/v201602/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  134. data/examples/v201602/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  135. data/examples/v201602/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  136. data/examples/v201602/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  137. data/examples/v201602/content_service/get_all_content.rb +0 -81
  138. data/examples/v201602/content_service/get_content_by_category.rb +0 -127
  139. data/examples/v201602/creative_service/copy_image_creatives.rb +0 -111
  140. data/examples/v201602/creative_service/create_creative_from_template.rb +0 -135
  141. data/examples/v201602/creative_service/create_creatives.rb +0 -108
  142. data/examples/v201602/creative_service/create_custom_creative.rb +0 -103
  143. data/examples/v201602/creative_service/create_native_creative.rb +0 -189
  144. data/examples/v201602/creative_service/get_all_creatives.rb +0 -80
  145. data/examples/v201602/creative_service/get_creatives_by_statement.rb +0 -88
  146. data/examples/v201602/creative_service/update_creatives.rb +0 -97
  147. data/examples/v201602/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  148. data/examples/v201602/creative_set_service/create_creative_set.rb +0 -79
  149. data/examples/v201602/creative_set_service/get_all_creative_sets.rb +0 -82
  150. data/examples/v201602/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  151. data/examples/v201602/creative_set_service/update_creative_sets.rb +0 -98
  152. data/examples/v201602/creative_template_service/get_all_creative_templates.rb +0 -82
  153. data/examples/v201602/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  154. data/examples/v201602/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  155. data/examples/v201602/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  156. data/examples/v201602/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  157. data/examples/v201602/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  158. data/examples/v201602/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  159. data/examples/v201602/custom_field_service/create_custom_field_options.rb +0 -83
  160. data/examples/v201602/custom_field_service/create_custom_fields.rb +0 -82
  161. data/examples/v201602/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  162. data/examples/v201602/custom_field_service/get_all_custom_fields.rb +0 -90
  163. data/examples/v201602/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  164. data/examples/v201602/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  165. data/examples/v201602/custom_field_service/update_custom_fields.rb +0 -98
  166. data/examples/v201602/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  167. data/examples/v201602/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  168. data/examples/v201602/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  169. data/examples/v201602/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  170. data/examples/v201602/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  171. data/examples/v201602/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  172. data/examples/v201602/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  173. data/examples/v201602/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  174. data/examples/v201602/forecast_service/get_availability_forecast.rb +0 -134
  175. data/examples/v201602/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  176. data/examples/v201602/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  177. data/examples/v201602/inventory_service/create_ad_units.rb +0 -97
  178. data/examples/v201602/inventory_service/create_video_ad_unit.rb +0 -103
  179. data/examples/v201602/inventory_service/deactivate_ad_units.rb +0 -110
  180. data/examples/v201602/inventory_service/get_ad_unit_sizes.rb +0 -74
  181. data/examples/v201602/inventory_service/get_ad_units_by_statement.rb +0 -97
  182. data/examples/v201602/inventory_service/get_all_ad_units.rb +0 -80
  183. data/examples/v201602/inventory_service/update_ad_units.rb +0 -105
  184. data/examples/v201602/label_service/create_labels.rb +0 -79
  185. data/examples/v201602/label_service/deactivate_labels.rb +0 -107
  186. data/examples/v201602/label_service/get_all_labels.rb +0 -82
  187. data/examples/v201602/label_service/get_labels_by_statement.rb +0 -82
  188. data/examples/v201602/label_service/update_labels.rb +0 -96
  189. data/examples/v201602/line_item_creative_association_service/create_licas.rb +0 -90
  190. data/examples/v201602/line_item_creative_association_service/deactivate_licas.rb +0 -113
  191. data/examples/v201602/line_item_creative_association_service/get_all_licas.rb +0 -85
  192. data/examples/v201602/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  193. data/examples/v201602/line_item_creative_association_service/update_licas.rb +0 -96
  194. data/examples/v201602/line_item_service/activate_line_items.rb +0 -118
  195. data/examples/v201602/line_item_service/create_line_items.rb +0 -182
  196. data/examples/v201602/line_item_service/create_video_line_item.rb +0 -164
  197. data/examples/v201602/line_item_service/get_all_line_items.rb +0 -82
  198. data/examples/v201602/line_item_service/get_line_items_by_statement.rb +0 -91
  199. data/examples/v201602/line_item_service/get_recently_updated_line_items.rb +0 -100
  200. data/examples/v201602/line_item_service/target_custom_criteria.rb +0 -140
  201. data/examples/v201602/line_item_service/update_line_items.rb +0 -106
  202. data/examples/v201602/network_service/get_all_networks.rb +0 -70
  203. data/examples/v201602/network_service/get_current_network.rb +0 -62
  204. data/examples/v201602/network_service/make_test_network.rb +0 -75
  205. data/examples/v201602/order_service/approve_orders.rb +0 -110
  206. data/examples/v201602/order_service/create_orders.rb +0 -88
  207. data/examples/v201602/order_service/get_all_orders.rb +0 -80
  208. data/examples/v201602/order_service/get_orders_by_statement.rb +0 -90
  209. data/examples/v201602/order_service/update_orders.rb +0 -101
  210. data/examples/v201602/placement_service/create_placements.rb +0 -128
  211. data/examples/v201602/placement_service/deactivate_placements.rb +0 -106
  212. data/examples/v201602/placement_service/get_all_placements.rb +0 -81
  213. data/examples/v201602/placement_service/get_placements_by_statement.rb +0 -87
  214. data/examples/v201602/placement_service/update_placements.rb +0 -102
  215. data/examples/v201602/publisher_query_language_service/fetch_match_tables.rb +0 -107
  216. data/examples/v201602/publisher_query_language_service/get_all_line_items.rb +0 -95
  217. data/examples/v201602/publisher_query_language_service/get_geo_targets.rb +0 -98
  218. data/examples/v201602/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  219. data/examples/v201602/report_service/display_report.rb +0 -77
  220. data/examples/v201602/report_service/download_report.rb +0 -77
  221. data/examples/v201602/report_service/run_delivery_report.rb +0 -111
  222. data/examples/v201602/report_service/run_inventory_report.rb +0 -109
  223. data/examples/v201602/report_service/run_reach_report.rb +0 -85
  224. data/examples/v201602/report_service/run_report_with_custom_fields.rb +0 -89
  225. data/examples/v201602/report_service/run_sales_report.rb +0 -89
  226. data/examples/v201602/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  227. data/examples/v201602/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  228. data/examples/v201602/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  229. data/examples/v201602/team_service/create_teams.rb +0 -79
  230. data/examples/v201602/team_service/get_all_teams.rb +0 -79
  231. data/examples/v201602/team_service/get_teams_by_statement.rb +0 -78
  232. data/examples/v201602/team_service/update_teams.rb +0 -94
  233. data/examples/v201602/user_service/create_users.rb +0 -85
  234. data/examples/v201602/user_service/deactivate_users.rb +0 -94
  235. data/examples/v201602/user_service/get_all_roles.rb +0 -69
  236. data/examples/v201602/user_service/get_all_users.rb +0 -79
  237. data/examples/v201602/user_service/get_current_user.rb +0 -62
  238. data/examples/v201602/user_service/get_users_by_statement.rb +0 -80
  239. data/examples/v201602/user_service/update_users.rb +0 -94
  240. data/examples/v201602/user_team_association_service/create_user_team_associations.rb +0 -82
  241. data/examples/v201602/user_team_association_service/delete_user_team_associations.rb +0 -98
  242. data/examples/v201602/user_team_association_service/get_all_user_team_associations.rb +0 -83
  243. data/examples/v201602/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  244. data/examples/v201602/user_team_association_service/update_user_team_associations.rb +0 -98
  245. data/examples/v201605/activity_group_service/create_activity_groups.rb +0 -90
  246. data/examples/v201605/activity_group_service/get_active_activity_groups.rb +0 -87
  247. data/examples/v201605/activity_group_service/get_all_activity_groups.rb +0 -81
  248. data/examples/v201605/activity_group_service/update_activity_groups.rb +0 -94
  249. data/examples/v201605/activity_service/create_activities.rb +0 -87
  250. data/examples/v201605/activity_service/get_active_activities.rb +0 -87
  251. data/examples/v201605/activity_service/get_all_activities.rb +0 -81
  252. data/examples/v201605/activity_service/update_activities.rb +0 -96
  253. data/examples/v201605/audience_segment_service/create_audience_segments.rb +0 -114
  254. data/examples/v201605/audience_segment_service/get_all_audience_segments.rb +0 -81
  255. data/examples/v201605/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  256. data/examples/v201605/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  257. data/examples/v201605/audience_segment_service/update_audience_segments.rb +0 -94
  258. data/examples/v201605/common/error_handling.rb +0 -72
  259. data/examples/v201605/common/oauth2_jwt_handling.rb +0 -99
  260. data/examples/v201605/common/setup_oauth2.rb +0 -85
  261. data/examples/v201605/company_service/create_companies.rb +0 -78
  262. data/examples/v201605/company_service/get_all_companies.rb +0 -80
  263. data/examples/v201605/company_service/get_companies_by_statement.rb +0 -89
  264. data/examples/v201605/company_service/update_companies.rb +0 -104
  265. data/examples/v201605/contact_service/create_contacts.rb +0 -91
  266. data/examples/v201605/contact_service/get_all_contacts.rb +0 -80
  267. data/examples/v201605/contact_service/get_uninvited_contacts.rb +0 -94
  268. data/examples/v201605/contact_service/update_contacts.rb +0 -96
  269. data/examples/v201605/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  270. data/examples/v201605/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  271. data/examples/v201605/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  272. data/examples/v201605/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  273. data/examples/v201605/content_service/get_all_content.rb +0 -81
  274. data/examples/v201605/content_service/get_content_by_category.rb +0 -127
  275. data/examples/v201605/creative_service/copy_image_creatives.rb +0 -111
  276. data/examples/v201605/creative_service/create_creative_from_template.rb +0 -135
  277. data/examples/v201605/creative_service/create_creatives.rb +0 -108
  278. data/examples/v201605/creative_service/create_custom_creative.rb +0 -103
  279. data/examples/v201605/creative_service/create_native_creative.rb +0 -189
  280. data/examples/v201605/creative_service/get_all_creatives.rb +0 -80
  281. data/examples/v201605/creative_service/get_creatives_by_statement.rb +0 -88
  282. data/examples/v201605/creative_service/update_creatives.rb +0 -97
  283. data/examples/v201605/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  284. data/examples/v201605/creative_set_service/create_creative_set.rb +0 -79
  285. data/examples/v201605/creative_set_service/get_all_creative_sets.rb +0 -82
  286. data/examples/v201605/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  287. data/examples/v201605/creative_set_service/update_creative_sets.rb +0 -98
  288. data/examples/v201605/creative_template_service/get_all_creative_templates.rb +0 -82
  289. data/examples/v201605/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  290. data/examples/v201605/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  291. data/examples/v201605/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  292. data/examples/v201605/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  293. data/examples/v201605/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  294. data/examples/v201605/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  295. data/examples/v201605/custom_field_service/create_custom_field_options.rb +0 -83
  296. data/examples/v201605/custom_field_service/create_custom_fields.rb +0 -82
  297. data/examples/v201605/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  298. data/examples/v201605/custom_field_service/get_all_custom_fields.rb +0 -90
  299. data/examples/v201605/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  300. data/examples/v201605/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  301. data/examples/v201605/custom_field_service/update_custom_fields.rb +0 -98
  302. data/examples/v201605/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  303. data/examples/v201605/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  304. data/examples/v201605/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  305. data/examples/v201605/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  306. data/examples/v201605/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  307. data/examples/v201605/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  308. data/examples/v201605/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  309. data/examples/v201605/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  310. data/examples/v201605/forecast_service/get_availability_forecast.rb +0 -134
  311. data/examples/v201605/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  312. data/examples/v201605/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  313. data/examples/v201605/inventory_service/create_ad_units.rb +0 -97
  314. data/examples/v201605/inventory_service/create_video_ad_unit.rb +0 -103
  315. data/examples/v201605/inventory_service/deactivate_ad_units.rb +0 -110
  316. data/examples/v201605/inventory_service/get_ad_unit_sizes.rb +0 -74
  317. data/examples/v201605/inventory_service/get_ad_units_by_statement.rb +0 -97
  318. data/examples/v201605/inventory_service/get_all_ad_units.rb +0 -80
  319. data/examples/v201605/inventory_service/update_ad_units.rb +0 -105
  320. data/examples/v201605/label_service/create_labels.rb +0 -79
  321. data/examples/v201605/label_service/deactivate_labels.rb +0 -107
  322. data/examples/v201605/label_service/get_all_labels.rb +0 -82
  323. data/examples/v201605/label_service/get_labels_by_statement.rb +0 -82
  324. data/examples/v201605/label_service/update_labels.rb +0 -96
  325. data/examples/v201605/line_item_creative_association_service/create_licas.rb +0 -90
  326. data/examples/v201605/line_item_creative_association_service/deactivate_licas.rb +0 -113
  327. data/examples/v201605/line_item_creative_association_service/get_all_licas.rb +0 -85
  328. data/examples/v201605/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  329. data/examples/v201605/line_item_creative_association_service/update_licas.rb +0 -96
  330. data/examples/v201605/line_item_service/activate_line_items.rb +0 -118
  331. data/examples/v201605/line_item_service/create_line_items.rb +0 -182
  332. data/examples/v201605/line_item_service/create_video_line_item.rb +0 -164
  333. data/examples/v201605/line_item_service/get_all_line_items.rb +0 -82
  334. data/examples/v201605/line_item_service/get_line_items_by_statement.rb +0 -91
  335. data/examples/v201605/line_item_service/get_recently_updated_line_items.rb +0 -100
  336. data/examples/v201605/line_item_service/target_custom_criteria.rb +0 -140
  337. data/examples/v201605/line_item_service/update_line_items.rb +0 -106
  338. data/examples/v201605/network_service/get_all_networks.rb +0 -70
  339. data/examples/v201605/network_service/get_current_network.rb +0 -62
  340. data/examples/v201605/network_service/make_test_network.rb +0 -75
  341. data/examples/v201605/order_service/approve_orders.rb +0 -110
  342. data/examples/v201605/order_service/create_orders.rb +0 -88
  343. data/examples/v201605/order_service/get_all_orders.rb +0 -80
  344. data/examples/v201605/order_service/get_orders_by_statement.rb +0 -90
  345. data/examples/v201605/order_service/update_orders.rb +0 -101
  346. data/examples/v201605/placement_service/create_placements.rb +0 -128
  347. data/examples/v201605/placement_service/deactivate_placements.rb +0 -106
  348. data/examples/v201605/placement_service/get_all_placements.rb +0 -81
  349. data/examples/v201605/placement_service/get_placements_by_statement.rb +0 -87
  350. data/examples/v201605/placement_service/update_placements.rb +0 -102
  351. data/examples/v201605/publisher_query_language_service/fetch_match_tables.rb +0 -107
  352. data/examples/v201605/publisher_query_language_service/get_all_line_items.rb +0 -95
  353. data/examples/v201605/publisher_query_language_service/get_geo_targets.rb +0 -98
  354. data/examples/v201605/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  355. data/examples/v201605/report_service/display_report.rb +0 -77
  356. data/examples/v201605/report_service/download_report.rb +0 -77
  357. data/examples/v201605/report_service/run_delivery_report.rb +0 -111
  358. data/examples/v201605/report_service/run_inventory_report.rb +0 -109
  359. data/examples/v201605/report_service/run_reach_report.rb +0 -85
  360. data/examples/v201605/report_service/run_report_with_custom_fields.rb +0 -89
  361. data/examples/v201605/report_service/run_sales_report.rb +0 -89
  362. data/examples/v201605/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  363. data/examples/v201605/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  364. data/examples/v201605/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  365. data/examples/v201605/team_service/create_teams.rb +0 -79
  366. data/examples/v201605/team_service/get_all_teams.rb +0 -79
  367. data/examples/v201605/team_service/get_teams_by_statement.rb +0 -78
  368. data/examples/v201605/team_service/update_teams.rb +0 -94
  369. data/examples/v201605/user_service/create_users.rb +0 -85
  370. data/examples/v201605/user_service/deactivate_users.rb +0 -94
  371. data/examples/v201605/user_service/get_all_roles.rb +0 -69
  372. data/examples/v201605/user_service/get_all_users.rb +0 -79
  373. data/examples/v201605/user_service/get_current_user.rb +0 -62
  374. data/examples/v201605/user_service/get_users_by_statement.rb +0 -80
  375. data/examples/v201605/user_service/update_users.rb +0 -94
  376. data/examples/v201605/user_team_association_service/create_user_team_associations.rb +0 -82
  377. data/examples/v201605/user_team_association_service/delete_user_team_associations.rb +0 -98
  378. data/examples/v201605/user_team_association_service/get_all_user_team_associations.rb +0 -83
  379. data/examples/v201605/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  380. data/examples/v201605/user_team_association_service/update_user_team_associations.rb +0 -98
  381. data/examples/v201608/activity_group_service/create_activity_groups.rb +0 -90
  382. data/examples/v201608/activity_group_service/get_active_activity_groups.rb +0 -87
  383. data/examples/v201608/activity_group_service/get_all_activity_groups.rb +0 -81
  384. data/examples/v201608/activity_group_service/update_activity_groups.rb +0 -94
  385. data/examples/v201608/activity_service/create_activities.rb +0 -87
  386. data/examples/v201608/activity_service/get_active_activities.rb +0 -87
  387. data/examples/v201608/activity_service/get_all_activities.rb +0 -81
  388. data/examples/v201608/activity_service/update_activities.rb +0 -96
  389. data/examples/v201608/audience_segment_service/create_audience_segments.rb +0 -114
  390. data/examples/v201608/audience_segment_service/get_all_audience_segments.rb +0 -81
  391. data/examples/v201608/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  392. data/examples/v201608/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  393. data/examples/v201608/audience_segment_service/update_audience_segments.rb +0 -94
  394. data/examples/v201608/common/error_handling.rb +0 -72
  395. data/examples/v201608/common/oauth2_jwt_handling.rb +0 -99
  396. data/examples/v201608/common/setup_oauth2.rb +0 -85
  397. data/examples/v201608/company_service/create_companies.rb +0 -78
  398. data/examples/v201608/company_service/get_all_companies.rb +0 -80
  399. data/examples/v201608/company_service/get_companies_by_statement.rb +0 -89
  400. data/examples/v201608/company_service/update_companies.rb +0 -104
  401. data/examples/v201608/contact_service/create_contacts.rb +0 -91
  402. data/examples/v201608/contact_service/get_all_contacts.rb +0 -80
  403. data/examples/v201608/contact_service/get_uninvited_contacts.rb +0 -94
  404. data/examples/v201608/contact_service/update_contacts.rb +0 -96
  405. data/examples/v201608/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  406. data/examples/v201608/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  407. data/examples/v201608/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  408. data/examples/v201608/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  409. data/examples/v201608/content_service/get_all_content.rb +0 -81
  410. data/examples/v201608/content_service/get_content_by_category.rb +0 -127
  411. data/examples/v201608/creative_service/copy_image_creatives.rb +0 -111
  412. data/examples/v201608/creative_service/create_creative_from_template.rb +0 -135
  413. data/examples/v201608/creative_service/create_creatives.rb +0 -108
  414. data/examples/v201608/creative_service/create_custom_creative.rb +0 -103
  415. data/examples/v201608/creative_service/create_native_creative.rb +0 -189
  416. data/examples/v201608/creative_service/get_all_creatives.rb +0 -80
  417. data/examples/v201608/creative_service/get_creatives_by_statement.rb +0 -88
  418. data/examples/v201608/creative_service/update_creatives.rb +0 -97
  419. data/examples/v201608/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  420. data/examples/v201608/creative_set_service/create_creative_set.rb +0 -79
  421. data/examples/v201608/creative_set_service/get_all_creative_sets.rb +0 -82
  422. data/examples/v201608/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  423. data/examples/v201608/creative_set_service/update_creative_sets.rb +0 -98
  424. data/examples/v201608/creative_template_service/get_all_creative_templates.rb +0 -82
  425. data/examples/v201608/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  426. data/examples/v201608/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  427. data/examples/v201608/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  428. data/examples/v201608/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  429. data/examples/v201608/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  430. data/examples/v201608/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  431. data/examples/v201608/custom_field_service/create_custom_field_options.rb +0 -83
  432. data/examples/v201608/custom_field_service/create_custom_fields.rb +0 -82
  433. data/examples/v201608/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  434. data/examples/v201608/custom_field_service/get_all_custom_fields.rb +0 -90
  435. data/examples/v201608/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  436. data/examples/v201608/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  437. data/examples/v201608/custom_field_service/update_custom_fields.rb +0 -98
  438. data/examples/v201608/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  439. data/examples/v201608/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  440. data/examples/v201608/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  441. data/examples/v201608/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  442. data/examples/v201608/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  443. data/examples/v201608/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  444. data/examples/v201608/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  445. data/examples/v201608/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  446. data/examples/v201608/forecast_service/get_availability_forecast.rb +0 -134
  447. data/examples/v201608/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  448. data/examples/v201608/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  449. data/examples/v201608/inventory_service/create_ad_units.rb +0 -97
  450. data/examples/v201608/inventory_service/deactivate_ad_units.rb +0 -110
  451. data/examples/v201608/inventory_service/get_ad_unit_sizes.rb +0 -74
  452. data/examples/v201608/inventory_service/get_ad_units_by_statement.rb +0 -97
  453. data/examples/v201608/inventory_service/get_all_ad_units.rb +0 -80
  454. data/examples/v201608/inventory_service/update_ad_units.rb +0 -113
  455. data/examples/v201608/label_service/create_labels.rb +0 -79
  456. data/examples/v201608/label_service/deactivate_labels.rb +0 -107
  457. data/examples/v201608/label_service/get_all_labels.rb +0 -82
  458. data/examples/v201608/label_service/get_labels_by_statement.rb +0 -82
  459. data/examples/v201608/label_service/update_labels.rb +0 -96
  460. data/examples/v201608/line_item_creative_association_service/create_licas.rb +0 -90
  461. data/examples/v201608/line_item_creative_association_service/deactivate_licas.rb +0 -113
  462. data/examples/v201608/line_item_creative_association_service/get_all_licas.rb +0 -85
  463. data/examples/v201608/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  464. data/examples/v201608/line_item_creative_association_service/update_licas.rb +0 -96
  465. data/examples/v201608/line_item_service/activate_line_items.rb +0 -118
  466. data/examples/v201608/line_item_service/create_line_items.rb +0 -182
  467. data/examples/v201608/line_item_service/create_video_line_item.rb +0 -164
  468. data/examples/v201608/line_item_service/get_all_line_items.rb +0 -82
  469. data/examples/v201608/line_item_service/get_line_items_by_statement.rb +0 -91
  470. data/examples/v201608/line_item_service/get_recently_updated_line_items.rb +0 -100
  471. data/examples/v201608/line_item_service/target_custom_criteria.rb +0 -140
  472. data/examples/v201608/line_item_service/update_line_items.rb +0 -106
  473. data/examples/v201608/network_service/get_all_networks.rb +0 -70
  474. data/examples/v201608/network_service/get_current_network.rb +0 -62
  475. data/examples/v201608/network_service/make_test_network.rb +0 -75
  476. data/examples/v201608/order_service/approve_orders.rb +0 -110
  477. data/examples/v201608/order_service/create_orders.rb +0 -88
  478. data/examples/v201608/order_service/get_all_orders.rb +0 -80
  479. data/examples/v201608/order_service/get_orders_by_statement.rb +0 -90
  480. data/examples/v201608/order_service/update_orders.rb +0 -101
  481. data/examples/v201608/placement_service/create_placements.rb +0 -128
  482. data/examples/v201608/placement_service/deactivate_placements.rb +0 -106
  483. data/examples/v201608/placement_service/get_all_placements.rb +0 -81
  484. data/examples/v201608/placement_service/get_placements_by_statement.rb +0 -87
  485. data/examples/v201608/placement_service/update_placements.rb +0 -102
  486. data/examples/v201608/publisher_query_language_service/fetch_match_tables.rb +0 -107
  487. data/examples/v201608/publisher_query_language_service/get_all_line_items.rb +0 -95
  488. data/examples/v201608/publisher_query_language_service/get_geo_targets.rb +0 -98
  489. data/examples/v201608/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  490. data/examples/v201608/report_service/display_report.rb +0 -77
  491. data/examples/v201608/report_service/download_report.rb +0 -77
  492. data/examples/v201608/report_service/run_delivery_report.rb +0 -111
  493. data/examples/v201608/report_service/run_inventory_report.rb +0 -109
  494. data/examples/v201608/report_service/run_reach_report.rb +0 -85
  495. data/examples/v201608/report_service/run_report_with_custom_fields.rb +0 -89
  496. data/examples/v201608/report_service/run_sales_report.rb +0 -89
  497. data/examples/v201608/report_service/run_saved_query.rb +0 -105
  498. data/examples/v201608/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  499. data/examples/v201608/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  500. data/examples/v201608/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  501. data/examples/v201608/team_service/create_teams.rb +0 -79
  502. data/examples/v201608/team_service/get_all_teams.rb +0 -79
  503. data/examples/v201608/team_service/get_teams_by_statement.rb +0 -78
  504. data/examples/v201608/team_service/update_teams.rb +0 -88
  505. data/examples/v201608/user_service/create_users.rb +0 -85
  506. data/examples/v201608/user_service/deactivate_users.rb +0 -94
  507. data/examples/v201608/user_service/get_all_roles.rb +0 -69
  508. data/examples/v201608/user_service/get_all_users.rb +0 -79
  509. data/examples/v201608/user_service/get_current_user.rb +0 -62
  510. data/examples/v201608/user_service/get_users_by_statement.rb +0 -80
  511. data/examples/v201608/user_service/update_users.rb +0 -94
  512. data/examples/v201608/user_team_association_service/create_user_team_associations.rb +0 -82
  513. data/examples/v201608/user_team_association_service/delete_user_team_associations.rb +0 -98
  514. data/examples/v201608/user_team_association_service/get_all_user_team_associations.rb +0 -83
  515. data/examples/v201608/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  516. data/examples/v201608/user_team_association_service/update_user_team_associations.rb +0 -98
  517. data/lib/dfp_api/v201508/activity_group_service.rb +0 -54
  518. data/lib/dfp_api/v201508/activity_group_service_registry.rb +0 -45
  519. data/lib/dfp_api/v201508/ad_exclusion_rule_service.rb +0 -62
  520. data/lib/dfp_api/v201508/ad_exclusion_rule_service_registry.rb +0 -45
  521. data/lib/dfp_api/v201508/ad_rule_service.rb +0 -62
  522. data/lib/dfp_api/v201508/ad_rule_service_registry.rb +0 -45
  523. data/lib/dfp_api/v201508/audience_segment_service_registry.rb +0 -45
  524. data/lib/dfp_api/v201508/base_rate_service.rb +0 -62
  525. data/lib/dfp_api/v201508/base_rate_service_registry.rb +0 -45
  526. data/lib/dfp_api/v201508/company_service.rb +0 -54
  527. data/lib/dfp_api/v201508/company_service_registry.rb +0 -45
  528. data/lib/dfp_api/v201508/contact_service.rb +0 -54
  529. data/lib/dfp_api/v201508/contact_service_registry.rb +0 -45
  530. data/lib/dfp_api/v201508/content_bundle_service.rb +0 -62
  531. data/lib/dfp_api/v201508/content_bundle_service_registry.rb +0 -45
  532. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service.rb +0 -62
  533. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service_registry.rb +0 -45
  534. data/lib/dfp_api/v201508/content_service.rb +0 -46
  535. data/lib/dfp_api/v201508/content_service_registry.rb +0 -45
  536. data/lib/dfp_api/v201508/creative_service.rb +0 -54
  537. data/lib/dfp_api/v201508/creative_service_registry.rb +0 -45
  538. data/lib/dfp_api/v201508/creative_set_service_registry.rb +0 -45
  539. data/lib/dfp_api/v201508/creative_template_service_registry.rb +0 -45
  540. data/lib/dfp_api/v201508/creative_wrapper_service_registry.rb +0 -45
  541. data/lib/dfp_api/v201508/custom_field_service.rb +0 -86
  542. data/lib/dfp_api/v201508/custom_field_service_registry.rb +0 -45
  543. data/lib/dfp_api/v201508/custom_targeting_service_registry.rb +0 -45
  544. data/lib/dfp_api/v201508/exchange_rate_service_registry.rb +0 -45
  545. data/lib/dfp_api/v201508/forecast_service.rb +0 -62
  546. data/lib/dfp_api/v201508/forecast_service_registry.rb +0 -45
  547. data/lib/dfp_api/v201508/inventory_service_registry.rb +0 -45
  548. data/lib/dfp_api/v201508/label_service_registry.rb +0 -45
  549. data/lib/dfp_api/v201508/line_item_creative_association_service_registry.rb +0 -45
  550. data/lib/dfp_api/v201508/line_item_service.rb +0 -62
  551. data/lib/dfp_api/v201508/line_item_service_registry.rb +0 -45
  552. data/lib/dfp_api/v201508/line_item_template_service.rb +0 -38
  553. data/lib/dfp_api/v201508/line_item_template_service_registry.rb +0 -45
  554. data/lib/dfp_api/v201508/live_stream_event_service.rb +0 -62
  555. data/lib/dfp_api/v201508/live_stream_event_service_registry.rb +0 -45
  556. data/lib/dfp_api/v201508/network_service.rb +0 -62
  557. data/lib/dfp_api/v201508/network_service_registry.rb +0 -45
  558. data/lib/dfp_api/v201508/package_service_registry.rb +0 -45
  559. data/lib/dfp_api/v201508/placement_service_registry.rb +0 -45
  560. data/lib/dfp_api/v201508/product_package_service.rb +0 -62
  561. data/lib/dfp_api/v201508/product_service.rb +0 -54
  562. data/lib/dfp_api/v201508/product_service_registry.rb +0 -45
  563. data/lib/dfp_api/v201508/product_template_service.rb +0 -62
  564. data/lib/dfp_api/v201508/product_template_service_registry.rb +0 -45
  565. data/lib/dfp_api/v201508/proposal_line_item_service_registry.rb +0 -45
  566. data/lib/dfp_api/v201508/proposal_service_registry.rb +0 -45
  567. data/lib/dfp_api/v201508/publisher_query_language_service.rb +0 -38
  568. data/lib/dfp_api/v201508/publisher_query_language_service_registry.rb +0 -45
  569. data/lib/dfp_api/v201508/rate_card_service_registry.rb +0 -45
  570. data/lib/dfp_api/v201508/reconciliation_line_item_report_service_registry.rb +0 -45
  571. data/lib/dfp_api/v201508/reconciliation_order_report_service.rb +0 -54
  572. data/lib/dfp_api/v201508/reconciliation_report_row_service.rb +0 -46
  573. data/lib/dfp_api/v201508/reconciliation_report_row_service_registry.rb +0 -45
  574. data/lib/dfp_api/v201508/report_service_registry.rb +0 -45
  575. data/lib/dfp_api/v201508/shared_ad_unit_service.rb +0 -46
  576. data/lib/dfp_api/v201508/shared_ad_unit_service_registry.rb +0 -45
  577. data/lib/dfp_api/v201508/suggested_ad_unit_service_registry.rb +0 -45
  578. data/lib/dfp_api/v201508/user_team_association_service.rb +0 -62
  579. data/lib/dfp_api/v201508/user_team_association_service_registry.rb +0 -45
  580. data/lib/dfp_api/v201508/workflow_request_service_registry.rb +0 -45
  581. data/lib/dfp_api/v201511/activity_service.rb +0 -54
  582. data/lib/dfp_api/v201511/activity_service_registry.rb +0 -45
  583. data/lib/dfp_api/v201511/ad_rule_service_registry.rb +0 -45
  584. data/lib/dfp_api/v201511/audience_segment_service.rb +0 -62
  585. data/lib/dfp_api/v201511/content_bundle_service_registry.rb +0 -45
  586. data/lib/dfp_api/v201511/creative_service_registry.rb +0 -45
  587. data/lib/dfp_api/v201511/creative_set_service.rb +0 -54
  588. data/lib/dfp_api/v201511/creative_set_service_registry.rb +0 -45
  589. data/lib/dfp_api/v201511/creative_template_service.rb +0 -38
  590. data/lib/dfp_api/v201511/creative_template_service_registry.rb +0 -45
  591. data/lib/dfp_api/v201511/creative_wrapper_service.rb +0 -62
  592. data/lib/dfp_api/v201511/custom_targeting_service.rb +0 -94
  593. data/lib/dfp_api/v201511/exchange_rate_service.rb +0 -62
  594. data/lib/dfp_api/v201511/forecast_service_registry.rb +0 -45
  595. data/lib/dfp_api/v201511/inventory_service.rb +0 -70
  596. data/lib/dfp_api/v201511/inventory_service_registry.rb +0 -45
  597. data/lib/dfp_api/v201511/label_service.rb +0 -62
  598. data/lib/dfp_api/v201511/line_item_creative_association_service.rb +0 -70
  599. data/lib/dfp_api/v201511/line_item_creative_association_service_registry.rb +0 -45
  600. data/lib/dfp_api/v201511/line_item_service_registry.rb +0 -45
  601. data/lib/dfp_api/v201511/line_item_template_service_registry.rb +0 -45
  602. data/lib/dfp_api/v201511/order_service.rb +0 -62
  603. data/lib/dfp_api/v201511/order_service_registry.rb +0 -45
  604. data/lib/dfp_api/v201511/package_service.rb +0 -62
  605. data/lib/dfp_api/v201511/placement_service.rb +0 -62
  606. data/lib/dfp_api/v201511/premium_rate_service.rb +0 -54
  607. data/lib/dfp_api/v201511/premium_rate_service_registry.rb +0 -45
  608. data/lib/dfp_api/v201511/product_package_item_service.rb +0 -62
  609. data/lib/dfp_api/v201511/product_package_item_service_registry.rb +0 -45
  610. data/lib/dfp_api/v201511/product_package_service_registry.rb +0 -45
  611. data/lib/dfp_api/v201511/product_service_registry.rb +0 -45
  612. data/lib/dfp_api/v201511/product_template_service_registry.rb +0 -45
  613. data/lib/dfp_api/v201511/proposal_line_item_service.rb +0 -62
  614. data/lib/dfp_api/v201511/proposal_line_item_service_registry.rb +0 -45
  615. data/lib/dfp_api/v201511/proposal_service.rb +0 -62
  616. data/lib/dfp_api/v201511/proposal_service_registry.rb +0 -45
  617. data/lib/dfp_api/v201511/publisher_query_language_service_registry.rb +0 -45
  618. data/lib/dfp_api/v201511/rate_card_service.rb +0 -62
  619. data/lib/dfp_api/v201511/reconciliation_line_item_report_service.rb +0 -46
  620. data/lib/dfp_api/v201511/reconciliation_order_report_service_registry.rb +0 -45
  621. data/lib/dfp_api/v201511/reconciliation_report_service.rb +0 -46
  622. data/lib/dfp_api/v201511/reconciliation_report_service_registry.rb +0 -45
  623. data/lib/dfp_api/v201511/report_service.rb +0 -62
  624. data/lib/dfp_api/v201511/shared_ad_unit_service.rb +0 -46
  625. data/lib/dfp_api/v201511/shared_ad_unit_service_registry.rb +0 -45
  626. data/lib/dfp_api/v201511/suggested_ad_unit_service.rb +0 -46
  627. data/lib/dfp_api/v201511/suggested_ad_unit_service_registry.rb +0 -45
  628. data/lib/dfp_api/v201511/team_service.rb +0 -54
  629. data/lib/dfp_api/v201511/team_service_registry.rb +0 -45
  630. data/lib/dfp_api/v201511/user_service.rb +0 -78
  631. data/lib/dfp_api/v201511/user_service_registry.rb +0 -45
  632. data/lib/dfp_api/v201511/workflow_request_service.rb +0 -46
  633. data/test/dfp_api/test_config.yml +0 -9
  634. data/test/suite_unittests.rb +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a03acdb02d2e951d67d97a46ab315a8222c26beb
4
- data.tar.gz: f06f7971496b317d63b0bf63553f9f1eae2312db
3
+ metadata.gz: c63990b9e110e52a71d8d63660b44e92fb5724f6
4
+ data.tar.gz: 79a5eb3eb25310038b5b8f7c8f2b33fbe0acac63
5
5
  SHA512:
6
- metadata.gz: b0d43313afc123dd8d174aa12554b9d62f32b3637fd69f11f97d69ae9726c29e1c0d10d09cc5e918aee2e58c35a7bf7743bcd7d0cebb85f5925c41db575dc7c4
7
- data.tar.gz: 124d5a4ba0d3860db1127ca23abc6e3f5970b347c6096ca5b9f8af84fb94282bca5f4ff1ff8503d05231a19d703cc658369f6a694605dfd8ded8c789c40503ac
6
+ metadata.gz: 9ee7b40f2051e655e7854b8406d757301f7b52b3e28bcf42f08c56ba6a38edde7bff3705c9eeaa5dbcf5c6b7f5bd1042148af68e603869e87b0b115dc88853eb
7
+ data.tar.gz: fa119db7b02c28eb2346b94ad43dfc54b9422373e40c832ad7f7664335e6ea80412be0590a6e9c77e72d574e444f216acff83859d806b276a2076333e1c2a419
data/ChangeLog CHANGED
@@ -1,3 +1,14 @@
1
+ 0.19.0:
2
+ - Added support for v201611.
3
+ - Removed support for v201508 and v201511.
4
+ - Removed examples for v201602.
5
+ - Require google-ads-common 0.12.6 or later from now on.
6
+ - Removed examples and tests from bundled gem. For code examples, see:
7
+ https://github.com/googleads/google-api-ads-ruby/tree/master/dfp_api/examples
8
+
9
+ 0.18.1:
10
+ - Added retrieval examples for sales management services.
11
+
1
12
  0.18.0:
2
13
  - Start enforcing actual application name.
3
14
  - Added support for v201608.
data/README.md CHANGED
@@ -58,6 +58,11 @@ or if you downloaded the gem package manually, use:
58
58
 
59
59
  $ gem install --local google-dfp-api-VERSION.gem
60
60
 
61
+ Note: If you're using a version of Ruby lower than 2.2.2, you will need to
62
+ manually install a previous version of Rack, a dependency of our HTTP library.
63
+ You can do this with:
64
+
65
+ $ gem install rack -v 1.6.4
61
66
 
62
67
  ## Using the library
63
68
 
data/dfp_api.yml CHANGED
@@ -18,7 +18,7 @@
18
18
  #:oauth2_callback: INSERT_OAUTH2_CALLBACK_URL_HERE
19
19
  #:oauth2_state: INSERT_OAUTH2_STATE_HERE
20
20
  #:oauth2_access_type: INSERT_OAUTH2_ACCESS_TYPE_HERE
21
- #:oauth2_approval_prompt: INSERT_OAUTH2_APPROVAL_PROMPT_HERE
21
+ #:oauth2_prompt: INSERT_OAUTH2_PROMPT_HERE
22
22
  # You can define extra scopes so that you can reuse your refresh token for
23
23
  # other APIs.
24
24
  #:oauth2_extra_scopes: [INSERT_EXTRA_SCOPES_HERE]
@@ -33,9 +33,9 @@ module DfpApi
33
33
  end
34
34
 
35
35
  # Set defaults
36
- DEFAULT_VERSION = :v201608
36
+ DEFAULT_VERSION = :v201611
37
37
  DEFAULT_ENVIRONMENT = :PRODUCTION
38
- LATEST_VERSION = :v201608
38
+ LATEST_VERSION = :v201611
39
39
 
40
40
  # Set other constants
41
41
  API_NAME = 'DfpApi'
@@ -43,31 +43,7 @@ module DfpApi
43
43
 
44
44
  # Configure the services available to each version
45
45
  @@service_config = {
46
- :v201508 => [:ActivityGroupService, :ActivityService,
47
- :AdExclusionRuleService, :AdRuleService,
48
- :AudienceSegmentService, :BaseRateService, :CompanyService,
49
- :ContactService, :ContentBundleService,
50
- :ContentMetadataKeyHierarchyService, :ContentService,
51
- :CreativeService, :CreativeSetService,
52
- :CreativeTemplateService, :CreativeWrapperService,
53
- :CustomFieldService, :CustomTargetingService,
54
- :ExchangeRateService, :ForecastService, :InventoryService,
55
- :LabelService, :LineItemCreativeAssociationService,
56
- :LineItemService, :LineItemTemplateService,
57
- :NetworkService, :LiveStreamEventService,
58
- :OrderService, :PackageService, :ProductPackageService,
59
- :ProductPackageItemService, :PlacementService,
60
- :PremiumRateService, :ProductService,
61
- :ProductTemplateService, :ProposalLineItemService,
62
- :ProposalService, :PublisherQueryLanguageService,
63
- :RateCardService, :ReconciliationOrderReportService,
64
- :ReconciliationLineItemReportService,
65
- :ReconciliationReportRowService,
66
- :ReconciliationReportService, :ReportService,
67
- :SharedAdUnitService, :SuggestedAdUnitService,
68
- :TeamService, :UserService,
69
- :UserTeamAssociationService, :WorkflowRequestService],
70
- :v201511 => [:ActivityGroupService, :ActivityService,
46
+ :v201602 => [:ActivityGroupService, :ActivityService,
71
47
  :AdExclusionRuleService, :AdRuleService,
72
48
  :AudienceSegmentService, :BaseRateService, :CompanyService,
73
49
  :ContactService, :ContentBundleService,
@@ -88,10 +64,10 @@ module DfpApi
88
64
  :ReconciliationLineItemReportService,
89
65
  :ReconciliationReportRowService,
90
66
  :ReconciliationReportService, :ReportService,
91
- :SharedAdUnitService, :SuggestedAdUnitService,
67
+ :SuggestedAdUnitService,
92
68
  :TeamService, :UserService,
93
69
  :UserTeamAssociationService, :WorkflowRequestService],
94
- :v201602 => [:ActivityGroupService, :ActivityService,
70
+ :v201605 => [:ActivityGroupService, :ActivityService,
95
71
  :AdExclusionRuleService, :AdRuleService,
96
72
  :AudienceSegmentService, :BaseRateService, :CompanyService,
97
73
  :ContactService, :ContentBundleService,
@@ -115,7 +91,7 @@ module DfpApi
115
91
  :SuggestedAdUnitService,
116
92
  :TeamService, :UserService,
117
93
  :UserTeamAssociationService, :WorkflowRequestService],
118
- :v201605 => [:ActivityGroupService, :ActivityService,
94
+ :v201608 => [:ActivityGroupService, :ActivityService,
119
95
  :AdExclusionRuleService, :AdRuleService,
120
96
  :AudienceSegmentService, :BaseRateService, :CompanyService,
121
97
  :ContactService, :ContentBundleService,
@@ -139,7 +115,7 @@ module DfpApi
139
115
  :SuggestedAdUnitService,
140
116
  :TeamService, :UserService,
141
117
  :UserTeamAssociationService, :WorkflowRequestService],
142
- :v201608 => [:ActivityGroupService, :ActivityService,
118
+ :v201611 => [:ActivityGroupService, :ActivityService,
143
119
  :AdExclusionRuleService, :AdRuleService,
144
120
  :AudienceSegmentService, :BaseRateService, :CompanyService,
145
121
  :ContactService, :ContentBundleService,
@@ -150,10 +126,10 @@ module DfpApi
150
126
  :ExchangeRateService, :ForecastService, :InventoryService,
151
127
  :LabelService, :LineItemCreativeAssociationService,
152
128
  :LineItemService, :LineItemTemplateService,
153
- :NetworkService, :LiveStreamEventService,
154
- :OrderService, :PackageService, :ProductPackageService,
155
- :ProductPackageItemService, :PlacementService,
156
- :PremiumRateService, :ProductService,
129
+ :LiveStreamEventService, :MobileApplicationService,
130
+ :NetworkService, :OrderService, :PackageService,
131
+ :ProductPackageService, :ProductPackageItemService,
132
+ :PlacementService, :PremiumRateService, :ProductService,
157
133
  :ProductTemplateService, :ProposalLineItemService,
158
134
  :ProposalService, :PublisherQueryLanguageService,
159
135
  :RateCardService, :ReconciliationOrderReportService,
@@ -170,11 +146,10 @@ module DfpApi
170
146
  :PRODUCTION => {
171
147
  :oauth_scope => 'https://www.googleapis.com/auth/dfp',
172
148
  :header_ns => 'https://www.google.com/apis/ads/publisher/',
173
- :v201508 => 'https://ads.google.com/apis/ads/publisher/',
174
- :v201511 => 'https://ads.google.com/apis/ads/publisher/',
175
149
  :v201602 => 'https://ads.google.com/apis/ads/publisher/',
176
150
  :v201605 => 'https://ads.google.com/apis/ads/publisher/',
177
- :v201608 => 'https://ads.google.com/apis/ads/publisher/'
151
+ :v201608 => 'https://ads.google.com/apis/ads/publisher/',
152
+ :v201611 => 'https://ads.google.com/apis/ads/publisher/'
178
153
  }
179
154
  }
180
155
 
@@ -44,5 +44,10 @@ module DfpApi
44
44
  def toStatementForAction()
45
45
  return {:query => @query_statement.dup(), :values => @values}
46
46
  end
47
+
48
+ def toStatementWithoutOffset()
49
+ statement = @query_statement + ' LIMIT %d' % [@limit]
50
+ return {:query => statement, :values => @values}
51
+ end
47
52
  end
48
53
  end
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:49:08.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:50.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'dfp_api/v201511/activity_group_service_registry'
11
+ require 'dfp_api/v201611/activity_group_service_registry'
12
12
 
13
- module DfpApi; module V201511; module ActivityGroupService
13
+ module DfpApi; module V201611; module ActivityGroupService
14
14
  class ActivityGroupService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v201511'
17
- super(config, endpoint, namespace, :v201511)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
18
  end
19
19
 
20
20
  def create_activity_groups(*args, &block)
@@ -48,7 +48,7 @@ module DfpApi; module V201511; module ActivityGroupService
48
48
  end
49
49
 
50
50
  def get_module()
51
- return DfpApi::V201511::ActivityGroupService
51
+ return DfpApi::V201611::ActivityGroupService
52
52
  end
53
53
  end
54
54
  end; end; end
@@ -5,11 +5,11 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:49:08.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:50.
9
9
 
10
10
  require 'dfp_api/errors'
11
11
 
12
- module DfpApi; module V201511; module ActivityGroupService
12
+ module DfpApi; module V201611; module ActivityGroupService
13
13
  class ActivityGroupServiceRegistry
14
14
  ACTIVITYGROUPSERVICE_METHODS = {:create_activity_groups=>{:input=>[{:name=>:activity_groups, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_activity_groups_response", :fields=>[{:name=>:rval, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_activity_groups_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_activity_groups_by_statement_response", :fields=>[{:name=>:rval, :type=>"ActivityGroupPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_activity_groups=>{:input=>[{:name=>:activity_groups, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_activity_groups_response", :fields=>[{:name=>:rval, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
15
  ACTIVITYGROUPSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivityError=>{:fields=>[{:name=>:reason, :type=>"ActivityError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ActivityGroup=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:impressions_lookback, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks_lookback, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ActivityGroup.Status", :min_occurs=>0, :max_occurs=>1}]}, :ActivityGroupPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"ActivityGroup", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"ActivityError.Reason"=>{:fields=>[]}, :"ActivityGroup.Status"=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:48:21.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:50.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'dfp_api/v201508/activity_service_registry'
11
+ require 'dfp_api/v201611/activity_service_registry'
12
12
 
13
- module DfpApi; module V201508; module ActivityService
13
+ module DfpApi; module V201611; module ActivityService
14
14
  class ActivityService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v201508'
17
- super(config, endpoint, namespace, :v201508)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
18
  end
19
19
 
20
20
  def create_activities(*args, &block)
@@ -48,7 +48,7 @@ module DfpApi; module V201508; module ActivityService
48
48
  end
49
49
 
50
50
  def get_module()
51
- return DfpApi::V201508::ActivityService
51
+ return DfpApi::V201611::ActivityService
52
52
  end
53
53
  end
54
54
  end; end; end
@@ -5,11 +5,11 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:48:21.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:50.
9
9
 
10
10
  require 'dfp_api/errors'
11
11
 
12
- module DfpApi; module V201508; module ActivityService
12
+ module DfpApi; module V201611; module ActivityService
13
13
  class ActivityServiceRegistry
14
14
  ACTIVITYSERVICE_METHODS = {:create_activities=>{:input=>[{:name=>:activities, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_activities_response", :fields=>[{:name=>:rval, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_activities_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_activities_by_statement_response", :fields=>[{:name=>:rval, :type=>"ActivityPage", :min_occurs=>0, :max_occurs=>1}]}}, :update_activities=>{:input=>[{:name=>:activities, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_activities_response", :fields=>[{:name=>:rval, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
15
  ACTIVITYSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :Activity=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:activity_group_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:expected_url, :original_name=>"expectedURL", :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"Activity.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Activity.Type", :min_occurs=>0, :max_occurs=>1}]}, :ActivityError=>{:fields=>[{:name=>:reason, :type=>"ActivityError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ActivityPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"Activity", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :Value=>{:fields=>[], :abstract=>true}, :"Activity.Status"=>{:fields=>[]}, :"Activity.Type"=>{:fields=>[]}, :"ActivityError.Reason"=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:49:09.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:51.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'dfp_api/v201511/ad_exclusion_rule_service_registry'
11
+ require 'dfp_api/v201611/ad_exclusion_rule_service_registry'
12
12
 
13
- module DfpApi; module V201511; module AdExclusionRuleService
13
+ module DfpApi; module V201611; module AdExclusionRuleService
14
14
  class AdExclusionRuleService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v201511'
17
- super(config, endpoint, namespace, :v201511)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
18
  end
19
19
 
20
20
  def create_ad_exclusion_rules(*args, &block)
@@ -56,7 +56,7 @@ module DfpApi; module V201511; module AdExclusionRuleService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return DfpApi::V201511::AdExclusionRuleService
59
+ return DfpApi::V201611::AdExclusionRuleService
60
60
  end
61
61
  end
62
62
  end; end; end
@@ -5,11 +5,11 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:49:09.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:51.
9
9
 
10
10
  require 'dfp_api/errors'
11
11
 
12
- module DfpApi; module V201511; module AdExclusionRuleService
12
+ module DfpApi; module V201611; module AdExclusionRuleService
13
13
  class AdExclusionRuleServiceRegistry
14
14
  ADEXCLUSIONRULESERVICE_METHODS = {:create_ad_exclusion_rules=>{:input=>[{:name=>:ad_exclusion_rules, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_ad_exclusion_rules_response", :fields=>[{:name=>:rval, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_ad_exclusion_rules_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_ad_exclusion_rules_by_statement_response", :fields=>[{:name=>:rval, :type=>"AdExclusionRulePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_ad_exclusion_rule_action=>{:input=>[{:name=>:ad_exclusion_rule_action, :type=>"AdExclusionRuleAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_ad_exclusion_rule_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_ad_exclusion_rules=>{:input=>[{:name=>:ad_exclusion_rules, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_ad_exclusion_rules_response", :fields=>[{:name=>:rval, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
15
  ADEXCLUSIONRULESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateAdExclusionRules=>{:fields=>[], :base=>"AdExclusionRuleAction"}, :AdExclusionRuleAction=>{:fields=>[], :abstract=>true}, :AdExclusionRule=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_active, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_targeting, :type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_block_all, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:blocked_label_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:allowed_label_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:type, :type=>"AdExclusionRuleType", :min_occurs=>0, :max_occurs=>1}]}, :AdExclusionRuleError=>{:fields=>[{:name=>:reason, :type=>"AdExclusionRuleError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AdExclusionRulePage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"AdExclusionRule", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AdUnitTargeting=>{:fields=>[{:name=>:ad_unit_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_descendants, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeactivateAdExclusionRules=>{:fields=>[], :base=>"AdExclusionRuleAction"}, :EntityChildrenLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityChildrenLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InventoryTargeting=>{:fields=>[{:name=>:targeted_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_placement_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"AdExclusionRuleError.Reason"=>{:fields=>[]}, :AdExclusionRuleType=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"EntityChildrenLimitReachedError.Reason"=>{:fields=>[]}, :"EntityLimitReachedError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:49:10.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:51.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'dfp_api/v201511/ad_rule_service_registry'
11
+ require 'dfp_api/v201611/ad_rule_service_registry'
12
12
 
13
- module DfpApi; module V201511; module AdRuleService
13
+ module DfpApi; module V201611; module AdRuleService
14
14
  class AdRuleService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v201511'
17
- super(config, endpoint, namespace, :v201511)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
18
  end
19
19
 
20
20
  def create_ad_rules(*args, &block)
@@ -56,7 +56,7 @@ module DfpApi; module V201511; module AdRuleService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return DfpApi::V201511::AdRuleService
59
+ return DfpApi::V201611::AdRuleService
60
60
  end
61
61
  end
62
62
  end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:51.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201611; module AdRuleService
13
+ class AdRuleServiceRegistry
14
+ ADRULESERVICE_METHODS = {:create_ad_rules=>{:input=>[{:name=>:ad_rules, :type=>"AdRule", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_ad_rules_response", :fields=>[{:name=>:rval, :type=>"AdRule", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_ad_rules_by_statement=>{:input=>[{:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_ad_rules_by_statement_response", :fields=>[{:name=>:rval, :type=>"AdRulePage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_ad_rule_action=>{:input=>[{:name=>:ad_rule_action, :type=>"AdRuleAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_ad_rule_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_ad_rules=>{:input=>[{:name=>:ad_rules, :type=>"AdRule", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_ad_rules_response", :fields=>[{:name=>:rval, :type=>"AdRule", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ ADRULESERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateAdRules=>{:fields=>[], :base=>"AdRuleAction"}, :AdRuleAction=>{:fields=>[], :abstract=>true}, :AdRuleDateError=>{:fields=>[{:name=>:reason, :type=>"AdRuleDateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AdRule=>{:fields=>[{:name=>:id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:priority, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting, :type=>"Targeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time_type, :type=>"StartDateTimeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:unlimited_end_date_time, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdRuleStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:frequency_cap_behavior, :type=>"FrequencyCapBehavior", :min_occurs=>0, :max_occurs=>1}, {:name=>:max_impressions_per_line_item_per_stream, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:max_impressions_per_line_item_per_pod, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:preroll, :type=>"BaseAdRuleSlot", :min_occurs=>0, :max_occurs=>1}, {:name=>:midroll, :type=>"BaseAdRuleSlot", :min_occurs=>0, :max_occurs=>1}, {:name=>:postroll, :type=>"BaseAdRuleSlot", :min_occurs=>0, :max_occurs=>1}]}, :AdRuleFrequencyCapError=>{:fields=>[{:name=>:reason, :type=>"AdRuleFrequencyCapError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NoPoddingAdRuleSlot=>{:fields=>[], :base=>"BaseAdRuleSlot"}, :OptimizedPoddingAdRuleSlot=>{:fields=>[], :base=>"BaseAdRuleSlot"}, :AdRulePage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"AdRule", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AdRulePriorityError=>{:fields=>[{:name=>:reason, :type=>"AdRulePriorityError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BaseAdRuleSlot=>{:fields=>[{:name=>:slot_behavior, :type=>"AdRuleSlotBehavior", :min_occurs=>0, :max_occurs=>1}, {:name=>:min_video_ad_duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:max_video_ad_duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_midroll_frequency_type, :type=>"MidrollFrequencyType", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_midroll_frequency, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:bumper, :type=>"AdRuleSlotBumper", :min_occurs=>0, :max_occurs=>1}, {:name=>:max_bumper_duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:min_pod_duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:max_pod_duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:max_ads_in_pod, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdRuleSlotError=>{:fields=>[{:name=>:reason, :type=>"AdRuleSlotError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StandardPoddingAdRuleSlot=>{:fields=>[], :base=>"BaseAdRuleSlot"}, :AdUnitTargeting=>{:fields=>[{:name=>:ad_unit_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_descendants, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :TechnologyTargeting=>{:fields=>[{:name=>:bandwidth_group_targeting, :type=>"BandwidthGroupTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_targeting, :type=>"BrowserTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_language_targeting, :type=>"BrowserLanguageTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_capability_targeting, :type=>"DeviceCapabilityTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_category_targeting, :type=>"DeviceCategoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturer_targeting, :type=>"DeviceManufacturerTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_carrier_targeting, :type=>"MobileCarrierTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_device_targeting, :type=>"MobileDeviceTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_device_submodel_targeting, :type=>"MobileDeviceSubmodelTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_targeting, :type=>"OperatingSystemTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_version_targeting, :type=>"OperatingSystemVersionTargeting", :min_occurs=>0, :max_occurs=>1}]}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BandwidthGroup=>{:fields=>[], :base=>"Technology"}, :BandwidthGroupTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:bandwidth_groups, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :Browser=>{:fields=>[{:name=>:major_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:minor_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :BrowserLanguage=>{:fields=>[], :base=>"Technology"}, :BrowserLanguageTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_languages, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BrowserTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:browsers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContentMetadataKeyHierarchyTargeting=>{:fields=>[{:name=>:custom_targeting_value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ContentMetadataTargetingError=>{:fields=>[{:name=>:reason, :type=>"ContentMetadataTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ContentTargeting=>{:fields=>[{:name=>:targeted_content_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_content_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_video_content_bundle_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_video_content_bundle_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_content_metadata, :type=>"ContentMetadataKeyHierarchyTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_content_metadata, :type=>"ContentMetadataKeyHierarchyTargeting", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CustomCriteria=>{:fields=>[{:name=>:key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:operator, :type=>"CustomCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1}], :base=>"CustomCriteriaLeaf"}, :CustomCriteriaSet=>{:fields=>[{:name=>:logical_operator, :type=>"CustomCriteriaSet.LogicalOperator", :min_occurs=>0, :max_occurs=>1}, {:name=>:children, :type=>"CustomCriteriaNode", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomCriteriaNode"}, :CustomTargetingError=>{:fields=>[{:name=>:reason, :type=>"CustomTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomCriteriaLeaf=>{:fields=>[], :abstract=>true, :base=>"CustomCriteriaNode"}, :CustomCriteriaNode=>{:fields=>[], :abstract=>true}, :AudienceSegmentCriteria=>{:fields=>[{:name=>:operator, :type=>"AudienceSegmentCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1}, {:name=>:audience_segment_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomCriteriaLeaf"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DayPart=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_time, :type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_time, :type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1}]}, :DayPartTargeting=>{:fields=>[{:name=>:day_parts, :type=>"DayPart", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:time_zone, :type=>"DeliveryTimeZone", :min_occurs=>0, :max_occurs=>1}]}, :DeactivateAdRules=>{:fields=>[], :base=>"AdRuleAction"}, :DeleteAdRules=>{:fields=>[], :base=>"AdRuleAction"}, :DeviceCapability=>{:fields=>[], :base=>"Technology"}, :DeviceCapabilityTargeting=>{:fields=>[{:name=>:targeted_device_capabilities, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_device_capabilities, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DeviceCategory=>{:fields=>[], :base=>"Technology"}, :DeviceCategoryTargeting=>{:fields=>[{:name=>:targeted_device_categories, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_device_categories, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DeviceManufacturer=>{:fields=>[], :base=>"Technology"}, :DeviceManufacturerTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GeoTargeting=>{:fields=>[{:name=>:targeted_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}]}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InventoryTargeting=>{:fields=>[{:name=>:targeted_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_placement_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :InventoryTargetingError=>{:fields=>[{:name=>:reason, :type=>"InventoryTargetingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Location=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:canonical_parent_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :MobileApplicationTargeting=>{:fields=>[{:name=>:mobile_application_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :MobileCarrier=>{:fields=>[], :base=>"Technology"}, :MobileCarrierTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_carriers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MobileDevice=>{:fields=>[{:name=>:manufacturer_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :MobileDeviceSubmodel=>{:fields=>[{:name=>:mobile_device_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturer_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :MobileDeviceSubmodelTargeting=>{:fields=>[{:name=>:targeted_mobile_device_submodels, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_mobile_device_submodels, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MobileDeviceTargeting=>{:fields=>[{:name=>:targeted_mobile_devices, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_mobile_devices, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OperatingSystem=>{:fields=>[], :base=>"Technology"}, :OperatingSystemTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_systems, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :OperatingSystemVersion=>{:fields=>[{:name=>:major_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minor_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :OperatingSystemVersionTargeting=>{:fields=>[{:name=>:targeted_operating_system_versions, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_operating_system_versions, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PoddingError=>{:fields=>[{:name=>:reason, :type=>"PoddingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredNumberError=>{:fields=>[{:name=>:reason, :type=>"RequiredNumberError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :Targeting=>{:fields=>[{:name=>:geo_targeting, :type=>"GeoTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_targeting, :type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:day_part_targeting, :type=>"DayPartTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:technology_targeting, :type=>"TechnologyTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_targeting, :type=>"CustomCriteriaSet", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_domain_targeting, :type=>"UserDomainTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_targeting, :type=>"ContentTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_position_targeting, :type=>"VideoPositionTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_application_targeting, :type=>"MobileApplicationTargeting", :min_occurs=>0, :max_occurs=>1}]}, :Technology=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TimeOfDay=>{:fields=>[{:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}]}, :UniqueError=>{:fields=>[], :base=>"ApiError"}, :UnknownAdRuleSlot=>{:fields=>[], :base=>"BaseAdRuleSlot"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :UserDomainTargeting=>{:fields=>[{:name=>:domains, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :VideoPosition=>{:fields=>[{:name=>:position_type, :type=>"VideoPosition.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:midroll_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :VideoPositionTargeting=>{:fields=>[{:name=>:targeted_positions, :type=>"VideoPositionTarget", :min_occurs=>0, :max_occurs=>:unbounded}]}, :VideoPositionWithinPod=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :VideoPositionTarget=>{:fields=>[{:name=>:video_position, :type=>"VideoPosition", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_bumper_type, :type=>"VideoBumperType", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_position_within_pod, :type=>"VideoPositionWithinPod", :min_occurs=>0, :max_occurs=>1}]}, :"AdRuleDateError.Reason"=>{:fields=>[]}, :"AdRuleFrequencyCapError.Reason"=>{:fields=>[]}, :"AdRulePriorityError.Reason"=>{:fields=>[]}, :AdRuleSlotBehavior=>{:fields=>[]}, :AdRuleSlotBumper=>{:fields=>[]}, :"AdRuleSlotError.Reason"=>{:fields=>[]}, :AdRuleStatus=>{:fields=>[]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"ContentMetadataTargetingError.Reason"=>{:fields=>[]}, :"CustomCriteria.ComparisonOperator"=>{:fields=>[]}, :"CustomCriteriaSet.LogicalOperator"=>{:fields=>[]}, :"CustomTargetingError.Reason"=>{:fields=>[]}, :"AudienceSegmentCriteria.ComparisonOperator"=>{:fields=>[]}, :DayOfWeek=>{:fields=>[]}, :DeliveryTimeZone=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :FrequencyCapBehavior=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"InventoryTargetingError.Reason"=>{:fields=>[]}, :MidrollFrequencyType=>{:fields=>[]}, :MinuteOfHour=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PoddingError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"RequiredNumberError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :StartDateTimeType=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :VideoBumperType=>{:fields=>[]}, :"VideoPosition.Type"=>{:fields=>[]}}
16
+ ADRULESERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return ADRULESERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return ADRULESERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return ADRULESERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, AdRuleServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:48:24.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:53.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'dfp_api/v201508/audience_segment_service_registry'
11
+ require 'dfp_api/v201611/audience_segment_service_registry'
12
12
 
13
- module DfpApi; module V201508; module AudienceSegmentService
13
+ module DfpApi; module V201611; module AudienceSegmentService
14
14
  class AudienceSegmentService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v201508'
17
- super(config, endpoint, namespace, :v201508)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
18
  end
19
19
 
20
20
  def create_audience_segments(*args, &block)
@@ -56,7 +56,7 @@ module DfpApi; module V201508; module AudienceSegmentService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return DfpApi::V201508::AudienceSegmentService
59
+ return DfpApi::V201611::AudienceSegmentService
60
60
  end
61
61
  end
62
62
  end; end; end
@@ -5,14 +5,14 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:49:12.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:53.
9
9
 
10
10
  require 'dfp_api/errors'
11
11
 
12
- module DfpApi; module V201511; module AudienceSegmentService
12
+ module DfpApi; module V201611; module AudienceSegmentService
13
13
  class AudienceSegmentServiceRegistry
14
14
  AUDIENCESEGMENTSERVICE_METHODS = {:create_audience_segments=>{:input=>[{:name=>:segments, :type=>"FirstPartyAudienceSegment", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_audience_segments_response", :fields=>[{:name=>:rval, :type=>"FirstPartyAudienceSegment", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_audience_segments_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_audience_segments_by_statement_response", :fields=>[{:name=>:rval, :type=>"AudienceSegmentPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_audience_segment_action=>{:input=>[{:name=>:action, :type=>"AudienceSegmentAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_audience_segment_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_audience_segments=>{:input=>[{:name=>:segments, :type=>"FirstPartyAudienceSegment", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_audience_segments_response", :fields=>[{:name=>:rval, :type=>"FirstPartyAudienceSegment", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- AUDIENCESEGMENTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :AdUnitTargeting=>{:fields=>[{:name=>:ad_unit_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_descendants, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ApproveAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :AudienceSegmentDataProvider=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AudienceSegmentPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"AudienceSegment", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FirstPartyAudienceSegment=>{:fields=>[], :abstract=>true, :base=>"AudienceSegment"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomCriteria=>{:fields=>[{:name=>:key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:operator, :type=>"CustomCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1}], :base=>"CustomCriteriaLeaf"}, :CustomCriteriaSet=>{:fields=>[{:name=>:logical_operator, :type=>"CustomCriteriaSet.LogicalOperator", :min_occurs=>0, :max_occurs=>1}, {:name=>:children, :type=>"CustomCriteriaNode", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomCriteriaNode"}, :CustomCriteriaLeaf=>{:fields=>[], :abstract=>true, :base=>"CustomCriteriaNode"}, :CustomCriteriaNode=>{:fields=>[], :abstract=>true}, :AudienceSegmentCriteria=>{:fields=>[{:name=>:operator, :type=>"AudienceSegmentCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1}, {:name=>:audience_segment_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomCriteriaLeaf"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeactivateAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :EntityChildrenLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityChildrenLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ThirdPartyAudienceSegment=>{:fields=>[{:name=>:approval_status, :type=>"ThirdPartyAudienceSegment.AudienceSegmentApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:license_type, :type=>"ThirdPartyAudienceSegment.LicenseType", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"AudienceSegment"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InventoryTargeting=>{:fields=>[{:name=>:targeted_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_placement_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Money=>{:fields=>[{:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :NonRuleBasedFirstPartyAudienceSegment=>{:fields=>[{:name=>:membership_expiration_days, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"FirstPartyAudienceSegment"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PopulateAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FirstPartyAudienceSegmentRule=>{:fields=>[{:name=>:inventory_rule, :type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_criteria_rule, :type=>"CustomCriteriaSet", :min_occurs=>0, :max_occurs=>1}]}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RuleBasedFirstPartyAudienceSegment=>{:fields=>[{:name=>:rule, :type=>"FirstPartyAudienceSegmentRule", :min_occurs=>0, :max_occurs=>1}], :base=>"RuleBasedFirstPartyAudienceSegmentSummary"}, :RuleBasedFirstPartyAudienceSegmentSummary=>{:fields=>[{:name=>:page_views, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:recency_days, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:membership_expiration_days, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"FirstPartyAudienceSegment"}, :AudienceSegmentAction=>{:fields=>[], :abstract=>true}, :AudienceSegment=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:category_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AudienceSegment.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:data_provider, :type=>"AudienceSegmentDataProvider", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"AudienceSegment.AudienceSegmentType", :min_occurs=>0, :max_occurs=>1}]}, :AudienceSegmentError=>{:fields=>[{:name=>:reason, :type=>"AudienceSegmentError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SharedAudienceSegment=>{:fields=>[], :base=>"AudienceSegment"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"CustomCriteria.ComparisonOperator"=>{:fields=>[]}, :"CustomCriteriaSet.LogicalOperator"=>{:fields=>[]}, :"AudienceSegmentCriteria.ComparisonOperator"=>{:fields=>[]}, :"EntityChildrenLimitReachedError.Reason"=>{:fields=>[]}, :"EntityLimitReachedError.Reason"=>{:fields=>[]}, :"ThirdPartyAudienceSegment.AudienceSegmentApprovalStatus"=>{:fields=>[]}, :"ThirdPartyAudienceSegment.LicenseType"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"AudienceSegment.AudienceSegmentType"=>{:fields=>[]}, :"AudienceSegment.Status"=>{:fields=>[]}, :"AudienceSegmentError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
15
+ AUDIENCESEGMENTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ActivateAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :AdUnitTargeting=>{:fields=>[{:name=>:ad_unit_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_descendants, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ApproveAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :AudienceSegmentDataProvider=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AudienceSegmentPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"AudienceSegment", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FirstPartyAudienceSegment=>{:fields=>[], :abstract=>true, :base=>"AudienceSegment"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomCriteria=>{:fields=>[{:name=>:key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:operator, :type=>"CustomCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1}], :base=>"CustomCriteriaLeaf"}, :CustomCriteriaSet=>{:fields=>[{:name=>:logical_operator, :type=>"CustomCriteriaSet.LogicalOperator", :min_occurs=>0, :max_occurs=>1}, {:name=>:children, :type=>"CustomCriteriaNode", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomCriteriaNode"}, :CustomCriteriaLeaf=>{:fields=>[], :abstract=>true, :base=>"CustomCriteriaNode"}, :CustomCriteriaNode=>{:fields=>[], :abstract=>true}, :AudienceSegmentCriteria=>{:fields=>[{:name=>:operator, :type=>"AudienceSegmentCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1}, {:name=>:audience_segment_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomCriteriaLeaf"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeactivateAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :EntityChildrenLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityChildrenLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityLimitReachedError=>{:fields=>[{:name=>:reason, :type=>"EntityLimitReachedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ThirdPartyAudienceSegment=>{:fields=>[{:name=>:approval_status, :type=>"ThirdPartyAudienceSegment.AudienceSegmentApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:license_type, :type=>"ThirdPartyAudienceSegment.LicenseType", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"AudienceSegment"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InventoryTargeting=>{:fields=>[{:name=>:targeted_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_placement_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Money=>{:fields=>[{:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :NonRuleBasedFirstPartyAudienceSegment=>{:fields=>[{:name=>:membership_expiration_days, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"FirstPartyAudienceSegment"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ParseError=>{:fields=>[{:name=>:reason, :type=>"ParseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PopulateAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FirstPartyAudienceSegmentRule=>{:fields=>[{:name=>:inventory_rule, :type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_criteria_rule, :type=>"CustomCriteriaSet", :min_occurs=>0, :max_occurs=>1}]}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectAudienceSegments=>{:fields=>[], :base=>"AudienceSegmentAction"}, :RequiredCollectionError=>{:fields=>[{:name=>:reason, :type=>"RequiredCollectionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RuleBasedFirstPartyAudienceSegment=>{:fields=>[{:name=>:rule, :type=>"FirstPartyAudienceSegmentRule", :min_occurs=>0, :max_occurs=>1}], :base=>"RuleBasedFirstPartyAudienceSegmentSummary"}, :RuleBasedFirstPartyAudienceSegmentSummary=>{:fields=>[{:name=>:page_views, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:recency_days, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:membership_expiration_days, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"FirstPartyAudienceSegment"}, :AudienceSegmentAction=>{:fields=>[], :abstract=>true}, :AudienceSegment=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:category_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AudienceSegment.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_web_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:idfa_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_id_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:data_provider, :type=>"AudienceSegmentDataProvider", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"AudienceSegment.Type", :min_occurs=>0, :max_occurs=>1}]}, :AudienceSegmentError=>{:fields=>[{:name=>:reason, :type=>"AudienceSegmentError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SharedAudienceSegment=>{:fields=>[], :base=>"AudienceSegment"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TypeError=>{:fields=>[], :base=>"ApiError"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"CustomCriteria.ComparisonOperator"=>{:fields=>[]}, :"CustomCriteriaSet.LogicalOperator"=>{:fields=>[]}, :"AudienceSegmentCriteria.ComparisonOperator"=>{:fields=>[]}, :"EntityChildrenLimitReachedError.Reason"=>{:fields=>[]}, :"EntityLimitReachedError.Reason"=>{:fields=>[]}, :"ThirdPartyAudienceSegment.AudienceSegmentApprovalStatus"=>{:fields=>[]}, :"ThirdPartyAudienceSegment.LicenseType"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"ParseError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RequiredCollectionError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"AudienceSegment.Type"=>{:fields=>[]}, :"AudienceSegment.Status"=>{:fields=>[]}, :"AudienceSegmentError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
16
  AUDIENCESEGMENTSERVICE_NAMESPACES = []
17
17
 
18
18
  def self.get_method_signature(method_name)
@@ -5,16 +5,16 @@
5
5
  # Copyright:: Copyright 2016, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.12.3 on 2016-08-09 15:49:12.
8
+ # Code generated by AdsCommon library 0.12.6 on 2016-11-14 09:02:53.
9
9
 
10
10
  require 'ads_common/savon_service'
11
- require 'dfp_api/v201511/base_rate_service_registry'
11
+ require 'dfp_api/v201611/base_rate_service_registry'
12
12
 
13
- module DfpApi; module V201511; module BaseRateService
13
+ module DfpApi; module V201611; module BaseRateService
14
14
  class BaseRateService < AdsCommon::SavonService
15
15
  def initialize(config, endpoint)
16
- namespace = 'https://www.google.com/apis/ads/publisher/v201511'
17
- super(config, endpoint, namespace, :v201511)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201611'
17
+ super(config, endpoint, namespace, :v201611)
18
18
  end
19
19
 
20
20
  def create_base_rates(*args, &block)
@@ -56,7 +56,7 @@ module DfpApi; module V201511; module BaseRateService
56
56
  end
57
57
 
58
58
  def get_module()
59
- return DfpApi::V201511::BaseRateService
59
+ return DfpApi::V201611::BaseRateService
60
60
  end
61
61
  end
62
62
  end; end; end