Hello, I tried to implement it like you said. Requesting AttributeValues is 
only for testing, we just want to test that we can request Sitelinks in 
general. The campaign we use for testing has for sure upgraded sitelinks. 
Unfortunately, every time we start the request, the result is null 
(feedItems.getEntries). We tried with FeedMappingService too.

We assume that maybe the FeedItemId is not the CampaignId, which we use for 
requesting. But which field represents the campaign id? Or isn't it 
possible to request the sitelinks by campaignId?

It would be very nice if you could give us a hint. We also tried to use an 
"empty selector", but we always got error messages that a selector was 
required or should contain fields, etc...
Here is the code:

FeedItemServiceInterface feedItemService = 
adSession.getService(AdWordsService.V201302.FEED_ITEM_SERVICE);
Selector selector = new Selector();
selector.setFields(new String[]
{
"AttributeValues"
//"AttributeValues", "DevicePreference", "EndTime", "FeedId", "FeedItemId", 
"Scheduling", "StartTime", "Status", "ValidationDetails"
});
final Predicate predicate = new Predicate("FeedItemId",
PredicateOperator.IN,
new String[]
{
campaignId.toString()
});
selector.setPredicates(new Predicate[]
{
predicate
});
 FeedItemPage feedItems = feedItemService.get(selector);
Thank you very much!!!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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/groups/opt_out.


Reply via email to