EntityNotFound.INVALID_ID - Adwords API Error

This is one of the Adwords API (v2009) based SOAP error.

The SOAP faultstring shows,

[EntityNotFound.INVALID_ID @ operations[0].operand.id; trigger:'AdGroupId: 1209742723']

This can be generated if your SOAP request contains any invalid or missing data.

For example, If you have made API request to Pause/Enable any Adwords Adgroup, this error can be generated in following cases,

1. If your request missing the clientEmail in the SOAP header. In this case, the Adwords doesn't know where to find the specified Adgroup ID. Add clientEmail paramerter  in the SOAP request header.
2. If your request have invalid Adgroup ID which doesn't exist in the specified clientEmail account. Check the specified ID in the perticular account.
3. If you are using PHP version of the Adwords API, it may be the case that the specified Adgoup ID was correpted in the SOAP request. Use Float type casting before passing it to the API functions. like,

$AdgroupId = (float) $AdgroupId;

No comments:

Post a Comment