Using v2 of Google Ads API I cannot get any segments other than segments.date to return any data/not give me an error. Below is an example using segments.conversion_action_name I also want to pull data with segments.geo_target_most_specific_location and that does not seem to be working either. Am I not following this correctly?
def main(client, customer_id, page_size): ga_service = client.get_service('GoogleAdsService', version='v2') query = ('SELECT campaign.name, segments.date, segments.conversion_action_name, metrics.impressions, metrics.clicks, metrics.cost_micros, metrics.phone_calls, metrics.all_conversions FROM campaign WHERE segments.date BETWEEN \'2020-01-01\' AND \'2020-01-05\' ' 'ORDER BY campaign.name') results = ga_service.search(customer_id, query=query, page_size=page_size) -- CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please delete it from your system. Thank you. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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/a56dff13-7c6b-4423-9b13-c9b98e552953%40googlegroups.com.