Hi,

I want to get data for a certain month only, but I seem to be stuck in 
getting it to work right. I'm grabbing data from the search_term_view 
table. Here's my query below. Any idea would be appreciated!

SELECT search_term_view.search_term, segments.search_term_match_type, 
customer.currency_code, metrics.clicks, metrics.ctr, metrics.average_cpc, 
metrics.average_cost, metrics.absolute_top_impression_percentage, 
metrics.top_impression_percentage, metrics.conversions, 
metrics.view_through_conversions, metrics.cost_per_conversion, 
metrics.all_conversions_from_interactions_rate 

FROM search_term_view
WHERE segments.month = '2023-05-01'

With this query, I'm getting this error* "Dates used in filtering 
conditions on 'segments.month' must occur on the first day of a month"*

I tried  WHERE segments.month DURING LAST_MONTH, but I also get an error 
with that too

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4eeec51c-31be-43c1-b61c-8034e36f6050n%40googlegroups.com.

Reply via email to