Hi all,
I encountered a problem using the traffic estimator service in which I received and ENTITY_NOT_FOUND.INVALID_ID but the trigger field was empty so I coudn't find the id responsible.
After talking with the marketing guys apparently they had deleted an adgroup so I tested it and indeed that was the id that was causing trouble. My question is, how can I prevent this in the future, I shouldn't be altering the code every time there is a deletion of a keyword or adgroup, but I cannot prepare myself against the error because the message won't tell me which Id has been deleted, is this a bug or is there a workaround for this.
I am using Java API v201603, TrafficGeneratorService
Error: faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode:
faultString: [EntityNotFound.INVALID_ID @ ]
faultActor:
faultNode:
faultDetail:
{
https://adwords.google.com/api/adwords/o/v201603}
ApiExceptionFault:
<ns2:message>[EntityNotFound.INVALID_ID @ ]</ns2:message>
<ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
<ns2:errors xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:EntityNotFound">
<ns2:fieldPath/>
<ns2:trigger/>
<ns2:errorString>EntityNotFound.INVALID_ID</ns2:errorString>
<ns2:ApiError.Type>EntityNotFound</ns2:ApiError.Type>
<ns2:reason>INVALID_ID</ns2:reason>
</ns2:errors>
Thank you and best regards.