Add Customer Match User List

143 views
Skip to first unread message

Juan pablo Rubianes

unread,
Apr 5, 2022, 10:31:00 AM4/5/22
to Google Ads API and AdWords API Forum
Hello in the example:

  private String createCustomerMatchUserList(GoogleAdsClient googleAdsClient, long customerId) {
    // Creates the new user list.
    UserList userList =
        UserList.newBuilder()
            .setName("Customer Match list #" + getPrintableDateTime())
            .setDescription("A list of customers that originated from email addresses")
            // Customer Match user lists can use a membership life span of 10,000 to indicate
            // unlimited; otherwise normal values apply.
            // Sets the membership life span to 30 days.
            .setMembershipLifeSpan(30)
            // Sets the upload key type to indicate the type of identifier that will be used to
            // add users to the list. This field is immutable and required for an ADD operation.
            .setCrmBasedUserList(
                CrmBasedUserListInfo.newBuilder()
                    .setUploadKeyType(CustomerMatchUploadKeyType.CONTACT_INFO))
            .build();


is there any scenario where the uploadKeyType won't be needed?

Google Ads API Forum Advisor

unread,
Apr 5, 2022, 1:50:15 PM4/5/22
to jprub...@gmail.com, adwor...@googlegroups.com
Hi Juan,

Thanks for reaching out. The upload_key_type field is required for all ADD operations. 

You can find a general guide to Customer Match in the Ads API, here.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZJxCr:ref
Reply all
Reply to author
Forward
0 new messages