Hi Team,
Our code needs to get both product_link.data_partner.data_partner_id and product_link.merchant_center.merchant_center_id on product_link table but encountering and error that needs to just select one of them after upgrading it from v15 to 17.
any recommendations on the sql how to fetch those data? here is our sample sql. Thanks
Hi,
Thank you for reaching out to the Google Ads API support team.
Kindly note that as per the product link document, you can either use data_partner or merchant_center as a linked_product at a time in V 17 and it is not possible to use them together. Because of which you are getting the error message as "The following pairs of fields may not be selected together: product_link.data_partner.data_partner_id, product_link.merchant_center.merchant_center_id".
I hope this clarifies your issue. If you have any more concerns related to Google Ads API, please feel free to reach out to us.
![]() |
Google Ads API Team |