Open shaun10 opened 5 years ago
@shaun10
Also is there a way I can pass generally to avoid the error above?
The best you can do right now is to check our documentation as to which endpoint supports with_deleted
request parameter.
I'm taking your feedback as my TODO but for now, please check our documentation. Thank you for your patience.
I’m passing it like this X.all(account_object, with_deleted=True) with X being the type of object. such as PromotedTweet, MediaCreative, AccountMedia, ImageAppDownloadCard, MediaLibrary, VideoConversationCard, PollCard, WebsiteCard from the SDK. Can you help me understand which of these objects could take this and which couldn’t? Also is there a way I can pass generally to avoid the error above?
With targeting criteria I use TargetingCriteria.all(account_object, line_items_subset_ids, with_deleted=True) as that is not a creative. The non-creative .all methods have a slightly different setup in the SDK.