Link Merchant Center to Google Ads with v15 API

202 views
Skip to first unread message

Romain

unread,
Nov 9, 2023, 10:30:24 AM11/9/23
to Google Ads API and AdWords API Forum
Hello,

I'm migrating my app to use V15 api with the PHP sdk (21.1.0).

The merchant center link operation to an ads account has changed as described in the release note.

My problem is I don't see how I can fetch pending link requests for a given merchant center id (The invited_account field is always blank) so that I can accept it.

I tried to include invited_account in my GAQL request but it is a non selectable (and filterable) field so its returns me a query error.

The samples are still using V14 methods so it can't help me :(

Any ideas ?

Thanks for your help :)
Capture d’écran 2023-11-09 à 15.51.39.png
Capture d’écran 2023-11-09 à 15.52.45.png

Veyis Ahsak

unread,
Mar 12, 2024, 4:27:32 AM3/12/24
to rom...@orixamedia.com, Google Ads API and AdWords API Forum
Lütfen tekrar yazarmisin ulaşabilirsiniz de isterseniz bişey anlamadım çünkü özür dilerim 05396312735

9 Kas 2023 Per 18:30 tarihinde 'Romain' via Google Ads API and AdWords API Forum <adwor...@googlegroups.com> şunu yazdı:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ec95575a-a775-4508-9be4-6c509f93ff69n%40googlegroups.com.

Google Ads API Forum Advisor

unread,
Mar 12, 2024, 8:54:12 AM3/12/24
to veyisah...@gmail.com, rom...@orixamedia.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

After reviewing your concern, I understand that you would like to fetch the pending invitations to link a Google Ads customer ID to a Merchant Center account.

You can use the below query to retrieve a list of all pending invitations to link a Google Ads customer ID to a Merchant Center account.
  • Query: SELECT product_link_invitation.merchant_center.merchant_center_id, product_link_invitation.type FROM product_link_invitation WHERE product_link_invitation.status = 'PENDING_APPROVAL' AND product_link_invitation.type = 'MERCHANT_CENTER'
Also, I would recommend you to refer to this guide on Link your Merchant Center and Google Ads accounts for more information.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rzrzj:ref" (ADR-00226906)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages