I am doing bulk operations where I am updating destination urls of keywords
      {
        :xsi_type => 'AdGroupCriterionOperation',
        :operator => 'SET',
        :operand => {
          xsi_type: 'BiddableAdGroupCriterion',
          ad_group_id: ad_group_id,
          criterion: {
            xsi_type: 'Keyword',
            id: keyword_id,            
          },
          destination_url: url,
        }
      }

however for some of them, I get

{:field_path=>"operations[197]",
      :trigger=>nil,
      :error_string=>"DistinctError.DUPLICATE_ELEMENT",
      :api_error_type=>"DistinctError",
      :reason=>"DUPLICATE_ELEMENT",
      :xsi_type=>"DistinctError"}


my suspicion is that when a keyword is
 :approval_status=>"PENDING_REVIEW",

that additional mutate on the same keyword will trigger this.

am i wrong?

if I am wrong, what would cause the duplicate element error?  out of a 
batch of 10000 i tried looking for another operation with the same keyword 
and couldn't find any

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

Reply via email to