google-api-client 0.10.2 → 0.10.3
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 +4 -4
- data/CHANGELOG.md +25 -0
- data/MIGRATING.md +22 -7
- data/README.md +4 -8
- data/api_names.yaml +1210 -37815
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +187 -187
- data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
- data/generated/google/apis/appengine_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +2251 -0
- data/generated/google/apis/appengine_v1/representations.rb +858 -0
- data/generated/google/apis/appengine_v1/service.rb +894 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +11 -6
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +26 -0
- data/generated/google/apis/books_v1/representations.rb +15 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
- data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
- data/generated/google/apis/clouddebugger_v2.rb +3 -3
- data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
- data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
- data/generated/google/apis/cloudfunctions_v1.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
- data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
- data/generated/google/apis/cloudkms_v1/service.rb +194 -194
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +32 -7
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +11 -11
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -2
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
- data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
- data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
- data/generated/google/apis/dataproc_v1/representations.rb +200 -200
- data/generated/google/apis/dataproc_v1/service.rb +356 -356
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +701 -690
- data/generated/google/apis/datastore_v1/representations.rb +160 -160
- data/generated/google/apis/datastore_v1/service.rb +52 -52
- data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +158 -35
- data/generated/google/apis/drive_v2/representations.rb +39 -0
- data/generated/google/apis/drive_v2/service.rb +4 -4
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +162 -33
- data/generated/google/apis/drive_v3/representations.rb +39 -0
- data/generated/google/apis/drive_v3/service.rb +4 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
- data/generated/google/apis/firebaserules_v1.rb +41 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
- data/generated/google/apis/firebaserules_v1/service.rb +495 -0
- data/generated/google/apis/games_v1/classes.rb +4 -0
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
- data/generated/google/apis/genomics_v1/representations.rb +387 -387
- data/generated/google/apis/genomics_v1/service.rb +1187 -1187
- data/generated/google/apis/gmail_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -117
- data/generated/google/apis/iam_v1/representations.rb +33 -33
- data/generated/google/apis/iam_v1/service.rb +109 -109
- data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +36 -0
- data/generated/google/apis/language_v1/classes.rb +757 -0
- data/generated/google/apis/language_v1/representations.rb +338 -0
- data/generated/google/apis/language_v1/service.rb +185 -0
- data/generated/google/apis/language_v1beta1/classes.rb +407 -407
- data/generated/google/apis/language_v1beta1/representations.rb +103 -103
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +46 -0
- data/generated/google/apis/logging_v2/classes.rb +1271 -0
- data/generated/google/apis/logging_v2/representations.rb +421 -0
- data/generated/google/apis/logging_v2/service.rb +1569 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
- data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
- data/generated/google/apis/logging_v2beta1/service.rb +235 -235
- data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
- data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
- data/generated/google/apis/ml_v1.rb +34 -0
- data/generated/google/apis/ml_v1/classes.rb +1617 -0
- data/generated/google/apis/ml_v1/representations.rb +498 -0
- data/generated/google/apis/ml_v1/service.rb +769 -0
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +630 -630
- data/generated/google/apis/monitoring_v3/representations.rb +134 -134
- data/generated/google/apis/monitoring_v3/service.rb +240 -240
- data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +639 -639
- data/generated/google/apis/partners_v2/representations.rb +168 -168
- data/generated/google/apis/partners_v2/service.rb +381 -381
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +524 -524
- data/generated/google/apis/people_v1/representations.rb +143 -143
- data/generated/google/apis/people_v1/service.rb +30 -30
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +454 -444
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
- data/generated/google/apis/pubsub_v1/classes.rb +175 -173
- data/generated/google/apis/pubsub_v1/representations.rb +53 -53
- data/generated/google/apis/pubsub_v1/service.rb +210 -210
- data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
- data/generated/google/apis/runtimeconfig_v1.rb +38 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
- data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
- data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -6
- data/generated/google/apis/script_v1/representations.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +31 -0
- data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
- data/generated/google/apis/searchconsole_v1/service.rb +88 -0
- data/generated/google/apis/servicecontrol_v1.rb +38 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
- data/generated/google/apis/servicemanagement_v1.rb +45 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
- data/generated/google/apis/serviceuser_v1.rb +42 -0
- data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
- data/generated/google/apis/serviceuser_v1/service.rb +214 -0
- data/generated/google/apis/sheets_v4.rb +3 -3
- data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
- data/generated/google/apis/sheets_v4/representations.rb +381 -381
- data/generated/google/apis/sheets_v4/service.rb +48 -48
- data/generated/google/apis/slides_v1.rb +3 -3
- data/generated/google/apis/slides_v1/classes.rb +2860 -2860
- data/generated/google/apis/slides_v1/representations.rb +693 -693
- data/generated/google/apis/slides_v1/service.rb +30 -30
- data/generated/google/apis/sourcerepo_v1.rb +34 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
- data/generated/google/apis/spanner_v1.rb +35 -0
- data/generated/google/apis/spanner_v1/classes.rb +3294 -0
- data/generated/google/apis/spanner_v1/representations.rb +984 -0
- data/generated/google/apis/spanner_v1/service.rb +1504 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
- data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
- data/generated/google/apis/speech_v1beta1/service.rb +27 -27
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +131 -0
- data/generated/google/apis/storage_v1/representations.rb +51 -0
- data/generated/google/apis/storage_v1/service.rb +182 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
- data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
- data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
- data/generated/google/apis/surveys_v2.rb +40 -0
- data/generated/google/apis/surveys_v2/classes.rb +806 -0
- data/generated/google/apis/surveys_v2/representations.rb +347 -0
- data/generated/google/apis/surveys_v2/service.rb +477 -0
- data/generated/google/apis/tagmanager_v2.rb +52 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
- data/generated/google/apis/toolresults_v1beta3.rb +34 -0
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
- data/generated/google/apis/tracing_v1.rb +40 -0
- data/generated/google/apis/tracing_v1/classes.rb +664 -0
- data/generated/google/apis/tracing_v1/representations.rb +279 -0
- data/generated/google/apis/tracing_v1/service.rb +225 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1223 -1222
- data/generated/google/apis/vision_v1/representations.rb +234 -234
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webfonts_v1.rb +33 -0
- data/generated/google/apis/webfonts_v1/classes.rb +113 -0
- data/generated/google/apis/webfonts_v1/representations.rb +62 -0
- data/generated/google/apis/webfonts_v1/service.rb +102 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +31 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
- data/generated/google/apis/youtube_v3/classes.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
- data/lib/google/apis/generator/annotator.rb +5 -4
- data/lib/google/apis/generator/templates/_class.tmpl +3 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/adsense.rb +99 -0
- data/samples/cli/lib/samples/analytics.rb +18 -0
- data/samples/cli/lib/samples/gmail.rb +33 -0
- data/samples/cli/lib/samples/vision.rb +69 -0
- metadata +89 -4
- data/sync.rb +0 -71
|
@@ -33,810 +33,810 @@ module Google
|
|
|
33
33
|
#
|
|
34
34
|
# @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
|
|
35
35
|
class AdExchangeBuyerIIService < Google::Apis::Core::BaseService
|
|
36
|
-
# @return [String]
|
|
37
|
-
# API key. Your API key identifies your project and provides you with API access,
|
|
38
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
39
|
-
attr_accessor :key
|
|
40
|
-
|
|
41
36
|
# @return [String]
|
|
42
37
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
43
38
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44
39
|
attr_accessor :quota_user
|
|
45
40
|
|
|
41
|
+
# @return [String]
|
|
42
|
+
# API key. Your API key identifies your project and provides you with API access,
|
|
43
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
44
|
+
attr_accessor :key
|
|
45
|
+
|
|
46
46
|
def initialize
|
|
47
47
|
super('https://adexchangebuyer.googleapis.com/', '')
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
# Gets a
|
|
50
|
+
# Gets a creative.
|
|
51
51
|
# @param [String] account_id
|
|
52
|
-
#
|
|
53
|
-
# @param [String]
|
|
54
|
-
#
|
|
55
|
-
# @param [String] fields
|
|
56
|
-
# Selector specifying which fields to include in a partial response.
|
|
52
|
+
# The account the creative belongs to.
|
|
53
|
+
# @param [String] creative_id
|
|
54
|
+
# The ID of the creative to retrieve.
|
|
57
55
|
# @param [String] quota_user
|
|
58
56
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
59
57
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
58
|
+
# @param [String] fields
|
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
|
60
60
|
# @param [Google::Apis::RequestOptions] options
|
|
61
61
|
# Request-specific options
|
|
62
62
|
#
|
|
63
63
|
# @yield [result, err] Result & error if block supplied
|
|
64
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
64
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object
|
|
65
65
|
# @yieldparam err [StandardError] error object if request failed
|
|
66
66
|
#
|
|
67
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
67
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Creative]
|
|
68
68
|
#
|
|
69
69
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
70
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
71
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
72
|
-
def
|
|
73
|
-
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/
|
|
74
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
75
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::
|
|
72
|
+
def get_account_creative(account_id, creative_id, quota_user: nil, fields: nil, options: nil, &block)
|
|
73
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
|
|
74
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
|
75
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
|
|
76
76
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
77
|
-
command.params['
|
|
78
|
-
command.query['fields'] = fields unless fields.nil?
|
|
77
|
+
command.params['creativeId'] = creative_id unless creative_id.nil?
|
|
79
78
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
|
80
80
|
execute_or_queue_command(command, &block)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
#
|
|
83
|
+
# Watches a creative. Will result in push notifications being sent to the
|
|
84
|
+
# topic when the creative changes status.
|
|
84
85
|
# @param [String] account_id
|
|
85
|
-
#
|
|
86
|
-
# @param [String]
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
# @param [
|
|
93
|
-
# Requested page size. The server may return fewer clients than requested.
|
|
94
|
-
# If unspecified, the server will pick an appropriate default.
|
|
95
|
-
# @param [String] fields
|
|
96
|
-
# Selector specifying which fields to include in a partial response.
|
|
86
|
+
# The account of the creative to watch.
|
|
87
|
+
# @param [String] creative_id
|
|
88
|
+
# The creative ID to watch for status changes.
|
|
89
|
+
# Specify "-" to watch all creatives under the above account.
|
|
90
|
+
# If both creative-level and account-level notifications are
|
|
91
|
+
# sent, only a single notification will be sent to the
|
|
92
|
+
# creative-level notification topic.
|
|
93
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_request_object
|
|
97
94
|
# @param [String] quota_user
|
|
98
95
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
99
96
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
97
|
+
# @param [String] fields
|
|
98
|
+
# Selector specifying which fields to include in a partial response.
|
|
100
99
|
# @param [Google::Apis::RequestOptions] options
|
|
101
100
|
# Request-specific options
|
|
102
101
|
#
|
|
103
102
|
# @yield [result, err] Result & error if block supplied
|
|
104
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
103
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
|
|
105
104
|
# @yieldparam err [StandardError] error object if request failed
|
|
106
105
|
#
|
|
107
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
106
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
|
|
108
107
|
#
|
|
109
108
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
110
109
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
111
110
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
112
|
-
def
|
|
113
|
-
command = make_simple_command(:
|
|
114
|
-
command.
|
|
115
|
-
command.
|
|
111
|
+
def watch_creative(account_id, creative_id, watch_creative_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
112
|
+
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options)
|
|
113
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation
|
|
114
|
+
command.request_object = watch_creative_request_object
|
|
115
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
|
|
116
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
|
116
117
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
117
|
-
command.
|
|
118
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
119
|
-
command.query['fields'] = fields unless fields.nil?
|
|
118
|
+
command.params['creativeId'] = creative_id unless creative_id.nil?
|
|
120
119
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
120
|
+
command.query['fields'] = fields unless fields.nil?
|
|
121
121
|
execute_or_queue_command(command, &block)
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
# Updates
|
|
124
|
+
# Updates a creative.
|
|
125
125
|
# @param [String] account_id
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
#
|
|
129
|
-
#
|
|
130
|
-
# @param [
|
|
131
|
-
#
|
|
132
|
-
#
|
|
126
|
+
# The account that this creative belongs to.
|
|
127
|
+
# Can be used to filter the response of the
|
|
128
|
+
# creatives.list
|
|
129
|
+
# method.
|
|
130
|
+
# @param [String] creative_id
|
|
131
|
+
# The buyer-defined creative ID of this creative.
|
|
132
|
+
# Can be used to filter the response of the
|
|
133
|
+
# creatives.list
|
|
134
|
+
# method.
|
|
135
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object
|
|
133
136
|
# @param [String] quota_user
|
|
134
137
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
135
138
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
139
|
+
# @param [String] fields
|
|
140
|
+
# Selector specifying which fields to include in a partial response.
|
|
136
141
|
# @param [Google::Apis::RequestOptions] options
|
|
137
142
|
# Request-specific options
|
|
138
143
|
#
|
|
139
144
|
# @yield [result, err] Result & error if block supplied
|
|
140
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
145
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object
|
|
141
146
|
# @yieldparam err [StandardError] error object if request failed
|
|
142
147
|
#
|
|
143
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
148
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Creative]
|
|
144
149
|
#
|
|
145
150
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
146
151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
147
152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
148
|
-
def
|
|
149
|
-
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/
|
|
150
|
-
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
151
|
-
command.request_object =
|
|
152
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
153
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::
|
|
153
|
+
def update_account_creative(account_id, creative_id, creative_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
154
|
+
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
|
|
155
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
|
156
|
+
command.request_object = creative_object
|
|
157
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
|
158
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
|
|
154
159
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
155
|
-
command.params['
|
|
156
|
-
command.query['fields'] = fields unless fields.nil?
|
|
160
|
+
command.params['creativeId'] = creative_id unless creative_id.nil?
|
|
157
161
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
162
|
+
command.query['fields'] = fields unless fields.nil?
|
|
158
163
|
execute_or_queue_command(command, &block)
|
|
159
164
|
end
|
|
160
165
|
|
|
161
|
-
#
|
|
166
|
+
# Lists creatives.
|
|
162
167
|
# @param [String] account_id
|
|
163
|
-
#
|
|
164
|
-
#
|
|
165
|
-
# @param [
|
|
166
|
-
#
|
|
167
|
-
#
|
|
168
|
+
# The account to list the creatives from.
|
|
169
|
+
# Specify "-" to list all creatives the current user has access to.
|
|
170
|
+
# @param [String] page_token
|
|
171
|
+
# A token identifying a page of results the server should return.
|
|
172
|
+
# Typically, this is the value of
|
|
173
|
+
# ListCreativesResponse.next_page_token
|
|
174
|
+
# returned from the previous call to 'ListCreatives' method.
|
|
175
|
+
# @param [Fixnum] page_size
|
|
176
|
+
# Requested page size. The server may return fewer creatives than requested
|
|
177
|
+
# (due to timeout constraint) even if more are available via another call.
|
|
178
|
+
# If unspecified, server will pick an appropriate default.
|
|
179
|
+
# Acceptable values are 1 to 1000, inclusive.
|
|
180
|
+
# @param [String] query
|
|
181
|
+
# An optional query string to filter creatives. If no filter is specified,
|
|
182
|
+
# all active creatives will be returned.
|
|
183
|
+
# Supported queries are:
|
|
184
|
+
# <ul>
|
|
185
|
+
# <li>accountId=<i>account_id_string</i>
|
|
186
|
+
# <li>creativeId=<i>creative_id_string</i>
|
|
187
|
+
# <li>dealsStatus: `approved, conditionally_approved, disapproved,
|
|
188
|
+
# not_checked`
|
|
189
|
+
# <li>openAuctionStatus: `approved, conditionally_approved, disapproved,
|
|
190
|
+
# not_checked`
|
|
191
|
+
# <li>attribute: `a numeric attribute from the list of attributes`
|
|
192
|
+
# <li>disapprovalReason: `a reason from DisapprovalReason
|
|
193
|
+
# </ul>
|
|
194
|
+
# Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:
|
|
195
|
+
# unacceptable_content) OR attribute:47'
|
|
168
196
|
# @param [String] quota_user
|
|
169
197
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
170
198
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
199
|
+
# @param [String] fields
|
|
200
|
+
# Selector specifying which fields to include in a partial response.
|
|
171
201
|
# @param [Google::Apis::RequestOptions] options
|
|
172
202
|
# Request-specific options
|
|
173
203
|
#
|
|
174
204
|
# @yield [result, err] Result & error if block supplied
|
|
175
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
205
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse] parsed result object
|
|
176
206
|
# @yieldparam err [StandardError] error object if request failed
|
|
177
207
|
#
|
|
178
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
208
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse]
|
|
179
209
|
#
|
|
180
210
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
181
211
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
182
212
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
183
|
-
def
|
|
184
|
-
command = make_simple_command(:
|
|
185
|
-
command.
|
|
186
|
-
command.
|
|
187
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
|
188
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
|
|
213
|
+
def list_account_creatives(account_id, page_token: nil, page_size: nil, query: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
214
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives', options)
|
|
215
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse::Representation
|
|
216
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse
|
|
189
217
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
190
|
-
command.query['
|
|
218
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
219
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
220
|
+
command.query['query'] = query unless query.nil?
|
|
191
221
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
222
|
+
command.query['fields'] = fields unless fields.nil?
|
|
192
223
|
execute_or_queue_command(command, &block)
|
|
193
224
|
end
|
|
194
225
|
|
|
195
|
-
# Creates
|
|
196
|
-
# an Ad Exchange client buyer account.
|
|
226
|
+
# Creates a creative.
|
|
197
227
|
# @param [String] account_id
|
|
198
|
-
#
|
|
199
|
-
#
|
|
200
|
-
#
|
|
201
|
-
#
|
|
202
|
-
# @param [Google::Apis::Adexchangebuyer2V2beta1::
|
|
203
|
-
# @param [String]
|
|
204
|
-
#
|
|
228
|
+
# The account that this creative belongs to.
|
|
229
|
+
# Can be used to filter the response of the
|
|
230
|
+
# creatives.list
|
|
231
|
+
# method.
|
|
232
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object
|
|
233
|
+
# @param [String] duplicate_id_mode
|
|
234
|
+
# Indicates if multiple creatives can share an ID or not. Default is
|
|
235
|
+
# NO_DUPLICATES (one ID per creative).
|
|
205
236
|
# @param [String] quota_user
|
|
206
237
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
207
238
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
239
|
+
# @param [String] fields
|
|
240
|
+
# Selector specifying which fields to include in a partial response.
|
|
208
241
|
# @param [Google::Apis::RequestOptions] options
|
|
209
242
|
# Request-specific options
|
|
210
243
|
#
|
|
211
244
|
# @yield [result, err] Result & error if block supplied
|
|
212
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
245
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object
|
|
213
246
|
# @yieldparam err [StandardError] error object if request failed
|
|
214
247
|
#
|
|
215
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
248
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Creative]
|
|
216
249
|
#
|
|
217
250
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
218
251
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
219
252
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
220
|
-
def
|
|
221
|
-
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/
|
|
222
|
-
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
223
|
-
command.request_object =
|
|
224
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
225
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::
|
|
253
|
+
def create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
254
|
+
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives', options)
|
|
255
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
|
256
|
+
command.request_object = creative_object
|
|
257
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
|
258
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
|
|
226
259
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
227
|
-
command.
|
|
228
|
-
command.query['fields'] = fields unless fields.nil?
|
|
260
|
+
command.query['duplicateIdMode'] = duplicate_id_mode unless duplicate_id_mode.nil?
|
|
229
261
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
262
|
+
command.query['fields'] = fields unless fields.nil?
|
|
230
263
|
execute_or_queue_command(command, &block)
|
|
231
264
|
end
|
|
232
265
|
|
|
233
|
-
#
|
|
266
|
+
# Stops watching a creative. Will stop push notifications being sent to the
|
|
267
|
+
# topics when the creative changes status.
|
|
234
268
|
# @param [String] account_id
|
|
235
|
-
#
|
|
236
|
-
# @param [String]
|
|
237
|
-
#
|
|
238
|
-
# to
|
|
239
|
-
# @param [
|
|
240
|
-
# Numerical identifier of the user invitation to retrieve. (required)
|
|
241
|
-
# @param [String] fields
|
|
242
|
-
# Selector specifying which fields to include in a partial response.
|
|
269
|
+
# The account of the creative to stop notifications for.
|
|
270
|
+
# @param [String] creative_id
|
|
271
|
+
# The creative ID of the creative to stop notifications for.
|
|
272
|
+
# Specify "-" to specify stopping account level notifications.
|
|
273
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest] stop_watching_creative_request_object
|
|
243
274
|
# @param [String] quota_user
|
|
244
275
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
245
276
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
277
|
+
# @param [String] fields
|
|
278
|
+
# Selector specifying which fields to include in a partial response.
|
|
246
279
|
# @param [Google::Apis::RequestOptions] options
|
|
247
280
|
# Request-specific options
|
|
248
281
|
#
|
|
249
282
|
# @yield [result, err] Result & error if block supplied
|
|
250
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
283
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
|
|
251
284
|
# @yieldparam err [StandardError] error object if request failed
|
|
252
285
|
#
|
|
253
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
286
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
|
|
254
287
|
#
|
|
255
288
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
256
289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
257
290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
258
|
-
def
|
|
259
|
-
command = make_simple_command(:
|
|
260
|
-
command.
|
|
261
|
-
command.
|
|
291
|
+
def stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
292
|
+
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options)
|
|
293
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest::Representation
|
|
294
|
+
command.request_object = stop_watching_creative_request_object
|
|
295
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
|
|
296
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
|
262
297
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
263
|
-
command.params['
|
|
264
|
-
command.params['invitationId'] = invitation_id unless invitation_id.nil?
|
|
265
|
-
command.query['fields'] = fields unless fields.nil?
|
|
298
|
+
command.params['creativeId'] = creative_id unless creative_id.nil?
|
|
266
299
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
300
|
+
command.query['fields'] = fields unless fields.nil?
|
|
267
301
|
execute_or_queue_command(command, &block)
|
|
268
302
|
end
|
|
269
303
|
|
|
270
|
-
#
|
|
271
|
-
# with a given account ID.
|
|
304
|
+
# Associate an existing deal with a creative.
|
|
272
305
|
# @param [String] account_id
|
|
273
|
-
#
|
|
274
|
-
# @param [String]
|
|
275
|
-
#
|
|
276
|
-
#
|
|
277
|
-
# You must either specify a string representation of a
|
|
278
|
-
# numerical account identifier or the `-` character
|
|
279
|
-
# to list all the invitations for all the clients
|
|
280
|
-
# of a given sponsor buyer.
|
|
281
|
-
# @param [String] page_token
|
|
282
|
-
# A token identifying a page of results the server should return.
|
|
283
|
-
# Typically, this is the value of
|
|
284
|
-
# ListClientUserInvitationsResponse.nextPageToken
|
|
285
|
-
# returned from the previous call to the
|
|
286
|
-
# clients.invitations.list
|
|
287
|
-
# method.
|
|
288
|
-
# @param [Fixnum] page_size
|
|
289
|
-
# Requested page size. Server may return fewer clients than requested.
|
|
290
|
-
# If unspecified, server will pick an appropriate default.
|
|
291
|
-
# @param [String] fields
|
|
292
|
-
# Selector specifying which fields to include in a partial response.
|
|
306
|
+
# The account the creative belongs to.
|
|
307
|
+
# @param [String] creative_id
|
|
308
|
+
# The ID of the creative associated with the deal.
|
|
309
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest] add_deal_association_request_object
|
|
293
310
|
# @param [String] quota_user
|
|
294
311
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
295
312
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
313
|
+
# @param [String] fields
|
|
314
|
+
# Selector specifying which fields to include in a partial response.
|
|
296
315
|
# @param [Google::Apis::RequestOptions] options
|
|
297
316
|
# Request-specific options
|
|
298
317
|
#
|
|
299
318
|
# @yield [result, err] Result & error if block supplied
|
|
300
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
319
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
|
|
301
320
|
# @yieldparam err [StandardError] error object if request failed
|
|
302
321
|
#
|
|
303
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
322
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
|
|
304
323
|
#
|
|
305
324
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
306
325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
307
326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
308
|
-
def
|
|
309
|
-
command = make_simple_command(:
|
|
310
|
-
command.
|
|
311
|
-
command.
|
|
327
|
+
def add_deal_association(account_id, creative_id, add_deal_association_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
328
|
+
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options)
|
|
329
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest::Representation
|
|
330
|
+
command.request_object = add_deal_association_request_object
|
|
331
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
|
|
332
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
|
312
333
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
313
|
-
command.params['
|
|
314
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
315
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
316
|
-
command.query['fields'] = fields unless fields.nil?
|
|
334
|
+
command.params['creativeId'] = creative_id unless creative_id.nil?
|
|
317
335
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
336
|
+
command.query['fields'] = fields unless fields.nil?
|
|
318
337
|
execute_or_queue_command(command, &block)
|
|
319
338
|
end
|
|
320
339
|
|
|
321
|
-
#
|
|
322
|
-
# Only the user status can be changed on update.
|
|
340
|
+
# Remove the association between a deal and a creative.
|
|
323
341
|
# @param [String] account_id
|
|
324
|
-
#
|
|
325
|
-
# @param [String]
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
# @param [String] user_id
|
|
329
|
-
# Numerical identifier of the user to retrieve. (required)
|
|
330
|
-
# @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_object
|
|
331
|
-
# @param [String] fields
|
|
332
|
-
# Selector specifying which fields to include in a partial response.
|
|
342
|
+
# The account the creative belongs to.
|
|
343
|
+
# @param [String] creative_id
|
|
344
|
+
# The ID of the creative associated with the deal.
|
|
345
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest] remove_deal_association_request_object
|
|
333
346
|
# @param [String] quota_user
|
|
334
347
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
335
348
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
349
|
+
# @param [String] fields
|
|
350
|
+
# Selector specifying which fields to include in a partial response.
|
|
336
351
|
# @param [Google::Apis::RequestOptions] options
|
|
337
352
|
# Request-specific options
|
|
338
353
|
#
|
|
339
354
|
# @yield [result, err] Result & error if block supplied
|
|
340
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
355
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
|
|
341
356
|
# @yieldparam err [StandardError] error object if request failed
|
|
342
357
|
#
|
|
343
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
358
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
|
|
344
359
|
#
|
|
345
360
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
346
361
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
347
362
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
348
|
-
def
|
|
349
|
-
command = make_simple_command(:
|
|
350
|
-
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
351
|
-
command.request_object =
|
|
352
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
353
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::
|
|
363
|
+
def remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
364
|
+
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', options)
|
|
365
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest::Representation
|
|
366
|
+
command.request_object = remove_deal_association_request_object
|
|
367
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
|
|
368
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
|
354
369
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
355
|
-
command.params['
|
|
356
|
-
command.params['userId'] = user_id unless user_id.nil?
|
|
357
|
-
command.query['fields'] = fields unless fields.nil?
|
|
370
|
+
command.params['creativeId'] = creative_id unless creative_id.nil?
|
|
358
371
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
372
|
+
command.query['fields'] = fields unless fields.nil?
|
|
359
373
|
execute_or_queue_command(command, &block)
|
|
360
374
|
end
|
|
361
375
|
|
|
362
|
-
#
|
|
363
|
-
# sponsor buyer account ID.
|
|
376
|
+
# List all creative-deal associations.
|
|
364
377
|
# @param [String] account_id
|
|
365
|
-
#
|
|
366
|
-
#
|
|
367
|
-
# @param [String]
|
|
368
|
-
# The
|
|
369
|
-
#
|
|
370
|
-
# numerical account identifier or the `-` character
|
|
371
|
-
# to list all the client users for all the clients
|
|
372
|
-
# of a given sponsor buyer.
|
|
378
|
+
# The account to list the associations from.
|
|
379
|
+
# Specify "-" to list all creatives the current user has access to.
|
|
380
|
+
# @param [String] creative_id
|
|
381
|
+
# The creative ID to list the associations from.
|
|
382
|
+
# Specify "-" to list all creatives under the above account.
|
|
373
383
|
# @param [String] page_token
|
|
374
384
|
# A token identifying a page of results the server should return.
|
|
375
385
|
# Typically, this is the value of
|
|
376
|
-
#
|
|
377
|
-
# returned from the previous call to
|
|
378
|
-
# accounts.clients.users.list method.
|
|
386
|
+
# ListDealAssociationsResponse.next_page_token
|
|
387
|
+
# returned from the previous call to 'ListDealAssociations' method.
|
|
379
388
|
# @param [Fixnum] page_size
|
|
380
|
-
# Requested page size.
|
|
381
|
-
# If unspecified,
|
|
382
|
-
# @param [String]
|
|
383
|
-
#
|
|
389
|
+
# Requested page size. Server may return fewer associations than requested.
|
|
390
|
+
# If unspecified, server will pick an appropriate default.
|
|
391
|
+
# @param [String] query
|
|
392
|
+
# An optional query string to filter deal associations. If no filter is
|
|
393
|
+
# specified, all associations will be returned.
|
|
394
|
+
# Supported queries are:
|
|
395
|
+
# <ul>
|
|
396
|
+
# <li>accountId=<i>account_id_string</i>
|
|
397
|
+
# <li>creativeId=<i>creative_id_string</i>
|
|
398
|
+
# <li>dealsId=<i>deals_id_string</i>
|
|
399
|
+
# <li>dealsStatus:`approved, conditionally_approved, disapproved,
|
|
400
|
+
# not_checked`
|
|
401
|
+
# <li>openAuctionStatus:`approved, conditionally_approved, disapproved,
|
|
402
|
+
# not_checked`
|
|
403
|
+
# </ul>
|
|
404
|
+
# Example: 'dealsId=12345 AND dealsStatus:disapproved'
|
|
384
405
|
# @param [String] quota_user
|
|
385
406
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
386
407
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
408
|
+
# @param [String] fields
|
|
409
|
+
# Selector specifying which fields to include in a partial response.
|
|
387
410
|
# @param [Google::Apis::RequestOptions] options
|
|
388
411
|
# Request-specific options
|
|
389
412
|
#
|
|
390
413
|
# @yield [result, err] Result & error if block supplied
|
|
391
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
414
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse] parsed result object
|
|
392
415
|
# @yieldparam err [StandardError] error object if request failed
|
|
393
416
|
#
|
|
394
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
417
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse]
|
|
395
418
|
#
|
|
396
419
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
397
420
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
398
421
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
399
|
-
def
|
|
400
|
-
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/
|
|
401
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
402
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::
|
|
422
|
+
def list_account_creative_deal_associations(account_id, creative_id, page_token: nil, page_size: nil, query: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
423
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options)
|
|
424
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation
|
|
425
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse
|
|
403
426
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
404
|
-
command.params['
|
|
427
|
+
command.params['creativeId'] = creative_id unless creative_id.nil?
|
|
405
428
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
406
429
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
407
|
-
command.query['
|
|
430
|
+
command.query['query'] = query unless query.nil?
|
|
408
431
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
432
|
+
command.query['fields'] = fields unless fields.nil?
|
|
409
433
|
execute_or_queue_command(command, &block)
|
|
410
434
|
end
|
|
411
435
|
|
|
412
|
-
#
|
|
436
|
+
# Gets a client buyer with a given client account ID.
|
|
413
437
|
# @param [String] account_id
|
|
414
438
|
# Numerical account ID of the client's sponsor buyer. (required)
|
|
415
439
|
# @param [String] client_account_id
|
|
416
|
-
# Numerical account ID of the client buyer
|
|
417
|
-
# that the user to be retrieved is associated with. (required)
|
|
418
|
-
# @param [String] user_id
|
|
419
|
-
# Numerical identifier of the user to retrieve. (required)
|
|
420
|
-
# @param [String] fields
|
|
421
|
-
# Selector specifying which fields to include in a partial response.
|
|
440
|
+
# Numerical account ID of the client buyer to retrieve. (required)
|
|
422
441
|
# @param [String] quota_user
|
|
423
442
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
424
443
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
444
|
+
# @param [String] fields
|
|
445
|
+
# Selector specifying which fields to include in a partial response.
|
|
425
446
|
# @param [Google::Apis::RequestOptions] options
|
|
426
447
|
# Request-specific options
|
|
427
448
|
#
|
|
428
449
|
# @yield [result, err] Result & error if block supplied
|
|
429
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
450
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object
|
|
430
451
|
# @yieldparam err [StandardError] error object if request failed
|
|
431
452
|
#
|
|
432
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
453
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Client]
|
|
433
454
|
#
|
|
434
455
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
435
456
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
436
457
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
437
|
-
def
|
|
438
|
-
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}
|
|
439
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
440
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::
|
|
458
|
+
def get_account_client(account_id, client_account_id, quota_user: nil, fields: nil, options: nil, &block)
|
|
459
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
|
|
460
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
|
461
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
|
|
441
462
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
442
463
|
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
|
443
|
-
command.params['userId'] = user_id unless user_id.nil?
|
|
444
|
-
command.query['fields'] = fields unless fields.nil?
|
|
445
464
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
465
|
+
command.query['fields'] = fields unless fields.nil?
|
|
446
466
|
execute_or_queue_command(command, &block)
|
|
447
467
|
end
|
|
448
468
|
|
|
449
|
-
#
|
|
469
|
+
# Lists all the clients for the current sponsor buyer.
|
|
450
470
|
# @param [String] account_id
|
|
451
|
-
#
|
|
452
|
-
#
|
|
453
|
-
#
|
|
454
|
-
#
|
|
455
|
-
#
|
|
456
|
-
#
|
|
457
|
-
#
|
|
458
|
-
#
|
|
459
|
-
#
|
|
460
|
-
#
|
|
471
|
+
# Unique numerical account ID of the sponsor buyer to list the clients for.
|
|
472
|
+
# @param [String] page_token
|
|
473
|
+
# A token identifying a page of results the server should return.
|
|
474
|
+
# Typically, this is the value of
|
|
475
|
+
# ListClientsResponse.nextPageToken
|
|
476
|
+
# returned from the previous call to the
|
|
477
|
+
# accounts.clients.list method.
|
|
478
|
+
# @param [Fixnum] page_size
|
|
479
|
+
# Requested page size. The server may return fewer clients than requested.
|
|
480
|
+
# If unspecified, the server will pick an appropriate default.
|
|
461
481
|
# @param [String] quota_user
|
|
462
482
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
463
483
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
484
|
+
# @param [String] fields
|
|
485
|
+
# Selector specifying which fields to include in a partial response.
|
|
464
486
|
# @param [Google::Apis::RequestOptions] options
|
|
465
487
|
# Request-specific options
|
|
466
488
|
#
|
|
467
489
|
# @yield [result, err] Result & error if block supplied
|
|
468
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
490
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] parsed result object
|
|
469
491
|
# @yieldparam err [StandardError] error object if request failed
|
|
470
492
|
#
|
|
471
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
493
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse]
|
|
472
494
|
#
|
|
473
495
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
474
496
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
475
497
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
476
|
-
def
|
|
477
|
-
command = make_simple_command(:
|
|
478
|
-
command.
|
|
479
|
-
command.
|
|
480
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
|
481
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
|
|
498
|
+
def list_account_clients(account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
499
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options)
|
|
500
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation
|
|
501
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse
|
|
482
502
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
483
|
-
command.query['
|
|
484
|
-
command.query['
|
|
503
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
504
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
485
505
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
506
|
+
command.query['fields'] = fields unless fields.nil?
|
|
486
507
|
execute_or_queue_command(command, &block)
|
|
487
508
|
end
|
|
488
509
|
|
|
489
|
-
#
|
|
490
|
-
# topics when the creative changes status.
|
|
510
|
+
# Updates an existing client buyer.
|
|
491
511
|
# @param [String] account_id
|
|
492
|
-
#
|
|
493
|
-
#
|
|
494
|
-
#
|
|
495
|
-
#
|
|
496
|
-
# @param [Google::Apis::Adexchangebuyer2V2beta1::
|
|
497
|
-
# @param [String] fields
|
|
498
|
-
# Selector specifying which fields to include in a partial response.
|
|
512
|
+
# Unique numerical account ID for the buyer of which the client buyer
|
|
513
|
+
# is a customer; the sponsor buyer to update a client for. (required)
|
|
514
|
+
# @param [String] client_account_id
|
|
515
|
+
# Unique numerical account ID of the client to update. (required)
|
|
516
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object
|
|
499
517
|
# @param [String] quota_user
|
|
500
518
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
501
519
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
520
|
+
# @param [String] fields
|
|
521
|
+
# Selector specifying which fields to include in a partial response.
|
|
502
522
|
# @param [Google::Apis::RequestOptions] options
|
|
503
523
|
# Request-specific options
|
|
504
524
|
#
|
|
505
525
|
# @yield [result, err] Result & error if block supplied
|
|
506
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
526
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object
|
|
507
527
|
# @yieldparam err [StandardError] error object if request failed
|
|
508
528
|
#
|
|
509
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
529
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Client]
|
|
510
530
|
#
|
|
511
531
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
512
532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
513
533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
514
|
-
def
|
|
515
|
-
command = make_simple_command(:
|
|
516
|
-
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
517
|
-
command.request_object =
|
|
518
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::
|
|
519
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::
|
|
534
|
+
def update_account_client(account_id, client_account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
535
|
+
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
|
|
536
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
|
537
|
+
command.request_object = client_object
|
|
538
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
|
539
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
|
|
520
540
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
521
|
-
command.params['
|
|
522
|
-
command.query['fields'] = fields unless fields.nil?
|
|
541
|
+
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
|
523
542
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
543
|
+
command.query['fields'] = fields unless fields.nil?
|
|
524
544
|
execute_or_queue_command(command, &block)
|
|
525
545
|
end
|
|
526
546
|
|
|
527
|
-
#
|
|
547
|
+
# Creates a new client buyer.
|
|
528
548
|
# @param [String] account_id
|
|
529
|
-
#
|
|
530
|
-
#
|
|
531
|
-
#
|
|
532
|
-
# @param [String] fields
|
|
533
|
-
# Selector specifying which fields to include in a partial response.
|
|
549
|
+
# Unique numerical account ID for the buyer of which the client buyer
|
|
550
|
+
# is a customer; the sponsor buyer to create a client for. (required)
|
|
551
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object
|
|
534
552
|
# @param [String] quota_user
|
|
535
553
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
536
554
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
555
|
+
# @param [String] fields
|
|
556
|
+
# Selector specifying which fields to include in a partial response.
|
|
537
557
|
# @param [Google::Apis::RequestOptions] options
|
|
538
558
|
# Request-specific options
|
|
539
559
|
#
|
|
540
560
|
# @yield [result, err] Result & error if block supplied
|
|
541
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
561
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object
|
|
542
562
|
# @yieldparam err [StandardError] error object if request failed
|
|
543
563
|
#
|
|
544
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
564
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::Client]
|
|
545
565
|
#
|
|
546
566
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
547
567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
548
568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
549
|
-
def
|
|
550
|
-
command = make_simple_command(:
|
|
551
|
-
command.
|
|
552
|
-
command.
|
|
569
|
+
def create_account_client(account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
570
|
+
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options)
|
|
571
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
|
572
|
+
command.request_object = client_object
|
|
573
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
|
|
574
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
|
|
553
575
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
554
|
-
command.params['creativeId'] = creative_id unless creative_id.nil?
|
|
555
|
-
command.query['fields'] = fields unless fields.nil?
|
|
556
576
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
577
|
+
command.query['fields'] = fields unless fields.nil?
|
|
557
578
|
execute_or_queue_command(command, &block)
|
|
558
579
|
end
|
|
559
580
|
|
|
560
|
-
#
|
|
561
|
-
#
|
|
581
|
+
# Lists all the known client users for a specified
|
|
582
|
+
# sponsor buyer account ID.
|
|
562
583
|
# @param [String] account_id
|
|
563
|
-
#
|
|
564
|
-
#
|
|
565
|
-
#
|
|
566
|
-
#
|
|
567
|
-
#
|
|
568
|
-
#
|
|
569
|
-
#
|
|
570
|
-
#
|
|
571
|
-
# @param [String]
|
|
572
|
-
#
|
|
584
|
+
# Numerical account ID of the sponsor buyer of the client to list users for.
|
|
585
|
+
# (required)
|
|
586
|
+
# @param [String] client_account_id
|
|
587
|
+
# The account ID of the client buyer to list users for. (required)
|
|
588
|
+
# You must specify either a string representation of a
|
|
589
|
+
# numerical account identifier or the `-` character
|
|
590
|
+
# to list all the client users for all the clients
|
|
591
|
+
# of a given sponsor buyer.
|
|
592
|
+
# @param [String] page_token
|
|
593
|
+
# A token identifying a page of results the server should return.
|
|
594
|
+
# Typically, this is the value of
|
|
595
|
+
# ListClientUsersResponse.nextPageToken
|
|
596
|
+
# returned from the previous call to the
|
|
597
|
+
# accounts.clients.users.list method.
|
|
598
|
+
# @param [Fixnum] page_size
|
|
599
|
+
# Requested page size. The server may return fewer clients than requested.
|
|
600
|
+
# If unspecified, the server will pick an appropriate default.
|
|
573
601
|
# @param [String] quota_user
|
|
574
602
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
575
603
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
604
|
+
# @param [String] fields
|
|
605
|
+
# Selector specifying which fields to include in a partial response.
|
|
576
606
|
# @param [Google::Apis::RequestOptions] options
|
|
577
607
|
# Request-specific options
|
|
578
608
|
#
|
|
579
609
|
# @yield [result, err] Result & error if block supplied
|
|
580
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
610
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse] parsed result object
|
|
581
611
|
# @yieldparam err [StandardError] error object if request failed
|
|
582
612
|
#
|
|
583
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
613
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse]
|
|
584
614
|
#
|
|
585
615
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
586
616
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
587
617
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
588
|
-
def
|
|
589
|
-
command = make_simple_command(:
|
|
590
|
-
command.
|
|
591
|
-
command.
|
|
592
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
|
|
593
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
|
618
|
+
def list_account_client_users(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
619
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options)
|
|
620
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse::Representation
|
|
621
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse
|
|
594
622
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
595
|
-
command.params['
|
|
596
|
-
command.query['
|
|
623
|
+
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
|
624
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
625
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
597
626
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
627
|
+
command.query['fields'] = fields unless fields.nil?
|
|
598
628
|
execute_or_queue_command(command, &block)
|
|
599
629
|
end
|
|
600
630
|
|
|
601
|
-
#
|
|
631
|
+
# Retrieves an existing client user.
|
|
602
632
|
# @param [String] account_id
|
|
603
|
-
#
|
|
604
|
-
#
|
|
605
|
-
#
|
|
606
|
-
#
|
|
607
|
-
# @param [String]
|
|
608
|
-
#
|
|
609
|
-
# Can be used to filter the response of the
|
|
610
|
-
# creatives.list
|
|
611
|
-
# method.
|
|
612
|
-
# @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object
|
|
613
|
-
# @param [String] fields
|
|
614
|
-
# Selector specifying which fields to include in a partial response.
|
|
633
|
+
# Numerical account ID of the client's sponsor buyer. (required)
|
|
634
|
+
# @param [String] client_account_id
|
|
635
|
+
# Numerical account ID of the client buyer
|
|
636
|
+
# that the user to be retrieved is associated with. (required)
|
|
637
|
+
# @param [String] user_id
|
|
638
|
+
# Numerical identifier of the user to retrieve. (required)
|
|
615
639
|
# @param [String] quota_user
|
|
616
640
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
617
641
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
642
|
+
# @param [String] fields
|
|
643
|
+
# Selector specifying which fields to include in a partial response.
|
|
618
644
|
# @param [Google::Apis::RequestOptions] options
|
|
619
645
|
# Request-specific options
|
|
620
646
|
#
|
|
621
647
|
# @yield [result, err] Result & error if block supplied
|
|
622
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
648
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object
|
|
623
649
|
# @yieldparam err [StandardError] error object if request failed
|
|
624
650
|
#
|
|
625
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
651
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser]
|
|
626
652
|
#
|
|
627
653
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
628
654
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
629
655
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
630
|
-
def
|
|
631
|
-
command = make_simple_command(:
|
|
632
|
-
command.
|
|
633
|
-
command.
|
|
634
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
|
|
635
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
|
|
656
|
+
def get_account_client_user(account_id, client_account_id, user_id, quota_user: nil, fields: nil, options: nil, &block)
|
|
657
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
|
|
658
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
|
659
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser
|
|
636
660
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
637
|
-
command.params['
|
|
638
|
-
command.
|
|
661
|
+
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
|
662
|
+
command.params['userId'] = user_id unless user_id.nil?
|
|
639
663
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
664
|
+
command.query['fields'] = fields unless fields.nil?
|
|
640
665
|
execute_or_queue_command(command, &block)
|
|
641
666
|
end
|
|
642
667
|
|
|
643
|
-
#
|
|
668
|
+
# Updates an existing client user.
|
|
669
|
+
# Only the user status can be changed on update.
|
|
644
670
|
# @param [String] account_id
|
|
645
|
-
#
|
|
646
|
-
#
|
|
647
|
-
#
|
|
648
|
-
#
|
|
649
|
-
#
|
|
650
|
-
#
|
|
651
|
-
#
|
|
652
|
-
# @param [Fixnum] page_size
|
|
653
|
-
# Requested page size. The server may return fewer creatives than requested
|
|
654
|
-
# (due to timeout constraint) even if more are available via another call.
|
|
655
|
-
# If unspecified, server will pick an appropriate default.
|
|
656
|
-
# Acceptable values are 1 to 1000, inclusive.
|
|
657
|
-
# @param [String] query
|
|
658
|
-
# An optional query string to filter creatives. If no filter is specified,
|
|
659
|
-
# all active creatives will be returned.
|
|
660
|
-
# Supported queries are:
|
|
661
|
-
# <ul>
|
|
662
|
-
# <li>accountId=<i>account_id_string</i>
|
|
663
|
-
# <li>creativeId=<i>creative_id_string</i>
|
|
664
|
-
# <li>dealsStatus: `approved, conditionally_approved, disapproved,
|
|
665
|
-
# not_checked`
|
|
666
|
-
# <li>openAuctionStatus: `approved, conditionally_approved, disapproved,
|
|
667
|
-
# not_checked`
|
|
668
|
-
# <li>attribute: `a numeric attribute from the list of attributes`
|
|
669
|
-
# <li>disapprovalReason: `a reason from DisapprovalReason
|
|
670
|
-
# </ul>
|
|
671
|
-
# Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:
|
|
672
|
-
# unacceptable_content) OR attribute:47'
|
|
673
|
-
# @param [String] fields
|
|
674
|
-
# Selector specifying which fields to include in a partial response.
|
|
671
|
+
# Numerical account ID of the client's sponsor buyer. (required)
|
|
672
|
+
# @param [String] client_account_id
|
|
673
|
+
# Numerical account ID of the client buyer that the user to be retrieved
|
|
674
|
+
# is associated with. (required)
|
|
675
|
+
# @param [String] user_id
|
|
676
|
+
# Numerical identifier of the user to retrieve. (required)
|
|
677
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_object
|
|
675
678
|
# @param [String] quota_user
|
|
676
679
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
677
680
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
681
|
+
# @param [String] fields
|
|
682
|
+
# Selector specifying which fields to include in a partial response.
|
|
678
683
|
# @param [Google::Apis::RequestOptions] options
|
|
679
684
|
# Request-specific options
|
|
680
685
|
#
|
|
681
686
|
# @yield [result, err] Result & error if block supplied
|
|
682
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
687
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object
|
|
683
688
|
# @yieldparam err [StandardError] error object if request failed
|
|
684
689
|
#
|
|
685
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
690
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser]
|
|
686
691
|
#
|
|
687
692
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
688
693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
689
694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
690
|
-
def
|
|
691
|
-
command = make_simple_command(:
|
|
692
|
-
command.
|
|
693
|
-
command.
|
|
695
|
+
def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
696
|
+
command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
|
|
697
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
|
698
|
+
command.request_object = client_user_object
|
|
699
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
|
|
700
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser
|
|
694
701
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
695
|
-
command.
|
|
696
|
-
command.
|
|
697
|
-
command.query['query'] = query unless query.nil?
|
|
698
|
-
command.query['fields'] = fields unless fields.nil?
|
|
702
|
+
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
|
703
|
+
command.params['userId'] = user_id unless user_id.nil?
|
|
699
704
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
705
|
+
command.query['fields'] = fields unless fields.nil?
|
|
700
706
|
execute_or_queue_command(command, &block)
|
|
701
707
|
end
|
|
702
708
|
|
|
703
|
-
#
|
|
709
|
+
# Creates and sends out an email invitation to access
|
|
710
|
+
# an Ad Exchange client buyer account.
|
|
704
711
|
# @param [String] account_id
|
|
705
|
-
#
|
|
706
|
-
#
|
|
707
|
-
#
|
|
708
|
-
#
|
|
709
|
-
#
|
|
710
|
-
# @param [String] page_token
|
|
711
|
-
# A token identifying a page of results the server should return.
|
|
712
|
-
# Typically, this is the value of
|
|
713
|
-
# ListDealAssociationsResponse.next_page_token
|
|
714
|
-
# returned from the previous call to 'ListDealAssociations' method.
|
|
715
|
-
# @param [Fixnum] page_size
|
|
716
|
-
# Requested page size. Server may return fewer associations than requested.
|
|
717
|
-
# If unspecified, server will pick an appropriate default.
|
|
718
|
-
# @param [String] query
|
|
719
|
-
# An optional query string to filter deal associations. If no filter is
|
|
720
|
-
# specified, all associations will be returned.
|
|
721
|
-
# Supported queries are:
|
|
722
|
-
# <ul>
|
|
723
|
-
# <li>accountId=<i>account_id_string</i>
|
|
724
|
-
# <li>creativeId=<i>creative_id_string</i>
|
|
725
|
-
# <li>dealsId=<i>deals_id_string</i>
|
|
726
|
-
# <li>dealsStatus:`approved, conditionally_approved, disapproved,
|
|
727
|
-
# not_checked`
|
|
728
|
-
# <li>openAuctionStatus:`approved, conditionally_approved, disapproved,
|
|
729
|
-
# not_checked`
|
|
730
|
-
# </ul>
|
|
731
|
-
# Example: 'dealsId=12345 AND dealsStatus:disapproved'
|
|
732
|
-
# @param [String] fields
|
|
733
|
-
# Selector specifying which fields to include in a partial response.
|
|
712
|
+
# Numerical account ID of the client's sponsor buyer. (required)
|
|
713
|
+
# @param [String] client_account_id
|
|
714
|
+
# Numerical account ID of the client buyer that the user
|
|
715
|
+
# should be associated with. (required)
|
|
716
|
+
# @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_object
|
|
734
717
|
# @param [String] quota_user
|
|
735
718
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
736
719
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
720
|
+
# @param [String] fields
|
|
721
|
+
# Selector specifying which fields to include in a partial response.
|
|
737
722
|
# @param [Google::Apis::RequestOptions] options
|
|
738
723
|
# Request-specific options
|
|
739
724
|
#
|
|
740
725
|
# @yield [result, err] Result & error if block supplied
|
|
741
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
726
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object
|
|
742
727
|
# @yieldparam err [StandardError] error object if request failed
|
|
743
728
|
#
|
|
744
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
729
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation]
|
|
745
730
|
#
|
|
746
731
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
747
732
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
748
733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
749
|
-
def
|
|
750
|
-
command = make_simple_command(:
|
|
751
|
-
command.
|
|
752
|
-
command.
|
|
734
|
+
def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
735
|
+
command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
|
|
736
|
+
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
|
|
737
|
+
command.request_object = client_user_invitation_object
|
|
738
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
|
|
739
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
|
|
753
740
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
754
|
-
command.params['
|
|
755
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
756
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
757
|
-
command.query['query'] = query unless query.nil?
|
|
758
|
-
command.query['fields'] = fields unless fields.nil?
|
|
741
|
+
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
|
759
742
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
743
|
+
command.query['fields'] = fields unless fields.nil?
|
|
760
744
|
execute_or_queue_command(command, &block)
|
|
761
745
|
end
|
|
762
746
|
|
|
763
|
-
#
|
|
747
|
+
# Retrieves an existing client user invitation.
|
|
764
748
|
# @param [String] account_id
|
|
765
|
-
#
|
|
766
|
-
# @param [String]
|
|
767
|
-
#
|
|
768
|
-
#
|
|
769
|
-
# @param [String]
|
|
770
|
-
#
|
|
749
|
+
# Numerical account ID of the client's sponsor buyer. (required)
|
|
750
|
+
# @param [String] client_account_id
|
|
751
|
+
# Numerical account ID of the client buyer that the user invitation
|
|
752
|
+
# to be retrieved is associated with. (required)
|
|
753
|
+
# @param [String] invitation_id
|
|
754
|
+
# Numerical identifier of the user invitation to retrieve. (required)
|
|
771
755
|
# @param [String] quota_user
|
|
772
756
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
773
757
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
758
|
+
# @param [String] fields
|
|
759
|
+
# Selector specifying which fields to include in a partial response.
|
|
774
760
|
# @param [Google::Apis::RequestOptions] options
|
|
775
761
|
# Request-specific options
|
|
776
762
|
#
|
|
777
763
|
# @yield [result, err] Result & error if block supplied
|
|
778
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
764
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object
|
|
779
765
|
# @yieldparam err [StandardError] error object if request failed
|
|
780
766
|
#
|
|
781
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
767
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation]
|
|
782
768
|
#
|
|
783
769
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
784
770
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
785
771
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
786
|
-
def
|
|
787
|
-
command = make_simple_command(:
|
|
788
|
-
command.
|
|
789
|
-
command.
|
|
790
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
|
|
791
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
|
772
|
+
def get_account_client_invitation(account_id, client_account_id, invitation_id, quota_user: nil, fields: nil, options: nil, &block)
|
|
773
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options)
|
|
774
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
|
|
775
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
|
|
792
776
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
793
|
-
command.params['
|
|
794
|
-
command.
|
|
777
|
+
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
|
778
|
+
command.params['invitationId'] = invitation_id unless invitation_id.nil?
|
|
795
779
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
780
|
+
command.query['fields'] = fields unless fields.nil?
|
|
796
781
|
execute_or_queue_command(command, &block)
|
|
797
782
|
end
|
|
798
783
|
|
|
799
|
-
#
|
|
784
|
+
# Lists all the client users invitations for a client
|
|
785
|
+
# with a given account ID.
|
|
800
786
|
# @param [String] account_id
|
|
801
|
-
#
|
|
802
|
-
# @param [String]
|
|
803
|
-
#
|
|
804
|
-
#
|
|
805
|
-
#
|
|
806
|
-
#
|
|
787
|
+
# Numerical account ID of the client's sponsor buyer. (required)
|
|
788
|
+
# @param [String] client_account_id
|
|
789
|
+
# Numerical account ID of the client buyer to list invitations for.
|
|
790
|
+
# (required)
|
|
791
|
+
# You must either specify a string representation of a
|
|
792
|
+
# numerical account identifier or the `-` character
|
|
793
|
+
# to list all the invitations for all the clients
|
|
794
|
+
# of a given sponsor buyer.
|
|
795
|
+
# @param [String] page_token
|
|
796
|
+
# A token identifying a page of results the server should return.
|
|
797
|
+
# Typically, this is the value of
|
|
798
|
+
# ListClientUserInvitationsResponse.nextPageToken
|
|
799
|
+
# returned from the previous call to the
|
|
800
|
+
# clients.invitations.list
|
|
801
|
+
# method.
|
|
802
|
+
# @param [Fixnum] page_size
|
|
803
|
+
# Requested page size. Server may return fewer clients than requested.
|
|
804
|
+
# If unspecified, server will pick an appropriate default.
|
|
807
805
|
# @param [String] quota_user
|
|
808
806
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
809
807
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
808
|
+
# @param [String] fields
|
|
809
|
+
# Selector specifying which fields to include in a partial response.
|
|
810
810
|
# @param [Google::Apis::RequestOptions] options
|
|
811
811
|
# Request-specific options
|
|
812
812
|
#
|
|
813
813
|
# @yield [result, err] Result & error if block supplied
|
|
814
|
-
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::
|
|
814
|
+
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] parsed result object
|
|
815
815
|
# @yieldparam err [StandardError] error object if request failed
|
|
816
816
|
#
|
|
817
|
-
# @return [Google::Apis::Adexchangebuyer2V2beta1::
|
|
817
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse]
|
|
818
818
|
#
|
|
819
819
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
820
820
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
821
821
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
822
|
-
def
|
|
823
|
-
command = make_simple_command(:
|
|
824
|
-
command.
|
|
825
|
-
command.
|
|
826
|
-
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
|
|
827
|
-
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
|
|
822
|
+
def list_account_client_invitations(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
823
|
+
command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
|
|
824
|
+
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation
|
|
825
|
+
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse
|
|
828
826
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
829
|
-
command.params['
|
|
830
|
-
command.query['
|
|
827
|
+
command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
|
|
828
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
829
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
831
830
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
831
|
+
command.query['fields'] = fields unless fields.nil?
|
|
832
832
|
execute_or_queue_command(command, &block)
|
|
833
833
|
end
|
|
834
834
|
|
|
835
835
|
protected
|
|
836
836
|
|
|
837
837
|
def apply_command_defaults(command)
|
|
838
|
-
command.query['key'] = key unless key.nil?
|
|
839
838
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
839
|
+
command.query['key'] = key unless key.nil?
|
|
840
840
|
end
|
|
841
841
|
end
|
|
842
842
|
end
|