Updating the campaign feed with status 'ACTIVE' does not seem to work for 
me.

2.0.0-p247 :012 > begin; f.execute(:CampaignFeedService, :mutate, 
[operator: 'SET', operand: { campaign_id: 131834561, feed_id: 3417521, 
status: 'ACTIVE' }]); rescue => e; p e.message; end
Google AdWords: mutate CampaignFeedService
Options:
[{:operator=>"SET", :operand=>{:campaign_id=>131834561, :feed_id=>3417521, 
:status=>"ACTIVE"}}]
"[CampaignFeedError.CANNOT_OPERATE_ON_DELETED_CAMPAIGN_FEED @ 
operations[0].operand; trigger:'Campaign id:CampaignId: 131834561Feed id: 
FeedId{id=3417521}']"



On Thursday, October 10, 2013 10:16:55 PM UTC+8, mm wrote:
>
> Thanks for your reply Paul. In this case, the Campaign is already ACTIVE, 
> and the CampaignFeed is DELETED. When I attempt to SET the status of the 
> CampaignFeed to ACTIVE, I receive the 
> CampaignFeedError.CANNOT_OPERATE_ON_DELETED_CAMPAIGN_FEED error.
>
> Thanks -
> mm
>
> On Wednesday, October 9, 2013 12:20:52 PM UTC-5, Paul Matthews (AdWords 
> API Team) wrote:
>>
>> Hi mm,
>>
>> You should be able to undelete a campaign by performing an update, 
>> changing the status to ACTIVE. Then you should be able to manipulate the 
>> items within the Feed. Essentially re-writing the feed.
>>
>> Regards,
>>
>> - Paul, AdWords API Team.
>>
>> On Thursday, 3 October 2013 22:04:13 UTC+1, mm wrote:
>>>
>>>
>>> Hey guys -
>>> I have a case where I have added some enhanced sitelinks to a campaign. 
>>> Then I went into the adwords UI and disassociated all sitelinks from that 
>>> campaign. Now I want to add a new sitelink to the campaign via the api. I 
>>> have changed both the status to "Active" and the associated feedItemIds to 
>>> a new list, but the operation fails with 
>>> CampaignFeedError.CANNOT_OPERATE_ON_DELETED_CAMPAIGN_FEED. So I thought, 
>>> ok, I'll just change the status, but same thing - 
>>> CampaignFeedError.CANNOT_OPERATE_ON_DELETED_CAMPAIGN_FEED. Lastly I tried 
>>> to just add a new CampaignFeed for that campaign and those sitelinks and 
>>> that fails with CampaignFeedError.CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED.
>>>
>>> So now I am really at a loss - how can I associate a sitelink with a 
>>> Campaign with the api after all previous sitelinks were disassociated via 
>>> the UI?
>>>
>>> Thanks -
>>> mm
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.

Reply via email to