Howdy!
Well, I'm at my wit's end.
My server hates Google Adwords API, or vice-versa. NuSoap doesn't work. Pear
SOAP doesn't work. Webhost (iPower) doesn't allow other versions of SOAP.
It's been one thing after another trying to get this library to interact
correctly. Hopefully SOMEone can help me figure this one out...I'm about to
lose (more) hair.
I get this error whilst using the sample webapp via
/aw_api_php_lib/aw_api_php_webapp/public/index.html for php adwords api lib
on my server:
*Fatal error*: Cannot redeclare non static AdWordsSoapClient::$endpoint as
static TargetingIdeaService::$endpoint in*
/hermes/directories/go/here/public_html/caffeinemarketinggroup/aw_api_php_lib/src/Google/Api/Ads/AdWords/v201008/TargetingIdeaService.php
* on line *7495*
*
*
*Of the file it references:*
Line 7495 of TargetingIdeaService reads:
*class TargetingIdeaService extends AdWordsSoapClient {
*
*
*
then a few lines down, after defining the class array values, it shows this:
*public static $endpoint =
"https://adwords.google.com/api/adwords/o/v201008/TargetingIdeaService";
*
*
*
it would appear the endpoint is already set at the time it gets to it on
TargetingIdeaService, but I'm not sure.
I've tried renaming the class (and class references) from
"TargetingIdeaService" to "x_TargetingIdeaService", and updating the calls
inside the other related files....and it either throws a token error using
this change (not surprising), or unchanged it gives the error message shown
at the top of this thread.
Any ideas?
Thanks in advance!
:::a
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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