Hi Terry, The SoapClient class changed between PHP version 5.2.X and 5.3.X, and the constructors are not compatible. The AdsSoapClient class extends SoapClient, but not in a way that is compatible with PHP 5.3.X. This is a known issue and at this time there is no fix available. The AdWords API PHP client library currently only support PHP 5.2.X.
Best, - Eric Koleda, AdWords API Team On Mar 5, 1:23 pm, Terry Truong <[email protected]> wrote: > I loaded the api into my server and started the addcampaign.php > example file and got this error: > > Fatal error: Access level to AdsSoapClient::__construct() must be > public (as in class SoapClient) in > /var/www/html/common/api2009/src/Google/Api/Ads/Common/Lib/ > AdsSoapClient.php on line 497 > > I didn't touch any of the soap client files at all. > > Any idea why this happens? What am I doing wrong here. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
