Api Model:AdCampaign

From HasOffers

Required Parameters

  • id
    • Values: (int)
  • name
    • Values: (string)
  • type - Type of campaign to create. Text campaigns can only contain text creatives, but can be displayed using a java script ad tag with no specific height and width. Banner campaigns are limited to a specific high and width, but can contain images, flash banners, and third party ad tags.
    • Values: banner, text
  • height - Only required for campaigns with the type parameter 'banner'. Specifics height used to display the ad tag.
    • Values: (int)
  • width - Only required for campaigns with the type parameter 'banner'. Specifics width used to display the ad tag.
    • Values: (int)
  • interface - Type of account to attached campaign.
    • Values: affiliate, network
  • account_id - Id of affiliate if interface parameter is 'affiliate' or blank if interface parameter is 'network'.
    • Values: (int)
  • status
    • Values: active, paused, deleted

Other Optional Parameters

  • affiliate_access - Enable affiliates to access campaigns created for the network. (interface parameter is set to 'network'.)
    • Values: 0, 1
  • optimization - Enable creatives contained in campaign to be displayed based on performance.
    • Values: 0, 1
  • optimization_field - Field used to optimize creatives.
    • Values: ctr, rpm,cr, rpc, profit

Additional Return Parameters

Read only parameters return with each object.

  • modified - Date / time object was last modified.
    • Values: (timestamp)

 
Email this page to a friend or co-worker