Buyer Ping Templates
Reviewed ping setups for common buyer platforms, each filling in a buyer's ping from the few account values it asks for.
GET /buyer_ping_templates
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_ping_templates
List buyer ping templates.
Returns every buyer ping template with its key, name, description, and the inputs and secrets a ping from it asks for.
GET /buyer_ping_templates/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_ping_templates/:id
Get a buyer ping template by key.
Returns one buyer ping template by key, with the inputs and secrets a ping from it asks for.
Params
| Param name | Description |
|---|---|
|
id Required |
The template’s key, as the list of templates returns it, such as ringba_rtb.
|
POST /buyer_ping_templates/:buyer_ping_template_id/pings
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_ping_templates/:buyer_ping_template_id/pings
Create a buyer's ping from a template.
Creates a ping on a buyer from a template, with the request, acceptance rule and response paths filled in from the template and the account values given. Any secret values given are saved as new Secrets. A template is refused on a buyer whose Trackdrive post it would conflict with. Restricted to account superusers.
Params
| Param name | Description |
|---|---|
|
buyer_ping_template_id Required |
The template’s key, as the list of templates returns it, such as ringba_rtb.
|
|
buyer_id Optional Blank value allowed |
The buyer the ping is added to.
|
|
inputs Optional Blank value allowed |
The template’s inputs, keyed by each input’s key, such as {“campaign_id”: “CA9f”}.
|
|
secret_values Optional Blank value allowed |
A value for each of the template’s secrets, keyed by the secret’s key. Each is saved as a new Secret.
|
|
secret_keys Optional Blank value allowed |
For a secret already saved on the account, the saved Secret’s key, keyed by the template secret’s key.
|
|
conversion_setting_id Optional Blank value allowed |
The buyer’s conversion setting the ping is added to. Without one, the buyer’s first is used, and a buyer with none gets one that is always open.
|