Api Model:AffiliateInvoiceItem

From HasOffers

Required Parameters

  • id
    • Values: (int)
  • invoice_id - Id of affiliate invoice.
    • Values: (int)
  • type - Type of invoice item.
    • Values: stats, adjustment, referrals
  • offer_id - Id of offer. Only required if type is 'stats'.
    • Values: (int)
  • payout_type - payout_type of Offer. Only required if type is 'stats'.
    • Values: cpa_flat, cpa_percentage, cpa_both, cpc, cpm
  • amount - Amount owed to affiliate for offer based on invoice start and end dates.
    • Values: (float)

Other Optional Parameters

  • memo - Text displayed with invoice item to both network and affiliate.
    • Values: (string)
  • impressions - Impressions recorded for affiliate and offer based on invoice start and end dates.
    • Values: (int)
  • clicks - Clicks recorded for affiliate and offer based on invoice start and end dates.
    • Values: (int)
  • conversions - Conversions recorded for affiliate and offer based on invoice start and end dates.
    • Values: (int)
  • revenue - Revenue recorded for affiliate and offer based on invoice start and end dates.
    • Values: (int)
  • sale_amount - Sale Amount recorded for affiliate and offer based on invoice start and end dates.
    • Values: (int)
  • goal_id - Id of goal.
    • Values: (int)

Additional Return Parameters

Read only parameters return with each object.

  • currency - 3 letter Currency code of AffiliateInvoice.
    • Values: (string)
  • offer_name - name of Offer based on offer_id.
    • Values: (string)
  • datetime - Date / time object was created.
    • Values: (timestamp)

 
Email this page to a friend or co-worker