Internal Error in Change Event Service

197 views
Skip to first unread message

Arsh

unread,
Mar 17, 2021, 11:56:44 AM3/17/21
to AdWords API and Google Ads API Forum
Hey there,
We have been getting following error in response for some of our clients when pulling for change_event via change_event_service.
It has been more than a month now , kindly help us by getting this resolved.

I can reply with complete response and request log if required to speed up the process.

Thanks in advance :) 

Fault: Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="Internal error encountered.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1615996453.499000000","description":"Error received from peer ipv4:142.250.194.138:443","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x64\src\core\lib\surface\call.cc","file_line":1062,"grpc_message":"Internal error encountered.","grpc_status":13}")
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Grpc.Core.Internal.ClientResponseStream`2.<MoveNext>d__5.MoveNext()
----------------END API CALL----------------

"request-id": "i1eIKRwUgw6paKNNt7qZsg"



Query we are using:
                    SELECT
                    change_event.resource_name,
                    change_event.change_date_time,
                    change_event.change_resource_name,
                    change_event.change_resource_type,
                    change_event.old_resource,
                    change_event.new_resource,
                    change_event.resource_change_operation,
                    change_event.changed_fields,
                    change_event.user_email
                FROM
                    change_event
                WHERE
                    change_event.change_date_time >= '20210216' AND
                    change_event.change_date_time <= '20210316'
                ORDER BY
                    change_event.change_date_time DESC
                LIMIT 1000



Arsh

unread,
Mar 17, 2021, 12:02:09 PM3/17/21
to AdWords API and Google Ads API Forum
To add to that,
for this customerId, we get a successful response when we use a smaller daterange (last 7 days from today say). Seems like it has to do with a specific type of change happening in the account maybe? 

Thanks!

Google Ads API Forum Advisor Prod

unread,
Mar 17, 2021, 11:48:33 PM3/17/21
to deep.bh...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out.

However, I had to delete your initial post as it contained details of your logs.

Moving forward, an internal error usually indicates a temporary issue or a bug. So our team can investigate further, could you provide the customer IDs involved and also their respective and complete request and response logs, with the request-id?

If logging is not yet enabled, you may do so by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

You may then send all the requested details using the Reply privately to author option.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2DwPUO:ref

Arshdeep Singh

unread,
Mar 18, 2021, 2:16:40 AM3/18/21
to AdWords API and Google Ads API Forum
Hey there, shared the details privately over the email. 

Thank you.

Google Ads API Forum Advisor Prod

unread,
Mar 18, 2021, 11:53:33 AM3/18/21
to deep.bh...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for providing the request and response. Please allow us to investigate this issue internally and we will provide an update shortly.

Thanks,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2DwPUO:ref

Google Ads API Forum Advisor Prod

unread,
Mar 18, 2021, 6:37:42 PM3/18/21
to deep.bh...@gmail.com, adwor...@googlegroups.com
Hi Arshdeep,

This looks like a server-side issue at our end. I was able to pull the relevant log and pass it onto the team for further investigation. I'll keep you posted as I hear from them.

Cheers
Anash

ref:_00D1U1174p._5004Q2DwPUO:ref

Arshdeep Singh

unread,
Mar 19, 2021, 11:32:31 AM3/19/21
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Great! Thank you for the update.

Looking forward to hearing from you.

Arshdeep Singh

unread,
Apr 9, 2021, 4:21:32 AM4/9/21
to AdWords API and Google Ads API Forum
Hi there, 
We are no longer getting the specified error so I believe the issue has been resolved.

That being said, there is a difference in count in results returned in ChangeStatus service vs Change Event service for the same date range.
Also, the change Event service events count (like for the resourceType 'ads'), doesn't seem to match with what we could see in the Google Ads interface for the same DateRange.

Is that expected, if not I can raise a separate concern, since this thread is not related.

Google Ads API Forum Advisor Prod

unread,
Apr 14, 2021, 12:18:48 PM4/14/21
to deep.bh...@gmail.com, adwor...@googlegroups.com
Hi Arshdeep,

I think this behaviour is expected. ChangeStatus service is a summary view, so it tells you what entities have changed. The expectation is that you use this detail to download the object again. ChangeEvent service is a detailed view, so it tells you what the specific changes are. You can use it to figure out what changed in an entity. 

We try to make all changes available through this service, but it is always not guaranteed. The Google Ads UI is typically the first to introduce a new feature (and hence a change type), and it may get added to the API afterwards. So if there are specific change events that are missing in the API, please share the details and we can take a look to see why the API isn't returning it, but the UI is.
Reply all
Reply to author
Forward
0 new messages