LinkManagerToClient API manager_link_error : The manager and client have incompatible account types.

508 views
Skip to first unread message

Amol Kawale

unread,
Aug 2, 2021, 1:32:13 AM8/2/21
to AdWords API and Google Ads API Forum
Hello,

While calling LinkManagerToClient API every time am getting following error:
Google Ads failure details:
manager_link_error : The manager and client have incompatible account types.


1. I tried to link another user account to the my test manager account 
2. I tried to link another test manger as well...

But every time am getting above error message - manager & client incompatible account types...

Pls help to resolve issue.

Thanks,
Amol

Google Ads API Forum Advisor

unread,
Aug 2, 2021, 4:31:40 AM8/2/21
to a.ka...@sweply.com, adwor...@googlegroups.com
Hi Amol,

Thank you for posting your concern.

To investigate the issue, could you provide the complete request and response logs with request ID generated on your end where we can see the error? You can provide it via Reply privately to author option.

If you haven't enabled the logging of the API transactions for the specific client library that you are using, then please refer to the specific guide below:
Java - https://developers.google.com/google-ads/api/docs/client-libs/java/logging
.Net - https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging
PHP - https://developers.google.com/google-ads/api/docs/client-libs/php/logging
Python - https://developers.google.com/google-ads/api/docs/client-libs/python/logging
Ruby - https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging
Perl - https://developers.google.com/google-ads/api/docs/client-libs/perl/logging

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2LUITh:ref

Amol Kawale

unread,
Aug 5, 2021, 8:22:52 AM8/5/21
to AdWords API and Google Ads API Forum
Any updates pls? I already sent request & response log to Author as well as mentioned in last reply...

Amol Kawale

unread,
Aug 6, 2021, 12:20:15 AM8/6/21
to AdWords API and Google Ads API Forum
Hi

I have replied privately as you mentioned in last reply. Can you please confirm that you got my reply. Your reply is highly appreciated...

Amol Kawale

unread,
Aug 7, 2021, 1:34:31 AM8/7/21
to AdWords API and Google Ads API Forum
Any updates pls?

Google Ads API Forum Advisor

unread,
Aug 9, 2021, 3:28:15 PM8/9/21
to a.ka...@sweply.com, adwor...@googlegroups.com
Hi Arnol,

Thanks for your patience. The issue is that you are trying to link a production account with a test account. You can only link test accounts with other test accounts, and other production accounts with other production accounts. 

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2LUITh:ref

Amol Kawale

unread,
Aug 21, 2021, 8:53:41 AM8/21/21
to AdWords API and Google Ads API Forum
Matt,

I'm linking test accounts only but still getting same error...

Google Ads API Forum Advisor

unread,
Aug 27, 2021, 2:27:10 AM8/27/21
to a.ka...@sweply.com, adwor...@googlegroups.com

Hello Amol,

Thanks for getting back to us.

As previously mentioned by Ernie, you encountered the said error because you're linking 2 manager accounts using the CustomerClientLinkService. Please note that this service is used to create a link between client account and manager account.

In addition to that, you're linking a Test MCC account (8073840941) and a production MCC account (7048313856), which has Matt explained earlier that is also not possible. You can only link accounts that are :

  • client account to manager account
  • test account to test account ; production account to production account

Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 


ref:_00D1U1174p._5004Q2LUITh:ref

Levi S

unread,
Feb 8, 2023, 10:30:13 AM2/8/23
to Google Ads API and AdWords API Forum
if i cant link my test account to my manager account then how can i query google ads from my production manager account to my test account. 
(From my understanding, test manger accounts cant get a developer token only production manager accounts)

Google Ads API Forum Advisor

unread,
Feb 8, 2023, 4:11:51 PM2/8/23
to levi...@gmail.com, adwor...@googlegroups.com
Hi Levi,

Thank you for reaching out to the Google Ads API support team.

Regarding your concern, please note that you need to use the developer token of your production manager account when making requests against the test manager account. Even if it's not approved yet, the token will still work on test accounts, including the ones just created. I would suggest checking this test account guide as it will help you about the details of test accounts. Also, this reporting guide for more information about reporting.

Let us know if you have further questions.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2LUITh:ref

Levi S

unread,
Feb 8, 2023, 4:40:15 PM2/8/23
to Google Ads API and AdWords API Forum
To make sure i understand you correctly, Are you saying if i know of someones test account, and im not connected to it at all, i can still use my production manager account developer token and query that test account and get the test data that is in there?

Concerning what im doing, i have a developer token (from my production account) and i currently use it everyday to query my live production google ads account. And that works all well. Recently i wanted to test some write api queries. I created a test account (not related to my production account at all).  According to what you said, I should just swap my customerId key that i use for my production with my test account id? When i do that, and try to hit  the GoogleAdsServiceClient.SearchStream endpoint, i get the following error
Exception thrown: 'Google.Ads.GoogleAds.V12.Errors.GoogleAdsException' in Google.Ads.GoogleAds.dll: 'Status(StatusCode="PermissionDenied", Detail="The caller does not have permission")'

Google Ads API Forum Advisor

unread,
Feb 9, 2023, 2:02:57 PM2/9/23
to levi...@gmail.com, adwor...@googlegroups.com
Hi Levi,

Thank you for getting back to us.

Regarding your concern, kindly note that the permission denied error doesn't have to do with developer tokens. It is about the user not having access. Having said that, kindly note that the user/email address from your Test manager account needs to have access to the Production account. As for "According to what you said, I should just swap my customerId key that i use for my production with my test account id?", yes. Note that the only data you will need to use from your production account is the developer token. The client customer ID you will need to specify in your API requests should come from your test account.

I hope this clarifies. Let us know if you have further questions.
Reply all
Reply to author
Forward
0 new messages