Hi, Regarding question 2:
If an AdGroup already has sitelinks attached from FeedA but not sitelinks > from FeedB. Should I ADD or SET the operations of FeedB Since you can have only one AdGroupFeed per AdGroup, and a single feedId is an attribute of AdGroupFeed<https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupFeedService.AdGroupFeed#feedId>, it follows that you cannot have sitelinks from two different feeds on the same AdGroup. For question 3: If an AdGroup has sitelinks from FeedB and I want just add another sitelink > from the same feed. Do I have to remap all the sitelinks from FeedB or just > the new one? (According to my tests atm SET will replace any existing > sitelinks from the same Feed, but asking just for clarity). The way you are doing it currently is the correct approach. The feed items used for the ad group are determined by the AdGroupFeed's matching function<https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupFeedService.AdGroupFeed#matchingFunction>, so the correct way to add a new feed item to the AdGroupFeed is to send a SET AdGroupFeedOperation where the operand is your AdGroupFeed with a modified matching function that includes *all* of the feed item IDs. Finally, regarding your question on parsing the SOAP exceptions, could you let me know which language you are using, and whether you are using one of our client libraries<https://developers.google.com/adwords/api/docs/clientlibraries>? Many of the libraries have corresponding types for the various add types in the WSDLs. Cheers, Josh, AdWords API Team On Wednesday, April 16, 2014 6:21:39 AM UTC-4, Paris Theofanidis wrote: > > Answer to first question is NO! An AdGroup cannot be associated to 2 > different Feeds at the same time! > Still looking for the answer to the second question... any indication > would be appreciated. > > On Wednesday, 16 April 2014 12:06:34 UTC+2, Paris Theofanidis wrote: >> >> Hi, we're using the API to automatically generate and update our >> sitelinks. However in some cases our SEM experts want to add/edit sitelinks >> directly from the AdWords tool. >> So, my questions are >> >> >> 1. Can I relate two Feeds on an AdGroup for sitelinks placeholder? >> 2. If an AdGroup already has sitelinks attached from FeedA but not >> sitelinks from FeedB. Should I ADD or SET the operations of FeedB >> 3. If an AdGroup has sitelinks from FeedB and I want just add another >> sitelink from the same feed. Do I have to remap all the sitelinks from >> FeedB or just the new one? (According to my tests atm SET will replace >> any >> existing sitelinks from the same Feed, but asking just for clarity). >> >> Also, another question (irrelevant to the first subject), is there some >> class that can parse the SOAP exceptions and give back meaningful (to code) >> errors list? >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
