facebook / facebook-nodejs-business-sdk

Node.js SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
489 stars 226 forks source link

Is it possible to filter on Ad Creatives based on updated_at the way we do it in AdSets?? #274

Open vagishfibr opened 7 months ago

vagishfibr commented 7 months ago

Which SDK version are you using? - 19.0.0

What's the issue?

I know that the updated_at field is not present in AdCreatives, but is there a way to filter on adCreatives the way we do it on AdSets, Ads or Campaigns based on updated_at. Example:

await new AdAccount(accountId, undefined, undefined, metaObject).getAdCreatives(fields, params);

where we pass filtering field in params like: filtering: [{ field: 'campaign.updated_time', operator: 'GREATER_THAN', value: {{epochTimeOfPreviousDay}} }],