EntityNotFoundReason.INVALID_ID. (Error: EntityNotFound.INVALID_ID, FieldPath: operations[0].operand.adGroupId, Trigger: AdGroupId: 47876183)

22 views
Skip to first unread message

Tanveer Hamid

unread,
Aug 5, 2019, 8:57:05 AM8/5/19
to AdWords API and Google Ads API Forum
Hi,

I have a MCC Account with id = "3817077656" which is managing a linked account, when I tried to update that linked account "cpcbid" of its certain keyword I got the following error.

AdWordsApiException: Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown. 

EntityNotFoundReason.INVALID_ID. (Error: EntityNotFound.INVALID_ID, FieldPath: operations[0].operand.adGroupId, Trigger: AdGroupId: 47876183950)

I am getting the above error on following line of code.

AdGroupCriterionReturnValue retVal = adGroupCriterionService.mutate(
                        new AdGroupCriterionOperation[]
                        {
                            operation
                        });


Please help me in fixing this error.

Tanveer Hamid.

Google Ads API Forum Advisor Prod

unread,
Aug 5, 2019, 9:25:13 AM8/5/19
to ipd...@gmail.com, adwor...@googlegroups.com
Hello Tanveer, 

The INVALID_ID error is usually seen when the specific entity does not exist or is not accessible to the user. Could you please make sure that the client customer Id specified in the request header has access to this ad group? If you're still receiving the error, could you please capture the API SOAP logs in this format and share with us using the Reply privately to author option to investigate further? You may find the steps to enable logging for the respective client libraries here

Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001UEHsNz:ref

Tanveer Hamid

unread,
Aug 6, 2019, 4:01:51 AM8/6/19
to AdWords API and Google Ads API Forum
Thanks,

I think I have fix this issue by giving correct customer client ID.

Tanveer Hamid
Reply all
Reply to author
Forward
0 new messages