We had some success. First we use FeedMappingService (without predicates) and if placeholdertype==1 we use FeedItemService and then we get every sitelinks with their attributes (like url and name) for every campaign. With CampaignFeedService we are able to retrieve all campaigns and their matching functions. There we select the campaign we want to have.
Now we'd like to know if we have FeedItems which belong to this campaign. We guess that this can be achieved by using the matching function, like james said - only that the usage is not very easy to understand. But so far everything james metioned was correct, so thank you very much! We will now try to use the matchingFunction. We saw some examples, but they did not help much :-) If anybody has already tried this out, a snippet would be great :-) Am Donnerstag, 4. Juli 2013 16:54:56 UTC+2 schrieb [email protected]: > > Hello, > > we use Adwords API 201302 and we are wondering how to retrieve and modify > upgraded sitelinks with the new FeedServices. > > If we have a campaignId, how can we get all the Sitelinks for this > campaignId including some more information like e.g. destinationUrl, > displayText, campaignName, extensionId and sitelinksIndex. > Shall we use the CampaignFeedService for this? (I read something about > AdGroupFeedService too, but I believe sitelinks are retrieved with > CampaignFeedService?) > > And how can we then modify the sitelink with the API? > Using CampaignFeedService.mutate? Or do we need to remove the old sitelink > and to add the new one? (Before, we used CampaignAdExtensionService...) > > Is there any example of it? We only found examples for adding new > sitelinks. Do we need to make any more calls (with other Services) to > achieve what we want to do? Like creating first a FeedService and a > FeedItemService - some of the examples used them before adding new > sitelinks, but we don't know if we need it for already existing sitelinks > which we just want to modify... > > An answer would be great, thank you! > > A. Bregas > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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/groups/opt_out.
