Acquisition: Create an AppTracker Source

Create AppTracker Source

{action} = create-eat-source

 

Requiered params

key:

App MobActions Key

name:

Source name

campaign-id:

Campaign id where source will be included

estimated-mode:

Set the network mode (CPC or CPD). This can’t be changed

 

Optional params

estimated-sell-value:

Initial estimation for the provider in american format for sell costs. By default is 0

estimated-buy-value:

Initial estimation for the provider in american format for buy costs. By default is 0

provider-id:

Provider id. List on Get Providers. By default Custom

type:

One of these values:“AD NETWORKS”, “EMAIL”, “MOBILE APPS”, “MOBILE WEB”, “PRESS”, “QR CODES”, “SOCIAL MEDIA”. By default is used AD NETWORKS

 

Response in Json Array

“status”:

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

“response”:

id => Id of the campaign created. url => Source URL. Null if error

“error”:

Error message if status is 5XX.

 

Error codes

530:

No name for source on request

531:

No campaign id on request

532:

Campaign id not valid

533:

No estimated mode on request

534:

Estimated mode not valid. Allowed modes are CPD, CPC

535:

Type [X] is not a valid type: AD NETWORKS, EMAIL, MOBILE APPS, MOBILE WEB, PRESS, QR CODES, SOCIAL MEDIA.

536:

Estimated sell value is not in american format

537:

Estimated buy value is not in american format

538:

Provider id [X] is not valid

539:

Source not created. Please contact support

 

Example

You can use the attached example for testing.

Request:

  • url: https://in.emma.io/API/create-eat-network
  • key=MobAction Key
  • name="Source Name"
  • estimated-mode="CPD"
  • type="MOBILE APPS"
  • provider-id="100000001"
  • estimated-sell-value="0.125"

Response:

  • status:206
  • response: (id: 5, url:https://eat.emma.io?entw=1241)
  • error:null
Have more questions? Submit a request

0 Comments

Article is closed for comments.