Re: MutateMembersError.INVALID_USER_LIST_ID Error details

2022-12-21 Thread 'Gilles T' via Google Ads API and AdWords API Forum
While digging I may have found the mistake.
The faulty UserLists are owned by the master account but with the new GAds 
api v11, I cannot push to these with new API from a sub account even if I 
see them. 
So do I need an advanced api to move the UserList to the sub account?

On Tuesday, 20 December 2022 at 20:41:39 UTC+2 adsapi wrote:

> Hi Gilles,
>
> Thank you for reaching out to our API support team.
>
> I had to delete your post as it contained your logs. When sending this 
> information, we recommend that you do so 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.
>
> Moving forward, I performed a query on your account using the below query 
> to extract the details of the said userlist :
>
>- SELECT user_list.id, user_list.name, user_list.resource_name, 
>user_list.access_reason, user_list.closing_reason, user_list.type, 
>user_list.read_only FROM user_list WHERE user_list.id = 6506554336 
><(650)%20655-4336> 
>
> In the results, I noticed the below attributes :
>
>- *"accessReason": "SHARED" * 
>- *"readOnly": true* 
>
> That said, could you try using a userlist that is not both "shared" and 
> read only set to true?
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q29U8iw: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 
"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/a59fb79e-d5e6-4a0b-b611-6db0f9e905f0n%40googlegroups.com.


Re: MutateMembersError.INVALID_USER_LIST_ID Error details

2022-12-21 Thread 'Gilles T' via Google Ads API and AdWords API Forum
Hello ok!

Many thanks for checking this.
So I try to change by the code access reason to OWNED and/or read only to 
false but I have this now.

Failure: 
{"errors":[{"errorCode":{"userListError":"OWNERSHIP_REQUIRED_FOR_SET"},"message":"Only
 
an owner account may edit a user 
list.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":0}]}}],"requestId":"hezMr8hQJw5CZgAjExj6bQ"}

I am not sure who can change that.
Can it be changed in GoogleAds directly or only by the code?

Gilles

On Tuesday, 20 December 2022 at 20:41:39 UTC+2 adsapi wrote:

> Hi Gilles,
>
> Thank you for reaching out to our API support team.
>
> I had to delete your post as it contained your logs. When sending this 
> information, we recommend that you do so 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.
>
> Moving forward, I performed a query on your account using the below query 
> to extract the details of the said userlist :
>
>- SELECT user_list.id, user_list.name, user_list.resource_name, 
>user_list.access_reason, user_list.closing_reason, user_list.type, 
>user_list.read_only FROM user_list WHERE user_list.id = 6506554336 
><(650)%20655-4336> 
>
> In the results, I noticed the below attributes :
>
>- *"accessReason": "SHARED" * 
>- *"readOnly": true* 
>
> That said, could you try using a userlist that is not both "shared" and 
> read only set to true?
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q29U8iw: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 
"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/ad9cb78b-de91-4b12-9fdb-7da2aae8322en%40googlegroups.com.


Re: MutateMembersError.INVALID_USER_LIST_ID Error details

2022-12-20 Thread 'Gilles T' via Google Ads API and AdWords API Forum
Hello,

I would like to finish migration to v11 but I have *INVALID_USER_LIST_ID *error 
which I don't have with current version.
Current version (v201809) is deprecated but allows me to push the UserList 
mentioned above. 
When I push to some temporary UserList for testing, it works too.
But when I push to the current UserList that the marketing uses, I get the 
error *INVALID_USER_LIST_ID* .
I enabled the logger as mentioned above.

Please tell me if you can see what could prevent me from pushing it.

The example I took for migration to v11 
is 
https://developers.google.com/google-ads/api/samples/add-customer-match-user-list
 
.

Regards,
Gilles

---
[info] Get list name: 98.108.97 - 101.110 - prospects list (id=0)

[warning] Request made: Host: "googleads.googleapis.com", Method: 
"/google.ads.googleads.v11.services.OfflineUserDataJobService/CreateOfflineUserDataJob",
 
CustomerId: 9837795729, RequestId: "OPEQQ1N0naAd0o-wsB4tmQ", IsFault: 1, 
FaultMessage: "["The user list ID provided for the job is invalid."]"

[NOTICE] Request
---
Method Name: 
/google.ads.googleads.v11.services.OfflineUserDataJobService/CreateOfflineUserDataJob
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.4.3 gccl\/16.0.0 gapic\/16.0.0 
gax\/1.13.0 grpc\/1.48.0 rest\/1.13.0 pb\/3.21.4+c",
"x-goog-request-params": "customer_id=9837795729",
"developer-token": "REDACTED",
"login-customer-id": "9267599161"
}
Request: 
{"customerId":"9837795729","job":{"type":"CUSTOMER_MATCH_USER_LIST","customerMatchUserListMetadata":{"userList":"customers/9837795729/userLists/6506554336"}}}

Response
---
Headers: {
"request-id": "OPEQQ1N0naAd0o-wsB4tmQ",
"date": "Tue, 20 Dec 2022 15:44:21 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; 
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; 
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; 
v=\"46,43\""
}

Fault
---
Status code: 3
Details: Request contains an invalid argument.
Failure: 
{"errors":[{"errorCode":{"offlineUserDataJobError":"INVALID_USER_LIST_ID"},"message":"The
 
user list ID provided for the job is 
invalid.","trigger":{"int64Value":"6506554336"},"location":{"fieldPathElements":[{"fieldName":"job"},{"fieldName":"customer_match_user_list_metadata"},{"fieldName":"user_list"}]}}],"requestId":"OPEQQ1N0naAd0o-wsB4tmQ"}

Request with ID 'OPEQQ1N0naAd0o-wsB4tmQ' has failed.
Google Ads failure details:
offline_user_data_job_error: The user list ID provided for the job is 
invalid.

 
On Monday, 28 December 2020 at 05:17:27 UTC+2 Google Ads API Forum Advisor 
Prod wrote:

> Hi,
>
> Thank you for providing further details.
>
> So that I can discuss it with the rest of the team, could you also provide 
> the complete API request and response logs with the request ID generated 
> for retrieving the provided details? You can provide it via *Reply 
> privately to author* option.
>
> If you haven't enabled the logging of API transactions yet, please check 
> the links below on how to do so.
> Java -  
> https://developers.google.com/google-ads/api/docs/client-libs/java/logging?hl=en
> .Net - 
> https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging?hl=en
> PHP - 
> https://developers.google.com/google-ads/api/docs/client-libs/php/logging?hl=en
> Python - 
> https://developers.google.com/google-ads/api/docs/client-libs/python/logging?hl=en
> Ruby - 
> https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging?hl=en
> Perl - 
> https://developers.google.com/google-ads/api/docs/client-libs/perl/logging?hl=en
>
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q29U8iw: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 
"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/444eeeb2-ac2e-4ae1-b829-1b8b7c54cd42n%40googlegroups.com.