google-adwords-api 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. data/COPYING +201 -0
  2. data/ChangeLog +14 -0
  3. data/README +44 -14
  4. data/Rakefile +1 -1
  5. data/adwords_api.yml +0 -1
  6. data/examples/v200909/add_ad_group_criteria.rb +1 -1
  7. data/examples/v200909/perform_bulk_mutate_job.rb +1 -1
  8. data/examples/v201003/get_related_placements.rb +6 -9
  9. data/examples/v201003/perform_bulk_mutate_job.rb +1 -1
  10. data/examples/v201008/get_bulk_mutate_job.rb +1 -1
  11. data/examples/v201008/perform_bulk_mutate_job.rb +1 -1
  12. data/examples/v201101/add_mcc_report_definition.rb +4 -8
  13. data/examples/v201101/download_mcc_report.rb +47 -23
  14. data/examples/v201101/download_mcc_report_as_file.rb +118 -0
  15. data/examples/v201101/get_bulk_mutate_job.rb +1 -1
  16. data/examples/v201101/get_keyword_opportunities.rb +0 -0
  17. data/examples/v201101/perform_bulk_mutate_job.rb +1 -1
  18. data/lib/adwords_api.rb +4 -8
  19. data/lib/adwords_api/api_config.rb +1 -1
  20. data/lib/adwords_api/auth/v13_login_handler.rb +3 -6
  21. data/lib/adwords_api/extensions.rb +156 -25
  22. data/lib/adwords_api/v13/AccountService.rb +0 -0
  23. data/lib/adwords_api/v13/AccountServiceDriver.rb +6 -6
  24. data/lib/adwords_api/v13/AccountServiceMappingRegistry.rb +0 -0
  25. data/lib/adwords_api/v13/AccountServiceWrapper.rb +2 -2
  26. data/lib/adwords_api/v13/ReportService.rb +0 -0
  27. data/lib/adwords_api/v13/ReportServiceDriver.rb +8 -8
  28. data/lib/adwords_api/v13/ReportServiceMappingRegistry.rb +0 -0
  29. data/lib/adwords_api/v13/ReportServiceWrapper.rb +2 -2
  30. data/lib/adwords_api/v13/TrafficEstimatorService.rb +0 -0
  31. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +5 -5
  32. data/lib/adwords_api/v13/TrafficEstimatorServiceMappingRegistry.rb +0 -0
  33. data/lib/adwords_api/v13/TrafficEstimatorServiceWrapper.rb +2 -2
  34. data/lib/adwords_api/v200909/AdExtensionOverrideService.rb +0 -0
  35. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +3 -3
  36. data/lib/adwords_api/v200909/AdExtensionOverrideServiceMappingRegistry.rb +0 -0
  37. data/lib/adwords_api/v200909/AdExtensionOverrideServiceWrapper.rb +2 -2
  38. data/lib/adwords_api/v200909/AdGroupAdService.rb +239 -239
  39. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +3 -3
  40. data/lib/adwords_api/v200909/AdGroupAdServiceMappingRegistry.rb +120 -120
  41. data/lib/adwords_api/v200909/AdGroupAdServiceWrapper.rb +2 -2
  42. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +0 -0
  43. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +3 -3
  44. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +0 -0
  45. data/lib/adwords_api/v200909/AdGroupCriterionServiceWrapper.rb +2 -2
  46. data/lib/adwords_api/v200909/AdGroupService.rb +0 -0
  47. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +3 -3
  48. data/lib/adwords_api/v200909/AdGroupServiceMappingRegistry.rb +0 -0
  49. data/lib/adwords_api/v200909/AdGroupServiceWrapper.rb +2 -2
  50. data/lib/adwords_api/v200909/AdParamService.rb +0 -0
  51. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +3 -3
  52. data/lib/adwords_api/v200909/AdParamServiceMappingRegistry.rb +0 -0
  53. data/lib/adwords_api/v200909/AdParamServiceWrapper.rb +2 -2
  54. data/lib/adwords_api/v200909/BulkMutateJobService.rb +0 -0
  55. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +3 -3
  56. data/lib/adwords_api/v200909/BulkMutateJobServiceMappingRegistry.rb +0 -0
  57. data/lib/adwords_api/v200909/BulkMutateJobServiceWrapper.rb +2 -2
  58. data/lib/adwords_api/v200909/CampaignAdExtensionService.rb +0 -0
  59. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +3 -3
  60. data/lib/adwords_api/v200909/CampaignAdExtensionServiceMappingRegistry.rb +0 -0
  61. data/lib/adwords_api/v200909/CampaignAdExtensionServiceWrapper.rb +2 -2
  62. data/lib/adwords_api/v200909/CampaignCriterionService.rb +0 -0
  63. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +3 -3
  64. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +0 -0
  65. data/lib/adwords_api/v200909/CampaignCriterionServiceWrapper.rb +2 -2
  66. data/lib/adwords_api/v200909/CampaignService.rb +0 -0
  67. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +3 -3
  68. data/lib/adwords_api/v200909/CampaignServiceMappingRegistry.rb +0 -0
  69. data/lib/adwords_api/v200909/CampaignServiceWrapper.rb +2 -2
  70. data/lib/adwords_api/v200909/CampaignTargetService.rb +0 -0
  71. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +3 -3
  72. data/lib/adwords_api/v200909/CampaignTargetServiceMappingRegistry.rb +0 -0
  73. data/lib/adwords_api/v200909/CampaignTargetServiceWrapper.rb +2 -2
  74. data/lib/adwords_api/v200909/GeoLocationService.rb +0 -0
  75. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +2 -2
  76. data/lib/adwords_api/v200909/GeoLocationServiceMappingRegistry.rb +0 -0
  77. data/lib/adwords_api/v200909/GeoLocationServiceWrapper.rb +2 -2
  78. data/lib/adwords_api/v200909/InfoService.rb +0 -0
  79. data/lib/adwords_api/v200909/InfoServiceDriver.rb +2 -2
  80. data/lib/adwords_api/v200909/InfoServiceMappingRegistry.rb +0 -0
  81. data/lib/adwords_api/v200909/InfoServiceWrapper.rb +2 -2
  82. data/lib/adwords_api/v200909/TargetingIdeaService.rb +0 -0
  83. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +3 -3
  84. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +0 -0
  85. data/lib/adwords_api/v200909/TargetingIdeaServiceWrapper.rb +2 -2
  86. data/lib/adwords_api/v201003/AdExtensionOverrideService.rb +0 -0
  87. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +3 -3
  88. data/lib/adwords_api/v201003/AdExtensionOverrideServiceMappingRegistry.rb +0 -0
  89. data/lib/adwords_api/v201003/AdExtensionOverrideServiceWrapper.rb +2 -2
  90. data/lib/adwords_api/v201003/AdGroupAdService.rb +293 -293
  91. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +3 -3
  92. data/lib/adwords_api/v201003/AdGroupAdServiceMappingRegistry.rb +124 -124
  93. data/lib/adwords_api/v201003/AdGroupAdServiceWrapper.rb +2 -2
  94. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +0 -0
  95. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +3 -3
  96. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +0 -0
  97. data/lib/adwords_api/v201003/AdGroupCriterionServiceWrapper.rb +2 -2
  98. data/lib/adwords_api/v201003/AdGroupService.rb +0 -0
  99. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +3 -3
  100. data/lib/adwords_api/v201003/AdGroupServiceMappingRegistry.rb +0 -0
  101. data/lib/adwords_api/v201003/AdGroupServiceWrapper.rb +2 -2
  102. data/lib/adwords_api/v201003/AdParamService.rb +0 -0
  103. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +3 -3
  104. data/lib/adwords_api/v201003/AdParamServiceMappingRegistry.rb +0 -0
  105. data/lib/adwords_api/v201003/AdParamServiceWrapper.rb +2 -2
  106. data/lib/adwords_api/v201003/BidLandscapeService.rb +0 -0
  107. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +2 -2
  108. data/lib/adwords_api/v201003/BidLandscapeServiceMappingRegistry.rb +0 -0
  109. data/lib/adwords_api/v201003/BidLandscapeServiceWrapper.rb +2 -2
  110. data/lib/adwords_api/v201003/BulkMutateJobService.rb +0 -0
  111. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +3 -3
  112. data/lib/adwords_api/v201003/BulkMutateJobServiceMappingRegistry.rb +0 -0
  113. data/lib/adwords_api/v201003/BulkMutateJobServiceWrapper.rb +2 -2
  114. data/lib/adwords_api/v201003/CampaignAdExtensionService.rb +0 -0
  115. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +3 -3
  116. data/lib/adwords_api/v201003/CampaignAdExtensionServiceMappingRegistry.rb +0 -0
  117. data/lib/adwords_api/v201003/CampaignAdExtensionServiceWrapper.rb +2 -2
  118. data/lib/adwords_api/v201003/CampaignCriterionService.rb +0 -0
  119. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +3 -3
  120. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +0 -0
  121. data/lib/adwords_api/v201003/CampaignCriterionServiceWrapper.rb +2 -2
  122. data/lib/adwords_api/v201003/CampaignService.rb +0 -0
  123. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +3 -3
  124. data/lib/adwords_api/v201003/CampaignServiceMappingRegistry.rb +0 -0
  125. data/lib/adwords_api/v201003/CampaignServiceWrapper.rb +2 -2
  126. data/lib/adwords_api/v201003/CampaignTargetService.rb +0 -0
  127. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +3 -3
  128. data/lib/adwords_api/v201003/CampaignTargetServiceMappingRegistry.rb +0 -0
  129. data/lib/adwords_api/v201003/CampaignTargetServiceWrapper.rb +2 -2
  130. data/lib/adwords_api/v201003/GeoLocationService.rb +0 -0
  131. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +2 -2
  132. data/lib/adwords_api/v201003/GeoLocationServiceMappingRegistry.rb +0 -0
  133. data/lib/adwords_api/v201003/GeoLocationServiceWrapper.rb +2 -2
  134. data/lib/adwords_api/v201003/InfoService.rb +0 -0
  135. data/lib/adwords_api/v201003/InfoServiceDriver.rb +2 -2
  136. data/lib/adwords_api/v201003/InfoServiceMappingRegistry.rb +0 -0
  137. data/lib/adwords_api/v201003/InfoServiceWrapper.rb +2 -2
  138. data/lib/adwords_api/v201003/MediaService.rb +224 -224
  139. data/lib/adwords_api/v201003/MediaServiceDriver.rb +3 -3
  140. data/lib/adwords_api/v201003/MediaServiceMappingRegistry.rb +58 -58
  141. data/lib/adwords_api/v201003/MediaServiceWrapper.rb +2 -2
  142. data/lib/adwords_api/v201003/ReportDefinitionService.rb +0 -0
  143. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +4 -4
  144. data/lib/adwords_api/v201003/ReportDefinitionServiceMappingRegistry.rb +0 -0
  145. data/lib/adwords_api/v201003/ReportDefinitionServiceWrapper.rb +2 -2
  146. data/lib/adwords_api/v201003/TargetingIdeaService.rb +0 -0
  147. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +3 -3
  148. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +0 -0
  149. data/lib/adwords_api/v201003/TargetingIdeaServiceWrapper.rb +2 -2
  150. data/lib/adwords_api/v201008/AdExtensionOverrideService.rb +0 -0
  151. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +3 -3
  152. data/lib/adwords_api/v201008/AdExtensionOverrideServiceMappingRegistry.rb +0 -0
  153. data/lib/adwords_api/v201008/AdExtensionOverrideServiceWrapper.rb +2 -2
  154. data/lib/adwords_api/v201008/AdGroupAdService.rb +255 -255
  155. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +3 -3
  156. data/lib/adwords_api/v201008/AdGroupAdServiceMappingRegistry.rb +120 -120
  157. data/lib/adwords_api/v201008/AdGroupAdServiceWrapper.rb +2 -2
  158. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +0 -0
  159. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +3 -3
  160. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +0 -0
  161. data/lib/adwords_api/v201008/AdGroupCriterionServiceWrapper.rb +2 -2
  162. data/lib/adwords_api/v201008/AdGroupService.rb +0 -0
  163. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +3 -3
  164. data/lib/adwords_api/v201008/AdGroupServiceMappingRegistry.rb +0 -0
  165. data/lib/adwords_api/v201008/AdGroupServiceWrapper.rb +2 -2
  166. data/lib/adwords_api/v201008/AdParamService.rb +0 -0
  167. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +3 -3
  168. data/lib/adwords_api/v201008/AdParamServiceMappingRegistry.rb +0 -0
  169. data/lib/adwords_api/v201008/AdParamServiceWrapper.rb +2 -2
  170. data/lib/adwords_api/v201008/AlertService.rb +0 -0
  171. data/lib/adwords_api/v201008/AlertServiceDriver.rb +2 -2
  172. data/lib/adwords_api/v201008/AlertServiceMappingRegistry.rb +0 -0
  173. data/lib/adwords_api/v201008/AlertServiceWrapper.rb +2 -2
  174. data/lib/adwords_api/v201008/BidLandscapeService.rb +0 -0
  175. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +2 -2
  176. data/lib/adwords_api/v201008/BidLandscapeServiceMappingRegistry.rb +0 -0
  177. data/lib/adwords_api/v201008/BidLandscapeServiceWrapper.rb +2 -2
  178. data/lib/adwords_api/v201008/BulkMutateJobService.rb +0 -0
  179. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +3 -3
  180. data/lib/adwords_api/v201008/BulkMutateJobServiceMappingRegistry.rb +0 -0
  181. data/lib/adwords_api/v201008/BulkMutateJobServiceWrapper.rb +2 -2
  182. data/lib/adwords_api/v201008/CampaignAdExtensionService.rb +0 -0
  183. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +3 -3
  184. data/lib/adwords_api/v201008/CampaignAdExtensionServiceMappingRegistry.rb +0 -0
  185. data/lib/adwords_api/v201008/CampaignAdExtensionServiceWrapper.rb +2 -2
  186. data/lib/adwords_api/v201008/CampaignCriterionService.rb +0 -0
  187. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +3 -3
  188. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +0 -0
  189. data/lib/adwords_api/v201008/CampaignCriterionServiceWrapper.rb +2 -2
  190. data/lib/adwords_api/v201008/CampaignService.rb +0 -0
  191. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +3 -3
  192. data/lib/adwords_api/v201008/CampaignServiceMappingRegistry.rb +0 -0
  193. data/lib/adwords_api/v201008/CampaignServiceWrapper.rb +2 -2
  194. data/lib/adwords_api/v201008/CampaignTargetService.rb +0 -0
  195. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +3 -3
  196. data/lib/adwords_api/v201008/CampaignTargetServiceMappingRegistry.rb +0 -0
  197. data/lib/adwords_api/v201008/CampaignTargetServiceWrapper.rb +2 -2
  198. data/lib/adwords_api/v201008/CustomerSyncService.rb +0 -0
  199. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +2 -2
  200. data/lib/adwords_api/v201008/CustomerSyncServiceMappingRegistry.rb +0 -0
  201. data/lib/adwords_api/v201008/CustomerSyncServiceWrapper.rb +2 -2
  202. data/lib/adwords_api/v201008/ExperimentService.rb +0 -0
  203. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +3 -3
  204. data/lib/adwords_api/v201008/ExperimentServiceMappingRegistry.rb +0 -0
  205. data/lib/adwords_api/v201008/ExperimentServiceWrapper.rb +2 -2
  206. data/lib/adwords_api/v201008/GeoLocationService.rb +0 -0
  207. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +2 -2
  208. data/lib/adwords_api/v201008/GeoLocationServiceMappingRegistry.rb +0 -0
  209. data/lib/adwords_api/v201008/GeoLocationServiceWrapper.rb +2 -2
  210. data/lib/adwords_api/v201008/InfoService.rb +0 -0
  211. data/lib/adwords_api/v201008/InfoServiceDriver.rb +2 -2
  212. data/lib/adwords_api/v201008/InfoServiceMappingRegistry.rb +0 -0
  213. data/lib/adwords_api/v201008/InfoServiceWrapper.rb +2 -2
  214. data/lib/adwords_api/v201008/MediaService.rb +203 -203
  215. data/lib/adwords_api/v201008/MediaServiceDriver.rb +3 -3
  216. data/lib/adwords_api/v201008/MediaServiceMappingRegistry.rb +54 -54
  217. data/lib/adwords_api/v201008/MediaServiceWrapper.rb +2 -2
  218. data/lib/adwords_api/v201008/ReportDefinitionService.rb +0 -0
  219. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +4 -4
  220. data/lib/adwords_api/v201008/ReportDefinitionServiceMappingRegistry.rb +0 -0
  221. data/lib/adwords_api/v201008/ReportDefinitionServiceWrapper.rb +2 -2
  222. data/lib/adwords_api/v201008/ServicedAccountService.rb +0 -0
  223. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +2 -2
  224. data/lib/adwords_api/v201008/ServicedAccountServiceMappingRegistry.rb +0 -0
  225. data/lib/adwords_api/v201008/ServicedAccountServiceWrapper.rb +2 -2
  226. data/lib/adwords_api/v201008/TargetingIdeaService.rb +0 -0
  227. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +3 -3
  228. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +0 -0
  229. data/lib/adwords_api/v201008/TargetingIdeaServiceWrapper.rb +2 -2
  230. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +0 -0
  231. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +2 -2
  232. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +0 -0
  233. data/lib/adwords_api/v201008/TrafficEstimatorServiceWrapper.rb +2 -2
  234. data/lib/adwords_api/v201008/UserListService.rb +0 -0
  235. data/lib/adwords_api/v201008/UserListServiceDriver.rb +3 -3
  236. data/lib/adwords_api/v201008/UserListServiceMappingRegistry.rb +0 -0
  237. data/lib/adwords_api/v201008/UserListServiceWrapper.rb +2 -2
  238. data/lib/adwords_api/v201101/AdExtensionOverrideService.rb +0 -0
  239. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +3 -3
  240. data/lib/adwords_api/v201101/AdExtensionOverrideServiceMappingRegistry.rb +0 -0
  241. data/lib/adwords_api/v201101/AdExtensionOverrideServiceWrapper.rb +2 -2
  242. data/lib/adwords_api/v201101/AdGroupAdService.rb +246 -246
  243. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +3 -3
  244. data/lib/adwords_api/v201101/AdGroupAdServiceMappingRegistry.rb +94 -94
  245. data/lib/adwords_api/v201101/AdGroupAdServiceWrapper.rb +2 -2
  246. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +0 -0
  247. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +3 -3
  248. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +0 -0
  249. data/lib/adwords_api/v201101/AdGroupCriterionServiceWrapper.rb +2 -2
  250. data/lib/adwords_api/v201101/AdGroupService.rb +0 -0
  251. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +3 -3
  252. data/lib/adwords_api/v201101/AdGroupServiceMappingRegistry.rb +0 -0
  253. data/lib/adwords_api/v201101/AdGroupServiceWrapper.rb +2 -2
  254. data/lib/adwords_api/v201101/AdParamService.rb +0 -0
  255. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +3 -3
  256. data/lib/adwords_api/v201101/AdParamServiceMappingRegistry.rb +0 -0
  257. data/lib/adwords_api/v201101/AdParamServiceWrapper.rb +2 -2
  258. data/lib/adwords_api/v201101/AlertService.rb +0 -0
  259. data/lib/adwords_api/v201101/AlertServiceDriver.rb +2 -2
  260. data/lib/adwords_api/v201101/AlertServiceMappingRegistry.rb +0 -0
  261. data/lib/adwords_api/v201101/AlertServiceWrapper.rb +2 -2
  262. data/lib/adwords_api/v201101/BulkMutateJobService.rb +0 -13
  263. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +3 -3
  264. data/lib/adwords_api/v201101/BulkMutateJobServiceMappingRegistry.rb +0 -20
  265. data/lib/adwords_api/v201101/BulkMutateJobServiceWrapper.rb +2 -2
  266. data/lib/adwords_api/v201101/BulkOpportunityService.rb +0 -0
  267. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +2 -2
  268. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +0 -0
  269. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +2 -2
  270. data/lib/adwords_api/v201101/CampaignAdExtensionService.rb +0 -0
  271. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +3 -3
  272. data/lib/adwords_api/v201101/CampaignAdExtensionServiceMappingRegistry.rb +0 -0
  273. data/lib/adwords_api/v201101/CampaignAdExtensionServiceWrapper.rb +2 -2
  274. data/lib/adwords_api/v201101/CampaignCriterionService.rb +0 -0
  275. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +3 -3
  276. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +0 -0
  277. data/lib/adwords_api/v201101/CampaignCriterionServiceWrapper.rb +2 -2
  278. data/lib/adwords_api/v201101/CampaignService.rb +0 -0
  279. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +3 -3
  280. data/lib/adwords_api/v201101/CampaignServiceMappingRegistry.rb +0 -0
  281. data/lib/adwords_api/v201101/CampaignServiceWrapper.rb +2 -2
  282. data/lib/adwords_api/v201101/CampaignTargetService.rb +0 -13
  283. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +3 -3
  284. data/lib/adwords_api/v201101/CampaignTargetServiceMappingRegistry.rb +0 -20
  285. data/lib/adwords_api/v201101/CampaignTargetServiceWrapper.rb +2 -2
  286. data/lib/adwords_api/v201101/ConversionTrackerService.rb +27 -0
  287. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +3 -3
  288. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +36 -0
  289. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +2 -2
  290. data/lib/adwords_api/v201101/CustomerSyncService.rb +0 -0
  291. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +2 -2
  292. data/lib/adwords_api/v201101/CustomerSyncServiceMappingRegistry.rb +0 -0
  293. data/lib/adwords_api/v201101/CustomerSyncServiceWrapper.rb +2 -2
  294. data/lib/adwords_api/v201101/DataService.rb +0 -0
  295. data/lib/adwords_api/v201101/DataServiceDriver.rb +3 -3
  296. data/lib/adwords_api/v201101/DataServiceMappingRegistry.rb +0 -0
  297. data/lib/adwords_api/v201101/DataServiceWrapper.rb +2 -2
  298. data/lib/adwords_api/v201101/ExperimentService.rb +0 -0
  299. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +3 -3
  300. data/lib/adwords_api/v201101/ExperimentServiceMappingRegistry.rb +0 -0
  301. data/lib/adwords_api/v201101/ExperimentServiceWrapper.rb +2 -2
  302. data/lib/adwords_api/v201101/GeoLocationService.rb +0 -0
  303. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +2 -2
  304. data/lib/adwords_api/v201101/GeoLocationServiceMappingRegistry.rb +0 -0
  305. data/lib/adwords_api/v201101/GeoLocationServiceWrapper.rb +2 -2
  306. data/lib/adwords_api/v201101/InfoService.rb +0 -0
  307. data/lib/adwords_api/v201101/InfoServiceDriver.rb +2 -2
  308. data/lib/adwords_api/v201101/InfoServiceMappingRegistry.rb +0 -0
  309. data/lib/adwords_api/v201101/InfoServiceWrapper.rb +2 -2
  310. data/lib/adwords_api/v201101/MediaService.rb +203 -203
  311. data/lib/adwords_api/v201101/MediaServiceDriver.rb +3 -3
  312. data/lib/adwords_api/v201101/MediaServiceMappingRegistry.rb +54 -54
  313. data/lib/adwords_api/v201101/MediaServiceWrapper.rb +2 -2
  314. data/lib/adwords_api/v201101/ReportDefinitionService.rb +0 -0
  315. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +4 -4
  316. data/lib/adwords_api/v201101/ReportDefinitionServiceMappingRegistry.rb +0 -0
  317. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +16 -2
  318. data/lib/adwords_api/v201101/ServicedAccountService.rb +0 -0
  319. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +2 -2
  320. data/lib/adwords_api/v201101/ServicedAccountServiceMappingRegistry.rb +0 -0
  321. data/lib/adwords_api/v201101/ServicedAccountServiceWrapper.rb +2 -2
  322. data/lib/adwords_api/v201101/TargetingIdeaService.rb +0 -0
  323. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +3 -3
  324. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +0 -0
  325. data/lib/adwords_api/v201101/TargetingIdeaServiceWrapper.rb +2 -2
  326. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +0 -0
  327. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +2 -2
  328. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +0 -0
  329. data/lib/adwords_api/v201101/TrafficEstimatorServiceWrapper.rb +2 -2
  330. data/lib/adwords_api/v201101/UserListService.rb +0 -0
  331. data/lib/adwords_api/v201101/UserListServiceDriver.rb +3 -3
  332. data/lib/adwords_api/v201101/UserListServiceMappingRegistry.rb +0 -0
  333. data/lib/adwords_api/v201101/UserListServiceWrapper.rb +2 -2
  334. metadata +205 -211
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201003
7
7
  module BidLandscapeService
8
8
 
9
9
  class BidLandscapeServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201003/BidLandscapeService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201003/BidLandscapeService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class BidLandscapeServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getBidLandscapeResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::BidLandscapeService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::BidLandscapeService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201003
7
7
  module BulkMutateJobService
8
8
 
9
9
  class BulkMutateJobServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/job/v201003/BulkMutateJobService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/job/v201003/BulkMutateJobService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class BulkMutateJobServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::BulkMutateJobService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class BulkMutateJobServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201003::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201003::BulkMutateJobService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201003
7
7
  module CampaignAdExtensionService
8
8
 
9
9
  class CampaignAdExtensionServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201003/CampaignAdExtensionService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201003/CampaignAdExtensionService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class CampaignAdExtensionServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::CampaignAdExtensionService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignAdExtensionServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201003::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201003::CampaignAdExtensionService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201003
7
7
  module CampaignCriterionService
8
8
 
9
9
  class CampaignCriterionServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201003/CampaignCriterionService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201003/CampaignCriterionService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class CampaignCriterionServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::CampaignCriterionService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignCriterionServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201003::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201003::CampaignCriterionService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201003
7
7
  module CampaignService
8
8
 
9
9
  class CampaignServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201003/CampaignService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201003/CampaignService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class CampaignServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::CampaignService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201003::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201003::CampaignService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201003
7
7
  module CampaignTargetService
8
8
 
9
9
  class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201003/CampaignTargetService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201003/CampaignTargetService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::CampaignTargetService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201003::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201003::CampaignTargetService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201003
7
7
  module GeoLocationService
8
8
 
9
9
  class GeoLocationServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201003/GeoLocationService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201003/GeoLocationService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class GeoLocationServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::GeoLocationService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
File without changes
@@ -7,7 +7,7 @@ module V201003
7
7
  module InfoService
8
8
 
9
9
  class InfoServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/info/v201003/InfoService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/info/v201003/InfoService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class InfoServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/info/v201003", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::InfoService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v201003", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::InfoService::ApiException_"=>{:ns=>"https://adwords.google.com/api/adwords/info/v201003", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -99,230 +99,6 @@ class SoapResponseHeader
99
99
  end
100
100
  end
101
101
 
102
- # Media
103
- # - mediaId - SOAP::SOAPLong
104
- # - mediaTypeDb - AdwordsApi::V201003::MediaService::MediaMediaType
105
- # - referenceId - SOAP::SOAPLong
106
- # - dimensions - AdwordsApi::V201003::MediaService::Media_Size_DimensionsMapEntry
107
- # - urls - AdwordsApi::V201003::MediaService::Media_Size_StringMapEntry
108
- # - mimeType - AdwordsApi::V201003::MediaService::MediaMimeType
109
- # - sourceUrl - SOAP::SOAPString
110
- # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
111
- # - name - SOAP::SOAPString
112
- # - fileSize - SOAP::SOAPLong
113
- # - extendedCapabilities - AdwordsApi::V201003::MediaService::Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry
114
- # - creationTime - SOAP::SOAPString
115
- # - media_Type - SOAP::SOAPString
116
- class Media
117
- attr_accessor :mediaId
118
- attr_accessor :mediaTypeDb
119
- attr_accessor :referenceId
120
- attr_accessor :dimensions
121
- attr_accessor :urls
122
- attr_accessor :mimeType
123
- attr_accessor :sourceUrl
124
- attr_accessor :mediaSubType
125
- attr_accessor :name
126
- attr_accessor :fileSize
127
- attr_accessor :extendedCapabilities
128
- attr_accessor :creationTime
129
- attr_accessor :media_Type
130
-
131
- def initialize(mediaId = nil, mediaTypeDb = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, mediaSubType = nil, name = nil, fileSize = nil, extendedCapabilities = [], creationTime = nil, media_Type = nil)
132
- @mediaId = mediaId
133
- @mediaTypeDb = mediaTypeDb
134
- @referenceId = referenceId
135
- @dimensions = dimensions
136
- @urls = urls
137
- @mimeType = mimeType
138
- @sourceUrl = sourceUrl
139
- @mediaSubType = mediaSubType
140
- @name = name
141
- @fileSize = fileSize
142
- @extendedCapabilities = extendedCapabilities
143
- @creationTime = creationTime
144
- @media_Type = media_Type
145
- end
146
- end
147
-
148
- # Audio
149
- # - mediaId - SOAP::SOAPLong
150
- # - mediaTypeDb - AdwordsApi::V201003::MediaService::MediaMediaType
151
- # - referenceId - SOAP::SOAPLong
152
- # - dimensions - AdwordsApi::V201003::MediaService::Media_Size_DimensionsMapEntry
153
- # - urls - AdwordsApi::V201003::MediaService::Media_Size_StringMapEntry
154
- # - mimeType - AdwordsApi::V201003::MediaService::MediaMimeType
155
- # - sourceUrl - SOAP::SOAPString
156
- # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
157
- # - name - SOAP::SOAPString
158
- # - fileSize - SOAP::SOAPLong
159
- # - extendedCapabilities - AdwordsApi::V201003::MediaService::Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry
160
- # - creationTime - SOAP::SOAPString
161
- # - media_Type - SOAP::SOAPString
162
- # - durationMillis - SOAP::SOAPLong
163
- # - streamingUrl - SOAP::SOAPString
164
- # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
165
- class Audio < Media
166
- attr_accessor :mediaId
167
- attr_accessor :mediaTypeDb
168
- attr_accessor :referenceId
169
- attr_accessor :dimensions
170
- attr_accessor :urls
171
- attr_accessor :mimeType
172
- attr_accessor :sourceUrl
173
- attr_accessor :mediaSubType
174
- attr_accessor :name
175
- attr_accessor :fileSize
176
- attr_accessor :extendedCapabilities
177
- attr_accessor :creationTime
178
- attr_accessor :media_Type
179
- attr_accessor :durationMillis
180
- attr_accessor :streamingUrl
181
- attr_accessor :readyToPlayOnTheWeb
182
-
183
- def initialize(mediaId = nil, mediaTypeDb = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, mediaSubType = nil, name = nil, fileSize = nil, extendedCapabilities = [], creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil)
184
- @mediaId = mediaId
185
- @mediaTypeDb = mediaTypeDb
186
- @referenceId = referenceId
187
- @dimensions = dimensions
188
- @urls = urls
189
- @mimeType = mimeType
190
- @sourceUrl = sourceUrl
191
- @mediaSubType = mediaSubType
192
- @name = name
193
- @fileSize = fileSize
194
- @extendedCapabilities = extendedCapabilities
195
- @creationTime = creationTime
196
- @media_Type = media_Type
197
- @durationMillis = durationMillis
198
- @streamingUrl = streamingUrl
199
- @readyToPlayOnTheWeb = readyToPlayOnTheWeb
200
- end
201
- end
202
-
203
- # Image
204
- # - mediaId - SOAP::SOAPLong
205
- # - mediaTypeDb - AdwordsApi::V201003::MediaService::MediaMediaType
206
- # - referenceId - SOAP::SOAPLong
207
- # - dimensions - AdwordsApi::V201003::MediaService::Media_Size_DimensionsMapEntry
208
- # - urls - AdwordsApi::V201003::MediaService::Media_Size_StringMapEntry
209
- # - mimeType - AdwordsApi::V201003::MediaService::MediaMimeType
210
- # - sourceUrl - SOAP::SOAPString
211
- # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
212
- # - name - SOAP::SOAPString
213
- # - fileSize - SOAP::SOAPLong
214
- # - extendedCapabilities - AdwordsApi::V201003::MediaService::Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry
215
- # - creationTime - SOAP::SOAPString
216
- # - media_Type - SOAP::SOAPString
217
- # - data - SOAP::SOAPBase64
218
- class Image < Media
219
- attr_accessor :mediaId
220
- attr_accessor :mediaTypeDb
221
- attr_accessor :referenceId
222
- attr_accessor :dimensions
223
- attr_accessor :urls
224
- attr_accessor :mimeType
225
- attr_accessor :sourceUrl
226
- attr_accessor :mediaSubType
227
- attr_accessor :name
228
- attr_accessor :fileSize
229
- attr_accessor :extendedCapabilities
230
- attr_accessor :creationTime
231
- attr_accessor :media_Type
232
- attr_accessor :data
233
-
234
- def initialize(mediaId = nil, mediaTypeDb = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, mediaSubType = nil, name = nil, fileSize = nil, extendedCapabilities = [], creationTime = nil, media_Type = nil, data = nil)
235
- @mediaId = mediaId
236
- @mediaTypeDb = mediaTypeDb
237
- @referenceId = referenceId
238
- @dimensions = dimensions
239
- @urls = urls
240
- @mimeType = mimeType
241
- @sourceUrl = sourceUrl
242
- @mediaSubType = mediaSubType
243
- @name = name
244
- @fileSize = fileSize
245
- @extendedCapabilities = extendedCapabilities
246
- @creationTime = creationTime
247
- @media_Type = media_Type
248
- @data = data
249
- end
250
- end
251
-
252
- # Video
253
- # - mediaId - SOAP::SOAPLong
254
- # - mediaTypeDb - AdwordsApi::V201003::MediaService::MediaMediaType
255
- # - referenceId - SOAP::SOAPLong
256
- # - dimensions - AdwordsApi::V201003::MediaService::Media_Size_DimensionsMapEntry
257
- # - urls - AdwordsApi::V201003::MediaService::Media_Size_StringMapEntry
258
- # - mimeType - AdwordsApi::V201003::MediaService::MediaMimeType
259
- # - sourceUrl - SOAP::SOAPString
260
- # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
261
- # - name - SOAP::SOAPString
262
- # - fileSize - SOAP::SOAPLong
263
- # - extendedCapabilities - AdwordsApi::V201003::MediaService::Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry
264
- # - creationTime - SOAP::SOAPString
265
- # - media_Type - SOAP::SOAPString
266
- # - durationMillis - SOAP::SOAPLong
267
- # - streamingUrl - SOAP::SOAPString
268
- # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
269
- # - industryStandardCommercialIdentifier - SOAP::SOAPString
270
- # - advertisingId - SOAP::SOAPString
271
- class Video < Media
272
- attr_accessor :mediaId
273
- attr_accessor :mediaTypeDb
274
- attr_accessor :referenceId
275
- attr_accessor :dimensions
276
- attr_accessor :urls
277
- attr_accessor :mimeType
278
- attr_accessor :sourceUrl
279
- attr_accessor :mediaSubType
280
- attr_accessor :name
281
- attr_accessor :fileSize
282
- attr_accessor :extendedCapabilities
283
- attr_accessor :creationTime
284
- attr_accessor :media_Type
285
- attr_accessor :durationMillis
286
- attr_accessor :streamingUrl
287
- attr_accessor :readyToPlayOnTheWeb
288
- attr_accessor :industryStandardCommercialIdentifier
289
- attr_accessor :advertisingId
290
-
291
- def initialize(mediaId = nil, mediaTypeDb = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, mediaSubType = nil, name = nil, fileSize = nil, extendedCapabilities = [], creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil, industryStandardCommercialIdentifier = nil, advertisingId = nil)
292
- @mediaId = mediaId
293
- @mediaTypeDb = mediaTypeDb
294
- @referenceId = referenceId
295
- @dimensions = dimensions
296
- @urls = urls
297
- @mimeType = mimeType
298
- @sourceUrl = sourceUrl
299
- @mediaSubType = mediaSubType
300
- @name = name
301
- @fileSize = fileSize
302
- @extendedCapabilities = extendedCapabilities
303
- @creationTime = creationTime
304
- @media_Type = media_Type
305
- @durationMillis = durationMillis
306
- @streamingUrl = streamingUrl
307
- @readyToPlayOnTheWeb = readyToPlayOnTheWeb
308
- @industryStandardCommercialIdentifier = industryStandardCommercialIdentifier
309
- @advertisingId = advertisingId
310
- end
311
- end
312
-
313
- # MediaPage
314
- # - media - AdwordsApi::V201003::MediaService::Media
315
- # - totalNumEntries - SOAP::SOAPInt
316
- class MediaPage
317
- attr_accessor :media
318
- attr_accessor :totalNumEntries
319
-
320
- def initialize(media = [], totalNumEntries = nil)
321
- @media = media
322
- @totalNumEntries = totalNumEntries
323
- end
324
- end
325
-
326
102
  # MediaSelector
327
103
  # - mediaType - AdwordsApi::V201003::MediaService::MediaMediaType
328
104
  # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
@@ -871,6 +647,230 @@ class ApiException < ApplicationException
871
647
  end
872
648
  end
873
649
 
650
+ # Media
651
+ # - mediaId - SOAP::SOAPLong
652
+ # - mediaTypeDb - AdwordsApi::V201003::MediaService::MediaMediaType
653
+ # - referenceId - SOAP::SOAPLong
654
+ # - dimensions - AdwordsApi::V201003::MediaService::Media_Size_DimensionsMapEntry
655
+ # - urls - AdwordsApi::V201003::MediaService::Media_Size_StringMapEntry
656
+ # - mimeType - AdwordsApi::V201003::MediaService::MediaMimeType
657
+ # - sourceUrl - SOAP::SOAPString
658
+ # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
659
+ # - name - SOAP::SOAPString
660
+ # - fileSize - SOAP::SOAPLong
661
+ # - extendedCapabilities - AdwordsApi::V201003::MediaService::Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry
662
+ # - creationTime - SOAP::SOAPString
663
+ # - media_Type - SOAP::SOAPString
664
+ class Media
665
+ attr_accessor :mediaId
666
+ attr_accessor :mediaTypeDb
667
+ attr_accessor :referenceId
668
+ attr_accessor :dimensions
669
+ attr_accessor :urls
670
+ attr_accessor :mimeType
671
+ attr_accessor :sourceUrl
672
+ attr_accessor :mediaSubType
673
+ attr_accessor :name
674
+ attr_accessor :fileSize
675
+ attr_accessor :extendedCapabilities
676
+ attr_accessor :creationTime
677
+ attr_accessor :media_Type
678
+
679
+ def initialize(mediaId = nil, mediaTypeDb = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, mediaSubType = nil, name = nil, fileSize = nil, extendedCapabilities = [], creationTime = nil, media_Type = nil)
680
+ @mediaId = mediaId
681
+ @mediaTypeDb = mediaTypeDb
682
+ @referenceId = referenceId
683
+ @dimensions = dimensions
684
+ @urls = urls
685
+ @mimeType = mimeType
686
+ @sourceUrl = sourceUrl
687
+ @mediaSubType = mediaSubType
688
+ @name = name
689
+ @fileSize = fileSize
690
+ @extendedCapabilities = extendedCapabilities
691
+ @creationTime = creationTime
692
+ @media_Type = media_Type
693
+ end
694
+ end
695
+
696
+ # Audio
697
+ # - mediaId - SOAP::SOAPLong
698
+ # - mediaTypeDb - AdwordsApi::V201003::MediaService::MediaMediaType
699
+ # - referenceId - SOAP::SOAPLong
700
+ # - dimensions - AdwordsApi::V201003::MediaService::Media_Size_DimensionsMapEntry
701
+ # - urls - AdwordsApi::V201003::MediaService::Media_Size_StringMapEntry
702
+ # - mimeType - AdwordsApi::V201003::MediaService::MediaMimeType
703
+ # - sourceUrl - SOAP::SOAPString
704
+ # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
705
+ # - name - SOAP::SOAPString
706
+ # - fileSize - SOAP::SOAPLong
707
+ # - extendedCapabilities - AdwordsApi::V201003::MediaService::Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry
708
+ # - creationTime - SOAP::SOAPString
709
+ # - media_Type - SOAP::SOAPString
710
+ # - durationMillis - SOAP::SOAPLong
711
+ # - streamingUrl - SOAP::SOAPString
712
+ # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
713
+ class Audio < Media
714
+ attr_accessor :mediaId
715
+ attr_accessor :mediaTypeDb
716
+ attr_accessor :referenceId
717
+ attr_accessor :dimensions
718
+ attr_accessor :urls
719
+ attr_accessor :mimeType
720
+ attr_accessor :sourceUrl
721
+ attr_accessor :mediaSubType
722
+ attr_accessor :name
723
+ attr_accessor :fileSize
724
+ attr_accessor :extendedCapabilities
725
+ attr_accessor :creationTime
726
+ attr_accessor :media_Type
727
+ attr_accessor :durationMillis
728
+ attr_accessor :streamingUrl
729
+ attr_accessor :readyToPlayOnTheWeb
730
+
731
+ def initialize(mediaId = nil, mediaTypeDb = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, mediaSubType = nil, name = nil, fileSize = nil, extendedCapabilities = [], creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil)
732
+ @mediaId = mediaId
733
+ @mediaTypeDb = mediaTypeDb
734
+ @referenceId = referenceId
735
+ @dimensions = dimensions
736
+ @urls = urls
737
+ @mimeType = mimeType
738
+ @sourceUrl = sourceUrl
739
+ @mediaSubType = mediaSubType
740
+ @name = name
741
+ @fileSize = fileSize
742
+ @extendedCapabilities = extendedCapabilities
743
+ @creationTime = creationTime
744
+ @media_Type = media_Type
745
+ @durationMillis = durationMillis
746
+ @streamingUrl = streamingUrl
747
+ @readyToPlayOnTheWeb = readyToPlayOnTheWeb
748
+ end
749
+ end
750
+
751
+ # Image
752
+ # - mediaId - SOAP::SOAPLong
753
+ # - mediaTypeDb - AdwordsApi::V201003::MediaService::MediaMediaType
754
+ # - referenceId - SOAP::SOAPLong
755
+ # - dimensions - AdwordsApi::V201003::MediaService::Media_Size_DimensionsMapEntry
756
+ # - urls - AdwordsApi::V201003::MediaService::Media_Size_StringMapEntry
757
+ # - mimeType - AdwordsApi::V201003::MediaService::MediaMimeType
758
+ # - sourceUrl - SOAP::SOAPString
759
+ # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
760
+ # - name - SOAP::SOAPString
761
+ # - fileSize - SOAP::SOAPLong
762
+ # - extendedCapabilities - AdwordsApi::V201003::MediaService::Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry
763
+ # - creationTime - SOAP::SOAPString
764
+ # - media_Type - SOAP::SOAPString
765
+ # - data - SOAP::SOAPBase64
766
+ class Image < Media
767
+ attr_accessor :mediaId
768
+ attr_accessor :mediaTypeDb
769
+ attr_accessor :referenceId
770
+ attr_accessor :dimensions
771
+ attr_accessor :urls
772
+ attr_accessor :mimeType
773
+ attr_accessor :sourceUrl
774
+ attr_accessor :mediaSubType
775
+ attr_accessor :name
776
+ attr_accessor :fileSize
777
+ attr_accessor :extendedCapabilities
778
+ attr_accessor :creationTime
779
+ attr_accessor :media_Type
780
+ attr_accessor :data
781
+
782
+ def initialize(mediaId = nil, mediaTypeDb = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, mediaSubType = nil, name = nil, fileSize = nil, extendedCapabilities = [], creationTime = nil, media_Type = nil, data = nil)
783
+ @mediaId = mediaId
784
+ @mediaTypeDb = mediaTypeDb
785
+ @referenceId = referenceId
786
+ @dimensions = dimensions
787
+ @urls = urls
788
+ @mimeType = mimeType
789
+ @sourceUrl = sourceUrl
790
+ @mediaSubType = mediaSubType
791
+ @name = name
792
+ @fileSize = fileSize
793
+ @extendedCapabilities = extendedCapabilities
794
+ @creationTime = creationTime
795
+ @media_Type = media_Type
796
+ @data = data
797
+ end
798
+ end
799
+
800
+ # Video
801
+ # - mediaId - SOAP::SOAPLong
802
+ # - mediaTypeDb - AdwordsApi::V201003::MediaService::MediaMediaType
803
+ # - referenceId - SOAP::SOAPLong
804
+ # - dimensions - AdwordsApi::V201003::MediaService::Media_Size_DimensionsMapEntry
805
+ # - urls - AdwordsApi::V201003::MediaService::Media_Size_StringMapEntry
806
+ # - mimeType - AdwordsApi::V201003::MediaService::MediaMimeType
807
+ # - sourceUrl - SOAP::SOAPString
808
+ # - mediaSubType - AdwordsApi::V201003::MediaService::MediaMediaSubType
809
+ # - name - SOAP::SOAPString
810
+ # - fileSize - SOAP::SOAPLong
811
+ # - extendedCapabilities - AdwordsApi::V201003::MediaService::Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry
812
+ # - creationTime - SOAP::SOAPString
813
+ # - media_Type - SOAP::SOAPString
814
+ # - durationMillis - SOAP::SOAPLong
815
+ # - streamingUrl - SOAP::SOAPString
816
+ # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
817
+ # - industryStandardCommercialIdentifier - SOAP::SOAPString
818
+ # - advertisingId - SOAP::SOAPString
819
+ class Video < Media
820
+ attr_accessor :mediaId
821
+ attr_accessor :mediaTypeDb
822
+ attr_accessor :referenceId
823
+ attr_accessor :dimensions
824
+ attr_accessor :urls
825
+ attr_accessor :mimeType
826
+ attr_accessor :sourceUrl
827
+ attr_accessor :mediaSubType
828
+ attr_accessor :name
829
+ attr_accessor :fileSize
830
+ attr_accessor :extendedCapabilities
831
+ attr_accessor :creationTime
832
+ attr_accessor :media_Type
833
+ attr_accessor :durationMillis
834
+ attr_accessor :streamingUrl
835
+ attr_accessor :readyToPlayOnTheWeb
836
+ attr_accessor :industryStandardCommercialIdentifier
837
+ attr_accessor :advertisingId
838
+
839
+ def initialize(mediaId = nil, mediaTypeDb = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, mediaSubType = nil, name = nil, fileSize = nil, extendedCapabilities = [], creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil, industryStandardCommercialIdentifier = nil, advertisingId = nil)
840
+ @mediaId = mediaId
841
+ @mediaTypeDb = mediaTypeDb
842
+ @referenceId = referenceId
843
+ @dimensions = dimensions
844
+ @urls = urls
845
+ @mimeType = mimeType
846
+ @sourceUrl = sourceUrl
847
+ @mediaSubType = mediaSubType
848
+ @name = name
849
+ @fileSize = fileSize
850
+ @extendedCapabilities = extendedCapabilities
851
+ @creationTime = creationTime
852
+ @media_Type = media_Type
853
+ @durationMillis = durationMillis
854
+ @streamingUrl = streamingUrl
855
+ @readyToPlayOnTheWeb = readyToPlayOnTheWeb
856
+ @industryStandardCommercialIdentifier = industryStandardCommercialIdentifier
857
+ @advertisingId = advertisingId
858
+ end
859
+ end
860
+
861
+ # MediaPage
862
+ # - media - AdwordsApi::V201003::MediaService::Media
863
+ # - totalNumEntries - SOAP::SOAPInt
864
+ class MediaPage
865
+ attr_accessor :media
866
+ attr_accessor :totalNumEntries
867
+
868
+ def initialize(media = [], totalNumEntries = nil)
869
+ @media = media
870
+ @totalNumEntries = totalNumEntries
871
+ end
872
+ end
873
+
874
874
  # AudioError.Reason
875
875
  class AudioErrorReason < ::String
876
876
  ERROR_GENERATING_STREAMING_URL = AudioErrorReason.new("ERROR_GENERATING_STREAMING_URL")