Skip to content

GCP.DataManager reference

Source: src/GCP/DataManager/AccountTypesUserList.ts

A Data Manager API user list (accountTypes/{accountType}/accounts/{account}/userLists/{userList}).

User lists have no labels field and their text is shown in the ads product, so Alchemy writes no ownership marker: it tracks the list by name, or by the generated display name. Parent account and user list id are identity — changing either replaces the list. uploadKeyTypes on ingestedUserListInfo is immutable. Display name, description, membership, and targeting update in place. Creating a list requires a Google Ads, DV360, or data-partner account the credentials can write.

AccountTypesUserList: Creating a User List

Section titled “AccountTypesUserList: Creating a User List”

Generated display name

const list = yield* GCP.DataManager.AccountTypesUserList("Customers", {
parent: "accountTypes/GOOGLE_ADS/accounts/1234567890",
});

Named Customer Match list

const list = yield* GCP.DataManager.AccountTypesUserList("Customers", {
parent: "accountTypes/GOOGLE_ADS/accounts/1234567890",
displayName: "checkout-buyers",
membershipDuration: "2592000s",
ingestedUserListInfo: { uploadKeyTypes: ["CONTACT_ID"] },
});

AccountTypesUserList: Updating a User List

Section titled “AccountTypesUserList: Updating a User List”
// Same logical id, changed props: the list is patched in place.
const list = yield* GCP.DataManager.AccountTypesUserList("Customers", {
parent: "accountTypes/GOOGLE_ADS/accounts/1234567890",
displayName: "checkout-buyers-v2",
membershipStatus: "CLOSED",
});