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.
|