FeedService returns status REMOVED for 26652541 but AdGroupFeedService 
returns ENABLED which is causing my code to think there's an active feed it 
doesn't know about. 

   1. does my feed deletion need to also delete it at the ad group level 
   even tho it's the same object?
   2. is there any way to restrict AdGroupFeedService from returning these 
   removed feeds (the request already has
    {field: 'Status', operator: 'EQUALS', values: ['ENABLED']}
   
   
FeedService result
{:total_num_entries=>4, :page_type=>"FeedPage", 
:entries=>[
  {:id=>26652541, :name=>"CA-Scion Sitelink Feed", :attributes=>[{:id=>1, :
name=>"Link Text", :type=>"STRING", :is_part_of_key=>false}, {:id=>2, :name
=>"Final URL", :type=>"URL_LIST", :is_part_of_key=>false}, {:id=>3, 
:name=>"Line 
1 Description", :type=>"STRING", :is_part_of_key=>false}, {:id=>4, :name=>"Line 
2 Description", :type=>"STRING", :is_part_of_key=>false}, {:id=>5, :name=>
"SitelinkFinalMobileUrls", :type=>"URL_LIST", :is_part_of_key=>false}, {:id
=>6, :name=>"SitelinkTrackingUrl", :type=>"URL", :is_part_of_key=>false}], :
status=>"REMOVED"}, 
  {:id=>51878331, :name=>"CA-Scion-English-SitelinkFeed", :attributes=>..
elided.., :status=>"ENABLED"}, 
  ..]}

AdGroupFeedService request

{"fields":["FeedId","MatchingFunction","PlaceholderTypes","Status"],
"predicates":[{"field":"AdGroupId","operator":"EQUALS","values":[17202048796
]},{"field":"Status","operator":"EQUALS","values":["ENABLED"]}]}

result:
{"total_num_entries":1,"page_type":"AdGroupFeedPage","entries":[{"feed_id":
26652541,"ad_group_id":17202048796,"matching_function":{"operator":"IN",
"lhs_operand":[{"function_argument_operand_type":"RequestContextOperand",
"context_type":"FEED_ITEM_ID","xsi_type":"RequestContextOperand"}],
"rhs_operand":[{"function_argument_operand_type":"ConstantOperand","type":
"LONG","unit":"NONE","long_value":5904801232,"xsi_type":"ConstantOperand"},{
"function_argument_operand_type":"ConstantOperand","type":"LONG","unit":
"NONE","long_value":5904801235,"xsi_type":"ConstantOperand"},{
"function_argument_operand_type":"ConstantOperand","type":"LONG","unit":
"NONE","long_value":5904801238,"xsi_type":"ConstantOperand"},{
"function_argument_operand_type":"ConstantOperand","type":"LONG","unit":
"NONE","long_value":5904801241,"xsi_type":"ConstantOperand"}],
"function_string":
"IN(FEED_ITEM_ID,{5904801232,5904801235,5904801238,5904801241})"},
"placeholder_types":[1],"status":"ENABLED"}]}


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/923ef707-63bd-4e35-9f5d-8ad3ed97b5d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • feed st... Don Mitchell
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to