Change Event data not written by API

374 views
Skip to first unread message

cv

unread,
May 6, 2021, 8:02:31 AM5/6/21
to AdWords API and Google Ads API Forum
Hi,

I tried to see if any data written by change_event reports.
It is written nothing where as change_status is giving me summary for about 53 rows.

Is anything wrong with API?

Response is giving only fieldmask.

Request: 
{"customerId":"XXXX","query":"SELECT change_event.resource_name, change_event.change_date_time, change_event.change_resource_name, change_event.user_email, change_event.client_type, change_event.change_resource_type, change_event.old_resource, change_event.new_resource, change_event.resource_change_operation, change_event.changed_fields FROM change_event WHERE change_event.change_date_time >= 20210422 AND change_event.change_date_time <= 20210422 ORDER BY change_event.change_date_time DESC LIMIT 100","pageSize":1000}

Response
-------
Headers: {
    "content-disposition": "attachment",
    "request-id": "5aMvHznjYq4XBmen94AxPA",
    "date": "Thu, 06 May 2021 09:17:24 GMT",
    "alt-svc": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""
}
Response: 
{"fieldMask":"changeEvent.resourceName,changeEvent.changeDateTime,changeEvent.changeResourceName,changeEvent.userEmail,changeEvent.clientType,changeEvent.changeResourceType,changeEvent.oldResource,changeEvent.newResource,changeEvent.resourceChangeOperation,changeEvent.changedFields"}  

Also not for this request as well

Request: 
{"customerId":"XXXX","query":"SELECT change_event.resource_name, change_event.change_date_time, change_event.change_resource_name, change_event.user_email, change_event.client_type, change_event.change_resource_type, change_event.old_resource, change_event.new_resource, change_event.resource_change_operation, change_event.changed_fields FROM change_event WHERE change_event.change_date_time = 20210422 ORDER BY change_event.change_date_time DESC LIMIT 100","pageSize":1000}

Google Ads API Forum Advisor Prod

unread,
May 6, 2021, 1:44:48 PM5/6/21
to chirag....@gmail.com, adwor...@googlegroups.com

Hi there,

 

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.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2GKQu0:ref

cv

unread,
May 7, 2021, 1:06:17 AM5/7/21
to AdWords API and Google Ads API Forum
Hi Aryeh,

I have get your view.
But I was trying to get the detailed for the changes which either the added/paused the keywords, change keywords bid or added the location which I feel already covered under the change_event report?

I feel those details should be given in change_event details.

I have shared UI screenshot with you privately.

Thanks,

Google Ads API Forum Advisor Prod

unread,
May 7, 2021, 3:18:05 PM5/7/21
to chirag....@gmail.com, adwor...@googlegroups.com

Hi there,

 

Thank you for giving me your logs in private. I raised with my team your request for the change_event service to report on changes to keywords. You may monitor our blog for an update.

cv

unread,
May 8, 2021, 3:01:19 AM5/8/21
to AdWords API and Google Ads API Forum
Hi Aryesh,

It is not even giving me response. doesnot it consider as Adgroup_criteria and campaign_criteria?

Thanks,

Google Ads API Forum Advisor Prod

unread,
May 10, 2021, 1:18:38 AM5/10/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

I work with Aryeh and let me continue the discussion for this concern.

To take a closer look, could you provide the screenshot of the entities that your referring to your last reply in the Change History view that are not returned in API response? Please also provide the complete request and response logs with request ID generated on your end for the reports that you've tried. You can provide the requested information via Reply privately to author option.

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


ref:_00D1U1174p._5004Q2GKQu0:ref

Arshdeep Singh

unread,
May 11, 2021, 1:24:08 AM5/11/21
to AdWords API and Google Ads API Forum
Hi there,
we are also facing the same issue, the count of events differs a lot from what we see in the GAds interface.
For example, 
the count of changes we could see in the UI are significantly different from what we get in the api.
Also, the reply to author option is disabled, let me know how could I reply to the author?

I checked in the UI for date range "Last 14 Days" and the count for changes related to ads are "40"
unnamed.png

However, we only get around '7' change events from the API for ads resource.

For a basic query like following, to see changes to 'ads' resource, we got no more than 7 entries for the daterange in the response.

SELECT change_event.resource_name, change_event.change_date_time, .... <other fields>
                FROM
                    change_event
                WHERE
                    change_event.change_date_time >= 20210426 AND
                    change_event.change_date_time <= 20210509 AND
                    change_event.change_resource_type IN (AD,AD_GROUP_AD)
                LIMIT 1000


On the same note, for keywords we see count 61 in the UI, but we get only 37 entries from the API, I noticed that we got only keyword additions (type CREATE) and removals (type REMOVE) from the API, there were no entries for  operation type "UPDATE". Should that be expected?

Google Ads API Forum Advisor Prod

unread,
May 11, 2021, 4:36:08 AM5/11/21
to deep.bh...@gmail.com, adwor...@googlegroups.com
Hi Arshdeep,

Thank you for reaching out as well to our team regarding the similar issue that you are encountering.

So our team can further investigate, you may resend these details, along with your customer ID and the complete request and response logs with request ID, directly to our googleadsa...@google.com alias.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2GKQu0:ref

Mat

unread,
May 12, 2021, 2:24:10 AM5/12/21
to AdWords API and Google Ads API Forum
Hi there,

any changes via the Google Ads Editor (even with the latest Version) have never shown up in the change_events report. There are divergent and confusing responses by the Google Ads API Team about why or why not. It's either a bug or has never been implemented in the first place - although there is a dedicated enum in the change_event.client_type for "GOOGLE_ADS_EDITOR" (v6 and v7).

Regards
Mat

Google Ads API Forum Advisor Prod

unread,
May 12, 2021, 11:54:43 AM5/12/21
to m...@keyword-experte.de, adwor...@googlegroups.com
Hi Mat,

I brought to my team your request for change_event to include changes via the Google Ads Editor. You may monitor our blog for an update.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2GKQu0:ref

cv

unread,
May 13, 2021, 12:47:40 AM5/13/21
to AdWords API and Google Ads API Forum
Hello Aryeh,

I think here issue is not for the new request to add data in change_event.
Here I am trying to bring that doc is saying the changes would reflect for this resource types but it is not providing response to match with UI.


Thanks,

Google Ads API Forum Advisor Prod

unread,
May 13, 2021, 3:05:39 PM5/13/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

I bought up with my team your comments about documentation stating the changed resources in change_events, implying that all those resources are already supported in change_event. Note that this is a work in progress, when the feature set is complete it will reflect the documentation. You may monitor our blog for an update.

cv

unread,
May 19, 2021, 3:09:31 AM5/19/21
to AdWords API and Google Ads API Forum
Hello Aryeh,

Thanks for the update.
Reply all
Reply to author
Forward
0 new messages