@google-cloud/nodejs-common 2.0.7-alpha → 2.0.15-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-cloud/nodejs-common",
3
- "version": "2.0.7-alpha",
3
+ "version": "2.0.15-beta",
4
4
  "description": "A NodeJs common library for solutions based on Cloud Functions",
5
5
  "author": "Google Inc.",
6
6
  "license": "Apache-2.0",
@@ -27,7 +27,7 @@
27
27
  "@google-cloud/scheduler": "^4.0.1",
28
28
  "@google-cloud/secret-manager": "^5.0.1",
29
29
  "gaxios": "^6.1.1",
30
- "google-ads-nodejs-client": "16.0.0",
30
+ "google-ads-nodejs-client": "15.0.0",
31
31
  "google-ads-api": "^14.1.0",
32
32
  "google-ads-node": "^12.0.2",
33
33
  "google-auth-library": "^9.4.2",
@@ -88,7 +88,7 @@ const {
88
88
  UserListTypeEnum: { UserListType },
89
89
  CustomerMatchUploadKeyTypeEnum: { CustomerMatchUploadKeyType },
90
90
  },
91
- } = googleads.v16;
91
+ } = googleads.v15;
92
92
 
93
93
  const AuthClient = require('./auth_client.js');
94
94
  const {
@@ -824,7 +824,8 @@ class GoogleAdsApi {
824
824
  const { customerId, loginCustomerId } = config;
825
825
  this.logger.debug('Upload conversion adjustments for:', config);
826
826
  const conversions = buildConversionJsonList(
827
- lines, config, IDENTIFIERS.CONVERSION_ADJUSTMENT, MAX_IDENTIFIERS.CONVERSION);
827
+ lines, config, CONVERSION_FIELDS.ADJUSTMENT,
828
+ IDENTIFIERS.CONVERSION_ADJUSTMENT, MAX_IDENTIFIERS.CONVERSION);
828
829
  const conversionAdjustments =
829
830
  conversions.map((conversion) => new ConversionAdjustment(conversion));
830
831
  const client = await this.getConversionAdjustmentUploadServiceClient_();
@@ -1171,7 +1172,6 @@ class GoogleAdsApi {
1171
1172
  } catch (error) {
1172
1173
  this.logger.error(
1173
1174
  `Error in OfflineUserDataJob add operations batch[${batchId}]`, error);
1174
- console.log(batchResult);
1175
1175
  this.updateBatchResultWithError(batchResult, error, lines, 0);
1176
1176
  return batchResult;
1177
1177
  }