Hi, 

I'm using googleads python client, to pull ad objects from Adwords API. The 
query occassionally throws this error: GoogleAdsServerFault: Server Error 
(without 
other error message).
Does anyone know why this happened? Thanks.

Below's my sample code:

from googleads import adwords
def get_ads():
   client = adwords.AdWordsClient(developer_token, oauth2_client)
   adgroup_ad_service = client.GetService('AdGroupAdService', version=
'v201809')

 
   query = (adwords.ServiceQueryBuilder()
    .Select(
      'AdGroupId',
      'Id', 
      # some other fields
    )
  )
 query = query.Limit(0, 500).Where('Id').In(*adgroup_ad_ids)
 query_build = query.Build()
 page = adgroup_ad_service.query(query_build)


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6a6e5992-67f8-451e-a0d9-95a049de436e%40googlegroups.com.

Reply via email to