Hi,

thank for you for clarifying.

I tried using the suggested SearchSettings <https://developers.google.com/google-ads/api/reference/rpc/v21/SearchSettings> object, but I'm not getting any result from the SearchAsync <https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/Search>() method.

I'm using the Google Ads .NET client library. Should I file a bug report there?

Your answer is appreciated.


Am 01.09.2025 um 20:44 schrieb Google Ads API Forum Advisor:
Hi,

The SearchSettings <https://developers.google.com/google-ads/api/reference/rpc/v21/SearchSettings> is not available in a GAQL query. This setting is instead available within the 'Search <https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/Search?transport=rest&apix=true>' method. For example:
POSThttps://googleads.googleapis.com/v21/customers/xxxxxxxxxx/googleAds:*search*?key=[YOUR_API_KEY]
 HTTP/1.1

developer-token: **********************
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json

{
   "query": "SELECT ad_group.id, geographic_view.country_criterion_id, 
geographic_view.location_type, campaign.id, ad_group.id, segments.device, segments.ad_network_type, 
metrics.clicks, metrics.cost_micros, metrics.impressions, campaign.advertising_channel_type FROM 
geographic_view",
*"searchSettings": { *   "returnTotalResultsCount": true
   }
}
It's also important to note that it's not possible to applySearchSettings <https://developers.google.com/google-ads/api/reference/rpc/v21/SearchSettings> in the SearchStream <https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/SearchStream?transport=grpc&apix=true> method, as this method will have SummaryRowSetting <https://developers.google.com/google-ads/api/reference/rpc/v21/SummaryRowSettingEnum.SummaryRowSetting> with different enum values compared to the Search <https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/Search?transport=rest&apix=true> method.

I hope this clarifies. Feel free to get back to us if you have any further questions.

Thanks,
Google Logo     Google Ads API Team


Feedback
How was our support today?

rating1 <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001u5Uw5IAE> rating2 <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001u5Uw5IAE> rating3 <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001u5Uw5IAE> rating4 <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001u5Uw5IAE> rating5 <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001u5Uw5IAE> [2025-09-01 18:44:24Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u5Uw5:ref" (ADR-00331366)




--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/ff36a8e3-b8dc-4dc4-a008-f061f1cd0f31%40axeldahmen.de.
  • GA... MS
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... MS
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Axel Dahmen
          • ... Axel Dahmen
            • ... Axel Dahmen
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Axel Dahmen

Reply via email to