Google ads api beta remove item from feed

56 views
Skip to first unread message

Simon

unread,
Feb 5, 2020, 10:24:43 AM2/5/20
to AdWords API and Google Ads API Forum

Hey.
I'm trying to remove items from feed with new google ads api beta, but i don't know how to do that.
I have something like that:

feed_item_operation = clinet.get_type('FeedItemOperation', version='v2')
feed_item = feed_item_operation.remove
# What should i write here?


feed_item_service = client.get_service('FeedItemService', version='v2')
response = feed_item_service.mutate_feed_items(customer_id, feed_item)

Google Ads API Forum Advisor Prod

unread,
Feb 6, 2020, 3:24:05 PM2/6/20
to szymo...@sembot.io, adwor...@googlegroups.com

Hello Simon,

Thank you for reaching out. You could use FeedItemService to mutate the feed items via Google Ads API Beta. The MutateFeedItems method will help you perform the remove operation by specifying the resource name of the feed item which is expected to be removed in the below format. Let us know if you need any additional information.

customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UV02Lj:ref
Reply all
Reply to author
Forward
0 new messages