Closed IanKrieger closed 3 months ago
[puLL-Merge] - brave/ads-ui@1184
This PR updates the GraphQL schema and types related to segments and campaigns. The main changes are:
Segment
fragment to use the Segment
type instead of SegmentsEntry
Segments
query to return code
and name
fields directly, instead of using the Segment
fragmentadSetCount
field and adSets
arguments to the Campaign
typeAdSetFilter
input type to filter ad sets by nameAFFILIATE
enum value to CampaignType
OS
and Segment
typesThe motivation seems to be to clean up the schema and add some new functionality around ad sets and campaign types.
Resolves issue where segment names could not be retrieved