google-ads-api 19.0.2-rest-beta → 19.0.3-rest-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/build/src/customer.js +3 -1
- package/package.json +1 -1
package/build/src/customer.js
CHANGED
|
@@ -335,7 +335,9 @@ class Customer extends serviceFactory_1.default {
|
|
|
335
335
|
const pipeline = (0, stream_chain_1.chain)([stream, parser, (0, StreamArray_1.streamArray)()]);
|
|
336
336
|
let count = 0;
|
|
337
337
|
for await (const data of pipeline) {
|
|
338
|
-
const results = data.value.results ??
|
|
338
|
+
const results = data.value.results ??
|
|
339
|
+
(data.value.summaryRow ? [data.value.summaryRow] : undefined) ??
|
|
340
|
+
[];
|
|
339
341
|
count += results.length;
|
|
340
342
|
if (this.clientOptions.max_reporting_rows &&
|
|
341
343
|
count > this.clientOptions.max_reporting_rows &&
|
package/package.json
CHANGED