ChangeStatusResourceType map to UI

80 views
Skip to first unread message

cv

unread,
Dec 31, 2020, 8:16:26 AM12/31/20
to AdWords API and Google Ads API Forum
Hi,

How I can map ChangeStatusResourceType to UI change history page.
I need to get change summary for
Account Changes
Ad Changes
Bid Changes
Budget Changes
Access Changes
Conversion Changes
Keyword Changes
Audience Changes
Network Changes
Status Changes
Targeting Changes
Optimization goal Changes

I can only see following types

'UNSPECIFIED',
'UNKNOWN',
'AD_GROUP',
'AD_GROUP_AD',
 'AD_GROUP_CRITERION',
'CAMPAIGN',
'CAMPAIGN_CRITERION',
'FEED',
'FEED_ITEM',
'AD_GROUP_FEED',
'CAMPAIGN_FEED',
'AD_GROUP_BID_MODIFIER',


Thanks,


Google Ads API Forum Advisor Prod

unread,
Jan 4, 2021, 12:20:44 AM1/4/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

Thanks for posting your concern.

You may refer to this document to see the values in the Change Status that tracks the changes of specific resource type.

However, not all the entity that you have mentioned is supported in the Change Status based on the provided document.

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


ref:_00D1U1174p._5004Q2AGQkb:ref

cv

unread,
Jan 4, 2021, 12:55:57 AM1/4/21
to AdWords API and Google Ads API Forum
Hello Ernie,

I already came across the doc but as you can see It is not in details.

Like Ad group feed or Ad group criterion, How I can decide It is related to which section in UI.

UI has these sections, but I can assume that the above fields is for account, bid, budget or what type of changes?

Account Changes
Ad Changes
Bid Changes
Budget Changes
Access Changes
Conversion Changes
Keyword Changes
Audience Changes
Network Changes
Status Changes
Targeting Changes
Optimization goal Changes
 
Similarly It is for campaign.

Thanks,

Google Ads API Forum Advisor Prod

unread,
Jan 4, 2021, 1:02:02 PM1/4/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

As mentioned in Change Status types section of the documentation, additional resources will be added in future releases. At the moment, the API does not support all change types shown in the UI. There is no current documentation that maps resource types from the API to the change types shown in the UI. However, such changes should be intuitive. For example, an AD_GROUP_AD change in the API relates to 'ad changes' in the UI.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AGQkb:ref

cv

unread,
Jan 5, 2021, 12:06:14 AM1/5/21
to AdWords API and Google Ads API Forum
Hello Matt,

Yes, I can relate AD_GROUP_AD as ad changes but when we can ask for Feed or Criterion changes intuition is not helpful.


Thanks,

Google Ads API Forum Advisor Prod

unread,
Jan 5, 2021, 5:05:00 AM1/5/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

Unfortunately, there is currently no direct mapping that can be used between API change status against the Change History of the UI.

Regarding Feed or Criterion changes, these should already be available via the API. Their details should then be included in the ChangeStatus resource or by querying as discussed here.

If you then wish to retrieve more information regarding the returned resources, you can perform separate get requests using the corresponding services which should support them.

'AD_GROUP_CRITERION', - AdGroupCriterionService
'CAMPAIGN_CRITERION', -  CampaignCriterionService
'FEED', - FeedService  
'FEED_ITEM', - FeedItemService
'AD_GROUP_FEED', - AdGroupFeedService
'CAMPAIGN_FEED', - CampaignFeedService

As for the other types, you may for now follow our blog for any updates or announcements regarding this feature.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AGQkb:ref

cv

unread,
Jan 20, 2021, 7:28:43 AM1/20/21
to AdWords API and Google Ads API Forum
Hi Peter,

I have few queries

1)
I can see that doc suggest here.

The returned resource_type is the field that changed. Any parent fields are also populated. For example, if the ad_group_criterion changed, then the ad_group field will also be populated.
-> Does this means, I can see 2 row for very same change? one ad AdGroup Change and One as criterion change?

How I can identify the same?

2) You said I need to perform another query to get what criterion exactly changed. Does this mean If I need to get criterion what criterion changes I need to perform criterion type query? and if i wanted to get if any bid changed how I can get?

 
Thanks,

Google Ads API Forum Advisor Prod

unread,
Jan 21, 2021, 1:58:34 AM1/21/21
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for your follow up.

For your #1 question, it should be included in the same row. For that row, the change_status.ad_group will be populated as indicator of which ad group the ad group criterion belongs to.

For your #2 question, the services I recommended earlier was for you to be able to retrieve further information of the entities that were changed. However, please note that those services will not return information related to changes, instead, calls to those services should return all available and current fields/values related to the entity.

cv

unread,
Apr 29, 2021, 8:53:20 AM4/29/21
to AdWords API and Google Ads API Forum
Hi,

I can see that 

In this I get values like this

customers/XXX/changeStatus/1611921863586597-3-71dd3957-289ddd3197-4656ddd51506

timestamp = 1611921863586597.


How I can determine the timestamp value? I am using PHP library but this timestamp is not supported by PHP?


Thanks,



Google Ads API Forum Advisor Prod

unread,
Apr 29, 2021, 2:51:36 PM4/29/21
to chirag....@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. You could fetch the last_change_date_time by invoking the ChangeStatusService.GetChangeStatus() to get the timestamp or query the change_status.last_change_date_time from the change_status resource.

Thanks and regards,
Xiaoming, Google Ads API Team

Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AGQkb:ref

Chirag eReportz

unread,
Apr 30, 2021, 12:48:16 AM4/30/21
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Hi Xiaoming,

yes I am already doing it by passing the query as mentioned by you.

But i wanted to know that How I can do process this timestamp
timestamp = 1611921863586597.

This timestamp seems to be some combination or not valid timestamp.

So I need how I can process in PHP this timestamp.

Thanks,

Reply all
Reply to author
Forward
0 new messages