Skip to content

Commit 97c8468

Browse files
committed
update userListId prop
1 parent d8c6b91 commit 97c8468

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/google_ads/common/queries.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function listUserLists() {
2020
const fields = [
2121
"id",
2222
"name",
23+
"type",
2324
].map((s) => `user_list.${s}`).join(", ");
2425

2526
return `SELECT ${fields} FROM user_list`;

components/google_ads/google_ads.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default {
2121
accountId,
2222
customerClientId,
2323
});
24-
return response?.map(({
24+
return response?.filter(({ userList: { type } }) => type === "CRM_BASED")?.map(({
2525
userList: {
2626
id, name,
2727
},

0 commit comments

Comments
 (0)