Acquisition: Add an AppTracker campaign

Add AppTracker campaign

{action} = add-eat-campaign

Requiered params: 

key:

MobActions Key

name:

Campaign name

begin-date:

Date to start the campaign."yyyy-mm-dd"

end-date:

Date to end the campaign."yyyy-mm-dd"

web-url:

Redirect devices to this URL.

Optional params:

ios-url:

Must be a valid iOS App Store URL. Redirect iOS devices to this URL.

android-url:

Must be a valid Google Play URL. Redirect Android devices to this URL

wp-url:

Must be a valid WP URL

sell-currency:

Currency for sell campaign costs

buy-currency:

Currency for buy campaign costs

comment:

Brief description of the campaign.

Response in Json Array

“status”:

The status of the request. 205 OK, 53X KO.

“response”:

Id of the campaign created. 0 otherwise.

“error”:

Error message if status is 5XX.

Error codes

530:

No begin date on request

531:

No begin date in correct format (yyyy-mm-dd).

532:

No end date on request

533:

No end date in correct format (yyyy-mm-dd).

534:

No name for campaign on request.

535:

No web url on request

536:

Sell currency X is not a valid currency

537:

Buy currency X is not a valid currency

538:

Error creating campaign

Example 

You can use the attached example for testing.

Request:

  • url: https://in.emma.io/API/add-eat-campaign
  • key=MobAction Key
  • name="MyCampaign"
  • enabled="false"
  • begin-date="2016-01-05"
  • end-date="2016-01-06"
  • web-url="www.mycompany.net/landing3"

Response:

  • status:205
  • response:123456
  • error:null
Have more questions? Submit a request

0 Comments

Article is closed for comments.