Create a Test Ad Account

POST {{baseUrl}}/adAccounts

This API example creates a test ad account by including an additional boolean test flag to true on the payload.

Request Body

{"currency"=>"USD", "name"=>"XYZ Company", "notifiedOnCampaignOptimization"=>true, "notifiedOnCreativeApproval"=>true, "notifiedOnCreativeRejection"=>true, "notifiedOnEndOfCampaign"=>true, "reference"=>"urn:li:organization:{{organization_id}}", "type"=>"BUSINESS", "test"=>true}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
LinkedIn-Versionstring
X-Restli-Protocol-Versionstring