HELP, How can i get the merchantsIds form ads api

80 views
Skip to first unread message

lee

unread,
Jun 25, 2021, 4:42:45 AM6/25/21
to AdWords API and Google Ads API Forum
Now I have clientId and clientSecret and other tokens form oauth2
How can I get the merchants ids and other account informations
The language of my company is PHP

Google Ads API Forum Advisor

unread,
Jun 28, 2021, 6:01:38 AM6/28/21
to aichiten...@gmail.com, adwor...@googlegroups.com
Hi Lee,

Thank you for raising your concern.

Please note that you need to configure all the tokens that you've mentioned to your client library in order to use the suggestion that I am going to provide. You may check this guide for setting API environment.

For this part of your post "other account information", could you provide the specific information that you want to get? I asked this because there are different services and methods that can be used to get specific details.

Moving forward to merchants Ids, if you want to get the list of merchant center accounts linked to your Google Ads account, then you may use the MerchantCenterLinkService.ListMerchantCenterLinks.

Let me know if you have further questions.

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


ref:_00D1U1174p._5004Q2Iye4r:ref
Reply all
Reply to author
Forward
0 new messages