google-api-client 0.9.pre3 → 0.9.pre4
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/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
|
@@ -18,7 +18,7 @@ require 'google/apis/deploymentmanager_v2beta2/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
# Google Cloud Deployment Manager API
|
|
21
|
+
# Google Cloud Deployment Manager API
|
|
22
22
|
#
|
|
23
23
|
# The Deployment Manager API allows users to declaratively configure, deploy and
|
|
24
24
|
# run complex solutions on the Google Cloud Platform.
|
|
@@ -26,11 +26,14 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/deployment-manager/
|
|
27
27
|
module DeploymentmanagerV2beta2
|
|
28
28
|
VERSION = 'V2beta2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20151110'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
33
33
|
|
|
34
|
+
# View your data across Google Cloud Platform services
|
|
35
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
|
36
|
+
|
|
34
37
|
# View and manage your Google Cloud Platform management resources and deployment status information
|
|
35
38
|
AUTH_NDEV_CLOUDMAN = 'https://www.googleapis.com/auth/ndev.cloudman'
|
|
36
39
|
|
|
@@ -347,7 +347,7 @@ module Google
|
|
|
347
347
|
# @return [String]
|
|
348
348
|
attr_accessor :insert_time
|
|
349
349
|
|
|
350
|
-
# [Output Only] Type of the resource. Always compute#
|
|
350
|
+
# [Output Only] Type of the resource. Always compute#operation for Operation
|
|
351
351
|
# resources.
|
|
352
352
|
# Corresponds to the JSON property `kind`
|
|
353
353
|
# @return [String]
|
|
@@ -358,7 +358,8 @@ module Google
|
|
|
358
358
|
# @return [String]
|
|
359
359
|
attr_accessor :name
|
|
360
360
|
|
|
361
|
-
# [Output Only] Type of the operation, such as insert,
|
|
361
|
+
# [Output Only] Type of the operation, such as insert, compute.instanceGroups.
|
|
362
|
+
# update, or compute.instanceGroups.delete.
|
|
362
363
|
# Corresponds to the JSON property `operationType`
|
|
363
364
|
# @return [String]
|
|
364
365
|
attr_accessor :operation_type
|
|
@@ -377,7 +378,7 @@ module Google
|
|
|
377
378
|
# @return [String]
|
|
378
379
|
attr_accessor :region
|
|
379
380
|
|
|
380
|
-
# [Output Only] Server
|
|
381
|
+
# [Output Only] Server-defined URL for the resource.
|
|
381
382
|
# Corresponds to the JSON property `selfLink`
|
|
382
383
|
# @return [String]
|
|
383
384
|
attr_accessor :self_link
|
|
@@ -780,18 +781,36 @@ module Google
|
|
|
780
781
|
class Type
|
|
781
782
|
include Google::Apis::Core::Hashable
|
|
782
783
|
|
|
784
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
785
|
+
# Corresponds to the JSON property `id`
|
|
786
|
+
# @return [String]
|
|
787
|
+
attr_accessor :id
|
|
788
|
+
|
|
789
|
+
# [Output Only] Timestamp when the type was created, in RFC3339 text format.
|
|
790
|
+
# Corresponds to the JSON property `insertTime`
|
|
791
|
+
# @return [String]
|
|
792
|
+
attr_accessor :insert_time
|
|
793
|
+
|
|
783
794
|
# Name of the type.
|
|
784
795
|
# Corresponds to the JSON property `name`
|
|
785
796
|
# @return [String]
|
|
786
797
|
attr_accessor :name
|
|
787
798
|
|
|
799
|
+
# [Output Only] Self link for the type.
|
|
800
|
+
# Corresponds to the JSON property `selfLink`
|
|
801
|
+
# @return [String]
|
|
802
|
+
attr_accessor :self_link
|
|
803
|
+
|
|
788
804
|
def initialize(**args)
|
|
789
805
|
update!(**args)
|
|
790
806
|
end
|
|
791
807
|
|
|
792
808
|
# Update properties of this object
|
|
793
809
|
def update!(**args)
|
|
810
|
+
@id = args[:id] unless args[:id].nil?
|
|
811
|
+
@insert_time = args[:insert_time] unless args[:insert_time].nil?
|
|
794
812
|
@name = args[:name] unless args[:name].nil?
|
|
813
|
+
@self_link = args[:self_link] unless args[:self_link].nil?
|
|
795
814
|
end
|
|
796
815
|
end
|
|
797
816
|
|
|
@@ -286,7 +286,10 @@ module Google
|
|
|
286
286
|
class Type
|
|
287
287
|
# @private
|
|
288
288
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
289
|
+
property :id, as: 'id'
|
|
290
|
+
property :insert_time, as: 'insertTime'
|
|
289
291
|
property :name, as: 'name'
|
|
292
|
+
property :self_link, as: 'selfLink'
|
|
290
293
|
end
|
|
291
294
|
end
|
|
292
295
|
|
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module DeploymentmanagerV2beta2
|
|
23
|
-
# Google Cloud Deployment Manager API
|
|
23
|
+
# Google Cloud Deployment Manager API
|
|
24
24
|
#
|
|
25
25
|
# The Deployment Manager API allows users to declaratively configure, deploy and
|
|
26
26
|
# run complex solutions on the Google Cloud Platform.
|
|
@@ -80,8 +80,7 @@ module Google
|
|
|
80
80
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
81
81
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
82
82
|
def delete_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
83
|
-
|
|
84
|
-
command = make_simple_command(:delete, path, options)
|
|
83
|
+
command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', options)
|
|
85
84
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
|
|
86
85
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::Operation
|
|
87
86
|
command.params['project'] = project unless project.nil?
|
|
@@ -119,8 +118,7 @@ module Google
|
|
|
119
118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
120
119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
121
120
|
def get_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
122
|
-
|
|
123
|
-
command = make_simple_command(:get, path, options)
|
|
121
|
+
command = make_simple_command(:get, '{project}/global/deployments/{deployment}', options)
|
|
124
122
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
|
|
125
123
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::Deployment
|
|
126
124
|
command.params['project'] = project unless project.nil?
|
|
@@ -158,8 +156,7 @@ module Google
|
|
|
158
156
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
159
157
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
160
158
|
def insert_deployment(project, deployment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
161
|
-
|
|
162
|
-
command = make_simple_command(:post, path, options)
|
|
159
|
+
command = make_simple_command(:post, '{project}/global/deployments', options)
|
|
163
160
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
|
|
164
161
|
command.request_object = deployment_object
|
|
165
162
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
|
|
@@ -214,8 +211,7 @@ module Google
|
|
|
214
211
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
215
212
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
216
213
|
def list_deployments(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
217
|
-
|
|
218
|
-
command = make_simple_command(:get, path, options)
|
|
214
|
+
command = make_simple_command(:get, '{project}/global/deployments', options)
|
|
219
215
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListDeploymentsResponse::Representation
|
|
220
216
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListDeploymentsResponse
|
|
221
217
|
command.params['project'] = project unless project.nil?
|
|
@@ -263,8 +259,7 @@ module Google
|
|
|
263
259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
264
260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
265
261
|
def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, update_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
266
|
-
|
|
267
|
-
command = make_simple_command(:patch, path, options)
|
|
262
|
+
command = make_simple_command(:patch, '{project}/global/deployments/{deployment}', options)
|
|
268
263
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
|
|
269
264
|
command.request_object = deployment_object
|
|
270
265
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
|
|
@@ -315,8 +310,7 @@ module Google
|
|
|
315
310
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
316
311
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
317
312
|
def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, update_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
318
|
-
|
|
319
|
-
command = make_simple_command(:put, path, options)
|
|
313
|
+
command = make_simple_command(:put, '{project}/global/deployments/{deployment}', options)
|
|
320
314
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
|
|
321
315
|
command.request_object = deployment_object
|
|
322
316
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
|
|
@@ -361,8 +355,7 @@ module Google
|
|
|
361
355
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
362
356
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
363
357
|
def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
364
|
-
|
|
365
|
-
command = make_simple_command(:get, path, options)
|
|
358
|
+
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests/{manifest}', options)
|
|
366
359
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Manifest::Representation
|
|
367
360
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::Manifest
|
|
368
361
|
command.params['project'] = project unless project.nil?
|
|
@@ -419,8 +412,7 @@ module Google
|
|
|
419
412
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
420
413
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
421
414
|
def list_manifests(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
422
|
-
|
|
423
|
-
command = make_simple_command(:get, path, options)
|
|
415
|
+
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
|
|
424
416
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListManifestsResponse::Representation
|
|
425
417
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListManifestsResponse
|
|
426
418
|
command.params['project'] = project unless project.nil?
|
|
@@ -461,8 +453,7 @@ module Google
|
|
|
461
453
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
462
454
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
463
455
|
def get_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
464
|
-
|
|
465
|
-
command = make_simple_command(:get, path, options)
|
|
456
|
+
command = make_simple_command(:get, '{project}/global/operations/{operation}', options)
|
|
466
457
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
|
|
467
458
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::Operation
|
|
468
459
|
command.params['project'] = project unless project.nil?
|
|
@@ -516,8 +507,7 @@ module Google
|
|
|
516
507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
517
508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
518
509
|
def list_operations(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
519
|
-
|
|
520
|
-
command = make_simple_command(:get, path, options)
|
|
510
|
+
command = make_simple_command(:get, '{project}/global/operations', options)
|
|
521
511
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListOperationsResponse::Representation
|
|
522
512
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListOperationsResponse
|
|
523
513
|
command.params['project'] = project unless project.nil?
|
|
@@ -559,8 +549,7 @@ module Google
|
|
|
559
549
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
560
550
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
561
551
|
def get_resource(project, deployment, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
562
|
-
|
|
563
|
-
command = make_simple_command(:get, path, options)
|
|
552
|
+
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources/{resource}', options)
|
|
564
553
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Resource::Representation
|
|
565
554
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::Resource
|
|
566
555
|
command.params['project'] = project unless project.nil?
|
|
@@ -617,8 +606,7 @@ module Google
|
|
|
617
606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
618
607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
619
608
|
def list_resources(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
620
|
-
|
|
621
|
-
command = make_simple_command(:get, path, options)
|
|
609
|
+
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
|
|
622
610
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListResourcesResponse::Representation
|
|
623
611
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListResourcesResponse
|
|
624
612
|
command.params['project'] = project unless project.nil?
|
|
@@ -675,8 +663,7 @@ module Google
|
|
|
675
663
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
676
664
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
677
665
|
def list_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
678
|
-
|
|
679
|
-
command = make_simple_command(:get, path, options)
|
|
666
|
+
command = make_simple_command(:get, '{project}/global/types', options)
|
|
680
667
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListTypesResponse::Representation
|
|
681
668
|
command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListTypesResponse
|
|
682
669
|
command.params['project'] = project unless project.nil?
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/doubleclick-advertisers/reporting/
|
|
26
26
|
module DfareportingV2_1
|
|
27
27
|
VERSION = 'V2_1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20151109'
|
|
29
29
|
|
|
30
30
|
# View and manage DoubleClick for Advertisers reports
|
|
31
31
|
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
|
@@ -109,6 +109,9 @@ module Google
|
|
|
109
109
|
# - "34" for VEF
|
|
110
110
|
# - "35" for COP
|
|
111
111
|
# - "36" for GTQ
|
|
112
|
+
# - "37" for PLN
|
|
113
|
+
# - "39" for INR
|
|
114
|
+
# - "40" for THB
|
|
112
115
|
# Corresponds to the JSON property `currencyId`
|
|
113
116
|
# @return [String]
|
|
114
117
|
attr_accessor :currency_id
|
|
@@ -2380,14 +2383,14 @@ module Google
|
|
|
2380
2383
|
attr_accessor :click_tags
|
|
2381
2384
|
|
|
2382
2385
|
# Industry standard ID assigned to creative for reach and frequency. Applicable
|
|
2383
|
-
# to the following creative types: INSTREAM_VIDEO and all VPAID.
|
|
2386
|
+
# to the following creative types: all INSTREAM_VIDEO and all VPAID.
|
|
2384
2387
|
# Corresponds to the JSON property `commercialId`
|
|
2385
2388
|
# @return [String]
|
|
2386
2389
|
attr_accessor :commercial_id
|
|
2387
2390
|
|
|
2388
2391
|
# List of companion creatives assigned to an in-Stream videocreative. Acceptable
|
|
2389
2392
|
# values include IDs of existing flash and image creatives. Applicable to the
|
|
2390
|
-
# following creative types: INSTREAM_VIDEO and all VPAID.
|
|
2393
|
+
# following creative types: all INSTREAM_VIDEO and all VPAID.
|
|
2391
2394
|
# Corresponds to the JSON property `companionCreatives`
|
|
2392
2395
|
# @return [Array<String>]
|
|
2393
2396
|
attr_accessor :companion_creatives
|
|
@@ -2417,8 +2420,9 @@ module Google
|
|
|
2417
2420
|
attr_accessor :convert_flash_to_html5
|
|
2418
2421
|
alias_method :convert_flash_to_html5?, :convert_flash_to_html5
|
|
2419
2422
|
|
|
2420
|
-
# List of counter events configured for the creative.
|
|
2421
|
-
#
|
|
2423
|
+
# List of counter events configured for the creative. For ENHANCED_IMAGE
|
|
2424
|
+
# creatives, these are read-only and auto-generated from clickTags. Applicable
|
|
2425
|
+
# to the following creative types: ENHANCED_IMAGE, all RICH_MEDIA, and all VPAID.
|
|
2422
2426
|
# Corresponds to the JSON property `counterCustomEvents`
|
|
2423
2427
|
# @return [Array<Google::Apis::DfareportingV2_1::CreativeCustomEvent>]
|
|
2424
2428
|
attr_accessor :counter_custom_events
|
|
@@ -2444,8 +2448,11 @@ module Google
|
|
|
2444
2448
|
# @return [Array<String>]
|
|
2445
2449
|
attr_accessor :custom_key_values
|
|
2446
2450
|
|
|
2447
|
-
# List of exit events configured for the creative.
|
|
2448
|
-
#
|
|
2451
|
+
# List of exit events configured for the creative. For ENHANCED_BANNER and
|
|
2452
|
+
# ENHANCED_IMAGE creatives, these are read-only and auto-generated from
|
|
2453
|
+
# clickTags, For ENHANCED_BANNER, an event is also created from the
|
|
2454
|
+
# backupImageReportingLabel. Applicable to the following creative types:
|
|
2455
|
+
# ENHANCED_BANNER, ENHANCED_IMAGE, all RICH_MEDIA, and all VPAID.
|
|
2449
2456
|
# Corresponds to the JSON property `exitCustomEvents`
|
|
2450
2457
|
# @return [Array<Google::Apis::DfareportingV2_1::CreativeCustomEvent>]
|
|
2451
2458
|
attr_accessor :exit_custom_events
|
|
@@ -2511,9 +2518,12 @@ module Google
|
|
|
2511
2518
|
# @return [String]
|
|
2512
2519
|
attr_accessor :override_css
|
|
2513
2520
|
|
|
2514
|
-
# URL of hosted image or another ad tag.
|
|
2521
|
+
# URL of hosted image or hosted video or another ad tag. For
|
|
2522
|
+
# INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL.
|
|
2523
|
+
# The standard for a VAST (Video Ad Serving Template) ad response allows for a
|
|
2524
|
+
# redirect link to another VAST 2.0 or 3.0 call. This is a required field when
|
|
2515
2525
|
# applicable. Applicable to the following creative types: INTERNAL_REDIRECT,
|
|
2516
|
-
# INTERSTITIAL_INTERNAL_REDIRECT, and
|
|
2526
|
+
# INTERSTITIAL_INTERNAL_REDIRECT, REDIRECT, and INSTREAM_VIDEO_REDIRECT
|
|
2517
2527
|
# Corresponds to the JSON property `redirectUrl`
|
|
2518
2528
|
# @return [String]
|
|
2519
2529
|
attr_accessor :redirect_url
|
|
@@ -2549,7 +2559,7 @@ module Google
|
|
|
2549
2559
|
attr_accessor :size
|
|
2550
2560
|
|
|
2551
2561
|
# Whether the user can choose to skip the creative. Applicable to the following
|
|
2552
|
-
# creative types: INSTREAM_VIDEO.
|
|
2562
|
+
# creative types: all INSTREAM_VIDEO and all VPAID.
|
|
2553
2563
|
# Corresponds to the JSON property `skippable`
|
|
2554
2564
|
# @return [Boolean]
|
|
2555
2565
|
attr_accessor :skippable
|
|
@@ -2603,13 +2613,14 @@ module Google
|
|
|
2603
2613
|
attr_accessor :third_party_rich_media_impressions_url
|
|
2604
2614
|
|
|
2605
2615
|
# Third-party URLs for tracking in-stream video creative events. Applicable to
|
|
2606
|
-
# the following creative types: INSTREAM_VIDEO and all VPAID.
|
|
2616
|
+
# the following creative types: all INSTREAM_VIDEO and all VPAID.
|
|
2607
2617
|
# Corresponds to the JSON property `thirdPartyUrls`
|
|
2608
2618
|
# @return [Array<Google::Apis::DfareportingV2_1::ThirdPartyTrackingUrl>]
|
|
2609
2619
|
attr_accessor :third_party_urls
|
|
2610
2620
|
|
|
2611
|
-
# List of timer events configured for the creative.
|
|
2612
|
-
#
|
|
2621
|
+
# List of timer events configured for the creative. For ENHANCED_IMAGE creatives,
|
|
2622
|
+
# these are read-only and auto-generated from clickTags. Applicable to the
|
|
2623
|
+
# following creative types: ENHANCED_IMAGE, all RICH_MEDIA, and all VPAID.
|
|
2613
2624
|
# Corresponds to the JSON property `timerCustomEvents`
|
|
2614
2625
|
# @return [Array<Google::Apis::DfareportingV2_1::CreativeCustomEvent>]
|
|
2615
2626
|
attr_accessor :timer_custom_events
|
|
@@ -2637,7 +2648,7 @@ module Google
|
|
|
2637
2648
|
# @return [Fixnum]
|
|
2638
2649
|
attr_accessor :version
|
|
2639
2650
|
|
|
2640
|
-
# Description of the video ad. Applicable to the following creative types:
|
|
2651
|
+
# Description of the video ad. Applicable to the following creative types: all
|
|
2641
2652
|
# INSTREAM_VIDEO and all VPAID.
|
|
2642
2653
|
# Corresponds to the JSON property `videoDescription`
|
|
2643
2654
|
# @return [String]
|
|
@@ -3330,7 +3341,8 @@ module Google
|
|
|
3330
3341
|
# @return [String]
|
|
3331
3342
|
attr_accessor :target_type
|
|
3332
3343
|
|
|
3333
|
-
#
|
|
3344
|
+
# Video reporting ID, used to differentiate multiple videos in a single creative.
|
|
3345
|
+
# This is a read-only field.
|
|
3334
3346
|
# Corresponds to the JSON property `videoReportingId`
|
|
3335
3347
|
# @return [String]
|
|
3336
3348
|
attr_accessor :video_reporting_id
|
|
@@ -4334,6 +4346,9 @@ module Google
|
|
|
4334
4346
|
# - "34" for VEF
|
|
4335
4347
|
# - "35" for COP
|
|
4336
4348
|
# - "36" for GTQ
|
|
4349
|
+
# - "37" for PLN
|
|
4350
|
+
# - "39" for INR
|
|
4351
|
+
# - "40" for THB
|
|
4337
4352
|
# Corresponds to the JSON property `currencyId`
|
|
4338
4353
|
# @return [String]
|
|
4339
4354
|
attr_accessor :currency_id
|
|
@@ -79,8 +79,7 @@ module Google
|
|
|
79
79
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
80
80
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
81
81
|
def get_account_active_ad_summary(profile_id, summary_account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
82
|
-
|
|
83
|
-
command = make_simple_command(:get, path, options)
|
|
82
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}', options)
|
|
84
83
|
command.response_representation = Google::Apis::DfareportingV2_1::AccountActiveAdSummary::Representation
|
|
85
84
|
command.response_class = Google::Apis::DfareportingV2_1::AccountActiveAdSummary
|
|
86
85
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -118,8 +117,7 @@ module Google
|
|
|
118
117
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
119
118
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
120
119
|
def get_account_permission_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
121
|
-
|
|
122
|
-
command = make_simple_command(:get, path, options)
|
|
120
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accountPermissionGroups/{id}', options)
|
|
123
121
|
command.response_representation = Google::Apis::DfareportingV2_1::AccountPermissionGroup::Representation
|
|
124
122
|
command.response_class = Google::Apis::DfareportingV2_1::AccountPermissionGroup
|
|
125
123
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -155,8 +153,7 @@ module Google
|
|
|
155
153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
156
154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
157
155
|
def list_account_permission_groups(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
158
|
-
|
|
159
|
-
command = make_simple_command(:get, path, options)
|
|
156
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accountPermissionGroups', options)
|
|
160
157
|
command.response_representation = Google::Apis::DfareportingV2_1::ListAccountPermissionGroupsResponse::Representation
|
|
161
158
|
command.response_class = Google::Apis::DfareportingV2_1::ListAccountPermissionGroupsResponse
|
|
162
159
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -193,8 +190,7 @@ module Google
|
|
|
193
190
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
194
191
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
195
192
|
def get_account_permission(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
196
|
-
|
|
197
|
-
command = make_simple_command(:get, path, options)
|
|
193
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accountPermissions/{id}', options)
|
|
198
194
|
command.response_representation = Google::Apis::DfareportingV2_1::AccountPermission::Representation
|
|
199
195
|
command.response_class = Google::Apis::DfareportingV2_1::AccountPermission
|
|
200
196
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -230,8 +226,7 @@ module Google
|
|
|
230
226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
231
227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
232
228
|
def list_account_permissions(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
233
|
-
|
|
234
|
-
command = make_simple_command(:get, path, options)
|
|
229
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accountPermissions', options)
|
|
235
230
|
command.response_representation = Google::Apis::DfareportingV2_1::ListAccountPermissionsResponse::Representation
|
|
236
231
|
command.response_class = Google::Apis::DfareportingV2_1::ListAccountPermissionsResponse
|
|
237
232
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -268,8 +263,7 @@ module Google
|
|
|
268
263
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
269
264
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
270
265
|
def get_account_user_profile(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
271
|
-
|
|
272
|
-
command = make_simple_command(:get, path, options)
|
|
266
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accountUserProfiles/{id}', options)
|
|
273
267
|
command.response_representation = Google::Apis::DfareportingV2_1::AccountUserProfile::Representation
|
|
274
268
|
command.response_class = Google::Apis::DfareportingV2_1::AccountUserProfile
|
|
275
269
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -306,8 +300,7 @@ module Google
|
|
|
306
300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
307
301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
308
302
|
def insert_account_user_profile(profile_id, account_user_profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
309
|
-
|
|
310
|
-
command = make_simple_command(:post, path, options)
|
|
303
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/accountUserProfiles', options)
|
|
311
304
|
command.request_representation = Google::Apis::DfareportingV2_1::AccountUserProfile::Representation
|
|
312
305
|
command.request_object = account_user_profile_object
|
|
313
306
|
command.response_representation = Google::Apis::DfareportingV2_1::AccountUserProfile::Representation
|
|
@@ -368,8 +361,7 @@ module Google
|
|
|
368
361
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
369
362
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
370
363
|
def list_account_user_profiles(profile_id, active: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, subaccount_id: nil, user_role_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
371
|
-
|
|
372
|
-
command = make_simple_command(:get, path, options)
|
|
364
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accountUserProfiles', options)
|
|
373
365
|
command.response_representation = Google::Apis::DfareportingV2_1::ListAccountUserProfilesResponse::Representation
|
|
374
366
|
command.response_class = Google::Apis::DfareportingV2_1::ListAccountUserProfilesResponse
|
|
375
367
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -416,8 +408,7 @@ module Google
|
|
|
416
408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
417
409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
418
410
|
def patch_account_user_profile(profile_id, id, account_user_profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
419
|
-
|
|
420
|
-
command = make_simple_command(:patch, path, options)
|
|
411
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/accountUserProfiles', options)
|
|
421
412
|
command.request_representation = Google::Apis::DfareportingV2_1::AccountUserProfile::Representation
|
|
422
413
|
command.request_object = account_user_profile_object
|
|
423
414
|
command.response_representation = Google::Apis::DfareportingV2_1::AccountUserProfile::Representation
|
|
@@ -456,8 +447,7 @@ module Google
|
|
|
456
447
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
457
448
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
458
449
|
def update_account_user_profile(profile_id, account_user_profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
459
|
-
|
|
460
|
-
command = make_simple_command(:put, path, options)
|
|
450
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/accountUserProfiles', options)
|
|
461
451
|
command.request_representation = Google::Apis::DfareportingV2_1::AccountUserProfile::Representation
|
|
462
452
|
command.request_object = account_user_profile_object
|
|
463
453
|
command.response_representation = Google::Apis::DfareportingV2_1::AccountUserProfile::Representation
|
|
@@ -496,8 +486,7 @@ module Google
|
|
|
496
486
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
497
487
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
498
488
|
def get_account(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
499
|
-
|
|
500
|
-
command = make_simple_command(:get, path, options)
|
|
489
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accounts/{id}', options)
|
|
501
490
|
command.response_representation = Google::Apis::DfareportingV2_1::Account::Representation
|
|
502
491
|
command.response_class = Google::Apis::DfareportingV2_1::Account
|
|
503
492
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -553,8 +542,7 @@ module Google
|
|
|
553
542
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
554
543
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
555
544
|
def list_accounts(profile_id, active: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
556
|
-
|
|
557
|
-
command = make_simple_command(:get, path, options)
|
|
545
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/accounts', options)
|
|
558
546
|
command.response_representation = Google::Apis::DfareportingV2_1::ListAccountsResponse::Representation
|
|
559
547
|
command.response_class = Google::Apis::DfareportingV2_1::ListAccountsResponse
|
|
560
548
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -599,8 +587,7 @@ module Google
|
|
|
599
587
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
600
588
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
601
589
|
def patch_account(profile_id, id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
602
|
-
|
|
603
|
-
command = make_simple_command(:patch, path, options)
|
|
590
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/accounts', options)
|
|
604
591
|
command.request_representation = Google::Apis::DfareportingV2_1::Account::Representation
|
|
605
592
|
command.request_object = account_object
|
|
606
593
|
command.response_representation = Google::Apis::DfareportingV2_1::Account::Representation
|
|
@@ -639,8 +626,7 @@ module Google
|
|
|
639
626
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
640
627
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
641
628
|
def update_account(profile_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
642
|
-
|
|
643
|
-
command = make_simple_command(:put, path, options)
|
|
629
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/accounts', options)
|
|
644
630
|
command.request_representation = Google::Apis::DfareportingV2_1::Account::Representation
|
|
645
631
|
command.request_object = account_object
|
|
646
632
|
command.response_representation = Google::Apis::DfareportingV2_1::Account::Representation
|
|
@@ -679,8 +665,7 @@ module Google
|
|
|
679
665
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
680
666
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
681
667
|
def get_ad(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
682
|
-
|
|
683
|
-
command = make_simple_command(:get, path, options)
|
|
668
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/ads/{id}', options)
|
|
684
669
|
command.response_representation = Google::Apis::DfareportingV2_1::Ad::Representation
|
|
685
670
|
command.response_class = Google::Apis::DfareportingV2_1::Ad
|
|
686
671
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -717,8 +702,7 @@ module Google
|
|
|
717
702
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
718
703
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
719
704
|
def insert_ad(profile_id, ad_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
720
|
-
|
|
721
|
-
command = make_simple_command(:post, path, options)
|
|
705
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/ads', options)
|
|
722
706
|
command.request_representation = Google::Apis::DfareportingV2_1::Ad::Representation
|
|
723
707
|
command.request_object = ad_object
|
|
724
708
|
command.response_representation = Google::Apis::DfareportingV2_1::Ad::Representation
|
|
@@ -814,8 +798,7 @@ module Google
|
|
|
814
798
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
815
799
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
816
800
|
def list_ads(profile_id, active: nil, advertiser_id: nil, archived: nil, audience_segment_ids: nil, campaign_ids: nil, compatibility: nil, creative_ids: nil, creative_optimization_configuration_ids: nil, creative_type: nil, dynamic_click_tracker: nil, ids: nil, landing_page_ids: nil, max_results: nil, overridden_event_tag_id: nil, page_token: nil, placement_ids: nil, remarketing_list_ids: nil, search_string: nil, size_ids: nil, sort_field: nil, sort_order: nil, ssl_compliant: nil, ssl_required: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
817
|
-
|
|
818
|
-
command = make_simple_command(:get, path, options)
|
|
801
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/ads', options)
|
|
819
802
|
command.response_representation = Google::Apis::DfareportingV2_1::ListAdsResponse::Representation
|
|
820
803
|
command.response_class = Google::Apis::DfareportingV2_1::ListAdsResponse
|
|
821
804
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -877,8 +860,7 @@ module Google
|
|
|
877
860
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
878
861
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
879
862
|
def patch_ad(profile_id, id, ad_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
880
|
-
|
|
881
|
-
command = make_simple_command(:patch, path, options)
|
|
863
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/ads', options)
|
|
882
864
|
command.request_representation = Google::Apis::DfareportingV2_1::Ad::Representation
|
|
883
865
|
command.request_object = ad_object
|
|
884
866
|
command.response_representation = Google::Apis::DfareportingV2_1::Ad::Representation
|
|
@@ -917,8 +899,7 @@ module Google
|
|
|
917
899
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
918
900
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
919
901
|
def update_ad(profile_id, ad_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
920
|
-
|
|
921
|
-
command = make_simple_command(:put, path, options)
|
|
902
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/ads', options)
|
|
922
903
|
command.request_representation = Google::Apis::DfareportingV2_1::Ad::Representation
|
|
923
904
|
command.request_object = ad_object
|
|
924
905
|
command.response_representation = Google::Apis::DfareportingV2_1::Ad::Representation
|
|
@@ -957,8 +938,7 @@ module Google
|
|
|
957
938
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
958
939
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
959
940
|
def delete_advertiser_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
960
|
-
|
|
961
|
-
command = make_simple_command(:delete, path, options)
|
|
941
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/advertiserGroups/{id}', options)
|
|
962
942
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
963
943
|
command.params['id'] = id unless id.nil?
|
|
964
944
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -994,8 +974,7 @@ module Google
|
|
|
994
974
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
995
975
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
996
976
|
def get_advertiser_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
997
|
-
|
|
998
|
-
command = make_simple_command(:get, path, options)
|
|
977
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/advertiserGroups/{id}', options)
|
|
999
978
|
command.response_representation = Google::Apis::DfareportingV2_1::AdvertiserGroup::Representation
|
|
1000
979
|
command.response_class = Google::Apis::DfareportingV2_1::AdvertiserGroup
|
|
1001
980
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1032,8 +1011,7 @@ module Google
|
|
|
1032
1011
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1033
1012
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1034
1013
|
def insert_advertiser_group(profile_id, advertiser_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1035
|
-
|
|
1036
|
-
command = make_simple_command(:post, path, options)
|
|
1014
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/advertiserGroups', options)
|
|
1037
1015
|
command.request_representation = Google::Apis::DfareportingV2_1::AdvertiserGroup::Representation
|
|
1038
1016
|
command.request_object = advertiser_group_object
|
|
1039
1017
|
command.response_representation = Google::Apis::DfareportingV2_1::AdvertiserGroup::Representation
|
|
@@ -1088,8 +1066,7 @@ module Google
|
|
|
1088
1066
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1089
1067
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1090
1068
|
def list_advertiser_groups(profile_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1091
|
-
|
|
1092
|
-
command = make_simple_command(:get, path, options)
|
|
1069
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/advertiserGroups', options)
|
|
1093
1070
|
command.response_representation = Google::Apis::DfareportingV2_1::ListAdvertiserGroupsResponse::Representation
|
|
1094
1071
|
command.response_class = Google::Apis::DfareportingV2_1::ListAdvertiserGroupsResponse
|
|
1095
1072
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1133,8 +1110,7 @@ module Google
|
|
|
1133
1110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1134
1111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1135
1112
|
def patch_advertiser_group(profile_id, id, advertiser_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1136
|
-
|
|
1137
|
-
command = make_simple_command(:patch, path, options)
|
|
1113
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/advertiserGroups', options)
|
|
1138
1114
|
command.request_representation = Google::Apis::DfareportingV2_1::AdvertiserGroup::Representation
|
|
1139
1115
|
command.request_object = advertiser_group_object
|
|
1140
1116
|
command.response_representation = Google::Apis::DfareportingV2_1::AdvertiserGroup::Representation
|
|
@@ -1173,8 +1149,7 @@ module Google
|
|
|
1173
1149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1174
1150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1175
1151
|
def update_advertiser_group(profile_id, advertiser_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1176
|
-
|
|
1177
|
-
command = make_simple_command(:put, path, options)
|
|
1152
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/advertiserGroups', options)
|
|
1178
1153
|
command.request_representation = Google::Apis::DfareportingV2_1::AdvertiserGroup::Representation
|
|
1179
1154
|
command.request_object = advertiser_group_object
|
|
1180
1155
|
command.response_representation = Google::Apis::DfareportingV2_1::AdvertiserGroup::Representation
|
|
@@ -1213,8 +1188,7 @@ module Google
|
|
|
1213
1188
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1214
1189
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1215
1190
|
def get_advertiser(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1216
|
-
|
|
1217
|
-
command = make_simple_command(:get, path, options)
|
|
1191
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/advertisers/{id}', options)
|
|
1218
1192
|
command.response_representation = Google::Apis::DfareportingV2_1::Advertiser::Representation
|
|
1219
1193
|
command.response_class = Google::Apis::DfareportingV2_1::Advertiser
|
|
1220
1194
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1251,8 +1225,7 @@ module Google
|
|
|
1251
1225
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1252
1226
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1253
1227
|
def insert_advertiser(profile_id, advertiser_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1254
|
-
|
|
1255
|
-
command = make_simple_command(:post, path, options)
|
|
1228
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/advertisers', options)
|
|
1256
1229
|
command.request_representation = Google::Apis::DfareportingV2_1::Advertiser::Representation
|
|
1257
1230
|
command.request_object = advertiser_object
|
|
1258
1231
|
command.response_representation = Google::Apis::DfareportingV2_1::Advertiser::Representation
|
|
@@ -1319,8 +1292,7 @@ module Google
|
|
|
1319
1292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1320
1293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1321
1294
|
def list_advertisers(profile_id, advertiser_group_ids: nil, floodlight_configuration_ids: nil, ids: nil, include_advertisers_without_groups_only: nil, max_results: nil, only_parent: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, status: nil, subaccount_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1322
|
-
|
|
1323
|
-
command = make_simple_command(:get, path, options)
|
|
1295
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/advertisers', options)
|
|
1324
1296
|
command.response_representation = Google::Apis::DfareportingV2_1::ListAdvertisersResponse::Representation
|
|
1325
1297
|
command.response_class = Google::Apis::DfareportingV2_1::ListAdvertisersResponse
|
|
1326
1298
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1370,8 +1342,7 @@ module Google
|
|
|
1370
1342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1371
1343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1372
1344
|
def patch_advertiser(profile_id, id, advertiser_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1373
|
-
|
|
1374
|
-
command = make_simple_command(:patch, path, options)
|
|
1345
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/advertisers', options)
|
|
1375
1346
|
command.request_representation = Google::Apis::DfareportingV2_1::Advertiser::Representation
|
|
1376
1347
|
command.request_object = advertiser_object
|
|
1377
1348
|
command.response_representation = Google::Apis::DfareportingV2_1::Advertiser::Representation
|
|
@@ -1410,8 +1381,7 @@ module Google
|
|
|
1410
1381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1411
1382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1412
1383
|
def update_advertiser(profile_id, advertiser_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1413
|
-
|
|
1414
|
-
command = make_simple_command(:put, path, options)
|
|
1384
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/advertisers', options)
|
|
1415
1385
|
command.request_representation = Google::Apis::DfareportingV2_1::Advertiser::Representation
|
|
1416
1386
|
command.request_object = advertiser_object
|
|
1417
1387
|
command.response_representation = Google::Apis::DfareportingV2_1::Advertiser::Representation
|
|
@@ -1448,8 +1418,7 @@ module Google
|
|
|
1448
1418
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1449
1419
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1450
1420
|
def list_browsers(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1451
|
-
|
|
1452
|
-
command = make_simple_command(:get, path, options)
|
|
1421
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/browsers', options)
|
|
1453
1422
|
command.response_representation = Google::Apis::DfareportingV2_1::ListBrowsersResponse::Representation
|
|
1454
1423
|
command.response_class = Google::Apis::DfareportingV2_1::ListBrowsersResponse
|
|
1455
1424
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1489,8 +1458,7 @@ module Google
|
|
|
1489
1458
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1490
1459
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1491
1460
|
def insert_campaign_creative_association(profile_id, campaign_id, campaign_creative_association_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1492
|
-
|
|
1493
|
-
command = make_simple_command(:post, path, options)
|
|
1461
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', options)
|
|
1494
1462
|
command.request_representation = Google::Apis::DfareportingV2_1::CampaignCreativeAssociation::Representation
|
|
1495
1463
|
command.request_object = campaign_creative_association_object
|
|
1496
1464
|
command.response_representation = Google::Apis::DfareportingV2_1::CampaignCreativeAssociation::Representation
|
|
@@ -1536,8 +1504,7 @@ module Google
|
|
|
1536
1504
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1537
1505
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1538
1506
|
def list_campaign_creative_associations(profile_id, campaign_id, max_results: nil, page_token: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1539
|
-
|
|
1540
|
-
command = make_simple_command(:get, path, options)
|
|
1507
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', options)
|
|
1541
1508
|
command.response_representation = Google::Apis::DfareportingV2_1::ListCampaignCreativeAssociationsResponse::Representation
|
|
1542
1509
|
command.response_class = Google::Apis::DfareportingV2_1::ListCampaignCreativeAssociationsResponse
|
|
1543
1510
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1578,8 +1545,7 @@ module Google
|
|
|
1578
1545
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1579
1546
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1580
1547
|
def get_campaign(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1581
|
-
|
|
1582
|
-
command = make_simple_command(:get, path, options)
|
|
1548
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns/{id}', options)
|
|
1583
1549
|
command.response_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
|
1584
1550
|
command.response_class = Google::Apis::DfareportingV2_1::Campaign
|
|
1585
1551
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1621,8 +1587,7 @@ module Google
|
|
|
1621
1587
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1622
1588
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1623
1589
|
def insert_campaign(profile_id, default_landing_page_name, default_landing_page_url, campaign_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1624
|
-
|
|
1625
|
-
command = make_simple_command(:post, path, options)
|
|
1590
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/campaigns', options)
|
|
1626
1591
|
command.request_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
|
1627
1592
|
command.request_object = campaign_object
|
|
1628
1593
|
command.response_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
|
@@ -1693,8 +1658,7 @@ module Google
|
|
|
1693
1658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1694
1659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1695
1660
|
def list_campaigns(profile_id, advertiser_group_ids: nil, advertiser_ids: nil, archived: nil, at_least_one_optimization_activity: nil, excluded_ids: nil, ids: nil, max_results: nil, overridden_event_tag_id: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, subaccount_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1696
|
-
|
|
1697
|
-
command = make_simple_command(:get, path, options)
|
|
1661
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns', options)
|
|
1698
1662
|
command.response_representation = Google::Apis::DfareportingV2_1::ListCampaignsResponse::Representation
|
|
1699
1663
|
command.response_class = Google::Apis::DfareportingV2_1::ListCampaignsResponse
|
|
1700
1664
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1745,8 +1709,7 @@ module Google
|
|
|
1745
1709
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1746
1710
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1747
1711
|
def patch_campaign(profile_id, id, campaign_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1748
|
-
|
|
1749
|
-
command = make_simple_command(:patch, path, options)
|
|
1712
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/campaigns', options)
|
|
1750
1713
|
command.request_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
|
1751
1714
|
command.request_object = campaign_object
|
|
1752
1715
|
command.response_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
|
@@ -1785,8 +1748,7 @@ module Google
|
|
|
1785
1748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1786
1749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1787
1750
|
def update_campaign(profile_id, campaign_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1788
|
-
|
|
1789
|
-
command = make_simple_command(:put, path, options)
|
|
1751
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/campaigns', options)
|
|
1790
1752
|
command.request_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
|
1791
1753
|
command.request_object = campaign_object
|
|
1792
1754
|
command.response_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
|
@@ -1825,8 +1787,7 @@ module Google
|
|
|
1825
1787
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1826
1788
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1827
1789
|
def get_change_log(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1828
|
-
|
|
1829
|
-
command = make_simple_command(:get, path, options)
|
|
1790
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/changeLogs/{id}', options)
|
|
1830
1791
|
command.response_representation = Google::Apis::DfareportingV2_1::ChangeLog::Representation
|
|
1831
1792
|
command.response_class = Google::Apis::DfareportingV2_1::ChangeLog
|
|
1832
1793
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1893,8 +1854,7 @@ module Google
|
|
|
1893
1854
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1894
1855
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1895
1856
|
def list_change_logs(profile_id, action: nil, ids: nil, max_change_time: nil, max_results: nil, min_change_time: nil, object_ids: nil, object_type: nil, page_token: nil, search_string: nil, user_profile_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1896
|
-
|
|
1897
|
-
command = make_simple_command(:get, path, options)
|
|
1857
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/changeLogs', options)
|
|
1898
1858
|
command.response_representation = Google::Apis::DfareportingV2_1::ListChangeLogsResponse::Representation
|
|
1899
1859
|
command.response_class = Google::Apis::DfareportingV2_1::ListChangeLogsResponse
|
|
1900
1860
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1947,8 +1907,7 @@ module Google
|
|
|
1947
1907
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1948
1908
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1949
1909
|
def list_cities(profile_id, country_dart_ids: nil, dart_ids: nil, name_prefix: nil, region_dart_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1950
|
-
|
|
1951
|
-
command = make_simple_command(:get, path, options)
|
|
1910
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/cities', options)
|
|
1952
1911
|
command.response_representation = Google::Apis::DfareportingV2_1::ListCitiesResponse::Representation
|
|
1953
1912
|
command.response_class = Google::Apis::DfareportingV2_1::ListCitiesResponse
|
|
1954
1913
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -1989,8 +1948,7 @@ module Google
|
|
|
1989
1948
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1990
1949
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1991
1950
|
def get_connection_type(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1992
|
-
|
|
1993
|
-
command = make_simple_command(:get, path, options)
|
|
1951
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/connectionTypes/{id}', options)
|
|
1994
1952
|
command.response_representation = Google::Apis::DfareportingV2_1::ConnectionType::Representation
|
|
1995
1953
|
command.response_class = Google::Apis::DfareportingV2_1::ConnectionType
|
|
1996
1954
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2026,8 +1984,7 @@ module Google
|
|
|
2026
1984
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2027
1985
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2028
1986
|
def list_connection_types(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2029
|
-
|
|
2030
|
-
command = make_simple_command(:get, path, options)
|
|
1987
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/connectionTypes', options)
|
|
2031
1988
|
command.response_representation = Google::Apis::DfareportingV2_1::ListConnectionTypesResponse::Representation
|
|
2032
1989
|
command.response_class = Google::Apis::DfareportingV2_1::ListConnectionTypesResponse
|
|
2033
1990
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2064,8 +2021,7 @@ module Google
|
|
|
2064
2021
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2065
2022
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2066
2023
|
def delete_content_category(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2067
|
-
|
|
2068
|
-
command = make_simple_command(:delete, path, options)
|
|
2024
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/contentCategories/{id}', options)
|
|
2069
2025
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
2070
2026
|
command.params['id'] = id unless id.nil?
|
|
2071
2027
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2101,8 +2057,7 @@ module Google
|
|
|
2101
2057
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2102
2058
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2103
2059
|
def get_content_category(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2104
|
-
|
|
2105
|
-
command = make_simple_command(:get, path, options)
|
|
2060
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/contentCategories/{id}', options)
|
|
2106
2061
|
command.response_representation = Google::Apis::DfareportingV2_1::ContentCategory::Representation
|
|
2107
2062
|
command.response_class = Google::Apis::DfareportingV2_1::ContentCategory
|
|
2108
2063
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2139,8 +2094,7 @@ module Google
|
|
|
2139
2094
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2140
2095
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2141
2096
|
def insert_content_category(profile_id, content_category_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2142
|
-
|
|
2143
|
-
command = make_simple_command(:post, path, options)
|
|
2097
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/contentCategories', options)
|
|
2144
2098
|
command.request_representation = Google::Apis::DfareportingV2_1::ContentCategory::Representation
|
|
2145
2099
|
command.request_object = content_category_object
|
|
2146
2100
|
command.response_representation = Google::Apis::DfareportingV2_1::ContentCategory::Representation
|
|
@@ -2195,8 +2149,7 @@ module Google
|
|
|
2195
2149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2196
2150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2197
2151
|
def list_content_categories(profile_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2198
|
-
|
|
2199
|
-
command = make_simple_command(:get, path, options)
|
|
2152
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/contentCategories', options)
|
|
2200
2153
|
command.response_representation = Google::Apis::DfareportingV2_1::ListContentCategoriesResponse::Representation
|
|
2201
2154
|
command.response_class = Google::Apis::DfareportingV2_1::ListContentCategoriesResponse
|
|
2202
2155
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2240,8 +2193,7 @@ module Google
|
|
|
2240
2193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2241
2194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2242
2195
|
def patch_content_category(profile_id, id, content_category_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2243
|
-
|
|
2244
|
-
command = make_simple_command(:patch, path, options)
|
|
2196
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/contentCategories', options)
|
|
2245
2197
|
command.request_representation = Google::Apis::DfareportingV2_1::ContentCategory::Representation
|
|
2246
2198
|
command.request_object = content_category_object
|
|
2247
2199
|
command.response_representation = Google::Apis::DfareportingV2_1::ContentCategory::Representation
|
|
@@ -2280,8 +2232,7 @@ module Google
|
|
|
2280
2232
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2281
2233
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2282
2234
|
def update_content_category(profile_id, content_category_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2283
|
-
|
|
2284
|
-
command = make_simple_command(:put, path, options)
|
|
2235
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/contentCategories', options)
|
|
2285
2236
|
command.request_representation = Google::Apis::DfareportingV2_1::ContentCategory::Representation
|
|
2286
2237
|
command.request_object = content_category_object
|
|
2287
2238
|
command.response_representation = Google::Apis::DfareportingV2_1::ContentCategory::Representation
|
|
@@ -2320,8 +2271,7 @@ module Google
|
|
|
2320
2271
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2321
2272
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2322
2273
|
def get_country(profile_id, dart_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2323
|
-
|
|
2324
|
-
command = make_simple_command(:get, path, options)
|
|
2274
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/countries/{dartId}', options)
|
|
2325
2275
|
command.response_representation = Google::Apis::DfareportingV2_1::Country::Representation
|
|
2326
2276
|
command.response_class = Google::Apis::DfareportingV2_1::Country
|
|
2327
2277
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2357,8 +2307,7 @@ module Google
|
|
|
2357
2307
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2358
2308
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2359
2309
|
def list_countries(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2360
|
-
|
|
2361
|
-
command = make_simple_command(:get, path, options)
|
|
2310
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/countries', options)
|
|
2362
2311
|
command.response_representation = Google::Apis::DfareportingV2_1::ListCountriesResponse::Representation
|
|
2363
2312
|
command.response_class = Google::Apis::DfareportingV2_1::ListCountriesResponse
|
|
2364
2313
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2400,11 +2349,10 @@ module Google
|
|
|
2400
2349
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2401
2350
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2402
2351
|
def insert_creative_asset(profile_id, advertiser_id, creative_asset_metadata_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
2403
|
-
path = 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets'
|
|
2404
2352
|
if upload_source.nil?
|
|
2405
|
-
command = make_simple_command(:post,
|
|
2353
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets', options)
|
|
2406
2354
|
else
|
|
2407
|
-
command = make_upload_command(:post,
|
|
2355
|
+
command = make_upload_command(:post, 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets', options)
|
|
2408
2356
|
command.upload_source = upload_source
|
|
2409
2357
|
command.upload_content_type = content_type
|
|
2410
2358
|
end
|
|
@@ -2449,8 +2397,7 @@ module Google
|
|
|
2449
2397
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2450
2398
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2451
2399
|
def delete_creative_field_value(profile_id, creative_field_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2452
|
-
|
|
2453
|
-
command = make_simple_command(:delete, path, options)
|
|
2400
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', options)
|
|
2454
2401
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
2455
2402
|
command.params['creativeFieldId'] = creative_field_id unless creative_field_id.nil?
|
|
2456
2403
|
command.params['id'] = id unless id.nil?
|
|
@@ -2489,8 +2436,7 @@ module Google
|
|
|
2489
2436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2490
2437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2491
2438
|
def get_creative_field_value(profile_id, creative_field_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2492
|
-
|
|
2493
|
-
command = make_simple_command(:get, path, options)
|
|
2439
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', options)
|
|
2494
2440
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeFieldValue::Representation
|
|
2495
2441
|
command.response_class = Google::Apis::DfareportingV2_1::CreativeFieldValue
|
|
2496
2442
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2530,8 +2476,7 @@ module Google
|
|
|
2530
2476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2531
2477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2532
2478
|
def insert_creative_field_value(profile_id, creative_field_id, creative_field_value_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2533
|
-
|
|
2534
|
-
command = make_simple_command(:post, path, options)
|
|
2479
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', options)
|
|
2535
2480
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeFieldValue::Representation
|
|
2536
2481
|
command.request_object = creative_field_value_object
|
|
2537
2482
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeFieldValue::Representation
|
|
@@ -2584,8 +2529,7 @@ module Google
|
|
|
2584
2529
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2585
2530
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2586
2531
|
def list_creative_field_values(profile_id, creative_field_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2587
|
-
|
|
2588
|
-
command = make_simple_command(:get, path, options)
|
|
2532
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', options)
|
|
2589
2533
|
command.response_representation = Google::Apis::DfareportingV2_1::ListCreativeFieldValuesResponse::Representation
|
|
2590
2534
|
command.response_class = Google::Apis::DfareportingV2_1::ListCreativeFieldValuesResponse
|
|
2591
2535
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2632,8 +2576,7 @@ module Google
|
|
|
2632
2576
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2633
2577
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2634
2578
|
def patch_creative_field_value(profile_id, creative_field_id, id, creative_field_value_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2635
|
-
|
|
2636
|
-
command = make_simple_command(:patch, path, options)
|
|
2579
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', options)
|
|
2637
2580
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeFieldValue::Representation
|
|
2638
2581
|
command.request_object = creative_field_value_object
|
|
2639
2582
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeFieldValue::Representation
|
|
@@ -2675,8 +2618,7 @@ module Google
|
|
|
2675
2618
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2676
2619
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2677
2620
|
def update_creative_field_value(profile_id, creative_field_id, creative_field_value_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2678
|
-
|
|
2679
|
-
command = make_simple_command(:put, path, options)
|
|
2621
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', options)
|
|
2680
2622
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeFieldValue::Representation
|
|
2681
2623
|
command.request_object = creative_field_value_object
|
|
2682
2624
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeFieldValue::Representation
|
|
@@ -2716,8 +2658,7 @@ module Google
|
|
|
2716
2658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2717
2659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2718
2660
|
def delete_creative_field(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2719
|
-
|
|
2720
|
-
command = make_simple_command(:delete, path, options)
|
|
2661
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/creativeFields/{id}', options)
|
|
2721
2662
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
2722
2663
|
command.params['id'] = id unless id.nil?
|
|
2723
2664
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2753,8 +2694,7 @@ module Google
|
|
|
2753
2694
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2754
2695
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2755
2696
|
def get_creative_field(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2756
|
-
|
|
2757
|
-
command = make_simple_command(:get, path, options)
|
|
2697
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/creativeFields/{id}', options)
|
|
2758
2698
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeField::Representation
|
|
2759
2699
|
command.response_class = Google::Apis::DfareportingV2_1::CreativeField
|
|
2760
2700
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2791,8 +2731,7 @@ module Google
|
|
|
2791
2731
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2792
2732
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2793
2733
|
def insert_creative_field(profile_id, creative_field_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2794
|
-
|
|
2795
|
-
command = make_simple_command(:post, path, options)
|
|
2734
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/creativeFields', options)
|
|
2796
2735
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeField::Representation
|
|
2797
2736
|
command.request_object = creative_field_object
|
|
2798
2737
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeField::Representation
|
|
@@ -2849,8 +2788,7 @@ module Google
|
|
|
2849
2788
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2850
2789
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2851
2790
|
def list_creative_fields(profile_id, advertiser_ids: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2852
|
-
|
|
2853
|
-
command = make_simple_command(:get, path, options)
|
|
2791
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/creativeFields', options)
|
|
2854
2792
|
command.response_representation = Google::Apis::DfareportingV2_1::ListCreativeFieldsResponse::Representation
|
|
2855
2793
|
command.response_class = Google::Apis::DfareportingV2_1::ListCreativeFieldsResponse
|
|
2856
2794
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -2895,8 +2833,7 @@ module Google
|
|
|
2895
2833
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2896
2834
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2897
2835
|
def patch_creative_field(profile_id, id, creative_field_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2898
|
-
|
|
2899
|
-
command = make_simple_command(:patch, path, options)
|
|
2836
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/creativeFields', options)
|
|
2900
2837
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeField::Representation
|
|
2901
2838
|
command.request_object = creative_field_object
|
|
2902
2839
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeField::Representation
|
|
@@ -2935,8 +2872,7 @@ module Google
|
|
|
2935
2872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2936
2873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2937
2874
|
def update_creative_field(profile_id, creative_field_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2938
|
-
|
|
2939
|
-
command = make_simple_command(:put, path, options)
|
|
2875
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/creativeFields', options)
|
|
2940
2876
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeField::Representation
|
|
2941
2877
|
command.request_object = creative_field_object
|
|
2942
2878
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeField::Representation
|
|
@@ -2975,8 +2911,7 @@ module Google
|
|
|
2975
2911
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2976
2912
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2977
2913
|
def get_creative_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2978
|
-
|
|
2979
|
-
command = make_simple_command(:get, path, options)
|
|
2914
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/creativeGroups/{id}', options)
|
|
2980
2915
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeGroup::Representation
|
|
2981
2916
|
command.response_class = Google::Apis::DfareportingV2_1::CreativeGroup
|
|
2982
2917
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3013,8 +2948,7 @@ module Google
|
|
|
3013
2948
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3014
2949
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3015
2950
|
def insert_creative_group(profile_id, creative_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3016
|
-
|
|
3017
|
-
command = make_simple_command(:post, path, options)
|
|
2951
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/creativeGroups', options)
|
|
3018
2952
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeGroup::Representation
|
|
3019
2953
|
command.request_object = creative_group_object
|
|
3020
2954
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeGroup::Representation
|
|
@@ -3073,8 +3007,7 @@ module Google
|
|
|
3073
3007
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3074
3008
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3075
3009
|
def list_creative_groups(profile_id, advertiser_ids: nil, group_number: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3076
|
-
|
|
3077
|
-
command = make_simple_command(:get, path, options)
|
|
3010
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/creativeGroups', options)
|
|
3078
3011
|
command.response_representation = Google::Apis::DfareportingV2_1::ListCreativeGroupsResponse::Representation
|
|
3079
3012
|
command.response_class = Google::Apis::DfareportingV2_1::ListCreativeGroupsResponse
|
|
3080
3013
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3120,8 +3053,7 @@ module Google
|
|
|
3120
3053
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3121
3054
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3122
3055
|
def patch_creative_group(profile_id, id, creative_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3123
|
-
|
|
3124
|
-
command = make_simple_command(:patch, path, options)
|
|
3056
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/creativeGroups', options)
|
|
3125
3057
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeGroup::Representation
|
|
3126
3058
|
command.request_object = creative_group_object
|
|
3127
3059
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeGroup::Representation
|
|
@@ -3160,8 +3092,7 @@ module Google
|
|
|
3160
3092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3161
3093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3162
3094
|
def update_creative_group(profile_id, creative_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3163
|
-
|
|
3164
|
-
command = make_simple_command(:put, path, options)
|
|
3095
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/creativeGroups', options)
|
|
3165
3096
|
command.request_representation = Google::Apis::DfareportingV2_1::CreativeGroup::Representation
|
|
3166
3097
|
command.request_object = creative_group_object
|
|
3167
3098
|
command.response_representation = Google::Apis::DfareportingV2_1::CreativeGroup::Representation
|
|
@@ -3200,8 +3131,7 @@ module Google
|
|
|
3200
3131
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3201
3132
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3202
3133
|
def get_creative(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3203
|
-
|
|
3204
|
-
command = make_simple_command(:get, path, options)
|
|
3134
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/creatives/{id}', options)
|
|
3205
3135
|
command.response_representation = Google::Apis::DfareportingV2_1::Creative::Representation
|
|
3206
3136
|
command.response_class = Google::Apis::DfareportingV2_1::Creative
|
|
3207
3137
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3238,8 +3168,7 @@ module Google
|
|
|
3238
3168
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3239
3169
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3240
3170
|
def insert_creative(profile_id, creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3241
|
-
|
|
3242
|
-
command = make_simple_command(:post, path, options)
|
|
3171
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/creatives', options)
|
|
3243
3172
|
command.request_representation = Google::Apis::DfareportingV2_1::Creative::Representation
|
|
3244
3173
|
command.request_object = creative_object
|
|
3245
3174
|
command.response_representation = Google::Apis::DfareportingV2_1::Creative::Representation
|
|
@@ -3315,8 +3244,7 @@ module Google
|
|
|
3315
3244
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3316
3245
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3317
3246
|
def list_creatives(profile_id, active: nil, advertiser_id: nil, archived: nil, campaign_id: nil, companion_creative_ids: nil, creative_field_ids: nil, ids: nil, max_results: nil, page_token: nil, rendering_ids: nil, search_string: nil, size_ids: nil, sort_field: nil, sort_order: nil, studio_creative_id: nil, types: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3318
|
-
|
|
3319
|
-
command = make_simple_command(:get, path, options)
|
|
3247
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/creatives', options)
|
|
3320
3248
|
command.response_representation = Google::Apis::DfareportingV2_1::ListCreativesResponse::Representation
|
|
3321
3249
|
command.response_class = Google::Apis::DfareportingV2_1::ListCreativesResponse
|
|
3322
3250
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3370,8 +3298,7 @@ module Google
|
|
|
3370
3298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3371
3299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3372
3300
|
def patch_creative(profile_id, id, creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3373
|
-
|
|
3374
|
-
command = make_simple_command(:patch, path, options)
|
|
3301
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/creatives', options)
|
|
3375
3302
|
command.request_representation = Google::Apis::DfareportingV2_1::Creative::Representation
|
|
3376
3303
|
command.request_object = creative_object
|
|
3377
3304
|
command.response_representation = Google::Apis::DfareportingV2_1::Creative::Representation
|
|
@@ -3410,8 +3337,7 @@ module Google
|
|
|
3410
3337
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3411
3338
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3412
3339
|
def update_creative(profile_id, creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3413
|
-
|
|
3414
|
-
command = make_simple_command(:put, path, options)
|
|
3340
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/creatives', options)
|
|
3415
3341
|
command.request_representation = Google::Apis::DfareportingV2_1::Creative::Representation
|
|
3416
3342
|
command.request_object = creative_object
|
|
3417
3343
|
command.response_representation = Google::Apis::DfareportingV2_1::Creative::Representation
|
|
@@ -3453,8 +3379,7 @@ module Google
|
|
|
3453
3379
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3454
3380
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3455
3381
|
def query_dimension_value(profile_id, dimension_value_request_object = nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3456
|
-
|
|
3457
|
-
command = make_simple_command(:post, path, options)
|
|
3382
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/dimensionvalues/query', options)
|
|
3458
3383
|
command.request_representation = Google::Apis::DfareportingV2_1::DimensionValueRequest::Representation
|
|
3459
3384
|
command.request_object = dimension_value_request_object
|
|
3460
3385
|
command.response_representation = Google::Apis::DfareportingV2_1::DimensionValueList::Representation
|
|
@@ -3495,8 +3420,7 @@ module Google
|
|
|
3495
3420
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3496
3421
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3497
3422
|
def get_directory_site_contact(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3498
|
-
|
|
3499
|
-
command = make_simple_command(:get, path, options)
|
|
3423
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/directorySiteContacts/{id}', options)
|
|
3500
3424
|
command.response_representation = Google::Apis::DfareportingV2_1::DirectorySiteContact::Representation
|
|
3501
3425
|
command.response_class = Google::Apis::DfareportingV2_1::DirectorySiteContact
|
|
3502
3426
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3554,8 +3478,7 @@ module Google
|
|
|
3554
3478
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3555
3479
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3556
3480
|
def list_directory_site_contacts(profile_id, directory_site_ids: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3557
|
-
|
|
3558
|
-
command = make_simple_command(:get, path, options)
|
|
3481
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/directorySiteContacts', options)
|
|
3559
3482
|
command.response_representation = Google::Apis::DfareportingV2_1::ListDirectorySiteContactsResponse::Representation
|
|
3560
3483
|
command.response_class = Google::Apis::DfareportingV2_1::ListDirectorySiteContactsResponse
|
|
3561
3484
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3599,8 +3522,7 @@ module Google
|
|
|
3599
3522
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3600
3523
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3601
3524
|
def get_directory_site(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3602
|
-
|
|
3603
|
-
command = make_simple_command(:get, path, options)
|
|
3525
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/directorySites/{id}', options)
|
|
3604
3526
|
command.response_representation = Google::Apis::DfareportingV2_1::DirectorySite::Representation
|
|
3605
3527
|
command.response_class = Google::Apis::DfareportingV2_1::DirectorySite
|
|
3606
3528
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3637,8 +3559,7 @@ module Google
|
|
|
3637
3559
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3638
3560
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3639
3561
|
def insert_directory_site(profile_id, directory_site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3640
|
-
|
|
3641
|
-
command = make_simple_command(:post, path, options)
|
|
3562
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/directorySites', options)
|
|
3642
3563
|
command.request_representation = Google::Apis::DfareportingV2_1::DirectorySite::Representation
|
|
3643
3564
|
command.request_object = directory_site_object
|
|
3644
3565
|
command.response_representation = Google::Apis::DfareportingV2_1::DirectorySite::Representation
|
|
@@ -3711,8 +3632,7 @@ module Google
|
|
|
3711
3632
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3712
3633
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3713
3634
|
def list_directory_sites(profile_id, accepts_in_stream_video_placements: nil, accepts_interstitial_placements: nil, accepts_publisher_paid_placements: nil, active: nil, country_id: nil, dfp_network_code: nil, ids: nil, max_results: nil, page_token: nil, parent_id: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3714
|
-
|
|
3715
|
-
command = make_simple_command(:get, path, options)
|
|
3635
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/directorySites', options)
|
|
3716
3636
|
command.response_representation = Google::Apis::DfareportingV2_1::ListDirectorySitesResponse::Representation
|
|
3717
3637
|
command.response_class = Google::Apis::DfareportingV2_1::ListDirectorySitesResponse
|
|
3718
3638
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3762,8 +3682,7 @@ module Google
|
|
|
3762
3682
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3763
3683
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3764
3684
|
def delete_event_tag(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3765
|
-
|
|
3766
|
-
command = make_simple_command(:delete, path, options)
|
|
3685
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/eventTags/{id}', options)
|
|
3767
3686
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
3768
3687
|
command.params['id'] = id unless id.nil?
|
|
3769
3688
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -3799,8 +3718,7 @@ module Google
|
|
|
3799
3718
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3800
3719
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3801
3720
|
def get_event_tag(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3802
|
-
|
|
3803
|
-
command = make_simple_command(:get, path, options)
|
|
3721
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/eventTags/{id}', options)
|
|
3804
3722
|
command.response_representation = Google::Apis::DfareportingV2_1::EventTag::Representation
|
|
3805
3723
|
command.response_class = Google::Apis::DfareportingV2_1::EventTag
|
|
3806
3724
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3837,8 +3755,7 @@ module Google
|
|
|
3837
3755
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3838
3756
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3839
3757
|
def insert_event_tag(profile_id, event_tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3840
|
-
|
|
3841
|
-
command = make_simple_command(:post, path, options)
|
|
3758
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/eventTags', options)
|
|
3842
3759
|
command.request_representation = Google::Apis::DfareportingV2_1::EventTag::Representation
|
|
3843
3760
|
command.request_object = event_tag_object
|
|
3844
3761
|
command.response_representation = Google::Apis::DfareportingV2_1::EventTag::Representation
|
|
@@ -3913,8 +3830,7 @@ module Google
|
|
|
3913
3830
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3914
3831
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3915
3832
|
def list_event_tags(profile_id, ad_id: nil, advertiser_id: nil, campaign_id: nil, definitions_only: nil, enabled: nil, event_tag_types: nil, ids: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3916
|
-
|
|
3917
|
-
command = make_simple_command(:get, path, options)
|
|
3833
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/eventTags', options)
|
|
3918
3834
|
command.response_representation = Google::Apis::DfareportingV2_1::ListEventTagsResponse::Representation
|
|
3919
3835
|
command.response_class = Google::Apis::DfareportingV2_1::ListEventTagsResponse
|
|
3920
3836
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -3962,8 +3878,7 @@ module Google
|
|
|
3962
3878
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3963
3879
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3964
3880
|
def patch_event_tag(profile_id, id, event_tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3965
|
-
|
|
3966
|
-
command = make_simple_command(:patch, path, options)
|
|
3881
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/eventTags', options)
|
|
3967
3882
|
command.request_representation = Google::Apis::DfareportingV2_1::EventTag::Representation
|
|
3968
3883
|
command.request_object = event_tag_object
|
|
3969
3884
|
command.response_representation = Google::Apis::DfareportingV2_1::EventTag::Representation
|
|
@@ -4002,8 +3917,7 @@ module Google
|
|
|
4002
3917
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4003
3918
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4004
3919
|
def update_event_tag(profile_id, event_tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4005
|
-
|
|
4006
|
-
command = make_simple_command(:put, path, options)
|
|
3920
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/eventTags', options)
|
|
4007
3921
|
command.request_representation = Google::Apis::DfareportingV2_1::EventTag::Representation
|
|
4008
3922
|
command.request_object = event_tag_object
|
|
4009
3923
|
command.response_representation = Google::Apis::DfareportingV2_1::EventTag::Representation
|
|
@@ -4044,11 +3958,10 @@ module Google
|
|
|
4044
3958
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4045
3959
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4046
3960
|
def get_file(report_id, file_id, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
|
4047
|
-
path = 'reports/{reportId}/files/{fileId}'
|
|
4048
3961
|
if download_dest.nil?
|
|
4049
|
-
command = make_simple_command(:get,
|
|
3962
|
+
command = make_simple_command(:get, 'reports/{reportId}/files/{fileId}', options)
|
|
4050
3963
|
else
|
|
4051
|
-
command = make_download_command(:get,
|
|
3964
|
+
command = make_download_command(:get, 'reports/{reportId}/files/{fileId}', options)
|
|
4052
3965
|
command.download_dest = download_dest
|
|
4053
3966
|
end
|
|
4054
3967
|
command.response_representation = Google::Apis::DfareportingV2_1::File::Representation
|
|
@@ -4096,8 +4009,7 @@ module Google
|
|
|
4096
4009
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4097
4010
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4098
4011
|
def list_files(profile_id, max_results: nil, page_token: nil, scope: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4099
|
-
|
|
4100
|
-
command = make_simple_command(:get, path, options)
|
|
4012
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/files', options)
|
|
4101
4013
|
command.response_representation = Google::Apis::DfareportingV2_1::FileList::Representation
|
|
4102
4014
|
command.response_class = Google::Apis::DfareportingV2_1::FileList
|
|
4103
4015
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4139,8 +4051,7 @@ module Google
|
|
|
4139
4051
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4140
4052
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4141
4053
|
def delete_floodlight_activity(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4142
|
-
|
|
4143
|
-
command = make_simple_command(:delete, path, options)
|
|
4054
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/floodlightActivities/{id}', options)
|
|
4144
4055
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
4145
4056
|
command.params['id'] = id unless id.nil?
|
|
4146
4057
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -4176,8 +4087,7 @@ module Google
|
|
|
4176
4087
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4177
4088
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4178
4089
|
def generate_floodlight_activity_tag(profile_id, floodlight_activity_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4179
|
-
|
|
4180
|
-
command = make_simple_command(:post, path, options)
|
|
4090
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/floodlightActivities/generatetag', options)
|
|
4181
4091
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivitiesGenerateTagResponse::Representation
|
|
4182
4092
|
command.response_class = Google::Apis::DfareportingV2_1::FloodlightActivitiesGenerateTagResponse
|
|
4183
4093
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4215,8 +4125,7 @@ module Google
|
|
|
4215
4125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4216
4126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4217
4127
|
def get_floodlight_activity(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4218
|
-
|
|
4219
|
-
command = make_simple_command(:get, path, options)
|
|
4128
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightActivities/{id}', options)
|
|
4220
4129
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivity::Representation
|
|
4221
4130
|
command.response_class = Google::Apis::DfareportingV2_1::FloodlightActivity
|
|
4222
4131
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4253,8 +4162,7 @@ module Google
|
|
|
4253
4162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4254
4163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4255
4164
|
def insert_floodlight_activity(profile_id, floodlight_activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4256
|
-
|
|
4257
|
-
command = make_simple_command(:post, path, options)
|
|
4165
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/floodlightActivities', options)
|
|
4258
4166
|
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightActivity::Representation
|
|
4259
4167
|
command.request_object = floodlight_activity_object
|
|
4260
4168
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivity::Representation
|
|
@@ -4332,8 +4240,7 @@ module Google
|
|
|
4332
4240
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4333
4241
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4334
4242
|
def list_floodlight_activities(profile_id, advertiser_id: nil, floodlight_activity_group_ids: nil, floodlight_activity_group_name: nil, floodlight_activity_group_tag_string: nil, floodlight_activity_group_type: nil, floodlight_configuration_id: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, tag_string: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4335
|
-
|
|
4336
|
-
command = make_simple_command(:get, path, options)
|
|
4243
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightActivities', options)
|
|
4337
4244
|
command.response_representation = Google::Apis::DfareportingV2_1::ListFloodlightActivitiesResponse::Representation
|
|
4338
4245
|
command.response_class = Google::Apis::DfareportingV2_1::ListFloodlightActivitiesResponse
|
|
4339
4246
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4384,8 +4291,7 @@ module Google
|
|
|
4384
4291
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4385
4292
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4386
4293
|
def patch_floodlight_activity(profile_id, id, floodlight_activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4387
|
-
|
|
4388
|
-
command = make_simple_command(:patch, path, options)
|
|
4294
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/floodlightActivities', options)
|
|
4389
4295
|
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightActivity::Representation
|
|
4390
4296
|
command.request_object = floodlight_activity_object
|
|
4391
4297
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivity::Representation
|
|
@@ -4424,8 +4330,7 @@ module Google
|
|
|
4424
4330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4425
4331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4426
4332
|
def update_floodlight_activity(profile_id, floodlight_activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4427
|
-
|
|
4428
|
-
command = make_simple_command(:put, path, options)
|
|
4333
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/floodlightActivities', options)
|
|
4429
4334
|
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightActivity::Representation
|
|
4430
4335
|
command.request_object = floodlight_activity_object
|
|
4431
4336
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivity::Representation
|
|
@@ -4464,8 +4369,7 @@ module Google
|
|
|
4464
4369
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4465
4370
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4466
4371
|
def delete_floodlight_activity_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4467
|
-
|
|
4468
|
-
command = make_simple_command(:delete, path, options)
|
|
4372
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/floodlightActivityGroups/{id}', options)
|
|
4469
4373
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
4470
4374
|
command.params['id'] = id unless id.nil?
|
|
4471
4375
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -4501,8 +4405,7 @@ module Google
|
|
|
4501
4405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4502
4406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4503
4407
|
def get_floodlight_activity_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4504
|
-
|
|
4505
|
-
command = make_simple_command(:get, path, options)
|
|
4408
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightActivityGroups/{id}', options)
|
|
4506
4409
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivityGroup::Representation
|
|
4507
4410
|
command.response_class = Google::Apis::DfareportingV2_1::FloodlightActivityGroup
|
|
4508
4411
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4539,8 +4442,7 @@ module Google
|
|
|
4539
4442
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4540
4443
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4541
4444
|
def insert_floodlight_activity_group(profile_id, floodlight_activity_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4542
|
-
|
|
4543
|
-
command = make_simple_command(:post, path, options)
|
|
4445
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/floodlightActivityGroups', options)
|
|
4544
4446
|
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightActivityGroup::Representation
|
|
4545
4447
|
command.request_object = floodlight_activity_group_object
|
|
4546
4448
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivityGroup::Representation
|
|
@@ -4608,8 +4510,7 @@ module Google
|
|
|
4608
4510
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4609
4511
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4610
4512
|
def list_floodlight_activity_groups(profile_id, advertiser_id: nil, floodlight_configuration_id: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4611
|
-
|
|
4612
|
-
command = make_simple_command(:get, path, options)
|
|
4513
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightActivityGroups', options)
|
|
4613
4514
|
command.response_representation = Google::Apis::DfareportingV2_1::ListFloodlightActivityGroupsResponse::Representation
|
|
4614
4515
|
command.response_class = Google::Apis::DfareportingV2_1::ListFloodlightActivityGroupsResponse
|
|
4615
4516
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4657,8 +4558,7 @@ module Google
|
|
|
4657
4558
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4658
4559
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4659
4560
|
def patch_floodlight_activity_group(profile_id, id, floodlight_activity_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4660
|
-
|
|
4661
|
-
command = make_simple_command(:patch, path, options)
|
|
4561
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/floodlightActivityGroups', options)
|
|
4662
4562
|
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightActivityGroup::Representation
|
|
4663
4563
|
command.request_object = floodlight_activity_group_object
|
|
4664
4564
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivityGroup::Representation
|
|
@@ -4697,8 +4597,7 @@ module Google
|
|
|
4697
4597
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4698
4598
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4699
4599
|
def update_floodlight_activity_group(profile_id, floodlight_activity_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4700
|
-
|
|
4701
|
-
command = make_simple_command(:put, path, options)
|
|
4600
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/floodlightActivityGroups', options)
|
|
4702
4601
|
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightActivityGroup::Representation
|
|
4703
4602
|
command.request_object = floodlight_activity_group_object
|
|
4704
4603
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightActivityGroup::Representation
|
|
@@ -4737,8 +4636,7 @@ module Google
|
|
|
4737
4636
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4738
4637
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4739
4638
|
def get_floodlight_configuration(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4740
|
-
|
|
4741
|
-
command = make_simple_command(:get, path, options)
|
|
4639
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightConfigurations/{id}', options)
|
|
4742
4640
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightConfiguration::Representation
|
|
4743
4641
|
command.response_class = Google::Apis::DfareportingV2_1::FloodlightConfiguration
|
|
4744
4642
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4777,8 +4675,7 @@ module Google
|
|
|
4777
4675
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4778
4676
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4779
4677
|
def list_floodlight_configurations(profile_id, ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4780
|
-
|
|
4781
|
-
command = make_simple_command(:get, path, options)
|
|
4678
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightConfigurations', options)
|
|
4782
4679
|
command.response_representation = Google::Apis::DfareportingV2_1::ListFloodlightConfigurationsResponse::Representation
|
|
4783
4680
|
command.response_class = Google::Apis::DfareportingV2_1::ListFloodlightConfigurationsResponse
|
|
4784
4681
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4818,8 +4715,7 @@ module Google
|
|
|
4818
4715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4819
4716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4820
4717
|
def patch_floodlight_configuration(profile_id, id, floodlight_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4821
|
-
|
|
4822
|
-
command = make_simple_command(:patch, path, options)
|
|
4718
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/floodlightConfigurations', options)
|
|
4823
4719
|
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightConfiguration::Representation
|
|
4824
4720
|
command.request_object = floodlight_configuration_object
|
|
4825
4721
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightConfiguration::Representation
|
|
@@ -4858,8 +4754,7 @@ module Google
|
|
|
4858
4754
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4859
4755
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4860
4756
|
def update_floodlight_configuration(profile_id, floodlight_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4861
|
-
|
|
4862
|
-
command = make_simple_command(:put, path, options)
|
|
4757
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/floodlightConfigurations', options)
|
|
4863
4758
|
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightConfiguration::Representation
|
|
4864
4759
|
command.request_object = floodlight_configuration_object
|
|
4865
4760
|
command.response_representation = Google::Apis::DfareportingV2_1::FloodlightConfiguration::Representation
|
|
@@ -4900,8 +4795,7 @@ module Google
|
|
|
4900
4795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4901
4796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4902
4797
|
def get_inventory_item(profile_id, project_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4903
|
-
|
|
4904
|
-
command = make_simple_command(:get, path, options)
|
|
4798
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}', options)
|
|
4905
4799
|
command.response_representation = Google::Apis::DfareportingV2_1::InventoryItem::Representation
|
|
4906
4800
|
command.response_class = Google::Apis::DfareportingV2_1::InventoryItem
|
|
4907
4801
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -4956,8 +4850,7 @@ module Google
|
|
|
4956
4850
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4957
4851
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4958
4852
|
def list_inventory_items(profile_id, project_id, ids: nil, in_plan: nil, max_results: nil, order_id: nil, page_token: nil, site_id: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4959
|
-
|
|
4960
|
-
command = make_simple_command(:get, path, options)
|
|
4853
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/inventoryItems', options)
|
|
4961
4854
|
command.response_representation = Google::Apis::DfareportingV2_1::ListInventoryItemsResponse::Representation
|
|
4962
4855
|
command.response_class = Google::Apis::DfareportingV2_1::ListInventoryItemsResponse
|
|
4963
4856
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5005,8 +4898,7 @@ module Google
|
|
|
5005
4898
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5006
4899
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5007
4900
|
def delete_landing_page(profile_id, campaign_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5008
|
-
|
|
5009
|
-
command = make_simple_command(:delete, path, options)
|
|
4901
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', options)
|
|
5010
4902
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
5011
4903
|
command.params['campaignId'] = campaign_id unless campaign_id.nil?
|
|
5012
4904
|
command.params['id'] = id unless id.nil?
|
|
@@ -5045,8 +4937,7 @@ module Google
|
|
|
5045
4937
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5046
4938
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5047
4939
|
def get_landing_page(profile_id, campaign_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5048
|
-
|
|
5049
|
-
command = make_simple_command(:get, path, options)
|
|
4940
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', options)
|
|
5050
4941
|
command.response_representation = Google::Apis::DfareportingV2_1::LandingPage::Representation
|
|
5051
4942
|
command.response_class = Google::Apis::DfareportingV2_1::LandingPage
|
|
5052
4943
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5086,8 +4977,7 @@ module Google
|
|
|
5086
4977
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5087
4978
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5088
4979
|
def insert_landing_page(profile_id, campaign_id, landing_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5089
|
-
|
|
5090
|
-
command = make_simple_command(:post, path, options)
|
|
4980
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', options)
|
|
5091
4981
|
command.request_representation = Google::Apis::DfareportingV2_1::LandingPage::Representation
|
|
5092
4982
|
command.request_object = landing_page_object
|
|
5093
4983
|
command.response_representation = Google::Apis::DfareportingV2_1::LandingPage::Representation
|
|
@@ -5127,8 +5017,7 @@ module Google
|
|
|
5127
5017
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5128
5018
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5129
5019
|
def list_landing_pages(profile_id, campaign_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5130
|
-
|
|
5131
|
-
command = make_simple_command(:get, path, options)
|
|
5020
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', options)
|
|
5132
5021
|
command.response_representation = Google::Apis::DfareportingV2_1::ListLandingPagesResponse::Representation
|
|
5133
5022
|
command.response_class = Google::Apis::DfareportingV2_1::ListLandingPagesResponse
|
|
5134
5023
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5170,8 +5059,7 @@ module Google
|
|
|
5170
5059
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5171
5060
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5172
5061
|
def patch_landing_page(profile_id, campaign_id, id, landing_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5173
|
-
|
|
5174
|
-
command = make_simple_command(:patch, path, options)
|
|
5062
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', options)
|
|
5175
5063
|
command.request_representation = Google::Apis::DfareportingV2_1::LandingPage::Representation
|
|
5176
5064
|
command.request_object = landing_page_object
|
|
5177
5065
|
command.response_representation = Google::Apis::DfareportingV2_1::LandingPage::Representation
|
|
@@ -5213,8 +5101,7 @@ module Google
|
|
|
5213
5101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5214
5102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5215
5103
|
def update_landing_page(profile_id, campaign_id, landing_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5216
|
-
|
|
5217
|
-
command = make_simple_command(:put, path, options)
|
|
5104
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', options)
|
|
5218
5105
|
command.request_representation = Google::Apis::DfareportingV2_1::LandingPage::Representation
|
|
5219
5106
|
command.request_object = landing_page_object
|
|
5220
5107
|
command.response_representation = Google::Apis::DfareportingV2_1::LandingPage::Representation
|
|
@@ -5252,8 +5139,7 @@ module Google
|
|
|
5252
5139
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5253
5140
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5254
5141
|
def list_metros(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5255
|
-
|
|
5256
|
-
command = make_simple_command(:get, path, options)
|
|
5142
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/metros', options)
|
|
5257
5143
|
command.response_representation = Google::Apis::DfareportingV2_1::ListMetrosResponse::Representation
|
|
5258
5144
|
command.response_class = Google::Apis::DfareportingV2_1::ListMetrosResponse
|
|
5259
5145
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5290,8 +5176,7 @@ module Google
|
|
|
5290
5176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5291
5177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5292
5178
|
def get_mobile_carrier(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5293
|
-
|
|
5294
|
-
command = make_simple_command(:get, path, options)
|
|
5179
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/mobileCarriers/{id}', options)
|
|
5295
5180
|
command.response_representation = Google::Apis::DfareportingV2_1::MobileCarrier::Representation
|
|
5296
5181
|
command.response_class = Google::Apis::DfareportingV2_1::MobileCarrier
|
|
5297
5182
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5327,8 +5212,7 @@ module Google
|
|
|
5327
5212
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5328
5213
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5329
5214
|
def list_mobile_carriers(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5330
|
-
|
|
5331
|
-
command = make_simple_command(:get, path, options)
|
|
5215
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/mobileCarriers', options)
|
|
5332
5216
|
command.response_representation = Google::Apis::DfareportingV2_1::ListMobileCarriersResponse::Representation
|
|
5333
5217
|
command.response_class = Google::Apis::DfareportingV2_1::ListMobileCarriersResponse
|
|
5334
5218
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5365,8 +5249,7 @@ module Google
|
|
|
5365
5249
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5366
5250
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5367
5251
|
def get_operating_system_version(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5368
|
-
|
|
5369
|
-
command = make_simple_command(:get, path, options)
|
|
5252
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/operatingSystemVersions/{id}', options)
|
|
5370
5253
|
command.response_representation = Google::Apis::DfareportingV2_1::OperatingSystemVersion::Representation
|
|
5371
5254
|
command.response_class = Google::Apis::DfareportingV2_1::OperatingSystemVersion
|
|
5372
5255
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5402,8 +5285,7 @@ module Google
|
|
|
5402
5285
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5403
5286
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5404
5287
|
def list_operating_system_versions(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5405
|
-
|
|
5406
|
-
command = make_simple_command(:get, path, options)
|
|
5288
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/operatingSystemVersions', options)
|
|
5407
5289
|
command.response_representation = Google::Apis::DfareportingV2_1::ListOperatingSystemVersionsResponse::Representation
|
|
5408
5290
|
command.response_class = Google::Apis::DfareportingV2_1::ListOperatingSystemVersionsResponse
|
|
5409
5291
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5440,8 +5322,7 @@ module Google
|
|
|
5440
5322
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5441
5323
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5442
5324
|
def get_operating_system(profile_id, dart_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5443
|
-
|
|
5444
|
-
command = make_simple_command(:get, path, options)
|
|
5325
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/operatingSystems/{dartId}', options)
|
|
5445
5326
|
command.response_representation = Google::Apis::DfareportingV2_1::OperatingSystem::Representation
|
|
5446
5327
|
command.response_class = Google::Apis::DfareportingV2_1::OperatingSystem
|
|
5447
5328
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5477,8 +5358,7 @@ module Google
|
|
|
5477
5358
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5478
5359
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5479
5360
|
def list_operating_systems(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5480
|
-
|
|
5481
|
-
command = make_simple_command(:get, path, options)
|
|
5361
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/operatingSystems', options)
|
|
5482
5362
|
command.response_representation = Google::Apis::DfareportingV2_1::ListOperatingSystemsResponse::Representation
|
|
5483
5363
|
command.response_class = Google::Apis::DfareportingV2_1::ListOperatingSystemsResponse
|
|
5484
5364
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5517,8 +5397,7 @@ module Google
|
|
|
5517
5397
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5518
5398
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5519
5399
|
def get_order_document(profile_id, project_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5520
|
-
|
|
5521
|
-
command = make_simple_command(:get, path, options)
|
|
5400
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}', options)
|
|
5522
5401
|
command.response_representation = Google::Apis::DfareportingV2_1::OrderDocument::Representation
|
|
5523
5402
|
command.response_class = Google::Apis::DfareportingV2_1::OrderDocument
|
|
5524
5403
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5581,8 +5460,7 @@ module Google
|
|
|
5581
5460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5582
5461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5583
5462
|
def list_order_documents(profile_id, project_id, approved: nil, ids: nil, max_results: nil, order_id: nil, page_token: nil, search_string: nil, site_id: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5584
|
-
|
|
5585
|
-
command = make_simple_command(:get, path, options)
|
|
5463
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/orderDocuments', options)
|
|
5586
5464
|
command.response_representation = Google::Apis::DfareportingV2_1::ListOrderDocumentsResponse::Representation
|
|
5587
5465
|
command.response_class = Google::Apis::DfareportingV2_1::ListOrderDocumentsResponse
|
|
5588
5466
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5631,8 +5509,7 @@ module Google
|
|
|
5631
5509
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5632
5510
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5633
5511
|
def get_order(profile_id, project_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5634
|
-
|
|
5635
|
-
command = make_simple_command(:get, path, options)
|
|
5512
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/orders/{id}', options)
|
|
5636
5513
|
command.response_representation = Google::Apis::DfareportingV2_1::Order::Representation
|
|
5637
5514
|
command.response_class = Google::Apis::DfareportingV2_1::Order
|
|
5638
5515
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5690,8 +5567,7 @@ module Google
|
|
|
5690
5567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5691
5568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5692
5569
|
def list_orders(profile_id, project_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, site_id: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5693
|
-
|
|
5694
|
-
command = make_simple_command(:get, path, options)
|
|
5570
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/orders', options)
|
|
5695
5571
|
command.response_representation = Google::Apis::DfareportingV2_1::ListOrdersResponse::Representation
|
|
5696
5572
|
command.response_class = Google::Apis::DfareportingV2_1::ListOrdersResponse
|
|
5697
5573
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5736,8 +5612,7 @@ module Google
|
|
|
5736
5612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5737
5613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5738
5614
|
def get_placement_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5739
|
-
|
|
5740
|
-
command = make_simple_command(:get, path, options)
|
|
5615
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/placementGroups/{id}', options)
|
|
5741
5616
|
command.response_representation = Google::Apis::DfareportingV2_1::PlacementGroup::Representation
|
|
5742
5617
|
command.response_class = Google::Apis::DfareportingV2_1::PlacementGroup
|
|
5743
5618
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5774,8 +5649,7 @@ module Google
|
|
|
5774
5649
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5775
5650
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5776
5651
|
def insert_placement_group(profile_id, placement_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5777
|
-
|
|
5778
|
-
command = make_simple_command(:post, path, options)
|
|
5652
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/placementGroups', options)
|
|
5779
5653
|
command.request_representation = Google::Apis::DfareportingV2_1::PlacementGroup::Representation
|
|
5780
5654
|
command.request_object = placement_group_object
|
|
5781
5655
|
command.response_representation = Google::Apis::DfareportingV2_1::PlacementGroup::Representation
|
|
@@ -5855,8 +5729,7 @@ module Google
|
|
|
5855
5729
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5856
5730
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5857
5731
|
def list_placement_groups(profile_id, advertiser_ids: nil, archived: nil, campaign_ids: nil, content_category_ids: nil, directory_site_ids: nil, ids: nil, max_results: nil, page_token: nil, placement_group_type: nil, placement_strategy_ids: nil, pricing_types: nil, search_string: nil, site_ids: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5858
|
-
|
|
5859
|
-
command = make_simple_command(:get, path, options)
|
|
5732
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/placementGroups', options)
|
|
5860
5733
|
command.response_representation = Google::Apis::DfareportingV2_1::ListPlacementGroupsResponse::Representation
|
|
5861
5734
|
command.response_class = Google::Apis::DfareportingV2_1::ListPlacementGroupsResponse
|
|
5862
5735
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -5909,8 +5782,7 @@ module Google
|
|
|
5909
5782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5910
5783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5911
5784
|
def patch_placement_group(profile_id, id, placement_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5912
|
-
|
|
5913
|
-
command = make_simple_command(:patch, path, options)
|
|
5785
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/placementGroups', options)
|
|
5914
5786
|
command.request_representation = Google::Apis::DfareportingV2_1::PlacementGroup::Representation
|
|
5915
5787
|
command.request_object = placement_group_object
|
|
5916
5788
|
command.response_representation = Google::Apis::DfareportingV2_1::PlacementGroup::Representation
|
|
@@ -5949,8 +5821,7 @@ module Google
|
|
|
5949
5821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5950
5822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5951
5823
|
def update_placement_group(profile_id, placement_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5952
|
-
|
|
5953
|
-
command = make_simple_command(:put, path, options)
|
|
5824
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/placementGroups', options)
|
|
5954
5825
|
command.request_representation = Google::Apis::DfareportingV2_1::PlacementGroup::Representation
|
|
5955
5826
|
command.request_object = placement_group_object
|
|
5956
5827
|
command.response_representation = Google::Apis::DfareportingV2_1::PlacementGroup::Representation
|
|
@@ -5989,8 +5860,7 @@ module Google
|
|
|
5989
5860
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5990
5861
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5991
5862
|
def delete_placement_strategy(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
5992
|
-
|
|
5993
|
-
command = make_simple_command(:delete, path, options)
|
|
5863
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/placementStrategies/{id}', options)
|
|
5994
5864
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
5995
5865
|
command.params['id'] = id unless id.nil?
|
|
5996
5866
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -6026,8 +5896,7 @@ module Google
|
|
|
6026
5896
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6027
5897
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6028
5898
|
def get_placement_strategy(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6029
|
-
|
|
6030
|
-
command = make_simple_command(:get, path, options)
|
|
5899
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/placementStrategies/{id}', options)
|
|
6031
5900
|
command.response_representation = Google::Apis::DfareportingV2_1::PlacementStrategy::Representation
|
|
6032
5901
|
command.response_class = Google::Apis::DfareportingV2_1::PlacementStrategy
|
|
6033
5902
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6064,8 +5933,7 @@ module Google
|
|
|
6064
5933
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6065
5934
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6066
5935
|
def insert_placement_strategy(profile_id, placement_strategy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6067
|
-
|
|
6068
|
-
command = make_simple_command(:post, path, options)
|
|
5936
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/placementStrategies', options)
|
|
6069
5937
|
command.request_representation = Google::Apis::DfareportingV2_1::PlacementStrategy::Representation
|
|
6070
5938
|
command.request_object = placement_strategy_object
|
|
6071
5939
|
command.response_representation = Google::Apis::DfareportingV2_1::PlacementStrategy::Representation
|
|
@@ -6120,8 +5988,7 @@ module Google
|
|
|
6120
5988
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6121
5989
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6122
5990
|
def list_placement_strategies(profile_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6123
|
-
|
|
6124
|
-
command = make_simple_command(:get, path, options)
|
|
5991
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/placementStrategies', options)
|
|
6125
5992
|
command.response_representation = Google::Apis::DfareportingV2_1::ListPlacementStrategiesResponse::Representation
|
|
6126
5993
|
command.response_class = Google::Apis::DfareportingV2_1::ListPlacementStrategiesResponse
|
|
6127
5994
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6165,8 +6032,7 @@ module Google
|
|
|
6165
6032
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6166
6033
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6167
6034
|
def patch_placement_strategy(profile_id, id, placement_strategy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6168
|
-
|
|
6169
|
-
command = make_simple_command(:patch, path, options)
|
|
6035
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/placementStrategies', options)
|
|
6170
6036
|
command.request_representation = Google::Apis::DfareportingV2_1::PlacementStrategy::Representation
|
|
6171
6037
|
command.request_object = placement_strategy_object
|
|
6172
6038
|
command.response_representation = Google::Apis::DfareportingV2_1::PlacementStrategy::Representation
|
|
@@ -6205,8 +6071,7 @@ module Google
|
|
|
6205
6071
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6206
6072
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6207
6073
|
def update_placement_strategy(profile_id, placement_strategy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6208
|
-
|
|
6209
|
-
command = make_simple_command(:put, path, options)
|
|
6074
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/placementStrategies', options)
|
|
6210
6075
|
command.request_representation = Google::Apis::DfareportingV2_1::PlacementStrategy::Representation
|
|
6211
6076
|
command.request_object = placement_strategy_object
|
|
6212
6077
|
command.response_representation = Google::Apis::DfareportingV2_1::PlacementStrategy::Representation
|
|
@@ -6249,8 +6114,7 @@ module Google
|
|
|
6249
6114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6250
6115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6251
6116
|
def generate_placement_tags(profile_id, campaign_id: nil, placement_ids: nil, tag_formats: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6252
|
-
|
|
6253
|
-
command = make_simple_command(:post, path, options)
|
|
6117
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/placements/generatetags', options)
|
|
6254
6118
|
command.response_representation = Google::Apis::DfareportingV2_1::GeneratePlacementsTagsResponse::Representation
|
|
6255
6119
|
command.response_class = Google::Apis::DfareportingV2_1::GeneratePlacementsTagsResponse
|
|
6256
6120
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6290,8 +6154,7 @@ module Google
|
|
|
6290
6154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6291
6155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6292
6156
|
def get_placement(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6293
|
-
|
|
6294
|
-
command = make_simple_command(:get, path, options)
|
|
6157
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/placements/{id}', options)
|
|
6295
6158
|
command.response_representation = Google::Apis::DfareportingV2_1::Placement::Representation
|
|
6296
6159
|
command.response_class = Google::Apis::DfareportingV2_1::Placement
|
|
6297
6160
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6328,8 +6191,7 @@ module Google
|
|
|
6328
6191
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6329
6192
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6330
6193
|
def insert_placement(profile_id, placement_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6331
|
-
|
|
6332
|
-
command = make_simple_command(:post, path, options)
|
|
6194
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/placements', options)
|
|
6333
6195
|
command.request_representation = Google::Apis::DfareportingV2_1::Placement::Representation
|
|
6334
6196
|
command.request_object = placement_object
|
|
6335
6197
|
command.response_representation = Google::Apis::DfareportingV2_1::Placement::Representation
|
|
@@ -6412,8 +6274,7 @@ module Google
|
|
|
6412
6274
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6413
6275
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6414
6276
|
def list_placements(profile_id, advertiser_ids: nil, archived: nil, campaign_ids: nil, compatibilities: nil, content_category_ids: nil, directory_site_ids: nil, group_ids: nil, ids: nil, max_results: nil, page_token: nil, payment_source: nil, placement_strategy_ids: nil, pricing_types: nil, search_string: nil, site_ids: nil, size_ids: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6415
|
-
|
|
6416
|
-
command = make_simple_command(:get, path, options)
|
|
6277
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/placements', options)
|
|
6417
6278
|
command.response_representation = Google::Apis::DfareportingV2_1::ListPlacementsResponse::Representation
|
|
6418
6279
|
command.response_class = Google::Apis::DfareportingV2_1::ListPlacementsResponse
|
|
6419
6280
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6469,8 +6330,7 @@ module Google
|
|
|
6469
6330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6470
6331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6471
6332
|
def patch_placement(profile_id, id, placement_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6472
|
-
|
|
6473
|
-
command = make_simple_command(:patch, path, options)
|
|
6333
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/placements', options)
|
|
6474
6334
|
command.request_representation = Google::Apis::DfareportingV2_1::Placement::Representation
|
|
6475
6335
|
command.request_object = placement_object
|
|
6476
6336
|
command.response_representation = Google::Apis::DfareportingV2_1::Placement::Representation
|
|
@@ -6509,8 +6369,7 @@ module Google
|
|
|
6509
6369
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6510
6370
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6511
6371
|
def update_placement(profile_id, placement_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6512
|
-
|
|
6513
|
-
command = make_simple_command(:put, path, options)
|
|
6372
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/placements', options)
|
|
6514
6373
|
command.request_representation = Google::Apis::DfareportingV2_1::Placement::Representation
|
|
6515
6374
|
command.request_object = placement_object
|
|
6516
6375
|
command.response_representation = Google::Apis::DfareportingV2_1::Placement::Representation
|
|
@@ -6549,8 +6408,7 @@ module Google
|
|
|
6549
6408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6550
6409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6551
6410
|
def get_platform_type(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6552
|
-
|
|
6553
|
-
command = make_simple_command(:get, path, options)
|
|
6411
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/platformTypes/{id}', options)
|
|
6554
6412
|
command.response_representation = Google::Apis::DfareportingV2_1::PlatformType::Representation
|
|
6555
6413
|
command.response_class = Google::Apis::DfareportingV2_1::PlatformType
|
|
6556
6414
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6586,8 +6444,7 @@ module Google
|
|
|
6586
6444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6587
6445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6588
6446
|
def list_platform_types(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6589
|
-
|
|
6590
|
-
command = make_simple_command(:get, path, options)
|
|
6447
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/platformTypes', options)
|
|
6591
6448
|
command.response_representation = Google::Apis::DfareportingV2_1::ListPlatformTypesResponse::Representation
|
|
6592
6449
|
command.response_class = Google::Apis::DfareportingV2_1::ListPlatformTypesResponse
|
|
6593
6450
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6624,8 +6481,7 @@ module Google
|
|
|
6624
6481
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6625
6482
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6626
6483
|
def get_postal_code(profile_id, code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6627
|
-
|
|
6628
|
-
command = make_simple_command(:get, path, options)
|
|
6484
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/postalCodes/{code}', options)
|
|
6629
6485
|
command.response_representation = Google::Apis::DfareportingV2_1::PostalCode::Representation
|
|
6630
6486
|
command.response_class = Google::Apis::DfareportingV2_1::PostalCode
|
|
6631
6487
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6661,8 +6517,7 @@ module Google
|
|
|
6661
6517
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6662
6518
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6663
6519
|
def list_postal_codes(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6664
|
-
|
|
6665
|
-
command = make_simple_command(:get, path, options)
|
|
6520
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/postalCodes', options)
|
|
6666
6521
|
command.response_representation = Google::Apis::DfareportingV2_1::ListPostalCodesResponse::Representation
|
|
6667
6522
|
command.response_class = Google::Apis::DfareportingV2_1::ListPostalCodesResponse
|
|
6668
6523
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6699,8 +6554,7 @@ module Google
|
|
|
6699
6554
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6700
6555
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6701
6556
|
def get_project(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6702
|
-
|
|
6703
|
-
command = make_simple_command(:get, path, options)
|
|
6557
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{id}', options)
|
|
6704
6558
|
command.response_representation = Google::Apis::DfareportingV2_1::Project::Representation
|
|
6705
6559
|
command.response_class = Google::Apis::DfareportingV2_1::Project
|
|
6706
6560
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6755,8 +6609,7 @@ module Google
|
|
|
6755
6609
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6756
6610
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6757
6611
|
def list_projects(profile_id, advertiser_ids: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6758
|
-
|
|
6759
|
-
command = make_simple_command(:get, path, options)
|
|
6612
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/projects', options)
|
|
6760
6613
|
command.response_representation = Google::Apis::DfareportingV2_1::ListProjectsResponse::Representation
|
|
6761
6614
|
command.response_class = Google::Apis::DfareportingV2_1::ListProjectsResponse
|
|
6762
6615
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6798,8 +6651,7 @@ module Google
|
|
|
6798
6651
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6799
6652
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6800
6653
|
def list_regions(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6801
|
-
|
|
6802
|
-
command = make_simple_command(:get, path, options)
|
|
6654
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/regions', options)
|
|
6803
6655
|
command.response_representation = Google::Apis::DfareportingV2_1::ListRegionsResponse::Representation
|
|
6804
6656
|
command.response_class = Google::Apis::DfareportingV2_1::ListRegionsResponse
|
|
6805
6657
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6836,8 +6688,7 @@ module Google
|
|
|
6836
6688
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6837
6689
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6838
6690
|
def get_remarketing_list_share(profile_id, remarketing_list_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6839
|
-
|
|
6840
|
-
command = make_simple_command(:get, path, options)
|
|
6691
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/remarketingListShares/{remarketingListId}', options)
|
|
6841
6692
|
command.response_representation = Google::Apis::DfareportingV2_1::RemarketingListShare::Representation
|
|
6842
6693
|
command.response_class = Google::Apis::DfareportingV2_1::RemarketingListShare
|
|
6843
6694
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6877,8 +6728,7 @@ module Google
|
|
|
6877
6728
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6878
6729
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6879
6730
|
def patch_remarketing_list_share(profile_id, remarketing_list_id, remarketing_list_share_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6880
|
-
|
|
6881
|
-
command = make_simple_command(:patch, path, options)
|
|
6731
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/remarketingListShares', options)
|
|
6882
6732
|
command.request_representation = Google::Apis::DfareportingV2_1::RemarketingListShare::Representation
|
|
6883
6733
|
command.request_object = remarketing_list_share_object
|
|
6884
6734
|
command.response_representation = Google::Apis::DfareportingV2_1::RemarketingListShare::Representation
|
|
@@ -6917,8 +6767,7 @@ module Google
|
|
|
6917
6767
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6918
6768
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6919
6769
|
def update_remarketing_list_share(profile_id, remarketing_list_share_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6920
|
-
|
|
6921
|
-
command = make_simple_command(:put, path, options)
|
|
6770
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/remarketingListShares', options)
|
|
6922
6771
|
command.request_representation = Google::Apis::DfareportingV2_1::RemarketingListShare::Representation
|
|
6923
6772
|
command.request_object = remarketing_list_share_object
|
|
6924
6773
|
command.response_representation = Google::Apis::DfareportingV2_1::RemarketingListShare::Representation
|
|
@@ -6957,8 +6806,7 @@ module Google
|
|
|
6957
6806
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6958
6807
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6959
6808
|
def get_remarketing_list(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6960
|
-
|
|
6961
|
-
command = make_simple_command(:get, path, options)
|
|
6809
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/remarketingLists/{id}', options)
|
|
6962
6810
|
command.response_representation = Google::Apis::DfareportingV2_1::RemarketingList::Representation
|
|
6963
6811
|
command.response_class = Google::Apis::DfareportingV2_1::RemarketingList
|
|
6964
6812
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -6995,8 +6843,7 @@ module Google
|
|
|
6995
6843
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6996
6844
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6997
6845
|
def insert_remarketing_list(profile_id, remarketing_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6998
|
-
|
|
6999
|
-
command = make_simple_command(:post, path, options)
|
|
6846
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/remarketingLists', options)
|
|
7000
6847
|
command.request_representation = Google::Apis::DfareportingV2_1::RemarketingList::Representation
|
|
7001
6848
|
command.request_object = remarketing_list_object
|
|
7002
6849
|
command.response_representation = Google::Apis::DfareportingV2_1::RemarketingList::Representation
|
|
@@ -7055,8 +6902,7 @@ module Google
|
|
|
7055
6902
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7056
6903
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7057
6904
|
def list_remarketing_lists(profile_id, advertiser_id, active: nil, floodlight_activity_id: nil, max_results: nil, name: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7058
|
-
|
|
7059
|
-
command = make_simple_command(:get, path, options)
|
|
6905
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/remarketingLists', options)
|
|
7060
6906
|
command.response_representation = Google::Apis::DfareportingV2_1::ListRemarketingListsResponse::Representation
|
|
7061
6907
|
command.response_class = Google::Apis::DfareportingV2_1::ListRemarketingListsResponse
|
|
7062
6908
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7102,8 +6948,7 @@ module Google
|
|
|
7102
6948
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7103
6949
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7104
6950
|
def patch_remarketing_list(profile_id, id, remarketing_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7105
|
-
|
|
7106
|
-
command = make_simple_command(:patch, path, options)
|
|
6951
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/remarketingLists', options)
|
|
7107
6952
|
command.request_representation = Google::Apis::DfareportingV2_1::RemarketingList::Representation
|
|
7108
6953
|
command.request_object = remarketing_list_object
|
|
7109
6954
|
command.response_representation = Google::Apis::DfareportingV2_1::RemarketingList::Representation
|
|
@@ -7142,8 +6987,7 @@ module Google
|
|
|
7142
6987
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7143
6988
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7144
6989
|
def update_remarketing_list(profile_id, remarketing_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7145
|
-
|
|
7146
|
-
command = make_simple_command(:put, path, options)
|
|
6990
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/remarketingLists', options)
|
|
7147
6991
|
command.request_representation = Google::Apis::DfareportingV2_1::RemarketingList::Representation
|
|
7148
6992
|
command.request_object = remarketing_list_object
|
|
7149
6993
|
command.response_representation = Google::Apis::DfareportingV2_1::RemarketingList::Representation
|
|
@@ -7182,8 +7026,7 @@ module Google
|
|
|
7182
7026
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7183
7027
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7184
7028
|
def delete_report(profile_id, report_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7185
|
-
|
|
7186
|
-
command = make_simple_command(:delete, path, options)
|
|
7029
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/reports/{reportId}', options)
|
|
7187
7030
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
7188
7031
|
command.params['reportId'] = report_id unless report_id.nil?
|
|
7189
7032
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -7219,8 +7062,7 @@ module Google
|
|
|
7219
7062
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7220
7063
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7221
7064
|
def get_report(profile_id, report_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7222
|
-
|
|
7223
|
-
command = make_simple_command(:get, path, options)
|
|
7065
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/reports/{reportId}', options)
|
|
7224
7066
|
command.response_representation = Google::Apis::DfareportingV2_1::Report::Representation
|
|
7225
7067
|
command.response_class = Google::Apis::DfareportingV2_1::Report
|
|
7226
7068
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7257,8 +7099,7 @@ module Google
|
|
|
7257
7099
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7258
7100
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7259
7101
|
def insert_report(profile_id, report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7260
|
-
|
|
7261
|
-
command = make_simple_command(:post, path, options)
|
|
7102
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/reports', options)
|
|
7262
7103
|
command.request_representation = Google::Apis::DfareportingV2_1::Report::Representation
|
|
7263
7104
|
command.request_object = report_object
|
|
7264
7105
|
command.response_representation = Google::Apis::DfareportingV2_1::Report::Representation
|
|
@@ -7305,8 +7146,7 @@ module Google
|
|
|
7305
7146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7306
7147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7307
7148
|
def list_reports(profile_id, max_results: nil, page_token: nil, scope: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7308
|
-
|
|
7309
|
-
command = make_simple_command(:get, path, options)
|
|
7149
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/reports', options)
|
|
7310
7150
|
command.response_representation = Google::Apis::DfareportingV2_1::ReportList::Representation
|
|
7311
7151
|
command.response_class = Google::Apis::DfareportingV2_1::ReportList
|
|
7312
7152
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7349,8 +7189,7 @@ module Google
|
|
|
7349
7189
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7350
7190
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7351
7191
|
def patch_report(profile_id, report_id, report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7352
|
-
|
|
7353
|
-
command = make_simple_command(:patch, path, options)
|
|
7192
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/reports/{reportId}', options)
|
|
7354
7193
|
command.request_representation = Google::Apis::DfareportingV2_1::Report::Representation
|
|
7355
7194
|
command.request_object = report_object
|
|
7356
7195
|
command.response_representation = Google::Apis::DfareportingV2_1::Report::Representation
|
|
@@ -7392,8 +7231,7 @@ module Google
|
|
|
7392
7231
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7393
7232
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7394
7233
|
def run_report(profile_id, report_id, synchronous: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7395
|
-
|
|
7396
|
-
command = make_simple_command(:post, path, options)
|
|
7234
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/reports/{reportId}/run', options)
|
|
7397
7235
|
command.response_representation = Google::Apis::DfareportingV2_1::File::Representation
|
|
7398
7236
|
command.response_class = Google::Apis::DfareportingV2_1::File
|
|
7399
7237
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7433,8 +7271,7 @@ module Google
|
|
|
7433
7271
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7434
7272
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7435
7273
|
def update_report(profile_id, report_id, report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7436
|
-
|
|
7437
|
-
command = make_simple_command(:put, path, options)
|
|
7274
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/reports/{reportId}', options)
|
|
7438
7275
|
command.request_representation = Google::Apis::DfareportingV2_1::Report::Representation
|
|
7439
7276
|
command.request_object = report_object
|
|
7440
7277
|
command.response_representation = Google::Apis::DfareportingV2_1::Report::Representation
|
|
@@ -7475,8 +7312,7 @@ module Google
|
|
|
7475
7312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7476
7313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7477
7314
|
def query_report_compatible_field(profile_id, report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7478
|
-
|
|
7479
|
-
command = make_simple_command(:post, path, options)
|
|
7315
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/reports/compatiblefields/query', options)
|
|
7480
7316
|
command.request_representation = Google::Apis::DfareportingV2_1::Report::Representation
|
|
7481
7317
|
command.request_object = report_object
|
|
7482
7318
|
command.response_representation = Google::Apis::DfareportingV2_1::CompatibleFields::Representation
|
|
@@ -7519,11 +7355,10 @@ module Google
|
|
|
7519
7355
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7520
7356
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7521
7357
|
def get_report_file(profile_id, report_id, file_id, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
|
7522
|
-
path = 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}'
|
|
7523
7358
|
if download_dest.nil?
|
|
7524
|
-
command = make_simple_command(:get,
|
|
7359
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}', options)
|
|
7525
7360
|
else
|
|
7526
|
-
command = make_download_command(:get,
|
|
7361
|
+
command = make_download_command(:get, 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}', options)
|
|
7527
7362
|
command.download_dest = download_dest
|
|
7528
7363
|
end
|
|
7529
7364
|
command.response_representation = Google::Apis::DfareportingV2_1::File::Representation
|
|
@@ -7572,8 +7407,7 @@ module Google
|
|
|
7572
7407
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7573
7408
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7574
7409
|
def list_report_files(profile_id, report_id, max_results: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7575
|
-
|
|
7576
|
-
command = make_simple_command(:get, path, options)
|
|
7410
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/reports/{reportId}/files', options)
|
|
7577
7411
|
command.response_representation = Google::Apis::DfareportingV2_1::FileList::Representation
|
|
7578
7412
|
command.response_class = Google::Apis::DfareportingV2_1::FileList
|
|
7579
7413
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7615,8 +7449,7 @@ module Google
|
|
|
7615
7449
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7616
7450
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7617
7451
|
def get_site(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7618
|
-
|
|
7619
|
-
command = make_simple_command(:get, path, options)
|
|
7452
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/sites/{id}', options)
|
|
7620
7453
|
command.response_representation = Google::Apis::DfareportingV2_1::Site::Representation
|
|
7621
7454
|
command.response_class = Google::Apis::DfareportingV2_1::Site
|
|
7622
7455
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7653,8 +7486,7 @@ module Google
|
|
|
7653
7486
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7654
7487
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7655
7488
|
def insert_site(profile_id, site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7656
|
-
|
|
7657
|
-
command = make_simple_command(:post, path, options)
|
|
7489
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/sites', options)
|
|
7658
7490
|
command.request_representation = Google::Apis::DfareportingV2_1::Site::Representation
|
|
7659
7491
|
command.request_object = site_object
|
|
7660
7492
|
command.response_representation = Google::Apis::DfareportingV2_1::Site::Representation
|
|
@@ -7728,8 +7560,7 @@ module Google
|
|
|
7728
7560
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7729
7561
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7730
7562
|
def list_sites(profile_id, accepts_in_stream_video_placements: nil, accepts_interstitial_placements: nil, accepts_publisher_paid_placements: nil, ad_words_site: nil, approved: nil, campaign_ids: nil, directory_site_ids: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, subaccount_id: nil, unmapped_site: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7731
|
-
|
|
7732
|
-
command = make_simple_command(:get, path, options)
|
|
7563
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/sites', options)
|
|
7733
7564
|
command.response_representation = Google::Apis::DfareportingV2_1::ListSitesResponse::Representation
|
|
7734
7565
|
command.response_class = Google::Apis::DfareportingV2_1::ListSitesResponse
|
|
7735
7566
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7782,8 +7613,7 @@ module Google
|
|
|
7782
7613
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7783
7614
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7784
7615
|
def patch_site(profile_id, id, site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7785
|
-
|
|
7786
|
-
command = make_simple_command(:patch, path, options)
|
|
7616
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/sites', options)
|
|
7787
7617
|
command.request_representation = Google::Apis::DfareportingV2_1::Site::Representation
|
|
7788
7618
|
command.request_object = site_object
|
|
7789
7619
|
command.response_representation = Google::Apis::DfareportingV2_1::Site::Representation
|
|
@@ -7822,8 +7652,7 @@ module Google
|
|
|
7822
7652
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7823
7653
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7824
7654
|
def update_site(profile_id, site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7825
|
-
|
|
7826
|
-
command = make_simple_command(:put, path, options)
|
|
7655
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/sites', options)
|
|
7827
7656
|
command.request_representation = Google::Apis::DfareportingV2_1::Site::Representation
|
|
7828
7657
|
command.request_object = site_object
|
|
7829
7658
|
command.response_representation = Google::Apis::DfareportingV2_1::Site::Representation
|
|
@@ -7862,8 +7691,7 @@ module Google
|
|
|
7862
7691
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7863
7692
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7864
7693
|
def get_size(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7865
|
-
|
|
7866
|
-
command = make_simple_command(:get, path, options)
|
|
7694
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/sizes/{id}', options)
|
|
7867
7695
|
command.response_representation = Google::Apis::DfareportingV2_1::Size::Representation
|
|
7868
7696
|
command.response_class = Google::Apis::DfareportingV2_1::Size
|
|
7869
7697
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7900,8 +7728,7 @@ module Google
|
|
|
7900
7728
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7901
7729
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7902
7730
|
def insert_size(profile_id, size_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7903
|
-
|
|
7904
|
-
command = make_simple_command(:post, path, options)
|
|
7731
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/sizes', options)
|
|
7905
7732
|
command.request_representation = Google::Apis::DfareportingV2_1::Size::Representation
|
|
7906
7733
|
command.request_object = size_object
|
|
7907
7734
|
command.response_representation = Google::Apis::DfareportingV2_1::Size::Representation
|
|
@@ -7946,8 +7773,7 @@ module Google
|
|
|
7946
7773
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7947
7774
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7948
7775
|
def list_sizes(profile_id, height: nil, iab_standard: nil, ids: nil, width: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7949
|
-
|
|
7950
|
-
command = make_simple_command(:get, path, options)
|
|
7776
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/sizes', options)
|
|
7951
7777
|
command.response_representation = Google::Apis::DfareportingV2_1::ListSizesResponse::Representation
|
|
7952
7778
|
command.response_class = Google::Apis::DfareportingV2_1::ListSizesResponse
|
|
7953
7779
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -7988,8 +7814,7 @@ module Google
|
|
|
7988
7814
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7989
7815
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7990
7816
|
def get_subaccount(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7991
|
-
|
|
7992
|
-
command = make_simple_command(:get, path, options)
|
|
7817
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/subaccounts/{id}', options)
|
|
7993
7818
|
command.response_representation = Google::Apis::DfareportingV2_1::Subaccount::Representation
|
|
7994
7819
|
command.response_class = Google::Apis::DfareportingV2_1::Subaccount
|
|
7995
7820
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8026,8 +7851,7 @@ module Google
|
|
|
8026
7851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8027
7852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8028
7853
|
def insert_subaccount(profile_id, subaccount_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8029
|
-
|
|
8030
|
-
command = make_simple_command(:post, path, options)
|
|
7854
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/subaccounts', options)
|
|
8031
7855
|
command.request_representation = Google::Apis::DfareportingV2_1::Subaccount::Representation
|
|
8032
7856
|
command.request_object = subaccount_object
|
|
8033
7857
|
command.response_representation = Google::Apis::DfareportingV2_1::Subaccount::Representation
|
|
@@ -8081,8 +7905,7 @@ module Google
|
|
|
8081
7905
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8082
7906
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8083
7907
|
def list_subaccounts(profile_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8084
|
-
|
|
8085
|
-
command = make_simple_command(:get, path, options)
|
|
7908
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/subaccounts', options)
|
|
8086
7909
|
command.response_representation = Google::Apis::DfareportingV2_1::ListSubaccountsResponse::Representation
|
|
8087
7910
|
command.response_class = Google::Apis::DfareportingV2_1::ListSubaccountsResponse
|
|
8088
7911
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8126,8 +7949,7 @@ module Google
|
|
|
8126
7949
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8127
7950
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8128
7951
|
def patch_subaccount(profile_id, id, subaccount_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8129
|
-
|
|
8130
|
-
command = make_simple_command(:patch, path, options)
|
|
7952
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/subaccounts', options)
|
|
8131
7953
|
command.request_representation = Google::Apis::DfareportingV2_1::Subaccount::Representation
|
|
8132
7954
|
command.request_object = subaccount_object
|
|
8133
7955
|
command.response_representation = Google::Apis::DfareportingV2_1::Subaccount::Representation
|
|
@@ -8166,8 +7988,7 @@ module Google
|
|
|
8166
7988
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8167
7989
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8168
7990
|
def update_subaccount(profile_id, subaccount_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8169
|
-
|
|
8170
|
-
command = make_simple_command(:put, path, options)
|
|
7991
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/subaccounts', options)
|
|
8171
7992
|
command.request_representation = Google::Apis::DfareportingV2_1::Subaccount::Representation
|
|
8172
7993
|
command.request_object = subaccount_object
|
|
8173
7994
|
command.response_representation = Google::Apis::DfareportingV2_1::Subaccount::Representation
|
|
@@ -8206,8 +8027,7 @@ module Google
|
|
|
8206
8027
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8207
8028
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8208
8029
|
def get_targetable_remarketing_list(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8209
|
-
|
|
8210
|
-
command = make_simple_command(:get, path, options)
|
|
8030
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/targetableRemarketingLists/{id}', options)
|
|
8211
8031
|
command.response_representation = Google::Apis::DfareportingV2_1::TargetableRemarketingList::Representation
|
|
8212
8032
|
command.response_class = Google::Apis::DfareportingV2_1::TargetableRemarketingList
|
|
8213
8033
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8263,8 +8083,7 @@ module Google
|
|
|
8263
8083
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8264
8084
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8265
8085
|
def list_targetable_remarketing_lists(profile_id, advertiser_id, active: nil, max_results: nil, name: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8266
|
-
|
|
8267
|
-
command = make_simple_command(:get, path, options)
|
|
8086
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/targetableRemarketingLists', options)
|
|
8268
8087
|
command.response_representation = Google::Apis::DfareportingV2_1::ListTargetableRemarketingListsResponse::Representation
|
|
8269
8088
|
command.response_class = Google::Apis::DfareportingV2_1::ListTargetableRemarketingListsResponse
|
|
8270
8089
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8306,8 +8125,7 @@ module Google
|
|
|
8306
8125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8307
8126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8308
8127
|
def get_user_profile(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8309
|
-
|
|
8310
|
-
command = make_simple_command(:get, path, options)
|
|
8128
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}', options)
|
|
8311
8129
|
command.response_representation = Google::Apis::DfareportingV2_1::UserProfile::Representation
|
|
8312
8130
|
command.response_class = Google::Apis::DfareportingV2_1::UserProfile
|
|
8313
8131
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8340,8 +8158,7 @@ module Google
|
|
|
8340
8158
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8341
8159
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8342
8160
|
def list_user_profiles(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8343
|
-
|
|
8344
|
-
command = make_simple_command(:get, path, options)
|
|
8161
|
+
command = make_simple_command(:get, 'userprofiles', options)
|
|
8345
8162
|
command.response_representation = Google::Apis::DfareportingV2_1::UserProfileList::Representation
|
|
8346
8163
|
command.response_class = Google::Apis::DfareportingV2_1::UserProfileList
|
|
8347
8164
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -8377,8 +8194,7 @@ module Google
|
|
|
8377
8194
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8378
8195
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8379
8196
|
def get_user_role_permission_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8380
|
-
|
|
8381
|
-
command = make_simple_command(:get, path, options)
|
|
8197
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/userRolePermissionGroups/{id}', options)
|
|
8382
8198
|
command.response_representation = Google::Apis::DfareportingV2_1::UserRolePermissionGroup::Representation
|
|
8383
8199
|
command.response_class = Google::Apis::DfareportingV2_1::UserRolePermissionGroup
|
|
8384
8200
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8414,8 +8230,7 @@ module Google
|
|
|
8414
8230
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8415
8231
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8416
8232
|
def list_user_role_permission_groups(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8417
|
-
|
|
8418
|
-
command = make_simple_command(:get, path, options)
|
|
8233
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/userRolePermissionGroups', options)
|
|
8419
8234
|
command.response_representation = Google::Apis::DfareportingV2_1::ListUserRolePermissionGroupsResponse::Representation
|
|
8420
8235
|
command.response_class = Google::Apis::DfareportingV2_1::ListUserRolePermissionGroupsResponse
|
|
8421
8236
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8452,8 +8267,7 @@ module Google
|
|
|
8452
8267
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8453
8268
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8454
8269
|
def get_user_role_permission(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8455
|
-
|
|
8456
|
-
command = make_simple_command(:get, path, options)
|
|
8270
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/userRolePermissions/{id}', options)
|
|
8457
8271
|
command.response_representation = Google::Apis::DfareportingV2_1::UserRolePermission::Representation
|
|
8458
8272
|
command.response_class = Google::Apis::DfareportingV2_1::UserRolePermission
|
|
8459
8273
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8491,8 +8305,7 @@ module Google
|
|
|
8491
8305
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8492
8306
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8493
8307
|
def list_user_role_permissions(profile_id, ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8494
|
-
|
|
8495
|
-
command = make_simple_command(:get, path, options)
|
|
8308
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/userRolePermissions', options)
|
|
8496
8309
|
command.response_representation = Google::Apis::DfareportingV2_1::ListUserRolePermissionsResponse::Representation
|
|
8497
8310
|
command.response_class = Google::Apis::DfareportingV2_1::ListUserRolePermissionsResponse
|
|
8498
8311
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8530,8 +8343,7 @@ module Google
|
|
|
8530
8343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8531
8344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8532
8345
|
def delete_user_role(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8533
|
-
|
|
8534
|
-
command = make_simple_command(:delete, path, options)
|
|
8346
|
+
command = make_simple_command(:delete, 'userprofiles/{profileId}/userRoles/{id}', options)
|
|
8535
8347
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
8536
8348
|
command.params['id'] = id unless id.nil?
|
|
8537
8349
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -8567,8 +8379,7 @@ module Google
|
|
|
8567
8379
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8568
8380
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8569
8381
|
def get_user_role(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8570
|
-
|
|
8571
|
-
command = make_simple_command(:get, path, options)
|
|
8382
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/userRoles/{id}', options)
|
|
8572
8383
|
command.response_representation = Google::Apis::DfareportingV2_1::UserRole::Representation
|
|
8573
8384
|
command.response_class = Google::Apis::DfareportingV2_1::UserRole
|
|
8574
8385
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8605,8 +8416,7 @@ module Google
|
|
|
8605
8416
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8606
8417
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8607
8418
|
def insert_user_role(profile_id, user_role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8608
|
-
|
|
8609
|
-
command = make_simple_command(:post, path, options)
|
|
8419
|
+
command = make_simple_command(:post, 'userprofiles/{profileId}/userRoles', options)
|
|
8610
8420
|
command.request_representation = Google::Apis::DfareportingV2_1::UserRole::Representation
|
|
8611
8421
|
command.request_object = user_role_object
|
|
8612
8422
|
command.response_representation = Google::Apis::DfareportingV2_1::UserRole::Representation
|
|
@@ -8665,8 +8475,7 @@ module Google
|
|
|
8665
8475
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8666
8476
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8667
8477
|
def list_user_roles(profile_id, account_user_role_only: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, subaccount_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8668
|
-
|
|
8669
|
-
command = make_simple_command(:get, path, options)
|
|
8478
|
+
command = make_simple_command(:get, 'userprofiles/{profileId}/userRoles', options)
|
|
8670
8479
|
command.response_representation = Google::Apis::DfareportingV2_1::ListUserRolesResponse::Representation
|
|
8671
8480
|
command.response_class = Google::Apis::DfareportingV2_1::ListUserRolesResponse
|
|
8672
8481
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
|
@@ -8712,8 +8521,7 @@ module Google
|
|
|
8712
8521
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8713
8522
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8714
8523
|
def patch_user_role(profile_id, id, user_role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8715
|
-
|
|
8716
|
-
command = make_simple_command(:patch, path, options)
|
|
8524
|
+
command = make_simple_command(:patch, 'userprofiles/{profileId}/userRoles', options)
|
|
8717
8525
|
command.request_representation = Google::Apis::DfareportingV2_1::UserRole::Representation
|
|
8718
8526
|
command.request_object = user_role_object
|
|
8719
8527
|
command.response_representation = Google::Apis::DfareportingV2_1::UserRole::Representation
|
|
@@ -8752,8 +8560,7 @@ module Google
|
|
|
8752
8560
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8753
8561
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8754
8562
|
def update_user_role(profile_id, user_role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8755
|
-
|
|
8756
|
-
command = make_simple_command(:put, path, options)
|
|
8563
|
+
command = make_simple_command(:put, 'userprofiles/{profileId}/userRoles', options)
|
|
8757
8564
|
command.request_representation = Google::Apis::DfareportingV2_1::UserRole::Representation
|
|
8758
8565
|
command.request_object = user_role_object
|
|
8759
8566
|
command.response_representation = Google::Apis::DfareportingV2_1::UserRole::Representation
|