As google-ads-python(link_manager_to_client)
<https://github.com/googleads/google-ads-python/blob/master/examples/account_management/link_manager_to_client.py>
suggesting
codes example showed ,I tried with below code:
manager_link_operation = c_client.get_type(
'CustomerManagerLinkOperation', version='v2')
manager_link = manager_link_operation.update
manager_link.resource_name.value = (
'customers/{}/customerManagerLinks/{}~{}'.format(
client_id, manager_id, manager_link_id))
But I got error like :
Traceback (most recent call last):
File "demo.py", line 210, in <module>
foo4()
File "demo.py", line 195, in foo4
link_manager_to_client(m_client, c_client, "xxxx", "xxxx")
File "demo.py", line 174, in link_manager_to_client
client_id, manager_id, manager_link_id))
AttributeError: 'str' object has no attribute 'value'
I'm just following the example in google-ads-python
<https://github.com/googleads/google-ads-python>, why I got unexpected
error?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/1280062b-14b5-4566-b1bd-7ea84ad12f6d%40googlegroups.com.