Hi Ashley,

That error means that the OAuth credentials you are using in your request 
do not grant you permissions to access the campaigns of the account 
specified in your clientCustomerId 
<https://developers.google.com/adwords/api/docs/guides/soap#clientCustomerId> 
header. Make sure that the OAuth credentials were generated while logged in 
as a user with access to the account.

Cheers,
Josh, AdWords API Team

On Tuesday, January 6, 2015 7:52:47 PM UTC-5, Ashley Xu wrote:
>
> Hi,
>
> We have seen OperationAccessDenied.ACTION_NOT_PERMITTED error when calling 
> Adwords API to get campaigns(We are using AdWordsApiClient_18.3.0). Please 
> find the stack trace below. Could anyone please let me know what does it 
> mean when we run into this exception. It seems one user keeps trying to 
> download campaigns and keeps getting this error.
>
> Timestamp: 1/2/2015 10:16:29 PM, 1/2/2015 10:15:19 PM,  1/2/2015 10:15:11 
> PM, 1/2/2015 10:14:16 PM UTC
> Inner Exceptions: 
> Exception Type: Google.Api.Ads.AdWords.Lib.AdWordsApiException
> Source: AdWordsApiClient_18.3.0
> Message: An API exception has occurred. See ApiException and 
> InnerException fields for more details.
> StackTrace:    at 
> Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, 
> Object[] parameters)
>    at Google.Api.Ads.AdWords.v201406.CampaignService.get(Selector 
> serviceSelector)
>    at 
> Microsoft.Advertising.Client.GoogleSync.GoogleSyncClient.GetCampaignsInfo(Int64
>  
> customerId)Exception Type: System.Web.Services.Protocols.SoapException
> Source: System.Web.Services
> Message: [OperationAccessDenied.ACTION_NOT_PERMITTED @ class 
> com.google.ads.api.serviceimpls.common.action.ReflectiveGetAction]
> StackTrace:    at 
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
>  
> message, WebResponse response, Stream responseStream, Boolean asyncCall)
>    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
> methodName, Object[] parameters)
>    at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
> methodName, Object[] parameters)
> . Reserved 3: 
> Reserved1:
>
> Thanks a lot!
> Ashley 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/27dd7986-4a0b-4407-920d-314fc8128851%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to