Hi Mariek,

I believe the error is referring to a bad ID in the scopingEntityId of
the OperationStearm:

            <n2:operationStreams>
              <n2:scopingEntityId>
                <n2:type>CUSTOMER_ID</n2:type>
                <n2:value>0</n2:value>
              </n2:scopingEntityId>

If you are scoping the stream to the customer then you must supply a
valid customer ID.

Best,
- Eric Koleda, AdWords API Team

On Nov 9, 11:19 am, mariek <[email protected]> wrote:
> I have a test which creates bulk job update with about 15 keywords
> within 3 adgroups
> I receive error IdError.NOT_FOUND , but I'm sure that keywords that I
> want to update are on the account. I see them through 'Sandbox Account
> Viewer' tool.
> I attach log below.
> Any of You had similar problem ?
>
> Wire dump:
>
> = Request
>
> ! CONNECT TO adwords-sandbox.google.com:443
>
> ! CONNECTION ESTABLISHED
>
> POST /api/adwords/job/v201008/BulkMutateJobService HTTP/1.1
> SOAPAction: ""
> Content-Type: text/xml; charset=utf-8
> User-Agent: SOAP4R/1.5.8 (httpclient.rb/280, ruby 1.8.7 (2010-08-16)
> [x86_64-linux])
> Date: Tue, 09 Nov 2010 16:01:47 GMT
> Content-Length: 11749
> Host: adwords-sandbox.google.com
>
> <?xml version="1.0" encoding="utf-8" ?>
> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
>   <env:Header>
>         <n1:RequestHeader env:mustUnderstand="0"
>             xmlns:n1="https://adwords.google.com/api/adwords/cm/
> v201008">
>           <n1:authToken>xxxxx</n1:authToken>
>           <n1:userAgent>adwords4r: xxxxx</n1:userAgent>
>           <n1:developerToken>xxxxxxxxxx</n1:developerToken>
>           <n1:clientEmail>client_3+xxxxx</n1:clientEmail>
>         </n1:RequestHeader>
>   </env:Header>
>   <env:Body>
>     <n2:mutate xmlns:n2="https://adwords.google.com/api/adwords/cm/
> v201008">
>       <n2:operation xsi:type="n2:JobOperation">
>         <n2:operator>ADD</n2:operator>
>         <n2:operand xsi:type="n2:BulkMutateJob">
>           <n2:request>
>             <n2:partIndex>0</n2:partIndex>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526244</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001348</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526244</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001351</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526244</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001350</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526244</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001349</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526244</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001347</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526243</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001346</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526243</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001345</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526243</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001342</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526243</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001343</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526243</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001344</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526242</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001339</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526242</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001340</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526242</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001337</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526242</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001338</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>             <n2:operationStreams>
>               <n2:scopingEntityId>
>                 <n2:type>CUSTOMER_ID</n2:type>
>                 <n2:value>0</n2:value>
>               </n2:scopingEntityId>
>               <n2:operations xsi:type="n2:AdGroupCriterionOperation">
>                 <n2:operator>SET</n2:operator>
>                 <n2:operand xsi:type="n2:BiddableAdGroupCriterion">
>                   <n2:adGroupId>3122526242</n2:adGroupId>
>                   <n2:criterion>
>                     <n2:id>14001341</n2:id>
>                   </n2:criterion>
>                   <n2:userStatus>PAUSED</n2:userStatus>
>                 </n2:operand>
>               </n2:operations>
>             </n2:operationStreams>
>           </n2:request>
>         </n2:operand>
>       </n2:operation>
>     </n2:mutate>
>   </env:Body>
> </env:Envelope>
>
> = Response
>
> = Response
>
> HTTP/1.1 500 Internal Server Error
>
> Content-Type: text/xml; charset=UTF-8
>
> Date: Tue, 09 Nov 2010 16:01:48 GMT
>
> Expires: Tue, 09 Nov 2010 16:01:48 GMT
>
> Cache-Control: private, max-age=0
>
> X-Content-Type-Options: nosniff
>
> X-Frame-Options: SAMEORIGIN
>
> X-XSS-Protection: 1; mode=block
>
> Server: GSE
>
> Transfer-Encoding: chunked
>
> 1000
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Header><ResponseHeader xmlns="https://
> adwords.google.com/api/adwords/cm/
> v201008"><requestId>5c7f2c4692d4eabe28282facc7dd3224</
> requestId><operations>0</operations><responseTime>291</
> responseTime><units>1</units></ResponseHeader></
> soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
> faultcode><faultstring>[IdError.NOT_FOUND @
> operation.operand.request.operationStreams[0], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[1], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[2], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[3], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[4], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[5], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[6], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[7], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[8], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[9], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[10], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[11], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[12], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[13], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[14]]</
> faultstring><detail><ApiExceptionFault xmlns="https://
> adwords.google.com/api/adwords/cm/v201008"><message>[IdError.NOT_FOUND
> @ operation.operand.request.operationStreams[0], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[1], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[2], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[3], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[4], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[5], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[6], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[7], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[8], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[9], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[10], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[11], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[12], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[13], IdError.NOT_FOUND @
> operation.operand.request.operationStreams[14]]</
> message><ApplicationException.Type>ApiException</
> ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[0] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[1] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[2] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[3] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[4] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:type="IdError
>
> b1e
>
> "><fieldPath>operation.operand.request.operationStreams[5]</
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[6] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[7] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[8] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[9] </
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[10 
> ]</
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[11 
> ]</
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[12 
> ]</
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[13 
> ]</
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance"
> xsi:type="IdError"><fieldPath>operation.operand.request.operationStreams[14 
> ]</
> fieldPath><trigger></trigger><errorString>IdError.NOT_FOUND</
> errorString><ApiError.Type>IdError</ApiError.Type><reason>NOT_FOUND</
> reason></errors></ApiExceptionFault></detail></soap:Fault></
> soap:Body></soap:Envelope>
>
> 0
>
> ! CONNECTION CLOSED

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to