CANNOT_HIDE_OR_UNHIDE_NON_ACTIVELY_LINKED_ACCOUNT / ManagedCustomerService / ERROR

58 views
Skip to first unread message

Kuba Dev

unread,
Mar 15, 2019, 6:55:13 AM3/15/19
to AdWords API and Google Ads API Forum
Hi,

1. I have one test account (manager).

2. I have  created new account with use of method :
https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService.ManagedCustomer

3. The new account is hidden and not active, so I was trying to activate it with method :
https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService.ManagedCustomerLink

I give manager ID from manager test account and client ID as test customer account which I created.
The response for that is : CANNOT_HIDE_OR_UNHIDE_NON_ACTIVELY_LINKED_ACCOUNT


Is it any way to active that linked test account to my test manager account?

googleadsapi...@google.com

unread,
Mar 15, 2019, 2:47:26 PM3/15/19
to AdWords API and Google Ads API Forum
Hello Dev, 

Could you please share the API SOAP request and response logs for the API operation via Reply privately to author option? To enable logging you could refer to the logging section of the readMe file in the respective client library.

Thanks,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_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/

Kuba Dev

unread,
Mar 20, 2019, 8:00:13 AM3/20/19
to AdWords API and Google Ads API Forum
Hi thanks for reply,

I have realized that error occurs beacuse I am in testing mode.
And propably it is ok and impossible to gide/unhide test accounts

georg.un...@smarter-ecommerce.com

unread,
Mar 27, 2019, 5:35:05 AM3/27/19
to AdWords API and Google Ads API Forum
Hey there,

im getting the same error but in a slightly other situation:
I have a normal account (a), and a manager account (m).
Using the ManagedCustomerService (authenticated as m), I create a ManagedCustomerLink where clientCustomerId = a, managerCustomerId = m, linkStatus = Pending, Operator = Add, hidden = false

this is working, in the normal account i can see the invitation.

Now i want to cancel the invitation and if i understood the documentation correctly i need the following:
ManagedCustomerService (authenticated as m), i cancel the ManagedCustomerLink where clientCustomerId = a, managedCustomerId = m, linkStatus = Cancelled, Operator = Set, hidden = false

and in excatly this situation i get the CANNOT_HIDE_OR_UNHIDE_NON_ACTIVELY_LINKED_ACCOUNT

any ideas abouth this? Am i doing something wrong?

Greetings,
Georg Unterberger

georg.un...@smarter-ecommerce.com

unread,
Mar 27, 2019, 5:54:13 AM3/27/19
to AdWords API and Google Ads API Forum
Hey there again,

just found out that, if i dont set the hidden (therefore hidden -> null), everything works as expected, for me this is unintuitive, cause http://www.datypic.com/sc/xsd/t-xsd_boolean.html says that a boolean null has to be defined explicitly.

Greetings,
Georg Unterberger
Reply all
Reply to author
Forward
0 new messages