Skip to content

Commit 81ded90

Browse files
1 parent 2c4f59c commit 81ded90

File tree

4 files changed

+39
-18
lines changed

4 files changed

+39
-18
lines changed

clients/google-api-services-adsense/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-adsense</artifactId>
25-
<version>v2-rev20250220-2.0.0</version>
25+
<version>v2-rev20250224-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-adsense:v2-rev20250220-2.0.0'
38+
implementation 'com.google.apis:google-api-services-adsense:v2-rev20250224-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-adsense/v2/2.0.0/com/google/api/services/adsense/v2/model/PolicyTopic.java

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@
3333
public final class PolicyTopic extends com.google.api.client.json.GenericJson {
3434

3535
/**
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.
4037
* The value may be {@code null}.
4138
*/
4239
@com.google.api.client.util.Key
@@ -50,21 +47,24 @@ public final class PolicyTopic extends com.google.api.client.json.GenericJson {
5047
private java.lang.String topic;
5148

5249
/**
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.
5760
* @return value or {@code null} for none
5861
*/
5962
public java.lang.Boolean getMustFix() {
6063
return mustFix;
6164
}
6265

6366
/**
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.
6868
* @param mustFix mustFix or {@code null} for none
6969
*/
7070
public PolicyTopic setMustFix(java.lang.Boolean mustFix) {
@@ -89,6 +89,27 @@ public PolicyTopic setTopic(java.lang.String topic) {
8989
return this;
9090
}
9191

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+
92113
@Override
93114
public PolicyTopic set(String fieldName, Object value) {
94115
return (PolicyTopic) super.set(fieldName, value);

clients/google-api-services-adsense/v2/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-adsense</artifactId>
11-
<version>v2-rev20250220-2.0.0</version>
12-
<name>AdSense Management API v2-rev20250220-2.0.0</name>
11+
<version>v2-rev20250224-2.0.0</version>
12+
<name>AdSense Management API v2-rev20250224-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-adsense/v2/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-adsense</artifactId>
25-
<version>v2-rev20250220-2.0.0</version>
25+
<version>v2-rev20250224-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-adsense:v2-rev20250220-2.0.0'
38+
implementation 'com.google.apis:google-api-services-adsense:v2-rev20250224-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)