Concurrent Modification on Ad Group Error.

42 views
Skip to first unread message

Brett Koenig

unread,
Oct 13, 2014, 3:20:45 PM10/13/14
to adwor...@googlegroups.com, Darshana Patel, Dave Ragals

Hey,

 

We have multiple services and threads that can be updating product group destination URLs at the same time. Each one is updating a different product group destination URL but sometimes the product groups are under the same Ad Group.  When doing this we get a CONCURRENT_MODIFICATION error because we are calling the AdGroupCriterionService with the same Ad Group Id but different criterion at the same time.  What is the best way to get around this error since we know that they aren’t conflicting updates?

 

Thank you,

 

Brett Koenig | Software Engineer
IgnitionOne - Marketing Technology.  Simplified.
Office:       1545 Peachtree St.  Suite 500 | Atlanta, GA | 30309
Direct:       404.665.1711

Twitter:    @ignitionone 

See Gartner’s “First Take” review of how IgnitionOne is igniting the DMS/Hub space: https://www.gartner.com/doc/2687220

 This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by reply e-mail and delete all copies of this email.

 

 

Anash P. Oommen (AdWords API Team)

unread,
Oct 14, 2014, 9:12:10 AM10/14/14
to adwor...@googlegroups.com, Darshan...@ignitionone.com, Dave....@ignitionone.com
Hi Brett,

You need to catch and retry the error after say, 30 seconds. Or, synchronize your API calls such that no two threads update the same adgroup at the same time.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages