Method | Description | |
---|---|---|
closeSession ( string $connectId ) : boolean | Closes OAuth user session | |
createAdspace ( string $name, string $language, string $url, string $contact, string $description, string $adspaceType, array $scope, integer $visitors, integer $impressions, string $keywords = NULL, array $regions = [], array $categories = [], integer $checkNumber ) : object | Create advertising space (signature). | |
createApplication ( string $name = NULL, string $version = NULL, integer $adrank, string $tags = NULL, integer $status, boolean $mediaSlotCompatible = false, boolean $inline = false, string $integrationCode = NULL, string $integrationNotes = NULL, string $description = NULL, string $terms = NULL, string $connectRole = NULL, string $connectId = NULL, string $connectStatus = NULL, string $connectUrl = NULL, string $cancelUrl = NULL, string $documentationUrl = NULL, string $companyUrl = NULL, string $developer = NULL, float $pricingShare, float $pricingSetup, float $pricingMonthly, string $pricingCurrency = NULL, string $pricingDescription = NULL, string $startDate = NULL, string $modifiedDate = NULL, string $installableTo = NULL, string $applicationType = NULL, integer $width = NULL, integer $height = NULL, string $format = NULL, string $technique = NULL, string $logoUrl = NULL, string $previewUrl = NULL ) : object | Create an application | |
createMediaSlot ( string $name, integer $adspaceId, string $applicationId, string $status, integer $width, integer $height, string $format = NULL, string $createDate = NULL, string $modifiedDate = NULL ) : object | Get media slot. | |
createProgramApplication ( integer $programId, integer $adspaceId ) : boolean | Create program application for a given adspace. | |
createSetting ( integer $applicationId, integer $mediaslotId = NULL, string $key, string $value, string $customValue, string $type = NULL, string $name = NULL, string $description = NULL ) : object | Create setting | |
deleteAdspace ( integer $adspaceId ) : boolean | Removes advertising space. | |
deleteApplication ( integer $applicationId ) : boolean | Delete application. | |
deleteMediaSlot ( integer $mediaslotId ) : object | Delete media slot. | |
deleteProgramApplication ( integer $programId, integer $adspaceId ) : boolean | Delete program application. | |
deleteSetting ( integer $applicationId, string $mediaslotId, string $key ) : object | Delete setting | |
getAdmedia ( integer $programId = NULL, string $region = NULL, string $format = NULL, string $partnerShip = NULL, string $purpose = NULL, string $admediumType = NULL, integer $categoryId = NULL, integer $adspaceId = NULL, integer $page, integer $items = 10 ) : object | done | |
getAdmedium ( integer $admediumId, integer $adspaceId = NULL ) : object | done | |
getAdmediumCategories ( integer $programId ) : object | done | |
getAdspace ( integer $adspaceId ) : object | Returns a single advertising spaces. | |
getAdspaces ( integer $page, integer $items = 10 ) : object | Returns all advertising spaces. | |
getApplication ( integer $applicationId ) : object | Get single application. | |
getApplications ( string $name = NULL, integer $width = NULL, integer $height = NULL, string $format = NULL, string $role = NULL, string $applicationType = NULL, integer $page, integer $items ) : object | Get applications. | |
getBalance ( integer $currency ) : object | Get account balance | |
getBalances ( integer $page, integer $items = 10 ) : object | Get currency account balances. | |
getBankAccount ( integer $bankAccountId ) : object | Get single back account. | |
getBankAccounts ( integer $page, integer $items = 10 ) : object | Get back accounts. | |
getExclusiveIncentive ( integer $incentiveId, integer $adspaceId = NULL ) : object | Get single exclusive incentive. | |
getIncentive ( integer $incentiveId, integer $adspaceId = NULL ) : object | Get single incentive. | |
getLead ( integer $leadId ) : object | Get single sale item. | |
getLeads ( string $date, string $dateType = NULL, integer $programId = NULL, integer $adspaceId = NULL, array $reviewState = NULL, integer $page, integer $items = 10 ) : object | Get leads report. | |
getMediaSlot ( $mediaSlotId ) : object | Get media slots. | |
getMediaSlots ( integer $adspaceId, integer $width, integer $height, string $format = NULL, integer $page, integer $items ) : object | Create media slots. | |
getOfflineSession ( $offlineToken ) : object | Returns new offline user session | |
getPayment ( integer $paymentId ) : object | Get a single payment item. | |
getPayments ( integer $page, integer $items = 10 ) : object | Get payment transactions of the current zanox account. | |
getProduct ( string $productId, integer $adspaceId = NULL ) : object | done | |
getProductCategories ( integer $rootCategory, boolean $includeChilds = false ) : object | done | |
getProfile ( ) : object | Return zanox user profile. | |
getProgram ( integer $programId ) : object | done | |
getProgramApplications ( integer $adspaceId = NULL, integer $programId = NULL, string $status = NULL, integer $page, integer $items = 10 ) : object | done | |
getProgramCategories ( ) : object | done | |
getProgramsByAdspace ( integer $adspaceId, integer $page, integer $items = 10 ) : object | TODO: probably needs to be removed | |
getReportBasic ( string $fromDate, string $toDate, string $dateType = NULL, string $currency = NULL, integer $programId = NULL, integer $admediumId = NULL, integer $admediumFormat = NULL, integer $adspaceId = NULL, string $reviewState = NULL, string $groupBy = NULL ) : object | Get basic sales/leads report. | |
getSale ( integer $saleId ) : object | Get single sale item. | |
getSales ( string $date, string $dateType = NULL, integer $programId = NULL, integer $adspaceId = NULL, array $reviewState = NULL, integer $page, integer $items = 10 ) : object | Get sales report. | |
getSession ( string $authToken ) : object | Returns new OAuth user session | |
getSetting ( integer $applicationId, integer $mediaslotId = NULL, key $key ) : object | Get single setting. | |
getSettings ( integer $applicationId, integer $mediaslotId = NULL, integer $page, integer $items ) : object | Get settings. | |
getTrackingCategories ( integer $adspaceId, integer $programId, integer $page, integer $items = 50 ) : object | Get tracking categories for ad space; if not program member, returns program's default categories | |
getUiUrl ( string $connectId, string $sessionKey ) : string | Get zanox User Interface Url | |
searchExclusiveIncentives ( integer $programId = NULL, integer $adspaceId = NULL, string $incentiveType = NULL, string $region = NULL, integer $page, integer $items = 10 ) : object | Search for exclusive incentives. | |
searchIncentives ( integer $programId = NULL, integer $adspaceId = NULL, string $incentiveType = NULL, string $region = NULL, integer $page, integer $items = 10 ) : object | Search for incentives. | |
searchProducts ( string $query, string $searchType = 'phrase', string $region = NULL, integer $categoryId = NULL, array $programId = [], boolean $hasImages = true, float $minPrice, float $maxPrice = NULL, integer $adspaceId = NULL, integer $page, integer $items = 10 ) : object | done | |
searchPrograms ( string $query = NULL, string $startDate = NULL, string $partnerShip = NULL, boolean $hasProducts = false, string $region = NULL, string $categoryId = NULL, integer $page, integer $items = 10 ) : object | done | |
updateAdspace ( integer $adspaceId, string $name, string $language, string $url, string $contact, string $description, string $adspaceType, array $scope, integer $visitors, integer $impressions, string $keywords = NULL, array $regions = [], array $categories = [], integer $checkNumber ) : object | Update advertising space. | |
updateApplication ( integer $applicationId, string $name = NULL, string $version = NULL, integer $adrank, string $tags = NULL, integer $status, boolean $mediaSlotCompatible = false, boolean $inline = false, string $integrationCode = NULL, string $integrationNotes = NULL, string $description = NULL, string $terms = NULL, string $connectRole = NULL, string $connectId = NULL, string $connectStatus = NULL, string $connectUrl = NULL, string $cancelUrl = NULL, string $documentationUrl = NULL, string $companyUrl = NULL, string $developer = NULL, float $pricingShare, float $pricingSetup, float $pricingMonthly, string $pricingCurrency = NULL, string $pricingDescription = NULL, string $startDate = NULL, string $modifiedDate = NULL, string $installableTo = NULL, string $applicationType = NULL, integer $width = NULL, integer $height = NULL, string $format = NULL, string $technique = NULL, string $logoUrl = NULL, string $previewUrl = NULL ) : object | Update an application | |
updateMediaSlot ( integer $mediaslotId, string $name, integer $adspaceId, string $adspaceName = NULL, string $applicationId, string $applicationName = NULL, string $status = NULL, integer $width, integer $height, string $format = NULL, string $createDate = NULL, string $modifiedDate = NULL ) : object | Update media slot. | |
updateProfile ( array $profileId, string $loginName, string $userName, string $firstName = NULL, string $lastName = NULL, string $email = NULL, string $country = NULL, string $street1 = NULL, string $street2 = NULL, string $city = NULL, $zipcode = NULL, string $company = NULL, string $phone = NULL, string $mobile = NULL, string $fax = NULL, boolean $isAdvertiser, boolean $isSublogin ) : boolean | Update zanox user profile. | |
updateSetting ( integer $applicationId, integer $mediaslotId = NULL, string $key, string $value, string $customValue, string $type = NULL, string $name = NULL, string $description = NULL ) : object | Update setting |
public closeSession ( string $connectId ) : boolean | ||
$connectId | string | connect ID |
return | boolean | returns true on success |
public createAdspace ( string $name, string $language, string $url, string $contact, string $description, string $adspaceType, array $scope, integer $visitors, integer $impressions, string $keywords = NULL, array $regions = [], array $categories = [], integer $checkNumber ) : object | ||
$name | string | adspace name |
$language | string | language of adspace (e.g. en) |
$url | string | url of adspace |
$contact | string | contact address (email) |
$description | string | description of adspace |
$adspaceType | string | adspace typ (website, email or searchengine) |
$scope | array | adspace scope (private or business) |
$visitors | integer | adspace monthly visitors |
$impressions | integer | adspace monthly page impressions |
$keywords | string | keywords for adspace (optional) |
$regions | array | adspace customer regions (optional) |
$categories | array | adspace categories (optional) |
$checkNumber | integer | |
return | object | or string adspace item or false |
public createApplication ( string $name = NULL, string $version = NULL, integer $adrank, string $tags = NULL, integer $status, boolean $mediaSlotCompatible = false, boolean $inline = false, string $integrationCode = NULL, string $integrationNotes = NULL, string $description = NULL, string $terms = NULL, string $connectRole = NULL, string $connectId = NULL, string $connectStatus = NULL, string $connectUrl = NULL, string $cancelUrl = NULL, string $documentationUrl = NULL, string $companyUrl = NULL, string $developer = NULL, float $pricingShare, float $pricingSetup, float $pricingMonthly, string $pricingCurrency = NULL, string $pricingDescription = NULL, string $startDate = NULL, string $modifiedDate = NULL, string $installableTo = NULL, string $applicationType = NULL, integer $width = NULL, integer $height = NULL, string $format = NULL, string $technique = NULL, string $logoUrl = NULL, string $previewUrl = NULL ) : object | ||
$name | string | name (optional) |
$version | string | version (optional) |
$adrank | integer | adrank (optional) |
$tags | string | tags (optional) |
$status | integer | status (optional) |
$mediaSlotCompatible | boolean | compatible to media slot (optional) |
$inline | boolean | |
$integrationCode | string | integration code (optional) |
$integrationNotes | string | integration notes (optional) |
$description | string | description (optional) |
$terms | string | terms of service (optional) |
$connectRole | string | role of the application (optional) (developer, customer, tester) |
$connectId | string | connect id (optional) |
$connectStatus | string | connect status (optional) (active, inactive) |
$connectUrl | string | connect url (optional) |
$cancelUrl | string | cancel url (optional) |
$documentationUrl | string | documentation url (optional) |
$companyUrl | string | company url (optional) |
$developer | string | developer (optional) |
$pricingShare | float | price for share model (optional) |
$pricingSetup | float | price for setup (optional) |
$pricingMonthly | float | price for monthly usage (optional) |
$pricingCurrency | string | pricing currency (optional) |
$pricingDescription | string | pricing description (optional) |
$startDate | string | start date (optional) |
$modifiedDate | string | modification date (optional) |
$installableTo | string | who can install the (optional) application (advertiser, publisher) |
$applicationType | string | type of application (optional) (widget, saas, software) |
$width | integer | width of application (optional) |
$height | integer | height of application (optional) |
$format | string | format of application (optional) |
$technique | string | technique (optional) |
$logoUrl | string | logo url (optional) |
$previewUrl | string | preview url (optional) |
return | object | or string application item or false |
public createMediaSlot ( string $name, integer $adspaceId, string $applicationId, string $status, integer $width, integer $height, string $format = NULL, string $createDate = NULL, string $modifiedDate = NULL ) : object | ||
$name | string | media slot name (mandatory) |
$adspaceId | integer | adspace id (mandatory) |
$applicationId | string | application id (mandatory) |
$status | string | media slot status (mandatory) (active, deleted) |
$width | integer | width of application (optional) |
$height | integer | height of application (optional) |
$format | string | format of application (optional) |
$createDate | string | create date (optional) |
$modifiedDate | string | modified date (optional) |
return | object | or string list of media slot objects or false |
public createSetting ( integer $applicationId, integer $mediaslotId = NULL, string $key, string $value, string $customValue, string $type = NULL, string $name = NULL, string $description = NULL ) : object | ||
$applicationId | integer | application id (mandatory) |
$mediaslotId | integer | media slot id (optional) |
$key | string | settings key (mandatory) |
$value | string | settings value (optional) |
$customValue | string | settings custom value (optional) |
$type | string | settings type (optional) (boolean, color, number, string, date) |
$name | string | settings name (optional) |
$description | string | settings description (optional) |
return | object | or string setting |
public deleteAdspace ( integer $adspaceId ) : boolean | ||
$adspaceId | integer | advertising space id |
return | boolean | true on success |
public deleteApplication ( integer $applicationId ) : boolean | ||
$applicationId | integer | application id (mandatory) |
return | boolean | true on success |
public deleteMediaSlot ( integer $mediaslotId ) : object | ||
$mediaslotId | integer | media slot id (mandatory) |
return | object | or string true if success |
public getAdmedia ( integer $programId = NULL, string $region = NULL, string $format = NULL, string $partnerShip = NULL, string $purpose = NULL, string $admediumType = NULL, integer $categoryId = NULL, integer $adspaceId = NULL, integer $page, integer $items = 10 ) : object | ||
$programId | integer | advertiser program id (optional) |
$region | string | limit search to region (optional) |
$format | string | admedia format (optional) |
$partnerShip | string | partnership status (optional) (direct or indirect) |
$purpose | string | purpose of admedia (optional) (startPage, productDeeplink, categoryDeeplink, searchDeeplink) |
$admediumType | string | type of admedium (optional) (html, script, lookatMedia, image, imageText, text) |
$categoryId | integer | admedium category id (optional) |
$adspaceId | integer | adspace id (optional) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string admedia result set or false |
public getAdmediumCategories ( integer $programId ) : object | ||
$programId | integer | program admedium categories |
return | object | or string list of admedium categories |
public getAdspace ( integer $adspaceId ) : object | ||
$adspaceId | integer | advertising space id |
return | object | or string adspace item or false |
public getApplication ( integer $applicationId ) : object | ||
$applicationId | integer | application id (mandatory) |
return | object | or string application item or false |
public getApplications ( string $name = NULL, integer $width = NULL, integer $height = NULL, string $format = NULL, string $role = NULL, string $applicationType = NULL, integer $page, integer $items ) : object | ||
$name | string | name of the application (optional) |
$width | integer | width of application (optional) |
$height | integer | height of application (optional) |
$format | string | format of application (optional) |
$role | string | role of the application (optional) (developer, customer, tester) |
$applicationType | string | type of application (optional) (widget, saas, software) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string application item or false |
public getBalance ( integer $currency ) : object | ||
$currency | integer | currence code of balance account |
return | object | or string payment item or false |
public getBankAccount ( integer $bankAccountId ) : object | ||
$bankAccountId | integer | result set page |
return | object | or string account balances result set or false |
$zx = ZanoxAPI::factory(PROTOCOL_XML);
$zx->getLeads('2009-09-01');
--- public getLeads ( string $date, string $dateType = NULL, integer $programId = NULL, integer $adspaceId = NULL, array $reviewState = NULL, integer $page, integer $items = 10 ) : object | ||
$date | string | date of sales |
$dateType | string | type of date to filter by (optional) (clickDate, trackingDate, modifiedDate) |
$programId | integer | filter by program id (optional) |
$adspaceId | integer | filter by adspace id (optional) |
$reviewState | array | filter by review status (optional) (confirmed, open, rejected or approved) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string sales result set or false |
public getMediaSlot ( $mediaSlotId ) : object | ||
return | object | or string media slot object or false |
public getMediaSlots ( integer $adspaceId, integer $width, integer $height, string $format = NULL, integer $page, integer $items ) : object | ||
$adspaceId | integer | advertising space id (optional) |
$width | integer | width of application (optional) |
$height | integer | height of application (optional) |
$format | string | format of application (optional) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string list of media slot objects or false |
public getOfflineSession ( $offlineToken ) : object | ||
return | object | user session |
public getPayment ( integer $paymentId ) : object | ||
$paymentId | integer | payment item id |
return | object | or string payment item or false |
public getProfile ( ) : object | ||
return | object | or string profile item |
public getProgram ( integer $programId ) : object | ||
$programId | integer | id of program to retrieve |
return | object | or string program item or false |
public getProgramApplications ( integer $adspaceId = NULL, integer $programId = NULL, string $status = NULL, integer $page, integer $items = 10 ) : object | ||
$adspaceId | integer | advertising space id (optional) |
$programId | integer | restrict results to applications (optional) to the id of this program (optional) |
$status | string | restrict results to program applications with this status: "open", "confirmed", "rejected", "deferred", "waiting", "blocked", "terminated", "canceled", "called", "declined", "deleted" |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string program result set or false |
public getProgramCategories ( ) : object | ||
return | object | or string category result set or false |
public getReportBasic ( string $fromDate, string $toDate, string $dateType = NULL, string $currency = NULL, integer $programId = NULL, integer $admediumId = NULL, integer $admediumFormat = NULL, integer $adspaceId = NULL, string $reviewState = NULL, string $groupBy = NULL ) : object | ||
$fromDate | string | report start date |
$toDate | string | report end date |
$dateType | string | type of date to filter by (optional) (clickDate, trackingDate, modifiedDate) |
$currency | string | currency (optional) |
$programId | integer | program id (optional) |
$admediumId | integer | admedium id (optional) |
$admediumFormat | integer | admedium format id (optional) |
$adspaceId | integer | adspace id (optional) |
$reviewState | string | filter by review status (optional) (confirmed, open, rejected or approved) |
$groupBy | string | group report by option (optional) (country, region, city, currency, admedium, program, adspace, linkFormat, reviewState, trackingCategory, month, day, hour, year, dayOfWeek) |
return | object | or string payment item or false |
$zx = ZanoxAPI::factory(PROTOCOL_XML);
$zx->getSales('2009-09-01');
public getSales ( string $date, string $dateType = NULL, integer $programId = NULL, integer $adspaceId = NULL, array $reviewState = NULL, integer $page, integer $items = 10 ) : object | ||
$date | string | date of sales |
$dateType | string | type of date to filter by (optional) (clickDate, trackingDate, modifiedDate) |
$programId | integer | filter by program id (optional) |
$adspaceId | integer | filter by adspace id (optional) |
$reviewState | array | filter by review status (optional) (confirmed, open, rejected or approved) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string sales result set or false |
public getSession ( string $authToken ) : object | ||
$authToken | string | authentication token |
return | object | user session |
public getSettings ( integer $applicationId, integer $mediaslotId = NULL, integer $page, integer $items ) : object | ||
$applicationId | integer | application id (mandatory) |
$mediaslotId | integer | media slot id (optional) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string list of settings or false |
public getTrackingCategories ( integer $adspaceId, integer $programId, integer $page, integer $items = 50 ) : object | ||
$adspaceId | integer | adspace id (mandatory) |
$programId | integer | advertiser program id (mandatory) |
$page | integer | result set page (optional) |
$items | integer | items per page (optional) |
return | object | or string program result set of trackingCategoryItems |
public searchExclusiveIncentives ( integer $programId = NULL, integer $adspaceId = NULL, string $incentiveType = NULL, string $region = NULL, integer $page, integer $items = 10 ) : object | ||
$programId | integer | limit search to program list of programs (optional) |
$adspaceId | integer | adspace id (optional) |
$incentiveType | string | type of incentive (optional) (coupons, samples, bargains, freeProducts, noShippingCosts, lotteries) |
$region | string | program region (optional) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string list of incentives or false |
public searchIncentives ( integer $programId = NULL, integer $adspaceId = NULL, string $incentiveType = NULL, string $region = NULL, integer $page, integer $items = 10 ) : object | ||
$programId | integer | limit search to program list of programs (optional) |
$adspaceId | integer | adspace id (optional) |
$incentiveType | string | type of incentive (optional) (coupons, samples, bargains, freeProducts, noShippingCosts, lotteries) |
$region | string | program region (optional) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string list of incentives or false |
public searchProducts ( string $query, string $searchType = 'phrase', string $region = NULL, integer $categoryId = NULL, array $programId = [], boolean $hasImages = true, float $minPrice, float $maxPrice = NULL, integer $adspaceId = NULL, integer $page, integer $items = 10 ) : object | ||
$query | string | search string |
$searchType | string | search type (optional) (contextual or phrase) |
$region | string | limit search to region (optional) |
$categoryId | integer | limit search to categorys (optional) |
$programId | array | limit search to program list of programs (optional) |
$hasImages | boolean | products with images (optional) |
$minPrice | float | minimum price (optional) |
$maxPrice | float | maximum price (optional) |
$adspaceId | integer | adspace id (optional) |
$page | integer | page of result set (optional) |
$items | integer | items per page (optional) |
return | object | or string list of products or false |
public searchPrograms ( string $query = NULL, string $startDate = NULL, string $partnerShip = NULL, boolean $hasProducts = false, string $region = NULL, string $categoryId = NULL, integer $page, integer $items = 10 ) : object | ||
$query | string | search string |
$startDate | string | program start date (optional) |
$partnerShip | string | partnership status (optional) (direct or indirect) |
$hasProducts | boolean | program has product data |
$region | string | program region |
$categoryId | string | program category id |
$page | integer | page of result set |
$items | integer | items per page |
return | object | or string programs result set or false |
public updateAdspace ( integer $adspaceId, string $name, string $language, string $url, string $contact, string $description, string $adspaceType, array $scope, integer $visitors, integer $impressions, string $keywords = NULL, array $regions = [], array $categories = [], integer $checkNumber ) : object | ||
$adspaceId | integer | adspace id |
$name | string | adspace name |
$language | string | language of adspace (e.g. en) |
$url | string | url of adspace |
$contact | string | contact address (email) |
$description | string | description of adspace |
$adspaceType | string | adspace typ (website, email or searchengine) |
$scope | array | adspace scope (private or business) |
$visitors | integer | adspace monthly visitors |
$impressions | integer | adspace monthly page impressions |
$keywords | string | keywords for adspace (optional) |
$regions | array | adspace customer regions (optional) |
$categories | array | adspace categories (optional) |
$checkNumber | integer | |
return | object | or string adspace item or false |
public updateApplication ( integer $applicationId, string $name = NULL, string $version = NULL, integer $adrank, string $tags = NULL, integer $status, boolean $mediaSlotCompatible = false, boolean $inline = false, string $integrationCode = NULL, string $integrationNotes = NULL, string $description = NULL, string $terms = NULL, string $connectRole = NULL, string $connectId = NULL, string $connectStatus = NULL, string $connectUrl = NULL, string $cancelUrl = NULL, string $documentationUrl = NULL, string $companyUrl = NULL, string $developer = NULL, float $pricingShare, float $pricingSetup, float $pricingMonthly, string $pricingCurrency = NULL, string $pricingDescription = NULL, string $startDate = NULL, string $modifiedDate = NULL, string $installableTo = NULL, string $applicationType = NULL, integer $width = NULL, integer $height = NULL, string $format = NULL, string $technique = NULL, string $logoUrl = NULL, string $previewUrl = NULL ) : object | ||
$applicationId | integer | application id (mandatory) |
$name | string | name (optional) |
$version | string | version (optional) |
$adrank | integer | adrank (optional) |
$tags | string | tags (optional) |
$status | integer | status (optional) |
$mediaSlotCompatible | boolean | compatible to media slot (optional) |
$inline | boolean | |
$integrationCode | string | integration code (optional) |
$integrationNotes | string | integration notes (optional) |
$description | string | description (optional) |
$terms | string | terms of service (optional) |
$connectRole | string | role of the application (optional) (developer, customer, tester) |
$connectId | string | connect id (optional) |
$connectStatus | string | connect status (optional) (active, inactive) |
$connectUrl | string | connect url (optional) |
$cancelUrl | string | cancel url (optional) |
$documentationUrl | string | documentation url (optional) |
$companyUrl | string | company url (optional) |
$developer | string | developer (optional) |
$pricingShare | float | price for share model (optional) |
$pricingSetup | float | price for setup (optional) |
$pricingMonthly | float | price for monthly usage (optional) |
$pricingCurrency | string | pricing currency (optional) |
$pricingDescription | string | pricing description (optional) |
$startDate | string | start date (optional) |
$modifiedDate | string | modification date (optional) |
$installableTo | string | who can install the (optional) application (advertiser, publisher) |
$applicationType | string | type of application (optional) (widget, saas, software) |
$width | integer | width of application (optional) |
$height | integer | height of application (optional) |
$format | string | format of application (optional) |
$technique | string | technique (optional) |
$logoUrl | string | logo url (optional) |
$previewUrl | string | preview url (optional) |
return | object | or string application item or false |
public updateMediaSlot ( integer $mediaslotId, string $name, integer $adspaceId, string $adspaceName = NULL, string $applicationId, string $applicationName = NULL, string $status = NULL, integer $width, integer $height, string $format = NULL, string $createDate = NULL, string $modifiedDate = NULL ) : object | ||
$mediaslotId | integer | media slot id (mandatory) |
$name | string | media slot name (mandatory) |
$adspaceId | integer | adspace id (mandatory) |
$adspaceName | string | name of the adspace (optional) |
$applicationId | string | application id (mandatory) |
$applicationName | string | name of the application (optional) |
$status | string | media slot status (mandatory) (active, deleted) |
$width | integer | width of application (optional) |
$height | integer | height of application (optional) |
$format | string | format of application (optional) |
$createDate | string | create date (optional) |
$modifiedDate | string | modified date (optional) |
return | object | or string list of media slot objects or false |
public updateProfile ( array $profileId, string $loginName, string $userName, string $firstName = NULL, string $lastName = NULL, string $email = NULL, string $country = NULL, string $street1 = NULL, string $street2 = NULL, string $city = NULL, $zipcode = NULL, string $company = NULL, string $phone = NULL, string $mobile = NULL, string $fax = NULL, boolean $isAdvertiser, boolean $isSublogin ) : boolean | ||
$profileId | array | user profile id |
$loginName | string | login name |
$userName | string | user name |
$firstName | string | first name |
$lastName | string | last name |
string | email address | |
$country | string | country or residence |
$street1 | string | street 1 |
$street2 | string | street 2 (optional) |
$city | string | city |
$company | string | name of company (optional) |
$phone | string | phone number (optional) |
$mobile | string | mobile number (optional) |
$fax | string | fax number (optional) |
$isAdvertiser | boolean | is Advertiser account |
$isSublogin | boolean | is Sublogin account |
return | boolean | true on success |
public updateSetting ( integer $applicationId, integer $mediaslotId = NULL, string $key, string $value, string $customValue, string $type = NULL, string $name = NULL, string $description = NULL ) : object | ||
$applicationId | integer | application id (mandatory) |
$mediaslotId | integer | media slot id (optional) |
$key | string | settings key (mandatory) |
$value | string | settings value (optional) |
$customValue | string | settings custom value (optional) |
$type | string | settings type (optional) (boolean, color, number, string, date) |
$name | string | settings name (optional) |
$description | string | settings description (optional) |
return | object | or string setting |