Active Campaigns

API Endpoints

List of active campaign

Return list of activated Campaign

GET http://api.tyrads.com/publisher/campaigns

Example:

API References

Campaign

AttributeTypeDescription

campaignId

integer

Campaign ID

campaignName

string

Campaign name

campaignDescription

string

Campaign description

status

string

Campaign status active, paused, or suspended

reportingCampaignName

string

Campaign name used within the MMP (Mobile Measurement Partner)

app

The advertiser app of the campaign

currency

The currency of the campaign

kpis

array of Campaign KPI

The KPIs (Key performance indicator) of the campaign

payoutEvents

array of PayoutEvent

The payout events of the campaign

publisherBudgets

The specific budgets for you as a publisher of a specific campaign

tracking

The tracking of the campaign with the MMP (Mobile Measurement Partners) Links

targeting

The targeting of the campaign

creative

The creatives of the campaign

Campaign App

AttributeTypeDescription

id

integer

Internal App ID

title

string

App Title from the appstore page

packagename

string

Application package name

rating

float

Rating from the appstore page

shortDescription

string

Short description from the appstore page

store

string

The store name of the application apple or googlePlay

storeCategory

string

Application category on store

previewUrl

string

The preview URL of the app from the appstore

thumbnail

string

The thumbnail URL of the app from the appstore

Campaign Currency

AttributeTypeDescription

name

string

Currency name

symbol

string

Currency symbol

Campaign KPI

AttributeTypeDescription

id

integer

The ID of the KPI

kpiType

string

The type of the KPI Soft, Hard, or Conditional

  • Soft: Soft KPI are KPI's that are not payment related but need to achieved to keep the campaign active.

  • Hard: HARD KPI's are related to payment if not achieved payment is not made.

  • Conditional: Conditional Hard KPI's are KPI's that will payout a % of the amount based on the criteria.

eventType

string

The type of the KPI event ROI, Retention or Event

eventName

string

The name of the event to measure the KPI on.

rule

The rule of the KPI

KPI Rule

AttributeTypeDescription

rule

string

The operator of the KPI rule Less Than, More Than, or Between

criteriaFirst

string

The first criteria of the KPI rule, only used for Conditional Hard KPI's

criteriaFirst

string

The second criteria of the KPI rule to combine with firstCriteria only if rule is Between only used for Conditional Hard KPI's

goal

string

The goal of the KPI rule mianly used for SOFT and HARD KPI's

unit

string

The unit of the KPI rule % or $

days

integer

The day the KPI will be avaluated for the performance to obtain if it was succesfull.

payout

float

The percentage of the payout when the criteria is met. Only used for Conditional Hard KPI's

Payout Event

AttributeTypeDescription

id

integer

The ID of the event

indentifier

string

The unique identifier of the event

eventOrder

integer

The order of the event

eventName

string

The name of the event

eventCategory

string

The category name of the event

payoutAmount

float

The payout amount of the event

payoutTypeId

integer

The payout type ID of the event

payoutType

string

The payout type name of the event

allowDuplicateEvents

boolean

If true the duplicate event will count

minTime

interger

The minimum time amount of the event to be count

minTimeMetric

string

The minimum time metric seconds, minutes, hours, or days

maxTime

interger

The maximum time amount of the event to be count

maxTimeMetric

string

The maximum time metric seconds, minutes, hours, or days

enforceEventOrder

boolean

If true the event need to follow the orderEvent to be count

enforceMinTimeCompletion

boolean

If true the event need to follow the minTime and minTimeMetric to be count

enforceMaxTimeCompletion

boolean

If true the event need to follow the maxTime and maxTimeMetric to be count

everflowAdvertiserEventId

boolean

The ID of everflow advertiser event

Publisher Budget

AttributeTypeDescription

id

integer

Budget ID

budget

The type of budget, click, conversion, revenue and payouts budgets

dailyBudget

integer

Budget limit per day

weeklyBudget

integer

Budget limit per week

monthBudget

integer

Budget limit per month

globalBudget

integer

Total Budget limit without time limit

isActive

boolean

Budget active status

Publisher Budget Type

AttributeTypeDescription

id

integer

Budget type ID

name

string

Budget type name

Campaign Tracking

AttributeTypeDescription

id

integer

Campaign tracking ID

attributionTool

string

Attribution tool of the campaign Appsflyer, Adjust, Branch, Singular, or Other

impressionUrl

string

Campaign tracking URL for impression

clickUrl

string

Campaign tracking URL for click

Campaign Targeting

AttributeTypeDescription

os

string

The OS target of the campaign Android or iOS

countries

array of Country

List of countries to target for the campaign

demographics

array of Demographic

List of demographics to target for the campaign

targetingType

string

The traffic targeting type of the campaign incent, non-incent or both

reward

The reward of the campaign if targetingType is incent or both

Country

AttributeTypeDescription

id

integer

Country ID

iso

string

Country ISO code

Demographic

AttributeTypeDescription

id

integer

Target demographic ID

category

string

Target demographic category gender or age-group

target

string

Depend on the value of category Options for gender:

  • Male

  • Female

Options for age-group:

  • 12 to 17

  • 18 to 24

  • 25 to 34

  • 35 to 44

  • 45 to 54

  • 55 to 64

  • 65+

Targeting Reward

AttributeTypeDescription

rewardDifficulty

string

The difficulty of the reward Easy, Medium, or Hard

incentRewardDescription

string

The description of the reward

Campaign Creative

AttributeTypeDescription

creativeUrl

string

The creative URL to download all the creatives

creativePacks

array of Creative Pack

List of creative packs

Creative Pack

AttributeTypeDescription

creativePackName

string

The creative pack name

languageName

string

The language of the creative pack

languageCode

string

The language code of the creative pack

creatives

array of Creative

List of creatives within the creative pack.

Creative

AttributeTypeDescription

creativeName

string

The creative name

callToAction

string

The text of the ad button for the Call to Action (CTA)

byteSize

string

The size of the creative file in bytes

fileUrl

string

The URL of the creative file

duration

string

The duration of the ad (mainly used for video creatives)

creativeType

The type of the creative

Creative Type

AttributeTypeDescription

name

string

The creative type name

type

string

The creative file type images or videos

width

string

The width of the creative in pixel

height

string

The height of the creative in pixel

creativeCategoryType

string

The category type of the creative. Currently, there is only one: Native

Last updated