Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: K2
-
Fix Version/s: K2
-
Component/s: Data Summarization
-
Labels:None
-
Environment:
QA Environment 5
sapi #853 (Jenkins)
core #276 (Jenkins)
bidmgr #559 (Jenkins)
Description
Running the script "googleMcc" like production has failed.
Steps:
1. Login to Bidmgr server and become TSAApp user
2.Run
./googlemcc.sh -d3 -c /var/local/tsa/config/GoogleMCCReport.emails.txt --split
Actual result:
GoogleMcc has failed with exception - Exception [Catch all]:com.thesearchagency.searchengines.SearchEngineCommandException: com.thesearchagency.searchengines.SearchEngineCommandException: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']
Snippet of run:
2015-01-30 14:13:38.276 (3) [main]: [oauth] Returning access token from OAuth service: ya29.CwHVfkZA0s_3cwdiuKQOrlNHbZYkxUYBffo2Y8Oyr8GdR2cKegUU3bxk
2015-01-30 14:13:38.277 (3) [main]: [oauth] Returning access token from OAuth service: ya29.CwHVfkZA0s_3cwdiuKQOrlNHbZYkxUYBffo2Y8Oyr8GdR2cKegUU3bxk
2015-01-30 14:13:39.294 (2) [main]: 1 Errors found
2015-01-30 14:13:39.294 (2) [main]: - com.google.api.ads.adwords.axis.v201409.cm.AuthenticationError: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED: Error Type=AuthenticationError field=, trigger=<null>
2015-01-30 14:13:39.296 (2) [main]: com.google.api.ads.adwords.axis.v201409.cm.AuthenticationError: ApiError: fieldpath=, trigger=<null> apierrortype=AuthenticationError, reason=AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
2015-01-30 14:13:39.296 (2) [main]: Login Failed
2015-01-30 14:13:39.307 (1) [main]: Exception [Catch all]:com.thesearchagency.searchengines.SearchEngineCommandException: com.thesearchagency.searchengines.SearchEngineCommandException: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.getClientAccountInfos(GoogleAPISearchEngine.java:379)
at com.thesearchagency.searchengines.google.GoogleMCCReport.getClientAccounts(GoogleMCCReport.java:389)
at com.thesearchagency.searchengines.google.GoogleMCCReport.run(GoogleMCCReport.java:248)
at com.thesearchagency.searchengines.google.GoogleMCCReport.main(GoogleMCCReport.java:408)
Caused by: 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.getManagedCustomers(GoogleAdWordsAPI.java:693)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.getClientAccountInfos(GoogleAPISearchEngine.java:376)
... 3 more
Caused by: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
at com.google.api.ads.adwords.axis.v201409.cm.ApiException.getDeserializer(ApiException.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
.
.
.
2015-01-30 14:13:39.320 (3) [main]: DefaultPropertyFileMonitor: modification detected on 1412637298000 for com.thesearchagency.AlertUtils.properties
2015-01-30 14:13:39.321 (2) [main]: sendAlert: executing command: [/usr/local/tsa/send_alarm.sh, WARNING, TSAOPS, AdMax Application [GoogleMCC]: General - Error summarizing Google data: com.thesearchagency.searchengines.SearchEngineCommandException: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']]
2015-01-30 14:13:39.343 (3) [main]: =============== Completed Google MCC Report ================
2015-01-30 14:13:39.343 (3) [main]: Google MCC Report: 3.013s
2015-01-30 14:13:39.343 (3) [main]: by key:
2015-01-30 14:13:39.343 (3) [main]: db: 0.009s
2015-01-30 14:13:39.343 (3) [main]: other: 3.004s