Regarding DELETE FLG



Hi team,

Is there a case ‘DELETE FLG’ is ‘true’ when ‘ENTITY_STATUS’ is ‘ACTIVE’ or ‘DRAFT’?


Good question, @akikom. Yes, this is possible. The entity_status attribute only deals with whether the entity is paused (or draft). The deleted attribute shows whether or not the entity has been deleted.

  "data": {
    "bid_type": "MAX",
    "advertiser_user_id": 756201191646691328,
    "name": "Untitled",
    "placements": [],
    "start_time": null,
    "bid_amount_local_micro": 100000,
    "automatically_select_bid": false,
    "advertiser_domain": null,
    "target_cpa_local_micro": null,
    "primary_web_event_tag": null,
    "charge_by": "ENGAGEMENT",
    "product_type": "PROMOTED_TWEETS",
    "end_time": null,
    "bid_unit": "ENGAGEMENT",
    "total_budget_amount_local_micro": null,
    "objective": "TWEET_ENGAGEMENTS",
    "id": "61s4n",
    "entity_status": "ACTIVE",
    "account_id": "18ce54d4x5t",
    "optimization": "DEFAULT",
    "categories": [],
    "currency": "USD",
    "created_at": "2016-08-24T05:17:13Z",
    "tracking_tags": [],
    "updated_at": "2018-09-15T05:34:19Z",
    "include_sentiment": "POSITIVE_ONLY",
    "campaign_id": "5st8k",
    "creative_source": "MANUAL",
    "deleted": true
  "request": {
    "params": {
      "line_item_id": "61s4n",
      "account_id": "18ce54d4x5t"