Hi Josh , one question 
because the new way of adding site-links is not available right now i must 
keep using the Feed Services.
 1. Is there any example how to update the campaign matching function with 
the new feedItemId ,
    my logic tells me to retrieve current site feedItemIds associate with 
the wanted campaign and re-add them [ i know its wrong ] it should be 
easier like simple 
    retrieving current CampaignFeeds and just adding the new feedItemId to 
that function.
Anyway i am having huge problems understanding this part , how to retrieve 
current sitelinks - update - add - set...

Sorry for asking maybe my whole task on this question , but i have not 
other place to ask.
Thanks

On Tuesday, March 10, 2015 at 11:39:27 PM UTC+1, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> You can only have one CampaignFeed 
> <https://developers.google.com/adwords/api/docs/reference/v201502/CampaignFeedService.CampaignFeed>
>  
> for a given campaign and placeholder type 
> <https://developers.google.com/adwords/api/docs/appendix/placeholders>. 
> If you want to add new sitelinks to your campaign then you should perform a 
> *SET* operation where you pass the *CampaignFeed* with an updated 
> matchingFunction 
> <https://developers.google.com/adwords/api/docs/reference/v201502/CampaignFeedService.CampaignFeed#matchingFunction>
>  that 
> includes the feed item IDs for the existing sitelinks and the new sitelinks.
>
> I would also recommend switching to the new extension setting services 
> <https://developers.google.com/adwords/api/docs/guides/extension-settings> to 
> manage your ad extensions. These services are much more straightforward 
> than the feed services. For example, you won't have to work with matching 
> functions -- the extension setting services will handle them for you.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, March 10, 2015 at 11:31:51 AM UTC-4, Nikola Jordanovski wrote:
>>
>> Hello,
>> so i am trying to match site-links with my campaign feed:
>> 1. I created a feed - saved it in database
>> 2. Using that data am creating a new feedmaping
>> 3. Now after that i want to create sitelinks for a campaign, after first 
>> using ADD "
>>
>> $operation = new CampaignFeedOperation();
>> $operation->operand = $campaignFeed;
>> $operation->operator = 'ADD';
>>
>> I have success with creating the site-link and matching it with the 
>> campaign.
>> But after that i get the error :
>> - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE -
>> I read somewhere about using SET instead of ADD but that deletes my 
>> current site-links and sets the new one.
>>
>> My question is how to create new site links for a campaign even if i have 
>> sitelinks 
>> attached to the campaign?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c821f190-e148-4051-b6b0-af88ae595a71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to