lib/adwords4r/services.rb in adwords4r-18.0.0 vs lib/adwords4r/services.rb in adwords4r-19.0.0

- old
+ new

@@ -3,11 +3,11 @@ # Authors:: sgomes@google.com (Sérgio Gomes) # jeffy@google.com (Jeffrey Posnick) # chanezon@google.com (Patrick Chanezon) # leavengood@gmail.com (Ryan Leavengood) # -# Copyright:: Copyright 2009, Google Inc. All Rights Reserved. +# Copyright:: Copyright 2010, Google Inc. All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # @@ -26,17 +26,16 @@ # Contains helper methods for loading and managing the available services. module Service # Set defaults - DEFAULT_VERSION = 13 + DEFAULT_VERSION = 200909 DEFAULT_ENVIRONMENT = 'PRODUCTION' # Configure the services available to each version @@services = { - 13 => ['Account', 'AdGroup', 'Ad', 'Campaign', 'Criterion', 'Info', - 'KeywordTool', 'Report', 'SiteSuggestion', 'TrafficEstimator'], + 13 => ['Account', 'Report', 'TrafficEstimator'], 200909 => ['AdExtensionOverride', 'AdGroupAd', 'AdGroupCriterion', 'AdGroup', 'AdParam', 'BulkMutateJob', 'CampaignAdExtension', 'CampaignCriterion', 'Campaign', 'CampaignTarget', 'GeoLocation', 'Info', 'TargetingIdea'] } @@ -56,17 +55,10 @@ # Configure the subdirectories for each version / service pair. # A missing pair means that only the base URL is used. @@subdirs = { # v13 [13, 'Account'] => 'v13/', - [13, 'AdGroup'] => 'v13/', - [13, 'Ad'] => 'v13/', - [13, 'Campaign'] => 'v13/', - [13, 'Criterion'] => 'v13/', - [13, 'Info'] => 'v13/', - [13, 'KeywordTool'] => 'v13/', [13, 'Report'] => 'v13/', - [13, 'SiteSuggestion'] => 'v13/', [13, 'TrafficEstimator'] => 'v13/', # v200909 [200909, 'AdExtensionOverride'] => 'cm/v200909/', [200909, 'AdGroupAd'] => 'cm/v200909/', [200909, 'AdGroupCriterion'] => 'cm/v200909/',