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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/08c719c8-986d-41a8-bed9-cb9fe40c1442n%40googlegroups.com.
  • A ... Hwansang Cho
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Hwansang Cho
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Hwansang Cho

Reply via email to