Re: Logger.php errors

2011-03-06 Thread Eric Koleda
Hi,

Another common cause of this error is attempting to add a campaign to an MCC 
account, which isn't allowed.

  
http://code.google.com/apis/adwords/docs/troubleshooting.html#OperationAccessDenied

Best,
- Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Logger.php errors

2011-03-02 Thread AdWords API Advisor
Hi,

OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED usually means that
the loginEmail you are using to add items to your AdWords account
doesn't have permission to add items on that account. This could
happen if the login email you are using has only ReadOnly permissions
for the AdWords account. See
http://code.google.com/apis/adwords/docs/reference/latest/AdGroupCriterionService.html#OperationAccessDenied
for details.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Mar 1, 8:02 pm, apiguy  wrote:
> Hello,
>
> So I was able to set the 777 permissions on the /log/ directory, so
> now the Logger.php errors are gone.
>
> However, I'm still getting the last error:
>
> [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]
>
> Any idea what this means?
>
> Thanks
>
> On Mar 1, 9:36 am, apiguy  wrote:
>
> > Hello,
>
> > I'm trying to setup the PHP client library and run a few examples.
>
> > I'm getting the following error messages when running /examples/
> > v201008/AddCampaign.php
>
> > ---
> > Warning: fopen(/var/www/adwords/logs/soap_xml.log) [function.fopen]:
> > failed to open stream: Permission denied in /var/www/adwords/src/
> > Google/Api/Ads/Common/Util/Logger.php on line 202
>
> > Warning: fwrite(): supplied argument is not a valid stream resource
> > in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
> > 205
>
> > Warning: fclose(): supplied argument is not a valid stream resource
> > in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
> > 206
>
> > Warning: fopen(/var/www/adwords/logs/request_info.log)
> > [function.fopen]: failed to open stream: Permission denied in /var/www/
> > adwords/src/Google/Api/Ads/Common/Util/Logger.php on line 202
>
> > Warning: fwrite(): supplied argument is not a valid stream resource
> > in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
> > 205
>
> > Warning: fclose(): supplied argument is not a valid stream resource
> > in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
> > 206
> > [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]
> > ---
>
> > When I comment out the following line, all of the errors go away,
> > except the last error line:
> > // $user->LogDefaults();
>
> > I tried setting permission on Logger.php to 777 but the permissions
> > wouldn't stick. Is it even a permissions issue?
>
> > Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Logger.php errors

2011-03-01 Thread apiguy
Hello,

So I was able to set the 777 permissions on the /log/ directory, so
now the Logger.php errors are gone.

However, I'm still getting the last error:

[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

Any idea what this means?

Thanks



On Mar 1, 9:36 am, apiguy  wrote:
> Hello,
>
> I'm trying to setup the PHP client library and run a few examples.
>
> I'm getting the following error messages when running /examples/
> v201008/AddCampaign.php
>
> ---
> Warning: fopen(/var/www/adwords/logs/soap_xml.log) [function.fopen]:
> failed to open stream: Permission denied in /var/www/adwords/src/
> Google/Api/Ads/Common/Util/Logger.php on line 202
>
> Warning: fwrite(): supplied argument is not a valid stream resource
> in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
> 205
>
> Warning: fclose(): supplied argument is not a valid stream resource
> in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
> 206
>
> Warning: fopen(/var/www/adwords/logs/request_info.log)
> [function.fopen]: failed to open stream: Permission denied in /var/www/
> adwords/src/Google/Api/Ads/Common/Util/Logger.php on line 202
>
> Warning: fwrite(): supplied argument is not a valid stream resource
> in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
> 205
>
> Warning: fclose(): supplied argument is not a valid stream resource
> in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
> 206
> [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]
> ---
>
> When I comment out the following line, all of the errors go away,
> except the last error line:
> // $user->LogDefaults();
>
> I tried setting permission on Logger.php to 777 but the permissions
> wouldn't stick. Is it even a permissions issue?
>
> Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Logger.php errors

2011-03-01 Thread apiguy
Hello,

I'm trying to setup the PHP client library and run a few examples.

I'm getting the following error messages when running /examples/
v201008/AddCampaign.php

---
Warning: fopen(/var/www/adwords/logs/soap_xml.log) [function.fopen]:
failed to open stream: Permission denied in /var/www/adwords/src/
Google/Api/Ads/Common/Util/Logger.php on line 202

Warning: fwrite(): supplied argument is not a valid stream resource
in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
205

Warning: fclose(): supplied argument is not a valid stream resource
in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
206

Warning: fopen(/var/www/adwords/logs/request_info.log)
[function.fopen]: failed to open stream: Permission denied in /var/www/
adwords/src/Google/Api/Ads/Common/Util/Logger.php on line 202

Warning: fwrite(): supplied argument is not a valid stream resource
in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
205

Warning: fclose(): supplied argument is not a valid stream resource
in /var/www/adwords/src/Google/Api/Ads/Common/Util/Logger.php on line
206
[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]
---

When I comment out the following line, all of the errors go away,
except the last error line:
// $user->LogDefaults();

I tried setting permission on Logger.php to 777 but the permissions
wouldn't stick. Is it even a permissions issue?

Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en