We have an application that initialize the adwords client as bellow:
self.adwords_client = adwords.AdWordsClient.LoadFromStorage(GOOGLE_ADS_PATH)
Then, a lot of clients are instanced as bellow:
adgroup_client = self.adwords_client.GetService('AdGroupService', version
=SERVICE_VERSION)
Then, we are using this clients to a lot of operations in google api for
some hours. Operations like get, create, set Adgroups, keywords, Ads.
The robot was running correctly, but since the last week one error is ever
present in robot:
After a lot of operations (that return the correct results), the api
fails in ALL calls.
The fail is very strange, because all the code like the bellow one,
that before was returning correct resulting, returns 'None' for all calls
after some hours.
selector = {
'fields': ['AdGroupId', 'FinalUrls'],
'predicates': [
{
'field': 'FinalUrls',
'operator': 'CONTAINS',
'values': utm_pattern
},
{
'field': 'Status',
'operator': 'EQUALS',
'values': values_status
}
]
}
page = keyword_service.get(selector)
I can not get more information about the requisitions and I have some
certain about the code, because this error is only present in log after the
past week.
My doubt are:
1 - "Is it possible the client expire (requisitions or time)?"
2 - "After a lot of requisitions (or time) can the services return 'None'
for all requisition?"
3 - "None is a possible return in python api for -get- or -mutate-
operations?"
Thank you, very much.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/e52c9536-f46c-4e38-aa56-b64fe649ceeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.