RE: Python API - segments.date is not working correctly

2021-05-07 Thread Google Ads API Forum Advisor Prod
Hi Roman, Please refer to Mat's response regarding the use of segments with metrics. Also, please note that report will not return a historical snapshot of an attribute. For example, you can not filter by a specific date and return only campaigns that existed on that date -- all currently exist

Re: Python API - segments.date is not working correctly

2021-05-07 Thread Mat
Hi there, you should add at least one metric like metrics.impressions to your query. Else, there is nothing to be segmented by date since segments.date refers to the "Date to which *metrics* apply " and not to some

Python API - segments.date is not working correctly

2021-05-06 Thread Roman Akhtariev
Hi, I cannot get a report for the correct dates. I am using the followign query: SELECT campaign.name, customer.id, ad_group.id, ad_group.name, ad_group.labels, segments.date FROM ad_group WHERE segments.date = '2021-05-04' AND ad_group.status = ENABLED AND ad_group.name = 'roman test'""" There