Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-3330

The script googlesyncmanagerusernames throws exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: K2
    • Fix Version/s: K2
    • Component/s: None
    • Labels:
      None
    • Environment:

      QA Environment 5

      sapi #853 (Jenkins)
      core #276 (Jenkins)
      bidmgr #559 (Jenkins)

      Description

      While running the script googlesyncmanagerusernames which updates Manager IDs if an account is moved from one SUBMCC to othe SUBMCC.

      Steps:

      1.Run googlesyncmanagerusernames as TSAApp

      [TSAApp@aml-qa5-core1 bidmgr]$ ./googlesyncmanagerusernames.sh -d 3 -e '3987265483'

      2. Observe the log

      Actual Result:

      It throws exception - com.google.api.ads.adwords.axis.v201409.cm.AuthenticationError:

      Snippet of Log:

      2015-01-29 10:46:16.251 (3) [P1T1]: [oauth] Creating new OAuthService component
      2015-01-29 10:46:17.513 (3) [P1T1]: [oauth] Returning access token from OAuth service: ya29.CgF2-vGTU8ijgUBL3KvVsw9eQqXUTuvZDRmHDxu4BrfH48uNopw6QlzB
      2015-01-29 10:46:17.514 (3) [P1T1]: [oauth] Returning access token from OAuth service: ya29.CgF2-vGTU8ijgUBL3KvVsw9eQqXUTuvZDRmHDxu4BrfH48uNopw6QlzB
      2015-01-29 10:46:18.569 (2) [P1T1]: 1 Errors found
      2015-01-29 10:46:18.569 (2) [P1T1]: - com.google.api.ads.adwords.axis.v201409.cm.AuthenticationError: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED: Error Type=AuthenticationError field=, trigger=<null>
      2015-01-29 10:46:18.570 (2) [P1T1]: com.google.api.ads.adwords.axis.v201409.cm.AuthenticationError: ApiError: fieldpath=, trigger=<null> apierrortype=AuthenticationError, reason=AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
      2015-01-29 10:46:18.570 (2) [P1T1]: Login Failed
      2015-01-29 10:46:18.580 (1) [P1T1]: Exception [using GoogleSyncManagerUsernames]:com.thesearchagency.searchengines.SearchEngineCommandException: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.getManagedCustomerPage(GoogleAdWordsAPI.java:600)
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.getClientChildrenAccountsMap(GoogleAdWordsAPI.java:637)
      at com.thesearchagency.searchengines.google.GoogleSyncManagerUsernames$SearchEngineUserWorker.call(GoogleSyncManagerUsernames.java:244)
      at com.thesearchagency.searchengines.google.GoogleSyncManagerUsernames$SearchEngineUserWorker.call(GoogleSyncManagerUsernames.java:224)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']

      Note: Checked on Rushmore builds ( Non K2 builds), it works fine.

        Attachments

          Activity

            People

            • Assignee:
              atul.sanagar Atul Sanagar (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: