API
Settings API
This endpoint is used to update settings such as # of ads returned, display percentages and other attributes programmatically. The API response is sent back in JSON format.
This endpoint requires authentication via an api_key. The api_key should be passed in the query.
Update publisher settings
POST
Params
Query Parameters
api_key
required
String
Your publisher API key
Required Permission: Configuration
Header Parameters
Content-Type
required
String
application/json
Body Parameters
pid
optional
Integer
The ID of the user whose settings are being updated. If this parameter is provided, the logged-in user must be the parent of the user whose settings are being updated.
settings
optional
Object
An object containing the updated settings for the user.

The API response will return the updated settings for the AdsPostX publisher along with an activityLog object that contains details of the update - both the previous and new data, the entity/entities that were updated.
The activityLog object also includes timestamps for when the update was created and updated.
Create sub account from parent.
POST
Params
Query Parameters
api_key
required
String
Your publisher API key
Required Permission: Account Management
copyParentCampaigns
optional
Boolean
If this flag is true, it will copy parent active campaigns to the new account
copyParentSnippets
optional
Boolean
if this flag is true, it will copy all the parent snippets to the new account
Header Parameters
Content-Type
required
String
application/json
Body Parameters
firstname
required
String
User first name
lastname
required
String
User last name
email
required
String
user email (will be used to login)
password
required
String
Password must follow this pattern
(Minimum 8 characters, with at least 1 uppercase, 1 lowercase and 1 number)
organization
required
String
Organization name
username
optional
String
Unique string to identify user.
default value is taken from provided email
mobile
optional
String
mobile number with country code
country
optional
String
Country Name
zipcode
optional
String
zipcode


List Provisioned Campaigns for this account
GET
Params
Query Parameters
api_key
required
String
Your publisher API key
Required Permission: Campaigns Management
page
optional
Number
"1-baed" default 1
per_page
optional
Boolean
records per page;default 25
status
optional
String
Filter records by status
available values : [active, paused, all]
default : all
platform
optional
String
filter by platform
available values: [desktop. phone, tablet]
os
optional
String
filter by os
available values: [windows. android, ios]
browser
optional
String
filter by os
available values: [safari. chrome, mozilla, opera, edge]