simbor / google-api-adwords-php

Automatically exported from code.google.com/p/google-api-adwords-php
Apache License 2.0
0 stars 0 forks source link

v201309 BudgetService is calling 201302 end point #112

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of the library are you using?
v4.6

Which version of PHP are you using?
5

What steps will reproduce the problem?
The setting for BudgetService for v201309 and v201306 in client library are 
still pointing to v201302.

What is the expected output? What do you see instead?
I am expecting to see 201309 BudgetService is calling 
https://adwords.google.com/api/adwords/cm/v201309/BudgetService?wsdl while I am 
seeing 201309 BudgetService is calling 
https://adwords.google.com/api/adwords/cm/v201302/BudgetService?wsdl instead.

Please provide any additional information below.

Original issue reported on code.google.com by xiangd...@gmail.com on 7 Oct 2013 at 9:31

GoogleCodeExporter commented 8 years ago
Hi there,

The BudgetService object is generated, so shouldn't be pointing to old 
versions. The most likely reason for this issue is a configuration file still 
pointing to the old version. Please check your settings.ini is pointing to the 
correct version of the API:
https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ad
s/AdWords/settings.ini

Also, you can override the version used by the AdWordsUser by passing the 
version to the second parameter of $user->GetService($service_name, $version);
https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/
v201309/BasicOperations/GetCampaigns.php#41

Regards,

- Paul, AdWords API Team.

Original comment by api.pmat...@gmail.com on 8 Oct 2013 at 10:00

GoogleCodeExporter commented 8 years ago
Hi Paul,

Thanks for reply, I think the issue is with this file 

https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ad
s/AdWords/Lib/api.properties

apparently, I think this line is wrong or not updated
api.versions.v201309.services.BudgetService.wsdl=${api.server}/api/adwords/cm/v2
01302/BudgetService?wsdl

Original comment by tritonme...@gmail.com on 8 Oct 2013 at 4:37

GoogleCodeExporter commented 8 years ago
You're correct, thank you for reporting this issue.

Original comment by api.pmat...@gmail.com on 8 Oct 2013 at 4:43

GoogleCodeExporter commented 8 years ago
This should now be resolved in the 4.6.1 release.

Changes:
https://code.google.com/p/google-api-adwords-php/source/detail?r=6e602ed6a048d15
779e64384232ac8004898555b

Downloads:
https://code.google.com/p/google-api-adwords-php/downloads/list?q=4.6.1

Original comment by api.pmat...@gmail.com on 10 Oct 2013 at 11:40