Hello,

We're trying to activate an Ad Group using the AdWords API, but we're 
getting the error: 

MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT

Here's the code we're using:

from googleads import adwords
from googleads import oauth2


 oauth2_client = oauth2.GoogleRefreshTokenClient(
                ADWORDS_API_CLIENT_ID, ADWORDS_API_CLIENT_SECRET,
                refresh_token)
 adwords_client = adwords.AdWordsClient(
                DEVELOPER_TOKEN, oauth2_client, 'decidata sync',
                client_customer_id='485-950-4386')
 service = adwords_client.GetService('AdGroupService',version='v201802')
 operations = [{
            'operator': 'SET',
            'operand': {
                'id': 65215191268,
                'status': 'ENABLED'
            }
        }]
 service.mutate(operations)


Is there anything we can change to activate and pause YouTube Ad Groups ?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c6b0a1a7-4559-4de3-b2d8-ebd71f528677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... antonio
    • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to