Hi Team

I'm trying to get the data based on  the date range. The following query is 
working fine if I'm specifying the predefined date ranges like LAST_MONTH, 
LAST_7_DAYS. But, giving an error while trying to give the custom date 
ranges for "segments.date" . Could you pls let me know what is causing the 
issue and if you can provide the working query for the below example with 
custom date range will really help. TIA!


curl -f --request POST 
"https://googleads.googleapis.com/v11/customers/3659251597/googleAds:searchStream";
 
--header "login-customer-id:4382929747" --header "Content-Type: 
application/json" --header 'developer-token: ${dev_token}' --header 
'Authorization: Bearer '${access_token}'' --data '{ "query": "select 
metrics.clicks, segments.device, segments.day_of_week, 
segments.month_of_year FROM campaign WHERE metrics.clicks > 0 AND 
segments.date DURING LAST_MONTH LIMIT 10" }'

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7763f292-051a-4c16-98b7-577da3f78eb0n%40googlegroups.com.

Reply via email to