Get merchant ids related to adwords account giving different merchant id

27 views
Skip to first unread message

Jessica Montar

unread,
Aug 22, 2019, 3:24:10 AM8/22/19
to AdWords API and Google Ads API Forum
Hi, I'm trying to build a Dynamic Remarketing Campaing via API and I need the merchant_id to get the product listing.
I already have access to the customer adwords account, so I'm trying to get the data without asking again for permissions.
but the serviceLinkId is not the one that appears in my merchant center.
This is the code that I'm using:

customer_service = client.GetService('CustomerService', version='v201809')
selector = {
  'fields': ['ServiceType'],
  'predicates': [
      {
          'field': 'ServiceType',
          'operator': 'EQUALS',
          'values': ['MERCHANT_CENTER']
      }
  ]
}
mcc = customer_service.getServiceLinks(selector)

Have there been any changes to the api?

Thanks!

Google Ads API Forum Advisor Prod

unread,
Aug 22, 2019, 3:50:32 AM8/22/19
to adwor...@googlegroups.com
Hi Jessica,

There had been no recent changes announced that is related to the issue you are encountering. To better investigate, could you send to me in private, the generated SOAP request and response logs via the Reply privately to author option?

Thanks and regards,
Peter
Google Ads API Team

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