We've been receiving this error "There was a problem: The Attempted modification failed due to changes made concurrently by another agent or user." every now and again for quite some time, probably a year. We attempted to debug early on but didn't get anywhere and since the impact wasn't huge we learned to live with it. We could usually reprocess the transaction and clear things up.
I recently started digging into it again and came across this page: http://adwordsapi.blogspot.com/2008/10/common-issues-that-lead-to-soap-faults_07.html which includes this paragraph: "Finally, if you are writing multithreaded applications, or if multiple persons are using your application at the same time, you may come across the error "The Attempted modification failed due to changes made concurrently by another agent or user. (Error code 58)." To avoid this error, make sure your applications are properly synchronized, so that no two threads/instances of your application modifies the same campaign, ad group, ad, etc. at the same time." Could I get some clarification regarding the last sentence? Does the sentence mean multiple threads modifying attributes of the same object at the same time, or does it mean operating on multiple objects with the same parent at the same time. Example: 1) Thread one modifying the name of Campaign 123 and thread two modifying the budget of Campaign 123 ... independent actions trying to operate on the same object at the same time 2) Thread one adding Ad Group 456 to Campaign 123 while thread two is adding Ad Group 789 to Campaign 123 ... independent actions operating on different objects belonging to the same parent object Thanks Pete --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AdWords 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 -~----------~----~----~----~------~----~------~--~---
