Getting negative keywords added to negative list ,for a specified time ,using change history API

195 views
Skip to first unread message

man...@karooya.com

unread,
Nov 23, 2018, 6:06:00 AM11/23/18
to AdWords API and Google Ads API Forum
I am trying to fetch change history for last 30 days for number of negative keywords added by user.

I am able to fetch the negative keywords  added at campaign level as well as ad group level by using CustomerSyncServiceInterface, source example at below link:

However ,I am unable to fetch the negative keywords added to the shared negative lists .I did create a negative list ,added negative keyword to it and then associated this to campaign.I do see this change under change history from adwords UI ,but I am unable to fetch it using API. 

Is there any way I can get these negative keywords (added to negative list) using an API? 

Thanks in advance. 

Dannison Yao (AdWords API Team)

unread,
Nov 23, 2018, 12:14:35 PM11/23/18
to AdWords API and Google Ads API Forum
Hi,

You can fetch ad group level criteria (includes negative keywords) via the AdGroupCriterionService.get(). As for campaign level, you can use the CampaignCriterionService.get()

As for the CustomerSyncService, the data returned by this service is very limited and the complete information you seek may not be provided by the said service.

Regards,
Dannison
AdWords API Team

man...@karooya.com

unread,
Nov 23, 2018, 2:06:41 PM11/23/18
to AdWords API and Google Ads API Forum
Thanks for reply.
I did explore these two services but I am more interested in getting the timestamp at which they are added.

Both campaigncriterionservice and adgroup criterion service provided me the details of keyword added but the timestamp at which they are added is unknown.

My requirement is to get the negative keywords added in past 30 days only.

Dannison Yao (AdWords API Team)

unread,
Nov 23, 2018, 3:17:37 PM11/23/18
to AdWords API and Google Ads API Forum
Hi Manisha,

Unfortunately, the timestamp information in keywords are currently not supported in the said services. However, you may keep an eye on our blog regarding new features and updates in the AdWords API.

Regards,
Dannison
AdWords API Team

Reply all
Reply to author
Forward
0 new messages