Skip to content

Commit e4f7671

Browse files
feat(adsenseplatform): update the api
#### adsenseplatform:v1alpha The following keys were added: - resources.accounts.resources.platforms.resources.childAccounts.resources.sites.methods.get (Total Keys: 11) - resources.accounts.resources.platforms.resources.groups.methods.get (Total Keys: 11)
1 parent db995f7 commit e4f7671

File tree

3 files changed

+101
-1
lines changed

3 files changed

+101
-1
lines changed

docs/dyn/adsenseplatform_v1alpha.accounts.platforms.childAccounts.sites.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets a Platform Child Site for a specified Platform Child Account and site.</p>
8083
<p class="toc_element">
8184
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Lists Platform Child Sites for a specified Platform Child Account.</p>
@@ -92,6 +95,27 @@ <h3>Method Details</h3>
9295
<pre>Close httplib2 connections.</pre>
9396
</div>
9497

98+
<div class="method">
99+
<code class="details" id="get">get(name, x__xgafv=None)</code>
100+
<pre>Gets a Platform Child Site for a specified Platform Child Account and site.
101+
102+
Args:
103+
name: string, Required. The name of the platform child site to retrieve. Format: accounts/{account}/platforms/{platform}/childAccounts/{child_account}/sites/{platform_child_site} (required)
104+
x__xgafv: string, V1 error format.
105+
Allowed values
106+
1 - v1 error format
107+
2 - v2 error format
108+
109+
Returns:
110+
An object of the form:
111+
112+
{ # Representation of a Transparent Platform Child Site.
113+
&quot;domain&quot;: &quot;A String&quot;, # Output only. Domain URL of the Platform Child Site. Part of the PlatformChildSite name.
114+
&quot;name&quot;: &quot;A String&quot;, # Identifier. Format: accounts/{account}/platforms/{platform}/childAccounts/{child_account}/sites/{platform_child_site}
115+
&quot;platformGroup&quot;: &quot;A String&quot;, # Resource name of the Platform Group of the Platform Child Site.
116+
}</pre>
117+
</div>
118+
95119
<div class="method">
96120
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
97121
<pre>Lists Platform Child Sites for a specified Platform Child Account.

docs/dyn/adsenseplatform_v1alpha.accounts.platforms.groups.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets a Platform Group for a specified Platform and group.</p>
8083
<p class="toc_element">
8184
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Lists Platform Groups for a specified Platform.</p>
@@ -89,6 +92,29 @@ <h3>Method Details</h3>
8992
<pre>Close httplib2 connections.</pre>
9093
</div>
9194

95+
<div class="method">
96+
<code class="details" id="get">get(name, x__xgafv=None)</code>
97+
<pre>Gets a Platform Group for a specified Platform and group.
98+
99+
Args:
100+
name: string, Required. The name of the platform group to retrieve. Format: accounts/{account}/platforms/{platform}/groups/{group} (required)
101+
x__xgafv: string, V1 error format.
102+
Allowed values
103+
1 - v1 error format
104+
2 - v2 error format
105+
106+
Returns:
107+
An object of the form:
108+
109+
{ # Representation of a Transparent Platform Group.
110+
&quot;description&quot;: &quot;A String&quot;, # Output only. Description of the PlatformGroup.
111+
&quot;name&quot;: &quot;A String&quot;, # Identifier. Format: accounts/{account}/platforms/{platform}/groups/{platform_group}
112+
&quot;revshareMillipercent&quot;: { # A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java&#x27;s [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or Python&#x27;s [decimal.Decimal](https://docs.python.org/3/library/decimal.html). # The revenue share of the PlatformGroup, in millipercent (e.g. 15000 = 15%).
113+
&quot;value&quot;: &quot;A String&quot;, # The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits (&quot;the integer&quot;), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -&gt; `2.5`). - Replacing a zero-length integer value with `0` (`.5` -&gt; `0.5`). - Coercing the exponent character to upper-case, with explicit sign (`2.5e8` -&gt; `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -&gt; `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` &lt;-&gt; `0.25`). Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does support them, values **must** be normalized. The ENBF grammar is: DecimalString = &#x27;&#x27; | [Sign] Significand [Exponent]; Sign = &#x27;+&#x27; | &#x27;-&#x27;; Significand = Digits &#x27;.&#x27; | [Digits] &#x27;.&#x27; Digits; Exponent = (&#x27;e&#x27; | &#x27;E&#x27;) [Sign] Digits; Digits = { &#x27;0&#x27; | &#x27;1&#x27; | &#x27;2&#x27; | &#x27;3&#x27; | &#x27;4&#x27; | &#x27;5&#x27; | &#x27;6&#x27; | &#x27;7&#x27; | &#x27;8&#x27; | &#x27;9&#x27; }; Services **should** clearly document the range of supported values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range.
114+
},
115+
}</pre>
116+
</div>
117+
92118
<div class="method">
93119
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
94120
<pre>Lists Platform Groups for a specified Platform.

googleapiclient/discovery_cache/documents/adsenseplatform.v1alpha.json

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,31 @@
181181
"resources": {
182182
"sites": {
183183
"methods": {
184+
"get": {
185+
"description": "Gets a Platform Child Site for a specified Platform Child Account and site.",
186+
"flatPath": "v1alpha/accounts/{accountsId}/platforms/{platformsId}/childAccounts/{childAccountsId}/sites/{sitesId}",
187+
"httpMethod": "GET",
188+
"id": "adsenseplatform.accounts.platforms.childAccounts.sites.get",
189+
"parameterOrder": [
190+
"name"
191+
],
192+
"parameters": {
193+
"name": {
194+
"description": "Required. The name of the platform child site to retrieve. Format: accounts/{account}/platforms/{platform}/childAccounts/{child_account}/sites/{platform_child_site}",
195+
"location": "path",
196+
"pattern": "^accounts/[^/]+/platforms/[^/]+/childAccounts/[^/]+/sites/[^/]+$",
197+
"required": true,
198+
"type": "string"
199+
}
200+
},
201+
"path": "v1alpha/{+name}",
202+
"response": {
203+
"$ref": "PlatformChildSite"
204+
},
205+
"scopes": [
206+
"https://www.googleapis.com/auth/adsense"
207+
]
208+
},
184209
"list": {
185210
"description": "Lists Platform Child Sites for a specified Platform Child Account.",
186211
"flatPath": "v1alpha/accounts/{accountsId}/platforms/{platformsId}/childAccounts/{childAccountsId}/sites",
@@ -258,6 +283,31 @@
258283
},
259284
"groups": {
260285
"methods": {
286+
"get": {
287+
"description": "Gets a Platform Group for a specified Platform and group.",
288+
"flatPath": "v1alpha/accounts/{accountsId}/platforms/{platformsId}/groups/{groupsId}",
289+
"httpMethod": "GET",
290+
"id": "adsenseplatform.accounts.platforms.groups.get",
291+
"parameterOrder": [
292+
"name"
293+
],
294+
"parameters": {
295+
"name": {
296+
"description": "Required. The name of the platform group to retrieve. Format: accounts/{account}/platforms/{platform}/groups/{group}",
297+
"location": "path",
298+
"pattern": "^accounts/[^/]+/platforms/[^/]+/groups/[^/]+$",
299+
"required": true,
300+
"type": "string"
301+
}
302+
},
303+
"path": "v1alpha/{+name}",
304+
"response": {
305+
"$ref": "PlatformGroup"
306+
},
307+
"scopes": [
308+
"https://www.googleapis.com/auth/adsense"
309+
]
310+
},
261311
"list": {
262312
"description": "Lists Platform Groups for a specified Platform.",
263313
"flatPath": "v1alpha/accounts/{accountsId}/platforms/{platformsId}/groups",
@@ -639,7 +689,7 @@
639689
}
640690
}
641691
},
642-
"revision": "20250123",
692+
"revision": "20250612",
643693
"rootUrl": "https://adsenseplatform.googleapis.com/",
644694
"schemas": {
645695
"Account": {

0 commit comments

Comments
 (0)