Skip to content

Commit 566b6c0

Browse files
1 parent d18f3eb commit 566b6c0

File tree

55 files changed

+9761
-873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+9761
-873
lines changed

clients/google-api-services-displayvideo/v2/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-displayvideo</artifactId>
25-
<version>v2-rev20260303-2.0.0</version>
25+
<version>v2-rev20260305-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-displayvideo:v2-rev20260303-2.0.0'
38+
implementation 'com.google.apis:google-api-services-displayvideo:v2-rev20260305-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-displayvideo/v2/2.0.0/com/google/api/services/displayvideo/v2/model/BiddingStrategy.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
@SuppressWarnings("javadoc")
3131
public final class BiddingStrategy extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* A bid strategy used by Demand Gen resources. It can only be used for a Demand Gen line item or
35+
* ad group entity.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private DemandGenBiddingStrategy demandGenBid;
40+
3341
/**
3442
* A strategy that uses a fixed bid price.
3543
* The value may be {@code null}.
@@ -63,6 +71,25 @@ public final class BiddingStrategy extends com.google.api.client.json.GenericJso
6371
@com.google.api.client.util.Key
6472
private PerformanceGoalBidStrategy performanceGoalAutoBid;
6573

74+
/**
75+
* A bid strategy used by Demand Gen resources. It can only be used for a Demand Gen line item or
76+
* ad group entity.
77+
* @return value or {@code null} for none
78+
*/
79+
public DemandGenBiddingStrategy getDemandGenBid() {
80+
return demandGenBid;
81+
}
82+
83+
/**
84+
* A bid strategy used by Demand Gen resources. It can only be used for a Demand Gen line item or
85+
* ad group entity.
86+
* @param demandGenBid demandGenBid or {@code null} for none
87+
*/
88+
public BiddingStrategy setDemandGenBid(DemandGenBiddingStrategy demandGenBid) {
89+
this.demandGenBid = demandGenBid;
90+
return this;
91+
}
92+
6693
/**
6794
* A strategy that uses a fixed bid price.
6895
* @return value or {@code null} for none

clients/google-api-services-displayvideo/v2/2.0.0/com/google/api/services/displayvideo/v2/model/ConversionCountingConfig.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ public final class ConversionCountingConfig extends com.google.api.client.json.G
5151
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
5252
private java.lang.Long postViewCountPercentageMillis;
5353

54+
/**
55+
* Optional. The attribution model to use for conversion measurement. This attribution model will
56+
* determine how conversions are counted. The Primary model can be set by you for a floodlight
57+
* config or group. More details [here](https://support.google.com/displayvideo/answer/7409983).
58+
* Only applicable to Demand Gen line items.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
62+
private java.lang.Long primaryAttributionModelId;
63+
5464
/**
5565
* The Floodlight activity configs used to track conversions. The number of conversions counted is
5666
* the sum of all of the conversions counted by all of the Floodlight activity IDs specified in
@@ -97,6 +107,29 @@ public ConversionCountingConfig setPostViewCountPercentageMillis(java.lang.Long
97107
return this;
98108
}
99109

110+
/**
111+
* Optional. The attribution model to use for conversion measurement. This attribution model will
112+
* determine how conversions are counted. The Primary model can be set by you for a floodlight
113+
* config or group. More details [here](https://support.google.com/displayvideo/answer/7409983).
114+
* Only applicable to Demand Gen line items.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.lang.Long getPrimaryAttributionModelId() {
118+
return primaryAttributionModelId;
119+
}
120+
121+
/**
122+
* Optional. The attribution model to use for conversion measurement. This attribution model will
123+
* determine how conversions are counted. The Primary model can be set by you for a floodlight
124+
* config or group. More details [here](https://support.google.com/displayvideo/answer/7409983).
125+
* Only applicable to Demand Gen line items.
126+
* @param primaryAttributionModelId primaryAttributionModelId or {@code null} for none
127+
*/
128+
public ConversionCountingConfig setPrimaryAttributionModelId(java.lang.Long primaryAttributionModelId) {
129+
this.primaryAttributionModelId = primaryAttributionModelId;
130+
return this;
131+
}
132+
100133
@Override
101134
public ConversionCountingConfig set(String fieldName, Object value) {
102135
return (ConversionCountingConfig) super.set(fieldName, value);

clients/google-api-services-displayvideo/v2/2.0.0/com/google/api/services/displayvideo/v2/model/DayAndTimeAssignedTargetingOptionDetails.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public final class DayAndTimeAssignedTargetingOptionDetails extends com.google.a
5656

5757
/**
5858
* Required. The mechanism used to determine which timezone to use for this day and time targeting
59-
* setting.
59+
* setting. For demand gen line items, this field is always TIME_ZONE_RESOLUTION_ADVERTISER.
6060
* The value may be {@code null}.
6161
*/
6262
@com.google.api.client.util.Key
@@ -119,7 +119,7 @@ public DayAndTimeAssignedTargetingOptionDetails setStartHour(java.lang.Integer s
119119

120120
/**
121121
* Required. The mechanism used to determine which timezone to use for this day and time targeting
122-
* setting.
122+
* setting. For demand gen line items, this field is always TIME_ZONE_RESOLUTION_ADVERTISER.
123123
* @return value or {@code null} for none
124124
*/
125125
public java.lang.String getTimeZoneResolution() {
@@ -128,7 +128,7 @@ public java.lang.String getTimeZoneResolution() {
128128

129129
/**
130130
* Required. The mechanism used to determine which timezone to use for this day and time targeting
131-
* setting.
131+
* setting. For demand gen line items, this field is always TIME_ZONE_RESOLUTION_ADVERTISER.
132132
* @param timeZoneResolution timeZoneResolution or {@code null} for none
133133
*/
134134
public DayAndTimeAssignedTargetingOptionDetails setTimeZoneResolution(java.lang.String timeZoneResolution) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.displayvideo.v2.model;
18+
19+
/**
20+
* Settings that control the bid strategy for Demand Gen resources.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Display & Video 360 API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class DemandGenBiddingStrategy extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. If AG doesn't set value for tCPA or tROAS, line item bidding value will be the
35+
* effective_bidding_value, if the bidding strategy type is not tCPA or tROAS,
36+
* effective_bidding_value is always 0. For line item, it will be the same as the value field.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
40+
private java.lang.Long effectiveBiddingValue;
41+
42+
/**
43+
* Output only. Source of the effective bidding value.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String effectiveBiddingValueSource;
48+
49+
/**
50+
* Optional. The type of the bidding strategy. This can only be set at the line item level.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String type;
55+
56+
/**
57+
* Optional. The value used by the bidding strategy. This can be set at the line item and ad group
58+
* level. This field is only applicable for the following strategy types: *
59+
* `DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_ROAS`
60+
* Value of this field is in micros of the advertiser's currency or ROAS value. For example,
61+
* 1000000 represents 1.0 standard units of the currency or 100% ROAS value. If not using an
62+
* applicable strategy, the value of this field will be 0.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
66+
private java.lang.Long value;
67+
68+
/**
69+
* Output only. If AG doesn't set value for tCPA or tROAS, line item bidding value will be the
70+
* effective_bidding_value, if the bidding strategy type is not tCPA or tROAS,
71+
* effective_bidding_value is always 0. For line item, it will be the same as the value field.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.Long getEffectiveBiddingValue() {
75+
return effectiveBiddingValue;
76+
}
77+
78+
/**
79+
* Output only. If AG doesn't set value for tCPA or tROAS, line item bidding value will be the
80+
* effective_bidding_value, if the bidding strategy type is not tCPA or tROAS,
81+
* effective_bidding_value is always 0. For line item, it will be the same as the value field.
82+
* @param effectiveBiddingValue effectiveBiddingValue or {@code null} for none
83+
*/
84+
public DemandGenBiddingStrategy setEffectiveBiddingValue(java.lang.Long effectiveBiddingValue) {
85+
this.effectiveBiddingValue = effectiveBiddingValue;
86+
return this;
87+
}
88+
89+
/**
90+
* Output only. Source of the effective bidding value.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.lang.String getEffectiveBiddingValueSource() {
94+
return effectiveBiddingValueSource;
95+
}
96+
97+
/**
98+
* Output only. Source of the effective bidding value.
99+
* @param effectiveBiddingValueSource effectiveBiddingValueSource or {@code null} for none
100+
*/
101+
public DemandGenBiddingStrategy setEffectiveBiddingValueSource(java.lang.String effectiveBiddingValueSource) {
102+
this.effectiveBiddingValueSource = effectiveBiddingValueSource;
103+
return this;
104+
}
105+
106+
/**
107+
* Optional. The type of the bidding strategy. This can only be set at the line item level.
108+
* @return value or {@code null} for none
109+
*/
110+
public java.lang.String getType() {
111+
return type;
112+
}
113+
114+
/**
115+
* Optional. The type of the bidding strategy. This can only be set at the line item level.
116+
* @param type type or {@code null} for none
117+
*/
118+
public DemandGenBiddingStrategy setType(java.lang.String type) {
119+
this.type = type;
120+
return this;
121+
}
122+
123+
/**
124+
* Optional. The value used by the bidding strategy. This can be set at the line item and ad group
125+
* level. This field is only applicable for the following strategy types: *
126+
* `DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_ROAS`
127+
* Value of this field is in micros of the advertiser's currency or ROAS value. For example,
128+
* 1000000 represents 1.0 standard units of the currency or 100% ROAS value. If not using an
129+
* applicable strategy, the value of this field will be 0.
130+
* @return value or {@code null} for none
131+
*/
132+
public java.lang.Long getValue() {
133+
return value;
134+
}
135+
136+
/**
137+
* Optional. The value used by the bidding strategy. This can be set at the line item and ad group
138+
* level. This field is only applicable for the following strategy types: *
139+
* `DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `DEMAND_GEN_BIDDING_STRATEGY_TYPE_TARGET_ROAS`
140+
* Value of this field is in micros of the advertiser's currency or ROAS value. For example,
141+
* 1000000 represents 1.0 standard units of the currency or 100% ROAS value. If not using an
142+
* applicable strategy, the value of this field will be 0.
143+
* @param value value or {@code null} for none
144+
*/
145+
public DemandGenBiddingStrategy setValue(java.lang.Long value) {
146+
this.value = value;
147+
return this;
148+
}
149+
150+
@Override
151+
public DemandGenBiddingStrategy set(String fieldName, Object value) {
152+
return (DemandGenBiddingStrategy) super.set(fieldName, value);
153+
}
154+
155+
@Override
156+
public DemandGenBiddingStrategy clone() {
157+
return (DemandGenBiddingStrategy) super.clone();
158+
}
159+
160+
}

0 commit comments

Comments
 (0)