I'm following link_manager_to_client codes example 
<https://github.com/googleads/google-ads-python/blob/master/examples/account_management/link_manager_to_client.py>
. 

but it showed error:
Traceback (most recent call last):
  File "demo.py", line 204, in <module>
    foo4()
  File "demo.py", line 189, in foo4
    link_manager_to_client(client, "xxx6739927", "1xxx8517")
  File "demo.py", line 134, in link_manager_to_client
    resource_name = response.results[0].resource_name
AttributeError: results
# result is right attribute



and  after GoogleAdsService search

 ga_service = client.get_service('GoogleAdsService', version='v2')
    response = ga_service.search(manager_id, query=query)


response has no attribute result as below:



Traceback (most recent call last):
  File "demo.py", line 205, in <module>
    foo4()
  File "demo.py", line 190, in foo4
    link_manager_to_client(client, "xxx", "xxx")
  File "demo.py", line 160, in link_manager_to_client
    for row in response.result:
AttributeError: 'GRPCIterator' object has no attribute 'result'


after fix it by my hand..another error happened

Traceback (most recent call last):
  File "demo.py", line 203, in <module>
    foo4()
  File "demo.py", line 188, in foo4
    link_manager_to_client(client, "xxxx", "xxxxx")
  File "demo.py", line 166, in link_manager_to_client
    client_id, manager_id, manager_link_id))
AttributeError: 'str' object has no attribute 'value'


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/afd0bc45-fe51-4e55-8e23-f31f85f80bad%40googlegroups.com.

Reply via email to