Tuesday 24 November 2015

Cannot get removed FeedMapping using FeedMappingService

Hi,

Thanks for sending over the IDs. The issue here is that that FeedMapping is actually ENABLED.

        <entries>
          <feedMappingId>34553692</feedMappingId>
          <feedId>31616776</feedId>
          <placeholderType>3</placeholderType>
          <status>ENABLED</status>
        </entries>

So your predicate on Status EQUALS REMOVED is excluding that object.

Cheers,
Josh, AdWords API Team

On Monday, November 23, 2015 at 9:52:55 PM UTC-5, Petter wrote:
Hi Josh,

Please check information of Feed as following:

FeedId = 31616776
FeedMappingId = 34553692

Thanks.

On Tuesday, November 24, 2015 at 12:19:14 AM UTC+7, Josh Radcliff (AdWords API Team) wrote:
Hi,

Could you send me the feed ID or feed mapping ID of the FeedMapping that you are expecting to see in the result?

Thanks,
Josh, AdWords API Team

On Sunday, November 22, 2015 at 8:17:17 PM UTC-5, Petter wrote:
Hi Umesh,

This is selector in my code:

 var selector = new Selector
            {
                fields = new[] { "AttributeFieldMappings", "FeedId", "FeedMappingId", "PlaceholderType", "Status" },
                predicates = new[]
                                 {
                                     new Predicate { field = "PlaceholderType", @operator = PredicateOperator.EQUALS, values = new[] { "3" } },
                                     new Predicate { field = "Status", @operator = PredicateOperator.EQUALS, values = new[] { "REMOVED" } }
                                 }
            };

Thanks.

On Friday, November 20, 2015 at 11:29:49 PM UTC+7, Umesh Dengale wrote:
Hello,

Could you specify the list of fields to select from the FeedMapping in your code?  Please see this link for selector fields available to the FeedMappingService. Please check out Selector document for more details. 

Regards,
Umesh, AdWords API Team.
--
--

No comments:

Post a Comment