Hi Giles,

Stacie is absolutely correct -- the proper way to delete a FeedItem is to 
pass it in a REMOVE operation to FeedItemService.mutate 
<https://developers.google.com/adwords/api/docs/reference/v201406/FeedItemService#mutate>.
 
You can also update the FeedItem's attribute values if you prefer that 
approach, as Stacie mentioned.

Regarding *CustomerSyncService*, I just tried removing a FeedItem on a test 
account and a non-test account. On the test account, *CustomerSyncService* was 
not returning any FeedChangeData.removedFeedItems 
<https://developers.google.com/adwords/api/docs/reference/v201406/CustomerSyncService.FeedChangeData#removedFeedItems>,
 
but on the non-test account, *CustomerSyncService* returned the expected 
feed item IDs in its FeedChangeData.removedFeedItems 
<https://developers.google.com/adwords/api/docs/reference/v201406/CustomerSyncService.FeedChangeData#removedFeedItems>
.

*Stacie* - were you trying this out on a test account, by any chance?

One tip: don't forget to specify the feed IDs in your CustomerSyncSelector 
<https://developers.google.com/adwords/api/docs/reference/v201406/CustomerSyncService.CustomerSyncSelector#feedIds>
 (I 
missed that myself the first time!).

Cheers,
Josh, AdWords API Team

On Friday, July 25, 2014 10:49:58 AM UTC-4, Giles Bodger wrote:
>
> Thanks again for that Stacie - 
>
> I wonder if any of the AdWords Engineers can help on this ?
>
> If there is a limit set on the number of FeedItems on an account then 
> surely there MUST be a way to delete a FeedItem.
>
> Can one of the engineers assist and then explain how in a follow up sync i 
> would see the deletion / removal ?
>
> cheers
>
> On Friday, July 25, 2014 3:41:39 PM UTC+1, Stacie Waleyko wrote:
>>
>> No problem. I just tried removing a feed item and making a call to 
>> CustomerSyncService. I was surprised to see the feed item id was not in the 
>> list of deleted/removed feed items (the response actually didn't even have 
>> a list of removedFeedItems). I even tried deleting the campaign feed and it 
>> still wasn't returned in the list. If you can't get it to work I recommend 
>> making a GET call to FeedItemService to get the status of the feed items. 
>> The selector takes a dateRange (but not dateTimeRange like 
>> CustomerSyncService). Good luck!
>>
>> On Friday, July 25, 2014 3:04:57 AM UTC-7, Giles Bodger wrote:
>>>
>>> Thanks for that Stacie - 
>>>
>>> can I presume that any FeedItem that I set to "REMOVE" will then pre 
>>> present in the next CustomerSyncService's  FeedChangedData object's 
>>> deletedFeedItems collection ?
>>>
>>> many thanks in advance :)
>>>
>>> On Thursday, July 24, 2014 2:46:05 PM UTC+1, Stacie Waleyko wrote:
>>>>
>>>>
>>>> Hi Giles,
>>>>
>>>> Have you tried sending a mutate request to FeedItemService with the 
>>>> REMOVE operation? I don't think the API counts REMOVED items towards the 
>>>> limit.
>>>>
>>>> Stacie
>>>>
>>>> On Thursday, July 24, 2014 2:13:04 AM UTC-7, Giles Bodger wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> is there any way to delete a Sitelink or indeed ANY FeedItem from a 
>>>>> Feed ??
>>>>>
>>>>> Our integration will potentially want to be removing and adding new 
>>>>> Sitelinks VERY frequently as market forces on our business model dictate. 
>>>>> I 
>>>>> know there is a 250,000 limit on the number of FeedItems associated with 
>>>>> an 
>>>>> account and believe it or not, this could be within reach if we are not 
>>>>> able to actually delete a FeedItem.
>>>>>
>>>>> I read here 
>>>>> <https://www.en.adwords-community.com/t5/Advanced-Features/Sitelink-extensions-how-to-delete/td-p/138164>
>>>>>  
>>>>> - see the post by AdWordsEng-Igor from 12-09-2013 06:21AM - that there is 
>>>>> NO way to delete a FeedItem
>>>>>
>>>>> So if we wanted to change a Sitelink, would we simply change the URL 
>>>>> or Text on a specific FeedItem ID as opposed to deleting the old one and 
>>>>> adding a new one ?
>>>>>
>>>>> That would seem logical - BUT is there a way, if we wanted, to delete 
>>>>> a sitelink from a feed??
>>>>>
>>>>> many thanks in advance
>>>>>
>>>>> Giles
>>>>>
>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to