FoPost.Ad (FoPost v0.2.0)

Copy Markdown View Source

A boost or ad created through FoPost. :kind is "boost" or "ad"; :status is what you set ("active" or "paused") and :effective_status is what Meta reports.

Summary

Types

t()

@type t() :: %FoPost.Ad{
  account_id: term(),
  ad_account_id: term(),
  budget_minor: term(),
  budget_type: term(),
  connection_id: term(),
  created_at: term(),
  creative: term(),
  currency: term(),
  effective_status: term(),
  end_at: term(),
  goal: term(),
  id: term(),
  insights: term(),
  insights_at: term(),
  kind: term(),
  last_error: term(),
  name: term(),
  platform: term(),
  raw: term(),
  source_post_id: term(),
  status: term(),
  targeting: term(),
  workspace_id: term()
}