Is there any REST api for Link manager and client?

104 views
Skip to first unread message

Dipak Tewary

unread,
Jul 29, 2021, 9:00:27 AM7/29/21
to AdWords API and Google Ads API Forum
Is there any REST api for Link manager and client?
I need help from you to find correct api docs which can help me to create an api to connect manager and client using rest api. I am using following documentation:

Google Ads API Forum Advisor

unread,
Jul 29, 2021, 1:36:29 PM7/29/21
to developer....@gmail.com, adwor...@googlegroups.com
Hi Dipak,

Please go through the following link and let us know if you have any further questions:

https://developers.google.com/google-ads/api/rest/reference/rest/v8/customers.customerManagerLinks

Thanks,

Google Logo
Lakshmi Prathipati
Google Ads API Team
 


ref:_00D1U1174p._5004Q2JF0UK:ref

Dipak Tewary

unread,
Jul 30, 2021, 3:17:56 AM7/30/21
to AdWords API and Google Ads API Forum
Can you please help me with example code on that?

Google Ads API Forum Advisor

unread,
Jul 30, 2021, 6:12:12 AM7/30/21
to developer....@gmail.com, adwor...@googlegroups.com
Hi Dipak,

Thank you for the reply. I work with Lakshmi and let me continue the discussion for this concern.

I am afraid that our team doesn't have a sample code of REST API for linking accounts. However, I would suggest following this guide to know how to construct REST API such as authentication, setting of request headers and creating body of the API request.

Let me know if you have further questions. 

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


ref:_00D1U1174p._5004Q2JF0UK:ref

Dipak Tewary

unread,
Aug 3, 2021, 6:11:08 AM8/3/21
to AdWords API and Google Ads API Forum
getting following error while using  Method: customers.customerManagerLinks.moveManagerLink

{ "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "fieldError": "REQUIRED" }, "message": "The required field was not present.", "location": { "fieldPathElements": [ { "fieldName": "previous_customer_manager_link" } ] } } ], "requestId": "LmfGBLJsigB7DiGqPw6Vaw" } ] } }

Google Ads API Forum Advisor

unread,
Aug 3, 2021, 1:57:49 PM8/3/21
to developer....@gmail.com, adwor...@googlegroups.com
Hi Dipak,

Thank you for reaching back out to us with your issue. In reading over the response that you showed us, it would look like one of the values in the query that you sent either is wrong or not included. If you can also share with us the request that is made or any other information that was used to get that response. We can look at it more and see what could have happened.

Regards,

Google Logo
William Pescherine
Google Ads API Team
 


ref:_00D1U1174p._5004Q2JF0UK:ref

Dipak Tewary

unread,
Aug 4, 2021, 1:12:23 AM8/4/21
to AdWords API and Google Ads API Forum
my request:
{
  "previousCustomerManagerLink": "",
  "newManager": "9438064993",
  "validateOnly": true
}
can you please help me to find previousCustomerManagerLink?

Google Ads API Forum Advisor

unread,
Aug 4, 2021, 10:16:20 AM8/4/21
to developer....@gmail.com, adwor...@googlegroups.com
Hi Dipak,

Thank you for the response. I was able to find this section of our documents that talks about this here . It also shows you have you can find the manager link to include in the request.
Reply all
Reply to author
Forward
0 new messages