TempAdGroupId in AdGroupAdOperation response

74 views
Skip to first unread message

Angela Čelar

unread,
Nov 4, 2020, 9:22:25 AM11/4/20
to AdWords API and Google Ads API Forum
Hi,

using batch job we are creating ads on existing ad groups (none of them have an id 514575508), and we get an error like this:

{"errorType": "EntityNotFound", "trigger": "TempAdGroupId: 514575508", "errorString": "EntityNotFound.INVALID_ID", "fieldPath": "operations[11180].operand.adGroupId", "reason": "INVALID_ID"}

what in the world is TempAdGroupId? When and why is AdWords api using TempAdGroupId?
Please note in this case we are not using temp ids for batch processing since we only do one kind of operation AdGroupAdOperation → ADD, and the temp ids would be negative...?! 

Thanks,
Angela

Angela Čelar

unread,
Nov 4, 2020, 9:27:31 AM11/4/20
to AdWords API and Google Ads API Forum
Also,
its python3 and no chance of ID overflowing like I found for PHP: https://groups.google.com/g/adwords-api/c/b_r0W9ozXPM/m/1WPAwCwYBgAJ
and its not wrongly connecting entities with temporary ids.

Google Ads API Forum Advisor Prod

unread,
Nov 4, 2020, 10:03:00 PM11/4/20
to angela...@seekandhit.com, adwor...@googlegroups.com
Hi Angela,

Thank you for your email.

Could you confirm if there were indeed no temporary IDs such as the TempAdGroupId: 514575508 specified in your code or API request?

So our team can investigate, could you provide your customer ID, the complete SOAP request and response logs, and/or the batch job IDs that were generated when you encountered this error?

You may send the requested details via the Reply privately to author option.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q27748E:ref

Angela Čelar

unread,
Nov 5, 2020, 4:00:32 AM11/5/20
to AdWords API and Google Ads API Forum
Thank you for the response. I am 100% sure that temporary ID is never inferred by us in code or in request. I don't have an option to Reply privately to author. Its grayed out.
I'd like to share with you all the rest of the info but cannot do it publicly. How can I become eligible to reply to author?

Angela

Angela Čelar

unread,
Nov 5, 2020, 4:05:40 AM11/5/20
to AdWords API and Google Ads API Forum
Also, 
This is another one with the TempAdGroupId never mentioned by us:

{"errorType": "NewEntityCreationError", "trigger": "TempAdGroupId: 384154937", "errorString": "NewEntityCreationError.TEMP_ID_ENTITY_HAD_ERRORS", "fieldPath": "operations[25654].operand.adGroupId", "reason": "TEMP_ID_ENTITY_HAD_ERRORS"}
Message has been deleted

Google Ads API Forum Advisor Prod

unread,
Nov 6, 2020, 2:55:50 AM11/6/20
to angela...@seekandhit.com, adwor...@googlegroups.com
Hi Angela,

I had to delete your most recent response as it contained your account ID. You may avoid exposing information such as this for security purposes.

Also, since you are not able to reply privately, could you send the requested details directly to our googleadsa...@google.com alias instead? In addition, you may specify the same subject and mention our existing discussion in this thread so our team can follow the issue.

Google Ads API Forum Advisor Prod

unread,
Nov 10, 2020, 11:06:33 PM11/10/20
to angela...@seekandhit.com, adwor...@googlegroups.com
Hi Angela,

Let me discuss the issue to my team and rest assured that we will provide updates when available.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q27748E:ref

Angela Čelar

unread,
Nov 11, 2020, 4:49:46 AM11/11/20
to AdWords API and Google Ads API Forum
hi,
ok thank you.
I have another question. Is it possible for me to check what was happening in the batch job if I have only batch job id not the URL or do I need you for that?
FYI batch job id is 3696077931 and I only have the ID because the response was a string literally  "{'data': 'errorList', 'batch_job_id': 3696077931}". Whats up with that, Google? :D 

Rs,
Angela

Google Ads API Forum Advisor Prod

unread,
Nov 12, 2020, 12:19:42 AM11/12/20
to angela...@seekandhit.com, adwor...@googlegroups.com
Hi Angela,

Thank you for your follow up. 

I have just received word from our team that your batch job is done. If this issue would persist you can provide at least the request ID and maybe some code on how you have implemented your your batch job requests.

Also, from your end, you may only check for batch job errors by referring to this guide. I hope this helps.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q27748E:ref
Reply all
Reply to author
Forward
0 new messages