FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add a copy constructor for AdWordsSession class · Issue #58 · googleads/googleads-java-lib · GitHub

Add a copy constructor for AdWordsSession class #58

Description

Use case: to download reports for ALL accounts under the top manager account, we do:

  1. Create an AdWordsSession object from top manager account
  2. For each AdWords account, spawn a thread
  3. In the thread clone the AdWordsSession object, call setClientCustomerId() with that AdWords account ID.
  4. Use this AdWordsSession to invoke relevant API

We need a copy constructor in step 3. Our copy implementation cannot guarantee thread safety (in theory).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL