Skip to content

Commit ea6917e

Browse files
feat: Automated regeneration of AdSense client (googleapis#13036)
Auto-created at 2025-02-25 13:15:59 +0000 using the toys pull request generator.
1 parent 2789b40 commit ea6917e

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

clients/ad_sense/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_ad_sense, "~> 0.17"}]
14+
[{:google_api_ad_sense, "~> 0.18"}]
1515
end
1616
```
1717

clients/ad_sense/lib/google_api/ad_sense/v2/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.AdSense.V2 do
2020
API client metadata for GoogleApi.AdSense.V2.
2121
"""
2222

23-
@discovery_revision "20241203"
23+
@discovery_revision "20250224"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/ad_sense/lib/google_api/ad_sense/v2/model/policy_topic.ex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,22 @@ defmodule GoogleApi.AdSense.V2.Model.PolicyTopic do
2121
2222
## Attributes
2323
24-
* `mustFix` (*type:* `boolean()`, *default:* `nil`) - Required. Indicates if this is a policy violation or not. When the value is true, issues that are instances of this topic must be addressed to remain in compliance with the partner's agreements with Google. A false value indicates that it's not mandatory to fix the issues but advertising demand might be restricted.
24+
* `mustFix` (*type:* `boolean()`, *default:* `nil`) - Required. Deprecated. Policy topics no longer have a "must-fix" classification.
2525
* `topic` (*type:* `String.t`, *default:* `nil`) - Required. The policy topic. For example, "sexual-content" or "ads-obscuring-content"."
26+
* `type` (*type:* `String.t`, *default:* `nil`) - Optional. The type of policy topic. For example, "POLICY" represents all the policy topics that are related to the Google Publisher Policy (GPP). See https://support.google.com/adsense/answer/15689616.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:mustFix => boolean() | nil,
32-
:topic => String.t() | nil
33+
:topic => String.t() | nil,
34+
:type => String.t() | nil
3335
}
3436

3537
field(:mustFix)
3638
field(:topic)
39+
field(:type)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.AdSense.V2.Model.PolicyTopic do

clients/ad_sense/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.AdSense.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.17.1"
21+
@version "0.18.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)