Hi,
I am using the adwords api v201406 (I know there is a newer version) to generate campaigns, adgroups and so on.
For these campaigns I will add sitelinks. To ADD the sitelinks it works fine.
But sometimes I would like delete sitelinks and add new sitelinks in these campaigns. And this is my problem.
For my coding I use the examples from the PHP Library /AdvancedOperations/UpdateSitelinks.php and AddSitelinks.php.
So first I create a SitelinksFeed and then SitelinksFeedItems (my sitelinks for the campaigns) in the feed.
Then I create a SitelinksFeedMapping and put it with the SitelinksCampaignFeed into my campaign. This works.
But what I have to do to delete and add sitelinks in the same SitelinksCampaignFeed?
By generating the feed I store the feeds id getting from the api, and when putting a new sitelink in the feed, I use these id.
But I always get the errors
CampaignFeedError.FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE @ operations[0].operand.placeholderTypes;
CampaignFeedError.CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED @ operations[0].operand;
I think I had to use the feed, but there is the message that the feed exists.
And how to delete the campaign feed and add a new?
Is there any tutorial which helps me to add sitelinks in an existing SitelinksCampaignFeed?
Thank you. I hope you will understand my Problem.
Greetings from Germany,
Christian