Hi,

The feedId of a FeedItem is immutable, so the only option is to fetch the 
feed items you want to move, set each one's feedId to the consolidated 
feedId, and pass them back into a FeedItemOperation with operator *ADD*. 
 This does mean that reports will return different feedItemIds and feedIds 
over time.  However, you might be able to work around this if you ignore 
those IDs and instead group your data by *PlaceholderType* and 
*AttributeValues* on the 
PLACEHOLDER_FEED_ITEM_REPORT<https://developers.google.com/adwords/api/docs/appendix/reports#placeholder-feed-item>
.

Cheers,
Josh, AdWords API Team

On Saturday, March 29, 2014 1:38:07 PM UTC-4, Michael Dugan wrote:
>
> *We are on the .Net 201309 api version*
>
> Due to some prior api integration issues, we now have several Feeds all 
> with PlaceholderType Sitelink, all containing many Sitelink FeedItems. 
>  There is now a lot of guess-work involved and it is very difficult to 
> determine under which Feed to Create/Update/Delete sitelinks and to which 
> Feed to tie a Campaign via a CampaignFeed object.  What we would like to do 
> is:
>
> -Move ALL Sitelink FeedItems to one master Sitelink Feed (we would prefer 
> to move them rather than drop/re-create as we don't want to lose existing 
> reporting data).
> -Re-point all CampaignFeed/AdGroupFeed objects to this one Feed (or just 
> drop/re-create as I don't believe this would affect any reporting).
> -Delete the existing Feed objects that now have 0 Sitelink Feed Items.
>
> I tried to move a Sitelink FeedItem to a different feed via the following 
> code snippet:
>
> feedItem.FeedId = ID_OF_MASTER_FEED_HERE;
> var result = feedItemService.mutate(new[]
>                                                     {
>                                                         new 
> FeedItemOperation
>                                                             {
>                                                                 operand = 
> feedItem,
>                                                                 @operator 
> = Operator.SET
>                                                             }
>                                                     });
>
> but the api throws an ITEM NOT FOUND error which tells me that it's 
> checking that the FeedItem is under the supplied FeedId.  Is it possible to 
> move FeedItems around in this fashion and Is there a way to perform this 
> using the api's?
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to