LookSmart® API v4.0 Developer Implementation Guide
  Introduction
  Accounts Service
  Campaigns Service
  Ad Groups Service
  Ads Service
  Keywords Service
  Reports Service
  Geo Locations
Frequently Asked Questions
Implementation Guide

version 3
 

Account Service

Please note that when working with accounts, If the account type is invoice, then system will return null for DDCC-only fields, and vice-versa.

Developers are encouraged to use the paginated form of reporting methods when possible, as they are more reliable for larger data sets.

WSDL

Account Service methods

getAccount

Get account information for the specified account ID.

Parameters

token String API authentication token
account_id int The ID for the requested account

Response

AccountStruct A data structure containing all information associated with the account

getAccounts

Get account information for a list of account IDs.

Parameters

token String API authentication token
account_ids int[] An array of account IDs

Response

AccountStruct[] An array containing the requested account data

getAllAccounts

Get account information for all accounts associated with the supplied API token.

Parameters

token String API authentication token

Response

AccountStruct[] An array containing data for all accounts to which the token API is associated

getAllAccountsByPage

Get account information for all accounts associated with a supplied API token and given page of account records.

Parameters

token String API authentication token
page int the desired page of account records

Response

AccountStruct[] An array containing data for all accounts to which the token API is associated

getNumAllAccountPages

Returns the total number of account record pages. Account records may be broken up into pages so as to alleviate the stress downloading large numbers of account records can place on both API client and server.

Parameters

token String API authentication token

Response

int The total number of pages of accounts associated with the API token