Hey! i have a problem with the segments.month and segments.week, i need to 
bring data of metrics, grouped by month and by weeks

Something like this

*clicks | month*
250    | October
313    | November 

when i do this query "SELECT metrics.clicks FROM campaign WHERE 
segments.date BETWEEN '2023-09-01' AND '2023-11-01'" i get 5 rows, but when 
i add segments.month to the select i dont get anything:

SELECT metrics.clicks, segments.month FROM campaign WHERE segments.date 
BETWEEN '2023-09-01' AND '2023-11-01'

 Same thing happened when i tried with segments.week.

Although i found a way to bring the data by month doing a loop bringing the 
data from first day of the month until last day of the month, but it is not 
efficient cause if i need ten months, for example, i will have to do ten 
requests 

If someone can help me would be great! Thanks in advance


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/68d1d5a3-a8d3-4c0a-b6af-01e4ba793a65n%40googlegroups.com.

Reply via email to