google-api-client 0.41.1 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -48,10 +48,47 @@ module Google
|
|
|
48
48
|
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
54
|
-
#
|
|
51
|
+
# Audits an advertiser. Returns the counts of used entities per resource type
|
|
52
|
+
# under the advertiser provided. Used entities count towards their [respective
|
|
53
|
+
# resource limit]: (https://support.google.com/displayvideo/answer/6071450?hl=en)
|
|
54
|
+
# @param [Fixnum] advertiser_id
|
|
55
|
+
# Required. The ID of the advertiser to audit.
|
|
56
|
+
# @param [String] read_mask
|
|
57
|
+
# Optional. The specific fields to return. If no mask is specified, all fields
|
|
58
|
+
# in the response proto will be filled. Valid values are: * usedLineItemsCount *
|
|
59
|
+
# usedInsertionOrdersCount * usedCampaignsCount
|
|
60
|
+
# @param [String] fields
|
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
|
62
|
+
# @param [String] quota_user
|
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
|
66
|
+
# Request-specific options
|
|
67
|
+
#
|
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
|
69
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse] parsed result object
|
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
71
|
+
#
|
|
72
|
+
# @return [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse]
|
|
73
|
+
#
|
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
77
|
+
def audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
78
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:audit', options)
|
|
79
|
+
command.response_representation = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse::Representation
|
|
80
|
+
command.response_class = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse
|
|
81
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
82
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
|
83
|
+
command.query['fields'] = fields unless fields.nil?
|
|
84
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
85
|
+
execute_or_queue_command(command, &block)
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Bulk edits targeting options under a single advertiser. The operation will
|
|
89
|
+
# delete the assigned targeting options provided in
|
|
90
|
+
# BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then
|
|
91
|
+
# create the assigned targeting options provided in
|
|
55
92
|
# BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
|
|
56
93
|
# @param [Fixnum] advertiser_id
|
|
57
94
|
# Required. The ID of the advertiser.
|
|
@@ -89,37 +126,27 @@ module Google
|
|
|
89
126
|
# @param [Fixnum] advertiser_id
|
|
90
127
|
# Required. The ID of the advertiser the line item belongs to.
|
|
91
128
|
# @param [String] filter
|
|
92
|
-
# Allows filtering by assigned targeting option properties.
|
|
93
|
-
#
|
|
94
|
-
#
|
|
95
|
-
# *
|
|
96
|
-
#
|
|
97
|
-
#
|
|
98
|
-
#
|
|
99
|
-
# - `targetingType`
|
|
100
|
-
# Examples:
|
|
101
|
-
# * targetingType with value TARGETING_TYPE_CHANNEL
|
|
102
|
-
# `targetingType="TARGETING_TYPE_CHANNEL"`
|
|
103
|
-
# The length of this field should be no more than 500 characters.
|
|
129
|
+
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
|
130
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
131
|
+
# be combined by the logical operator `OR`.. * A restriction has the form of ``
|
|
132
|
+
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
|
133
|
+
# fields: - `targetingType` Examples: * targetingType with value
|
|
134
|
+
# TARGETING_TYPE_CHANNEL `targetingType="TARGETING_TYPE_CHANNEL"` The length of
|
|
135
|
+
# this field should be no more than 500 characters.
|
|
104
136
|
# @param [String] order_by
|
|
105
|
-
# Field by which to sort the list.
|
|
106
|
-
#
|
|
107
|
-
#
|
|
108
|
-
#
|
|
109
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
110
|
-
# `targetingType desc`.
|
|
137
|
+
# Field by which to sort the list. Acceptable values are: * `targetingType` (
|
|
138
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
139
|
+
# for a field, a suffix "desc" should be added to the field name. Example: `
|
|
140
|
+
# targetingType desc`.
|
|
111
141
|
# @param [Fixnum] page_size
|
|
112
|
-
# Requested page size.
|
|
113
|
-
#
|
|
114
|
-
#
|
|
115
|
-
# value is specified.
|
|
142
|
+
# Requested page size. The size must be an integer between `1` and `5000`. If
|
|
143
|
+
# unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
|
|
144
|
+
# an invalid value is specified.
|
|
116
145
|
# @param [String] page_token
|
|
117
|
-
# A token that lets the client fetch the next page of results.
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
# `BulkListAdvertiserAssignedTargetingOptions` method.
|
|
122
|
-
# If not specified, the first page of results will be returned.
|
|
146
|
+
# A token that lets the client fetch the next page of results. Typically, this
|
|
147
|
+
# is the value of next_page_token returned from the previous call to `
|
|
148
|
+
# BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the
|
|
149
|
+
# first page of results will be returned.
|
|
123
150
|
# @param [String] fields
|
|
124
151
|
# Selector specifying which fields to include in a partial response.
|
|
125
152
|
# @param [String] quota_user
|
|
@@ -151,8 +178,7 @@ module Google
|
|
|
151
178
|
execute_or_queue_command(command, &block)
|
|
152
179
|
end
|
|
153
180
|
|
|
154
|
-
# Creates a new advertiser.
|
|
155
|
-
# Returns the newly created advertiser if successful.
|
|
181
|
+
# Creates a new advertiser. Returns the newly created advertiser if successful.
|
|
156
182
|
# This method can take up to 180 seconds to complete.
|
|
157
183
|
# @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
|
|
158
184
|
# @param [String] fields
|
|
@@ -183,10 +209,9 @@ module Google
|
|
|
183
209
|
execute_or_queue_command(command, &block)
|
|
184
210
|
end
|
|
185
211
|
|
|
186
|
-
# Deletes an advertiser.
|
|
187
|
-
#
|
|
188
|
-
#
|
|
189
|
-
# A deleted advertiser cannot be recovered.
|
|
212
|
+
# Deletes an advertiser. Deleting an advertiser will delete all of its child
|
|
213
|
+
# resources, for example, campaigns, insertion orders and line items. A deleted
|
|
214
|
+
# advertiser cannot be recovered.
|
|
190
215
|
# @param [Fixnum] advertiser_id
|
|
191
216
|
# The ID of the advertiser we need to delete.
|
|
192
217
|
# @param [String] fields
|
|
@@ -246,46 +271,34 @@ module Google
|
|
|
246
271
|
execute_or_queue_command(command, &block)
|
|
247
272
|
end
|
|
248
273
|
|
|
249
|
-
# Lists advertisers that are accessible to the current user.
|
|
250
|
-
#
|
|
251
|
-
#
|
|
252
|
-
# A single partner_id is required.
|
|
253
|
-
# Cross-partner listing is not supported.
|
|
274
|
+
# Lists advertisers that are accessible to the current user. The order is
|
|
275
|
+
# defined by the order_by parameter. A single partner_id is required. Cross-
|
|
276
|
+
# partner listing is not supported.
|
|
254
277
|
# @param [String] filter
|
|
255
|
-
# Allows filtering by advertiser properties.
|
|
256
|
-
#
|
|
257
|
-
#
|
|
258
|
-
# *
|
|
259
|
-
#
|
|
260
|
-
#
|
|
261
|
-
#
|
|
262
|
-
#
|
|
263
|
-
# - `entityStatus`
|
|
264
|
-
# Examples:
|
|
265
|
-
# * All active advertisers under a partner:
|
|
266
|
-
# `entityStatus="ENTITY_STATUS_ACTIVE"`
|
|
267
|
-
# The length of this field should be no more than 500 characters.
|
|
278
|
+
# Allows filtering by advertiser properties. Supported syntax: * Filter
|
|
279
|
+
# expressions are made up of one or more restrictions. * Restrictions can be
|
|
280
|
+
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
|
281
|
+
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
|
282
|
+
# value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
|
|
283
|
+
# entityStatus` Examples: * All active advertisers under a partner: `
|
|
284
|
+
# entityStatus="ENTITY_STATUS_ACTIVE"` The length of this field should be no
|
|
285
|
+
# more than 500 characters.
|
|
268
286
|
# @param [String] order_by
|
|
269
|
-
# Field by which to sort the list.
|
|
270
|
-
#
|
|
271
|
-
#
|
|
272
|
-
#
|
|
273
|
-
# The default sorting order is ascending. To specify descending order for
|
|
274
|
-
# a field, a suffix "desc" should be added to the field name. For example,
|
|
275
|
-
# `displayName desc`.
|
|
287
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
|
288
|
+
# default) * `entityStatus` The default sorting order is ascending. To specify
|
|
289
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
|
290
|
+
# name. For example, `displayName desc`.
|
|
276
291
|
# @param [Fixnum] page_size
|
|
277
292
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
278
293
|
# default to `100`.
|
|
279
294
|
# @param [String] page_token
|
|
280
|
-
# A token identifying a page of results the server should return.
|
|
281
|
-
#
|
|
282
|
-
#
|
|
283
|
-
# returned
|
|
284
|
-
# If not specified, the first page of results will be returned.
|
|
295
|
+
# A token identifying a page of results the server should return. Typically,
|
|
296
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
297
|
+
# ListAdvertisers` method. If not specified, the first page of results will be
|
|
298
|
+
# returned.
|
|
285
299
|
# @param [Fixnum] partner_id
|
|
286
300
|
# Required. The ID of the partner that the fetched advertisers should all belong
|
|
287
|
-
# to.
|
|
288
|
-
# The system only supports listing advertisers for one partner at a time.
|
|
301
|
+
# to. The system only supports listing advertisers for one partner at a time.
|
|
289
302
|
# @param [String] fields
|
|
290
303
|
# Selector specifying which fields to include in a partial response.
|
|
291
304
|
# @param [String] quota_user
|
|
@@ -317,8 +330,7 @@ module Google
|
|
|
317
330
|
execute_or_queue_command(command, &block)
|
|
318
331
|
end
|
|
319
332
|
|
|
320
|
-
# Updates an existing advertiser.
|
|
321
|
-
# Returns the updated advertiser if successful.
|
|
333
|
+
# Updates an existing advertiser. Returns the updated advertiser if successful.
|
|
322
334
|
# @param [Fixnum] advertiser_id
|
|
323
335
|
# Output only. The unique ID of the advertiser. Assigned by the system.
|
|
324
336
|
# @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
|
|
@@ -354,10 +366,9 @@ module Google
|
|
|
354
366
|
execute_or_queue_command(command, &block)
|
|
355
367
|
end
|
|
356
368
|
|
|
357
|
-
# Uploads an asset.
|
|
358
|
-
#
|
|
359
|
-
#
|
|
360
|
-
# ZIP files, and 1 GB for videos.
|
|
369
|
+
# Uploads an asset. Returns the ID of the newly uploaded asset if successful.
|
|
370
|
+
# The asset file size should be no more than 10 MB for images, 200 MB for ZIP
|
|
371
|
+
# files, and 1 GB for videos.
|
|
361
372
|
# @param [Fixnum] advertiser_id
|
|
362
373
|
# Required. The ID of the advertiser this asset belongs to.
|
|
363
374
|
# @param [Google::Apis::DisplayvideoV1::CreateAssetRequest] create_asset_request_object
|
|
@@ -400,8 +411,7 @@ module Google
|
|
|
400
411
|
execute_or_queue_command(command, &block)
|
|
401
412
|
end
|
|
402
413
|
|
|
403
|
-
# Creates a new campaign.
|
|
404
|
-
# Returns the newly created campaign if successful.
|
|
414
|
+
# Creates a new campaign. Returns the newly created campaign if successful.
|
|
405
415
|
# @param [Fixnum] advertiser_id
|
|
406
416
|
# Output only. The unique ID of the advertiser the campaign belongs to.
|
|
407
417
|
# @param [Google::Apis::DisplayvideoV1::Campaign] campaign_object
|
|
@@ -434,10 +444,9 @@ module Google
|
|
|
434
444
|
execute_or_queue_command(command, &block)
|
|
435
445
|
end
|
|
436
446
|
|
|
437
|
-
# Permanently deletes a campaign. A deleted campaign cannot be recovered.
|
|
438
|
-
#
|
|
439
|
-
#
|
|
440
|
-
# able to delete it.
|
|
447
|
+
# Permanently deletes a campaign. A deleted campaign cannot be recovered. The
|
|
448
|
+
# campaign should be archived first, i.e. set entity_status to `
|
|
449
|
+
# ENTITY_STATUS_ARCHIVED`, to be able to delete it.
|
|
441
450
|
# @param [Fixnum] advertiser_id
|
|
442
451
|
# The ID of the advertiser this campaign belongs to.
|
|
443
452
|
# @param [Fixnum] campaign_id
|
|
@@ -503,47 +512,34 @@ module Google
|
|
|
503
512
|
execute_or_queue_command(command, &block)
|
|
504
513
|
end
|
|
505
514
|
|
|
506
|
-
# Lists campaigns in an advertiser.
|
|
507
|
-
#
|
|
508
|
-
#
|
|
509
|
-
# If a filter by
|
|
510
|
-
# entity_status is not specified, campaigns with
|
|
511
|
-
# `ENTITY_STATUS_ARCHIVED` will not be included in the results.
|
|
515
|
+
# Lists campaigns in an advertiser. The order is defined by the order_by
|
|
516
|
+
# parameter. If a filter by entity_status is not specified, campaigns with `
|
|
517
|
+
# ENTITY_STATUS_ARCHIVED` will not be included in the results.
|
|
512
518
|
# @param [Fixnum] advertiser_id
|
|
513
519
|
# The ID of the advertiser to list campaigns for.
|
|
514
520
|
# @param [String] filter
|
|
515
|
-
# Allows filtering by campaign properties.
|
|
516
|
-
#
|
|
517
|
-
#
|
|
518
|
-
# *
|
|
519
|
-
#
|
|
520
|
-
#
|
|
521
|
-
#
|
|
522
|
-
#
|
|
523
|
-
#
|
|
524
|
-
# Examples:
|
|
525
|
-
# * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an
|
|
526
|
-
# advertiser:
|
|
527
|
-
# `(entityStatus="ENTITY_STATUS_ACTIVE" OR
|
|
528
|
-
# entityStatus="ENTITY_STATUS_PAUSED")`
|
|
529
|
-
# The length of this field should be no more than 500 characters.
|
|
521
|
+
# Allows filtering by campaign properties. Supported syntax: * Filter
|
|
522
|
+
# expressions are made up of one or more restrictions. * Restrictions can be
|
|
523
|
+
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
|
524
|
+
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
|
525
|
+
# value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
|
|
526
|
+
# entityStatus` Examples: * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
|
|
527
|
+
# campaigns under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
|
|
528
|
+
# entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be no
|
|
529
|
+
# more than 500 characters.
|
|
530
530
|
# @param [String] order_by
|
|
531
|
-
# Field by which to sort the list.
|
|
532
|
-
#
|
|
533
|
-
#
|
|
534
|
-
#
|
|
535
|
-
# The default sorting order is ascending. To specify descending order for
|
|
536
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
537
|
-
# `displayName desc`.
|
|
531
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
|
532
|
+
# default) * `entityStatus` The default sorting order is ascending. To specify
|
|
533
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
|
534
|
+
# name. Example: `displayName desc`.
|
|
538
535
|
# @param [Fixnum] page_size
|
|
539
536
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
540
537
|
# default to `100`.
|
|
541
538
|
# @param [String] page_token
|
|
542
|
-
# A token identifying a page of results the server should return.
|
|
543
|
-
#
|
|
544
|
-
#
|
|
545
|
-
#
|
|
546
|
-
# of results will be returned.
|
|
539
|
+
# A token identifying a page of results the server should return. Typically,
|
|
540
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
541
|
+
# ListCampaigns` method. If not specified, the first page of results will be
|
|
542
|
+
# returned.
|
|
547
543
|
# @param [String] fields
|
|
548
544
|
# Selector specifying which fields to include in a partial response.
|
|
549
545
|
# @param [String] quota_user
|
|
@@ -575,8 +571,7 @@ module Google
|
|
|
575
571
|
execute_or_queue_command(command, &block)
|
|
576
572
|
end
|
|
577
573
|
|
|
578
|
-
# Updates an existing campaign.
|
|
579
|
-
# Returns the updated campaign if successful.
|
|
574
|
+
# Updates an existing campaign. Returns the updated campaign if successful.
|
|
580
575
|
# @param [Fixnum] advertiser_id
|
|
581
576
|
# Output only. The unique ID of the advertiser the campaign belongs to.
|
|
582
577
|
# @param [Fixnum] campaign_id
|
|
@@ -651,8 +646,6 @@ module Google
|
|
|
651
646
|
execute_or_queue_command(command, &block)
|
|
652
647
|
end
|
|
653
648
|
|
|
654
|
-
# Updates an existing inventory source.
|
|
655
|
-
# Returns the updated inventory source if successful.
|
|
656
649
|
# Gets a channel for a partner or advertiser.
|
|
657
650
|
# @param [Fixnum] advertiser_id
|
|
658
651
|
# The ID of the advertiser that owns the fetched channel.
|
|
@@ -693,36 +686,26 @@ module Google
|
|
|
693
686
|
# @param [Fixnum] advertiser_id
|
|
694
687
|
# The ID of the advertiser that owns the channels.
|
|
695
688
|
# @param [String] filter
|
|
696
|
-
# Allows filtering by channel fields.
|
|
697
|
-
#
|
|
698
|
-
#
|
|
699
|
-
# *
|
|
700
|
-
#
|
|
701
|
-
#
|
|
702
|
-
# * Supported fields:
|
|
703
|
-
# - `displayName`
|
|
704
|
-
# Examples:
|
|
705
|
-
# * All channels for which the display name contains "google":
|
|
706
|
-
# `displayName : "google"`.
|
|
707
|
-
# The length of this field should be no more than 500 characters.
|
|
689
|
+
# Allows filtering by channel fields. Supported syntax: * Filter expressions for
|
|
690
|
+
# channel currently can only contain at most one * restriction. * A restriction
|
|
691
|
+
# has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
|
|
692
|
+
# (:)`. * Supported fields: - `displayName` Examples: * All channels for which
|
|
693
|
+
# the display name contains "google": `displayName : "google"`. The length of
|
|
694
|
+
# this field should be no more than 500 characters.
|
|
708
695
|
# @param [String] order_by
|
|
709
|
-
# Field by which to sort the list.
|
|
710
|
-
#
|
|
711
|
-
#
|
|
712
|
-
#
|
|
713
|
-
# The default sorting order is ascending. To specify descending order for a
|
|
714
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
715
|
-
# `displayName desc`.
|
|
696
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
|
697
|
+
# default) * `channelId` The default sorting order is ascending. To specify
|
|
698
|
+
# descending order for a field, a suffix " desc" should be added to the field
|
|
699
|
+
# name. Example: `displayName desc`.
|
|
716
700
|
# @param [Fixnum] page_size
|
|
717
701
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
718
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
719
|
-
#
|
|
702
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
703
|
+
# specified.
|
|
720
704
|
# @param [String] page_token
|
|
721
|
-
# A token identifying a page of results the server should return.
|
|
722
|
-
#
|
|
723
|
-
#
|
|
724
|
-
#
|
|
725
|
-
# of results will be returned.
|
|
705
|
+
# A token identifying a page of results the server should return. Typically,
|
|
706
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
707
|
+
# ListChannels` method. If not specified, the first page of results will be
|
|
708
|
+
# returned.
|
|
726
709
|
# @param [Fixnum] partner_id
|
|
727
710
|
# The ID of the partner that owns the channels.
|
|
728
711
|
# @param [String] fields
|
|
@@ -799,9 +782,8 @@ module Google
|
|
|
799
782
|
execute_or_queue_command(command, &block)
|
|
800
783
|
end
|
|
801
784
|
|
|
802
|
-
# Bulk edits sites under a single channel.
|
|
803
|
-
#
|
|
804
|
-
# BulkEditSitesRequest.deleted_sites and then create the sites
|
|
785
|
+
# Bulk edits sites under a single channel. The operation will delete the sites
|
|
786
|
+
# provided in BulkEditSitesRequest.deleted_sites and then create the sites
|
|
805
787
|
# provided in BulkEditSitesRequest.created_sites.
|
|
806
788
|
# @param [Fixnum] advertiser_id
|
|
807
789
|
# The ID of the advertiser that owns the parent channel.
|
|
@@ -922,34 +904,25 @@ module Google
|
|
|
922
904
|
# @param [Fixnum] channel_id
|
|
923
905
|
# Required. The ID of the parent channel to which the requested sites belong.
|
|
924
906
|
# @param [String] filter
|
|
925
|
-
# Allows filtering by site fields.
|
|
926
|
-
#
|
|
927
|
-
#
|
|
928
|
-
# *
|
|
929
|
-
#
|
|
930
|
-
# * The operator must be `CONTAINS (:)`.
|
|
931
|
-
# * Supported fields:
|
|
932
|
-
# - `urlOrAppId`
|
|
933
|
-
# Examples:
|
|
934
|
-
# * All sites for which the URL or app ID contains "google":
|
|
935
|
-
# `urlOrAppId : "google"`
|
|
907
|
+
# Allows filtering by site fields. Supported syntax: * Filter expressions for
|
|
908
|
+
# site currently can only contain at most one * restriction. * A restriction has
|
|
909
|
+
# the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
|
|
910
|
+
# . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
|
|
911
|
+
# or app ID contains "google": `urlOrAppId : "google"`
|
|
936
912
|
# @param [String] order_by
|
|
937
|
-
# Field by which to sort the list.
|
|
938
|
-
#
|
|
939
|
-
#
|
|
940
|
-
#
|
|
941
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
942
|
-
# `urlOrAppId desc`.
|
|
913
|
+
# Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
|
|
914
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
915
|
+
# for a field, a suffix " desc" should be added to the field name. Example: `
|
|
916
|
+
# urlOrAppId desc`.
|
|
943
917
|
# @param [Fixnum] page_size
|
|
944
918
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
945
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
946
|
-
#
|
|
919
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
920
|
+
# specified.
|
|
947
921
|
# @param [String] page_token
|
|
948
|
-
# A token identifying a page of results the server should return.
|
|
949
|
-
#
|
|
950
|
-
#
|
|
951
|
-
#
|
|
952
|
-
# of results will be returned.
|
|
922
|
+
# A token identifying a page of results the server should return. Typically,
|
|
923
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
924
|
+
# ListSites` method. If not specified, the first page of results will be
|
|
925
|
+
# returned.
|
|
953
926
|
# @param [Fixnum] partner_id
|
|
954
927
|
# The ID of the partner that owns the parent channel.
|
|
955
928
|
# @param [String] fields
|
|
@@ -985,8 +958,7 @@ module Google
|
|
|
985
958
|
execute_or_queue_command(command, &block)
|
|
986
959
|
end
|
|
987
960
|
|
|
988
|
-
# Creates a new creative.
|
|
989
|
-
# Returns the newly created creative if successful.
|
|
961
|
+
# Creates a new creative. Returns the newly created creative if successful.
|
|
990
962
|
# @param [Fixnum] advertiser_id
|
|
991
963
|
# Output only. The unique ID of the advertiser the creative belongs to.
|
|
992
964
|
# @param [Google::Apis::DisplayvideoV1::Creative] creative_object
|
|
@@ -1019,11 +991,9 @@ module Google
|
|
|
1019
991
|
execute_or_queue_command(command, &block)
|
|
1020
992
|
end
|
|
1021
993
|
|
|
1022
|
-
# Deletes a creative.
|
|
1023
|
-
#
|
|
1024
|
-
#
|
|
1025
|
-
# entity_status to `ENTITY_STATUS_ARCHIVED`, before
|
|
1026
|
-
# it can be deleted.
|
|
994
|
+
# Deletes a creative. Returns error code `NOT_FOUND` if the creative does not
|
|
995
|
+
# exist. The creative should be archived first, i.e. set entity_status to `
|
|
996
|
+
# ENTITY_STATUS_ARCHIVED`, before it can be deleted.
|
|
1027
997
|
# @param [Fixnum] advertiser_id
|
|
1028
998
|
# The ID of the advertiser this creative belongs to.
|
|
1029
999
|
# @param [Fixnum] creative_id
|
|
@@ -1089,81 +1059,55 @@ module Google
|
|
|
1089
1059
|
execute_or_queue_command(command, &block)
|
|
1090
1060
|
end
|
|
1091
1061
|
|
|
1092
|
-
# Lists creatives in an advertiser.
|
|
1093
|
-
#
|
|
1094
|
-
#
|
|
1095
|
-
# If a filter by
|
|
1096
|
-
# entity_status is not specified, creatives with
|
|
1097
|
-
# `ENTITY_STATUS_ARCHIVED` will not be included in the results.
|
|
1062
|
+
# Lists creatives in an advertiser. The order is defined by the order_by
|
|
1063
|
+
# parameter. If a filter by entity_status is not specified, creatives with `
|
|
1064
|
+
# ENTITY_STATUS_ARCHIVED` will not be included in the results.
|
|
1098
1065
|
# @param [Fixnum] advertiser_id
|
|
1099
1066
|
# Required. The ID of the advertiser to list creatives for.
|
|
1100
1067
|
# @param [String] filter
|
|
1101
|
-
# Allows filtering by creative properties.
|
|
1102
|
-
#
|
|
1103
|
-
#
|
|
1104
|
-
# *
|
|
1105
|
-
#
|
|
1106
|
-
#
|
|
1107
|
-
#
|
|
1108
|
-
#
|
|
1109
|
-
# * The operator must be `
|
|
1110
|
-
#
|
|
1111
|
-
#
|
|
1112
|
-
#
|
|
1113
|
-
#
|
|
1114
|
-
#
|
|
1115
|
-
#
|
|
1116
|
-
#
|
|
1117
|
-
#
|
|
1118
|
-
#
|
|
1119
|
-
# *
|
|
1120
|
-
#
|
|
1121
|
-
# *
|
|
1122
|
-
#
|
|
1123
|
-
#
|
|
1124
|
-
#
|
|
1125
|
-
#
|
|
1126
|
-
#
|
|
1127
|
-
# `
|
|
1128
|
-
#
|
|
1129
|
-
# against multiple possible line item IDs.
|
|
1130
|
-
# * There may be multiple `creativeId` restrictions in order to search
|
|
1131
|
-
# against multiple possible creative IDs.
|
|
1132
|
-
# Examples:
|
|
1133
|
-
# * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"`
|
|
1134
|
-
# * All active creatives with 300x400 or 50x100 dimensions:
|
|
1135
|
-
# `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400"
|
|
1136
|
-
# OR dimensions="50x100")`
|
|
1137
|
-
# * All dynamic creatives that are approved by AdX or
|
|
1138
|
-
# AppNexus, with a minimum duration of 5 seconds and 200ms.
|
|
1139
|
-
# `dynamic="true" AND minDuration="5.2s" AND
|
|
1140
|
-
# (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED"
|
|
1141
|
-
# OR exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")`
|
|
1142
|
-
# * All video creatives that are associated with line item ID 1 or 2:
|
|
1143
|
-
# `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)`
|
|
1144
|
-
# * Find creatives by multiple creative IDs:
|
|
1145
|
-
# `creativeId=1 OR creativeId=2`
|
|
1146
|
-
# The length of this field should be no more than 500 characters.
|
|
1068
|
+
# Allows filtering by creative properties. Supported syntax: * Filter
|
|
1069
|
+
# expressions are made up of one or more restrictions. * Restriction for the
|
|
1070
|
+
# same field must be combined by `OR`. * Restriction for different fields must
|
|
1071
|
+
# be combined by `AND`. * Between `(` and `)` there can only be restrictions
|
|
1072
|
+
# combined by `OR` for the same field. * A restriction has the form of ``field` `
|
|
1073
|
+
# operator` `value``. * The operator must be `EQUALS (=)` for the following
|
|
1074
|
+
# fields: - `entityStatus` - `creativeType`. - `dimensions` - `minDuration` - `
|
|
1075
|
+
# maxDuration` - `approvalStatus` - `exchangeReviewStatus` - `dynamic` - `
|
|
1076
|
+
# creativeId` * The operator must be `HAS (:)` for the following fields: - `
|
|
1077
|
+
# lineItemIds` * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic`
|
|
1078
|
+
# there may be at most one restriction. * For `dimensions`, the value is in the
|
|
1079
|
+
# form of `"`width`x`height`"`. * For `exchangeReviewStatus`, the value is in
|
|
1080
|
+
# the form of ``exchange`-`reviewStatus``. * For `minDuration` and `maxDuration`,
|
|
1081
|
+
# the value is in the form of `"`duration`s"`. Only seconds are supported with
|
|
1082
|
+
# millisecond granularity. * There may be multiple `lineItemIds` restrictions in
|
|
1083
|
+
# order to search against multiple possible line item IDs. * There may be
|
|
1084
|
+
# multiple `creativeId` restrictions in order to search against multiple
|
|
1085
|
+
# possible creative IDs. Examples: * All native creatives: `creativeType="
|
|
1086
|
+
# CREATIVE_TYPE_NATIVE"` * All active creatives with 300x400 or 50x100
|
|
1087
|
+
# dimensions: `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR
|
|
1088
|
+
# dimensions="50x100")` * All dynamic creatives that are approved by AdX or
|
|
1089
|
+
# AppNexus, with a minimum duration of 5 seconds and 200ms. `dynamic="true" AND
|
|
1090
|
+
# minDuration="5.2s" AND (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-
|
|
1091
|
+
# REVIEW_STATUS_APPROVED" OR exchangeReviewStatus="EXCHANGE_APPNEXUS-
|
|
1092
|
+
# REVIEW_STATUS_APPROVED")` * All video creatives that are associated with line
|
|
1093
|
+
# item ID 1 or 2: `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR
|
|
1094
|
+
# lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR
|
|
1095
|
+
# creativeId=2` The length of this field should be no more than 500 characters.
|
|
1147
1096
|
# @param [String] order_by
|
|
1148
|
-
# Field by which to sort the list.
|
|
1149
|
-
#
|
|
1150
|
-
#
|
|
1151
|
-
#
|
|
1152
|
-
#
|
|
1153
|
-
# * `dimensions` (sorts by width first, then by height)
|
|
1154
|
-
# The default sorting order is ascending. To specify descending order for
|
|
1155
|
-
# a field, a suffix "desc" should be added to the field name.
|
|
1156
|
-
# Example: `createTime desc`.
|
|
1097
|
+
# Field by which to sort the list. Acceptable values are: * `creativeId` (
|
|
1098
|
+
# default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first,
|
|
1099
|
+
# then by height) The default sorting order is ascending. To specify descending
|
|
1100
|
+
# order for a field, a suffix "desc" should be added to the field name. Example:
|
|
1101
|
+
# `createTime desc`.
|
|
1157
1102
|
# @param [Fixnum] page_size
|
|
1158
1103
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
1159
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
1160
|
-
#
|
|
1104
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1105
|
+
# specified.
|
|
1161
1106
|
# @param [String] page_token
|
|
1162
|
-
# A token identifying a page of results the server should return.
|
|
1163
|
-
#
|
|
1164
|
-
#
|
|
1165
|
-
# returned
|
|
1166
|
-
# If not specified, the first page of results will be returned.
|
|
1107
|
+
# A token identifying a page of results the server should return. Typically,
|
|
1108
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
1109
|
+
# ListCreatives` method. If not specified, the first page of results will be
|
|
1110
|
+
# returned.
|
|
1167
1111
|
# @param [String] fields
|
|
1168
1112
|
# Selector specifying which fields to include in a partial response.
|
|
1169
1113
|
# @param [String] quota_user
|
|
@@ -1195,8 +1139,7 @@ module Google
|
|
|
1195
1139
|
execute_or_queue_command(command, &block)
|
|
1196
1140
|
end
|
|
1197
1141
|
|
|
1198
|
-
# Updates an existing creative.
|
|
1199
|
-
# Returns the updated creative if successful.
|
|
1142
|
+
# Updates an existing creative. Returns the updated creative if successful.
|
|
1200
1143
|
# @param [Fixnum] advertiser_id
|
|
1201
1144
|
# Output only. The unique ID of the advertiser the creative belongs to.
|
|
1202
1145
|
# @param [Fixnum] creative_id
|
|
@@ -1235,8 +1178,8 @@ module Google
|
|
|
1235
1178
|
execute_or_queue_command(command, &block)
|
|
1236
1179
|
end
|
|
1237
1180
|
|
|
1238
|
-
# Creates a new insertion order.
|
|
1239
|
-
#
|
|
1181
|
+
# Creates a new insertion order. Returns the newly created insertion order if
|
|
1182
|
+
# successful.
|
|
1240
1183
|
# @param [Fixnum] advertiser_id
|
|
1241
1184
|
# Output only. The unique ID of the advertiser the insertion order belongs to.
|
|
1242
1185
|
# @param [Google::Apis::DisplayvideoV1::InsertionOrder] insertion_order_object
|
|
@@ -1269,11 +1212,9 @@ module Google
|
|
|
1269
1212
|
execute_or_queue_command(command, &block)
|
|
1270
1213
|
end
|
|
1271
1214
|
|
|
1272
|
-
# Deletes an insertion order.
|
|
1273
|
-
#
|
|
1274
|
-
#
|
|
1275
|
-
# entity_status to `ENTITY_STATUS_ARCHIVED`,
|
|
1276
|
-
# to be able to delete it.
|
|
1215
|
+
# Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion
|
|
1216
|
+
# order does not exist. The insertion order should be archived first, i.e. set
|
|
1217
|
+
# entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.
|
|
1277
1218
|
# @param [Fixnum] advertiser_id
|
|
1278
1219
|
# The ID of the advertiser this insertion order belongs to.
|
|
1279
1220
|
# @param [Fixnum] insertion_order_id
|
|
@@ -1306,8 +1247,8 @@ module Google
|
|
|
1306
1247
|
execute_or_queue_command(command, &block)
|
|
1307
1248
|
end
|
|
1308
1249
|
|
|
1309
|
-
# Gets an insertion order.
|
|
1310
|
-
#
|
|
1250
|
+
# Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order
|
|
1251
|
+
# does not exist.
|
|
1311
1252
|
# @param [Fixnum] advertiser_id
|
|
1312
1253
|
# Required. The ID of the advertiser this insertion order belongs to.
|
|
1313
1254
|
# @param [Fixnum] insertion_order_id
|
|
@@ -1340,50 +1281,36 @@ module Google
|
|
|
1340
1281
|
execute_or_queue_command(command, &block)
|
|
1341
1282
|
end
|
|
1342
1283
|
|
|
1343
|
-
# Lists insertion orders in an advertiser.
|
|
1344
|
-
#
|
|
1345
|
-
#
|
|
1346
|
-
# If a filter by
|
|
1347
|
-
# entity_status is not specified, insertion
|
|
1348
|
-
# orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.
|
|
1284
|
+
# Lists insertion orders in an advertiser. The order is defined by the order_by
|
|
1285
|
+
# parameter. If a filter by entity_status is not specified, insertion orders
|
|
1286
|
+
# with `ENTITY_STATUS_ARCHIVED` will not be included in the results.
|
|
1349
1287
|
# @param [Fixnum] advertiser_id
|
|
1350
1288
|
# Required. The ID of the advertiser to list insertion orders for.
|
|
1351
1289
|
# @param [String] filter
|
|
1352
|
-
# Allows filtering by insertion order properties.
|
|
1353
|
-
#
|
|
1354
|
-
#
|
|
1355
|
-
# *
|
|
1356
|
-
#
|
|
1357
|
-
#
|
|
1358
|
-
# *
|
|
1359
|
-
#
|
|
1360
|
-
#
|
|
1361
|
-
#
|
|
1362
|
-
# Examples:
|
|
1363
|
-
# * All insertion orders under a campaign: `campaignId="1234"`
|
|
1364
|
-
# * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders
|
|
1365
|
-
# under an advertiser:
|
|
1366
|
-
# `(entityStatus="ENTITY_STATUS_ACTIVE" OR
|
|
1367
|
-
# entityStatus="ENTITY_STATUS_PAUSED")`
|
|
1368
|
-
# The length of this field should be no more than 500 characters.
|
|
1290
|
+
# Allows filtering by insertion order properties. Supported syntax: * Filter
|
|
1291
|
+
# expressions are made up of one or more restrictions. * Restrictions can be
|
|
1292
|
+
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
|
1293
|
+
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
|
1294
|
+
# value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
|
|
1295
|
+
# campaignId` - `entityStatus` Examples: * All insertion orders under a campaign:
|
|
1296
|
+
# `campaignId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
|
|
1297
|
+
# insertion orders under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
|
|
1298
|
+
# entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be no
|
|
1299
|
+
# more than 500 characters.
|
|
1369
1300
|
# @param [String] order_by
|
|
1370
|
-
# Field by which to sort the list.
|
|
1371
|
-
#
|
|
1372
|
-
#
|
|
1373
|
-
#
|
|
1374
|
-
# The default sorting order is ascending. To specify descending order for
|
|
1375
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
1376
|
-
# `displayName desc`.
|
|
1301
|
+
# Field by which to sort the list. Acceptable values are: * "displayName" (
|
|
1302
|
+
# default) * "entityStatus" The default sorting order is ascending. To specify
|
|
1303
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
|
1304
|
+
# name. Example: `displayName desc`.
|
|
1377
1305
|
# @param [Fixnum] page_size
|
|
1378
1306
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
1379
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
1380
|
-
#
|
|
1307
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1308
|
+
# specified.
|
|
1381
1309
|
# @param [String] page_token
|
|
1382
|
-
# A token identifying a page of results the server should return.
|
|
1383
|
-
#
|
|
1384
|
-
#
|
|
1385
|
-
#
|
|
1386
|
-
# the first page of results will be returned.
|
|
1310
|
+
# A token identifying a page of results the server should return. Typically,
|
|
1311
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
1312
|
+
# ListInsertionOrders` method. If not specified, the first page of results will
|
|
1313
|
+
# be returned.
|
|
1387
1314
|
# @param [String] fields
|
|
1388
1315
|
# Selector specifying which fields to include in a partial response.
|
|
1389
1316
|
# @param [String] quota_user
|
|
@@ -1415,8 +1342,8 @@ module Google
|
|
|
1415
1342
|
execute_or_queue_command(command, &block)
|
|
1416
1343
|
end
|
|
1417
1344
|
|
|
1418
|
-
# Updates an existing insertion order.
|
|
1419
|
-
#
|
|
1345
|
+
# Updates an existing insertion order. Returns the updated insertion order if
|
|
1346
|
+
# successful.
|
|
1420
1347
|
# @param [Fixnum] advertiser_id
|
|
1421
1348
|
# Output only. The unique ID of the advertiser the insertion order belongs to.
|
|
1422
1349
|
# @param [Fixnum] insertion_order_id
|
|
@@ -1455,10 +1382,10 @@ module Google
|
|
|
1455
1382
|
execute_or_queue_command(command, &block)
|
|
1456
1383
|
end
|
|
1457
1384
|
|
|
1458
|
-
# Bulk edits targeting options under a single line item.
|
|
1459
|
-
#
|
|
1460
|
-
# BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and
|
|
1461
|
-
#
|
|
1385
|
+
# Bulk edits targeting options under a single line item. The operation will
|
|
1386
|
+
# delete the assigned targeting options provided in
|
|
1387
|
+
# BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then
|
|
1388
|
+
# create the assigned targeting options provided in
|
|
1462
1389
|
# BulkEditLineItemAssignedTargetingOptionsRequest.create_requests .
|
|
1463
1390
|
# @param [Fixnum] advertiser_id
|
|
1464
1391
|
# Required. The ID of the advertiser the line item belongs to.
|
|
@@ -1501,44 +1428,32 @@ module Google
|
|
|
1501
1428
|
# @param [Fixnum] line_item_id
|
|
1502
1429
|
# Required. The ID of the line item to list assigned targeting options for.
|
|
1503
1430
|
# @param [String] filter
|
|
1504
|
-
# Allows filtering by assigned targeting option properties.
|
|
1505
|
-
#
|
|
1506
|
-
#
|
|
1507
|
-
#
|
|
1508
|
-
#
|
|
1509
|
-
#
|
|
1510
|
-
#
|
|
1511
|
-
#
|
|
1512
|
-
#
|
|
1513
|
-
#
|
|
1514
|
-
#
|
|
1515
|
-
#
|
|
1516
|
-
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL
|
|
1517
|
-
# `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR
|
|
1518
|
-
# targetingType="TARGETING_TYPE_CHANNEL"`
|
|
1519
|
-
# * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
|
|
1520
|
-
# INHERITED_FROM_PARTNER
|
|
1521
|
-
# `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
|
|
1522
|
-
# The length of this field should be no more than 500 characters.
|
|
1431
|
+
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
|
1432
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
1433
|
+
# be combined by the logical operator `OR` on the same field. * A restriction
|
|
1434
|
+
# has the form of ``field` `operator` `value``. * The operator must be `EQUALS (=
|
|
1435
|
+
# )`. * Supported fields: - `targetingType` - `inheritance` Examples: *
|
|
1436
|
+
# AssignedTargetingOptions of targeting type
|
|
1437
|
+
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL `
|
|
1438
|
+
# targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
|
|
1439
|
+
# TARGETING_TYPE_CHANNEL"` * AssignedTargetingOptions with inheritance status of
|
|
1440
|
+
# NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED" OR
|
|
1441
|
+
# inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
|
|
1442
|
+
# more than 500 characters.
|
|
1523
1443
|
# @param [String] order_by
|
|
1524
|
-
# Field by which to sort the list.
|
|
1525
|
-
#
|
|
1526
|
-
#
|
|
1527
|
-
#
|
|
1528
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
1529
|
-
# `targetingType desc`.
|
|
1444
|
+
# Field by which to sort the list. Acceptable values are: * `targetingType` (
|
|
1445
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
1446
|
+
# for a field, a suffix "desc" should be added to the field name. Example: `
|
|
1447
|
+
# targetingType desc`.
|
|
1530
1448
|
# @param [Fixnum] page_size
|
|
1531
|
-
# Requested page size.
|
|
1532
|
-
#
|
|
1533
|
-
#
|
|
1534
|
-
# value is specified.
|
|
1449
|
+
# Requested page size. The size must be an integer between `1` and `5000`. If
|
|
1450
|
+
# unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
|
|
1451
|
+
# an invalid value is specified.
|
|
1535
1452
|
# @param [String] page_token
|
|
1536
|
-
# A token that lets the client fetch the next page of results.
|
|
1537
|
-
#
|
|
1538
|
-
#
|
|
1539
|
-
#
|
|
1540
|
-
# `BulkListLineItemAssignedTargetingOptions` method.
|
|
1541
|
-
# If not specified, the first page of results will be returned.
|
|
1453
|
+
# A token that lets the client fetch the next page of results. Typically, this
|
|
1454
|
+
# is the value of next_page_token returned from the previous call to `
|
|
1455
|
+
# BulkListLineItemAssignedTargetingOptions` method. If not specified, the first
|
|
1456
|
+
# page of results will be returned.
|
|
1542
1457
|
# @param [String] fields
|
|
1543
1458
|
# Selector specifying which fields to include in a partial response.
|
|
1544
1459
|
# @param [String] quota_user
|
|
@@ -1571,8 +1486,7 @@ module Google
|
|
|
1571
1486
|
execute_or_queue_command(command, &block)
|
|
1572
1487
|
end
|
|
1573
1488
|
|
|
1574
|
-
# Creates a new line item.
|
|
1575
|
-
# Returns the newly created line item if successful.
|
|
1489
|
+
# Creates a new line item. Returns the newly created line item if successful.
|
|
1576
1490
|
# @param [Fixnum] advertiser_id
|
|
1577
1491
|
# Output only. The unique ID of the advertiser the line item belongs to.
|
|
1578
1492
|
# @param [Google::Apis::DisplayvideoV1::LineItem] line_item_object
|
|
@@ -1605,11 +1519,9 @@ module Google
|
|
|
1605
1519
|
execute_or_queue_command(command, &block)
|
|
1606
1520
|
end
|
|
1607
1521
|
|
|
1608
|
-
# Deletes a line item.
|
|
1609
|
-
#
|
|
1610
|
-
#
|
|
1611
|
-
# entity_status to `ENTITY_STATUS_ARCHIVED`, to be
|
|
1612
|
-
# able to delete it.
|
|
1522
|
+
# Deletes a line item. Returns error code `NOT_FOUND` if the line item does not
|
|
1523
|
+
# exist. The line item should be archived first, i.e. set entity_status to `
|
|
1524
|
+
# ENTITY_STATUS_ARCHIVED`, to be able to delete it.
|
|
1613
1525
|
# @param [Fixnum] advertiser_id
|
|
1614
1526
|
# The ID of the advertiser this line item belongs to.
|
|
1615
1527
|
# @param [Fixnum] line_item_id
|
|
@@ -1675,53 +1587,41 @@ module Google
|
|
|
1675
1587
|
execute_or_queue_command(command, &block)
|
|
1676
1588
|
end
|
|
1677
1589
|
|
|
1678
|
-
# Lists line items in an advertiser.
|
|
1679
|
-
#
|
|
1680
|
-
#
|
|
1681
|
-
# If a filter by
|
|
1682
|
-
# entity_status is not specified, line items with
|
|
1683
|
-
# `ENTITY_STATUS_ARCHIVED` will not be included in the results.
|
|
1590
|
+
# Lists line items in an advertiser. The order is defined by the order_by
|
|
1591
|
+
# parameter. If a filter by entity_status is not specified, line items with `
|
|
1592
|
+
# ENTITY_STATUS_ARCHIVED` will not be included in the results.
|
|
1684
1593
|
# @param [Fixnum] advertiser_id
|
|
1685
1594
|
# Required. The ID of the advertiser to list line items for.
|
|
1686
1595
|
# @param [String] filter
|
|
1687
|
-
# Allows filtering by line item properties.
|
|
1688
|
-
#
|
|
1689
|
-
#
|
|
1690
|
-
# *
|
|
1691
|
-
#
|
|
1692
|
-
# *
|
|
1693
|
-
#
|
|
1694
|
-
#
|
|
1695
|
-
#
|
|
1696
|
-
#
|
|
1697
|
-
#
|
|
1698
|
-
#
|
|
1699
|
-
#
|
|
1700
|
-
#
|
|
1701
|
-
#
|
|
1702
|
-
# and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser:
|
|
1703
|
-
# `(entityStatus="ENTITY_STATUS_ACTIVE" OR
|
|
1704
|
-
# entityStatus="ENTITY_STATUS_PAUSED") AND
|
|
1705
|
-
# lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"`
|
|
1706
|
-
# The length of this field should be no more than 500 characters.
|
|
1596
|
+
# Allows filtering by line item properties. Supported syntax: * Filter
|
|
1597
|
+
# expressions are made up of one or more restrictions. * Restrictions can be
|
|
1598
|
+
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
|
1599
|
+
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
|
1600
|
+
# value``. * The operator used on `flight.dateRange.endDate` must be LESS THAN (<
|
|
1601
|
+
# ). * The operators used on all other fields must be `EQUALS (=)`. * Supported
|
|
1602
|
+
# fields: - `campaignId` - `insertionOrderId` - `entityStatus` - `lineItemType` -
|
|
1603
|
+
# `flight.dateRange.endDate` (input formatted as YYYY-MM-DD) Examples: * All
|
|
1604
|
+
# line items under an insertion order: `insertionOrderId="1234"` * All `
|
|
1605
|
+
# ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `
|
|
1606
|
+
# LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=
|
|
1607
|
+
# "ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") AND
|
|
1608
|
+
# lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * All line items whose flight
|
|
1609
|
+
# dates end before March 28, 2019: `flight.dateRange.endDate<"2019-03-28"` The
|
|
1610
|
+
# length of this field should be no more than 500 characters.
|
|
1707
1611
|
# @param [String] order_by
|
|
1708
|
-
# Field by which to sort the list.
|
|
1709
|
-
#
|
|
1710
|
-
#
|
|
1711
|
-
#
|
|
1712
|
-
# The default sorting order is ascending. To specify descending order for
|
|
1713
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
1714
|
-
# `displayName desc`.
|
|
1612
|
+
# Field by which to sort the list. Acceptable values are: * "displayName" (
|
|
1613
|
+
# default) * "entityStatus" * “flight.dateRange.endDate” The default sorting
|
|
1614
|
+
# order is ascending. To specify descending order for a field, a suffix "desc"
|
|
1615
|
+
# should be added to the field name. Example: `displayName desc`.
|
|
1715
1616
|
# @param [Fixnum] page_size
|
|
1716
1617
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
1717
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
1718
|
-
#
|
|
1618
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1619
|
+
# specified.
|
|
1719
1620
|
# @param [String] page_token
|
|
1720
|
-
# A token identifying a page of results the server should return.
|
|
1721
|
-
#
|
|
1722
|
-
#
|
|
1723
|
-
# returned
|
|
1724
|
-
# If not specified, the first page of results will be returned.
|
|
1621
|
+
# A token identifying a page of results the server should return. Typically,
|
|
1622
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
1623
|
+
# ListLineItems` method. If not specified, the first page of results will be
|
|
1624
|
+
# returned.
|
|
1725
1625
|
# @param [String] fields
|
|
1726
1626
|
# Selector specifying which fields to include in a partial response.
|
|
1727
1627
|
# @param [String] quota_user
|
|
@@ -1753,8 +1653,7 @@ module Google
|
|
|
1753
1653
|
execute_or_queue_command(command, &block)
|
|
1754
1654
|
end
|
|
1755
1655
|
|
|
1756
|
-
# Updates an existing line item.
|
|
1757
|
-
# Returns the updated line item if successful.
|
|
1656
|
+
# Updates an existing line item. Returns the updated line item if successful.
|
|
1758
1657
|
# @param [Fixnum] advertiser_id
|
|
1759
1658
|
# Output only. The unique ID of the advertiser the line item belongs to.
|
|
1760
1659
|
# @param [Fixnum] line_item_id
|
|
@@ -1793,8 +1692,8 @@ module Google
|
|
|
1793
1692
|
execute_or_queue_command(command, &block)
|
|
1794
1693
|
end
|
|
1795
1694
|
|
|
1796
|
-
# Assigns a targeting option to a line item.
|
|
1797
|
-
#
|
|
1695
|
+
# Assigns a targeting option to a line item. Returns the assigned targeting
|
|
1696
|
+
# option if successful.
|
|
1798
1697
|
# @param [Fixnum] advertiser_id
|
|
1799
1698
|
# Required. The ID of the advertiser the line item belongs to.
|
|
1800
1699
|
# @param [Fixnum] line_item_id
|
|
@@ -1920,39 +1819,30 @@ module Google
|
|
|
1920
1819
|
# @param [String] targeting_type
|
|
1921
1820
|
# Required. Identifies the type of assigned targeting options to list.
|
|
1922
1821
|
# @param [String] filter
|
|
1923
|
-
# Allows filtering by assigned targeting option properties.
|
|
1924
|
-
#
|
|
1925
|
-
#
|
|
1926
|
-
#
|
|
1927
|
-
#
|
|
1928
|
-
#
|
|
1929
|
-
# *
|
|
1930
|
-
#
|
|
1931
|
-
#
|
|
1932
|
-
#
|
|
1933
|
-
# * AssignedTargetingOptions with ID 1 or 2
|
|
1934
|
-
# `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"`
|
|
1935
|
-
# * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
|
|
1936
|
-
# INHERITED_FROM_PARTNER
|
|
1937
|
-
# `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
|
|
1938
|
-
# The length of this field should be no more than 500 characters.
|
|
1822
|
+
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
|
1823
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
1824
|
+
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
|
1825
|
+
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
|
1826
|
+
# fields: - `assignedTargetingOptionId` - `inheritance` Examples: *
|
|
1827
|
+
# AssignedTargetingOptions with ID 1 or 2 `assignedTargetingOptionId="1" OR
|
|
1828
|
+
# assignedTargetingOptionId="2"` * AssignedTargetingOptions with inheritance
|
|
1829
|
+
# status of NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED"
|
|
1830
|
+
# OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
|
|
1831
|
+
# more than 500 characters.
|
|
1939
1832
|
# @param [String] order_by
|
|
1940
|
-
# Field by which to sort the list.
|
|
1941
|
-
#
|
|
1942
|
-
#
|
|
1943
|
-
#
|
|
1944
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
1945
|
-
# `assignedTargetingOptionId desc`.
|
|
1833
|
+
# Field by which to sort the list. Acceptable values are: * `
|
|
1834
|
+
# assignedTargetingOptionId` (default) The default sorting order is ascending.
|
|
1835
|
+
# To specify descending order for a field, a suffix "desc" should be added to
|
|
1836
|
+
# the field name. Example: `assignedTargetingOptionId desc`.
|
|
1946
1837
|
# @param [Fixnum] page_size
|
|
1947
1838
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
1948
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
1949
|
-
#
|
|
1839
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1840
|
+
# specified.
|
|
1950
1841
|
# @param [String] page_token
|
|
1951
|
-
# A token identifying a page of results the server should return.
|
|
1952
|
-
#
|
|
1953
|
-
#
|
|
1954
|
-
#
|
|
1955
|
-
# method. If not specified, the first page of results will be returned.
|
|
1842
|
+
# A token identifying a page of results the server should return. Typically,
|
|
1843
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
1844
|
+
# ListLineItemAssignedTargetingOptions` method. If not specified, the first page
|
|
1845
|
+
# of results will be returned.
|
|
1956
1846
|
# @param [String] fields
|
|
1957
1847
|
# Selector specifying which fields to include in a partial response.
|
|
1958
1848
|
# @param [String] quota_user
|
|
@@ -2059,38 +1949,27 @@ module Google
|
|
|
2059
1949
|
# Required. The ID of the DV360 advertiser to which the fetched location lists
|
|
2060
1950
|
# belong.
|
|
2061
1951
|
# @param [String] filter
|
|
2062
|
-
# Allows filtering by location list fields.
|
|
2063
|
-
#
|
|
2064
|
-
#
|
|
2065
|
-
# *
|
|
2066
|
-
#
|
|
2067
|
-
#
|
|
2068
|
-
# *
|
|
2069
|
-
#
|
|
2070
|
-
# - `locationType`
|
|
2071
|
-
# Examples:
|
|
2072
|
-
# * All regional location list:
|
|
2073
|
-
# `locationType="TARGETING_LOCATION_TYPE_REGIONAL"`
|
|
2074
|
-
# * All proximity location list:
|
|
2075
|
-
# `locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
|
|
1952
|
+
# Allows filtering by location list fields. Supported syntax: * Filter
|
|
1953
|
+
# expressions are made up of one or more restrictions. * Restrictions can be
|
|
1954
|
+
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
|
1955
|
+
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
|
1956
|
+
# value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
|
|
1957
|
+
# locationType` Examples: * All regional location list: `locationType="
|
|
1958
|
+
# TARGETING_LOCATION_TYPE_REGIONAL"` * All proximity location list: `
|
|
1959
|
+
# locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
|
|
2076
1960
|
# @param [String] order_by
|
|
2077
|
-
# Field by which to sort the list.
|
|
2078
|
-
#
|
|
2079
|
-
#
|
|
2080
|
-
#
|
|
2081
|
-
# The default sorting order is ascending. To specify descending order for
|
|
2082
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
2083
|
-
# `displayName desc`.
|
|
1961
|
+
# Field by which to sort the list. Acceptable values are: * `locationListId` (
|
|
1962
|
+
# default) * `displayName` The default sorting order is ascending. To specify
|
|
1963
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
|
1964
|
+
# name. Example: `displayName desc`.
|
|
2084
1965
|
# @param [Fixnum] page_size
|
|
2085
|
-
# Requested page size. Must be between `1` and `100`.
|
|
2086
|
-
#
|
|
2087
|
-
# invalid value is specified.
|
|
1966
|
+
# Requested page size. Must be between `1` and `100`. Defaults to `100` if not
|
|
1967
|
+
# set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
|
|
2088
1968
|
# @param [String] page_token
|
|
2089
|
-
# A token identifying a page of results the server should return.
|
|
2090
|
-
#
|
|
2091
|
-
#
|
|
2092
|
-
# returned
|
|
2093
|
-
# If not specified, the first page of results will be returned.
|
|
1969
|
+
# A token identifying a page of results the server should return. Typically,
|
|
1970
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
1971
|
+
# ListLocationLists` method. If not specified, the first page of results will be
|
|
1972
|
+
# returned.
|
|
2094
1973
|
# @param [String] fields
|
|
2095
1974
|
# Selector specifying which fields to include in a partial response.
|
|
2096
1975
|
# @param [String] quota_user
|
|
@@ -2161,12 +2040,11 @@ module Google
|
|
|
2161
2040
|
execute_or_queue_command(command, &block)
|
|
2162
2041
|
end
|
|
2163
2042
|
|
|
2164
|
-
# Bulk edits multiple assignments between locations and a single location
|
|
2165
|
-
# list.
|
|
2043
|
+
# Bulk edits multiple assignments between locations and a single location list.
|
|
2166
2044
|
# The operation will delete the assigned locations provided in
|
|
2167
|
-
# BulkEditAssignedLocationsRequest.deleted_assigned_locations and then
|
|
2168
|
-
#
|
|
2169
|
-
#
|
|
2045
|
+
# BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create
|
|
2046
|
+
# the assigned locations provided in BulkEditAssignedLocationsRequest.
|
|
2047
|
+
# created_assigned_locations.
|
|
2170
2048
|
# @param [Fixnum] advertiser_id
|
|
2171
2049
|
# Required. The ID of the DV360 advertiser to which the location list belongs.
|
|
2172
2050
|
# @param [Fixnum] location_list_id
|
|
@@ -2280,32 +2158,26 @@ module Google
|
|
|
2280
2158
|
# @param [Fixnum] location_list_id
|
|
2281
2159
|
# Required. The ID of the location list to which these assignments are assigned.
|
|
2282
2160
|
# @param [String] filter
|
|
2283
|
-
# Allows filtering by location list assignment fields.
|
|
2284
|
-
#
|
|
2285
|
-
#
|
|
2286
|
-
#
|
|
2287
|
-
#
|
|
2288
|
-
#
|
|
2289
|
-
# * Supported fields:
|
|
2290
|
-
# - `assignedLocationId`
|
|
2291
|
-
# The length of this field should be no more than 500 characters.
|
|
2161
|
+
# Allows filtering by location list assignment fields. Supported syntax: *
|
|
2162
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
2163
|
+
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
|
2164
|
+
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
|
2165
|
+
# fields: - `assignedLocationId` The length of this field should be no more than
|
|
2166
|
+
# 500 characters.
|
|
2292
2167
|
# @param [String] order_by
|
|
2293
|
-
# Field by which to sort the list.
|
|
2294
|
-
#
|
|
2295
|
-
#
|
|
2296
|
-
#
|
|
2297
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
2298
|
-
# `assignedLocationId desc`.
|
|
2168
|
+
# Field by which to sort the list. Acceptable values are: * `assignedLocationId`
|
|
2169
|
+
# (default) The default sorting order is ascending. To specify descending order
|
|
2170
|
+
# for a field, a suffix " desc" should be added to the field name. Example: `
|
|
2171
|
+
# assignedLocationId desc`.
|
|
2299
2172
|
# @param [Fixnum] page_size
|
|
2300
2173
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2301
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
2302
|
-
#
|
|
2174
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2175
|
+
# specified.
|
|
2303
2176
|
# @param [String] page_token
|
|
2304
|
-
# A token identifying a page of results the server should return.
|
|
2305
|
-
#
|
|
2306
|
-
#
|
|
2307
|
-
#
|
|
2308
|
-
# method. If not specified, the first page of results will be returned.
|
|
2177
|
+
# A token identifying a page of results the server should return. Typically,
|
|
2178
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
2179
|
+
# ListAssignedLocations` method. If not specified, the first page of results
|
|
2180
|
+
# will be returned.
|
|
2309
2181
|
# @param [String] fields
|
|
2310
2182
|
# Selector specifying which fields to include in a partial response.
|
|
2311
2183
|
# @param [String] quota_user
|
|
@@ -2342,8 +2214,7 @@ module Google
|
|
|
2342
2214
|
# keyword list if successful.
|
|
2343
2215
|
# @param [Fixnum] advertiser_id
|
|
2344
2216
|
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
|
2345
|
-
# will
|
|
2346
|
-
# belong.
|
|
2217
|
+
# will belong.
|
|
2347
2218
|
# @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
|
|
2348
2219
|
# @param [String] fields
|
|
2349
2220
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2374,8 +2245,8 @@ module Google
|
|
|
2374
2245
|
execute_or_queue_command(command, &block)
|
|
2375
2246
|
end
|
|
2376
2247
|
|
|
2377
|
-
# Deletes a negative keyword list given an advertiser ID and a negative
|
|
2378
|
-
#
|
|
2248
|
+
# Deletes a negative keyword list given an advertiser ID and a negative keyword
|
|
2249
|
+
# list ID.
|
|
2379
2250
|
# @param [Fixnum] advertiser_id
|
|
2380
2251
|
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
|
2381
2252
|
# belongs.
|
|
@@ -2413,8 +2284,7 @@ module Google
|
|
|
2413
2284
|
# list ID.
|
|
2414
2285
|
# @param [Fixnum] advertiser_id
|
|
2415
2286
|
# Required. The ID of the DV360 advertiser to which the fetched negative keyword
|
|
2416
|
-
# list
|
|
2417
|
-
# belongs.
|
|
2287
|
+
# list belongs.
|
|
2418
2288
|
# @param [Fixnum] negative_keyword_list_id
|
|
2419
2289
|
# Required. The ID of the negative keyword list to fetch.
|
|
2420
2290
|
# @param [String] fields
|
|
@@ -2448,18 +2318,15 @@ module Google
|
|
|
2448
2318
|
# Lists negative keyword lists based on a given advertiser id.
|
|
2449
2319
|
# @param [Fixnum] advertiser_id
|
|
2450
2320
|
# Required. The ID of the DV360 advertiser to which the fetched negative keyword
|
|
2451
|
-
# lists
|
|
2452
|
-
# belong.
|
|
2321
|
+
# lists belong.
|
|
2453
2322
|
# @param [Fixnum] page_size
|
|
2454
|
-
# Requested page size. Must be between `1` and `100`.
|
|
2455
|
-
#
|
|
2456
|
-
# invalid value is specified.
|
|
2323
|
+
# Requested page size. Must be between `1` and `100`. Defaults to `100` if not
|
|
2324
|
+
# set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
|
|
2457
2325
|
# @param [String] page_token
|
|
2458
|
-
# A token identifying a page of results the server should return.
|
|
2459
|
-
#
|
|
2460
|
-
#
|
|
2461
|
-
#
|
|
2462
|
-
# If not specified, the first page of results will be returned.
|
|
2326
|
+
# A token identifying a page of results the server should return. Typically,
|
|
2327
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
2328
|
+
# ListNegativeKeywordLists` method. If not specified, the first page of results
|
|
2329
|
+
# will be returned.
|
|
2463
2330
|
# @param [String] fields
|
|
2464
2331
|
# Selector specifying which fields to include in a partial response.
|
|
2465
2332
|
# @param [String] quota_user
|
|
@@ -2489,8 +2356,8 @@ module Google
|
|
|
2489
2356
|
execute_or_queue_command(command, &block)
|
|
2490
2357
|
end
|
|
2491
2358
|
|
|
2492
|
-
# Updates a negative keyword list. Returns the updated negative keyword list
|
|
2493
|
-
#
|
|
2359
|
+
# Updates a negative keyword list. Returns the updated negative keyword list if
|
|
2360
|
+
# successful.
|
|
2494
2361
|
# @param [Fixnum] advertiser_id
|
|
2495
2362
|
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
|
2496
2363
|
# belongs.
|
|
@@ -2531,21 +2398,18 @@ module Google
|
|
|
2531
2398
|
execute_or_queue_command(command, &block)
|
|
2532
2399
|
end
|
|
2533
2400
|
|
|
2534
|
-
# Bulk edits negative keywords in a single negative keyword list.
|
|
2535
|
-
#
|
|
2536
|
-
#
|
|
2537
|
-
#
|
|
2538
|
-
#
|
|
2539
|
-
#
|
|
2540
|
-
# partial success or partial failure.
|
|
2401
|
+
# Bulk edits negative keywords in a single negative keyword list. The operation
|
|
2402
|
+
# will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.
|
|
2403
|
+
# deleted_negative_keywords and then create the negative keywords provided in
|
|
2404
|
+
# BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is
|
|
2405
|
+
# guaranteed to be atomic and will never result in a partial success or partial
|
|
2406
|
+
# failure.
|
|
2541
2407
|
# @param [Fixnum] advertiser_id
|
|
2542
2408
|
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
|
2543
|
-
# list
|
|
2544
|
-
# belongs.
|
|
2409
|
+
# list belongs.
|
|
2545
2410
|
# @param [Fixnum] negative_keyword_list_id
|
|
2546
2411
|
# Required. The ID of the parent negative keyword list to which the negative
|
|
2547
|
-
# keywords
|
|
2548
|
-
# belong.
|
|
2412
|
+
# keywords belong.
|
|
2549
2413
|
# @param [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest] bulk_edit_negative_keywords_request_object
|
|
2550
2414
|
# @param [String] fields
|
|
2551
2415
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2580,12 +2444,10 @@ module Google
|
|
|
2580
2444
|
# Creates a negative keyword in a negative keyword list.
|
|
2581
2445
|
# @param [Fixnum] advertiser_id
|
|
2582
2446
|
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
|
2583
|
-
# list
|
|
2584
|
-
# belongs.
|
|
2447
|
+
# list belongs.
|
|
2585
2448
|
# @param [Fixnum] negative_keyword_list_id
|
|
2586
2449
|
# Required. The ID of the parent negative keyword list in which the negative
|
|
2587
|
-
# keyword
|
|
2588
|
-
# will be created.
|
|
2450
|
+
# keyword will be created.
|
|
2589
2451
|
# @param [Google::Apis::DisplayvideoV1::NegativeKeyword] negative_keyword_object
|
|
2590
2452
|
# @param [String] fields
|
|
2591
2453
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2620,12 +2482,10 @@ module Google
|
|
|
2620
2482
|
# Deletes a negative keyword from a negative keyword list.
|
|
2621
2483
|
# @param [Fixnum] advertiser_id
|
|
2622
2484
|
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
|
2623
|
-
# list
|
|
2624
|
-
# belongs.
|
|
2485
|
+
# list belongs.
|
|
2625
2486
|
# @param [Fixnum] negative_keyword_list_id
|
|
2626
2487
|
# Required. The ID of the parent negative keyword list to which the negative
|
|
2627
|
-
# keyword
|
|
2628
|
-
# belongs.
|
|
2488
|
+
# keyword belongs.
|
|
2629
2489
|
# @param [String] keyword_value
|
|
2630
2490
|
# Required. The keyword value of the negative keyword to delete.
|
|
2631
2491
|
# @param [String] fields
|
|
@@ -2660,42 +2520,31 @@ module Google
|
|
|
2660
2520
|
# Lists negative keywords in a negative keyword list.
|
|
2661
2521
|
# @param [Fixnum] advertiser_id
|
|
2662
2522
|
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
|
2663
|
-
# list
|
|
2664
|
-
# belongs.
|
|
2523
|
+
# list belongs.
|
|
2665
2524
|
# @param [Fixnum] negative_keyword_list_id
|
|
2666
2525
|
# Required. The ID of the parent negative keyword list to which the requested
|
|
2667
|
-
# negative
|
|
2668
|
-
# keywords belong.
|
|
2526
|
+
# negative keywords belong.
|
|
2669
2527
|
# @param [String] filter
|
|
2670
|
-
# Allows filtering by negative keyword fields.
|
|
2671
|
-
#
|
|
2672
|
-
# *
|
|
2673
|
-
#
|
|
2674
|
-
# *
|
|
2675
|
-
#
|
|
2676
|
-
# * The operator must be `CONTAINS (:)`.
|
|
2677
|
-
# * Supported fields:
|
|
2678
|
-
# - `keywordValue`
|
|
2679
|
-
# Examples:
|
|
2680
|
-
# * All negative keywords for which the keyword value contains "google":
|
|
2681
|
-
# `keywordValue : "google"`
|
|
2528
|
+
# Allows filtering by negative keyword fields. Supported syntax: * Filter
|
|
2529
|
+
# expressions for negative keyword currently can only contain at most one *
|
|
2530
|
+
# restriction. * A restriction has the form of ``field` `operator` `value``. *
|
|
2531
|
+
# The operator must be `CONTAINS (:)`. * Supported fields: - `keywordValue`
|
|
2532
|
+
# Examples: * All negative keywords for which the keyword value contains "google"
|
|
2533
|
+
# : `keywordValue : "google"`
|
|
2682
2534
|
# @param [String] order_by
|
|
2683
|
-
# Field by which to sort the list.
|
|
2684
|
-
#
|
|
2685
|
-
#
|
|
2686
|
-
#
|
|
2687
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
2688
|
-
# `keywordValue desc`.
|
|
2535
|
+
# Field by which to sort the list. Acceptable values are: * `keywordValue` (
|
|
2536
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
2537
|
+
# for a field, a suffix " desc" should be added to the field name. Example: `
|
|
2538
|
+
# keywordValue desc`.
|
|
2689
2539
|
# @param [Fixnum] page_size
|
|
2690
2540
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2691
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
2692
|
-
#
|
|
2541
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2542
|
+
# specified.
|
|
2693
2543
|
# @param [String] page_token
|
|
2694
|
-
# A token identifying a page of results the server should return.
|
|
2695
|
-
#
|
|
2696
|
-
#
|
|
2697
|
-
#
|
|
2698
|
-
# the first page of results will be returned.
|
|
2544
|
+
# A token identifying a page of results the server should return. Typically,
|
|
2545
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
2546
|
+
# ListNegativeKeywords` method. If not specified, the first page of results will
|
|
2547
|
+
# be returned.
|
|
2699
2548
|
# @param [String] fields
|
|
2700
2549
|
# Selector specifying which fields to include in a partial response.
|
|
2701
2550
|
# @param [String] quota_user
|
|
@@ -2728,8 +2577,8 @@ module Google
|
|
|
2728
2577
|
execute_or_queue_command(command, &block)
|
|
2729
2578
|
end
|
|
2730
2579
|
|
|
2731
|
-
# Assigns a targeting option to an advertiser.
|
|
2732
|
-
#
|
|
2580
|
+
# Assigns a targeting option to an advertiser. Returns the assigned targeting
|
|
2581
|
+
# option if successful.
|
|
2733
2582
|
# @param [Fixnum] advertiser_id
|
|
2734
2583
|
# Required. The ID of the advertiser.
|
|
2735
2584
|
# @param [String] targeting_type
|
|
@@ -2844,35 +2693,27 @@ module Google
|
|
|
2844
2693
|
# @param [String] targeting_type
|
|
2845
2694
|
# Required. Identifies the type of assigned targeting options to list.
|
|
2846
2695
|
# @param [String] filter
|
|
2847
|
-
# Allows filtering by assigned targeting option properties.
|
|
2848
|
-
#
|
|
2849
|
-
#
|
|
2850
|
-
#
|
|
2851
|
-
#
|
|
2852
|
-
#
|
|
2853
|
-
#
|
|
2854
|
-
# - `assignedTargetingOptionId`
|
|
2855
|
-
# Examples:
|
|
2856
|
-
# * AssignedTargetingOption with ID 123456
|
|
2857
|
-
# `assignedTargetingOptionId="123456"`
|
|
2858
|
-
# The length of this field should be no more than 500 characters.
|
|
2696
|
+
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
|
2697
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
2698
|
+
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
|
2699
|
+
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
|
2700
|
+
# fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
|
|
2701
|
+
# ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
|
|
2702
|
+
# be no more than 500 characters.
|
|
2859
2703
|
# @param [String] order_by
|
|
2860
|
-
# Field by which to sort the list.
|
|
2861
|
-
#
|
|
2862
|
-
#
|
|
2863
|
-
#
|
|
2864
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
2865
|
-
# `assignedTargetingOptionId desc`.
|
|
2704
|
+
# Field by which to sort the list. Acceptable values are: * `
|
|
2705
|
+
# assignedTargetingOptionId` (default) The default sorting order is ascending.
|
|
2706
|
+
# To specify descending order for a field, a suffix "desc" should be added to
|
|
2707
|
+
# the field name. Example: `assignedTargetingOptionId desc`.
|
|
2866
2708
|
# @param [Fixnum] page_size
|
|
2867
2709
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2868
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
2869
|
-
#
|
|
2710
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2711
|
+
# specified.
|
|
2870
2712
|
# @param [String] page_token
|
|
2871
|
-
# A token identifying a page of results the server should return.
|
|
2872
|
-
#
|
|
2873
|
-
#
|
|
2874
|
-
#
|
|
2875
|
-
# method. If not specified, the first page of results will be returned.
|
|
2713
|
+
# A token identifying a page of results the server should return. Typically,
|
|
2714
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
2715
|
+
# ListAdvertiserAssignedTargetingOptions` method. If not specified, the first
|
|
2716
|
+
# page of results will be returned.
|
|
2876
2717
|
# @param [String] fields
|
|
2877
2718
|
# Selector specifying which fields to include in a partial response.
|
|
2878
2719
|
# @param [String] quota_user
|
|
@@ -2909,8 +2750,7 @@ module Google
|
|
|
2909
2750
|
# @param [Fixnum] combined_audience_id
|
|
2910
2751
|
# Required. The ID of the combined audience to fetch.
|
|
2911
2752
|
# @param [Fixnum] advertiser_id
|
|
2912
|
-
# The ID of the advertiser that has access to the fetched combined
|
|
2913
|
-
# audience.
|
|
2753
|
+
# The ID of the advertiser that has access to the fetched combined audience.
|
|
2914
2754
|
# @param [Fixnum] partner_id
|
|
2915
2755
|
# The ID of the partner that has access to the fetched combined audience.
|
|
2916
2756
|
# @param [String] fields
|
|
@@ -2942,43 +2782,31 @@ module Google
|
|
|
2942
2782
|
execute_or_queue_command(command, &block)
|
|
2943
2783
|
end
|
|
2944
2784
|
|
|
2945
|
-
# Lists combined audiences.
|
|
2946
|
-
# The order is defined by the
|
|
2947
|
-
# order_by parameter.
|
|
2785
|
+
# Lists combined audiences. The order is defined by the order_by parameter.
|
|
2948
2786
|
# @param [Fixnum] advertiser_id
|
|
2949
|
-
# The ID of the advertiser that has access to the fetched combined
|
|
2950
|
-
# audiences.
|
|
2787
|
+
# The ID of the advertiser that has access to the fetched combined audiences.
|
|
2951
2788
|
# @param [String] filter
|
|
2952
|
-
# Allows filtering by combined audience fields.
|
|
2953
|
-
#
|
|
2954
|
-
# *
|
|
2955
|
-
#
|
|
2956
|
-
# *
|
|
2957
|
-
#
|
|
2958
|
-
#
|
|
2959
|
-
# - `displayName`
|
|
2960
|
-
# Examples:
|
|
2961
|
-
# * All combined audiences for which the display name contains "Google":
|
|
2962
|
-
# `displayName : "Google"`.
|
|
2963
|
-
# The length of this field should be no more than 500 characters.
|
|
2789
|
+
# Allows filtering by combined audience fields. Supported syntax: * Filter
|
|
2790
|
+
# expressions for combined audiences currently can only contain at most one
|
|
2791
|
+
# restriction. * A restriction has the form of ``field` `operator` `value``. *
|
|
2792
|
+
# The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
|
|
2793
|
+
# Examples: * All combined audiences for which the display name contains "Google"
|
|
2794
|
+
# : `displayName : "Google"`. The length of this field should be no more than
|
|
2795
|
+
# 500 characters.
|
|
2964
2796
|
# @param [String] order_by
|
|
2965
|
-
# Field by which to sort the list.
|
|
2966
|
-
#
|
|
2967
|
-
#
|
|
2968
|
-
#
|
|
2969
|
-
# The default sorting order is ascending. To specify descending order for
|
|
2970
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
2971
|
-
# `displayName desc`.
|
|
2797
|
+
# Field by which to sort the list. Acceptable values are: * `combinedAudienceId`
|
|
2798
|
+
# (default) * `displayName` The default sorting order is ascending. To specify
|
|
2799
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
|
2800
|
+
# name. Example: `displayName desc`.
|
|
2972
2801
|
# @param [Fixnum] page_size
|
|
2973
2802
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2974
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
2975
|
-
#
|
|
2803
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2804
|
+
# specified.
|
|
2976
2805
|
# @param [String] page_token
|
|
2977
|
-
# A token identifying a page of results the server should return.
|
|
2978
|
-
#
|
|
2979
|
-
#
|
|
2980
|
-
#
|
|
2981
|
-
# If not specified, the first page of results will be returned.
|
|
2806
|
+
# A token identifying a page of results the server should return. Typically,
|
|
2807
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
2808
|
+
# ListCombinedAudiences` method. If not specified, the first page of results
|
|
2809
|
+
# will be returned.
|
|
2982
2810
|
# @param [Fixnum] partner_id
|
|
2983
2811
|
# The ID of the partner that has access to the fetched combined audiences.
|
|
2984
2812
|
# @param [String] fields
|
|
@@ -3013,12 +2841,115 @@ module Google
|
|
|
3013
2841
|
execute_or_queue_command(command, &block)
|
|
3014
2842
|
end
|
|
3015
2843
|
|
|
2844
|
+
# Gets a custom bidding algorithm.
|
|
2845
|
+
# @param [Fixnum] custom_bidding_algorithm_id
|
|
2846
|
+
# Required. The ID of the custom bidding algorithm to fetch.
|
|
2847
|
+
# @param [Fixnum] advertiser_id
|
|
2848
|
+
# The ID of the DV3 partner that has access to the custom bidding algorithm.
|
|
2849
|
+
# @param [Fixnum] partner_id
|
|
2850
|
+
# The ID of the DV3 partner that has access to the custom bidding algorithm.
|
|
2851
|
+
# @param [String] fields
|
|
2852
|
+
# Selector specifying which fields to include in a partial response.
|
|
2853
|
+
# @param [String] quota_user
|
|
2854
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2855
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2856
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2857
|
+
# Request-specific options
|
|
2858
|
+
#
|
|
2859
|
+
# @yield [result, err] Result & error if block supplied
|
|
2860
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm] parsed result object
|
|
2861
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2862
|
+
#
|
|
2863
|
+
# @return [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm]
|
|
2864
|
+
#
|
|
2865
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2866
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2867
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2868
|
+
def get_custom_bidding_algorithm(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2869
|
+
command = make_simple_command(:get, 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}', options)
|
|
2870
|
+
command.response_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation
|
|
2871
|
+
command.response_class = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
|
|
2872
|
+
command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil?
|
|
2873
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
2874
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
|
2875
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2876
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2877
|
+
execute_or_queue_command(command, &block)
|
|
2878
|
+
end
|
|
2879
|
+
|
|
2880
|
+
# Lists custom bidding algorithms that are accessible to the current user and
|
|
2881
|
+
# can be used in bidding stratgies. The order is defined by the order_by
|
|
2882
|
+
# parameter.
|
|
2883
|
+
# @param [Fixnum] advertiser_id
|
|
2884
|
+
# The ID of the DV3 advertiser that has access to the custom bidding algorithm.
|
|
2885
|
+
# @param [String] filter
|
|
2886
|
+
# Allows filtering by custom bidding algorithm fields. Supported syntax: *
|
|
2887
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
2888
|
+
# be combined by `AND`. A sequence of restrictions * implicitly uses `AND`. * A
|
|
2889
|
+
# restriction has the form of ``field` `operator` `value``. * The operator must
|
|
2890
|
+
# be `CONTAINS (:)` or `EQUALS (=)`. * The operator must be `CONTAINS (:)` for
|
|
2891
|
+
# the following field: - `displayName` * The operator must be `EQUALS (=)` for
|
|
2892
|
+
# the following field: - `customBiddingAlgorithmType` * For `displayName`, the
|
|
2893
|
+
# value is a string. We return all custom bidding algorithms whose display_name
|
|
2894
|
+
# contains such string. * For `customBiddingAlgorithmType`, the value is a
|
|
2895
|
+
# string. We return all algorithms whose custom_bidding_algorithm_type is equal
|
|
2896
|
+
# to the given type. Examples: * All custom bidding algorithms for which the
|
|
2897
|
+
# display name contains "politics": `displayName:politics`. * All custom bidding
|
|
2898
|
+
# algorithms for which the type is "SCRIPT_BASED": `customBiddingAlgorithmType=
|
|
2899
|
+
# SCRIPT_BASED` The length of this field should be no more than 500 characters.
|
|
2900
|
+
# @param [String] order_by
|
|
2901
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
|
2902
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
2903
|
+
# for a field, a suffix "desc" should be added to the field name. Example: `
|
|
2904
|
+
# displayName desc`.
|
|
2905
|
+
# @param [Fixnum] page_size
|
|
2906
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2907
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2908
|
+
# specified.
|
|
2909
|
+
# @param [String] page_token
|
|
2910
|
+
# A token identifying a page of results the server should return. Typically,
|
|
2911
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
2912
|
+
# ListCustomBiddingAlgorithms` method. If not specified, the first page of
|
|
2913
|
+
# results will be returned.
|
|
2914
|
+
# @param [Fixnum] partner_id
|
|
2915
|
+
# The ID of the DV3 partner that has access to the custom bidding algorithm.
|
|
2916
|
+
# @param [String] fields
|
|
2917
|
+
# Selector specifying which fields to include in a partial response.
|
|
2918
|
+
# @param [String] quota_user
|
|
2919
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2920
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2921
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2922
|
+
# Request-specific options
|
|
2923
|
+
#
|
|
2924
|
+
# @yield [result, err] Result & error if block supplied
|
|
2925
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse] parsed result object
|
|
2926
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2927
|
+
#
|
|
2928
|
+
# @return [Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse]
|
|
2929
|
+
#
|
|
2930
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2931
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2932
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2933
|
+
def list_custom_bidding_algorithms(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2934
|
+
command = make_simple_command(:get, 'v1/customBiddingAlgorithms', options)
|
|
2935
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse::Representation
|
|
2936
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse
|
|
2937
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
2938
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2939
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2940
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2941
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2942
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
|
2943
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2944
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2945
|
+
execute_or_queue_command(command, &block)
|
|
2946
|
+
end
|
|
2947
|
+
|
|
3016
2948
|
# Gets a custom list.
|
|
3017
2949
|
# @param [Fixnum] custom_list_id
|
|
3018
2950
|
# Required. The ID of the custom list to fetch.
|
|
3019
2951
|
# @param [Fixnum] advertiser_id
|
|
3020
|
-
# The ID of the DV360 advertiser that has access to the fetched custom
|
|
3021
|
-
# lists.
|
|
2952
|
+
# The ID of the DV360 advertiser that has access to the fetched custom lists.
|
|
3022
2953
|
# @param [String] fields
|
|
3023
2954
|
# Selector specifying which fields to include in a partial response.
|
|
3024
2955
|
# @param [String] quota_user
|
|
@@ -3047,43 +2978,30 @@ module Google
|
|
|
3047
2978
|
execute_or_queue_command(command, &block)
|
|
3048
2979
|
end
|
|
3049
2980
|
|
|
3050
|
-
# Lists custom lists.
|
|
3051
|
-
# The order is defined by the order_by
|
|
3052
|
-
# parameter.
|
|
2981
|
+
# Lists custom lists. The order is defined by the order_by parameter.
|
|
3053
2982
|
# @param [Fixnum] advertiser_id
|
|
3054
|
-
# The ID of the DV360 advertiser that has access to the fetched custom
|
|
3055
|
-
# lists.
|
|
2983
|
+
# The ID of the DV360 advertiser that has access to the fetched custom lists.
|
|
3056
2984
|
# @param [String] filter
|
|
3057
|
-
# Allows filtering by custom list fields.
|
|
3058
|
-
#
|
|
3059
|
-
#
|
|
3060
|
-
#
|
|
3061
|
-
#
|
|
3062
|
-
# * The operator must be `CONTAINS (:)`.
|
|
3063
|
-
# * Supported fields:
|
|
3064
|
-
# - `displayName`
|
|
3065
|
-
# Examples:
|
|
3066
|
-
# * All custom lists for which the display name contains "Google":
|
|
3067
|
-
# `displayName : "Google"`.
|
|
2985
|
+
# Allows filtering by custom list fields. Supported syntax: * Filter expressions
|
|
2986
|
+
# for custom lists currently can only contain at most one restriction. * A
|
|
2987
|
+
# restriction has the form of ``field` `operator` `value``. * The operator must
|
|
2988
|
+
# be `CONTAINS (:)`. * Supported fields: - `displayName` Examples: * All custom
|
|
2989
|
+
# lists for which the display name contains "Google": `displayName : "Google"`.
|
|
3068
2990
|
# The length of this field should be no more than 500 characters.
|
|
3069
2991
|
# @param [String] order_by
|
|
3070
|
-
# Field by which to sort the list.
|
|
3071
|
-
#
|
|
3072
|
-
#
|
|
3073
|
-
#
|
|
3074
|
-
# The default sorting order is ascending. To specify descending order for
|
|
3075
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
3076
|
-
# `displayName desc`.
|
|
2992
|
+
# Field by which to sort the list. Acceptable values are: * `customListId` (
|
|
2993
|
+
# default) * `displayName` The default sorting order is ascending. To specify
|
|
2994
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
|
2995
|
+
# name. Example: `displayName desc`.
|
|
3077
2996
|
# @param [Fixnum] page_size
|
|
3078
2997
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3079
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
3080
|
-
#
|
|
2998
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2999
|
+
# specified.
|
|
3081
3000
|
# @param [String] page_token
|
|
3082
|
-
# A token identifying a page of results the server should return.
|
|
3083
|
-
#
|
|
3084
|
-
#
|
|
3085
|
-
# returned
|
|
3086
|
-
# If not specified, the first page of results will be returned.
|
|
3001
|
+
# A token identifying a page of results the server should return. Typically,
|
|
3002
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
3003
|
+
# ListCustomLists` method. If not specified, the first page of results will be
|
|
3004
|
+
# returned.
|
|
3087
3005
|
# @param [String] fields
|
|
3088
3006
|
# Selector specifying which fields to include in a partial response.
|
|
3089
3007
|
# @param [String] quota_user
|
|
@@ -3119,11 +3037,11 @@ module Google
|
|
|
3119
3037
|
# @param [Fixnum] first_and_third_party_audience_id
|
|
3120
3038
|
# Required. The ID of the first and third party audience to fetch.
|
|
3121
3039
|
# @param [Fixnum] advertiser_id
|
|
3122
|
-
# The ID of the advertiser that has access to the fetched first and
|
|
3123
|
-
#
|
|
3040
|
+
# The ID of the advertiser that has access to the fetched first and third party
|
|
3041
|
+
# audience.
|
|
3124
3042
|
# @param [Fixnum] partner_id
|
|
3125
|
-
# The ID of the partner that has access to the fetched first and
|
|
3126
|
-
#
|
|
3043
|
+
# The ID of the partner that has access to the fetched first and third party
|
|
3044
|
+
# audience.
|
|
3127
3045
|
# @param [String] fields
|
|
3128
3046
|
# Selector specifying which fields to include in a partial response.
|
|
3129
3047
|
# @param [String] quota_user
|
|
@@ -3153,46 +3071,36 @@ module Google
|
|
|
3153
3071
|
execute_or_queue_command(command, &block)
|
|
3154
3072
|
end
|
|
3155
3073
|
|
|
3156
|
-
# Lists first and third party audiences.
|
|
3157
|
-
#
|
|
3158
|
-
# order_by parameter.
|
|
3074
|
+
# Lists first and third party audiences. The order is defined by the order_by
|
|
3075
|
+
# parameter.
|
|
3159
3076
|
# @param [Fixnum] advertiser_id
|
|
3160
|
-
# The ID of the advertiser that has access to the fetched first and
|
|
3161
|
-
#
|
|
3077
|
+
# The ID of the advertiser that has access to the fetched first and third party
|
|
3078
|
+
# audiences.
|
|
3162
3079
|
# @param [String] filter
|
|
3163
|
-
# Allows filtering by first and third party audience fields.
|
|
3164
|
-
#
|
|
3165
|
-
#
|
|
3166
|
-
#
|
|
3167
|
-
# *
|
|
3168
|
-
#
|
|
3169
|
-
#
|
|
3170
|
-
# - `displayName`
|
|
3171
|
-
# Examples:
|
|
3172
|
-
# * All first and third party audiences for which the display name contains
|
|
3173
|
-
# "Google": `displayName : "Google"`.
|
|
3174
|
-
# The length of this field should be no more than 500 characters.
|
|
3080
|
+
# Allows filtering by first and third party audience fields. Supported syntax: *
|
|
3081
|
+
# Filter expressions for first and third party audiences currently can only
|
|
3082
|
+
# contain at most one restriction. * A restriction has the form of ``field` `
|
|
3083
|
+
# operator` `value``. * The operator must be `CONTAINS (:)`. * Supported fields:
|
|
3084
|
+
# - `displayName` Examples: * All first and third party audiences for which the
|
|
3085
|
+
# display name contains "Google": `displayName : "Google"`. The length of this
|
|
3086
|
+
# field should be no more than 500 characters.
|
|
3175
3087
|
# @param [String] order_by
|
|
3176
|
-
# Field by which to sort the list.
|
|
3177
|
-
#
|
|
3178
|
-
#
|
|
3179
|
-
#
|
|
3180
|
-
# The default sorting order is ascending. To specify descending order for
|
|
3181
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
3182
|
-
# `displayName desc`.
|
|
3088
|
+
# Field by which to sort the list. Acceptable values are: * `
|
|
3089
|
+
# firstAndThirdPartyAudienceId` (default) * `displayName` The default sorting
|
|
3090
|
+
# order is ascending. To specify descending order for a field, a suffix "desc"
|
|
3091
|
+
# should be added to the field name. Example: `displayName desc`.
|
|
3183
3092
|
# @param [Fixnum] page_size
|
|
3184
3093
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3185
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
3186
|
-
#
|
|
3094
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
3095
|
+
# specified.
|
|
3187
3096
|
# @param [String] page_token
|
|
3188
|
-
# A token identifying a page of results the server should return.
|
|
3189
|
-
#
|
|
3190
|
-
#
|
|
3191
|
-
#
|
|
3192
|
-
# method. If not specified, the first page of results will be returned.
|
|
3097
|
+
# A token identifying a page of results the server should return. Typically,
|
|
3098
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
3099
|
+
# ListFirstAndThirdPartyAudiences` method. If not specified, the first page of
|
|
3100
|
+
# results will be returned.
|
|
3193
3101
|
# @param [Fixnum] partner_id
|
|
3194
|
-
# The ID of the partner that has access to the fetched first and
|
|
3195
|
-
#
|
|
3102
|
+
# The ID of the partner that has access to the fetched first and third party
|
|
3103
|
+
# audiences.
|
|
3196
3104
|
# @param [String] fields
|
|
3197
3105
|
# Selector specifying which fields to include in a partial response.
|
|
3198
3106
|
# @param [String] quota_user
|
|
@@ -3258,8 +3166,8 @@ module Google
|
|
|
3258
3166
|
execute_or_queue_command(command, &block)
|
|
3259
3167
|
end
|
|
3260
3168
|
|
|
3261
|
-
# Updates an existing Floodlight group.
|
|
3262
|
-
#
|
|
3169
|
+
# Updates an existing Floodlight group. Returns the updated Floodlight group if
|
|
3170
|
+
# successful.
|
|
3263
3171
|
# @param [Fixnum] floodlight_group_id
|
|
3264
3172
|
# Output only. The unique ID of the Floodlight group. Assigned by the system.
|
|
3265
3173
|
# @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
|
|
@@ -3334,42 +3242,31 @@ module Google
|
|
|
3334
3242
|
execute_or_queue_command(command, &block)
|
|
3335
3243
|
end
|
|
3336
3244
|
|
|
3337
|
-
# Lists Google audiences.
|
|
3338
|
-
# The order is defined by the order_by
|
|
3339
|
-
# parameter.
|
|
3245
|
+
# Lists Google audiences. The order is defined by the order_by parameter.
|
|
3340
3246
|
# @param [Fixnum] advertiser_id
|
|
3341
3247
|
# The ID of the advertiser that has access to the fetched Google audiences.
|
|
3342
3248
|
# @param [String] filter
|
|
3343
|
-
# Allows filtering by Google audience fields.
|
|
3344
|
-
#
|
|
3345
|
-
# *
|
|
3346
|
-
#
|
|
3347
|
-
# *
|
|
3348
|
-
#
|
|
3349
|
-
#
|
|
3350
|
-
# - `displayName`
|
|
3351
|
-
# Examples:
|
|
3352
|
-
# * All Google audiences for which the display name contains "Google":
|
|
3353
|
-
# `displayName : "Google"`.
|
|
3354
|
-
# The length of this field should be no more than 500 characters.
|
|
3249
|
+
# Allows filtering by Google audience fields. Supported syntax: * Filter
|
|
3250
|
+
# expressions for Google audiences currently can only contain at most one
|
|
3251
|
+
# restriction. * A restriction has the form of ``field` `operator` `value``. *
|
|
3252
|
+
# The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
|
|
3253
|
+
# Examples: * All Google audiences for which the display name contains "Google":
|
|
3254
|
+
# `displayName : "Google"`. The length of this field should be no more than 500
|
|
3255
|
+
# characters.
|
|
3355
3256
|
# @param [String] order_by
|
|
3356
|
-
# Field by which to sort the list.
|
|
3357
|
-
#
|
|
3358
|
-
#
|
|
3359
|
-
#
|
|
3360
|
-
# The default sorting order is ascending. To specify descending order for
|
|
3361
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
3362
|
-
# `displayName desc`.
|
|
3257
|
+
# Field by which to sort the list. Acceptable values are: * `googleAudienceId` (
|
|
3258
|
+
# default) * `displayName` The default sorting order is ascending. To specify
|
|
3259
|
+
# descending order for a field, a suffix "desc" should be added to the field
|
|
3260
|
+
# name. Example: `displayName desc`.
|
|
3363
3261
|
# @param [Fixnum] page_size
|
|
3364
3262
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3365
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
3366
|
-
#
|
|
3263
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
3264
|
+
# specified.
|
|
3367
3265
|
# @param [String] page_token
|
|
3368
|
-
# A token identifying a page of results the server should return.
|
|
3369
|
-
#
|
|
3370
|
-
#
|
|
3371
|
-
# returned
|
|
3372
|
-
# If not specified, the first page of results will be returned.
|
|
3266
|
+
# A token identifying a page of results the server should return. Typically,
|
|
3267
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
3268
|
+
# ListGoogleAudiences` method. If not specified, the first page of results will
|
|
3269
|
+
# be returned.
|
|
3373
3270
|
# @param [Fixnum] partner_id
|
|
3374
3271
|
# The ID of the partner that has access to the fetched Google audiences.
|
|
3375
3272
|
# @param [String] fields
|
|
@@ -3408,13 +3305,12 @@ module Google
|
|
|
3408
3305
|
# source group if successful.
|
|
3409
3306
|
# @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
|
|
3410
3307
|
# @param [Fixnum] advertiser_id
|
|
3411
|
-
# The ID of the advertiser that owns the inventory source group.
|
|
3412
|
-
#
|
|
3308
|
+
# The ID of the advertiser that owns the inventory source group. The parent
|
|
3309
|
+
# partner will not have access to this group.
|
|
3413
3310
|
# @param [Fixnum] partner_id
|
|
3414
|
-
# The ID of the partner that owns the inventory source group.
|
|
3415
|
-
#
|
|
3416
|
-
#
|
|
3417
|
-
# group.
|
|
3311
|
+
# The ID of the partner that owns the inventory source group. Only this partner
|
|
3312
|
+
# will have write access to this group. Only advertisers to which this group is
|
|
3313
|
+
# explicitly shared will have read access to this group.
|
|
3418
3314
|
# @param [String] fields
|
|
3419
3315
|
# Selector specifying which fields to include in a partial response.
|
|
3420
3316
|
# @param [String] quota_user
|
|
@@ -3449,11 +3345,11 @@ module Google
|
|
|
3449
3345
|
# @param [Fixnum] inventory_source_group_id
|
|
3450
3346
|
# Required. The ID of the inventory source group to delete.
|
|
3451
3347
|
# @param [Fixnum] advertiser_id
|
|
3452
|
-
# The ID of the advertiser that owns the inventory source group.
|
|
3453
|
-
#
|
|
3348
|
+
# The ID of the advertiser that owns the inventory source group. The parent
|
|
3349
|
+
# partner does not have access to this group.
|
|
3454
3350
|
# @param [Fixnum] partner_id
|
|
3455
|
-
# The ID of the partner that owns the inventory source group.
|
|
3456
|
-
#
|
|
3351
|
+
# The ID of the partner that owns the inventory source group. Only this partner
|
|
3352
|
+
# has write access to this group.
|
|
3457
3353
|
# @param [String] fields
|
|
3458
3354
|
# Selector specifying which fields to include in a partial response.
|
|
3459
3355
|
# @param [String] quota_user
|
|
@@ -3487,12 +3383,12 @@ module Google
|
|
|
3487
3383
|
# @param [Fixnum] inventory_source_group_id
|
|
3488
3384
|
# Required. The ID of the inventory source group to fetch.
|
|
3489
3385
|
# @param [Fixnum] advertiser_id
|
|
3490
|
-
# The ID of the advertiser that has access to the inventory source group.
|
|
3491
|
-
#
|
|
3492
|
-
#
|
|
3386
|
+
# The ID of the advertiser that has access to the inventory source group. If an
|
|
3387
|
+
# inventory source group is partner-owned, only advertisers to which the group
|
|
3388
|
+
# is explicitly shared can access the group.
|
|
3493
3389
|
# @param [Fixnum] partner_id
|
|
3494
|
-
# The ID of the partner that has access to the inventory source group.
|
|
3495
|
-
#
|
|
3390
|
+
# The ID of the partner that has access to the inventory source group. A partner
|
|
3391
|
+
# cannot access an advertiser-owned inventory source group.
|
|
3496
3392
|
# @param [String] fields
|
|
3497
3393
|
# Selector specifying which fields to include in a partial response.
|
|
3498
3394
|
# @param [String] quota_user
|
|
@@ -3522,43 +3418,35 @@ module Google
|
|
|
3522
3418
|
execute_or_queue_command(command, &block)
|
|
3523
3419
|
end
|
|
3524
3420
|
|
|
3525
|
-
# Lists inventory source groups that are accessible to the current user.
|
|
3526
|
-
#
|
|
3527
|
-
# order_by parameter.
|
|
3421
|
+
# Lists inventory source groups that are accessible to the current user. The
|
|
3422
|
+
# order is defined by the order_by parameter.
|
|
3528
3423
|
# @param [Fixnum] advertiser_id
|
|
3529
|
-
# The ID of the advertiser that has access to the inventory source group.
|
|
3530
|
-
#
|
|
3531
|
-
#
|
|
3424
|
+
# The ID of the advertiser that has access to the inventory source group. If an
|
|
3425
|
+
# inventory source group is partner-owned, only advertisers to which the group
|
|
3426
|
+
# is explicitly shared can access the group.
|
|
3532
3427
|
# @param [String] filter
|
|
3533
|
-
# Allows filtering by inventory source group properties.
|
|
3534
|
-
#
|
|
3535
|
-
#
|
|
3536
|
-
#
|
|
3537
|
-
#
|
|
3538
|
-
#
|
|
3539
|
-
# * Supported fields:
|
|
3540
|
-
# - `inventorySourceGroupId`
|
|
3541
|
-
# The length of this field should be no more than 500 characters.
|
|
3428
|
+
# Allows filtering by inventory source group properties. Supported syntax: *
|
|
3429
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
3430
|
+
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
|
3431
|
+
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
|
3432
|
+
# fields: - `inventorySourceGroupId` The length of this field should be no more
|
|
3433
|
+
# than 500 characters.
|
|
3542
3434
|
# @param [String] order_by
|
|
3543
|
-
# Field by which to sort the list.
|
|
3544
|
-
#
|
|
3545
|
-
#
|
|
3546
|
-
#
|
|
3547
|
-
# The default sorting order is ascending. To specify descending order for
|
|
3548
|
-
# a field, a suffix "desc" should be added to the field name. For example,
|
|
3549
|
-
# `displayName desc`.
|
|
3435
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
|
3436
|
+
# default) * `inventorySourceGroupId` The default sorting order is ascending. To
|
|
3437
|
+
# specify descending order for a field, a suffix "desc" should be added to the
|
|
3438
|
+
# field name. For example, `displayName desc`.
|
|
3550
3439
|
# @param [Fixnum] page_size
|
|
3551
3440
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3552
3441
|
# default to `100`.
|
|
3553
3442
|
# @param [String] page_token
|
|
3554
|
-
# A token identifying a page of results the server should return.
|
|
3555
|
-
#
|
|
3556
|
-
#
|
|
3557
|
-
# returned
|
|
3558
|
-
# If not specified, the first page of results will be returned.
|
|
3443
|
+
# A token identifying a page of results the server should return. Typically,
|
|
3444
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
3445
|
+
# ListInventorySources` method. If not specified, the first page of results will
|
|
3446
|
+
# be returned.
|
|
3559
3447
|
# @param [Fixnum] partner_id
|
|
3560
|
-
# The ID of the partner that has access to the inventory source group.
|
|
3561
|
-
#
|
|
3448
|
+
# The ID of the partner that has access to the inventory source group. A partner
|
|
3449
|
+
# cannot access advertiser-owned inventory source groups.
|
|
3562
3450
|
# @param [String] fields
|
|
3563
3451
|
# Selector specifying which fields to include in a partial response.
|
|
3564
3452
|
# @param [String] quota_user
|
|
@@ -3591,18 +3479,18 @@ module Google
|
|
|
3591
3479
|
execute_or_queue_command(command, &block)
|
|
3592
3480
|
end
|
|
3593
3481
|
|
|
3594
|
-
# Updates an inventory source group. Returns the updated inventory source
|
|
3595
|
-
#
|
|
3482
|
+
# Updates an inventory source group. Returns the updated inventory source group
|
|
3483
|
+
# if successful.
|
|
3596
3484
|
# @param [Fixnum] inventory_source_group_id
|
|
3597
3485
|
# Output only. The unique ID of the inventory source group. Assigned by the
|
|
3598
3486
|
# system.
|
|
3599
3487
|
# @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
|
|
3600
3488
|
# @param [Fixnum] advertiser_id
|
|
3601
|
-
# The ID of the advertiser that owns the inventory source group.
|
|
3602
|
-
#
|
|
3489
|
+
# The ID of the advertiser that owns the inventory source group. The parent
|
|
3490
|
+
# partner does not have access to this group.
|
|
3603
3491
|
# @param [Fixnum] partner_id
|
|
3604
|
-
# The ID of the partner that owns the inventory source group.
|
|
3605
|
-
#
|
|
3492
|
+
# The ID of the partner that owns the inventory source group. Only this partner
|
|
3493
|
+
# has write access to this group.
|
|
3606
3494
|
# @param [String] update_mask
|
|
3607
3495
|
# Required. The mask to control which fields to update.
|
|
3608
3496
|
# @param [String] fields
|
|
@@ -3638,11 +3526,11 @@ module Google
|
|
|
3638
3526
|
end
|
|
3639
3527
|
|
|
3640
3528
|
# Bulk edits multiple assignments between inventory sources and a single
|
|
3641
|
-
# inventory source group.
|
|
3642
|
-
#
|
|
3643
|
-
#
|
|
3644
|
-
#
|
|
3645
|
-
#
|
|
3529
|
+
# inventory source group. The operation will delete the assigned inventory
|
|
3530
|
+
# sources provided in BulkEditAssignedInventorySourcesRequest.
|
|
3531
|
+
# deleted_assigned_inventory_sources and then create the assigned inventory
|
|
3532
|
+
# sources provided in BulkEditAssignedInventorySourcesRequest.
|
|
3533
|
+
# created_assigned_inventory_sources.
|
|
3646
3534
|
# @param [Fixnum] inventory_source_group_id
|
|
3647
3535
|
# Required. The ID of the inventory source group to which the assignments are
|
|
3648
3536
|
# assigned.
|
|
@@ -3683,13 +3571,11 @@ module Google
|
|
|
3683
3571
|
# assigned.
|
|
3684
3572
|
# @param [Google::Apis::DisplayvideoV1::AssignedInventorySource] assigned_inventory_source_object
|
|
3685
3573
|
# @param [Fixnum] advertiser_id
|
|
3686
|
-
# The ID of the advertiser that owns the parent inventory source group.
|
|
3687
|
-
#
|
|
3688
|
-
# source.
|
|
3574
|
+
# The ID of the advertiser that owns the parent inventory source group. The
|
|
3575
|
+
# parent partner will not have access to this assigned inventory source.
|
|
3689
3576
|
# @param [Fixnum] partner_id
|
|
3690
|
-
# The ID of the partner that owns the parent inventory source group.
|
|
3691
|
-
#
|
|
3692
|
-
# source.
|
|
3577
|
+
# The ID of the partner that owns the parent inventory source group. Only this
|
|
3578
|
+
# partner will have write access to this assigned inventory source.
|
|
3693
3579
|
# @param [String] fields
|
|
3694
3580
|
# Selector specifying which fields to include in a partial response.
|
|
3695
3581
|
# @param [String] quota_user
|
|
@@ -3729,12 +3615,11 @@ module Google
|
|
|
3729
3615
|
# @param [Fixnum] assigned_inventory_source_id
|
|
3730
3616
|
# Required. The ID of the assigned inventory source to delete.
|
|
3731
3617
|
# @param [Fixnum] advertiser_id
|
|
3732
|
-
# The ID of the advertiser that owns the parent inventory source group.
|
|
3733
|
-
#
|
|
3734
|
-
# source.
|
|
3618
|
+
# The ID of the advertiser that owns the parent inventory source group. The
|
|
3619
|
+
# parent partner does not have access to this assigned inventory source.
|
|
3735
3620
|
# @param [Fixnum] partner_id
|
|
3736
|
-
# The ID of the partner that owns the parent inventory source group.
|
|
3737
|
-
#
|
|
3621
|
+
# The ID of the partner that owns the parent inventory source group. Only this
|
|
3622
|
+
# partner has write access to this assigned inventory source.
|
|
3738
3623
|
# @param [String] fields
|
|
3739
3624
|
# Selector specifying which fields to include in a partial response.
|
|
3740
3625
|
# @param [String] quota_user
|
|
@@ -3770,41 +3655,34 @@ module Google
|
|
|
3770
3655
|
# Required. The ID of the inventory source group to which these assignments are
|
|
3771
3656
|
# assigned.
|
|
3772
3657
|
# @param [Fixnum] advertiser_id
|
|
3773
|
-
# The ID of the advertiser that has access to the assignment.
|
|
3774
|
-
#
|
|
3775
|
-
#
|
|
3776
|
-
# inventory source.
|
|
3658
|
+
# The ID of the advertiser that has access to the assignment. If the parent
|
|
3659
|
+
# inventory source group is partner-owned, only advertisers to which the parent
|
|
3660
|
+
# group is explicitly shared can access the assigned inventory source.
|
|
3777
3661
|
# @param [String] filter
|
|
3778
|
-
# Allows filtering by assigned inventory source fields.
|
|
3779
|
-
#
|
|
3780
|
-
#
|
|
3781
|
-
#
|
|
3782
|
-
#
|
|
3783
|
-
#
|
|
3784
|
-
# * Supported fields:
|
|
3785
|
-
# - `assignedInventorySourceId`
|
|
3786
|
-
# The length of this field should be no more than 500 characters.
|
|
3662
|
+
# Allows filtering by assigned inventory source fields. Supported syntax: *
|
|
3663
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
3664
|
+
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
|
3665
|
+
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
|
3666
|
+
# fields: - `assignedInventorySourceId` The length of this field should be no
|
|
3667
|
+
# more than 500 characters.
|
|
3787
3668
|
# @param [String] order_by
|
|
3788
|
-
# Field by which to sort the list.
|
|
3789
|
-
#
|
|
3790
|
-
#
|
|
3791
|
-
#
|
|
3792
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
3793
|
-
# `assignedInventorySourceId desc`.
|
|
3669
|
+
# Field by which to sort the list. Acceptable values are: * `
|
|
3670
|
+
# assignedInventorySourceId` (default) The default sorting order is ascending.
|
|
3671
|
+
# To specify descending order for a field, a suffix " desc" should be added to
|
|
3672
|
+
# the field name. Example: `assignedInventorySourceId desc`.
|
|
3794
3673
|
# @param [Fixnum] page_size
|
|
3795
3674
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3796
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
3797
|
-
#
|
|
3675
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
3676
|
+
# specified.
|
|
3798
3677
|
# @param [String] page_token
|
|
3799
|
-
# A token identifying a page of results the server should return.
|
|
3800
|
-
#
|
|
3801
|
-
#
|
|
3802
|
-
#
|
|
3803
|
-
# method. If not specified, the first page of results will be returned.
|
|
3678
|
+
# A token identifying a page of results the server should return. Typically,
|
|
3679
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
3680
|
+
# ListAssignedInventorySources` method. If not specified, the first page of
|
|
3681
|
+
# results will be returned.
|
|
3804
3682
|
# @param [Fixnum] partner_id
|
|
3805
|
-
# The ID of the partner that has access to the assignment.
|
|
3806
|
-
#
|
|
3807
|
-
#
|
|
3683
|
+
# The ID of the partner that has access to the assignment. If the parent
|
|
3684
|
+
# inventory source group is advertiser-owned, the assignment cannot be accessed
|
|
3685
|
+
# via a partner.
|
|
3808
3686
|
# @param [String] fields
|
|
3809
3687
|
# Selector specifying which fields to include in a partial response.
|
|
3810
3688
|
# @param [String] quota_user
|
|
@@ -3842,8 +3720,8 @@ module Google
|
|
|
3842
3720
|
# @param [Fixnum] inventory_source_id
|
|
3843
3721
|
# Required. The ID of the inventory source to fetch.
|
|
3844
3722
|
# @param [Fixnum] partner_id
|
|
3845
|
-
# Required. The ID of the DV360 partner to which the fetched inventory source
|
|
3846
|
-
#
|
|
3723
|
+
# Required. The ID of the DV360 partner to which the fetched inventory source is
|
|
3724
|
+
# permissioned.
|
|
3847
3725
|
# @param [String] fields
|
|
3848
3726
|
# Selector specifying which fields to include in a partial response.
|
|
3849
3727
|
# @param [String] quota_user
|
|
@@ -3872,51 +3750,37 @@ module Google
|
|
|
3872
3750
|
execute_or_queue_command(command, &block)
|
|
3873
3751
|
end
|
|
3874
3752
|
|
|
3875
|
-
# Lists inventory sources that are accessible to the current user.
|
|
3876
|
-
#
|
|
3877
|
-
#
|
|
3878
|
-
#
|
|
3879
|
-
# entity_status is not
|
|
3880
|
-
# specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED`
|
|
3881
|
-
# will not be included in the results.
|
|
3753
|
+
# Lists inventory sources that are accessible to the current user. The order is
|
|
3754
|
+
# defined by the order_by parameter. If a filter by entity_status is not
|
|
3755
|
+
# specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED` will
|
|
3756
|
+
# not be included in the results.
|
|
3882
3757
|
# @param [Fixnum] advertiser_id
|
|
3883
3758
|
# The ID of the advertiser that has access to the inventory source.
|
|
3884
3759
|
# @param [String] filter
|
|
3885
|
-
# Allows filtering by inventory source properties.
|
|
3886
|
-
#
|
|
3887
|
-
#
|
|
3888
|
-
# *
|
|
3889
|
-
#
|
|
3890
|
-
#
|
|
3891
|
-
# *
|
|
3892
|
-
# *
|
|
3893
|
-
#
|
|
3894
|
-
#
|
|
3895
|
-
#
|
|
3896
|
-
# - `rateDetails.rateType`
|
|
3897
|
-
# - `exchange`
|
|
3898
|
-
# Examples:
|
|
3899
|
-
# * All active inventory sources:
|
|
3900
|
-
# `status.entityStatus="ENTITY_STATUS_ACTIVE"`
|
|
3901
|
-
# * Inventory sources belonging to Google Ad Manager or Rubicon exchanges:
|
|
3902
|
-
# `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"`
|
|
3903
|
-
# The length of this field should be no more than 500 characters.
|
|
3760
|
+
# Allows filtering by inventory source properties. Supported syntax: * Filter
|
|
3761
|
+
# expressions are made up of one or more restrictions. * Restrictions can be
|
|
3762
|
+
# combined by `AND` or `OR` logical operators. A sequence of restrictions
|
|
3763
|
+
# implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
|
|
3764
|
+
# value``. * The operator must be `EQUALS (=)`. * Supported fields: - `status.
|
|
3765
|
+
# entityStatus` - `commitment` - `deliveryMethod` - `rateDetails.rateType` - `
|
|
3766
|
+
# exchange` Examples: * All active inventory sources: `status.entityStatus="
|
|
3767
|
+
# ENTITY_STATUS_ACTIVE"` * Inventory sources belonging to Google Ad Manager or
|
|
3768
|
+
# Rubicon exchanges: `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="
|
|
3769
|
+
# EXCHANGE_RUBICON"` The length of this field should be no more than 500
|
|
3770
|
+
# characters.
|
|
3904
3771
|
# @param [String] order_by
|
|
3905
|
-
# Field by which to sort the list.
|
|
3906
|
-
#
|
|
3907
|
-
#
|
|
3908
|
-
#
|
|
3909
|
-
# a field, a suffix "desc" should be added to the field name. For example,
|
|
3910
|
-
# `displayName desc`.
|
|
3772
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
|
3773
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
3774
|
+
# for a field, a suffix "desc" should be added to the field name. For example, `
|
|
3775
|
+
# displayName desc`.
|
|
3911
3776
|
# @param [Fixnum] page_size
|
|
3912
3777
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3913
3778
|
# default to `100`.
|
|
3914
3779
|
# @param [String] page_token
|
|
3915
|
-
# A token identifying a page of results the server should return.
|
|
3916
|
-
#
|
|
3917
|
-
#
|
|
3918
|
-
# returned
|
|
3919
|
-
# If not specified, the first page of results will be returned.
|
|
3780
|
+
# A token identifying a page of results the server should return. Typically,
|
|
3781
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
3782
|
+
# ListInventorySources` method. If not specified, the first page of results will
|
|
3783
|
+
# be returned.
|
|
3920
3784
|
# @param [Fixnum] partner_id
|
|
3921
3785
|
# The ID of the partner that has access to the inventory source.
|
|
3922
3786
|
# @param [String] fields
|
|
@@ -3952,12 +3816,10 @@ module Google
|
|
|
3952
3816
|
end
|
|
3953
3817
|
|
|
3954
3818
|
# Downloads media. Download is supported on the URI `/download/`resource_name=**`
|
|
3955
|
-
# ?alt=media.`
|
|
3956
|
-
#
|
|
3957
|
-
# media` query string.
|
|
3819
|
+
# ?alt=media.` **Note**: Download requests will not be successful without
|
|
3820
|
+
# including `alt=media` query string.
|
|
3958
3821
|
# @param [String] resource_name
|
|
3959
|
-
# Name of the media that is being downloaded.
|
|
3960
|
-
# ReadRequest.resource_name.
|
|
3822
|
+
# Name of the media that is being downloaded. See ReadRequest.resource_name.
|
|
3961
3823
|
# @param [String] fields
|
|
3962
3824
|
# Selector specifying which fields to include in a partial response.
|
|
3963
3825
|
# @param [String] quota_user
|
|
@@ -3992,6 +3854,126 @@ module Google
|
|
|
3992
3854
|
execute_or_queue_command(command, &block)
|
|
3993
3855
|
end
|
|
3994
3856
|
|
|
3857
|
+
# Bulk edits targeting options under a single partner. The operation will delete
|
|
3858
|
+
# the assigned targeting options provided in
|
|
3859
|
+
# BulkEditPartnerAssignedTargetingOptionsRequest.delete_requests and then create
|
|
3860
|
+
# the assigned targeting options provided in
|
|
3861
|
+
# BulkEditPartnerAssignedTargetingOptionsRequest.create_requests .
|
|
3862
|
+
# @param [Fixnum] partner_id
|
|
3863
|
+
# Required. The ID of the partner.
|
|
3864
|
+
# @param [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest] bulk_edit_partner_assigned_targeting_options_request_object
|
|
3865
|
+
# @param [String] fields
|
|
3866
|
+
# Selector specifying which fields to include in a partial response.
|
|
3867
|
+
# @param [String] quota_user
|
|
3868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3870
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3871
|
+
# Request-specific options
|
|
3872
|
+
#
|
|
3873
|
+
# @yield [result, err] Result & error if block supplied
|
|
3874
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse] parsed result object
|
|
3875
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3876
|
+
#
|
|
3877
|
+
# @return [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse]
|
|
3878
|
+
#
|
|
3879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3882
|
+
def bulk_edit_partner_assigned_targeting_options(partner_id, bulk_edit_partner_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3883
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions', options)
|
|
3884
|
+
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest::Representation
|
|
3885
|
+
command.request_object = bulk_edit_partner_assigned_targeting_options_request_object
|
|
3886
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse::Representation
|
|
3887
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse
|
|
3888
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
|
3889
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3890
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3891
|
+
execute_or_queue_command(command, &block)
|
|
3892
|
+
end
|
|
3893
|
+
|
|
3894
|
+
# Gets a partner.
|
|
3895
|
+
# @param [Fixnum] partner_id
|
|
3896
|
+
# Required. The ID of the partner to fetch.
|
|
3897
|
+
# @param [String] fields
|
|
3898
|
+
# Selector specifying which fields to include in a partial response.
|
|
3899
|
+
# @param [String] quota_user
|
|
3900
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3901
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3902
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3903
|
+
# Request-specific options
|
|
3904
|
+
#
|
|
3905
|
+
# @yield [result, err] Result & error if block supplied
|
|
3906
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Partner] parsed result object
|
|
3907
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3908
|
+
#
|
|
3909
|
+
# @return [Google::Apis::DisplayvideoV1::Partner]
|
|
3910
|
+
#
|
|
3911
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3912
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3913
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3914
|
+
def get_partner(partner_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
3915
|
+
command = make_simple_command(:get, 'v1/partners/{+partnerId}', options)
|
|
3916
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Partner::Representation
|
|
3917
|
+
command.response_class = Google::Apis::DisplayvideoV1::Partner
|
|
3918
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
|
3919
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3920
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3921
|
+
execute_or_queue_command(command, &block)
|
|
3922
|
+
end
|
|
3923
|
+
|
|
3924
|
+
# Lists partners that are accessible to the current user. The order is defined
|
|
3925
|
+
# by the order_by parameter.
|
|
3926
|
+
# @param [String] filter
|
|
3927
|
+
# Allows filtering by partner properties. Supported syntax: * Filter expressions
|
|
3928
|
+
# are made up of one or more restrictions. * Restrictions can be combined by `
|
|
3929
|
+
# AND` or `OR` logical operators. A sequence of restrictions implicitly uses `
|
|
3930
|
+
# AND`. * A restriction has the form of ``field` `operator` `value``. * The
|
|
3931
|
+
# operator must be `EQUALS (=)`. * Supported fields: - `entityStatus` Examples: *
|
|
3932
|
+
# All active partners: `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this
|
|
3933
|
+
# field should be no more than 500 characters.
|
|
3934
|
+
# @param [String] order_by
|
|
3935
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` The
|
|
3936
|
+
# default sorting order is ascending. To specify descending order for a field, a
|
|
3937
|
+
# suffix "desc" should be added to the field name. For example, `displayName
|
|
3938
|
+
# desc`.
|
|
3939
|
+
# @param [Fixnum] page_size
|
|
3940
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3941
|
+
# default to `100`.
|
|
3942
|
+
# @param [String] page_token
|
|
3943
|
+
# A token identifying a page of results the server should return. Typically,
|
|
3944
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
3945
|
+
# ListPartners` method. If not specified, the first page of results will be
|
|
3946
|
+
# returned.
|
|
3947
|
+
# @param [String] fields
|
|
3948
|
+
# Selector specifying which fields to include in a partial response.
|
|
3949
|
+
# @param [String] quota_user
|
|
3950
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3951
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3952
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3953
|
+
# Request-specific options
|
|
3954
|
+
#
|
|
3955
|
+
# @yield [result, err] Result & error if block supplied
|
|
3956
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnersResponse] parsed result object
|
|
3957
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3958
|
+
#
|
|
3959
|
+
# @return [Google::Apis::DisplayvideoV1::ListPartnersResponse]
|
|
3960
|
+
#
|
|
3961
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3962
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3963
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3964
|
+
def list_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3965
|
+
command = make_simple_command(:get, 'v1/partners', options)
|
|
3966
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListPartnersResponse::Representation
|
|
3967
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListPartnersResponse
|
|
3968
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3969
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
3970
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3971
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3972
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3973
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3974
|
+
execute_or_queue_command(command, &block)
|
|
3975
|
+
end
|
|
3976
|
+
|
|
3995
3977
|
# Creates a new channel. Returns the newly created channel if successful.
|
|
3996
3978
|
# @param [Fixnum] partner_id
|
|
3997
3979
|
# The ID of the partner that owns the created channel.
|
|
@@ -4028,8 +4010,6 @@ module Google
|
|
|
4028
4010
|
execute_or_queue_command(command, &block)
|
|
4029
4011
|
end
|
|
4030
4012
|
|
|
4031
|
-
# Updates an existing inventory source.
|
|
4032
|
-
# Returns the updated inventory source if successful.
|
|
4033
4013
|
# Gets a channel for a partner or advertiser.
|
|
4034
4014
|
# @param [Fixnum] partner_id
|
|
4035
4015
|
# The ID of the partner that owns the fetched channel.
|
|
@@ -4072,36 +4052,26 @@ module Google
|
|
|
4072
4052
|
# @param [Fixnum] advertiser_id
|
|
4073
4053
|
# The ID of the advertiser that owns the channels.
|
|
4074
4054
|
# @param [String] filter
|
|
4075
|
-
# Allows filtering by channel fields.
|
|
4076
|
-
#
|
|
4077
|
-
#
|
|
4078
|
-
# *
|
|
4079
|
-
#
|
|
4080
|
-
#
|
|
4081
|
-
# * Supported fields:
|
|
4082
|
-
# - `displayName`
|
|
4083
|
-
# Examples:
|
|
4084
|
-
# * All channels for which the display name contains "google":
|
|
4085
|
-
# `displayName : "google"`.
|
|
4086
|
-
# The length of this field should be no more than 500 characters.
|
|
4055
|
+
# Allows filtering by channel fields. Supported syntax: * Filter expressions for
|
|
4056
|
+
# channel currently can only contain at most one * restriction. * A restriction
|
|
4057
|
+
# has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
|
|
4058
|
+
# (:)`. * Supported fields: - `displayName` Examples: * All channels for which
|
|
4059
|
+
# the display name contains "google": `displayName : "google"`. The length of
|
|
4060
|
+
# this field should be no more than 500 characters.
|
|
4087
4061
|
# @param [String] order_by
|
|
4088
|
-
# Field by which to sort the list.
|
|
4089
|
-
#
|
|
4090
|
-
#
|
|
4091
|
-
#
|
|
4092
|
-
# The default sorting order is ascending. To specify descending order for a
|
|
4093
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
4094
|
-
# `displayName desc`.
|
|
4062
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
|
4063
|
+
# default) * `channelId` The default sorting order is ascending. To specify
|
|
4064
|
+
# descending order for a field, a suffix " desc" should be added to the field
|
|
4065
|
+
# name. Example: `displayName desc`.
|
|
4095
4066
|
# @param [Fixnum] page_size
|
|
4096
4067
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
4097
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
4098
|
-
#
|
|
4068
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
4069
|
+
# specified.
|
|
4099
4070
|
# @param [String] page_token
|
|
4100
|
-
# A token identifying a page of results the server should return.
|
|
4101
|
-
#
|
|
4102
|
-
#
|
|
4103
|
-
#
|
|
4104
|
-
# of results will be returned.
|
|
4071
|
+
# A token identifying a page of results the server should return. Typically,
|
|
4072
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
4073
|
+
# ListChannels` method. If not specified, the first page of results will be
|
|
4074
|
+
# returned.
|
|
4105
4075
|
# @param [String] fields
|
|
4106
4076
|
# Selector specifying which fields to include in a partial response.
|
|
4107
4077
|
# @param [String] quota_user
|
|
@@ -4176,9 +4146,8 @@ module Google
|
|
|
4176
4146
|
execute_or_queue_command(command, &block)
|
|
4177
4147
|
end
|
|
4178
4148
|
|
|
4179
|
-
# Bulk edits sites under a single channel.
|
|
4180
|
-
#
|
|
4181
|
-
# BulkEditSitesRequest.deleted_sites and then create the sites
|
|
4149
|
+
# Bulk edits sites under a single channel. The operation will delete the sites
|
|
4150
|
+
# provided in BulkEditSitesRequest.deleted_sites and then create the sites
|
|
4182
4151
|
# provided in BulkEditSitesRequest.created_sites.
|
|
4183
4152
|
# @param [Fixnum] partner_id
|
|
4184
4153
|
# The ID of the partner that owns the parent channel.
|
|
@@ -4301,34 +4270,25 @@ module Google
|
|
|
4301
4270
|
# @param [Fixnum] advertiser_id
|
|
4302
4271
|
# The ID of the advertiser that owns the parent channel.
|
|
4303
4272
|
# @param [String] filter
|
|
4304
|
-
# Allows filtering by site fields.
|
|
4305
|
-
#
|
|
4306
|
-
#
|
|
4307
|
-
# *
|
|
4308
|
-
#
|
|
4309
|
-
# * The operator must be `CONTAINS (:)`.
|
|
4310
|
-
# * Supported fields:
|
|
4311
|
-
# - `urlOrAppId`
|
|
4312
|
-
# Examples:
|
|
4313
|
-
# * All sites for which the URL or app ID contains "google":
|
|
4314
|
-
# `urlOrAppId : "google"`
|
|
4273
|
+
# Allows filtering by site fields. Supported syntax: * Filter expressions for
|
|
4274
|
+
# site currently can only contain at most one * restriction. * A restriction has
|
|
4275
|
+
# the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
|
|
4276
|
+
# . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
|
|
4277
|
+
# or app ID contains "google": `urlOrAppId : "google"`
|
|
4315
4278
|
# @param [String] order_by
|
|
4316
|
-
# Field by which to sort the list.
|
|
4317
|
-
#
|
|
4318
|
-
#
|
|
4319
|
-
#
|
|
4320
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
4321
|
-
# `urlOrAppId desc`.
|
|
4279
|
+
# Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
|
|
4280
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
4281
|
+
# for a field, a suffix " desc" should be added to the field name. Example: `
|
|
4282
|
+
# urlOrAppId desc`.
|
|
4322
4283
|
# @param [Fixnum] page_size
|
|
4323
4284
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
4324
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
4325
|
-
#
|
|
4285
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
4286
|
+
# specified.
|
|
4326
4287
|
# @param [String] page_token
|
|
4327
|
-
# A token identifying a page of results the server should return.
|
|
4328
|
-
#
|
|
4329
|
-
#
|
|
4330
|
-
#
|
|
4331
|
-
# of results will be returned.
|
|
4288
|
+
# A token identifying a page of results the server should return. Typically,
|
|
4289
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
4290
|
+
# ListSites` method. If not specified, the first page of results will be
|
|
4291
|
+
# returned.
|
|
4332
4292
|
# @param [String] fields
|
|
4333
4293
|
# Selector specifying which fields to include in a partial response.
|
|
4334
4294
|
# @param [String] quota_user
|
|
@@ -4362,21 +4322,186 @@ module Google
|
|
|
4362
4322
|
execute_or_queue_command(command, &block)
|
|
4363
4323
|
end
|
|
4364
4324
|
|
|
4365
|
-
#
|
|
4366
|
-
#
|
|
4367
|
-
#
|
|
4368
|
-
#
|
|
4369
|
-
#
|
|
4370
|
-
#
|
|
4371
|
-
#
|
|
4372
|
-
#
|
|
4373
|
-
#
|
|
4374
|
-
#
|
|
4375
|
-
#
|
|
4376
|
-
#
|
|
4377
|
-
#
|
|
4378
|
-
#
|
|
4379
|
-
#
|
|
4325
|
+
# Assigns a targeting option to a partner. Returns the assigned targeting option
|
|
4326
|
+
# if successful.
|
|
4327
|
+
# @param [Fixnum] partner_id
|
|
4328
|
+
# Required. The ID of the partner.
|
|
4329
|
+
# @param [String] targeting_type
|
|
4330
|
+
# Required. Identifies the type of this assigned targeting option. Supported
|
|
4331
|
+
# targeting types: * `TARGETING_TYPE_CHANNEL`
|
|
4332
|
+
# @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
|
|
4333
|
+
# @param [String] fields
|
|
4334
|
+
# Selector specifying which fields to include in a partial response.
|
|
4335
|
+
# @param [String] quota_user
|
|
4336
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4337
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4338
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4339
|
+
# Request-specific options
|
|
4340
|
+
#
|
|
4341
|
+
# @yield [result, err] Result & error if block supplied
|
|
4342
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
|
|
4343
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4344
|
+
#
|
|
4345
|
+
# @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
|
|
4346
|
+
#
|
|
4347
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4348
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4349
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4350
|
+
def create_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4351
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
|
4352
|
+
command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
|
4353
|
+
command.request_object = assigned_targeting_option_object
|
|
4354
|
+
command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
|
4355
|
+
command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
|
|
4356
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
|
4357
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
4358
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4359
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4360
|
+
execute_or_queue_command(command, &block)
|
|
4361
|
+
end
|
|
4362
|
+
|
|
4363
|
+
# Deletes an assigned targeting option from a partner.
|
|
4364
|
+
# @param [Fixnum] partner_id
|
|
4365
|
+
# Required. The ID of the partner.
|
|
4366
|
+
# @param [String] targeting_type
|
|
4367
|
+
# Required. Identifies the type of this assigned targeting option. Supported
|
|
4368
|
+
# targeting types: * `TARGETING_TYPE_CHANNEL`
|
|
4369
|
+
# @param [String] assigned_targeting_option_id
|
|
4370
|
+
# Required. The ID of the assigned targeting option to delete.
|
|
4371
|
+
# @param [String] fields
|
|
4372
|
+
# Selector specifying which fields to include in a partial response.
|
|
4373
|
+
# @param [String] quota_user
|
|
4374
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4375
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4376
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4377
|
+
# Request-specific options
|
|
4378
|
+
#
|
|
4379
|
+
# @yield [result, err] Result & error if block supplied
|
|
4380
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
|
4381
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4382
|
+
#
|
|
4383
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
|
4384
|
+
#
|
|
4385
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4386
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4387
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4388
|
+
def delete_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4389
|
+
command = make_simple_command(:delete, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
|
4390
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
|
4391
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
|
4392
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
|
4393
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
4394
|
+
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
|
|
4395
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4396
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4397
|
+
execute_or_queue_command(command, &block)
|
|
4398
|
+
end
|
|
4399
|
+
|
|
4400
|
+
# Gets a single targeting option assigned to a partner.
|
|
4401
|
+
# @param [Fixnum] partner_id
|
|
4402
|
+
# Required. The ID of the partner.
|
|
4403
|
+
# @param [String] targeting_type
|
|
4404
|
+
# Required. Identifies the type of this assigned targeting option. Supported
|
|
4405
|
+
# targeting types: * `TARGETING_TYPE_CHANNEL`
|
|
4406
|
+
# @param [String] assigned_targeting_option_id
|
|
4407
|
+
# Required. An identifier unique to the targeting type in this partner that
|
|
4408
|
+
# identifies the assigned targeting option being requested.
|
|
4409
|
+
# @param [String] fields
|
|
4410
|
+
# Selector specifying which fields to include in a partial response.
|
|
4411
|
+
# @param [String] quota_user
|
|
4412
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4413
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4414
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4415
|
+
# Request-specific options
|
|
4416
|
+
#
|
|
4417
|
+
# @yield [result, err] Result & error if block supplied
|
|
4418
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
|
|
4419
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4420
|
+
#
|
|
4421
|
+
# @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
|
|
4422
|
+
#
|
|
4423
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4424
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4425
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4426
|
+
def get_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4427
|
+
command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
|
4428
|
+
command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
|
4429
|
+
command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
|
|
4430
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
|
4431
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
4432
|
+
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
|
|
4433
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4434
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4435
|
+
execute_or_queue_command(command, &block)
|
|
4436
|
+
end
|
|
4437
|
+
|
|
4438
|
+
# Lists the targeting options assigned to a partner.
|
|
4439
|
+
# @param [Fixnum] partner_id
|
|
4440
|
+
# Required. The ID of the partner.
|
|
4441
|
+
# @param [String] targeting_type
|
|
4442
|
+
# Required. Identifies the type of assigned targeting options to list. Supported
|
|
4443
|
+
# targeting types: * `TARGETING_TYPE_CHANNEL`
|
|
4444
|
+
# @param [String] filter
|
|
4445
|
+
# Allows filtering by assigned targeting option properties. Supported syntax: *
|
|
4446
|
+
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
4447
|
+
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
|
4448
|
+
# field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
|
|
4449
|
+
# fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
|
|
4450
|
+
# ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
|
|
4451
|
+
# be no more than 500 characters.
|
|
4452
|
+
# @param [String] order_by
|
|
4453
|
+
# Field by which to sort the list. Acceptable values are: * `
|
|
4454
|
+
# assignedTargetingOptionId` (default) The default sorting order is ascending.
|
|
4455
|
+
# To specify descending order for a field, a suffix "desc" should be added to
|
|
4456
|
+
# the field name. Example: `assignedTargetingOptionId desc`.
|
|
4457
|
+
# @param [Fixnum] page_size
|
|
4458
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
4459
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
4460
|
+
# specified.
|
|
4461
|
+
# @param [String] page_token
|
|
4462
|
+
# A token identifying a page of results the server should return. Typically,
|
|
4463
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
4464
|
+
# ListPartnerAssignedTargetingOptions` method. If not specified, the first page
|
|
4465
|
+
# of results will be returned.
|
|
4466
|
+
# @param [String] fields
|
|
4467
|
+
# Selector specifying which fields to include in a partial response.
|
|
4468
|
+
# @param [String] quota_user
|
|
4469
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4470
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4471
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4472
|
+
# Request-specific options
|
|
4473
|
+
#
|
|
4474
|
+
# @yield [result, err] Result & error if block supplied
|
|
4475
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse] parsed result object
|
|
4476
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4477
|
+
#
|
|
4478
|
+
# @return [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse]
|
|
4479
|
+
#
|
|
4480
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4481
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4482
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4483
|
+
def list_partner_targeting_type_assigned_targeting_options(partner_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4484
|
+
command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
|
4485
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse::Representation
|
|
4486
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse
|
|
4487
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
|
4488
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
4489
|
+
command.query['filter'] = filter unless filter.nil?
|
|
4490
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
4491
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4492
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4493
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4495
|
+
execute_or_queue_command(command, &block)
|
|
4496
|
+
end
|
|
4497
|
+
|
|
4498
|
+
# Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a
|
|
4499
|
+
# long-running, asynchronous operation. The metadata type of this operation is
|
|
4500
|
+
# SdfDownloadTaskMetadata. If the request is successful, the response type of
|
|
4501
|
+
# the operation is SdfDownloadTask. The response will not include the download
|
|
4502
|
+
# files, which must be retrieved with media.download. The state of operation can
|
|
4503
|
+
# be retrieved with sdfdownloadtask.operations.get. Any errors can be found in
|
|
4504
|
+
# the error.message. Note that error.details is expected to be empty.
|
|
4380
4505
|
# @param [Google::Apis::DisplayvideoV1::CreateSdfDownloadTaskRequest] create_sdf_download_task_request_object
|
|
4381
4506
|
# @param [String] fields
|
|
4382
4507
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4479,32 +4604,26 @@ module Google
|
|
|
4479
4604
|
# @param [Fixnum] advertiser_id
|
|
4480
4605
|
# Required. The Advertiser this request is being made in the context of.
|
|
4481
4606
|
# @param [String] filter
|
|
4482
|
-
# Allows filtering by targeting option properties.
|
|
4483
|
-
#
|
|
4484
|
-
# *
|
|
4485
|
-
# *
|
|
4486
|
-
#
|
|
4487
|
-
#
|
|
4488
|
-
# * Supported fields:
|
|
4489
|
-
# - `targetingOptionId`
|
|
4490
|
-
# The length of this field should be no more than 500 characters.
|
|
4607
|
+
# Allows filtering by targeting option properties. Supported syntax: * Filter
|
|
4608
|
+
# expressions are made up of one or more restrictions. * Restrictions can be
|
|
4609
|
+
# combined by `OR` logical operators. * A restriction has the form of ``field` `
|
|
4610
|
+
# operator` `value``. * The operator must be "=" (equal sign). * Supported
|
|
4611
|
+
# fields: - `targetingOptionId` The length of this field should be no more than
|
|
4612
|
+
# 500 characters.
|
|
4491
4613
|
# @param [String] order_by
|
|
4492
|
-
# Field by which to sort the list.
|
|
4493
|
-
#
|
|
4494
|
-
#
|
|
4495
|
-
#
|
|
4496
|
-
# a field, a suffix "desc" should be added to the field name.
|
|
4497
|
-
# Example: `targetingOptionId desc`.
|
|
4614
|
+
# Field by which to sort the list. Acceptable values are: * `targetingOptionId` (
|
|
4615
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
4616
|
+
# for a field, a suffix "desc" should be added to the field name. Example: `
|
|
4617
|
+
# targetingOptionId desc`.
|
|
4498
4618
|
# @param [Fixnum] page_size
|
|
4499
4619
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
4500
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
4501
|
-
#
|
|
4620
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
4621
|
+
# specified.
|
|
4502
4622
|
# @param [String] page_token
|
|
4503
|
-
# A token identifying a page of results the server should return.
|
|
4504
|
-
#
|
|
4505
|
-
#
|
|
4506
|
-
# returned
|
|
4507
|
-
# If not specified, the first page of results will be returned.
|
|
4623
|
+
# A token identifying a page of results the server should return. Typically,
|
|
4624
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
4625
|
+
# ListTargetingOptions` method. If not specified, the first page of results will
|
|
4626
|
+
# be returned.
|
|
4508
4627
|
# @param [String] fields
|
|
4509
4628
|
# Selector specifying which fields to include in a partial response.
|
|
4510
4629
|
# @param [String] quota_user
|
|
@@ -4536,6 +4655,235 @@ module Google
|
|
|
4536
4655
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4537
4656
|
execute_or_queue_command(command, &block)
|
|
4538
4657
|
end
|
|
4658
|
+
|
|
4659
|
+
# Bulk edits user roles for a user. The operation will delete the assigned user
|
|
4660
|
+
# roles provided in BulkEditAssignedUserRolesRequest.deleted_assigned_user_roles
|
|
4661
|
+
# and then assign the user roles provided in BulkEditAssignedUserRolesRequest.
|
|
4662
|
+
# created_assigned_user_roles.
|
|
4663
|
+
# @param [Fixnum] user_id
|
|
4664
|
+
# Required. The ID of the user to which the assigned user roles belong.
|
|
4665
|
+
# @param [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest] bulk_edit_assigned_user_roles_request_object
|
|
4666
|
+
# @param [String] fields
|
|
4667
|
+
# Selector specifying which fields to include in a partial response.
|
|
4668
|
+
# @param [String] quota_user
|
|
4669
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4670
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4671
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4672
|
+
# Request-specific options
|
|
4673
|
+
#
|
|
4674
|
+
# @yield [result, err] Result & error if block supplied
|
|
4675
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse] parsed result object
|
|
4676
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4677
|
+
#
|
|
4678
|
+
# @return [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse]
|
|
4679
|
+
#
|
|
4680
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4681
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4682
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4683
|
+
def bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4684
|
+
command = make_simple_command(:post, 'v1/users/{+userId}:bulkEditAssignedUserRoles', options)
|
|
4685
|
+
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest::Representation
|
|
4686
|
+
command.request_object = bulk_edit_assigned_user_roles_request_object
|
|
4687
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse::Representation
|
|
4688
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse
|
|
4689
|
+
command.params['userId'] = user_id unless user_id.nil?
|
|
4690
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4691
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4692
|
+
execute_or_queue_command(command, &block)
|
|
4693
|
+
end
|
|
4694
|
+
|
|
4695
|
+
# Creates a new user. Returns the newly created user if successful.
|
|
4696
|
+
# @param [Google::Apis::DisplayvideoV1::User] user_object
|
|
4697
|
+
# @param [String] fields
|
|
4698
|
+
# Selector specifying which fields to include in a partial response.
|
|
4699
|
+
# @param [String] quota_user
|
|
4700
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4701
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4702
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4703
|
+
# Request-specific options
|
|
4704
|
+
#
|
|
4705
|
+
# @yield [result, err] Result & error if block supplied
|
|
4706
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
|
|
4707
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4708
|
+
#
|
|
4709
|
+
# @return [Google::Apis::DisplayvideoV1::User]
|
|
4710
|
+
#
|
|
4711
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4712
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4713
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4714
|
+
def create_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4715
|
+
command = make_simple_command(:post, 'v1/users', options)
|
|
4716
|
+
command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
|
|
4717
|
+
command.request_object = user_object
|
|
4718
|
+
command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
|
|
4719
|
+
command.response_class = Google::Apis::DisplayvideoV1::User
|
|
4720
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4721
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4722
|
+
execute_or_queue_command(command, &block)
|
|
4723
|
+
end
|
|
4724
|
+
|
|
4725
|
+
# Deletes a user.
|
|
4726
|
+
# @param [Fixnum] user_id
|
|
4727
|
+
# Required. The ID of the user to delete.
|
|
4728
|
+
# @param [String] fields
|
|
4729
|
+
# Selector specifying which fields to include in a partial response.
|
|
4730
|
+
# @param [String] quota_user
|
|
4731
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4732
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4733
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4734
|
+
# Request-specific options
|
|
4735
|
+
#
|
|
4736
|
+
# @yield [result, err] Result & error if block supplied
|
|
4737
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
|
4738
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4739
|
+
#
|
|
4740
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
|
4741
|
+
#
|
|
4742
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4743
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4744
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4745
|
+
def delete_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4746
|
+
command = make_simple_command(:delete, 'v1/users/{+userId}', options)
|
|
4747
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
|
4748
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
|
4749
|
+
command.params['userId'] = user_id unless user_id.nil?
|
|
4750
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4751
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4752
|
+
execute_or_queue_command(command, &block)
|
|
4753
|
+
end
|
|
4754
|
+
|
|
4755
|
+
# Gets a user.
|
|
4756
|
+
# @param [Fixnum] user_id
|
|
4757
|
+
# Required. The ID of the user to fetch.
|
|
4758
|
+
# @param [String] fields
|
|
4759
|
+
# Selector specifying which fields to include in a partial response.
|
|
4760
|
+
# @param [String] quota_user
|
|
4761
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4762
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4763
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4764
|
+
# Request-specific options
|
|
4765
|
+
#
|
|
4766
|
+
# @yield [result, err] Result & error if block supplied
|
|
4767
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
|
|
4768
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4769
|
+
#
|
|
4770
|
+
# @return [Google::Apis::DisplayvideoV1::User]
|
|
4771
|
+
#
|
|
4772
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4773
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4774
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4775
|
+
def get_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4776
|
+
command = make_simple_command(:get, 'v1/users/{+userId}', options)
|
|
4777
|
+
command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
|
|
4778
|
+
command.response_class = Google::Apis::DisplayvideoV1::User
|
|
4779
|
+
command.params['userId'] = user_id unless user_id.nil?
|
|
4780
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4781
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4782
|
+
execute_or_queue_command(command, &block)
|
|
4783
|
+
end
|
|
4784
|
+
|
|
4785
|
+
# Lists users that are accessible to the current user. If two users have user
|
|
4786
|
+
# roles on the same partner or advertiser, they can access each other.
|
|
4787
|
+
# @param [String] filter
|
|
4788
|
+
# Allows filtering by user properties. Supported syntax: * Filter expressions
|
|
4789
|
+
# are made up of one or more restrictions. * Restrictions can be combined by the
|
|
4790
|
+
# logical operator `AND`. * A restriction has the form of ``field` `operator` `
|
|
4791
|
+
# value``. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The operator
|
|
4792
|
+
# must be `CONTAINS (:)` for the following fields: - `displayName` - `email` *
|
|
4793
|
+
# The operator must be `EQUALS (=)` for the following fields: - `
|
|
4794
|
+
# assignedUserRole.userRole` - `assignedUserRole.partnerId` - `assignedUserRole.
|
|
4795
|
+
# advertiserId` - `assignedUserRole.entityType`: A synthetic field of
|
|
4796
|
+
# AssignedUserRole used for filtering. Identifies the type of entity to which
|
|
4797
|
+
# the user role is assigned. Valid values are `Partner` and `Advertiser`. - `
|
|
4798
|
+
# assignedUserRole.parentPartnerId`: A synthetic field of AssignedUserRole used
|
|
4799
|
+
# for filtering. Identifies the parent partner of the entity to which the user
|
|
4800
|
+
# role is assigned." Examples: * The user with displayName containing `foo`: `
|
|
4801
|
+
# displayName:"foo"` * The user with email containing `bar`: `email:"bar"` * All
|
|
4802
|
+
# users with standard user roles: `assignedUserRole.userRole="STANDARD"` * All
|
|
4803
|
+
# users with user roles for partner 123: `assignedUserRole.partnerId="123"` *
|
|
4804
|
+
# All users with user roles for advertiser 123: `assignedUserRole.advertiserId="
|
|
4805
|
+
# 123"` * All users with partner level user roles: `entityType="PARTNER"` * All
|
|
4806
|
+
# users with user roles for partner 123 and advertisers under partner 123: `
|
|
4807
|
+
# parentPartnerId="123"` The length of this field should be no more than 500
|
|
4808
|
+
# characters.
|
|
4809
|
+
# @param [String] order_by
|
|
4810
|
+
# Field by which to sort the list. Acceptable values are: * `displayName` (
|
|
4811
|
+
# default) The default sorting order is ascending. To specify descending order
|
|
4812
|
+
# for a field, a suffix "desc" should be added to the field name. For example, `
|
|
4813
|
+
# displayName desc`.
|
|
4814
|
+
# @param [Fixnum] page_size
|
|
4815
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
4816
|
+
# default to `100`.
|
|
4817
|
+
# @param [String] page_token
|
|
4818
|
+
# A token identifying a page of results the server should return. Typically,
|
|
4819
|
+
# this is the value of next_page_token returned from the previous call to `
|
|
4820
|
+
# ListUsers` method. If not specified, the first page of results will be
|
|
4821
|
+
# returned.
|
|
4822
|
+
# @param [String] fields
|
|
4823
|
+
# Selector specifying which fields to include in a partial response.
|
|
4824
|
+
# @param [String] quota_user
|
|
4825
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4826
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4827
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4828
|
+
# Request-specific options
|
|
4829
|
+
#
|
|
4830
|
+
# @yield [result, err] Result & error if block supplied
|
|
4831
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListUsersResponse] parsed result object
|
|
4832
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4833
|
+
#
|
|
4834
|
+
# @return [Google::Apis::DisplayvideoV1::ListUsersResponse]
|
|
4835
|
+
#
|
|
4836
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4837
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4838
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4839
|
+
def list_users(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4840
|
+
command = make_simple_command(:get, 'v1/users', options)
|
|
4841
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListUsersResponse::Representation
|
|
4842
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListUsersResponse
|
|
4843
|
+
command.query['filter'] = filter unless filter.nil?
|
|
4844
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
4845
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4846
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4847
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4848
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4849
|
+
execute_or_queue_command(command, &block)
|
|
4850
|
+
end
|
|
4851
|
+
|
|
4852
|
+
# Updates an existing user. Returns the updated user if successful.
|
|
4853
|
+
# @param [Fixnum] user_id
|
|
4854
|
+
# Output only. The unique ID of the user. Assigned by the system.
|
|
4855
|
+
# @param [Google::Apis::DisplayvideoV1::User] user_object
|
|
4856
|
+
# @param [String] update_mask
|
|
4857
|
+
# Required. The mask to control which fields to update.
|
|
4858
|
+
# @param [String] fields
|
|
4859
|
+
# Selector specifying which fields to include in a partial response.
|
|
4860
|
+
# @param [String] quota_user
|
|
4861
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4862
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4863
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4864
|
+
# Request-specific options
|
|
4865
|
+
#
|
|
4866
|
+
# @yield [result, err] Result & error if block supplied
|
|
4867
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
|
|
4868
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4869
|
+
#
|
|
4870
|
+
# @return [Google::Apis::DisplayvideoV1::User]
|
|
4871
|
+
#
|
|
4872
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4873
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4874
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4875
|
+
def patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4876
|
+
command = make_simple_command(:patch, 'v1/users/{+userId}', options)
|
|
4877
|
+
command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
|
|
4878
|
+
command.request_object = user_object
|
|
4879
|
+
command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
|
|
4880
|
+
command.response_class = Google::Apis::DisplayvideoV1::User
|
|
4881
|
+
command.params['userId'] = user_id unless user_id.nil?
|
|
4882
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
4883
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4884
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4885
|
+
execute_or_queue_command(command, &block)
|
|
4886
|
+
end
|
|
4539
4887
|
|
|
4540
4888
|
protected
|
|
4541
4889
|
|