Hi,

If GMB and AdWords account has the same login, you could use the same user 
email address to make a API call. Otherwise, you need to generate access 
token for your GMB account and can use this access token to make a call by 
passing this access token, email address, and the busniess account 
identifier of your GMB account. You could refer code sample in java here 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201802/extensions/AddGoogleMyBusinessLocationExtensions.java#L82>.
 
Samples in other language can be found here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. For more 
information please refer this location extension guide 
<https://developers.google.com/adwords/api/docs/guides/feed-services-locations#google_my_business>.
 
Let me know if you have further questions.

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/46fc178c-eba7-4ba4-be70-3d7102958762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... wtemmerman
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... Zahid Pervaiz

Reply via email to