Hi 
We extended the code using google c# example and populated the 
customerlists from csv
our csv file contains the following columns to populate  email, first name 
, last name , phone , zip , country 

suppose if we have 1000 records in the csv file then we end up adding 
3000(1000*3) useridentifier one each for email , phone and address 
is there a way to include all the info in one useridentifier , we tried 
that but it was giving very low parentage of match rate when compares to 
manual upload using UI

referred google's sample code below , please suggest if there is a way to 
include all the user info in one identifier that will give the same match 
rate as manual upload


            UserData userDataWithEmailAddress = new UserData()
            {
                UserIdentifiers = {
                    new UserIdentifier()
                    {
                        // Hash normalized email addresses based on SHA-256 
hashing algorithm.
                        HashedEmail = 
NormalizeAndHash("custo...@example.com")
                    }
                }
            };

            // 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"
                        }
                    }
                }
            };
            // [END add_customer_match_user_list_2]

            // Creates the operations to add the two users.
            return new OfflineUserDataJobOperation[]
            {
                new OfflineUserDataJobOperation()
                {
                    Create = userDataWithEmailAddress
                },
                new OfflineUserDataJobOperation()
                {
                    Create = userDataWithPhysicalAddress
                }
            };
            
            
            Thanks 
            Ramakumar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d443d509-3374-4cf2-b6a3-51080cdc8a82n%40googlegroups.com.
  • cu... Ramakumar Adavakkad
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to