Hello, We currently have an API that runs in the morning. It has recently randomly started failing in the mornings. The ad dimension endpoint seems to be the point that it stalls (it doesn't raise an error, the process just freezes and doesn't progress).
Troubleshooting it is difficult because it doesn't fail every day, and when it does it is only in the mornings. 06:00 UTC - Fails, 08:45 UTC (Auto-Retry) - Fails, 12:00 UTC succeeds. Example Query and Code (Python): SELECT customer.id, customer.descriptive_name, campaign.id, campaign.name, ad_group.id, ad_group.name, ad_group_ad.ad.name, ad_group_ad.ad.id, ad_group_ad.ad.type, ad_group_ad.status, campaign.start_date, campaign.end_date, ad_group_ad.ad.expanded_text_ad.description, ad_group_ad.ad.text_ad.description1, ad_group_ad.ad.text_ad.description2, ad_group_ad.ad.text_ad.headline, ad_group_ad.ad.expanded_text_ad.headline_part1, ad_group_ad.ad.expanded_text_ad.headline_part2, ad_group_ad.ad.expanded_text_ad.headline_part3, ad_group_ad.ad.image_ad.name, ad_group_ad.ad.expanded_text_ad.path1, ad_group_ad.ad.expanded_text_ad.path2, ad_group_ad.ad.final_urls, ad_group_ad.ad.image_ad.image_url FROM ad_group_ad file_path = os.path.join(self.download_path, f"{customer_id} _ad_dimensions.csv") if os.path.isfile(file_path): os.remove(file_path) try: response = self.ga_service.search( customer_id=str(customer_id), query=query ) except google.ads.googleads.errors.GoogleAdsException: response = None pass if response: with open(file_path, 'a+') as f_object: dictwriter_object = DictWriter(f_object, fieldnames=field_names) dictwriter_object.writeheader() for item in response: ad = dict() ad['resource_name'] = item.ad_group_ad.ad.resource_name ad['id'] = item.ad_group_ad.ad.id -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/18951540-e633-4cf2-af93-f83267cc2c9en%40googlegroups.com.