Thanks.
Will try to do so.

Have a nice day.

On Tuesday, February 21, 2023 at 9:23:54 PM UTC+2 Google Ads API Forum 
Advisor wrote:

> Hi Vitalii, 
>
> Thanks for reaching out to the Google Ads API Forum. I hope you are doing 
> well today.
>
> Moving forward to your concern, in general when it comes to date 
> segmentation, I recommend to see the Google Ads API *Rules for segments 
> in the WHERE clause* 
> <https://developers.google.com/google-ads/api/docs/reporting/segmentation#rules_for_segments_in_the_where_clause>
>  and *Rules for core date segment fields* 
> <https://developers.google.com/google-ads/api/docs/reporting/segmentation#rules_for_core_date_segment_fields>
>  for 
> segments.date, segments.week, segments.month, segments.quarter, 
> segments.year.
>
> You may also see the Google Ads API *Date Ranges* 
> <https://developers.google.com/google-ads/api/docs/query/date-ranges>, 
> which lets you specify the date range in these ways: *Custom date range* 
> <https://developers.google.com/google-ads/api/docs/query/date-ranges#custom>
> , *Predefined date range* 
> <https://developers.google.com/google-ads/api/docs/query/date-ranges#date-range>
> , *Predefined time period* 
> <https://developers.google.com/google-ads/api/docs/query/date-ranges#time-period>
> .
>
> The above documentation and guidelines will help you to understand the 
> date segmentation and ranges that are supported in *Google Ads API* 
> <https://developers.google.com/google-ads/api/docs/first-call/overview>, 
> please use what best suits to your queries to avoid future errors.
>
> You may use “*Google Ads Query Validator* 
> <https://developers.google.com/google-ads/api/fields/v13/query_validator>” 
> to test if the entered query is valid.
>
> I hope it helps. Have a great day.
>
> Regards,
> [image: Google Logo] 
> Marjorie 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2jF1qI:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/39e1182b-51f8-4534-ac93-8dc81fd5c37en%40googlegroups.com.

Reply via email to