Skip to content

Commit d8d730f

Browse files
1 parent b574d5d commit d8d730f

9 files changed

+548
-6
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-rev20241002-2.0.0</version>
25+
<version>v0-rev20241108-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-rev20241002-2.0.0'
38+
implementation 'com.google.apis:google-api-services-searchads360:v0-rev20241108-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public final class GoogleAdsSearchads360V0ResourcesAdGroupAd extends com.google.
4545
@com.google.api.client.util.Key
4646
private java.lang.String creationTime;
4747

48+
/**
49+
* Output only. The resource names of effective labels attached to this ad. An effective label is
50+
* a label inherited or directly assigned to this ad.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.util.List<java.lang.String> effectiveLabels;
55+
4856
/**
4957
* Output only. ID of the ad in the external engine account. This field is for Search Ads 360
5058
* account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity,
@@ -128,6 +136,25 @@ public GoogleAdsSearchads360V0ResourcesAdGroupAd setCreationTime(java.lang.Strin
128136
return this;
129137
}
130138

139+
/**
140+
* Output only. The resource names of effective labels attached to this ad. An effective label is
141+
* a label inherited or directly assigned to this ad.
142+
* @return value or {@code null} for none
143+
*/
144+
public java.util.List<java.lang.String> getEffectiveLabels() {
145+
return effectiveLabels;
146+
}
147+
148+
/**
149+
* Output only. The resource names of effective labels attached to this ad. An effective label is
150+
* a label inherited or directly assigned to this ad.
151+
* @param effectiveLabels effectiveLabels or {@code null} for none
152+
*/
153+
public GoogleAdsSearchads360V0ResourcesAdGroupAd setEffectiveLabels(java.util.List<java.lang.String> effectiveLabels) {
154+
this.effectiveLabels = effectiveLabels;
155+
return this;
156+
}
157+
131158
/**
132159
* Output only. ID of the ad in the external engine account. This field is for Search Ads 360
133160
* account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
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 relationship between an ad group ad and an effective label. An effective label is a label
21+
* inherited or directly assigned to this ad group ad.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Immutable. The ad group ad to which the effective label is attached.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String adGroupAd;
40+
41+
/**
42+
* Immutable. The effective label assigned to the ad group ad.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String label;
47+
48+
/**
49+
* Output only. The ID of the Customer which owns the effective label.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
53+
private java.lang.Long ownerCustomerId;
54+
55+
/**
56+
* Immutable. The resource name of the ad group ad effective label. Ad group ad effective label
57+
* resource names have the form:
58+
* `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String resourceName;
63+
64+
/**
65+
* Immutable. The ad group ad to which the effective label is attached.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getAdGroupAd() {
69+
return adGroupAd;
70+
}
71+
72+
/**
73+
* Immutable. The ad group ad to which the effective label is attached.
74+
* @param adGroupAd adGroupAd or {@code null} for none
75+
*/
76+
public GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel setAdGroupAd(java.lang.String adGroupAd) {
77+
this.adGroupAd = adGroupAd;
78+
return this;
79+
}
80+
81+
/**
82+
* Immutable. The effective label assigned to the ad group ad.
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getLabel() {
86+
return label;
87+
}
88+
89+
/**
90+
* Immutable. The effective label assigned to the ad group ad.
91+
* @param label label or {@code null} for none
92+
*/
93+
public GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel setLabel(java.lang.String label) {
94+
this.label = label;
95+
return this;
96+
}
97+
98+
/**
99+
* Output only. The ID of the Customer which owns the effective label.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.lang.Long getOwnerCustomerId() {
103+
return ownerCustomerId;
104+
}
105+
106+
/**
107+
* Output only. The ID of the Customer which owns the effective label.
108+
* @param ownerCustomerId ownerCustomerId or {@code null} for none
109+
*/
110+
public GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) {
111+
this.ownerCustomerId = ownerCustomerId;
112+
return this;
113+
}
114+
115+
/**
116+
* Immutable. The resource name of the ad group ad effective label. Ad group ad effective label
117+
* resource names have the form:
118+
* `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`
119+
* @return value or {@code null} for none
120+
*/
121+
public java.lang.String getResourceName() {
122+
return resourceName;
123+
}
124+
125+
/**
126+
* Immutable. The resource name of the ad group ad effective label. Ad group ad effective label
127+
* resource names have the form:
128+
* `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`
129+
* @param resourceName resourceName or {@code null} for none
130+
*/
131+
public GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel setResourceName(java.lang.String resourceName) {
132+
this.resourceName = resourceName;
133+
return this;
134+
}
135+
136+
@Override
137+
public GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel set(String fieldName, Object value) {
138+
return (GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel) super.set(fieldName, value);
139+
}
140+
141+
@Override
142+
public GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel clone() {
143+
return (GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel) super.clone();
144+
}
145+
146+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ public final class GoogleAdsSearchads360V0ResourcesAdGroupCriterion extends com.
8282
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
8383
private java.lang.Long effectiveCpcBidMicros;
8484

85+
/**
86+
* Output only. The resource names of effective labels attached to this ad group criterion. An
87+
* effective label is a label inherited or directly assigned to this ad group criterion.
88+
* The value may be {@code null}.
89+
*/
90+
@com.google.api.client.util.Key
91+
private java.util.List<java.lang.String> effectiveLabels;
92+
8593
/**
8694
* Output only. ID of the ad group criterion in the external engine account. This field is for
8795
* non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads
@@ -349,6 +357,25 @@ public GoogleAdsSearchads360V0ResourcesAdGroupCriterion setEffectiveCpcBidMicros
349357
return this;
350358
}
351359

360+
/**
361+
* Output only. The resource names of effective labels attached to this ad group criterion. An
362+
* effective label is a label inherited or directly assigned to this ad group criterion.
363+
* @return value or {@code null} for none
364+
*/
365+
public java.util.List<java.lang.String> getEffectiveLabels() {
366+
return effectiveLabels;
367+
}
368+
369+
/**
370+
* Output only. The resource names of effective labels attached to this ad group criterion. An
371+
* effective label is a label inherited or directly assigned to this ad group criterion.
372+
* @param effectiveLabels effectiveLabels or {@code null} for none
373+
*/
374+
public GoogleAdsSearchads360V0ResourcesAdGroupCriterion setEffectiveLabels(java.util.List<java.lang.String> effectiveLabels) {
375+
this.effectiveLabels = effectiveLabels;
376+
return this;
377+
}
378+
352379
/**
353380
* Output only. ID of the ad group criterion in the external engine account. This field is for
354381
* non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
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 relationship between an ad group criterion and an effective label. An effective label is a
21+
* label inherited or directly assigned to this ad group criterion.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Search Ads 360 Reporting API. For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Immutable. The ad group criterion to which the effective label is attached.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String adGroupCriterion;
40+
41+
/**
42+
* Immutable. The effective label assigned to the ad group criterion.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String label;
47+
48+
/**
49+
* Output only. The ID of the Customer which owns the effective label.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
53+
private java.lang.Long ownerCustomerId;
54+
55+
/**
56+
* Immutable. The resource name of the ad group criterion effective label. Ad group criterion
57+
* effective label resource names have the form: `customers/{customer_id}/adGroupCriterionEffectiv
58+
* eLabels/{ad_group_id}~{criterion_id}~{label_id}`
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String resourceName;
63+
64+
/**
65+
* Immutable. The ad group criterion to which the effective label is attached.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getAdGroupCriterion() {
69+
return adGroupCriterion;
70+
}
71+
72+
/**
73+
* Immutable. The ad group criterion to which the effective label is attached.
74+
* @param adGroupCriterion adGroupCriterion or {@code null} for none
75+
*/
76+
public GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel setAdGroupCriterion(java.lang.String adGroupCriterion) {
77+
this.adGroupCriterion = adGroupCriterion;
78+
return this;
79+
}
80+
81+
/**
82+
* Immutable. The effective label assigned to the ad group criterion.
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getLabel() {
86+
return label;
87+
}
88+
89+
/**
90+
* Immutable. The effective label assigned to the ad group criterion.
91+
* @param label label or {@code null} for none
92+
*/
93+
public GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel setLabel(java.lang.String label) {
94+
this.label = label;
95+
return this;
96+
}
97+
98+
/**
99+
* Output only. The ID of the Customer which owns the effective label.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.lang.Long getOwnerCustomerId() {
103+
return ownerCustomerId;
104+
}
105+
106+
/**
107+
* Output only. The ID of the Customer which owns the effective label.
108+
* @param ownerCustomerId ownerCustomerId or {@code null} for none
109+
*/
110+
public GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel setOwnerCustomerId(java.lang.Long ownerCustomerId) {
111+
this.ownerCustomerId = ownerCustomerId;
112+
return this;
113+
}
114+
115+
/**
116+
* Immutable. The resource name of the ad group criterion effective label. Ad group criterion
117+
* effective label resource names have the form: `customers/{customer_id}/adGroupCriterionEffectiv
118+
* eLabels/{ad_group_id}~{criterion_id}~{label_id}`
119+
* @return value or {@code null} for none
120+
*/
121+
public java.lang.String getResourceName() {
122+
return resourceName;
123+
}
124+
125+
/**
126+
* Immutable. The resource name of the ad group criterion effective label. Ad group criterion
127+
* effective label resource names have the form: `customers/{customer_id}/adGroupCriterionEffectiv
128+
* eLabels/{ad_group_id}~{criterion_id}~{label_id}`
129+
* @param resourceName resourceName or {@code null} for none
130+
*/
131+
public GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel setResourceName(java.lang.String resourceName) {
132+
this.resourceName = resourceName;
133+
return this;
134+
}
135+
136+
@Override
137+
public GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel set(String fieldName, Object value) {
138+
return (GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel) super.set(fieldName, value);
139+
}
140+
141+
@Override
142+
public GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel clone() {
143+
return (GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel) super.clone();
144+
}
145+
146+
}

0 commit comments

Comments
 (0)