AdWords search queries are available in the Google Analytics API under 
ga:keyword
https://developers.google.com/analytics/devguides/reporting/core/dimsmets#view=detail&group=traffic_sources&jump=ga_keyword

You also may want to use the adMatchedQuery 
https://developers.google.com/analytics/devguides/reporting/core/dimsmets#view=detail&group=adwords&jump=ga_admatchedquery

For only AdWords keywords, you will want to limit the keywords (so they 
don't include SEO and other paid search like Bing, by filtering for 
source==google and medium==cpc

The query in googleAnalyticsR will look something like:

google_analytics(viewId, date_range = c("2017-01-01", "today"), dimensions = 
c("keyword"), metrics = "adClicks", dim_filters = filter_clause_ga4(list(
dim_filter("source","EXACT","google"), dim_filter("medium","EXACT","cpc")), 
operator = "AND")) 

HTH,
Mark

HTH,
Mark

On Tuesday, 18 July 2017 21:02:43 UTC+2, Peter Trachsel wrote:
>
>
> Hello
>
> I am trying to read the AdWords Search Queries with R either with the 
> RAdwords or googleAnalyticsR package. When i do lookup available metrics at 
> https://developers.google.com/analytics/devguides/reporting/core/dimsmets 
> i cannot find search queries as a metric. (What i can read are the keywords 
> which come from the organic search (traffic sources).)
>
> Is there any possibility to read the search queries from AdWords or is 
> this metric not available? 
>
> If this topic has already been processed/closed please paste the link. I 
> have not found an exact answer to this question.
>
> Thank you very much and kind regards
>
> Peter
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/97f4ec98-4757-4416-bae7-f4698e076597%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to