We initialize our feed items for our ad customizer feed using our products, but how do we detect and prevent duplicate FeedItems from being generated the next time we run the same script? Right now, the simple solution is to clear (delete) all FeedItems from Google AdWords website before running the script, and if we don't, duplicate FeedItems will be generated each time we run the script. What is the best way to handle multiple/updating/deleting and just managing FeedItems in general?
A query on existing FeedItems returns this: [2] => FeedItem Object ( [feedId] => 41951232 [feedItemId] => 9440760707 [status] => [startTime] => [endTime] => [attributeValues] => Array ( [0] => FeedItemAttributeValue Object ( [feedAttributeId] => 1 [integerValue] => [doubleValue] => [booleanValue] => [stringValue] => 109 [integerValues] => [doubleValues] => [booleanValues] => [stringValues] => ) [1] => FeedItemAttributeValue Object ( [feedAttributeId] => 2 [integerValue] => [doubleValue] => [booleanValue] => [stringValue] => 5 [integerValues] => [doubleValues] => [booleanValues] => [stringValues] => ) [2] => FeedItemAttributeValue Object ( [feedAttributeId] => 3 [integerValue] => [doubleValue] => [booleanValue] => [stringValue] => 10x5 [integerValues] => [doubleValues] => [booleanValues] => [stringValues] => ) [3] => FeedItemAttributeValue Object ( [feedAttributeId] => 4 [integerValue] => [doubleValue] => [booleanValue] => [stringValue] => Clearwater [integerValues] => [doubleValues] => [booleanValues] => [stringValues] => ) [4] => FeedItemAttributeValue Object ( [feedAttributeId] => 5 [integerValue] => [doubleValue] => [booleanValue] => [stringValue] => FL [integerValues] => [doubleValues] => [booleanValues] => [stringValues] => ) ) The Google AdWords page shows "Target ad group" and "Target campaign" for each row of FeedItems, but it's not shown in the FeedItem Object above. Do we know where the targeting info is attached to for each FeedItem Object? Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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. 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/b791ea7d-078d-4878-8b65-aebc323f93cf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.