Hi Ernie,

Just realised this: Being this as the testing process, I simply added some 
unknown emails (like custo...@example.com), will it be the case that it did 
not add? In that case the API  won't throw any error?

Thanks.

On Tuesday, February 16, 2021 at 8:18:26 AM UTC Coder wrote:

> Hi Ernie,
>
> Thank you for the support. I don't have an option to "Reply to Author (no 
> permission)". However to answer your question, I did not encounter any 
> issues while uploading. I have masked sensitive fields and copied you the 
> request & response.
>
> *1) Created a Customer Match user list.*
> POST: 
> https://googleads.googleapis.com/v6/customers/**********/userLists:mutate
> {
>     "operations": [
>         {
>             "create": {
>                 "readOnly": false,
>                 "name": "rest-test-audience",
>                 "description": "A rest-test-audience post request",
>                 "membershipStatus": "OPEN",
>                 "membershipLifeSpan": 10000,
>                 "sizeForDisplay": "0",
>                 "sizeRangeForDisplay": "LESS_THAN_FIVE_HUNDRED",
>                 "sizeForSearch": "0",
>                 "sizeRangeForSearch": "LESS_THAN_FIVE_HUNDRED",
>                 "type": "CRM_BASED",
>                 "accessReason": "OWNED",
>                 "accountUserListStatus": "ENABLED",
>                 "eligibleForSearch": true,
>                 "eligibleForDisplay": true,
>                 "crmBasedUserList": {
>                     "uploadKeyType": "CONTACT_INFO",
>                     "dataSourceType": "FIRST_PARTY"
>                 }
>             }
>         }
>     ]
> }
>
> Responded with:"resourceName": "customers/**********/userLists/********1*
>
> *2) Added members to the user list by using OfflineUserDataJobService *
> *2.1) created a job*
> POST: 
> https://googleads.googleapis.com/v6/customers/**********/offlineUserDataJobs:create
> {
>   "job": {
>     "type": "CUSTOMER_MATCH_USER_LIST",
>     "customerMatchUserListMetadata": {
>       "userList": "customers/**********/userLists/********1*"
>     }
>   }
> }
>
> Responded with:"resourceName": 
> "customers/**********/offlineUserDataJobs/*******11*
>
> *2.2) Added members: *I wanted to test these behaviours first, then add 
> to the code, *hence added only dummy email ids as hashed. I have sent 
> only 6 email ids to the list. *
> POST:  
> https://googleads.googleapis.com/v6/customers/**********/offlineUserDataJobs/*******11*:addOperations
> {
>     "enablePartialFailure": true,
>     "operations": [
>       { "create": {
>             "userIdentifiers": [
>               { "hashedEmail": 
> "b4133380ccd33e9fea010c5c961c1b766f4bf70ca30a4026a65c6854c8921fda"},
>               { "hashedEmail": 
> "bc8ff7bc9cbcf078d9e537b9b6098f8d50fe7142086c6aabf6841a7714679c30"},
>               { "hashedEmail": 
> "4c7d03d328bed7e9babb9d5abb9216a1b14d5feeb82890816b090521072a5827"},
>               { "hashedEmail": 
> "d2b50b25bd11b7bb89b77196400c2224b7207e8a7311bb815eee5f4fdc6e84bd"},
>               { "hashedEmail": 
> "5a93546de6d673b505406bb492b1da7a05812cba88627fff7fe403f4504be0b5"},
>               { "hashedEmail": 
> "9740b36c2f55f133c73a11133b19db466b2f632aca80d3aef2cb00022f018f15"} ]
>           }
>       }]
> }
>
> Responded with { } as there are no errors.
>
> I queried to check the status of job (after 10hrs now) and below is the 
> response:
> {
>     "results": [
>         {
>             "offlineUserDataJob": {
>                 "resourceName": 
> "customers/**********/offlineUserDataJobs/*******11*",
>                 "type": "CUSTOMER_MATCH_USER_LIST",
>              *   "status": "PENDING",*
>                 "id": "*******11*"
>             }
>         }
>     ],
>     "fieldMask": 
> "offlineUserDataJob.resourceName,offlineUserDataJob.id,offlineUserDataJob.status,offlineUserDataJob.type,offlineUserDataJob.failureReason"
> }
>
> Thanks.
>
> On Tuesday, February 16, 2021 at 7:14:38 AM UTC adsapiforumadvisor wrote:
>
>> Hi,
>>
>> Please provide the requested details for #1 and #2 via *Reply privately 
>> to author* option.
>>
>>
>> Regards,
>> [image: Google Logo] 
>> Ernie John Blanca Tacata 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2CPseQ: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 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 
"AdWords API and Google Ads 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/7025e1df-8759-4226-ac0f-e2c6a7f990edn%40googlegroups.com.

Reply via email to