Over the last 4 days we have been seeing this exception when streaming 
Responsive Search Ads from the Google Ads API using the python library:

2022-07-04T06:51:20.954+01:00
Traceback (most recent call last):
2022-07-04T06:51:20.954+01:00
File "/usr/local/lib/python3.8/site-packages/grpc/_server.py", line 461, in 
_take_response_from_response_iterator
2022-07-04T06:51:20.954+01:00
return next(response_iterator), True
2022-07-04T06:51:20.954+01:00
File "/app/service/service.py", line 604, in GetResponsiveSearchAds
2022-07-04T06:51:20.954+01:00
for ad in self.GetAdwordsRSA(request):
2022-07-04T06:51:20.954+01:00
File "/app/service/service.py", line 654, in GetAdwordsRSA
2022-07-04T06:51:20.954+01:00
for row in generator:
2022-07-04T06:51:20.954+01:00
File "/app/adwords/reports.py", line 104, in stream_report_data
2022-07-04T06:51:20.954+01:00
for batch in stream:
2022-07-04T06:51:20.954+01:00
File 
"/usr/local/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", 
line 93, in __next__
2022-07-04T06:51:20.954+01:00
raise exceptions.from_grpc_error(exc) from exc
2022-07-04T06:51:20.954+01:00
google.api_core.exceptions.Unknown: None Stream removed

The request ID was "uFsfXv0OjRqg2B8ma0rzGg"

This is an example query:
query: "SELECT 
campaign.name,ad_group.name,ad_group_ad.ad.responsive_search_ad.headlines,ad_group_ad.ad.responsive_search_ad.descriptions,ad_group_ad.ad.responsive_search_ad.path1,ad_group_ad.ad.responsive_search_ad.path2,ad_group_ad.ad.final_urls,ad_group_ad.labels,ad_group_ad.ad.id,ad_group_ad.status
 
FROM ad_group_ad WHERE ad_group_ad.ad.type = \'RESPONSIVE_SEARCH_AD\' AND 
ad_group_ad.status IN (\'ENABLED\', \'PAUSED\') AND ad_group.status != 
\'REMOVED\' AND ad_group_ad.ad.system_managed_resource_source != 
\'AD_VARIATIONS\' AND campaign.id IN 
(909310504,938819651,938819654,938819657,938819660,1409202860,1409202863,1409202866,1409202869,1446309069,1650512859,6484816965,6484897424,6484965589,6484965592,6510996159,6510996162,6510996165,6510996168,6510996171,6511086910,6511086913,6511086916,6511086919,6511086922,6511086925,6511086928,6511086931,6511086934,6511086937,6511086940,6511218375,6511218378,6511218381,6511218384,6511218387,6511218390,6511218393,6511218396,6511218399,6511218402,6511218405,6511218885,6511218888,6511218891,6511218894,6511218897,6511218900,6511219578,6511219581,6511219584,6511219587,6511219590,6511219623,6511219626,6511219629,6511219632,6511219635,6511219638,6767253058,6767253061,6767253064,6767253067,6767253070,6767253073,6767253076,6767253079,6767253082,6767253085,6767253088,6767253259,6767253262,6767253265,6767253268,6767253271,9725674020,9725674023,9725674026,9725674029,12297942867,12298126684,12298131250,12298135177,12349394320,13959390682,13959425503,14307696953,14330278995,14333601074,14805434528,14805434531,16072015620,16077624235)
 
AND segments.date >= 20220604 AND segments.date <= 20220704 PARAMETERS 
omit_unselected_resource_names = true"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2355bb67-3ca2-42d8-8901-22652781197dn%40googlegroups.com.
  • St... Justin Knight
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Justin Knight

Reply via email to