GET /api/v1/buyer_groups
Get buyer groups.

Supported Formats

json, csv

Examples

wget "trackdrive.net/api/v1/buyer_groups?page=1&order=created_at"

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your Trackdrive profile: trackdrive.net/profile/edit

  • Must be String

page
optional

Return the next page of results.

  • Must be a number.

per_page
optional

How many results to return per page. The default is 25.

  • Must be a number.

created_at_to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

fulltext
optional

Search for any record that matches this text

  • Must be String

time_zone
optional

translation missing: en.api.time_zone.desc

  • Must be one of: Etc/UTC, UTC, SST, HST, AKST, PST, MST, CST, EST, COT, PET, AST, VET, BOT, CLST, NST, BRST, ART, UYT, GYT, WGT, GST, AZOT, CVT, GMT, WET, CET, EET, MSK, IST, CAT, SAST, EAT, IRST, AZT, GET, AMT, AFT, YEKT, PKT, UZT, NPT, BDT, NOVT, MMT, ICT, WIB, KRAT, HKT, XJT, MYT, SGT, AWST, IRKT, ULAT, KST, JST, YAKT, ACST, ACDT, AEDT, AEST, VLAT, ChST, PGT, MAGT, SBT, NCT, FJST, PETT, MHT, NZDT, TOT, TKT, CHADT, WSDT.

order
optional

Sort results by this field.

  • Must be one of: name, paused, created_at, tier, weight, total_cap_used, hourly_cap_used, daily_cap_used, monthly_cap_used.

order_dir
optional

Sort results in ascending or descending order.

  • Must be one of: desc, asc.


GET /api/v1/buyer_groups/:id
Get an individual buyer group by id

Supported Formats

json

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your Trackdrive profile: trackdrive.net/profile/edit

  • Must be String


PATCH /api/v1/buyer_groups/:id
Update an individual buyer group

Supported Formats

json

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your Trackdrive profile: trackdrive.net/profile/edit

  • Must be String

paused
optional

Pause or unpause.

  • Must be one of: true, false.

name
optional
  • Must be String