Ads API Not Returning All Recommendations

125 views
Skip to first unread message

sealytic...@gmail.com

unread,
Apr 6, 2023, 7:38:57 AM4/6/23
to Google Ads API and AdWords API Forum
Hello,

I am currently using the Google Ads API for the purpose of dismissing recommendations. In order to achieve this, I am making use of a query that retrieves all recommendations without any filters, as follows:

"SELECT recommendation.resource_name FROM recommendation"

Once I have fetched these recommendations, I proceed to send a dismiss request, which has been successfully completed. However, upon visiting the recommendation page of the related accounts, I have noticed that there are still some recommendations.

I have double checked this issue via the API, and can confirm that all the recommendations returned by the query have indeed been dismissed. Despite this, the Ads UI continues to display some recommendations that is not returned from the API.

Could you help with that please?

Google Ads API Forum Advisor

unread,
Apr 10, 2023, 6:26:40 AM4/10/23
to sealytic...@gmail.com, adwor...@googlegroups.com

Hello,

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

For us to have a clear illustration and understanding on the issue, kindly provide to us the complete request and response logs with request ID and request header generated on your end along with the uncropped screenshots of the data you want to retrieve in UI.

Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check in client library logging and click your client library for the specific guideline to enable it.

For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.

Links to the highlighted words above:


You may send this privately via "Reply to Author" option. If that option is not available to you, you may directly send it to this alias googleadsa...@google.com.

Regards,

Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2kSan6:ref

sealytic...@gmail.com

unread,
Apr 11, 2023, 5:57:59 AM4/11/23
to Google Ads API and AdWords API Forum
Hello,

I sent logs and screenshot privately.

I added the request to fetch all recommendations. I dismissed all of them. Then I checked on Ads UI and there are still recommendations there.

Google Ads API Forum Advisor

unread,
Apr 11, 2023, 5:10:27 PM4/11/23
to sealytic...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for getting back with us.

With regards to your concern, please note the API doesn’t support all the recommendations in UI, which means that there are some recommendations that cannot be dismissed using Google Ads API

You may refer to the Optimization score and recommendations documentation for more information about recommendations. Based on this document, you will see the Recommendations types that are fully supported and / or supported by the Google Ads API. You may also see in this documentation on how to handle unsupported types

Let me know if this clarifies your concern.

Links included in this email:

Reply all
Reply to author
Forward
0 new messages