How to link AdWords to a specific GMB Business account

282 views
Skip to first unread message

Kevin

unread,
Mar 14, 2017, 4:48:39 PM3/14/17
to AdWords API Forum
Hi,

A Google My Business account can have multiple "Business" accounts. Is it possible to configure AdWords to only sync location extensions from a specific "Business" account in a GMB?

We are concerning that if a GMB account is used to manage location extensions for multiple merchants, a merchant can change his or her own filters on AdWords that can effectively sync locations that belong to other merchants.

Thanks!

Ivan Bautista

unread,
Mar 15, 2017, 4:54:33 AM3/15/17
to AdWords API Forum
Hi Kevin,

If you want to specify a particular GMB account you want to sync location extensions from, you can try to specify the GMB Account ID in the businessAccountIdentifier attribute when configuring the PlacesLocationFeedData. Here is a sample implementation (available in other languages) for your reference.

As for your other concern, do note that setting and updating merchant information via AdWords API is not possible.

Let me know if I misunderstood your question.

Regards,
Ivan 
AdWords API Team

Kevin

unread,
Mar 15, 2017, 9:28:30 AM3/15/17
to AdWords API Forum
Hi Ivan,

Where can I find the GMB Account ID? Is it the name field of the account object in GMB API (https://developers.google.com/my-business/reference/rest/v3/accounts#Account)?

Thanks!

Ivan Bautista

unread,
Mar 15, 2017, 10:58:05 PM3/15/17
to AdWords API Forum
Hi Kevin, 

As per documentation, you can get the account ID from the account_id portion of the name of the Account. However, we only handle the AdWords API part of the integration so it would be best to confirm with the Google My Business API team as they are more equipped to answer that query.

Kevin

unread,
Mar 22, 2017, 11:17:55 AM3/22/17
to AdWords API Forum
Hi Ivan,

We received the error below when specifying the businessAccountIdentifier.

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      <requestId>00054b5323cb9aa10a620d0e3d0b515c</requestId>
      <serviceName>FeedService</serviceName>
      <methodName>mutate</methodName>
      <operations>1</operations>
      <responseTime>510</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201609">
          <message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</message>
          <ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xsi:type="InternalApiError" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <fieldPath/>
            <trigger/>
            <errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorString>
            <ApiError.Type>InternalApiError</ApiError.Type>
            <reason>UNEXPECTED_INTERNAL_API_ERROR</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Please let us know if you need the SOAP request. We don't want to include it here because it contains sensitive information.

Thanks!

Ivan Bautista

unread,
Mar 23, 2017, 3:34:43 AM3/23/17
to AdWords API Forum
Hi Kevin,

Yes, you may reply to us privately (using reply privately to author option) with your SOAP request logs so we can further investigate. Also, were you able to confirm and verify with the Google My Business API team the account id you used?

pinkesh...@gmail.com

unread,
Aug 1, 2018, 6:22:12 AM8/1/18
to AdWords API and Google Ads API Forum
hi Kevin,

how can i link GMB account with google ads account. is there any API available for this please let me know.


Thanks
Pinkesh

Dhanya Sundararaju (AdWords API Team)

unread,
Aug 1, 2018, 3:50:26 PM8/1/18
to AdWords API and Google Ads API Forum
Hi Pinkesh,

You will be able to link GMB account with Google Ads account by creating the required feed objects. Please refer this section of guide for the steps. If you have any further questions, could you please open a new thread for better tracking purposes?

Regards,
Dhanya, AdWords API Team
Reply all
Reply to author
Forward
0 new messages