Storing sessions for multiple accounts but how?

42 views
Skip to first unread message

deve...@yclub.io

unread,
Jun 3, 2017, 1:58:43 PM6/3/17
to AdWords API Forum
Hello,

I had a notion that I will need a unique AdWordSession and service stubs (eg. ManagedCustomerService, being that they are dependent on session object) for each "managed account id"

First of all, I thought it would be unwise to spawn sessions and service stubs every time I need to call AdWords server.

So I decided to create some class dedicated to keeping track of different session and service stubs for different account id.

And then I thought,
- how often do I have to refresh the sessions and stubs stored in that managing class? Is it necessary?
- how fast do they expire? or don't they at all?

To these questions, I was not able to find answers on.

Hope there is someone in the community who thought about the same stuff or who can criticize my plan if it is ridiculous.

Thanks guys!

Peter Oliquino

unread,
Jun 5, 2017, 3:55:10 AM6/5/17
to AdWords API Forum
Hi,

Could you provide which client library of the AdWords API you are using?

Best regards,
Peter
AdWords API Team

Peter Oliquino

unread,
Jun 16, 2017, 6:47:39 AM6/16/17
to AdWords API Forum
Hi,

Just wanted to follow up if you still require our assistance. Please feel free to write back.

deve...@yclub.io

unread,
Jun 16, 2017, 1:27:18 PM6/16/17
to AdWords API Forum
Sorry Peter,

My internet went out for a week.

I am using Java Client library.

Thank you for the help!

Peter Oliquino

unread,
Jun 18, 2017, 11:05:04 PM6/18/17
to AdWords API Forum
Hi, 

Thank you for confirming. Since this is more related to the Java client library, you may get in touch with the client library owners via this link as they are better equipped to assist you regarding this matter.
Reply all
Reply to author
Forward
0 new messages