How to know when a campaign status is changed.

119 views
Skip to first unread message

Muhammad Murtza

unread,
Aug 22, 2023, 3:00:23 AM8/22/23
to Google Ads API and AdWords API Forum
Hello google ads team,
Is there a way to know whenever a google campaign status is changed via some callback or webhook url? Because else will have to periodically get campaign and check its status.

Regards,
M Murtaza

Google Ads API Forum Advisor

unread,
Aug 22, 2023, 5:03:23 PM8/22/23
to muhammad...@gmail.com, adwor...@googlegroups.com

Hello M Murtaza,

Thanks for reaching out to the Google Ads API Forum.

Kindly note that the Change Status provides a means to keep track of which resources have changed within an account over a given time period. If a resource had multiple changes during your given time period, then only the latest change is returned. 

You can then determine if you need to sync your local database values with those that have changed within the time period.

For example, if during a given time period you add and then update a given campaign, only the change status for the UPDATE and not for the ADD operation is returned. If you move the end of the timeframe to before the update, then you would see the ADD operation.

If you want the complete field-by-field results with a detailed view similar to the Change History web page, you may see Change Event.

For the reporting, you may refer to guide here https://developers.google.com/google-ads/api/docs/reporting/overview 

This message is in relation to case "ref:_00D1U1174p._5004Q2o7Eyd:ref"

Thanks,
 
Google Logo Google Ads API Team

 



Reply all
Reply to author
Forward
0 new messages