Re: the user list id provided for the job is invalid

2023-07-11 Thread Andrii Veretko
But I need to run Offline Job with exactly this UserList. What is the 
policy of *readOnly* property? Is there any default value? Why exactly this 
UserList is *readOnly: true*. Can I somehow configure default value in 
GoogleAds account? 

On Monday, July 10, 2023 at 4:40:42 PM UTC+3 Google Ads API Forum Advisor 
wrote:

> Hi Andrii,
>
> Thank you for getting back to us.
>
> I have checked the user list id *8080004298 *using the query below and it 
> appears in the results that the user list is read only which is the reason 
> why you are not able to modify it and getting the error you mentioned. In 
> the API, it is unfortunately not possible to modify the* read_only 
> *attribute. 
> With this, can you try your request with a user list that has a readOnly 
> field that is false? Please let us know how it goes.
>
>
> SELECT user_list.id, user_list.resource_name, user_list.read_only, 
> user_list.access_reason, user_list.account_user_list_status, 
> user_list.closing_reason, user_list.type FROM user_list WHERE user_list.id = 
> '8080004298'
>
>
> "results": [
>
> {
>
>   "userList": {
>
> "readOnly": true,
>
> "resourceName": "customers/8758447846/userLists/8080004298",
>
> "type": "CRM_BASED",
>
> "id": "8080004298",
>
> "accessReason": "SHARED",
>
> "accountUserListStatus": "ENABLED"
>
>   }
>
> }
>
>   ]
>
> *Reference Link:*
>
>- *read_only - *
>
> https://developers.google.com/google-ads/api/reference/rpc/v14/UserList?hl=en#read_only
>  
>
> This message is in relation to case "ref:_00D1U1174p._5004Q2mrveu:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6b07da03-c997-4da8-b234-8fb9070235e0n%40googlegroups.com.


Re: the user list id provided for the job is invalid

2023-07-10 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Andrii,

Thank you for getting back to us.

I have checked the user list id 8080004298 using the query below and it appears 
in the results that the user list is read only which is the reason why you are 
not able to modify it and getting the error you mentioned. In the API, it is 
unfortunately not possible to modify the read_only attribute. With this, can 
you try your request with a user list that has a readOnly field that is false? 
Please let us know how it goes.

SELECT user_list.id, user_list.resource_name, user_list.read_only, 
user_list.access_reason, user_list.account_user_list_status, 
user_list.closing_reason, user_list.type FROM user_list WHERE user_list.id = 
'8080004298'

"results": [

{

  "userList": {

"readOnly": true,

"resourceName": "customers/8758447846/userLists/8080004298",

"type": "CRM_BASED",

"id": "8080004298",

"accessReason": "SHARED",

"accountUserListStatus": "ENABLED"

  }

}

  ]

Reference Link:

read_only - 
https://developers.google.com/google-ads/api/reference/rpc/v14/UserList?hl=en#read_only

This message is in relation to case "ref:_00D1U1174p._5004Q2mrveu:ref"

Thanks,

Google Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/QTZEA0RXL1Z800cvMKPLXuSI-yy0PIxwv_Wg%40sfdc.net.


Re: the user list id provided for the job is invalid

2023-07-10 Thread Andrii Veretko
I have found this API in Documentation and I see that according doc 
*accessReason* is output only field. So I can't set it by myself via 
request.

Also want to mention that we have a lot of accounts and a lot of UserLists. 
Absolute most of them are shared and doesn't face this error. We can't 
re-create thousands of user lists for all of the accounts.

[image: 0lfQc4TKrC.png]
On Friday, July 7, 2023 at 9:42:28 PM UTC+3 Google Ads API Forum Advisor 
wrote:

> Hi Andrii, 
>
> Thank you for coming back to us and sharing additional information. I hope 
> you are doing well today.
>
> With regards to your concern, please note that you must not use the 
> “shared” one. In line with this I recommend creating a user list in the 
> account *8758447846* using the *AccessReason = OWNED*. Please see the *sample 
> curl/code* below for creating a *userlist,* for reference.
>
>
> curl -X POST 
> "https://googleads.googleapis.com/$(version)/customers/$CustomerID)/userLists:mutate"
>  \
>
> --header "Content-Type: application/json" \
>
> --header "Authorization: Bearer ${OAUTH2_ACCESS_TOKEN}" \
>
> --header "developer-token: ${DEVELOPER_TOKEN}" \
>
> --header "login-customer-id: ${LOGIN_CUSTOMER_ID}" \
>
>   --data 
> '{"operations":[{"create":{"accessReason":"OWNED","crmBasedUserList":{"uploadKeyType":"CONTACT_INFO"},"name":"Customer
>  Match list $(date)","description":"A list of customers that originated from 
> email addresses","membershipLifeSpan":30}}]}' \
>
>   --compressed
>
> You may also see the *Creating the User List* and *Userlist (REST) 
> *guidelines 
> for additional reference. Based on the above information, could you please 
> try the recommendation and let us know how it goes on your end? 
>
> *Reference links:*
>
>- *Customer Match* - 
>
> *https://developers.google.com/google-ads/api/docs/remarketing/audience-types/customer-match*
>  
>
> 
>  
>- *Creating the User List* *(Client libraries)*- 
>
> https://developers.google.com/google-ads/api/docs/remarketing/scenario/create-user-list
>  
>- *Userlist (REST) *- 
>
> https://developers.google.com/google-ads/api/rest/reference/rest/v13/customers.userLists/mutate
>  
>
>
> Your response is highly appreciated. Have a great day.
>  
> This message is in relation to case "ref:_00D1U1174p._5004Q2mrveu:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bea54f46-d0c2-4e12-aad6-1f4713eab252n%40googlegroups.com.


Re: the user list id provided for the job is invalid

2023-07-07 Thread Andrii Veretko
I have no Idea how to create OfflineUserDataJob with GoogleAds UI. But I've 
tried to create it via Postman and facing the same error. Request and 
response provided in first message. There is also  "requestId":"
d90ESKXwG0VlYu0-58Ja0Q"

On Thursday, July 6, 2023 at 6:53:45 PM UTC+3 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thanks for reaching out to Google Ads API Support.
>
> With regards to your concern, it indeed has a membership status of open. 
> However, upon checking, it appears that the owner of the user list is DAZN 
> Audience Shed - US (627-967-7929). Can you try to create an offlineUserJob 
> for the userlist in the owner's account? 
>
> If the error persists, please note that in *Google Ads API* perspective 
> we need the updated logs with the suggested solution to be able to see the 
> error thrown on your side and further investigate. With that being said, 
> can you provide the complete *request* and *response* logs with *request* 
> *ID* generated as shown in the respective?
>
> You may then send the requested information via the Reply privately to the 
> author option. If this option is not available, you may send the details 
> directly to our *googleadsa...@google.com* alias instead.
>
> Links included in this email:
>
>- *request* - 
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>  
>
> 
>  
>- *response* - 
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>  
>
> 
>  
>- *request-id* - 
>
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>  
>
> 
>  
>
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2mrveu:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b3e1d115-34b7-41bf-bbd2-22256968c56bn%40googlegroups.com.


The user list ID provided for the job is invalid

2023-07-06 Thread Andrii Veretko
Can't create OfflineUserDataJob for UserList. Error says  The user list ID 
provided for the job is invalid. I was facing this issue before but support 
answered it was caused by membership status 'Closed'. There is old ticket: 
https://groups.google.com/g/adwords-api/c/UpFXhfO-t3I.

Now it happens again but membership status in 'Open'. Can you check what's 
wrong?

Some helpful information:
POST  https:
//googleads.googleapis.com/v13/customers/8758447846/offlineUserDataJobs
:create
Body:
{"job"
:{"type":"CUSTOMER_MATCH_USER_LIST","customerMatchUserListMetadata":{"userList":"customers/8758447846/userLists/8080004298"
}},"validateOnly":false,"enableMatchRateRangePreview":true} Headers: 
{"developer-token": 
,"login-customer-id": "1511812580","Authorization": }   
Error message:
{"error":{"code":400,"message":"Request contains an invalid 
argument.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure","errors":[{"errorCode":{"offlineUserDataJobError":"INVALID_USER_LIST_ID"
},"message":"The user list ID provided for the job is invalid.","trigger":{"
int64Value":"8080004298"},"location":{"fieldPathElements"
:[{"fieldName":"job"},{"fieldName":"customer_match_user_list_metadata"},{"
fieldName":"user_list"}]}}],"requestId":"d90ESKXwG0VlYu0-58Ja0Q"}]}}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/54d8e91d-2261-400e-b08e-b1dfbaf24332n%40googlegroups.com.