A CONCURRENT_MODIFICATION error occurs in insert operation.

116 views
Skip to first unread message

Hwansang Cho

unread,
Jul 2, 2025, 5:04:23 AMJul 2
to Google Ads API and AdWords API Forum
Hi, Google Ads API Team.

https://developers.google.com/google-ads/api/rest/reference/rest/v19/customers.googleAds/mutate

When creating 30 display ad groups and 1 campaign at the same time using API, a CONCURRENT_MODIFICATION error occurs.

I understand that the CONCURRENT_MODIFICATION error occurs when the same entity is modified.
Is there a reason why it occurs when creating different entities such as campaigns and ad groups?

"requestId": "rH5L1Ly-XkVQoBaIUtQrtA"

{
  "partialFailureError": {
    "code": 3,
    "message": "Multiple errors in âdetailsâ. First error: Multiple requests were attempting to modify the same resource at once. Retry the request., at mutate_operations[0].ad_group_operation",
    "details": [
      {
        "@type": "type.googleapis.com/google.ads.googleads.v20.errors.GoogleAdsFailure",
        "errors": [
          {
            "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_operation"
                }
              ]
            }
          },
          {
            "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": 1
                },
                {
                  "fieldName": "ad_group_criterion_operation"
                }
              ]
            }
          },
          {
            "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": 2
                },
                {
                  "fieldName": "ad_group_criterion_operation"
                }
              ]
            }
          },
          {
            "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": 3
                },
                {
                  "fieldName": "ad_group_criterion_operation"
                }
              ]
            }
          },
          {
            "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": 4
                },
                {
                  "fieldName": "ad_group_criterion_operation"
                }
              ]
            }
          },

Thank you.

Google Ads API Forum Advisor

unread,
Jul 2, 2025, 9:24:30 AMJul 2
to hwan...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.​

With regard to your concern, I am checking with the rest of our team and one of our colleagues will reach out to you once we have an update. In the meantime, could you please retry the request and check if it is successfully executed?
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-07-02 13:23:23Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rgy6p:ref" (ADR-00316732)



Hwansang Cho

unread,
Jul 3, 2025, 12:34:09 AMJul 3
to Google Ads API and AdWords API Forum
Hi,

As of now, the same CONCURRENT_MODIFICATION error occurs.

"requestId": "
--3GoQOWkXcNHKIrG7RArw"


2025년 7월 2일 수요일 오후 10시 24분 30초 UTC+9에 Google Ads API Forum Advisor님이 작성:

Google Ads API Forum Advisor

unread,
Jul 7, 2025, 3:10:19 AMJul 7
to hwan...@gmail.com, adwor...@googlegroups.com
Hi,

Thanks for providing the further information. This is a known issue that the engineering team is actively looking into. We will get back once there is any major update on resolving the issue. Thanks for your patience in the meantime.

Thanks,
 
Google Logo
Da Yang
Google Ads API Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-07-07 07:09:40Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rgy6p:ref" (ADR-00316732)



Hwansang Cho

unread,
Jul 13, 2025, 10:20:35 PMJul 13
to Google Ads API and AdWords API Forum
Hi,

Can you tell me how the request is progressing?

Thank you.
2025년 7월 7일 월요일 오후 4시 10분 19초 UTC+9에 Google Ads API Forum Advisor님이 작성:

Google Ads API Forum Advisor

unread,
Jul 15, 2025, 12:08:39 AMJul 15
to hwan...@gmail.com, adwor...@googlegroups.com
Hi,

The team is still working on this issue and there has been no major update during this time. We will continue monitoring the issue and get back once there is any update.

Thanks,
 
Google Logo
Da Yang
Google Ads API Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-07-15 04:07:54Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rgy6p:ref" (ADR-00316732)



Reply all
Reply to author
Forward
0 new messages