Skip to content

add-rates-graphql-support - #44

Open
adithyasamavedhi-ttd wants to merge 1 commit into
mainfrom
add-graphql-support-for-rates
Open

add-rates-graphql-support#44
adithyasamavedhi-ttd wants to merge 1 commit into
mainfrom
add-graphql-support-for-rates

Conversation

@adithyasamavedhi-ttd

@adithyasamavedhi-ttd adithyasamavedhi-ttd commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Adds support for rates through graphql
REST endpoint What it does GraphQL operation ttd-data SDK function
POST /v3/datarate/batch Submit a batch of data rate creates/deletes for a provider mutation DataRateBatchCreate(input: DataRateBatchCreateInput!)dataRateBatchCreate client.third_party_data_rate.create_data_rate_batch(...) — 1–5000 DataRateInput per call
GET /v3/datarate/batch/{batchId} Read a data rate batch's processing/approval status thirdPartyDataProvider(id).dataRateBatches(where: {id: {eq: ...}}) client.third_party_data_rate.query_data_rate_batches(...) — pass batch_id to filter to one
GET /v3/datarate/brands/{providerId} List the third-party data brands belonging to a provider thirdPartyDataProvider(id).thirdPartyDataBrands(first, after) client.third_party_data_rate.query_brands(...)
POST /v3/datarate/query Look up data rates for a provider, optionally filtered by segment or brand thirdPartyDataProvider(id).thirdPartyTargetingDataSegments(where, first, after) { providerDataRates(where: rateWhere) } client.third_party_data_rate.query_segment_data_rates(...)

Tests:

  1. Create a DataRate Batch
Screenshot 2026-09-11 at 3 24 49 PM Screenshot 2026-09-11 at 4 59 28 PM
  1. Get the details of a DataRate Batch based on Batch id:
Screenshot 2026-09-11 at 3 23 49 PM Screenshot 2026-09-11 at 4 58 30 PM
  1. Get the Brands associated with a DataProviderId:
Screenshot 2026-09-11 at 3 22 05 PM Screenshot 2026-09-11 at 4 52 14 PM

4.Get the DataRates and filter:

Screenshot 2026-09-11 at 3 23 17 PM Screenshot 2026-09-11 at 4 57 08 PM

@adithyasamavedhi-ttd
adithyasamavedhi-ttd requested a review from a team September 11, 2026 20:13
@adithyasamavedhi-ttd
adithyasamavedhi-ttd force-pushed the add-graphql-support-for-rates branch 3 times, most recently from 8525f71 to fc7b145 Compare September 11, 2026 23:42
@adithyasamavedhi-ttd
adithyasamavedhi-ttd force-pushed the add-graphql-support-for-rates branch from fc7b145 to 9ccd7b0 Compare September 11, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant