Re: concurrent_modification while insert operation

2023-09-15 Thread Nadavi Play
The problem is in INSERT operations, it's physically impossible to make 
concurrency on insert operation but i still recieve this errors. 

пятница, 15 сентября 2023 г. в 11:41:15 UTC+2, Google Ads API Forum 
Advisor: 

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> I understand that you have encountered a CONCURRENT_MODIFICATION 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/DatabaseErrorEnum.DatabaseError#concurrent_modification>
>  
> error on your end while sending mutate requests to create AdGroupAd. In 
> general, the CONCURRENT_MODIFICATION error occurs due to multiple processes 
> that are trying to update the same entity at the same time. This also 
> includes updating the entity in Google Ads UI while updating via the API as 
> well. We recommend waiting for about 30 seconds, then retry the request.
>
> That being said, you’ll need to ensure that only one operation is 
> performed against an entity at each moment and slow down on the 
> consolidated repeated mutates against the same entity into a single request 
> to avoid this issue altogether. Please give this a try and let us know if 
> you have any additional concerns.
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2olHLb: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/e9bbebb1-db78-4546-92b9-98e62f757a2dn%40googlegroups.com.


RE: concurrent_modification while insert operation

2023-09-15 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for contacting the Google Ads API support team.

I understand that you have encountered a CONCURRENT_MODIFICATION error on your 
end while sending mutate requests to create AdGroupAd. In general, the 
CONCURRENT_MODIFICATION error occurs due to multiple processes that are trying 
to update the same entity at the same time. This also includes updating the 
entity in Google Ads UI while updating via the API as well. We recommend 
waiting for about 30 seconds, then retry the request.

That being said, you’ll need to ensure that only one operation is performed 
against an entity at each moment and slow down on the consolidated repeated 
mutates against the same entity into a single request to avoid this issue 
altogether. Please give this a try and let us know if you have any additional 
concerns.
This message is in relation to case "ref:_00D1U1174p._5004Q2olHLb: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/td16C0S10TJY00OaxAk8leRPCMS01F8AQeqQ%40sfdc.net.


Re: CONCURRENT_MODIFICATION while Insert operation

2023-09-14 Thread Nadavi Play
https://groups.google.com/u/2/g/adwords-api/c/-W80dhBdHzc/m/LUqzA5xTBAAJ - 
In this topic seems the same problem but any answer from Google Support Team

четверг, 14 сентября 2023 г. в 14:28:01 UTC+2, Nadavi Play: 

> Good day,
>
> I have problem with Ads API on mutate operations. When i'm trying to 
> create AdGroupAd i receive errors "CONCURRENT_MODIFICATION". How it's 
> possible that on insert operation can be the same concurency? 
>
> It's log from mutate operation:
>
> INSERT AD GROUP AD: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":0}]}}
>
> INSERT AD GROUP AD: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":1}]}}
>
> INSERT AD GROUP AD: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":2}]}}
>
> INSERT AD GROUP AD: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":3}]}}
>
> INSERT AD GROUP AD: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":4}]}}
>
> INSERT AD GROUP AD: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":5}]}}
>
> Same errors i recieve on inserting of Keywords Criterias:
>
>
> INSERT AD GROUP CRITERIA: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":957}]}}
>
> INSERT AD GROUP CRITERIA: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":958}]}}
>
> INSERT AD GROUP CRITERIA: 
> {"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
> requests were attempting to modify the same resource at once. Retry the 
> request.","location":{"fieldPathElements":[{"fieldName":"operations","index":959}]}}
>
> Just for clarify, update request have the same errors but it's not so 
> strange as Insert operations.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/59322561-1436-460f-a738-eff0c66392b7n%40googlegroups.com.


CONCURRENT_MODIFICATION while Insert operation

2023-09-14 Thread Nadavi Play
Good day,

I have problem with Ads API on mutate operations. When i'm trying to create 
AdGroupAd i receive errors "CONCURRENT_MODIFICATION". How it's possible 
that on insert operation can be the same concurency? 

It's log from mutate operation:

INSERT AD GROUP AD: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":0}]}}

INSERT AD GROUP AD: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":1}]}}

INSERT AD GROUP AD: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":2}]}}

INSERT AD GROUP AD: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":3}]}}

INSERT AD GROUP AD: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":4}]}}

INSERT AD GROUP AD: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":5}]}}

Same errors i recieve on inserting of Keywords Criterias:


INSERT AD GROUP CRITERIA: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":957}]}}

INSERT AD GROUP CRITERIA: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":958}]}}

INSERT AD GROUP CRITERIA: 
{"errorCode":{"databaseError":"CONCURRENT_MODIFICATION"},"message":"Multiple 
requests were attempting to modify the same resource at once. Retry the 
request.","location":{"fieldPathElements":[{"fieldName":"operations","index":959}]}}

Just for clarify, update request have the same errors but it's not so 
strange as Insert operations.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b7f8f0ff-d040-4792-86b3-cd40079fcae0n%40googlegroups.com.


RE: CONCURRENT_MODIFICATION in Bulk Mutate method

2023-03-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Michal,

Thanks for reaching out to the Google Ads API Forum.

I can see that you have opened an issue with us via email support thread. For 
better tracking of issues and avoiding confusion, you may continue our 
discussion on email thread with the subject “CONCURRENT_MODIFICATION in Bulk 
Mutate method”. Thank you!!

Regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jWqUM: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/WAFQC0RR5PG800i3CKs1CwQl2HLuv-Pfhuqg%40sfdc.net.


CONCURRENT_MODIFICATION in Bulk Mutate method

2023-03-07 Thread Michał Podniesiński
I'm trying to create huge group of Ads. I have configured campaigns and 
AdGroups already.
I use bulk mutate method: 
https://developers.google.com/google-ads/api/reference/rpc/v13/GoogleAdsService#mutate
 
and V13 version in dotnet client.
A single MutateGoogleAdsRequest contains 1000 AdGroupAdOperations like this:
`{
"customerId": "12345",
"mutateOperations": [
{
"adGroupAdOperation": {
"create": {
"status": "ENABLED",
"ad": {
"responsiveSearchAd": {
"headlines": [
{
"text": "XX"
},
.
.
.
{
"text": "YY"
}
],
"descriptions": [
{
"text": "XX"
},
.
.
.
{
"text": "ZZZ"
}
],
"path1": "P1",
"path2": "P2"
},
"finalUrls": [
"https://samplewebsite.com/xyz;
],
"name": "1923792"
},
"adGroup": "customers/12345/adGroups/"
}
}
},
.
.
.
{
"adGroupAdOperation": {
"create": {
"status": "ENABLED",
"ad": {
"responsiveSearchAd": {
"headlines": [
{
"text": "XX"
},
.
.
.
{
"text": "YY"
}
],
"descriptions": [
{
"text": "XX"
},
.
.
.
{
"text": "ZZZ"
}
],
"path1": "P1",
"path2": "P2"
},
"finalUrls": [
"https://samplewebsite.com/xyz;
],
"name": "1923786"
},
"adGroup": "customers/12345/adGroups/DD"
}
    }
}
],
"partialFailure": true,
"responseContentType": "MUTABLE_RESOURCE"
}`

*Every AdGroupAdOperation is related to unique AdGroup. So I have guarantee 
AdGroup is not shared across multiple MutateGoogleAdsRequests.*
AdGroups from AdGroupAdOperations can belong to the same Campaign.
I process multiple MutateGoogleAdsRequests in 2 threads when every thread 
process one MutateGoogleAdsRequest at time.
After few requests I get errors like this
`{
"errorCode": {
"databaseError": "CONCURRENT_MODIFICATION"
},
    "message": "Multiple requests were attempting to modify the same 
resource at once. Retry the request.",
"location": {
"fieldPathElements": [
{
"fieldName": "mutate_operations",
"index": 0
},
{
"fieldName": "ad_group_ad_operation"
}
]
}
}`

When I process MutateGoogleAdsRequests in 1 thread, a problem dosen't seem 
to exist.
It seems strange because, as

Re: Add Multiple Requests to the Same Job Facing CONCURRENT_MODIFICATION error.

2022-09-27 Thread Matt Dworkin
Hello,

We're having the same problem. It's not even clear that we're mutating the 
same entity. As far as we can tell we're not doing that, so we're a bit 
confused as to what's going on. If needed we can provide request ids via 
logs. Thanks!

Best,
Matt

On Tuesday, September 20, 2022 at 4:41:46 PM UTC-4 skur...@roku.com wrote:

> Hi Nirmita,
>
> I'm facing the same issue. According to the documentation, we can send 
> multiple add operations requests at the same time. But i still get the  
> CONCURRENT_MODIFICATION 
> <https://developers.google.com/google-ads/api/reference/rpc/v9/DatabaseErrorEnum.DatabaseError?hl=en#concurrent_modification>
>  error. 
> can you please help with this ?
>
> Thanks,
> Sree
>
> On Wednesday, March 30, 2022 at 12:00:59 PM UTC-5 adsapi wrote:
>
>> Hi,
>>
>> Thank you for reaching out to the Google Ads API support team.
>>
>> In general, the CONCURRENT_MODIFICATION error occurs due to multiple 
>> processes that are trying to update the same entity at the same time. This 
>> also includes updating the entity in Google Ads UI while updating via the 
>> API as well. We recommend waiting for about 30 seconds, then retry the 
>> request via API to avoid the CONCURRENT_MODIFICATION 
>> <https://developers.google.com/google-ads/api/reference/rpc/v9/DatabaseErrorEnum.DatabaseError?hl=en#concurrent_modification>
>>  error. 
>>
>> That being said, you’ll need to ensure that only one operation is 
>> performed against an entity at each moment and slow down on the 
>> consolidated repeated mutates against the same entity into a single request 
>> to avoid this issue altogether. Please give this a try and let me know if 
>> you have any additional concerns.
>>
>>  ​
>> Thanks,
>> [image: Google Logo] 
>> Nirmita 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2Ysj9k: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/644ab7dc-f169-401d-9c41-e1d00ededc6fn%40googlegroups.com.


Add Multiple Requests to the Same Job Facing CONCURRENT_MODIFICATION error.

2022-03-29 Thread Online Engineering


Hi,

We are trying to upload pii data to create the user lists in Google Ads 
manager and face the CONCURRENT_MODIFICATION error.

When we read the following paragraph from the doc, our understanding is 
that as long as we run one job, we should not run into the 
CONCURRENT_MODIFICATION issue. So we added the requests concurrently to the 
same job, and submitted the job for only once. However, we still saw this 
error.

 

   - Avoid simultaneously running multiple OfflineUserDataJob 
   
<https://developers.google.com/google-ads/api/reference/rpc/v10/OfflineUserDataJob>
 processes 
   that modify the same user list (that is, multiple jobs whose 
   CustomerMatchUserListMetadata.user_list 
   
<https://developers.google.com/google-ads/api/reference/rpc/v10/CustomerMatchUserListMetadata>
 point 
   to the same resource name). Doing so can result in a 
   CONCURRENT_MODIFICATION 
   
<https://developers.google.com/google-ads/api/reference/rpc/v10/DatabaseErrorEnum.DatabaseError#concurrent_modification>
 error 
   since multiple jobs are not permitted to operate on the same list at the 
   same time. This error can also occur if attempting to simultaneously modify 
   a list through the Google Ads UI and the Google Ads API. Note that this 
   does not apply to adding operations 
   
<https://developers.google.com/google-ads/api/reference/rpc/v10/AddOfflineUserDataJobOperationsRequest>
 to 
   an existing job, which can be done at any time before the job is started. 

 

Could you help us address following concerns?

   1. Is adding requests to the same job concurrently supported without 
   throwing out the CONCURRENT_MODIFICATION error? 
   2. If number 1 is supported, then is it a bug development team needs to 
   trouble shoot? 
   3. If number 1 is not supported, could you suggest if there is any other 
   way to upload the data asynchronously so that we can upload the data faster 
   than the synchronous way? 

 

Here I’m pasting how we tested the API again. 

 

Following work flow is implemented to upload data to Google in parallel.

1. Created 'google_client' using access tokens

2. Created 'user_list' (we at Epsilon refer it as audience)

3. Created 'offline_user_data_job' using 'OfflineUserDataJobService' service

4. Create a function which takes the 'google_client', 'user_list', 
'offline_user_data_job' and small portion of dataframe to be uploaded. This 
function is called in parallel by spark.

5. Within this function, 

   5.1 Create request for 'AddOfflineUserDataJobOperations'

   5.2 Initialize the request with 'offline_user_data_job' ( 
This will tag a request to job.

   5.3 Create operations using the input data. and assign to 
request.operations

   5.4 submit the 'AddOfflineUserDataJobOperations' request

   5.5 Repeat step 5.1 to 5.4 till all data is submitted to 
Google.

6. On submitting all the 'AddOfflineUserDataJobOperations' request, finally 
call 'run_offline_user_data_job' which triggers the upload.

 

*Issue details:*

We are facing 'database_error: CONCURRENT_MODIFICATION' error when we are 
submitting "'AddOfflineUserDataJobOperations' request" in parallel. ( Step 
5.4)

 

(<_InactiveRpcError of RPC that terminated with:\n\tstatus = 
StatusCode.INVALID_ARGUMENT\n\tdetails = "Request contains an invalid 
argument."\n\tdebug_error_string = "

{

"created": "@1647967680.852767877",

"description": "Error received from peer ipv4:172.253.122.95:443",

"file": "src/core/lib/surface/call.cc",

"file_line": 903,

"grpc_message": "Request contains an invalid argument.",

"grpc_status": 3

}

"\n>, <_InactiveRpcError of RPC that terminated with:\n\tstatus = 
StatusCode.INVALID_ARGUMENT\n\tdetails = "Request contains an invalid 
argument."\n\tdebug_error_string = "

{

"created": "@1647967680.852767877",

"description": "Error received from peer ipv4:172.253.122.95:443",

"file": "src/core/lib/surface/call.cc",

"file_line": 903,

"grpc_message": "Request contains an invalid argument.",

"grpc_status": 3

}

"\n>, errors {\n  error_code {\ndatabase_error: 
CONCURRENT_MODIFICATION\n  }\n  message: "Multiple requests were attempting 
to modify the same resource at once. Please retry the 
request."\n}\nrequest_id: "jUsAGBf4dnPrg6XQX8TEbA"\n, 
\'jUsAGBf4dnPrg6XQX8TEbA\')',)

 

 

 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-30 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Greetings!

I did an analysis of your requests on our servers, and I found a pattern that 
appears to be causing these errors. I'll cover my observations followed by some 
best practices, so that these errors are not as frequent.

Observations

I noticed that there was a pattern in how the OfflineUserDataJobService was 
being called. The pattern was similar to this:

Create the offline data job for the user list.
Immediately add operations with one request.
Run the job.
Immediately create another data job for the same user list.
Immediately add operations with one request.
Run the job.
And so on...

When running offline user data jobs in this way, the concurrent modification 
exception is one I would expect. Heres's why. Every time a request is made in 
reference to an object like a user list, the user list resource is locked down 
so two threads don't accidentally cause a race condition. In the pattern I'm 
seeing, a new job is created for a user list before the previous job has 
completed. I saw repeatedly that the new job was created in the same second or 
the second after run job method was called on the same user list. This is where 
the concurrent modification exception comes in. Due to the user list still 
being locked down by the previous job adding data to it, the following requests 
can sometimes can locked out. I can give you some best practices next to 
explain how to structure your jobs to make that less of a chance.

Best practices

There are two best practices here that will help stop this error from happening.

Best Practice #1 Do not have multiple jobs running in parallel for the same 
user list. What would need to change in your code would be to wait until the 
job has finished running for a user list by polling the job periodically until 
it's done. Then, create a new job for that user list. What I've seen our 
community do is have multiple offline data jobs running, but each offline data 
job is updating a different user list. So, they have one thread per user list 
running with multiple threads in parallel. That way they can still get great 
throughput on multiple user lists being updated without causing the error.

Best Practice #2 Create larger jobs. What most people do is that for a single 
user list, they will create an offline job, send an add operations request, 
then another add operations request with more operations, then another 
operations create and so on, and then call run job. This creates a larger job. 
What this does is it means that you call create job and run job less often. A 
single job may take longer, but because you don't have to call create job and 
run job so often, you actually save time over a longer period. This is 
especially the case when you need to upload large amounts of data to a single 
user list.

Please give those best practices a try. That should clear up those errors that 
you're seeing.

Regards,

Nadine Wang
Google Ads API Team
ref:_00D1U1174p._5004Q2TkoQ6: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/5-5190R4YBQZ00K4Zw2EqMR22ro-elxs3Klg%40sfdc.net.


Re: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-30 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Konstantin,

Please allow me to share this with our team and we will provide an update 
shortly.

Aside: I see you are using v7 and the Java client library. If you are using 
Log4J to log, please update to the latest version due to a vulnerability found 
in the logging utility.

Regards,
Matt
Google Ads API Team


Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

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


Re: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-29 Thread Konstantin
Hi For example
error in 2021-12-29 05:37:49,977 
first retry in 2021-12-29 05:39:31,536 retry with error success in 
2021-12-29 05:44:32,084 



2021-12-29 05:37:36,983 INFO 
BazingaTaskQueueName_name_segment_filter_export__Worker_2#rid=segmentFilterExport/20211228T214652.579Z/r.y.alet.crm.core.googleads.GoogleAdsProvider:
 
Created an offline user data job with resource name: 
customers/5687337496/offlineUserDataJobs/15828107152
2021-12-29 05:37:49,977 WARN 
BazingaTaskQueueName_name_segment_filter_export__Worker_2#rid=segmentFilterExport/20211228T214652.579Z/r.y.alet.crm.core.googleads.GoogleAdsProvider:
 
Failed to perform action#1: 
com.google.ads.googleads.v7.errors.GoogleAdsException: errors {
error_code {
database_error: CONCURRENT_MODIFICATION
}
message: "Multiple requests were attempting to modify the same resource at 
once. Please retry the request."
}
request_id: "xU1ZDYrvYnsmJ-oTtjXOWQ"

com.google.ads.googleads.v7.errors.GoogleAdsException: errors {
error_code {
database_error: CONCURRENT_MODIFICATION
}
message: "Multiple requests were attempting to modify the same resource at 
once. Please retry the request."
}
request_id: "xU1ZDYrvYnsmJ-oTtjXOWQ"

at 
com.google.ads.googleads.v7.errors.GoogleAdsException$Factory.createException(GoogleAdsException.java:42)
 
~[google-ads-12.0.0.jar:?]
at 
com.google.ads.googleads.v7.errors.GoogleAdsException$Factory.createException(GoogleAdsException.java:34)
 
~[google-ads-12.0.0.jar:?]
at 
com.google.ads.googleads.lib.BaseGoogleAdsException$Factory.createGoogleAdsException(BaseGoogleAdsException.java:105)
 
~[google-ads-12.0.0.jar:?]
at 
com.google.ads.googleads.lib.callables.GoogleAdsExceptionTransformation.transform(GoogleAdsExceptionTransformation.java:36)
 
~[google-ads-12.0.0.jar:?]
at 
com.google.ads.googleads.lib.callables.ExceptionTransformingUnaryCallable$ExceptionTransformingFuture.onFailure(ExceptionTransformingUnaryCallable.java:82)
 
~[google-ads-12.0.0.jar:?]
at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:68) 
~[api-common-1.10.1.jar:?]
at 
com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1052)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1029)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:871)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:716)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.api.gax.retrying.BasicRetryingFuture.handleAttempt(BasicRetryingFuture.java:200)
 
~[gax-1.63.0.jar:1.63.0]
at 
com.google.api.gax.retrying.CallbackChainRetryingFuture$AttemptCompletionListener.handle(CallbackChainRetryingFuture.java:135)
 
~[gax-1.63.0.jar:1.63.0]
at 
com.google.api.gax.retrying.CallbackChainRetryingFuture$AttemptCompletionListener.run(CallbackChainRetryingFuture.java:117)
 
~[gax-1.63.0.jar:1.63.0]
at 
com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1029)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:871)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:716)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.api.core.AbstractApiFuture$InternalSettableFuture.setException(AbstractApiFuture.java:95)
 
~[api-common-1.10.1.jar:?]
at 
com.google.api.core.AbstractApiFuture.setException(AbstractApiFuture.java:77) 
~[api-common-1.10.1.jar:?]
at 
com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture.onFailure(GrpcExceptionCallable.java:97)
 
~[gax-grpc-1.63.0.jar:1.63.0]
at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:68) 
~[api-common-1.10.1.jar:?]
at 
com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1052)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1029)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:871)
 
~[guava-guava-26.0-jre.jar:?]
at 
com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:716)
 
~[guava-guava-26.0-jre.jar:?]
at io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:522) 
~[grpc-grpc-stub-1.26.0.jar:1.26.0]
at 
io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:497) 
~[grpc-grpc-stub-1.26.0.jar:1.26.0]
at 
io.grpc.Par

Re: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-28 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello,


Thank you for providing additional information, however, we need the complete 
request and response logs with request-id to further investigate. If you're 
using one of our client libraries, detailed logging can be enabled by 
navigating to the Client libraries > Your client library (ex. Java) > Logging 
documentation, which you can access from this link.


Please send the requested information via Reply privately to author option. If 
this option is not available, you may send the details directly to our 
googleadsapi-supp...@google.com alias instead. Also, I've deleted your previous 
post as it contains private information. Below is the copy of your post with 
scrubbed information.


For example... i get an error, wait about 2 minutes and get the error again


2021-12-29 05:37:49,977 WARN GoogleAdsProvider: Failed to perform action#1: 
com.google.ads.googleads.v7.errors.GoogleAdsException: errors {


error_code {

database_error: CONCURRENT_MODIFICATION

}

message: "Multiple requests were attempting to modify the same resource at 
once. Please retry the request."

}

request_id: "xx"


2021-12-29 05:39:31,536 WARN GoogleAdsProvider: Failed to perform action#2: 
com.google.ads.googleads.v7.errors.GoogleAdsException: errors {


error_code {

database_error: CONCURRENT_MODIFICATION

}

message: "Multiple requests were attempting to modify the same resource at 
once. Please retry the request."

}

request_id: "xx"


Regards,

Kevin Gil Soriano
Google Ads API Team
ref:_00D1U1174p._5004Q2TkoQ6: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/tnYRy0R4V4XB00enzIEKtmRwyyx5j3DZfScA%40sfdc.net.


Re: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-28 Thread Konstantin
For example... i get an error, wait about 2 minutes and get the error again















*2021-12-29 05:37:49,977 WARN GoogleAdsProvider: Failed to perform 
action#1: com.google.ads.googleads.v7.errors.GoogleAdsException: errors { 
error_code { database_error: CONCURRENT_MODIFICATION } message: "Multiple 
requests were attempting to modify the same resource at once. Please retry 
the request."}request_id: "xU1ZDYrvYnsmJ-oTtjXOWQ"2021-12-29 05:39:31,536 
WARN GoogleAdsProvider: Failed to perform action#2: 
com.google.ads.googleads.v7.errors.GoogleAdsException: errors { error_code 
{ database_error: CONCURRENT_MODIFICATION } message: "Multiple requests 
were attempting to modify the same resource at once. Please retry the 
request."}request_id: "8gHaQVPfYTFTi3lCV9HeIA"*
On Tuesday, December 28, 2021 at 10:53:49 PM UTC+3 adsapi wrote:

> Hello there,
>
> Thanks for replying back to us. We recommend waiting for about 30 seconds 
> (not 30 mins) as suggested by another colleague of mine, then try another 
> request via API to avoid the CONCURRENT_MODIFICATION 
> <https://developers.google.com/google-ads/api/reference/rpc/v9/DatabaseErrorEnum.DatabaseError?hl=en#concurrent_modification>
>  
> error. This error occurs due to multiple requests attempting to modify the 
> same resource at the same time.
> Please retry the request. If the issue persists, could you please provide 
> us with the complete request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> logs with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
> via the Reply privately to the author option while sharing the details.
>
> Best regards,
> [image: Google Logo] 
> Jakeia Sabrina 
> Google Ads API Team  
>
> ref:_00D1U1174p._5004Q2TkoQ6: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/7249317a-5ed6-44d4-a940-76919e2671d9n%40googlegroups.com.


Re: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-28 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello there,

Thanks for replying back to us. We recommend waiting for about 30 seconds (not 
30 mins) as suggested by another colleague of mine, then try another request 
via API to avoid the CONCURRENT_MODIFICATION error. This error occurs due to 
multiple requests attempting to modify the same resource at the same time.
Please retry the request. If the issue persists, could you please provide us 
with the complete request and response logs with request-id via the Reply 
privately to the author option while sharing the details.

Best regards,

Jakeia Sabrina
Google Ads API Team
ref:_00D1U1174p._5004Q2TkoQ6: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/meeFu0R4UCLB00_JQFVDlfSlKDfjuBL3t6Pw%40sfdc.net.


Re: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-28 Thread Konstantin
Hi 
Thanks for your relay

Yes! I find this answer already in this group
Now i have to wait about from 15 to 30 minutes  to next success api call?

Is it normal ?

On Monday, December 27, 2021 at 2:27:51 PM UTC+3 adsapi wrote:

> Hi,
>
> Thanks for reaching out to us.
>
> In general, the CONCURRENT_MODIFICATION error occurs due to multiple 
> processes that are trying to update the same entity at the same time. This 
> also includes updating the entity in Google Ads UI while updating via the 
> API as well. We recommend waiting for about 30 seconds, then retry the 
> request.
>
> That being said, you’ll need to ensure that only one operation is 
> performed against an entity at each moment and slow down on the 
> consolidated repeated mutates against the same entity into a single request 
> to avoid this issue altogether. Please give this a try and let me know if 
> you have any additional concerns.
>
> Regards, 
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2TkoQ6: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/4aab57a3-08cc-4896-8b88-082fbcc632d1n%40googlegroups.com.


RE: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-27 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi,

Thanks for reaching out to us.

In general, the CONCURRENT_MODIFICATION error occurs due to multiple processes 
that are trying to update the same entity at the same time. This also includes 
updating the entity in Google Ads UI while updating via the API as well. We 
recommend waiting for about 30 seconds, then retry the request.

That being said, you’ll need to ensure that only one operation is performed 
against an entity at each moment and slow down on the consolidated repeated 
mutates against the same entity into a single request to avoid this issue 
altogether. Please give this a try and let me know if you have any additional 
concerns.

Regards,

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


CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-25 Thread Konstantin
i try to create to populate users (about 20M) in group with 
addOfflineUserDataJobOperations 
method
I use batch to upload with size 100k
One thread, sleep about 4s between calls and 
Also i check this error (CONCURRENT_MODIFICATION) and add retry for it with 
sleep 40s 

No any success for 2 days (((

My error is:
errors { error_code { database_error: CONCURRENT_MODIFICATION } message: 
"Multiple requests were attempting to modify the same resource at once. 
Please retry the request." } request_id: "izSkpssg3niNwY-oUn9GTg" 

Could you help me with any advice ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2f761782-7df6-4f8d-86d6-af08f7fd74a7n%40googlegroups.com.


RE: Google Ads CONCURRENT_MODIFICATION response

2021-09-02 Thread Google Ads API Forum Advisor
Hi Greg,

Thanks for reaching out to us.

Upon checking the screenshot you’ve shared with us, it appears that you’ve 
encountered the CONCURRENT_MODIFICATION . In general, the 
CONCURRENT_MODIFICATION error occurs due to multiple processes that are trying 
to update the same entity at the same time. This also includes updating the 
entity in Google Ads UI while updating via the API as well. We recommend 
waiting for about 30 seconds, then retry the request.

That being said, you’ll need to ensure that only one operation is performed 
against an entity at each moment and slow down on the consolidated repeated 
mutates against the same entity into a single request to avoid this issue 
altogether. Please give this a try and let me know if you have any additional 
concerns.

Regards,

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


RE: How to deal with CONCURRENT_MODIFICATION

2019-04-26 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

The DatabaseError.CONCURRENT_MODIFICATION
  
error

that you are encountering could occur due to multiple processes are trying
to update the same entity at the same time. This said, the reason why you
are seeing the error is because multiple processes are trying to update an
ad, and the campaign of the ad (*Ads are in the same campaign*) should not
be the cause of this error. With this, you may try to investigate if
there's multiple processes that are trying to update an ad.

Please let me know if you have further clarifications.

Regards,
Hiroyuki
Google Ads API Team

On 04/26/19 17:03:59 fbos...@gmail.com wrote:

I am creating Responsive Text Ads in parallel (multithreaded python
application), where all of them are distinct and only one per AdGroup.

However, oftentimes I get an Error that states that two requests were
trying to modify the same Ressource concurrently. This - on the first look
- makes no sense to me, could it be that this is triggered, because the Ads
are in the same campaign and are therefore indirectly modifying the same
resource (i.e. campaign)?

Also how would the problem be solved?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/1e43317f-9659-4925-aced-c32afda48df2%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/12f0gccabg008l5ar60026sinuw6omj4dho60o30c1g68r30dpl%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to deal with CONCURRENT_MODIFICATION

2019-04-26 Thread F B
I am creating Responsive Text Ads in parallel (multithreaded python 
application), where all of them are distinct and only one per AdGroup. 

However, oftentimes I get an Error that states that two requests were 
trying to modify the same Ressource concurrently. This - on the first look 
- makes no sense to me, could it be that this is triggered, because the Ads 
are in the same campaign and are therefore indirectly modifying the same 
resource (i.e. campaign)?

Also how would the problem be solved?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1e43317f-9659-4925-aced-c32afda48df2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [5-0923000023899] CONCURRENT_MODIFICATION error

2018-11-26 Thread Anna De Angelis
Hi Mattia,

thank you for your reply! I confirm you that my app is still running into
this bad issue, blocking an entire project.

Anna

Il giorno lun 26 nov 2018 alle ore 14:00  ha
scritto:

> Hello Anna,
>
> The bug is still under investigation by our engineering team.
>
> Meanwhile, can you please confirm that you are still running into this
> issue?
>
> Thanks,
>
> Mattia, AdWords API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 11/23/18 17:46:28 an.deange...@likereply.it wrote:
>
> Hi Peter,
>
> are there update?
>
> Anna
>
> Il giorno mercoledì 14 novembre 2018 12:08:11 UTC+1, Peter Oliquino
> (AdWords API Team) ha scritto:
>
> Hi Anna,
>
> Could you confirm if there are indeed no other process running and making
> changes to a specific entity at the same time when the
> DatabaseError.CONCURRENT_MODIFICATION
> <https://developers.google.com/adwords/api/docs/common-errors#DatabaseError.CONCURRENT_MODIFICATION>
>  error
> occurred? Additionally, could you provide the SOAP request and response
> logs generated when you encountered the error so I can further investigate?
>
> You may send your reply via the *Reply privately to author* option.
>
> Best regards,
> Peter
> AdWords API Team
>
> On Wednesday, November 14, 2018 at 6:23:47 PM UTC+8,
> an.dea...@likereply.it wrote:
>
> I am getting repeated CONCURRENT_MODIFICATION errors trying to create a
> Expandend Text Ad. I checked for the usual causes of this exception
> according to the documentation and other discussions in this forum, and
> none of them apply.  Is this a known bug on the server? Thanks.
>
> Thank you,
>
> Anna
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/fb357667-f035-4020-8f64-b02d8ff84151%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/fb357667-f035-4020-8f64-b02d8ff84151%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAAzedO_9Cp%3Dx4F9Hnm_2rbcsuO3yhCqW8FLO3TEffCkpXQm-Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION error

2018-11-23 Thread an . deangelis
Hi Peter,

are there update?

Anna

Il giorno mercoledì 14 novembre 2018 12:08:11 UTC+1, Peter Oliquino 
(AdWords API Team) ha scritto:
>
> Hi Anna,
>
> Could you confirm if there are indeed no other process running and making 
> changes to a specific entity at the same time when the 
> DatabaseError.CONCURRENT_MODIFICATION 
> <https://developers.google.com/adwords/api/docs/common-errors#DatabaseError.CONCURRENT_MODIFICATION>
>  error 
> occurred? Additionally, could you provide the SOAP request and response 
> logs generated when you encountered the error so I can further investigate?
>
> You may send your reply via the *Reply privately to author* option.
>
> Best regards,
> Peter
> AdWords API Team
>
> On Wednesday, November 14, 2018 at 6:23:47 PM UTC+8, 
> an.dea...@likereply.it  wrote:
>>
>> I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
>> Expandend Text Ad. I checked for the usual causes of this exception 
>> according to the documentation and other discussions in this forum, and 
>> none of them apply.  Is this a known bug on the server? Thanks.
>>
>> Thank you,
>>
>> Anna
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fb357667-f035-4020-8f64-b02d8ff84151%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION error

2018-11-14 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Anna,

Could you confirm if there are indeed no other process running and making 
changes to a specific entity at the same time when the 
DatabaseError.CONCURRENT_MODIFICATION 
<https://developers.google.com/adwords/api/docs/common-errors#DatabaseError.CONCURRENT_MODIFICATION>
 error 
occurred? Additionally, could you provide the SOAP request and response 
logs generated when you encountered the error so I can further investigate?

You may send your reply via the *Reply privately to author* option.

Best regards,
Peter
AdWords API Team

On Wednesday, November 14, 2018 at 6:23:47 PM UTC+8, 
an.deange...@likereply.it wrote:
>
> I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
> Expandend Text Ad. I checked for the usual causes of this exception 
> according to the documentation and other discussions in this forum, and 
> none of them apply.  Is this a known bug on the server? Thanks.
>
> Thank you,
>
> Anna
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1c3bb930-8fa0-40c1-9074-e5f980d5b01d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CONCURRENT_MODIFICATION error

2018-11-14 Thread an . deangelis
I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
Expandend Text Ad. I checked for the usual causes of this exception 
according to the documentation and other discussions in this forum, and 
none of them apply.  Is this a known bug on the server? Thanks.

Thank you,

Anna

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1d881eab-41c7-40cf-b1c3-e70824233fc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION error creating ResponsiveTextAd

2018-09-10 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Jon,

Thank you for the confirmation.

Hi Scott,

Could you confirm if you still encountered the error? If so, could you 
provide the complete SOAP request and response logs so I could further 
investigate the issue? Please reply via *Reply privately to author*.

Regards,
Luis
AdWords API Team

On Tuesday, September 11, 2018 at 12:47:38 AM UTC+8, jon wrote:
>
> The bug appears to be fixed now. Is it fixed for you Scott?
>
> On Saturday, September 8, 2018 at 4:38:02 PM UTC-7, j...@stackstorage.co 
> wrote:
>>
>> I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
>> Responsive Text Ad. I checked for the usual causes of this exception 
>> according to the documentation and other discussions in this forum, and 
>> none of them apply. I can reproduce it trying to create a single ad through 
>> the API with nothing else modifying AdWords. Is this a known bug on the 
>> server? Thanks.
>>
>> -Jon
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1f6baf25-312a-4676-844e-1f003843118f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION error creating ResponsiveTextAd

2018-09-10 Thread jon
The bug appears to be fixed now. Is it fixed for you Scott?

On Saturday, September 8, 2018 at 4:38:02 PM UTC-7, j...@stackstorage.co 
wrote:
>
> I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
> Responsive Text Ad. I checked for the usual causes of this exception 
> according to the documentation and other discussions in this forum, and 
> none of them apply. I can reproduce it trying to create a single ad through 
> the API with nothing else modifying AdWords. Is this a known bug on the 
> server? Thanks.
>
> -Jon
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b89141a7-2106-4bd3-8c89-7cbb57f1f4e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION error creating ResponsiveTextAd

2018-09-10 Thread Scott Clark


[image: 2018-09-09 10_12_14-Start.png]
Having the same issue on responsive ads via AWE (uses API) 

Error message is visible in this dialog box:



On Saturday, September 8, 2018 at 7:38:02 PM UTC-4, j...@stackstorage.co 
wrote:
>
> I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
> Responsive Text Ad. I checked for the usual causes of this exception 
> according to the documentation and other discussions in this forum, and 
> none of them apply. I can reproduce it trying to create a single ad through 
> the API with nothing else modifying AdWords. Is this a known bug on the 
> server? Thanks.
>
> -Jon
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b000488b-09e1-4f09-82d0-4b9074adb221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION error creating ResponsiveTextAd

2018-09-10 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Jon,

The DatabaseError.CONCURRENT_MODIFICATION 
<https://developers.google.com/adwords/api/docs/common-errors#DatabaseError.CONCURRENT_MODIFICATION>
 error 
that you encountered could occur due to multiple processes that are trying 
to update the same entity at the same time. It includes a user in the 
AdWords web interface that is updating the entity while you are updating as 
well via the API. However, to further investigate your issue, could you 
please send to me (via *reply privately to author*) the complete SOAP 
request and response logs of the operation which returns this error?

Thanks and regards,
Luis
AdWords API Team

On Monday, September 10, 2018 at 7:10:01 AM UTC+8, jon wrote:
>
> The AdWords UI also has a bug in it where it drops one of the headlines. 
> My guess is that there is an off-by-one error in the Ads backend which is 
> manifesting as a CONCURRENT_MODIFICATION at the API level and a dropped 
> headline in the Ads UI interface. I figured out how to workaround the 
> off-by-one error in the UI by adding one more headline than I actually 
> want. Beta feature right? :-) 
>
> -Jon
>
> On Saturday, September 8, 2018 at 4:38:02 PM UTC-7, j...@stackstorage.co 
> wrote:
>>
>> I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
>> Responsive Text Ad. I checked for the usual causes of this exception 
>> according to the documentation and other discussions in this forum, and 
>> none of them apply. I can reproduce it trying to create a single ad through 
>> the API with nothing else modifying AdWords. Is this a known bug on the 
>> server? Thanks.
>>
>> -Jon
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/985013c7-54d8-490f-a7b3-6b20df55ebc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION error creating ResponsiveTextAd

2018-09-09 Thread jon
The AdWords UI also has a bug in it where it drops one of the headlines. My 
guess is that there is an off-by-one error in the Ads backend which is 
manifesting as a CONCURRENT_MODIFICATION at the API level and a dropped 
headline in the Ads UI interface. I figured out how to workaround the 
off-by-one error in the UI by adding one more headline than I actually 
want. Beta feature right? :-) 

-Jon

On Saturday, September 8, 2018 at 4:38:02 PM UTC-7, j...@stackstorage.co 
wrote:
>
> I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
> Responsive Text Ad. I checked for the usual causes of this exception 
> according to the documentation and other discussions in this forum, and 
> none of them apply. I can reproduce it trying to create a single ad through 
> the API with nothing else modifying AdWords. Is this a known bug on the 
> server? Thanks.
>
> -Jon
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9c1780a3-330a-4943-861c-ce5d33c7b766%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CONCURRENT_MODIFICATION error creating ResponsiveTextAd

2018-09-08 Thread jon
I am getting repeated CONCURRENT_MODIFICATION errors trying to create a 
Responsive Text Ad. I checked for the usual causes of this exception 
according to the documentation and other discussions in this forum, and 
none of them apply. I can reproduce it trying to create a single ad through 
the API with nothing else modifying AdWords. Is this a known bug on the 
server? Thanks.

-Jon

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5328c262-7452-4141-81f8-d9508f318926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Constant CONCURRENT_MODIFICATION error when creating

2017-03-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Luis,

The CONCURRENT_MODIFICATION error usually appears for one of the following 
reasons:

   - More than one thread is operating on the entity in a multi-threaded 
   environment
   - A user in the AdWords web interface is updating the entity at the same 
   time.
   - An internal process on the AdWords API servers is updating an entity 
   at the same time.

It is recommended that you try not to process operations against the same 
ad group or campaign in quick succession. Grouping operations that modify 
the same ad group or campaign in a single request decreases the chance of 
such a conflict. Could you provide the SOAP request and response logs where 
you encounter these errors? Please use *Reply privately to author* when 
responding.

Thanks,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3d54c9e3-91a6-4d67-b8ff-d90da873f992%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Constant CONCURRENT_MODIFICATION error when creating

2017-03-06 Thread Luis C. Cruz
I have a program written in C# that creates AdWords campaigns starting from 
the creation of an Account and then adding campaigns, adgroups, ads, 
keywords, configurations and more. It can be seen as a pipeline of 
processes, one after the other, and it stops if a previous process fails. 

At random points of the pipeline I'm constantly facing a 
CONCURRENT_MODIFICATION error, and the description doesn't help much. It 
not always fails but it occurs in more than 50% of the launches. This is 
the description of the exception:

AdWordsApiException: One or more AdWords API errors have occurred. A 
concurrency problem occurred as two threads were attempting to modify same 
object.. (Error: DatabaseError.CONCURRENT_MODIFICATION, FieldPath: , 
Trigger: )

I haven't been able to determine the cause of the problem because (1) It 
happens at different levels of the pipeline and (2) it is not a 
multithreaded system, so there aren't other threads modifying the same 
object.

How can I avoid this error? Thanks



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/737f7d77-43b6-4a13-b0d0-755373b5c47d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Operations which can be executed in parallel without causing CONCURRENT_MODIFICATION error

2014-12-08 Thread Tomas Rimkus
Can I do mutate operation on the same type criterions in two different 
adgroups (same campaign) without 
getting DatabaseError.CONCURRENT_MODIFICATION error?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4030c21b-451c-4a9b-861a-9dd139fba4d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Operations which can be executed in parallel without causing CONCURRENT_MODIFICATION error

2014-12-08 Thread Anash P. Oommen (AdWords API Team)
Hi Tomas,

Yes, you can. And if you get CONCURRENT_MODIFICATION, you can just retrying 
the call to see if it succeeds.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, December 8, 2014 3:36:02 AM UTC-5, Tomas Rimkus wrote:

 Can I do mutate operation on the same type criterions in two different 
 adgroups (same campaign) without 
 getting DatabaseError.CONCURRENT_MODIFICATION error?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f620cc3f-d26b-4331-a945-81443d8e8196%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CONCURRENT_MODIFICATION

2014-05-27 Thread Seth
I'm working on a single threaded application using the ruby client and keep 
running into this intermittent error. 

I'm trying to create campaigns, ad groups, ads, and keywords in that order. 
I'm batching the operations for each by groups of 5,000. Each batch only 
contains a single service, for example a batch of campaigns or ad groups.

While the error is happening by many of the services, it usually happens 
when I'm using the CampaignCriterionService.

(I've also tried groups of as little as 1,000 and adding a sleep between 
requests with no success.)

Any idea why this might be happening?

Thanks
Seth

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION

2014-05-27 Thread Michael Cloonan (AdWords API Team)
Hi Seth,

Are you sure that the previous execution is finished before starting the 
next execution? Using a sleep timer might not be sufficient for this, 
depending on how long the sleep timer is going.

Also, are you user that there are no other users trying to make 
modifications to the same account at the same time that you are testing 
your own code?

These are the most likely culprits, but if you can rule these out I can 
take another look.

Regards,
Mike, AdWords API Team

On Tuesday, May 27, 2014 1:41:06 PM UTC-4, Seth wrote:

 I'm working on a single threaded application using the ruby client and 
 keep running into this intermittent error. 

 I'm trying to create campaigns, ad groups, ads, and keywords in that 
 order. I'm batching the operations for each by groups of 5,000. Each batch 
 only contains a single service, for example a batch of campaigns or ad 
 groups.

 While the error is happening by many of the services, it usually happens 
 when I'm using the CampaignCriterionService.

 (I've also tried groups of as little as 1,000 and adding a sleep between 
 requests with no success.)

 Any idea why this might be happening?

 Thanks
 Seth


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION

2014-05-27 Thread Seth
Yes, I'm slicing an array of operations by 5,000 and pushing the api 
results to a results array before the sleep and new request. And this is my 
dev code and I'm the only user.

On Tuesday, May 27, 2014 2:59:07 PM UTC-4, Michael Cloonan (AdWords API 
Team) wrote:

 Hi Seth,

 Are you sure that the previous execution is finished before starting the 
 next execution? Using a sleep timer might not be sufficient for this, 
 depending on how long the sleep timer is going.

 Also, are you user that there are no other users trying to make 
 modifications to the same account at the same time that you are testing 
 your own code?

 These are the most likely culprits, but if you can rule these out I can 
 take another look.

 Regards,
 Mike, AdWords API Team

 On Tuesday, May 27, 2014 1:41:06 PM UTC-4, Seth wrote:

 I'm working on a single threaded application using the ruby client and 
 keep running into this intermittent error. 

 I'm trying to create campaigns, ad groups, ads, and keywords in that 
 order. I'm batching the operations for each by groups of 5,000. Each batch 
 only contains a single service, for example a batch of campaigns or ad 
 groups.

 While the error is happening by many of the services, it usually happens 
 when I'm using the CampaignCriterionService.

 (I've also tried groups of as little as 1,000 and adding a sleep between 
 requests with no success.)

 Any idea why this might be happening?

 Thanks
 Seth



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION

2014-05-27 Thread Michael Cloonan (AdWords API Team)
Hi Seth,

Please see our common errors page on this issue: 
https://developers.google.com/adwords/api/docs/common-errors#DatabaseError

Sometimes, if you get unlucky, you will be trying to update keywords at the 
same time as our internal system is approving or disapproving your previous 
ones. This is likely what is causing your issues, since you are trying to 
upload so many in quick succession.

The best thing to do is to build in an automatic retry with a 30 second or 
more delay until it works.

Regards,
Mike, AdWords API Team

On Tuesday, May 27, 2014 3:50:47 PM UTC-4, Seth wrote:

 Yes, I'm slicing an array of operations by 5,000 and pushing the api 
 results to a results array before the sleep and new request. And this is my 
 dev code and I'm the only user.

 On Tuesday, May 27, 2014 2:59:07 PM UTC-4, Michael Cloonan (AdWords API 
 Team) wrote:

 Hi Seth,

 Are you sure that the previous execution is finished before starting the 
 next execution? Using a sleep timer might not be sufficient for this, 
 depending on how long the sleep timer is going.

 Also, are you user that there are no other users trying to make 
 modifications to the same account at the same time that you are testing 
 your own code?

 These are the most likely culprits, but if you can rule these out I can 
 take another look.

 Regards,
 Mike, AdWords API Team

 On Tuesday, May 27, 2014 1:41:06 PM UTC-4, Seth wrote:

 I'm working on a single threaded application using the ruby client and 
 keep running into this intermittent error. 

 I'm trying to create campaigns, ad groups, ads, and keywords in that 
 order. I'm batching the operations for each by groups of 5,000. Each batch 
 only contains a single service, for example a batch of campaigns or ad 
 groups.

 While the error is happening by many of the services, it usually happens 
 when I'm using the CampaignCriterionService.

 (I've also tried groups of as little as 1,000 and adding a sleep between 
 requests with no success.)

 Any idea why this might be happening?

 Thanks
 Seth



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CONCURRENT_MODIFICATION after migration to v201402

2014-04-10 Thread Alexander Brokle
Hi Guys,

we migrated yesterday from v201309 to v201402. 
Today we got on some request to adwords following error report:

https://lh3.googleusercontent.com/-prKj7SVham8/U0ZTRGncBQI/AEg/kPyBESGbt0Y/s1600/image.png


















Why is that? And what can I do to eliminate this error?

Thanks for any help,
Alex 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION after migration to v201402

2014-04-10 Thread Danial Klimkin
Hello Alexander,


Please see:

  https://developers.google.com/adwords/api/docs/common-errors#DatabaseError


-Danial, AdWords API Team.


On Thursday, April 10, 2014 12:24:27 PM UTC+4, Alexander Brokle wrote:

 Hi Guys,

 we migrated yesterday from v201309 to v201402. 
 Today we got on some request to adwords following error report:


 https://lh3.googleusercontent.com/-prKj7SVham8/U0ZTRGncBQI/AEg/kPyBESGbt0Y/s1600/image.png


















 Why is that? And what can I do to eliminate this error?

 Thanks for any help,
 Alex 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unexpected CONCURRENT_MODIFICATION

2011-04-25 Thread Danial Klimkin
Hello Crosby,


We have recently published a blog post that describes conditions when this 
error can occur:

  
http://adwordsapi.blogspot.com/2011/03/concurrency-management-in-adwords-api.html


We're currently working on decreasing the number of possible conflicts.


-Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


Unexpected CONCURRENT_MODIFICATION

2011-04-22 Thread Crosby Grant
We are experiencing this error, albeit through the AdWords Editor.
This seems like this place to be for API-related technical issues,
even if usually Editor help is handled elsewhere.

In this scenario, no other users are logged in, and it is happening
during very large uploads (~500,000 updates to various components).

Are there any known AdWords Editor issues related to this?
Any fixes in the progress, or possibly workarounds?

Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


Re: Unexpected CONCURRENT_MODIFICATION error

2010-08-09 Thread AdWords API Advisor
Hi Mark,

The most common cause of this error is that you are making back-to-
back requests with operations against the same ad group.  The AdWords
system is making some final updates to the ad group after the first
call right as you make the second call, resulting in a collision.
Please ensure that you aren't modifying the same ad group in two
subsequent requests, or add a small pause between these requests.

Best,
- Eric Koleda, AdWords API Team

On Aug 9, 3:00 am, googleMCC google...@mondizen.com wrote:
 Hello,

 I must be confused with the API. Some help would be much appreciated.

 In PHP we create an array of operations then use
 $adGroupCriterionService-mutate($operations) but sometimes receive an
 error: CONCURRENT_MODIFICATION

 If an array of operations are sent does the API ensure that they are
 executed sequentially ?

 While looping over different adgroups an operation is created to set
 keywords for each adgroup, the operations are added to an array. In
 the error report it seems that each operation is for a different
 adgroup, is the concurrent modification related to actions on the same
 campaign ?

 Thanks for any pointers.

    Mark

 The error we receive:

 faultstringDatabaseError[reason=CONCURRENT_MODIFICATION,
 changeIds=KnownChangeId:32122097823 ReadonlyChangeId:32122097823
 LatestChangeId:32122117623 LastestChangeIdForcedRead:32122117623,
 changeData=[ChangeData[changeId=32122097823, userId=65339032,
 adgroupId=0, campaignId=53865783], ChangeData[changeId=32122114743,
 userId=5753640, adgroupId=2025245463, campaignId=53865783],
 ChangeData[changeId=32122115223, userId=5753640, adgroupId=2025259023,
 campaignId=53865903], ChangeData[changeId=32122115463, userId=5753640,
 adgroupId=2025261663, campaignId=53865903],
 ChangeData[changeId=32122115703, userId=5753640, adgroupId=2025261303,
 campaignId=53865903], ChangeData[changeId=32122115943, userId=5753640,
 adgroupId=2025268743, campaignId=53865903],
 ChangeData[changeId=32122116063, userId=5753640, adgroupId=2025244983,
 campaignId=53865783], ChangeData[changeId=32122116303, userId=5753640,
 adgroupId=2025267783, campaignId=53865903],
 ChangeData[changeId=32122116423, userId=5753640, adgroupId=2025252063,
 campaignId=53865783], ChangeData[changeId=32122116543, userId=5753640,
 adgroupId=2025262863, campaignId=53865903],
 ChangeData[changeId=32122116663, userId=5753640, adgroupId=2025260223,
 campaignId=53865903], ChangeData[changeId=32122116783, userId=5753640,
 adgroupId=2025245343, campaignId=53865783],
 ChangeData[changeId=32122116903, userId=5753640, adgroupId=2025246543,
 campaignId=53865783], ChangeData[changeId=32122117023, userId=5753640,
 adgroupId=2025245103, campaignId=53865783],
 ChangeData[changeId=32122117143, userId=5753640, adgroupId=2025266103,
 campaignId=53865903], ChangeData[changeId=32122117263, userId=5753640,
 adgroupId=2025261063, campaignId=53865903],
 ChangeData[changeId=32122117383, userId=5753640, adgroupId=2025259743,
 campaignId=53865903], ChangeData[changeId=32122117623, userId=5753640,
 adgroupId=2025267663, campaignId=53865903]]]/faultstring

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


Re: CONCURRENT_MODIFICATION error when validating criterion

2010-05-16 Thread Qme
Hi Eric.

I have since reviewed the code with the development team, and you are
quite right. I was told the validate header was being used with the
Java client library (getValidationService), but it was not! (only the
regular getService)

I apologize for making you go through the logs unnecessarily :) (and
also for the double post, Google Groups did not acknowledge the first
send)


Cheers.
Qme


On May 14, 4:17 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 I looked up the logs for the requestIds that returned
 CONCURRENT_MODIFICATION errors, and in all cases the validateOnly
 header was set to false.  If you see any cases where this error is
 returned on a validateOnly=true request please let us know.

 Best,
 - Eric

 On May 12, 9:31 pm, Qme qme...@gmail.com wrote:



  Hi Eric.

  Thanks for your replies. We will implement a mutate call which has all
  of the placements to validate in 1 call instead of looping
  individually like we do for the actual creation once validated.

  In regards to the advice to batch, we also had an error during a
  imageAd add() mutate call where 3 ads were pushed in the same mutate
  call. Only 1 of the ads failed due to the same concurrency error. We
  have an scheduled automatic retry policy, so we were able to recover
  from the error without human intervention, but it is still worrisome
  that the error still occurs when a single call is made to Google...

  Unfortunately, we did not have SOAP logging turned on at the time when
  these validate errors occured, but here is the request/response log
  with requestIDs etc. Hopefully this will help in potentially tracking /
  resolving the issue. You can see that on 3 different attempts, that
  the mutate call failed in different places for the adgroup. We will
  (re)enable SOAP logging and see if the problem occurs again.

  [11 May 2010 15:51:28,382 - DEBUG] Trying to validate campaign XX
  advertizing positive placements for publisher Google AdWords.
  [11 May 2010 15:51:29,960 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=639 operations=1
  units=15 requestId=78ea8fee0efbe94767197d5e00c3f188 server=https://
  adwords.google.com isFault=false faultMessage=null
  [11 May 2010 15:51:31,538 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=801 operations=1
  units=15 requestId=7ff5f40ea2144e99de5442048b857d0b server=https://
  adwords.google.com isFault=false faultMessage=null
  [11 May 2010 15:51:33,304 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=1109 operations=1
  units=15 requestId=d3d841d96f72fe458f520e7b9844efe1 server=https://
  adwords.google.com isFault=false faultMessage=null
  [11 May 2010 15:51:34,726 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=745 operations=1
  units=15 requestId=822e158d0c0083a05d450ee276389090 server=https://
  adwords.google.com isFault=false faultMessage=null
  [11 May 2010 15:51:36,101 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=730 operations=1
  units=15 requestId=7a0536c7fa9bc6106510aa8873d2fd08 server=https://
  adwords.google.com isFault=false faultMessage=null
  [11 May 2010 15:51:37,179 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=455 operations=1
  units=15 requestId=effa15de57f7aa3295352706b0f79321 server=https://
  adwords.google.com isFault=false faultMessage=null
  [11 May 2010 15:51:38,570 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=761 operations=1
  units=15 requestId=2a6672d19cd03035b35ca49c963bf322 server=https://
  adwords.google.com isFault=false faultMessage=null
  [11 May 2010 15:51:39,788 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=552 operations=1
  units=15 requestId=d8fcd55cda4101632bac6361a766bd48 server=https://
  adwords.google.com isFault=false faultMessage=null
  [11 May 2010 15:51:42,710 - DEBUG] email=xxx...@gmail.com
  effectiveUser=117-090- service=AdGroupCriterionService
  method=mutate operators={ADD: 1} responseTime=2268 operations=0
  units=1 requestId=38aec66541c9cc420d6194a1a7e9d1d0 server=https://
  adwords.google.com isFault=true
  faultMessage=DatabaseError.CONCURRENT_MODIFICATION @
  [11 May 2010 15:51:42,741 - WARN ] Error during ad group criteria
  creation : An error occured with the campaign XX advertizing.
  Placement realestate.com.au

Re: CONCURRENT_MODIFICATION error when validating criterion

2010-05-12 Thread AdWords API Advisor
Hi,

It is recommended that you not operate on the same ad group in quick
succession.  In your I would recommend that you not validate the
keywords one at a time, but rather all at once in a large batch.

Best,
- Eric Koleda, AdWords API Team

On May 12, 12:40 am, Qme qme...@gmail.com wrote:
 We are getting random CONCURRENT_MODIFICATION errors from the Adwords
 API when we are validating individual criterion (we loop through and
 mutate each criteria individually with a validate only header ).

 I understand from previous posts that CONCURRENT_MODIFICATION errors
 can occur when two threads are trying to access the same account, or
 if two different types of operations are attempted on the same object
 (e.g. trying to set keywords and ads on an adgroup). We are not
 attempting either of these scenarios.

 Why is this happening, and what can we do to avoid this error?

 --
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and discussion 
 group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

 You received this message because you are subscribed to the Google
 Groups AdWords 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 
 athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


CONCURRENT_MODIFICATION error when validating criterion

2010-05-11 Thread Qme
We are getting random CONCURRENT_MODIFICATION errors from the Adwords
API when we are validating individual criterion (we loop through and
mutate each criteria individually with a validate only header ).

I understand from previous posts that CONCURRENT_MODIFICATION errors
can occur when two threads are trying to access the same account, or
if two different types of operations are attempted on the same object
(e.g. trying to set keywords and ads on an adgroup). We are not
attempting either of these scenarios.

Why is this happening, and what can we do to avoid this error?



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


AdWords API Re: .CONCURRENT_MODIFICATION

2009-10-20 Thread AdWords API Advisor

Hi Sreenu,

This error message indicates that the request failed because another
request was attempting to update the same ad group at the same time.
This can happen when you are running more than one process or thread
that is using the API.  When these faults occur it is often best to
pause execution for a moment and retry the request again.

Best,
- Eric Koleda, AdWords API Team

On Oct 20, 12:33 am, sreenu sree...@cybage.com wrote:
 Hi,
 I am using java v200906 api. I am getting below error for some of the
 actions :
 ApiException Unable to update keywords
 DatabaseError.CONCURRENT_MODIFICATION @ ; trigger:'Customer [43343210]
 was changed in the database.  Proposed changes {[customer:43343210,
 campaign:41136230, adgroup:1389069020]} conflict with recent db
 changes {[id:17508108350, customer:43343210, campaign:41136230,
 adgroup:1389069020]} using STANDARD algorithm'

 what is that mean ? please advice.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords 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
-~--~~~~--~~--~--~---



AdWords API .CONCURRENT_MODIFICATION

2009-10-19 Thread sreenu

Hi,
I am using java v200906 api. I am getting below error for some of the
actions :
ApiException Unable to update keywords
DatabaseError.CONCURRENT_MODIFICATION @ ; trigger:'Customer [43343210]
was changed in the database.  Proposed changes {[customer:43343210,
campaign:41136230, adgroup:1389069020]} conflict with recent db
changes {[id:17508108350, customer:43343210, campaign:41136230,
adgroup:1389069020]} using STANDARD algorithm'

what is that mean ? please advice.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords 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
-~--~~~~--~~--~--~---