Call campaigns
Detach a buyer from a call campaign
Needs the campaigns:write scope. About scopes
Takes the buyer off the campaign; its history on the campaign is kept.
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidbuyerId*stringFormat
uuidSuccess
application/json- response
id*stringFormat
uuidexternalId*string|nullcode*stringname*stringvertical*stringstatus*stringroutingMode*stringbuyerPrice*stringpublisherPayout*stringbillableAfterSec*integerRange
-9007199254740991 <= value <= 9007199254740991buyers*array<>publishers*array<>version*stringcreatedAt*stringupdatedAt*stringcurl -X DELETE 'https://api.traki.io/v1/account/call-campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/buyers/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "code": "string", "name": "string", "vertical": "string", "status": "string", "routingMode": "string", "buyerPrice": "string", "publisherPayout": "string", "billableAfterSec": -9007199254740991, "buyers": [ { "buyer": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "tier": -9007199254740991, "bid": "string", "capDay": -9007199254740991, "capMonth": -9007199254740991 } ], "publishers": [ { "publisher": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "status": "string", "payout": "string" } ], "version": "string", "createdAt": "string", "updatedAt": "string"}Attach a buyer to a call campaign POST
Puts one of the account’s buyers on the campaign with its bid, tier and caps. The bid defaults to the campaign’s buyer price. 409 buyer_exists when it is already on.
Attach a publisher to a call campaign POST
Puts one of the account’s publishers on the campaign with its payout. `approved` (the default) lets it route at once; `invited` asks it to apply. 409 source_exists when it is already on.