OperationAccessDenied.ACTION_NOT_PERMITTED: while creating a new ad customiser feed

61 views
Skip to first unread message

Ketan Ingle

unread,
May 10, 2019, 11:02:07 AM5/10/19
to AdWords API and Google Ads API Forum
I'm trying to create a new ad customizer feed using the Python2.7 and API version 'v201809'

The mutate function doesn't seem to work and is giving the following error:

GoogleAdsServerFault: [OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.feed.adcustomizer.MutateActio]

adc_service = adwords_client.GetService('AdCustomizerFeedService', version='v201809')

Code Snippet:

feed_operator = {
                  'feedName': 'Name',
                  'feedAttributes': [
                                     {'type': 'STRING', 'name': 'Name1'},
                                     {'type': 'STRING', 'name': 'Name2'}
                                     ]
               }

feed_creator_operation = {'operator': 'ADD',
                          'operand': feed_operator}

feed_call_response = adc_service.mutate(feed_creator_operation)

The get call is working perfectly though as I'm able to read all the feeds in the account. 

What's the issue here? Is it a problem with the authentication?



googleadsapi...@google.com

unread,
May 10, 2019, 4:27:54 PM5/10/19
to AdWords API and Google Ads API Forum
Hello Ketan,

Could you please confirm whether the user making the API call is having the right access to the account for which you are making the mutate operations? If the problem persists, could you please share the complete SOAP logs for the operation, you are performing without redacting any information using reply privately to the author option.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Ketan Ingle

unread,
May 17, 2019, 5:06:21 AM5/17/19
to AdWords API and Google Ads API Forum
Hi Sai Teja,

The user has the access to the account. I have created campaigns/ad groups etc using the API before. I also export reports on a regular basis from the account with the same user.

The problem is persisting. Can you please detail out how I can share the SOAP logs for the operation?

Google Ads API Forum Advisor Prod

unread,
May 17, 2019, 2:53:17 PM5/17/19
to adwor...@googlegroups.com
Hello Ketan,

Could you please confirm the email address and account id for which you are making the mutate operation. To enable logs you can refer this guide. Please use reply privately to the author option while sharing the information requested.

Regards,
Sai Teja, Google Ads API Team

ref:_00D1U1174p._5001UApuN2:ref

Ketan Ingle

unread,
May 18, 2019, 2:50:50 AM5/18/19
to AdWords API and Google Ads API Forum
Hi Sai Teja,

Can you please confirm if you have received my private replies? I can't see them. Can you tell me how to see them?

Google Ads API Forum Advisor Prod

unread,
May 20, 2019, 11:22:22 AM5/20/19
to adwor...@googlegroups.com
Hello Ketan,

I received the logs. Could you also please share the email address that is used to make the API call using reply privately to the author option to see if the user has correct permissions? 

You cannot see the private message you sent until the forum advisor replies to that message to your email address directly.


Regards,
Sai Teja, Google Ads API Team

ref:_00D1U1174p._5001UApuN2:ref
Reply all
Reply to author
Forward
0 new messages