Failure response:

<?xml version="1.0" encoding="UTF-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>

   <soap:Header>

      <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201702";>

         <requestId>00054c0933d7fd380a5689c83b086735</requestId>

         <serviceName>AdGroupAdService</serviceName>

         <methodName>mutate</methodName>

         <operations>1</operations>

         <responseTime>151</responseTime>

      </ResponseHeader>

   </soap:Header>

   <soap:Body>

      <soap:Fault>

         <faultcode>soap:Server</faultcode>

         <faultstring>[EntityNotFound.INVALID_ID @ 
operations[0].operand.adGroupId; trigger:&apos;AdGroupId: 
42841010522&apos;]</faultstring>

         <detail>

            <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201702";>

               <message>[EntityNotFound.INVALID_ID @ 
operations[0].operand.adGroupId; trigger:&apos;AdGroupId: 
42841010522&apos;]</message>

               
<ApplicationException.Type>ApiException</ApplicationException.Type>

               <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="EntityNotFound">

                  <fieldPath>operations[0].operand.adGroupId</fieldPath>

                  <fieldPathElements>

                     <field>operations</field>

                     <index>0</index>

                  </fieldPathElements>

                  <fieldPathElements>

                     <field>operand</field>

                  </fieldPathElements>

                  <fieldPathElements>

                     <field>adGroupId</field>

                  </fieldPathElements>

                  <trigger>AdGroupId: 42841010522</trigger>

                  <errorString>EntityNotFound.INVALID_ID</errorString>

                  <ApiError.Type>EntityNotFound</ApiError.Type>

                  <reason>INVALID_ID</reason>

               </errors>

            </ApiExceptionFault>

         </detail>

      </soap:Fault>

   </soap:Body>

</soap:Envelope>


Traceback (most recent call last):
  File "/base/data/home/apps/p~arlo-162319/1.400214000790342996/webapp2.py", 
line 1535, in __call__
    rv = self.handle_exception(request, response, e)
  File "/base/data/home/apps/p~arlo-162319/1.400214000790342996/webapp2.py", 
line 1529, in __call__
    rv = self.router.dispatch(request, response)
  File "/base/data/home/apps/p~arlo-162319/1.400214000790342996/webapp2.py", 
line 1278, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/base/data/home/apps/p~arlo-162319/1.400214000790342996/webapp2.py", 
line 1102, in __call__
    return handler.dispatch()
  File "/base/data/home/apps/p~arlo-162319/1.400214000790342996/webapp2.py", 
line 572, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/base/data/home/apps/p~arlo-162319/1.400214000790342996/webapp2.py", 
line 570, in dispatch
    return method(*args, **kwargs)
  File 
"/base/data/home/apps/p~arlo-162319/1.400214000790342996/views/create_ad.py", 
line 73, in get
    ad = handler.CreateAd(ad_group_id)
  File 
"/base/data/home/apps/p~arlo-162319/1.400214000790342996/handlers/api_handler.py",
 line 185, in CreateAd
    ads = ad_group_ad_service.mutate(operations)['value']
  File 
"/base/data/home/apps/p~arlo-162319/1.400214000790342996/googleads/common.py", 
line 720, in MakeSoapRequest
    *[_PackForSuds(arg, self.suds_client.factory) for arg in args])
  File 
"/base/data/home/apps/p~arlo-162319/1.400214000790342996/suds/client.py", line 
521, in __call__
    return client.invoke(args, kwargs)
  File 
"/base/data/home/apps/p~arlo-162319/1.400214000790342996/suds/client.py", line 
581, in invoke
    result = self.send(soapenv)
  File 
"/base/data/home/apps/p~arlo-162319/1.400214000790342996/suds/client.py", line 
619, in send
    description=tostr(e), original_soapenv=original_soapenv)
  File 
"/base/data/home/apps/p~arlo-162319/1.400214000790342996/suds/client.py", line 
670, in process_reply
    raise WebFault(fault, replyroot)
WebFault: Server raised fault: '[EntityNotFound.INVALID_ID @ 
operations[0].operand.adGroupId; trigger:'AdGroupId: 42841010522']'


On Thursday, March 30, 2017 at 5:17:51 PM UTC-4, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi,
>
> Could you provide the SOAP request and response logs for the operation 
> where you encounter this error so I can take a look? Please use *Reply 
> privately to author* when responding.
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2772bc7-7c4f-4c20-8a6a-859367d2ba3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to