33
33
public final class PolicyTopic extends com .google .api .client .json .GenericJson {
34
34
35
35
/**
36
- * Required. Indicates if this is a policy violation or not. When the value is true, issues that
37
- * are instances of this topic must be addressed to remain in compliance with the partner's
38
- * agreements with Google. A false value indicates that it's not mandatory to fix the issues but
39
- * advertising demand might be restricted.
36
+ * Required. Deprecated. Policy topics no longer have a "must-fix" classification.
40
37
* The value may be {@code null}.
41
38
*/
42
39
@ com .google .api .client .util .Key
@@ -50,21 +47,24 @@ public final class PolicyTopic extends com.google.api.client.json.GenericJson {
50
47
private java .lang .String topic ;
51
48
52
49
/**
53
- * Required. Indicates if this is a policy violation or not. When the value is true, issues that
54
- * are instances of this topic must be addressed to remain in compliance with the partner's
55
- * agreements with Google. A false value indicates that it's not mandatory to fix the issues but
56
- * advertising demand might be restricted.
50
+ * Optional. The type of policy topic. For example, "POLICY" represents all the policy topics that
51
+ * are related to the Google Publisher Policy (GPP). See
52
+ * https://support.google.com/adsense/answer/15689616.
53
+ * The value may be {@code null}.
54
+ */
55
+ @ com .google .api .client .util .Key
56
+ private java .lang .String type ;
57
+
58
+ /**
59
+ * Required. Deprecated. Policy topics no longer have a "must-fix" classification.
57
60
* @return value or {@code null} for none
58
61
*/
59
62
public java .lang .Boolean getMustFix () {
60
63
return mustFix ;
61
64
}
62
65
63
66
/**
64
- * Required. Indicates if this is a policy violation or not. When the value is true, issues that
65
- * are instances of this topic must be addressed to remain in compliance with the partner's
66
- * agreements with Google. A false value indicates that it's not mandatory to fix the issues but
67
- * advertising demand might be restricted.
67
+ * Required. Deprecated. Policy topics no longer have a "must-fix" classification.
68
68
* @param mustFix mustFix or {@code null} for none
69
69
*/
70
70
public PolicyTopic setMustFix (java .lang .Boolean mustFix ) {
@@ -89,6 +89,27 @@ public PolicyTopic setTopic(java.lang.String topic) {
89
89
return this ;
90
90
}
91
91
92
+ /**
93
+ * Optional. The type of policy topic. For example, "POLICY" represents all the policy topics that
94
+ * are related to the Google Publisher Policy (GPP). See
95
+ * https://support.google.com/adsense/answer/15689616.
96
+ * @return value or {@code null} for none
97
+ */
98
+ public java .lang .String getType () {
99
+ return type ;
100
+ }
101
+
102
+ /**
103
+ * Optional. The type of policy topic. For example, "POLICY" represents all the policy topics that
104
+ * are related to the Google Publisher Policy (GPP). See
105
+ * https://support.google.com/adsense/answer/15689616.
106
+ * @param type type or {@code null} for none
107
+ */
108
+ public PolicyTopic setType (java .lang .String type ) {
109
+ this .type = type ;
110
+ return this ;
111
+ }
112
+
92
113
@ Override
93
114
public PolicyTopic set (String fieldName , Object value ) {
94
115
return (PolicyTopic ) super .set (fieldName , value );
0 commit comments