Skip to content

Commit 85125fb

Browse files
1 parent 6faf486 commit 85125fb

13 files changed

+344
-40
lines changed

clients/google-api-services-searchads360/v0/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-searchads360</artifactId>
25-
<version>v0-rev20240414-2.0.0</version>
25+
<version>v0-rev20240808-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-searchads360:v0-rev20240414-2.0.0'
38+
implementation 'com.google.apis:google-api-services-searchads360:v0-rev20240808-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.searchads360.v0.model;
18+
19+
/**
20+
* A text asset used inside an ad.
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 Search Ads 360 Reporting API. For a detailed
24+
* explanation 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 GoogleAdsSearchads360V0CommonAdTextAsset extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Asset text.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String text;
39+
40+
/**
41+
* Asset text.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getText() {
45+
return text;
46+
}
47+
48+
/**
49+
* Asset text.
50+
* @param text text or {@code null} for none
51+
*/
52+
public GoogleAdsSearchads360V0CommonAdTextAsset setText(java.lang.String text) {
53+
this.text = text;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleAdsSearchads360V0CommonAdTextAsset set(String fieldName, Object value) {
59+
return (GoogleAdsSearchads360V0CommonAdTextAsset) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleAdsSearchads360V0CommonAdTextAsset clone() {
64+
return (GoogleAdsSearchads360V0CommonAdTextAsset) super.clone();
65+
}
66+
67+
}

clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonMetrics.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,13 @@ public final class GoogleAdsSearchads360V0CommonMetrics extends com.google.api.c
179179
@com.google.api.client.util.Key
180180
private java.lang.Double averageCpm;
181181

182+
/**
183+
* The average quality score.
184+
* The value may be {@code null}.
185+
*/
186+
@com.google.api.client.util.Key
187+
private java.lang.Double averageQualityScore;
188+
182189
/**
183190
* The number of clicks.
184191
* The value may be {@code null}.
@@ -1234,6 +1241,23 @@ public GoogleAdsSearchads360V0CommonMetrics setAverageCpm(java.lang.Double avera
12341241
return this;
12351242
}
12361243

1244+
/**
1245+
* The average quality score.
1246+
* @return value or {@code null} for none
1247+
*/
1248+
public java.lang.Double getAverageQualityScore() {
1249+
return averageQualityScore;
1250+
}
1251+
1252+
/**
1253+
* The average quality score.
1254+
* @param averageQualityScore averageQualityScore or {@code null} for none
1255+
*/
1256+
public GoogleAdsSearchads360V0CommonMetrics setAverageQualityScore(java.lang.Double averageQualityScore) {
1257+
this.averageQualityScore = averageQualityScore;
1258+
return this;
1259+
}
1260+
12371261
/**
12381262
* The number of clicks.
12391263
* @return value or {@code null} for none

clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo.java

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,34 @@ public final class GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdIn
3737
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
3838
private java.lang.Long adTrackingId;
3939

40+
/**
41+
* List of text assets for descriptions. When the ad serves the descriptions will be selected from
42+
* this list.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<GoogleAdsSearchads360V0CommonAdTextAsset> descriptions;
47+
48+
static {
49+
// hack to force ProGuard to consider GoogleAdsSearchads360V0CommonAdTextAsset used, since otherwise it would be stripped out
50+
// see https://github.com/google/google-api-java-client/issues/543
51+
com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V0CommonAdTextAsset.class);
52+
}
53+
54+
/**
55+
* List of text assets for headlines. When the ad serves the headlines will be selected from this
56+
* list.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.util.List<GoogleAdsSearchads360V0CommonAdTextAsset> headlines;
61+
62+
static {
63+
// hack to force ProGuard to consider GoogleAdsSearchads360V0CommonAdTextAsset used, since otherwise it would be stripped out
64+
// see https://github.com/google/google-api-java-client/issues/543
65+
com.google.api.client.util.Data.nullOf(GoogleAdsSearchads360V0CommonAdTextAsset.class);
66+
}
67+
4068
/**
4169
* Text appended to the auto-generated visible URL with a delimiter.
4270
* The value may be {@code null}.
@@ -68,6 +96,44 @@ public GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo setAdTrac
6896
return this;
6997
}
7098

99+
/**
100+
* List of text assets for descriptions. When the ad serves the descriptions will be selected from
101+
* this list.
102+
* @return value or {@code null} for none
103+
*/
104+
public java.util.List<GoogleAdsSearchads360V0CommonAdTextAsset> getDescriptions() {
105+
return descriptions;
106+
}
107+
108+
/**
109+
* List of text assets for descriptions. When the ad serves the descriptions will be selected from
110+
* this list.
111+
* @param descriptions descriptions or {@code null} for none
112+
*/
113+
public GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo setDescriptions(java.util.List<GoogleAdsSearchads360V0CommonAdTextAsset> descriptions) {
114+
this.descriptions = descriptions;
115+
return this;
116+
}
117+
118+
/**
119+
* List of text assets for headlines. When the ad serves the headlines will be selected from this
120+
* list.
121+
* @return value or {@code null} for none
122+
*/
123+
public java.util.List<GoogleAdsSearchads360V0CommonAdTextAsset> getHeadlines() {
124+
return headlines;
125+
}
126+
127+
/**
128+
* List of text assets for headlines. When the ad serves the headlines will be selected from this
129+
* list.
130+
* @param headlines headlines or {@code null} for none
131+
*/
132+
public GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo setHeadlines(java.util.List<GoogleAdsSearchads360V0CommonAdTextAsset> headlines) {
133+
this.headlines = headlines;
134+
return this;
135+
}
136+
71137
/**
72138
* Text appended to the auto-generated visible URL with a delimiter.
73139
* @return value or {@code null} for none

clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonSegments.java

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,41 @@ public final class GoogleAdsSearchads360V0CommonSegments extends com.google.api.
9999
@com.google.api.client.util.Key
100100
private java.lang.String device;
101101

102+
/**
103+
* Resource name of the geo target constant that represents a city.
104+
* The value may be {@code null}.
105+
*/
106+
@com.google.api.client.util.Key
107+
private java.lang.String geoTargetCity;
108+
109+
/**
110+
* Resource name of the geo target constant that represents a country.
111+
* The value may be {@code null}.
112+
*/
113+
@com.google.api.client.util.Key
114+
private java.lang.String geoTargetCountry;
115+
116+
/**
117+
* Resource name of the geo target constant that represents a metro.
118+
* The value may be {@code null}.
119+
*/
120+
@com.google.api.client.util.Key
121+
private java.lang.String geoTargetMetro;
122+
123+
/**
124+
* Resource name of the geo target constant that represents a region.
125+
* The value may be {@code null}.
126+
*/
127+
@com.google.api.client.util.Key
128+
private java.lang.String geoTargetRegion;
129+
130+
/**
131+
* Hour of day as a number between 0 and 23, inclusive.
132+
* The value may be {@code null}.
133+
*/
134+
@com.google.api.client.util.Key
135+
private java.lang.Integer hour;
136+
102137
/**
103138
* Keyword criterion.
104139
* The value may be {@code null}.
@@ -610,6 +645,91 @@ public GoogleAdsSearchads360V0CommonSegments setDevice(java.lang.String device)
610645
return this;
611646
}
612647

648+
/**
649+
* Resource name of the geo target constant that represents a city.
650+
* @return value or {@code null} for none
651+
*/
652+
public java.lang.String getGeoTargetCity() {
653+
return geoTargetCity;
654+
}
655+
656+
/**
657+
* Resource name of the geo target constant that represents a city.
658+
* @param geoTargetCity geoTargetCity or {@code null} for none
659+
*/
660+
public GoogleAdsSearchads360V0CommonSegments setGeoTargetCity(java.lang.String geoTargetCity) {
661+
this.geoTargetCity = geoTargetCity;
662+
return this;
663+
}
664+
665+
/**
666+
* Resource name of the geo target constant that represents a country.
667+
* @return value or {@code null} for none
668+
*/
669+
public java.lang.String getGeoTargetCountry() {
670+
return geoTargetCountry;
671+
}
672+
673+
/**
674+
* Resource name of the geo target constant that represents a country.
675+
* @param geoTargetCountry geoTargetCountry or {@code null} for none
676+
*/
677+
public GoogleAdsSearchads360V0CommonSegments setGeoTargetCountry(java.lang.String geoTargetCountry) {
678+
this.geoTargetCountry = geoTargetCountry;
679+
return this;
680+
}
681+
682+
/**
683+
* Resource name of the geo target constant that represents a metro.
684+
* @return value or {@code null} for none
685+
*/
686+
public java.lang.String getGeoTargetMetro() {
687+
return geoTargetMetro;
688+
}
689+
690+
/**
691+
* Resource name of the geo target constant that represents a metro.
692+
* @param geoTargetMetro geoTargetMetro or {@code null} for none
693+
*/
694+
public GoogleAdsSearchads360V0CommonSegments setGeoTargetMetro(java.lang.String geoTargetMetro) {
695+
this.geoTargetMetro = geoTargetMetro;
696+
return this;
697+
}
698+
699+
/**
700+
* Resource name of the geo target constant that represents a region.
701+
* @return value or {@code null} for none
702+
*/
703+
public java.lang.String getGeoTargetRegion() {
704+
return geoTargetRegion;
705+
}
706+
707+
/**
708+
* Resource name of the geo target constant that represents a region.
709+
* @param geoTargetRegion geoTargetRegion or {@code null} for none
710+
*/
711+
public GoogleAdsSearchads360V0CommonSegments setGeoTargetRegion(java.lang.String geoTargetRegion) {
712+
this.geoTargetRegion = geoTargetRegion;
713+
return this;
714+
}
715+
716+
/**
717+
* Hour of day as a number between 0 and 23, inclusive.
718+
* @return value or {@code null} for none
719+
*/
720+
public java.lang.Integer getHour() {
721+
return hour;
722+
}
723+
724+
/**
725+
* Hour of day as a number between 0 and 23, inclusive.
726+
* @param hour hour or {@code null} for none
727+
*/
728+
public GoogleAdsSearchads360V0CommonSegments setHour(java.lang.Integer hour) {
729+
this.hour = hour;
730+
return this;
731+
}
732+
613733
/**
614734
* Keyword criterion.
615735
* @return value or {@code null} for none

clients/google-api-services-searchads360/v0/2.0.0/com/google/api/services/searchads360/v0/model/GoogleAdsSearchads360V0CommonTargetSpend.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ public final class GoogleAdsSearchads360V0CommonTargetSpend extends com.google.a
4040
private java.lang.Long cpcBidCeilingMicros;
4141

4242
/**
43-
* The spend target under which to maximize clicks. A TargetSpend bidder will attempt to spend the
44-
* smaller of this value or the natural throttling spend amount. If not specified, the budget is
45-
* used as the spend target. This field is deprecated and should no longer be used. See
46-
* https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for
43+
* Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt
44+
* to spend the smaller of this value or the natural throttling spend amount. If not specified,
45+
* the budget is used as the spend target. This field is deprecated and should no longer be used.
46+
* See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for
4747
* details.
4848
* The value may be {@code null}.
4949
*/
@@ -70,10 +70,10 @@ public GoogleAdsSearchads360V0CommonTargetSpend setCpcBidCeilingMicros(java.lang
7070
}
7171

7272
/**
73-
* The spend target under which to maximize clicks. A TargetSpend bidder will attempt to spend the
74-
* smaller of this value or the natural throttling spend amount. If not specified, the budget is
75-
* used as the spend target. This field is deprecated and should no longer be used. See
76-
* https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for
73+
* Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt
74+
* to spend the smaller of this value or the natural throttling spend amount. If not specified,
75+
* the budget is used as the spend target. This field is deprecated and should no longer be used.
76+
* See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for
7777
* details.
7878
* @return value or {@code null} for none
7979
*/
@@ -82,10 +82,10 @@ public java.lang.Long getTargetSpendMicros() {
8282
}
8383

8484
/**
85-
* The spend target under which to maximize clicks. A TargetSpend bidder will attempt to spend the
86-
* smaller of this value or the natural throttling spend amount. If not specified, the budget is
87-
* used as the spend target. This field is deprecated and should no longer be used. See
88-
* https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for
85+
* Deprecated: The spend target under which to maximize clicks. A TargetSpend bidder will attempt
86+
* to spend the smaller of this value or the natural throttling spend amount. If not specified,
87+
* the budget is used as the spend target. This field is deprecated and should no longer be used.
88+
* See https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html for
8989
* details.
9090
* @param targetSpendMicros targetSpendMicros or {@code null} for none
9191
*/

0 commit comments

Comments
 (0)