Hi,

You can only have one CampaignFeed per campaign/feed combination -- the 
placeholder type list on each CampaignFeed is not part of the unique key 
for those objects.

You can create a single CampaignFeed with multiple placeholder types and a 
matching function containing all of the feed item IDs, but as you pointed 
out, this has its limitations.  Since you'll have multiple sitelinks but 
probably only one phone number, you'll need to either:

a. Populate the phone number attribute on every feed item
b. Create a separate phone number feed and corresponding CampaignFeed

A more likely scenario for sharing the same Feed would be if you had a 
single app and a single phone number for each campaign (or ad group).  In 
that scenario, you could:

1. Create a single feed that contains all of the attributes for App and 
Call placeholders
2. Populate all of the values on the single feed item you create for each 
campaign (or ad group)
3. Create a single CampaignFeed (or AdGroupFeed) with both placeholder 
types and a matching function that contained the single feed item ID for 
the campaign (or ad group)

In other words, if you have the same number of feed items for multiple 
placeholder types, then sharing the same Feed will work as expected.  If 
instead you'll have a different number of items for each placeholder type, 
you are probably better off creating a separate feed for each placeholder 
type.  You could still use a single feed per placeholder type across all of 
the campaigns and ad groups in your account -- you would just use different 
feed items for each campaign or ad group.

Cheers,
Josh, AdWords API Team

On Friday, April 11, 2014 3:01:57 PM UTC-4, i...@d2cmedia.ca wrote:
>
> I am trying to find the best way to map a single Feed to one or more 
> campaigns for sitelinks and placeholder types, but with a different 
> matchingFunciton for sitelinks and for call extension.
>
> e.g.
> Feed is mapped to 2 placeholder types
> FeedItems
> id:1 link1 phone1
> id:2 link2 phone1
> id:3 link3 phone1
>
> CampaignFeed placeholderType sitelinks function itemID IN (1,2,3) 
> CampaignFeed placeholderType call function itemID IN (1 ) 
>
>
> Right now I have CampaignFeed PlaceholderType ( sitelinks, call ) but I 
> have 4 links to each 1 phone number because the criteria is the same for 
> both placeholdertypes. If I try to add the same feed to the same campaign 
> with a different placeholder type, I get this:
>
> Campaign id:CampaignId: 199097903, Feed id: 11679503
> CampaignFeedError.CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED
>
> Do I simply need to create a second Feed? Or can I populate a Feed with 
> blank attributes and still map it to the other placeholder type? I get 
> blank/deleted boxes in the adwords admin.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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