-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Automated regeneration of SearchAds360 client (#12507)
Auto-created at 2024-11-10 13:15:47 +0000 using the toys pull request generator.
- Loading branch information
1 parent
0f8a571
commit d803507
Showing
9 changed files
with
213 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
...arch_ads360/v0/model/google_ads_searchads360_v0_resources__ad_group_ad_effective_label.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_AdGroupAdEffectiveLabel do | ||
@moduledoc """ | ||
A relationship between an ad group ad and an effective label. An effective label is a label inherited or directly assigned to this ad group ad. | ||
## Attributes | ||
* `adGroupAd` (*type:* `String.t`, *default:* `nil`) - Immutable. The ad group ad to which the effective label is attached. | ||
* `label` (*type:* `String.t`, *default:* `nil`) - Immutable. The effective label assigned to the ad group ad. | ||
* `ownerCustomerId` (*type:* `String.t`, *default:* `nil`) - Output only. The ID of the Customer which owns the effective label. | ||
* `resourceName` (*type:* `String.t`, *default:* `nil`) - Immutable. The resource name of the ad group ad effective label. Ad group ad effective label resource names have the form: `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}` | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:adGroupAd => String.t() | nil, | ||
:label => String.t() | nil, | ||
:ownerCustomerId => String.t() | nil, | ||
:resourceName => String.t() | nil | ||
} | ||
|
||
field(:adGroupAd) | ||
field(:label) | ||
field(:ownerCustomerId) | ||
field(:resourceName) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_AdGroupAdEffectiveLabel do | ||
def decode(value, options) do | ||
GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_AdGroupAdEffectiveLabel.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_AdGroupAdEffectiveLabel do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
...s360/v0/model/google_ads_searchads360_v0_resources__ad_group_criterion_effective_label.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_AdGroupCriterionEffectiveLabel do | ||
@moduledoc """ | ||
A relationship between an ad group criterion and an effective label. An effective label is a label inherited or directly assigned to this ad group criterion. | ||
## Attributes | ||
* `adGroupCriterion` (*type:* `String.t`, *default:* `nil`) - Immutable. The ad group criterion to which the effective label is attached. | ||
* `label` (*type:* `String.t`, *default:* `nil`) - Immutable. The effective label assigned to the ad group criterion. | ||
* `ownerCustomerId` (*type:* `String.t`, *default:* `nil`) - Output only. The ID of the Customer which owns the effective label. | ||
* `resourceName` (*type:* `String.t`, *default:* `nil`) - Immutable. The resource name of the ad group criterion effective label. Ad group criterion effective label resource names have the form: `customers/{customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_id}~{label_id}` | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:adGroupCriterion => String.t() | nil, | ||
:label => String.t() | nil, | ||
:ownerCustomerId => String.t() | nil, | ||
:resourceName => String.t() | nil | ||
} | ||
|
||
field(:adGroupCriterion) | ||
field(:label) | ||
field(:ownerCustomerId) | ||
field(:resourceName) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_AdGroupCriterionEffectiveLabel do | ||
def decode(value, options) do | ||
GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_AdGroupCriterionEffectiveLabel.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_AdGroupCriterionEffectiveLabel do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
57 changes: 57 additions & 0 deletions
57
...le_api/search_ads360/v0/model/google_ads_searchads360_v0_resources__user_location_view.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_UserLocationView do | ||
@moduledoc """ | ||
A user location view. User Location View includes all metrics aggregated at the country level, one row per country. It reports metrics at the actual physical location of the user by targeted or not targeted location. If other segment fields are used, you may get more than one row per country. | ||
## Attributes | ||
* `countryCriterionId` (*type:* `String.t`, *default:* `nil`) - Output only. Criterion Id for the country. | ||
* `resourceName` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the user location view. UserLocation view resource names have the form: `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` | ||
* `targetingLocation` (*type:* `boolean()`, *default:* `nil`) - Output only. Indicates whether location was targeted or not. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:countryCriterionId => String.t() | nil, | ||
:resourceName => String.t() | nil, | ||
:targetingLocation => boolean() | nil | ||
} | ||
|
||
field(:countryCriterionId) | ||
field(:resourceName) | ||
field(:targetingLocation) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_UserLocationView do | ||
def decode(value, options) do | ||
GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_UserLocationView.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: GoogleApi.SearchAds360.V0.Model.GoogleAdsSearchads360V0Resources_UserLocationView do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters