Account Link

249 views
Skip to first unread message

Adrian Misak

unread,
Nov 9, 2020, 10:38:10 AM11/9/20
to AdWords API and Google Ads API Forum
Hi,

I'm trying to use Google Ads API to see if a given Google Ads account is linked with Google Analytics and Google Merchant Center.
I though that the resource "account_link" is an appropriate place to start, but I can't seem to get a response. I don't get an error back, just an empty response.
A specific query I tried is:
"SELECT
account_link.account_link_id, account_link.data_partner.data_partner_id, account_link.google_ads.customer, account_link.resource_name,
account_link.status, account_link.type
FROM account_link"

To sum it up:
Goal: to see if the Google Ads account in question is linked with Google Analytics, Google Merchant Center and other potential data sources.
Problem: I tried using the "account_link" property, but I keep getting empty responses.

Also, how to see (with an API) which campaigns are currently limited by their budget?
Any help with solving these two issues is greatly appreciated.

Thanks and have a nice day,
Adrian

Google Ads API Forum Advisor Prod

unread,
Nov 10, 2020, 12:04:45 AM11/10/20
to adr...@lebesgue.io, adwor...@googlegroups.com
Hi Adrian,

So I can investigate, could you share your customer ID and the complete request and response logs? You may send the requested details using the Reply privately to author option.

As for retrieving campaigns that are limited by budget, this is currently not available in the API. That said, allow me to file a feature request, subject for review. For any updates regarding this, you may follow our blog.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q278FHs:ref

Adrian Misak

unread,
Nov 10, 2020, 9:08:54 AM11/10/20
to AdWords API and Google Ads API Forum
Hi,

I don't have the option for sending the response directly to the author (I can' select it).

This is the request:
curl --request POST 'https://googleads.googleapis.com/v6/customers/9484648767/googleAds:searchStream' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--header 'developer-token: DEVELOPER_TOKEN' \
--header 'login-customer-id: LOGIN_CUSTOMER_ID' \
--data-raw '{
"query": "SELECT

account_link.account_link_id, account_link.data_partner.data_partner_id, account_link.google_ads.customer, account_link.resource_name,
account_link.status, account_link.type
from account_link"
}'

This is the response:
[]

Thanks,
Adrian

Google Ads API Forum Advisor Prod

unread,
Nov 11, 2020, 2:11:16 AM11/11/20
to adr...@lebesgue.io, adwor...@googlegroups.com
Hi Adrian,

You can provide the requested details on the email address below so that our team can accurately investigate the issue.
Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q278FHs:ref

Google Ads API Forum Advisor Prod

unread,
Nov 11, 2020, 10:53:47 PM11/11/20
to adr...@lebesgue.io, adwor...@googlegroups.com
Hi Adrian,

This is to confirm that we have received the details privately. We can now continue our discussion here.

Allow me first to reach out to the rest of our team so we can investigate the empty response you are receiving. We'll reach back to you once we have gathered our findings.

Adrian Misak

unread,
Nov 16, 2020, 8:00:57 AM11/16/20
to AdWords API and Google Ads API Forum
Hi,

I'm just following up on this message. When you find the time, I would appreciate the feedback on this.

Thanks and have a nice day,
Adrian

Google Ads API Forum Advisor Prod

unread,
Nov 16, 2020, 1:07:01 PM11/16/20
to adr...@lebesgue.io, adwor...@googlegroups.com
Hi Adrian,

Thanks for following up. I can see in you account that you have a number of linked accounts, so it does seem strange that no results are returned via the API. 

I've looped in the engineering team that focuses on linked accounts and will see if they can offer any insights. I'll follow up here as soon as I have more information.

Best,
Ben, Google Ads API Team

ref:_00D1U1174p._5004Q278FHs:ref

Adrian Misak

unread,
Nov 16, 2020, 3:57:18 PM11/16/20
to AdWords API and Google Ads API Forum
Thank you, I really appreciate it.

Adrian Misak

unread,
Nov 24, 2020, 3:13:58 AM11/24/20
to AdWords API and Google Ads API Forum
Hi,

Just following up on this problem.
Looking forward to your response.

Thanks and have a nice day,
Adrian

Google Ads API Forum Advisor Prod

unread,
Nov 24, 2020, 9:31:39 AM11/24/20
to adr...@lebesgue.io, adwor...@googlegroups.com
Hi Adrian,

Apologies for the delay - unfortunately we're still waiting on an investigation by the engineering team. I'm hoping for more information soon, but since this is a Holiday week in the U.S. it may take a little longer than normal.

I'll let you know as soon as I have more information.

Adrian Misak

unread,
Jan 20, 2021, 11:24:30 AM1/20/21
to AdWords API and Google Ads API Forum
Hi,

Any updates on this?

Thanks,
Adrian

Google Ads API Forum Advisor Prod

unread,
Jan 22, 2021, 10:13:53 AM1/22/21
to adr...@lebesgue.io, adwor...@googlegroups.com
Hi Adrian,

Thanks for following up - unfortunately I'm still working to get more information here. I'll follow up as soon as I can.

Caner Aksoy

unread,
Apr 4, 2021, 12:19:26 PM4/4/21
to AdWords API and Google Ads API Forum
Hi,

I am having exactly the same problem. Any updates yet?

Thanks,

Google Ads API Forum Advisor Prod

unread,
Apr 4, 2021, 10:39:12 PM4/4/21
to a.cane...@gmail.com, adwor...@googlegroups.com

Hello Adrian and Caner,

We apologize for this delay.
As of v6, reporting for account_link doesn't support Google Merchant Center and Google Analytics yet.
You can see the supported account link type here.

Best,
Thanet, Google Ads API Team



ref:_00D1U1174p._5004Q278FHs:ref

lezhne...@gmail.com

unread,
May 26, 2022, 2:48:21 AM5/26/22
to Google Ads API and AdWords API Forum
Hello! I found this conversation as I am working on shopping campaigns. 
Is it possible to link an existing merchant account to google ads account over API (as of now)?

Google Ads API Forum Advisor

unread,
May 26, 2022, 9:31:15 PM5/26/22
to lezhne...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for your question.

You can refer to this guide for more information on the linking process of your Merchant Center account and Google Ads account. The invitation must be sent from Merchant Center and / or the Content API, and you can then update the invitation using the Google Ads API's MerchantCenterLinkService.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


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