Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
185 changes: 79 additions & 106 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.13.2
version: 0.14.0
additionalDependencies: []
additionalPlugins: []
artifactID: workflows
Expand All @@ -48,12 +48,14 @@ java:
explicitDocImports: false
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: false
forwardCompatibleUnionsByDefault: "false"
forwardCompatibleUnionsByDefault: true
generateOptionalUnionAccessors: false
generateSpringBootStarter: true
generateUnionDocs: false
getterStyle: presence-aware
githubURL: github.com/thetradedesk/ttd-workflows-java
groupID: com.thetradedesk
httpClient: jdk
imports:
option: openapi
paths:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.761.9
speakeasyVersion: 1.795.0
sources:
Workflows API:
sourceNamespace: workflows-api
sourceRevisionDigest: sha256:95b72b09e864fcd1c2564c1cb1bbef8593c806300dc07447a71606ac7c5d8523
sourceBlobDigest: sha256:c1d976784f2ca4c350a7afcc39cc3def833951dc4892326abde842531c7df47f
sourceRevisionDigest: sha256:501738631cdeeef986822914faf919a2cbd04869826900f2747cc8506c0eda88
sourceBlobDigest: sha256:25ea6bf668aee9531bea573020a4e6e10c50a7bed961cb62b6604da4c75e17a4
tags:
- latest
- v1
targets:
ttd-workflows:
source: Workflows API
sourceNamespace: workflows-api
sourceRevisionDigest: sha256:95b72b09e864fcd1c2564c1cb1bbef8593c806300dc07447a71606ac7c5d8523
sourceBlobDigest: sha256:c1d976784f2ca4c350a7afcc39cc3def833951dc4892326abde842531c7df47f
sourceRevisionDigest: sha256:501738631cdeeef986822914faf919a2cbd04869826900f2747cc8506c0eda88
sourceBlobDigest: sha256:25ea6bf668aee9531bea573020a4e6e10c50a7bed961cb62b6604da4c75e17a4
codeSamplesNamespace: workflows-api-java-code-samples
codeSamplesRevisionDigest: sha256:64a01e4ed48262c44892c110323d24ef07dc1346108c3bdfbc3cc78458e0cb9d
codeSamplesRevisionDigest: sha256:1360cb80c5e28b76454c0986a3c81f8fbf09dd12a007740c236b48a371efc71d
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.thetradedesk:workflows:0.13.2'
implementation 'com.thetradedesk:workflows:0.14.0'
```

Maven:
```xml
<dependency>
<groupId>com.thetradedesk</groupId>
<artifactId>workflows</artifactId>
<version>0.13.2</version>
<version>0.14.0</version>
</dependency>
```

Expand Down Expand Up @@ -593,6 +593,7 @@ public class Application {
.vcpmInAdvertiserCurrency(4649.53)
.cpcvInAdvertiserCurrency(313.95)
.miaozhenOTPInPercent(4704.1)
.newBuyerTargetValue(785382)
.build())
.creativeIds(JsonNullable.of(null))
.associatedBidLists(List.of(
Expand Down Expand Up @@ -805,6 +806,7 @@ public class Application {
.vcpmInAdvertiserCurrency(4649.53)
.cpcvInAdvertiserCurrency(313.95)
.miaozhenOTPInPercent(4704.1)
.newBuyerTargetValue(785382)
.build())
.creativeIds(JsonNullable.of(null))
.associatedBidLists(List.of(
Expand Down Expand Up @@ -986,6 +988,7 @@ public class Application {
.vcpmInAdvertiserCurrency(4649.53)
.cpcvInAdvertiserCurrency(313.95)
.miaozhenOTPInPercent(4704.1)
.newBuyerTargetValue(785382)
.build())
.creativeIds(JsonNullable.of(null))
.associatedBidLists(List.of(
Expand Down Expand Up @@ -1166,6 +1169,7 @@ public class Application {
.vcpmInAdvertiserCurrency(4649.53)
.cpcvInAdvertiserCurrency(313.95)
.miaozhenOTPInPercent(4704.1)
.newBuyerTargetValue(785382)
.build())
.creativeIds(JsonNullable.of(null))
.associatedBidLists(List.of(
Expand Down Expand Up @@ -1391,6 +1395,7 @@ public class Application {
.vcpmInAdvertiserCurrency(4649.53)
.cpcvInAdvertiserCurrency(313.95)
.miaozhenOTPInPercent(4704.1)
.newBuyerTargetValue(785382)
.build())
.creativeIds(JsonNullable.of(null))
.associatedBidLists(List.of(
Expand Down Expand Up @@ -1552,6 +1557,7 @@ public class Application {
.vcpmInAdvertiserCurrency(4649.53)
.cpcvInAdvertiserCurrency(313.95)
.miaozhenOTPInPercent(4704.1)
.newBuyerTargetValue(785382)
.build())
.creativeIds(JsonNullable.of(null))
.associatedBidLists(List.of(
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,14 @@ Based on:
### Generated
- [java v0.13.2] .
### Releases
- [Maven Central v0.13.2] https://central.sonatype.com/artifact/com.thetradedesk/workflows/0.13.2 - .
- [Maven Central v0.13.2] https://central.sonatype.com/artifact/com.thetradedesk/workflows/0.13.2 - .

## 2026-08-19 00:12:48
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.795.0 (2.931.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.14.0] .
### Releases
- [Maven Central v0.14.0] https://central.sonatype.com/artifact/com.thetradedesk/workflows/0.14.0 - .
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public class Application {
.vcpmInAdvertiserCurrency(4649.53)
.cpcvInAdvertiserCurrency(313.95)
.miaozhenOTPInPercent(4704.1)
.newBuyerTargetValue(785382)
.build())
.creativeIds(JsonNullable.of(null))
.associatedBidLists(List.of(
Expand Down
50 changes: 4 additions & 46 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ plugins {
id 'signing'
// V2 publishing plugin (Sonatype Central Portal)
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
id "io.spring.dependency-management" version "1.1.6" apply false
}

compileJava.options.encoding = "UTF-8"
Expand Down Expand Up @@ -75,57 +74,16 @@ javadocJar {
}

dependencies {
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
api 'com.fasterxml.jackson.core:jackson-annotations:2.22'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.22.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.0'
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
implementation 'commons-io:commons-io:2.18.0'
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
api 'org.reactivestreams:reactive-streams:1.0.4'
}

ext {
springBootVersion = '2.7.18'
}

subprojects {
if (name in [
'workflows-spring-boot-autoconfigure',
'workflows-spring-boot-starter'
]) {
// Ensure subprojects use the same group and version as root project
group = rootProject.group
version = rootProject.version

apply {
plugin "java-library"
plugin "io.spring.dependency-management"
plugin "maven-publish"
plugin "signing"
plugin "cl.franciscosolis.sonatype-central-upload"
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}"
}
}
repositories {
mavenCentral()
}
java {
withSourcesJar()
withJavadocJar()
}
tasks.withType(JavaCompile).configureEach {
options.release = 11
}

// Apply publishing configuration to all subprojects - they'll check for publishingConfig internally
apply from: rootProject.file('publishing.gradle')
}
}

ext {
publishingConfig = [
groupId: group,
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/AdGroupBudget.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Field | Type | Required | Description |
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
| `allocationType` | [AllocationType](../../models/components/AllocationType.md) | :heavy_check_mark: | N/A |
| `budgetInAdvertiserCurrency` | *double* | :heavy_check_mark: | N/A |
| `budgetInAdvertiserCurrency` | *Optional\<Double>* | :heavy_check_mark: | N/A |
| `budgetInImpressions` | *JsonNullable\<Long>* | :heavy_minus_sign: | N/A |
| `dailyTargetInAdvertiserCurrency` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `dailyTargetInImpressions` | *JsonNullable\<Long>* | :heavy_minus_sign: | N/A |
2 changes: 1 addition & 1 deletion docs/models/components/AdGroupFlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Field | Type | Required | Description |
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
| `allocationType` | [AllocationType](../../models/components/AllocationType.md) | :heavy_check_mark: | N/A |
| `budgetInAdvertiserCurrency` | *double* | :heavy_check_mark: | N/A |
| `budgetInAdvertiserCurrency` | *Optional\<Double>* | :heavy_check_mark: | N/A |
| `budgetInImpressions` | *JsonNullable\<Long>* | :heavy_minus_sign: | N/A |
| `dailyTargetInAdvertiserCurrency` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `dailyTargetInImpressions` | *JsonNullable\<Long>* | :heavy_minus_sign: | N/A |
Expand Down
3 changes: 2 additions & 1 deletion docs/models/components/AdGroupROIGoal.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
| `viewabilityInPercent` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `vcpmInAdvertiserCurrency` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `cpcvInAdvertiserCurrency` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `miaozhenOTPInPercent` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `miaozhenOTPInPercent` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `newBuyerTargetValue` | *JsonNullable\<Integer>* | :heavy_minus_sign: | N/A |
3 changes: 2 additions & 1 deletion docs/models/components/AdGroupWorkflowROIGoalInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
| `viewabilityInPercent` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `vcpmInAdvertiserCurrency` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `cpcvInAdvertiserCurrency` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `miaozhenOTPInPercent` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `miaozhenOTPInPercent` | *JsonNullable\<Double>* | :heavy_minus_sign: | N/A |
| `newBuyerTargetValue` | *JsonNullable\<Integer>* | :heavy_minus_sign: | N/A |
5 changes: 0 additions & 5 deletions docs/models/components/DimensionalBiddingDimensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ DimensionalBiddingDimensions value = DimensionalBiddingDimensions.UNKNOWN_DIMENS
| `HAS_AD_FORMAT_ID` | HasAdFormatId |
| `HAS_DOMAIN_FRAGMENT_ID` | HasDomainFragmentId |
| `HAS_UNIVERSAL_CATEGORY_TAXONOMY_ID` | HasUniversalCategoryTaxonomyId |
| `HAS_PLACEMENT_POSITION_RELATIVE_TO_FOLD_ID` | HasPlacementPositionRelativeToFoldId |
| `HAS_ADVERTISER_TARGETING_DATA_ID` | HasAdvertiserTargetingDataId |
| `HAS_BROWSER_ID` | HasBrowserId |
| `HAS_CARRIER_ID` | HasCarrierId |
Expand Down Expand Up @@ -67,8 +66,6 @@ DimensionalBiddingDimensions value = DimensionalBiddingDimensions.UNKNOWN_DIMENS
| `HAS_PEER39_VIEWABILITY_CATEGORY_ID` | HasPeer39ViewabilityCategoryId |
| `HAS_VIDEO_COMPLETION_RATE_SCORE_RANGE` | HasVideoCompletionRateScoreRange |
| `HAS_INTERNET_CONNECTION_TYPE_ID` | HasInternetConnectionTypeId |
| `HAS_AD_BUG_PAGE_QUALITY_CATEGORY_ID` | HasAdBugPageQualityCategoryId |
| `HAS_AD_BUG_VIDEO_PAGE_QUALITY_CATEGORY_ID` | HasAdBugVideoPageQualityCategoryId |
| `HAS_RTB_ASIA_PAGE_QUALITY_CATEGORY_ID` | HasRTBAsiaPageQualityCategoryId |
| `HAS_RTB_ASIA_VIDEO_PAGE_QUALITY_CATEGORY_ID` | HasRTBAsiaVideoPageQualityCategoryId |
| `HAS_TTD_CONTEXTUAL_CATEGORY_ID` | HasTTDContextualCategoryId |
Expand All @@ -86,8 +83,6 @@ DimensionalBiddingDimensions value = DimensionalBiddingDimensions.UNKNOWN_DIMENS
| `HAS_DOMAIN_CLASS_ID` | HasDomainClassId |
| `HAS_GEOFENCE_THIRD_PARTY_DATA_AND_BRAND` | HasGeofenceThirdPartyDataAndBrand |
| `HAS_PRE_BID_CONTEXTUAL_CATEGORY_ID` | HasPreBidContextualCategoryId |
| `HAS_MIAOZHEN_PAGE_QUALITY_CATEGORY_ID` | HasMiaozhenPageQualityCategoryId |
| `HAS_MIAOZHEN_VIDEO_PAGE_QUALITY_CATEGORY_ID` | HasMiaozhenVideoPageQualityCategoryId |
| `HAS_TENCENT_PAGE_QUALITY_CATEGORY_ID` | HasTencentPageQualityCategoryId |
| `HAS_CONTENT_GENRE` | HasContentGenre |
| `HAS_CONTENT_LIVESTREAM` | HasContentLivestream |
Expand Down
3 changes: 2 additions & 1 deletion docs/models/components/PassThroughFeeType.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ PassThroughFeeType value = PassThroughFeeType.NONE;
| `FEE_CPM` | FeeCPM |
| `RATE_CPM` | RateCPM |
| `RATE_CPC` | RateCPC |
| `CUSTOM_PMP_PARTNER_DATA_COST_PERCENTAGE` | CustomPmpPartnerDataCostPercentage |
| `CUSTOM_PMP_PARTNER_DATA_COST_PERCENTAGE` | CustomPmpPartnerDataCostPercentage |
| `MEDIA_DATA_FEE_FEATURES_COST_PERCENTAGE` | MediaDataFeeFeaturesCostPercentage |
3 changes: 3 additions & 0 deletions docs/sdks/adgroup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public class Application {
.vcpmInAdvertiserCurrency(4649.53)
.cpcvInAdvertiserCurrency(313.95)
.miaozhenOTPInPercent(4704.1)
.newBuyerTargetValue(785382)
.build())
.creativeIds(JsonNullable.of(null))
.associatedBidLists(List.of(
Expand Down Expand Up @@ -258,6 +259,7 @@ public class Application {
.vcpmInAdvertiserCurrency(1135.94)
.cpcvInAdvertiserCurrency(6372.45)
.miaozhenOTPInPercent(8405.28)
.newBuyerTargetValue(93512)
.build())
.creativeIds(List.of(
"<value 1>",
Expand Down Expand Up @@ -562,6 +564,7 @@ public class Application {
.vcpmInAdvertiserCurrency(8251.2)
.cpcvInAdvertiserCurrency(4502.77)
.miaozhenOTPInPercent(2362.43)
.newBuyerTargetValue(901233)
.build())
.creativeIds(List.of(
"<value 1>"))
Expand Down
Loading