Inquiry Regarding Missing 'results' Field in API Response for searchSearch

234 views
Skip to first unread message

Van Hiep Ta

unread,
Apr 28, 2025, 12:01:34 AM4/28/25
to Google Ads API and AdWords API Forum

Hi team,

I am reaching out regarding an issue we encountered when integrating with the Google API services, specifically with the searchSearch and get customizer attribute endpoints.

When we send a request, we encounter the following error:

JsResultException(errors: List((, List(JsonValidationError(List('results' is undefined on object. Available keys are 'fieldMask', 'requestId', 'queryResourceConsumption'), List())))))

You can check "requestId":"mKe3nLQD7u3ShYhri5-JQg"

Based on our investigation, it appears that the API response is missing the results field, which is causing the deserialization to fail.

Could you please confirm:

  • Under what circumstances might the results field be omitted from the response?

  • Is there an updated API specification or behavior we should be aware of?

  • How should we handle such cases properly on the client side?

We would greatly appreciate your guidance or any suggestions for resolving this issue.
Please let me know if you need more information about our request payload or system setup.

Thank you very much for your support!

Google Ads API Forum Advisor

unread,
Apr 28, 2025, 5:54:03 AM4/28/25
to hie...@flinters.vn, adwor...@googlegroups.com
Hi,

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

I understand that you are getting empty results when you try a query using the customizer_attribute resource. This would mean that you do not have data in that resource. I have checked if the data is present in your Google Ads UI account, but found that there is no data there as well and this is the reason you are getting empty results. I have attached the Google Ads UI screenshots for your reference. I hope this resolves your issue.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-28 09:53:16Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qV8Pl:ref" (ADR-00302495)



Screenshot 2025-04-28 2.57.49 PM.png

Alex Lee

unread,
Apr 28, 2025, 12:35:28 PM4/28/25
to Google Ads API and AdWords API Forum
Is this a recent change in the response shape when there is no data? We have a recurring job that just recently started failing over the weekend because of a type error. It asserted that there would be a results key in the response data, but the response no longer always has results key present. 

David Pinkowitz

unread,
Apr 28, 2025, 4:03:07 PM4/28/25
to Google Ads API and AdWords API Forum
I experienced the same change.

In REST calls I made using googleAds:searchStream that returned no results. For these queries, up until Fri, 25 Apr 2025 15:26:47 GMT it returned a JSON response of an empty array "[]". Starting at Fri, 25 Apr 2025 15:41:14 GMT, the response changed. Instead I received a JSON response with the fieldMask, requestId and queryResourceConsumption keys, but no results key. Was this an expected change and if so, where is this documented? I experienced it on v18 so it was not merely changed on the newer API versions of 19 or 19.1.

Because the change was unexpected, it broke some code that anticipated the earlier format of the response.

Google Ads API Forum Advisor

unread,
Apr 28, 2025, 5:53:40 PM4/28/25
to al...@roirevolution.com, adwor...@googlegroups.com
Hi,

I have raised your concern with the rest of our team and one of my teammates will reach out to you once we have an update. Meanwhile, your patience is appreciated. 
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-04-28 21:52:52Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qV8Pl:ref" (ADR-00302495)



Reply all
Reply to author
Forward
0 new messages