Api Model:AdvertiserInvoice

From HasOffers

Required Parameters

  • id
    • Values: (int)
  • advertiser_id - Id of advertiser.
    • Values: (int)
  • start_date - Start date.
    • Values: (date)
  • end_date - End date.
    • Values: (date)
  • status
    • Values: active, deleted

Other Optional Parameters

  • memo - Text displayed with invoice to both network and advertiser.
    • Values: (string)
  • notes - Text displayed with invoice only for network.
    • Values: (string)
  • is_paid - Flag set if invoice has been paid.
    • Values: 0, 1
  • currency - 3 letter Currency code.
    • Values: (string)

Additional Return Parameters

Read only parameters return with each object.

  • datetime - Date / time object was created.
    • Values: (timestamp)
  • amount - Total invoice amount. Computed from summing amount from all associated in invoice items.
    • Values: (int)
  • impressions - Total number of invoice impressions. Computed from summing impressions from all associated in invoice items.
    • Values: (int)
  • clicks - Total number of clicks. Computed from summing clicks from all associated in invoice items.
    • Values: (int)
  • conversions - Total number of invoice conversions. Computed from summing conversions from all associated in invoice items.
    • Values: (int)
  • payout - Total invoice payout. Computed from summing payout from all associated in invoice items.
    • Values: (int)
  • sale_amount - Total sale amount. Computed from summing sale_amount from all associated in invoice items.
    • Values: (int)

 
Email this page to a friend or co-worker