Re: API integration error during customer list upload

2022-11-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Marcell,

It seems possible that the OfflineUserDataJob resource may have been busy with 
another operation when the RunOfflineUserDataJob method was called, hence the 
concurrent modification error. Can you please confirm if this issue is 
happening repeatedly? Are you able to retry the run method with an exponential 
backoff?

Thanks,

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2fzn5P: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/llfD50RKZUCM00CSUCoqS1SaKPqrigidS0_Q%40sfdc.net.


Re: API integration error during customer list upload

2022-11-07 Thread Marcell Buglyó
Hello Yasar!

We did the modifications as per instructed, and got a different error:

[2022-11-04T13:07:27.504514+00:00] google-ads.WARNING: Request made: Host: "
googleads.googleapis.com", Method: 
"/google.ads.googleads.v11.services.OfflineUserDataJobService/RunOfflineUserDataJob",
 
CustomerId: 6190469031, RequestId: "YJwCR2fZ6VjRVWnqIvbS0A", IsFault: 1, 
FaultMessage: "["Multiple requests were attempting to modify the same 
resource at once. Retry the request."]"  

[2022-11-04T13:07:27.505704+00:00] google-ads.NOTICE: Request

---

Method Name: 
/google.ads.googleads.v11.services.OfflineUserDataJobService/RunOfflineUserDataJob

Host: googleads.googleapis.com

Headers: {

"x-goog-api-client": "gl-php\/8.1.9 gccl\/16.0.0 gapic\/16.0.0 
gax\/1.17.0 grpc\/1.48.0 rest\/1.17.0 pb\/+n",

"x-goog-request-params": 
"resource_name=customers%2F6190469031%2FofflineUserDataJobs%2F26716031545",

"developer-token": "REDACTED",

"login-customer-id": "2410624162"

}

Request: 

{"resourceName":"customers\/6190469031\/offlineUserDataJobs\/26716031545"}


Response

---

Headers: {

"request-id": "YJwCR2fZ6VjRVWnqIvbS0A",

"date": "Fri, 04 Nov 2022 13:07:27 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":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple
 
requests were attempting to modify the same resource at once. Retry the 
request."}],"requestId":"YJwCR2fZ6VjRVWnqIvbS0A"} 


According to the developers, this example was used: 
https://github.com/googleads/google-ads-php/blob/v16.0.0/examples/Remarketing/AddCustomerMatchUserList.php

Could you help us with this issue too? :)


Thank you for your help and Best Regards,

Marcell

On Friday, 4 November 2022 at 06:10:19 UTC+1 adsapi wrote:

> Hi Marcell,
>
> Thank you for your patience. I’ve got an update from my team.
>
> This is a deadline exceeded error. This could be due to low timeout. 
> However, could you confirm if you’ve set a low timeout? 
>
> As per this *guide* 
> ,
>  
> you may set the timeout to 2 hours or more. You may refer to this *code 
> example * 
> in
>  
> order to ​​use of custom client timeouts. Then you may retry your request, 
> and let us know if you still get said error.
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2fzn5P: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/382ee6bf-93cb-4791-a487-3069dea08dc4n%40googlegroups.com.


RE: API integration error during customer list upload

2022-11-03 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Marcell,

Thank you for your patience. I’ve got an update from my team.

This is a deadline exceeded error. This could be due to low timeout. However, 
could you confirm if you’ve set a low timeout?

As per this guide, you may set the timeout to 2 hours or more. You may refer to 
this code example in order to ​​use of custom client timeouts. Then you may 
retry your request, and let us know if you still get said error.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2fzn5P: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/-iFOC0RKT50L00L2_iutSFSSKhNrJSSFKLDg%40sfdc.net.


RE: API integration error during customer list upload

2022-11-03 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Marcell,

Thanks for reaching out. Please allow me to share this information with our 
team and we will get back to you with an update as soon as we can.

Thanks,

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2fzn5P: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/-4u3l0RKS6VJ000pg1JcrpT_63JzrfXHg9nA%40sfdc.net.