google-apis-searchads360_v0 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a01ff665b1d6688c8e377555b32bc55e742a5dcf8ec2cecd0baf88045f2ef7dc
|
4
|
+
data.tar.gz: 506baf8f4821dabc04f0421962cf8898a1c3ff0779e172512958b000058f4bf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16831e3a676a4b621e08d1af3752254cd181dea39365b74ff540be9970af62455e44e146c2500d7346039136d0b7ef315fd74a72cb2be02ee4517b5bd1d0e444
|
7
|
+
data.tar.gz: 1fbc1031ef0849512da16915f21d7671ccf49c3fada60babdc569c1de293cbd7901f98939fda67320f877ff1fa27c4b0d3f350d7d98a2fa74540d69de0d528d7
|
data/CHANGELOG.md
CHANGED
@@ -964,6 +964,55 @@ module Google
|
|
964
964
|
end
|
965
965
|
end
|
966
966
|
|
967
|
+
# A Search Ads 360 text ad.
|
968
|
+
class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
|
969
|
+
include Google::Apis::Core::Hashable
|
970
|
+
|
971
|
+
# The tracking id of the ad.
|
972
|
+
# Corresponds to the JSON property `adTrackId`
|
973
|
+
# @return [Fixnum]
|
974
|
+
attr_accessor :ad_track_id
|
975
|
+
|
976
|
+
# The first line of the ad's description.
|
977
|
+
# Corresponds to the JSON property `description1`
|
978
|
+
# @return [String]
|
979
|
+
attr_accessor :description1
|
980
|
+
|
981
|
+
# The second line of the ad's description.
|
982
|
+
# Corresponds to the JSON property `description2`
|
983
|
+
# @return [String]
|
984
|
+
attr_accessor :description2
|
985
|
+
|
986
|
+
# The displayed mobile URL of the ad.
|
987
|
+
# Corresponds to the JSON property `displayMobileUrl`
|
988
|
+
# @return [String]
|
989
|
+
attr_accessor :display_mobile_url
|
990
|
+
|
991
|
+
# The displayed URL of the ad.
|
992
|
+
# Corresponds to the JSON property `displayUrl`
|
993
|
+
# @return [String]
|
994
|
+
attr_accessor :display_url
|
995
|
+
|
996
|
+
# The headline of the ad.
|
997
|
+
# Corresponds to the JSON property `headline`
|
998
|
+
# @return [String]
|
999
|
+
attr_accessor :headline
|
1000
|
+
|
1001
|
+
def initialize(**args)
|
1002
|
+
update!(**args)
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# Update properties of this object
|
1006
|
+
def update!(**args)
|
1007
|
+
@ad_track_id = args[:ad_track_id] if args.key?(:ad_track_id)
|
1008
|
+
@description1 = args[:description1] if args.key?(:description1)
|
1009
|
+
@description2 = args[:description2] if args.key?(:description2)
|
1010
|
+
@display_mobile_url = args[:display_mobile_url] if args.key?(:display_mobile_url)
|
1011
|
+
@display_url = args[:display_url] if args.key?(:display_url)
|
1012
|
+
@headline = args[:headline] if args.key?(:headline)
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|
967
1016
|
# Segment only fields.
|
968
1017
|
class GoogleAdsSearchads360V0CommonSegments
|
969
1018
|
include Google::Apis::Core::Hashable
|
@@ -2058,6 +2107,11 @@ module Google
|
|
2058
2107
|
# @return [String]
|
2059
2108
|
attr_accessor :resource_name
|
2060
2109
|
|
2110
|
+
# A Search Ads 360 text ad.
|
2111
|
+
# Corresponds to the JSON property `textAd`
|
2112
|
+
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo]
|
2113
|
+
attr_accessor :text_ad
|
2114
|
+
|
2061
2115
|
# Output only. The type of ad.
|
2062
2116
|
# Corresponds to the JSON property `type`
|
2063
2117
|
# @return [String]
|
@@ -2074,6 +2128,7 @@ module Google
|
|
2074
2128
|
@id = args[:id] if args.key?(:id)
|
2075
2129
|
@name = args[:name] if args.key?(:name)
|
2076
2130
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2131
|
+
@text_ad = args[:text_ad] if args.key?(:text_ad)
|
2077
2132
|
@type = args[:type] if args.key?(:type)
|
2078
2133
|
end
|
2079
2134
|
end
|
@@ -4661,84 +4716,6 @@ module Google
|
|
4661
4716
|
@total_results_count = args[:total_results_count] if args.key?(:total_results_count)
|
4662
4717
|
end
|
4663
4718
|
end
|
4664
|
-
|
4665
|
-
# Request message for SearchAds360Service.SearchStream.
|
4666
|
-
class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest
|
4667
|
-
include Google::Apis::Core::Hashable
|
4668
|
-
|
4669
|
-
# The number of rows that are returned in each stream response batch. When too
|
4670
|
-
# large batch is requested, the server may decide to further limit the number of
|
4671
|
-
# returned rows.
|
4672
|
-
# Corresponds to the JSON property `batchSize`
|
4673
|
-
# @return [Fixnum]
|
4674
|
-
attr_accessor :batch_size
|
4675
|
-
|
4676
|
-
# Required. The query string.
|
4677
|
-
# Corresponds to the JSON property `query`
|
4678
|
-
# @return [String]
|
4679
|
-
attr_accessor :query
|
4680
|
-
|
4681
|
-
# Determines whether a summary row will be returned. By default, summary row is
|
4682
|
-
# not returned. If requested, the summary row will be sent in a response by
|
4683
|
-
# itself after all other query results are returned.
|
4684
|
-
# Corresponds to the JSON property `summaryRowSetting`
|
4685
|
-
# @return [String]
|
4686
|
-
attr_accessor :summary_row_setting
|
4687
|
-
|
4688
|
-
def initialize(**args)
|
4689
|
-
update!(**args)
|
4690
|
-
end
|
4691
|
-
|
4692
|
-
# Update properties of this object
|
4693
|
-
def update!(**args)
|
4694
|
-
@batch_size = args[:batch_size] if args.key?(:batch_size)
|
4695
|
-
@query = args[:query] if args.key?(:query)
|
4696
|
-
@summary_row_setting = args[:summary_row_setting] if args.key?(:summary_row_setting)
|
4697
|
-
end
|
4698
|
-
end
|
4699
|
-
|
4700
|
-
# Response message for SearchAds360Service.SearchStream.
|
4701
|
-
class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse
|
4702
|
-
include Google::Apis::Core::Hashable
|
4703
|
-
|
4704
|
-
# The headers of the custom columns in the results.
|
4705
|
-
# Corresponds to the JSON property `customColumnHeaders`
|
4706
|
-
# @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader>]
|
4707
|
-
attr_accessor :custom_column_headers
|
4708
|
-
|
4709
|
-
# FieldMask that represents what fields were requested by the user.
|
4710
|
-
# Corresponds to the JSON property `fieldMask`
|
4711
|
-
# @return [String]
|
4712
|
-
attr_accessor :field_mask
|
4713
|
-
|
4714
|
-
# The unique id of the request that is used for debugging purposes.
|
4715
|
-
# Corresponds to the JSON property `requestId`
|
4716
|
-
# @return [String]
|
4717
|
-
attr_accessor :request_id
|
4718
|
-
|
4719
|
-
# The list of rows that matched the query.
|
4720
|
-
# Corresponds to the JSON property `results`
|
4721
|
-
# @return [Array<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row>]
|
4722
|
-
attr_accessor :results
|
4723
|
-
|
4724
|
-
# A returned row from the query.
|
4725
|
-
# Corresponds to the JSON property `summaryRow`
|
4726
|
-
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row]
|
4727
|
-
attr_accessor :summary_row
|
4728
|
-
|
4729
|
-
def initialize(**args)
|
4730
|
-
update!(**args)
|
4731
|
-
end
|
4732
|
-
|
4733
|
-
# Update properties of this object
|
4734
|
-
def update!(**args)
|
4735
|
-
@custom_column_headers = args[:custom_column_headers] if args.key?(:custom_column_headers)
|
4736
|
-
@field_mask = args[:field_mask] if args.key?(:field_mask)
|
4737
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
4738
|
-
@results = args[:results] if args.key?(:results)
|
4739
|
-
@summary_row = args[:summary_row] if args.key?(:summary_row)
|
4740
|
-
end
|
4741
|
-
end
|
4742
4719
|
end
|
4743
4720
|
end
|
4744
4721
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module Searchads360V0
|
18
18
|
# Version of the google-apis-searchads360_v0 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230425"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,6 +136,12 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
+
class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
139
145
|
class GoogleAdsSearchads360V0CommonSegments
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
147
|
|
@@ -562,18 +568,6 @@ module Google
|
|
562
568
|
include Google::Apis::Core::JsonObjectSupport
|
563
569
|
end
|
564
570
|
|
565
|
-
class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest
|
566
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
-
|
568
|
-
include Google::Apis::Core::JsonObjectSupport
|
569
|
-
end
|
570
|
-
|
571
|
-
class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse
|
572
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
-
|
574
|
-
include Google::Apis::Core::JsonObjectSupport
|
575
|
-
end
|
576
|
-
|
577
571
|
class GoogleAdsSearchads360V0CommonAgeRangeInfo
|
578
572
|
# @private
|
579
573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -779,6 +773,18 @@ module Google
|
|
779
773
|
end
|
780
774
|
end
|
781
775
|
|
776
|
+
class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
|
777
|
+
# @private
|
778
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
779
|
+
property :ad_track_id, :numeric_string => true, as: 'adTrackId'
|
780
|
+
property :description1, as: 'description1'
|
781
|
+
property :description2, as: 'description2'
|
782
|
+
property :display_mobile_url, as: 'displayMobileUrl'
|
783
|
+
property :display_url, as: 'displayUrl'
|
784
|
+
property :headline, as: 'headline'
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
782
788
|
class GoogleAdsSearchads360V0CommonSegments
|
783
789
|
# @private
|
784
790
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1080,6 +1086,8 @@ module Google
|
|
1080
1086
|
property :id, :numeric_string => true, as: 'id'
|
1081
1087
|
property :name, as: 'name'
|
1082
1088
|
property :resource_name, as: 'resourceName'
|
1089
|
+
property :text_ad, as: 'textAd', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo::Representation
|
1090
|
+
|
1083
1091
|
property :type, as: 'type'
|
1084
1092
|
end
|
1085
1093
|
end
|
@@ -1700,29 +1708,6 @@ module Google
|
|
1700
1708
|
property :total_results_count, :numeric_string => true, as: 'totalResultsCount'
|
1701
1709
|
end
|
1702
1710
|
end
|
1703
|
-
|
1704
|
-
class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest
|
1705
|
-
# @private
|
1706
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1707
|
-
property :batch_size, as: 'batchSize'
|
1708
|
-
property :query, as: 'query'
|
1709
|
-
property :summary_row_setting, as: 'summaryRowSetting'
|
1710
|
-
end
|
1711
|
-
end
|
1712
|
-
|
1713
|
-
class GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse
|
1714
|
-
# @private
|
1715
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1716
|
-
collection :custom_column_headers, as: 'customColumnHeaders', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader::Representation
|
1717
|
-
|
1718
|
-
property :field_mask, as: 'fieldMask'
|
1719
|
-
property :request_id, as: 'requestId'
|
1720
|
-
collection :results, as: 'results', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row::Representation
|
1721
|
-
|
1722
|
-
property :summary_row, as: 'summaryRow', class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row, decorator: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchAds360Row::Representation
|
1723
|
-
|
1724
|
-
end
|
1725
|
-
end
|
1726
1711
|
end
|
1727
1712
|
end
|
1728
1713
|
end
|
@@ -145,41 +145,6 @@ module Google
|
|
145
145
|
execute_or_queue_command(command, &block)
|
146
146
|
end
|
147
147
|
|
148
|
-
# Returns all rows that match the search stream query. List of thrown errors: [
|
149
|
-
# AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]()
|
150
|
-
# [QueryError]() [QuotaError]() [RequestError]()
|
151
|
-
# @param [String] customer_id
|
152
|
-
# Required. The ID of the customer being queried.
|
153
|
-
# @param [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest] google_ads_searchads360_v0_services__search_search_ads360_stream_request_object
|
154
|
-
# @param [String] fields
|
155
|
-
# Selector specifying which fields to include in a partial response.
|
156
|
-
# @param [String] quota_user
|
157
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
158
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
159
|
-
# @param [Google::Apis::RequestOptions] options
|
160
|
-
# Request-specific options
|
161
|
-
#
|
162
|
-
# @yield [result, err] Result & error if block supplied
|
163
|
-
# @yieldparam result [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse] parsed result object
|
164
|
-
# @yieldparam err [StandardError] error object if request failed
|
165
|
-
#
|
166
|
-
# @return [Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse]
|
167
|
-
#
|
168
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
169
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
170
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
171
|
-
def search_customer_search_ads360_stream(customer_id, google_ads_searchads360_v0_services__search_search_ads360_stream_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
172
|
-
command = make_simple_command(:post, 'v0/customers/{+customerId}/searchAds360:searchStream', options)
|
173
|
-
command.request_representation = Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamRequest::Representation
|
174
|
-
command.request_object = google_ads_searchads360_v0_services__search_search_ads360_stream_request_object
|
175
|
-
command.response_representation = Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse::Representation
|
176
|
-
command.response_class = Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesSearchSearchAds360StreamResponse
|
177
|
-
command.params['customerId'] = customer_id unless customer_id.nil?
|
178
|
-
command.query['fields'] = fields unless fields.nil?
|
179
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
180
|
-
execute_or_queue_command(command, &block)
|
181
|
-
end
|
182
|
-
|
183
148
|
# Returns just the requested field. List of thrown errors: [AuthenticationError](
|
184
149
|
# ) [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [
|
185
150
|
# RequestError]()
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-searchads360_v0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-searchads360_v0/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-searchads360_v0/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-searchads360_v0/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-searchads360_v0
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|