Api Model:AdvertiserInvoiceItem

From HasOffers

Required Parameters

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

Other Optional Parameters

  • memo - Text displayed with invoice item to both network and advertiser.
    • Values: (string)
  • impressions - Impressions recorded for advertiser and offer based on invoice start and end dates.
    • Values: (int)
  • clicks - Clicks recorded to advertiser's offer based on invoice start and end dates.
    • Values: (int)
  • conversions - Conversions recorded for advertiser and offer based on invoice start and end dates.
    • Values: (int)
  • payout - Payout recorded for advertiser and offer based on invoice start and end dates.
    • Values: (int)
  • sale_amount - Sale Amount recorded for advertiser 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 AdvertiserInvoice.
    • Values: (string)
  • offer_name - name of Offer based on offer_id.
    • Values: (string)
  • datetime - Timestamp containing date and time invoice item was created
    • Values: (timestamp)

 
Email this page to a friend or co-worker