Customer Match Operation Data Format

47 views
Skip to first unread message

Jimmy Loh

unread,
Jul 24, 2021, 10:12:09 AM7/24/21
to AdWords API and Google Ads API Forum
Hi, 

I am using Customer Match using Google Ads API in Python.
I would like to ask that what are the data format for the operations on creating user data.

I will first read plain CSV data: 
Email, Phone
x...@gmail.com, +60123121323

Then I will convert it to hash and convert them to python dict:
Screenshot 2021-07-24 at 10.07.49 PM.png

After that I will convert to operations :
Screenshot 2021-07-24 at 9.56.58 PM.png
Am I doing the right ways for the data structure of operations?
As I tried to upload the data, the offlineUserDataJobs is SUCCESS but the userList is 0(sizeForDisplay & sizeForSearch). I do not get any errors at all.
Please help.

Thank you.
Regards
Jimmy

Google Ads API Forum Advisor

unread,
Jul 26, 2021, 1:53:57 AM7/26/21
to jimmy...@gmail.com, adwor...@googlegroups.com
Hi Jimmy,

Thank you for reaching out.

Since you are initially reading from a file, you will need to extract the email addresses and apply hashing as described here. Moving forward, since the operation appears to have resulted in a SUCCESS, then you may note as well the considerations listed here, on when your audience size would reflect.

If your audiences still don't populate after the period specified in the above guide, you may then provide the complete request and response logs, with the request-id, so our team may investigate further. 

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Lastly, since your API upload request was successful, there is also a possibility that this may not be an API issue. That said, I would recommend that you also reach out to the Google Ads Product Support team, via this link, so they can investigate in parallel on why the audience is not populating.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


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