Hi everyone! Sorry for my english

Can't connect to API in my test account

What I use / do:
1. Python3, instal setuptools and googleads;
2. Registered new google account (a1) and manager account to it, add real 
client accounts to management, get test dev token;
3. Registered another new google account (a2) with TEST manager account, 
make some test client accounts / campaigns / groups / ads / keywords.
* Find some problem (mb it's important) - I can see new test client 
accounts in overview but can't see it in menu "Accounts" (remove all 
filters) 1. http://prntscr.com/m7kyiq 2. http://prntscr.com/m7kyqp;
4. Get OAuth 2.0 client id / secret in test manager account (a2)
5. Get generate refresh token
6. in googleads.yaml add:
* developer_token: from first real manager account (a1), 
* client_customer_id: test client account id from test management account 
(a2, like 123-456-7890)
* client_id, client_secret, refresh_token
6. do some "basic operations" (from examples for python3):
* get_campaigns.py return notehing
* remove_keyword.py (add adgroup and keyword id's) return next error code:
No handlers could be found for logger "googleads.soap"
Traceback (most recent call last):
  File "remove_keyword.py", line 40, in <module>
    main(adwords_client, AD_GROUP_ID, CRITERION_ID)
  File "remove_keyword.py", line 26, in main
    result = ad_group_criterion_service.mutate(operations)
  File "/home/pi/.local/lib/python2.7/site-packages/googleads/common.py", 
line 1396, in MakeSoapRequest
    e.detail, errors=error_list, message=e.message)
googleads.errors.GoogleAdsServerFault: [EntityNotFound.INVALID_ID @ 
operations[0].operand.adGroupId; trigger:'AdGroupId: ###########']

Anybody know where I have mistakes?
Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c39ffdc0-14e0-40ce-8af7-029663b2f487%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Can't c... targetingtestpython
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... targetingtestpython
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to