Hi Nikitha,

Sorry i should have mentioned this before. I am using Python SDK. Thanks 
for your response. I wanted to explain my problem little more to get to a 
solution.

I am referring to this sample code. 

https://developers.google.com/adwords/api/docs/samples/python/remarketing#create-and-populate-a-user-list


Here is my user list that i want to upload . Currently we do manual upload 
and now we want to automate it through python .


Row # |Email_1                              |  Email 2                      
           | Phone 1       | Phone 2        | First name             | Last 
Name         | Country Code      | Zipcode
---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1         |[email protected]     |  [email protected]       | 
1111110001  | 1111110002   |  xxxxxx                  | yyyyyy              
  | US                       | 88888
2         |[email protected]     |  [email protected]       | 
222220001   | 222220002   |  nnnnn                   | ooooo                
 | US                       | 88888
3         |[email protected]     |                                        
       | 333330001   |                      |  aaaaa                   |    
                        | US                       | 88888

I understand that the sample code is keyed off of email ID('hashedEmail') and 
followed by Address info. 

for Row # 1 : How do I upload "Email 2" ? Should I create a separate row 
for "Email 2" ?
                     There is no reference to "Phone" in the sample code , 
How do i upload the phone number? Should i create a separate row with Phone 
number as a Key('hashedPhone')?
     Row # 3 : Here we are missing Last name , What shall we upload instead 
of Blank or Whitespace to avoid the TOO_SHORT error?

Please note that the input to the python code is a CSV file with all those 
columns shown in the above example. It goes through each row in the file 
and create a Jason object for upload. So , I need to code it such a way 
that it can process all rows irrespective of whether it is missing some 
value.

Hope I explained my needs clearly, Please let m eknow for any questions. 
Appreciate your help on this. Thanks!












On Thursday, January 30, 2020 at 12:08:59 PM UTC-7, adsapiforumadvisor 
wrote:
>
> Hello,
>
> Thank you for reaching out. With regards to your first concern, please 
> refer to this 
> <https://developers.google.com/adwords/api/docs/samples/java/remarketing#create-and-populate-a-user-list>
>  
> code sample to create and populate the user list via API. The code sample 
> will guide you with the correct format to upload these customers via API. I 
> understand you are looking to modify the existing user list to add new 
> members, said that, you could use mutateMembers 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdwordsUserListService#mutatemembers>
>  
> method of AdwordsUserListService to add these new members to the list via 
> AdWords API. Let us know if this clarifies your concerns.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001USx58n:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4e90b6f1-edfc-4c05-b784-e3b2d3f59a30%40googlegroups.com.

Reply via email to