Upload customer matchlist issues

126 views
Skip to first unread message

Ramakumar Adavakkad

unread,
May 14, 2021, 6:55:23 AM5/14/21
to AdWords API and Google Ads API Forum

Hi

 

I didn't get an answer for this query ,  

is the direct upload from csv not possible? do I need to read and add one record at a time?

If that is the case I  do have more questions

 

While uploading we do have an option to add Multiple Email ,Phone and Zip

the example doesn't show multiple Email , Phone etc added to the same person

 

suppose I have a csv file in the following format , How will I upload all from csv?

 

sample csv with multiple Email and Phone

[

Email,First Name,Last Name,Country,Zip,Email,Email,Zip,Phone,Phone

the example I am referring is below

       {

            // Creates a first user data based on an email address.

            UserData userDataWithEmailAddress = new UserData()

            {

                UserIdentifiers = {

                    new UserIdentifier()

                    {

                        // Hash normalized email addresses based on SHA-256 hashing algorithm.

                        HashedEmail = NormalizeAndHash(??????)

                    }

                }

            };

 

            // Creates a second user data based on a physical address.

            UserData userDataWithPhysicalAddress = new UserData()

            {

                UserIdentifiers =

                {

                    new UserIdentifier()

                    {

                        AddressInfo = new OfflineUserAddressInfo()

                        {

                            // First and last name must be normalized and hashed.

                            HashedFirstName = NormalizeAndHash("John"),

                            HashedLastName = NormalizeAndHash("Doe"),

                            // Country code and zip code are sent in plain text.

                            CountryCode = "US",

                            PostalCode = "10011"

                        }

                    }

                }

            };

 


Thanks

Ramakumar

 

 

This Message originated outside your organization.

Hi

to add customer match list I am trying to upload a csv file using API . I can not  find a property to specify the path and file name on the library

I can find the properties for Name , Description , MembershipLifespan, UploadKeyType etc

but cannot find a property to use for the full file name path to upload

we are trying to automate this to upload multiple files of customer list  per client

upload type is CustomerMatchUploadKeyType.ContactInfo ( assume this holds email, phone , first name  etc..)

how can i set this file path property? Add customer Match list example not mentioning anything about it

Please point me to the right direction here

 

Thanks 

Ramakumar

 

Google Ads API Forum Advisor Prod

unread,
May 14, 2021, 1:09:08 PM5/14/21
to ramakumar...@more2.com, adwor...@googlegroups.com
Hi Ramakumar,

Thank you for bring this question to our attention. Let me start by answering some of the simpler questions. yes, you can upload using a CSV so long as you hash it as shown here and here. So you have stated that you are using the SHA256 which is what we recommend. You also have said that you are using a plain text, which again you can use if you would like, but would suggest probably just using one or the other.

Regards,
Google Logo
William Pescherine
Google Ads API Team
 


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