Google Ads API: search_term_view missing criterion information

76 views
Skip to first unread message

tim....@smarter-ecommerce.com

unread,
Mar 8, 2019, 5:00:45 AM3/8/19
to AdWords API and Google Ads API Forum
Hello everybody,

I am looking for a way to extract the information which criterion was triggered for a search term in the new Google Ads API.

This is possible using the AdWords API querying the SEARCH_QUERY_PERFORMANCE_REPORT, which exposes the 

KeywordId and the KeywordTextMatchingQuery. (https://developers.google.com/adwords/api/docs/appendix/reports/search-query-performance-report#keywordid)


At the moment the search_term_view only exposes the corresponding ad_group, campaign and customer. (https://developers.google.com/google-ads/api/docs/fields/search_term_view#search_term_view)

  1. What are the plans exposing this information in the search_term_view? As I understand it Google Ads API should reach feature parity. 
  2. Did I miss an alternative way to do this?
Kind regards
tim

googleadsapi...@google.com

unread,
Mar 8, 2019, 1:48:31 PM3/8/19
to AdWords API and Google Ads API Forum
Hi Tim,

You can pull up the fields under GoogleAdsRow.getSearchTermView() to retrieve the search term and AdGroup details. For example, GoogleAdsRow.getSearchTermView().getSearchTerm().

Regards,
Dhanya, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

tim....@smarter-ecommerce.com

unread,
Mar 11, 2019, 6:31:40 AM3/11/19
to AdWords API and Google Ads API Forum
Hi Dhanya,

thats great, but I am specifically looking for the information which keyword/criteria was triggered by the user query. 
This information is not exposed according to the docs & the interactive GAQL builder, which I think uses the FieldService (https://developers.google.com/google-ads/api/docs/concepts/field-service) to gather the valid attributes and metrics for the specific resource.

I know I can get ad_group details from the view, but this information is not granular enough for our use-case, as there might be several keywords in one ad group.
Regards
tim

googleadsapi...@google.com

unread,
Mar 11, 2019, 1:29:51 PM3/11/19
to AdWords API and Google Ads API Forum
Hello Tim, 

I'm Dhanya's colleague addressing your concern on her behalf. The granular data which returns the specific Keyword Id for the search term is not yet supported. I have raised this as a feature request to the team. Please keep an eye on our blog for more updates.

Thanks,
Bharani, Google Ads API Team.

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

tim....@smarter-ecommerce.com

unread,
Mar 28, 2019, 7:52:56 AM3/28/19
to AdWords API and Google Ads API Forum
Hi,
to answer my own question, this is now possible with the newly released v1.1.0 (http://ads-developers.googleblog.com/2019/03/announcing-v11-of-google-ads-api.html)

Regards
tim
Reply all
Reply to author
Forward
0 new messages