Readme.txt in adwords4r-16.0.0 vs Readme.txt in adwords4r-17.0.0

- old
+ new

@@ -73,11 +73,11 @@ $ ENV['HTTP_PROXY'] = 'http://myproxyserver:8080' === 2.1 - Using the Sandbox and other environments: -In order to use the v13 and v200906 sandboxes, make sure that the 'environment' +In order to use the v13 and v2009 sandboxes, make sure that the 'environment' parameter in the credentials is set to SANDBOX. environment=SANDBOX Should you need to use an environment other than production or sandbox, you can add it to the list of environments in runtime: @@ -86,19 +86,26 @@ 200906 => 'URL_FOR_v200906' }) and then use it normally in your code: credentials.environment = 'ENVIRONMENT_NAME' +Make sure you only include the base URL, that is, the URL up until the "adwords" +part, leaving the version and group out. Here's an example: + AdWords::Service::add_environment('SANDBOX', { + 13 => 'https://sandbox.google.com/api/adwords/', + 200906 => 'https://adwords-sandbox.google.com/api/adwords/' + } -=== 2.2 - Mixing v13 and v200906: -It's possible to access both the v13 and v200906 sandboxes or production +=== 2.2 - Mixing v13 and v2009: + +It's possible to access both the v13 and v2009 sandboxes or production environments simultaneously. Since both versions share a common backend storage, -it is possible for your application to choose between v13 and v200906 services +it is possible for your application to choose between v13 and v2009 services at will, mixing and matching them. The multiple_versions.rb code sample shows you how to build an application using -v13 and v200906 services simultaneously. +v13 and v2009 services simultaneously. === 2.3 - Logging: It is often useful to see a trace of the raw SOAP XML being sent and received.