Things you should encourage your clients to be aware of when they’re working with the Audience Manager APIs.
Note the following when working with Audience Manager API code:
Request parameters: All request parameters are required unless specified otherwise.
JSON content type: Specify
content-type: application/json and
accept: application/json in your code.
Requests and responses: Send requests as a properly formatted JSON object. Audience Manager responds with JSON formatted data. Server responses can contain requested data, a status code, or both.
Access: Your Audience Manager consultant will provide you with a client ID and key that lets you make API requests.
Documentation and code samples: Text in italics represents a variable that you provide or pass in when making or receiving API data. Replace italicised text with your own code, parameters, or other required information.
We recommend creating a separate, technical user account for working with the Audience Manager APIs. This is a generic account that is not tied to or associated with a specific user in your client’s organization. This type of API user account helps accomplish 2 things:
As an example or use case for this type of account, let’s say your customers want to change a lot of segments at once with the Bulk Management Tools. To do this, they need API access. Rather than add permissions to a specific user, create a non-specific, API user account that has the appropriate credentials, key, and secret to make API calls. This is also useful if client’s develop their own applications that use the Audience Manager APIs.