31
31
public final class YoutubeAndPartnersSettings extends com .google .api .client .json .GenericJson {
32
32
33
33
/**
34
- * The kind of content on which the YouTube and Partners ads will be shown.
34
+ * The kind of content on which the YouTube and Partners ads will be shown. *Warning*: Starting
35
+ * **June 12, 2025**, this setting will no longer be editable. This field will eventually be
36
+ * removed. [Read more about this announced change](/display-
37
+ * video/api/deprecations#features.li_yt_content_category)
35
38
* The value may be {@code null}.
36
39
*/
37
40
@ com .google .api .client .util .Key
@@ -40,7 +43,9 @@ public final class YoutubeAndPartnersSettings extends com.google.api.client.json
40
43
/**
41
44
* Output only. The content category which takes effect when serving the line item. When content
42
45
* category is set in both line item and advertiser, the stricter one will take effect when
43
- * serving the line item.
46
+ * serving the line item. *Warning*: Starting **June 12, 2025**, this field will only reflect the
47
+ * advertiser level setting for new line items. [Read more about this announced change](/display-
48
+ * video/api/deprecations#features.li_yt_content_category)
44
49
* The value may be {@code null}.
45
50
*/
46
51
@ com .google .api .client .util .Key
@@ -106,15 +111,21 @@ public final class YoutubeAndPartnersSettings extends com.google.api.client.json
106
111
private FrequencyCap viewFrequencyCap ;
107
112
108
113
/**
109
- * The kind of content on which the YouTube and Partners ads will be shown.
114
+ * The kind of content on which the YouTube and Partners ads will be shown. *Warning*: Starting
115
+ * **June 12, 2025**, this setting will no longer be editable. This field will eventually be
116
+ * removed. [Read more about this announced change](/display-
117
+ * video/api/deprecations#features.li_yt_content_category)
110
118
* @return value or {@code null} for none
111
119
*/
112
120
public java .lang .String getContentCategory () {
113
121
return contentCategory ;
114
122
}
115
123
116
124
/**
117
- * The kind of content on which the YouTube and Partners ads will be shown.
125
+ * The kind of content on which the YouTube and Partners ads will be shown. *Warning*: Starting
126
+ * **June 12, 2025**, this setting will no longer be editable. This field will eventually be
127
+ * removed. [Read more about this announced change](/display-
128
+ * video/api/deprecations#features.li_yt_content_category)
118
129
* @param contentCategory contentCategory or {@code null} for none
119
130
*/
120
131
public YoutubeAndPartnersSettings setContentCategory (java .lang .String contentCategory ) {
@@ -125,7 +136,9 @@ public YoutubeAndPartnersSettings setContentCategory(java.lang.String contentCat
125
136
/**
126
137
* Output only. The content category which takes effect when serving the line item. When content
127
138
* category is set in both line item and advertiser, the stricter one will take effect when
128
- * serving the line item.
139
+ * serving the line item. *Warning*: Starting **June 12, 2025**, this field will only reflect the
140
+ * advertiser level setting for new line items. [Read more about this announced change](/display-
141
+ * video/api/deprecations#features.li_yt_content_category)
129
142
* @return value or {@code null} for none
130
143
*/
131
144
public java .lang .String getEffectiveContentCategory () {
@@ -135,7 +148,9 @@ public java.lang.String getEffectiveContentCategory() {
135
148
/**
136
149
* Output only. The content category which takes effect when serving the line item. When content
137
150
* category is set in both line item and advertiser, the stricter one will take effect when
138
- * serving the line item.
151
+ * serving the line item. *Warning*: Starting **June 12, 2025**, this field will only reflect the
152
+ * advertiser level setting for new line items. [Read more about this announced change](/display-
153
+ * video/api/deprecations#features.li_yt_content_category)
139
154
* @param effectiveContentCategory effectiveContentCategory or {@code null} for none
140
155
*/
141
156
public YoutubeAndPartnersSettings setEffectiveContentCategory (java .lang .String effectiveContentCategory ) {
0 commit comments