google-api-client 0.42.0 → 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 +275 -0
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/abusiveexperiencereport_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.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/adexchangebuyer2_v2beta1.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/adexperiencereport_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/admob_v1.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/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androiddeviceprovisioning_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/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +739 -1192
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +885 -1126
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_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/bigquery_v2.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_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/bigtableadmin_v2.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/billingbudgets_v1beta1.rb +1 -1
- 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_v2.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/blogger_v3.rb +2 -3
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/books_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/chat_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/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -899
- data/generated/google/apis/classroom_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_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- 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/cloudasset_v1p5beta1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.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/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +25 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudidentity_v1beta1.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_v1.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_v1beta1.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_v2.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/cloudresourcemanager_v2beta1.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_v1.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/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudshell_v1alpha1.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_v1.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/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +318 -14
- data/generated/google/apis/compute_beta/representations.rb +92 -0
- data/generated/google/apis/compute_beta/service.rb +272 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +344 -42
- data/generated/google/apis/compute_v1/representations.rb +108 -15
- data/generated/google/apis/compute_v1/service.rb +320 -19
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +35 -0
- data/generated/google/apis/container_v1/representations.rb +16 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +15 -0
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1.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.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/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -333
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +201 -325
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +207 -326
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1.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/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -925
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/domainsrdap_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.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/doubleclickbidmanager_v1_1.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/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +68 -2
- data/generated/google/apis/drive_v2/representations.rb +22 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +73 -2
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/driveactivity_v2.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/factchecktools_v1alpha1.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/fcm_v1.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/firebase_v1beta1.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/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
- data/generated/google/apis/firebasehosting_v1beta1.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_v1.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/firebaseml_v1beta2.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_v1.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/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1.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/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.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/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1.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/healthcare_v1beta1.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/iam_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_v1.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_v1beta1.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/language_v1beta2.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/libraryagent_v1.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- 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/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
- 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/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +17 -11
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +87 -45
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.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_v1.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/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.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/people_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/playcustomapp_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_v1.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/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- 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/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1.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/recommender_v1beta1.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_v1.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/redis_v1beta1.rb +1 -1
- 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/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/run_v1/classes.rb +835 -1243
- data/generated/google/apis/run_v1/service.rb +234 -248
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +322 -378
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +17 -19
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- 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_v1.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_v1beta1.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_v1p1alpha1.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/securitycenter_v1p1beta1.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_v1.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/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- 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/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_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_v1.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/servicenetworking_v1beta.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_v1.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/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1.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/sql_v1beta4.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/storagetransfer_v1.rb +1 -1
- 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_v1.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/tagmanager_v2.rb +2 -3
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/testing_v1.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/toolresults_v1beta3.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_v1.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/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.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_v1.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_v1p1beta1.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/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/webfonts_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_v1.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_v1alpha.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/websecurityscanner_v1beta.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_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +943 -1175
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +1008 -1316
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +23 -11
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- 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/fitness_v1.rb +0 -85
|
@@ -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
|
|
@@ -691,36 +686,26 @@ module Google
|
|
|
691
686
|
# @param [Fixnum] advertiser_id
|
|
692
687
|
# The ID of the advertiser that owns the channels.
|
|
693
688
|
# @param [String] filter
|
|
694
|
-
# Allows filtering by channel fields.
|
|
695
|
-
#
|
|
696
|
-
#
|
|
697
|
-
# *
|
|
698
|
-
#
|
|
699
|
-
#
|
|
700
|
-
# * Supported fields:
|
|
701
|
-
# - `displayName`
|
|
702
|
-
# Examples:
|
|
703
|
-
# * All channels for which the display name contains "google":
|
|
704
|
-
# `displayName : "google"`.
|
|
705
|
-
# 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.
|
|
706
695
|
# @param [String] order_by
|
|
707
|
-
# Field by which to sort the list.
|
|
708
|
-
#
|
|
709
|
-
#
|
|
710
|
-
#
|
|
711
|
-
# The default sorting order is ascending. To specify descending order for a
|
|
712
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
713
|
-
# `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`.
|
|
714
700
|
# @param [Fixnum] page_size
|
|
715
701
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
716
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
717
|
-
#
|
|
702
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
703
|
+
# specified.
|
|
718
704
|
# @param [String] page_token
|
|
719
|
-
# A token identifying a page of results the server should return.
|
|
720
|
-
#
|
|
721
|
-
#
|
|
722
|
-
#
|
|
723
|
-
# 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.
|
|
724
709
|
# @param [Fixnum] partner_id
|
|
725
710
|
# The ID of the partner that owns the channels.
|
|
726
711
|
# @param [String] fields
|
|
@@ -797,9 +782,8 @@ module Google
|
|
|
797
782
|
execute_or_queue_command(command, &block)
|
|
798
783
|
end
|
|
799
784
|
|
|
800
|
-
# Bulk edits sites under a single channel.
|
|
801
|
-
#
|
|
802
|
-
# 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
|
|
803
787
|
# provided in BulkEditSitesRequest.created_sites.
|
|
804
788
|
# @param [Fixnum] advertiser_id
|
|
805
789
|
# The ID of the advertiser that owns the parent channel.
|
|
@@ -920,34 +904,25 @@ module Google
|
|
|
920
904
|
# @param [Fixnum] channel_id
|
|
921
905
|
# Required. The ID of the parent channel to which the requested sites belong.
|
|
922
906
|
# @param [String] filter
|
|
923
|
-
# Allows filtering by site fields.
|
|
924
|
-
#
|
|
925
|
-
#
|
|
926
|
-
# *
|
|
927
|
-
#
|
|
928
|
-
# * The operator must be `CONTAINS (:)`.
|
|
929
|
-
# * Supported fields:
|
|
930
|
-
# - `urlOrAppId`
|
|
931
|
-
# Examples:
|
|
932
|
-
# * All sites for which the URL or app ID contains "google":
|
|
933
|
-
# `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"`
|
|
934
912
|
# @param [String] order_by
|
|
935
|
-
# Field by which to sort the list.
|
|
936
|
-
#
|
|
937
|
-
#
|
|
938
|
-
#
|
|
939
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
940
|
-
# `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`.
|
|
941
917
|
# @param [Fixnum] page_size
|
|
942
918
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
943
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
944
|
-
#
|
|
919
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
920
|
+
# specified.
|
|
945
921
|
# @param [String] page_token
|
|
946
|
-
# A token identifying a page of results the server should return.
|
|
947
|
-
#
|
|
948
|
-
#
|
|
949
|
-
#
|
|
950
|
-
# 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.
|
|
951
926
|
# @param [Fixnum] partner_id
|
|
952
927
|
# The ID of the partner that owns the parent channel.
|
|
953
928
|
# @param [String] fields
|
|
@@ -983,8 +958,7 @@ module Google
|
|
|
983
958
|
execute_or_queue_command(command, &block)
|
|
984
959
|
end
|
|
985
960
|
|
|
986
|
-
# Creates a new creative.
|
|
987
|
-
# Returns the newly created creative if successful.
|
|
961
|
+
# Creates a new creative. Returns the newly created creative if successful.
|
|
988
962
|
# @param [Fixnum] advertiser_id
|
|
989
963
|
# Output only. The unique ID of the advertiser the creative belongs to.
|
|
990
964
|
# @param [Google::Apis::DisplayvideoV1::Creative] creative_object
|
|
@@ -1017,11 +991,9 @@ module Google
|
|
|
1017
991
|
execute_or_queue_command(command, &block)
|
|
1018
992
|
end
|
|
1019
993
|
|
|
1020
|
-
# Deletes a creative.
|
|
1021
|
-
#
|
|
1022
|
-
#
|
|
1023
|
-
# entity_status to `ENTITY_STATUS_ARCHIVED`, before
|
|
1024
|
-
# 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.
|
|
1025
997
|
# @param [Fixnum] advertiser_id
|
|
1026
998
|
# The ID of the advertiser this creative belongs to.
|
|
1027
999
|
# @param [Fixnum] creative_id
|
|
@@ -1087,81 +1059,55 @@ module Google
|
|
|
1087
1059
|
execute_or_queue_command(command, &block)
|
|
1088
1060
|
end
|
|
1089
1061
|
|
|
1090
|
-
# Lists creatives in an advertiser.
|
|
1091
|
-
#
|
|
1092
|
-
#
|
|
1093
|
-
# If a filter by
|
|
1094
|
-
# entity_status is not specified, creatives with
|
|
1095
|
-
# `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.
|
|
1096
1065
|
# @param [Fixnum] advertiser_id
|
|
1097
1066
|
# Required. The ID of the advertiser to list creatives for.
|
|
1098
1067
|
# @param [String] filter
|
|
1099
|
-
# Allows filtering by creative properties.
|
|
1100
|
-
#
|
|
1101
|
-
#
|
|
1102
|
-
# *
|
|
1103
|
-
#
|
|
1104
|
-
#
|
|
1105
|
-
#
|
|
1106
|
-
#
|
|
1107
|
-
# * The operator must be `
|
|
1108
|
-
#
|
|
1109
|
-
#
|
|
1110
|
-
#
|
|
1111
|
-
#
|
|
1112
|
-
#
|
|
1113
|
-
#
|
|
1114
|
-
#
|
|
1115
|
-
#
|
|
1116
|
-
#
|
|
1117
|
-
# *
|
|
1118
|
-
#
|
|
1119
|
-
# *
|
|
1120
|
-
#
|
|
1121
|
-
#
|
|
1122
|
-
#
|
|
1123
|
-
#
|
|
1124
|
-
#
|
|
1125
|
-
# `
|
|
1126
|
-
#
|
|
1127
|
-
# against multiple possible line item IDs.
|
|
1128
|
-
# * There may be multiple `creativeId` restrictions in order to search
|
|
1129
|
-
# against multiple possible creative IDs.
|
|
1130
|
-
# Examples:
|
|
1131
|
-
# * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"`
|
|
1132
|
-
# * All active creatives with 300x400 or 50x100 dimensions:
|
|
1133
|
-
# `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400"
|
|
1134
|
-
# OR dimensions="50x100")`
|
|
1135
|
-
# * All dynamic creatives that are approved by AdX or
|
|
1136
|
-
# AppNexus, with a minimum duration of 5 seconds and 200ms.
|
|
1137
|
-
# `dynamic="true" AND minDuration="5.2s" AND
|
|
1138
|
-
# (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED"
|
|
1139
|
-
# OR exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")`
|
|
1140
|
-
# * All video creatives that are associated with line item ID 1 or 2:
|
|
1141
|
-
# `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)`
|
|
1142
|
-
# * Find creatives by multiple creative IDs:
|
|
1143
|
-
# `creativeId=1 OR creativeId=2`
|
|
1144
|
-
# 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.
|
|
1145
1096
|
# @param [String] order_by
|
|
1146
|
-
# Field by which to sort the list.
|
|
1147
|
-
#
|
|
1148
|
-
#
|
|
1149
|
-
#
|
|
1150
|
-
#
|
|
1151
|
-
# * `dimensions` (sorts by width first, then by height)
|
|
1152
|
-
# The default sorting order is ascending. To specify descending order for
|
|
1153
|
-
# a field, a suffix "desc" should be added to the field name.
|
|
1154
|
-
# 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`.
|
|
1155
1102
|
# @param [Fixnum] page_size
|
|
1156
1103
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
1157
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
1158
|
-
#
|
|
1104
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1105
|
+
# specified.
|
|
1159
1106
|
# @param [String] page_token
|
|
1160
|
-
# A token identifying a page of results the server should return.
|
|
1161
|
-
#
|
|
1162
|
-
#
|
|
1163
|
-
# returned
|
|
1164
|
-
# 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.
|
|
1165
1111
|
# @param [String] fields
|
|
1166
1112
|
# Selector specifying which fields to include in a partial response.
|
|
1167
1113
|
# @param [String] quota_user
|
|
@@ -1193,8 +1139,7 @@ module Google
|
|
|
1193
1139
|
execute_or_queue_command(command, &block)
|
|
1194
1140
|
end
|
|
1195
1141
|
|
|
1196
|
-
# Updates an existing creative.
|
|
1197
|
-
# Returns the updated creative if successful.
|
|
1142
|
+
# Updates an existing creative. Returns the updated creative if successful.
|
|
1198
1143
|
# @param [Fixnum] advertiser_id
|
|
1199
1144
|
# Output only. The unique ID of the advertiser the creative belongs to.
|
|
1200
1145
|
# @param [Fixnum] creative_id
|
|
@@ -1233,8 +1178,8 @@ module Google
|
|
|
1233
1178
|
execute_or_queue_command(command, &block)
|
|
1234
1179
|
end
|
|
1235
1180
|
|
|
1236
|
-
# Creates a new insertion order.
|
|
1237
|
-
#
|
|
1181
|
+
# Creates a new insertion order. Returns the newly created insertion order if
|
|
1182
|
+
# successful.
|
|
1238
1183
|
# @param [Fixnum] advertiser_id
|
|
1239
1184
|
# Output only. The unique ID of the advertiser the insertion order belongs to.
|
|
1240
1185
|
# @param [Google::Apis::DisplayvideoV1::InsertionOrder] insertion_order_object
|
|
@@ -1267,11 +1212,9 @@ module Google
|
|
|
1267
1212
|
execute_or_queue_command(command, &block)
|
|
1268
1213
|
end
|
|
1269
1214
|
|
|
1270
|
-
# Deletes an insertion order.
|
|
1271
|
-
#
|
|
1272
|
-
#
|
|
1273
|
-
# entity_status to `ENTITY_STATUS_ARCHIVED`,
|
|
1274
|
-
# 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.
|
|
1275
1218
|
# @param [Fixnum] advertiser_id
|
|
1276
1219
|
# The ID of the advertiser this insertion order belongs to.
|
|
1277
1220
|
# @param [Fixnum] insertion_order_id
|
|
@@ -1304,8 +1247,8 @@ module Google
|
|
|
1304
1247
|
execute_or_queue_command(command, &block)
|
|
1305
1248
|
end
|
|
1306
1249
|
|
|
1307
|
-
# Gets an insertion order.
|
|
1308
|
-
#
|
|
1250
|
+
# Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order
|
|
1251
|
+
# does not exist.
|
|
1309
1252
|
# @param [Fixnum] advertiser_id
|
|
1310
1253
|
# Required. The ID of the advertiser this insertion order belongs to.
|
|
1311
1254
|
# @param [Fixnum] insertion_order_id
|
|
@@ -1338,50 +1281,36 @@ module Google
|
|
|
1338
1281
|
execute_or_queue_command(command, &block)
|
|
1339
1282
|
end
|
|
1340
1283
|
|
|
1341
|
-
# Lists insertion orders in an advertiser.
|
|
1342
|
-
#
|
|
1343
|
-
#
|
|
1344
|
-
# If a filter by
|
|
1345
|
-
# entity_status is not specified, insertion
|
|
1346
|
-
# 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.
|
|
1347
1287
|
# @param [Fixnum] advertiser_id
|
|
1348
1288
|
# Required. The ID of the advertiser to list insertion orders for.
|
|
1349
1289
|
# @param [String] filter
|
|
1350
|
-
# Allows filtering by insertion order properties.
|
|
1351
|
-
#
|
|
1352
|
-
#
|
|
1353
|
-
# *
|
|
1354
|
-
#
|
|
1355
|
-
#
|
|
1356
|
-
# *
|
|
1357
|
-
#
|
|
1358
|
-
#
|
|
1359
|
-
#
|
|
1360
|
-
# Examples:
|
|
1361
|
-
# * All insertion orders under a campaign: `campaignId="1234"`
|
|
1362
|
-
# * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders
|
|
1363
|
-
# under an advertiser:
|
|
1364
|
-
# `(entityStatus="ENTITY_STATUS_ACTIVE" OR
|
|
1365
|
-
# entityStatus="ENTITY_STATUS_PAUSED")`
|
|
1366
|
-
# 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.
|
|
1367
1300
|
# @param [String] order_by
|
|
1368
|
-
# Field by which to sort the list.
|
|
1369
|
-
#
|
|
1370
|
-
#
|
|
1371
|
-
#
|
|
1372
|
-
# The default sorting order is ascending. To specify descending order for
|
|
1373
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
1374
|
-
# `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`.
|
|
1375
1305
|
# @param [Fixnum] page_size
|
|
1376
1306
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
1377
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
1378
|
-
#
|
|
1307
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1308
|
+
# specified.
|
|
1379
1309
|
# @param [String] page_token
|
|
1380
|
-
# A token identifying a page of results the server should return.
|
|
1381
|
-
#
|
|
1382
|
-
#
|
|
1383
|
-
#
|
|
1384
|
-
# 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.
|
|
1385
1314
|
# @param [String] fields
|
|
1386
1315
|
# Selector specifying which fields to include in a partial response.
|
|
1387
1316
|
# @param [String] quota_user
|
|
@@ -1413,8 +1342,8 @@ module Google
|
|
|
1413
1342
|
execute_or_queue_command(command, &block)
|
|
1414
1343
|
end
|
|
1415
1344
|
|
|
1416
|
-
# Updates an existing insertion order.
|
|
1417
|
-
#
|
|
1345
|
+
# Updates an existing insertion order. Returns the updated insertion order if
|
|
1346
|
+
# successful.
|
|
1418
1347
|
# @param [Fixnum] advertiser_id
|
|
1419
1348
|
# Output only. The unique ID of the advertiser the insertion order belongs to.
|
|
1420
1349
|
# @param [Fixnum] insertion_order_id
|
|
@@ -1453,10 +1382,10 @@ module Google
|
|
|
1453
1382
|
execute_or_queue_command(command, &block)
|
|
1454
1383
|
end
|
|
1455
1384
|
|
|
1456
|
-
# Bulk edits targeting options under a single line item.
|
|
1457
|
-
#
|
|
1458
|
-
# BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and
|
|
1459
|
-
#
|
|
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
|
|
1460
1389
|
# BulkEditLineItemAssignedTargetingOptionsRequest.create_requests .
|
|
1461
1390
|
# @param [Fixnum] advertiser_id
|
|
1462
1391
|
# Required. The ID of the advertiser the line item belongs to.
|
|
@@ -1499,44 +1428,32 @@ module Google
|
|
|
1499
1428
|
# @param [Fixnum] line_item_id
|
|
1500
1429
|
# Required. The ID of the line item to list assigned targeting options for.
|
|
1501
1430
|
# @param [String] filter
|
|
1502
|
-
# Allows filtering by assigned targeting option properties.
|
|
1503
|
-
#
|
|
1504
|
-
#
|
|
1505
|
-
#
|
|
1506
|
-
#
|
|
1507
|
-
#
|
|
1508
|
-
#
|
|
1509
|
-
#
|
|
1510
|
-
#
|
|
1511
|
-
#
|
|
1512
|
-
#
|
|
1513
|
-
#
|
|
1514
|
-
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL
|
|
1515
|
-
# `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR
|
|
1516
|
-
# targetingType="TARGETING_TYPE_CHANNEL"`
|
|
1517
|
-
# * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
|
|
1518
|
-
# INHERITED_FROM_PARTNER
|
|
1519
|
-
# `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
|
|
1520
|
-
# 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.
|
|
1521
1443
|
# @param [String] order_by
|
|
1522
|
-
# Field by which to sort the list.
|
|
1523
|
-
#
|
|
1524
|
-
#
|
|
1525
|
-
#
|
|
1526
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
1527
|
-
# `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`.
|
|
1528
1448
|
# @param [Fixnum] page_size
|
|
1529
|
-
# Requested page size.
|
|
1530
|
-
#
|
|
1531
|
-
#
|
|
1532
|
-
# 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.
|
|
1533
1452
|
# @param [String] page_token
|
|
1534
|
-
# A token that lets the client fetch the next page of results.
|
|
1535
|
-
#
|
|
1536
|
-
#
|
|
1537
|
-
#
|
|
1538
|
-
# `BulkListLineItemAssignedTargetingOptions` method.
|
|
1539
|
-
# 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.
|
|
1540
1457
|
# @param [String] fields
|
|
1541
1458
|
# Selector specifying which fields to include in a partial response.
|
|
1542
1459
|
# @param [String] quota_user
|
|
@@ -1569,8 +1486,7 @@ module Google
|
|
|
1569
1486
|
execute_or_queue_command(command, &block)
|
|
1570
1487
|
end
|
|
1571
1488
|
|
|
1572
|
-
# Creates a new line item.
|
|
1573
|
-
# Returns the newly created line item if successful.
|
|
1489
|
+
# Creates a new line item. Returns the newly created line item if successful.
|
|
1574
1490
|
# @param [Fixnum] advertiser_id
|
|
1575
1491
|
# Output only. The unique ID of the advertiser the line item belongs to.
|
|
1576
1492
|
# @param [Google::Apis::DisplayvideoV1::LineItem] line_item_object
|
|
@@ -1603,11 +1519,9 @@ module Google
|
|
|
1603
1519
|
execute_or_queue_command(command, &block)
|
|
1604
1520
|
end
|
|
1605
1521
|
|
|
1606
|
-
# Deletes a line item.
|
|
1607
|
-
#
|
|
1608
|
-
#
|
|
1609
|
-
# entity_status to `ENTITY_STATUS_ARCHIVED`, to be
|
|
1610
|
-
# 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.
|
|
1611
1525
|
# @param [Fixnum] advertiser_id
|
|
1612
1526
|
# The ID of the advertiser this line item belongs to.
|
|
1613
1527
|
# @param [Fixnum] line_item_id
|
|
@@ -1673,53 +1587,41 @@ module Google
|
|
|
1673
1587
|
execute_or_queue_command(command, &block)
|
|
1674
1588
|
end
|
|
1675
1589
|
|
|
1676
|
-
# Lists line items in an advertiser.
|
|
1677
|
-
#
|
|
1678
|
-
#
|
|
1679
|
-
# If a filter by
|
|
1680
|
-
# entity_status is not specified, line items with
|
|
1681
|
-
# `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.
|
|
1682
1593
|
# @param [Fixnum] advertiser_id
|
|
1683
1594
|
# Required. The ID of the advertiser to list line items for.
|
|
1684
1595
|
# @param [String] filter
|
|
1685
|
-
# Allows filtering by line item properties.
|
|
1686
|
-
#
|
|
1687
|
-
#
|
|
1688
|
-
# *
|
|
1689
|
-
#
|
|
1690
|
-
# *
|
|
1691
|
-
#
|
|
1692
|
-
#
|
|
1693
|
-
#
|
|
1694
|
-
#
|
|
1695
|
-
#
|
|
1696
|
-
#
|
|
1697
|
-
#
|
|
1698
|
-
#
|
|
1699
|
-
#
|
|
1700
|
-
# and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser:
|
|
1701
|
-
# `(entityStatus="ENTITY_STATUS_ACTIVE" OR
|
|
1702
|
-
# entityStatus="ENTITY_STATUS_PAUSED") AND
|
|
1703
|
-
# lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"`
|
|
1704
|
-
# 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.
|
|
1705
1611
|
# @param [String] order_by
|
|
1706
|
-
# Field by which to sort the list.
|
|
1707
|
-
#
|
|
1708
|
-
#
|
|
1709
|
-
#
|
|
1710
|
-
# The default sorting order is ascending. To specify descending order for
|
|
1711
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
1712
|
-
# `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`.
|
|
1713
1616
|
# @param [Fixnum] page_size
|
|
1714
1617
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
1715
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
1716
|
-
#
|
|
1618
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1619
|
+
# specified.
|
|
1717
1620
|
# @param [String] page_token
|
|
1718
|
-
# A token identifying a page of results the server should return.
|
|
1719
|
-
#
|
|
1720
|
-
#
|
|
1721
|
-
# returned
|
|
1722
|
-
# 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.
|
|
1723
1625
|
# @param [String] fields
|
|
1724
1626
|
# Selector specifying which fields to include in a partial response.
|
|
1725
1627
|
# @param [String] quota_user
|
|
@@ -1751,8 +1653,7 @@ module Google
|
|
|
1751
1653
|
execute_or_queue_command(command, &block)
|
|
1752
1654
|
end
|
|
1753
1655
|
|
|
1754
|
-
# Updates an existing line item.
|
|
1755
|
-
# Returns the updated line item if successful.
|
|
1656
|
+
# Updates an existing line item. Returns the updated line item if successful.
|
|
1756
1657
|
# @param [Fixnum] advertiser_id
|
|
1757
1658
|
# Output only. The unique ID of the advertiser the line item belongs to.
|
|
1758
1659
|
# @param [Fixnum] line_item_id
|
|
@@ -1791,8 +1692,8 @@ module Google
|
|
|
1791
1692
|
execute_or_queue_command(command, &block)
|
|
1792
1693
|
end
|
|
1793
1694
|
|
|
1794
|
-
# Assigns a targeting option to a line item.
|
|
1795
|
-
#
|
|
1695
|
+
# Assigns a targeting option to a line item. Returns the assigned targeting
|
|
1696
|
+
# option if successful.
|
|
1796
1697
|
# @param [Fixnum] advertiser_id
|
|
1797
1698
|
# Required. The ID of the advertiser the line item belongs to.
|
|
1798
1699
|
# @param [Fixnum] line_item_id
|
|
@@ -1918,39 +1819,30 @@ module Google
|
|
|
1918
1819
|
# @param [String] targeting_type
|
|
1919
1820
|
# Required. Identifies the type of assigned targeting options to list.
|
|
1920
1821
|
# @param [String] filter
|
|
1921
|
-
# Allows filtering by assigned targeting option properties.
|
|
1922
|
-
#
|
|
1923
|
-
#
|
|
1924
|
-
#
|
|
1925
|
-
#
|
|
1926
|
-
#
|
|
1927
|
-
# *
|
|
1928
|
-
#
|
|
1929
|
-
#
|
|
1930
|
-
#
|
|
1931
|
-
# * AssignedTargetingOptions with ID 1 or 2
|
|
1932
|
-
# `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"`
|
|
1933
|
-
# * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
|
|
1934
|
-
# INHERITED_FROM_PARTNER
|
|
1935
|
-
# `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
|
|
1936
|
-
# 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.
|
|
1937
1832
|
# @param [String] order_by
|
|
1938
|
-
# Field by which to sort the list.
|
|
1939
|
-
#
|
|
1940
|
-
#
|
|
1941
|
-
#
|
|
1942
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
1943
|
-
# `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`.
|
|
1944
1837
|
# @param [Fixnum] page_size
|
|
1945
1838
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
1946
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
1947
|
-
#
|
|
1839
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1840
|
+
# specified.
|
|
1948
1841
|
# @param [String] page_token
|
|
1949
|
-
# A token identifying a page of results the server should return.
|
|
1950
|
-
#
|
|
1951
|
-
#
|
|
1952
|
-
#
|
|
1953
|
-
# 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.
|
|
1954
1846
|
# @param [String] fields
|
|
1955
1847
|
# Selector specifying which fields to include in a partial response.
|
|
1956
1848
|
# @param [String] quota_user
|
|
@@ -2057,38 +1949,27 @@ module Google
|
|
|
2057
1949
|
# Required. The ID of the DV360 advertiser to which the fetched location lists
|
|
2058
1950
|
# belong.
|
|
2059
1951
|
# @param [String] filter
|
|
2060
|
-
# Allows filtering by location list fields.
|
|
2061
|
-
#
|
|
2062
|
-
#
|
|
2063
|
-
# *
|
|
2064
|
-
#
|
|
2065
|
-
#
|
|
2066
|
-
# *
|
|
2067
|
-
#
|
|
2068
|
-
# - `locationType`
|
|
2069
|
-
# Examples:
|
|
2070
|
-
# * All regional location list:
|
|
2071
|
-
# `locationType="TARGETING_LOCATION_TYPE_REGIONAL"`
|
|
2072
|
-
# * All proximity location list:
|
|
2073
|
-
# `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"`
|
|
2074
1960
|
# @param [String] order_by
|
|
2075
|
-
# Field by which to sort the list.
|
|
2076
|
-
#
|
|
2077
|
-
#
|
|
2078
|
-
#
|
|
2079
|
-
# The default sorting order is ascending. To specify descending order for
|
|
2080
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
2081
|
-
# `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`.
|
|
2082
1965
|
# @param [Fixnum] page_size
|
|
2083
|
-
# Requested page size. Must be between `1` and `100`.
|
|
2084
|
-
#
|
|
2085
|
-
# 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.
|
|
2086
1968
|
# @param [String] page_token
|
|
2087
|
-
# A token identifying a page of results the server should return.
|
|
2088
|
-
#
|
|
2089
|
-
#
|
|
2090
|
-
# returned
|
|
2091
|
-
# 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.
|
|
2092
1973
|
# @param [String] fields
|
|
2093
1974
|
# Selector specifying which fields to include in a partial response.
|
|
2094
1975
|
# @param [String] quota_user
|
|
@@ -2159,12 +2040,11 @@ module Google
|
|
|
2159
2040
|
execute_or_queue_command(command, &block)
|
|
2160
2041
|
end
|
|
2161
2042
|
|
|
2162
|
-
# Bulk edits multiple assignments between locations and a single location
|
|
2163
|
-
# list.
|
|
2043
|
+
# Bulk edits multiple assignments between locations and a single location list.
|
|
2164
2044
|
# The operation will delete the assigned locations provided in
|
|
2165
|
-
# BulkEditAssignedLocationsRequest.deleted_assigned_locations and then
|
|
2166
|
-
#
|
|
2167
|
-
#
|
|
2045
|
+
# BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create
|
|
2046
|
+
# the assigned locations provided in BulkEditAssignedLocationsRequest.
|
|
2047
|
+
# created_assigned_locations.
|
|
2168
2048
|
# @param [Fixnum] advertiser_id
|
|
2169
2049
|
# Required. The ID of the DV360 advertiser to which the location list belongs.
|
|
2170
2050
|
# @param [Fixnum] location_list_id
|
|
@@ -2278,32 +2158,26 @@ module Google
|
|
|
2278
2158
|
# @param [Fixnum] location_list_id
|
|
2279
2159
|
# Required. The ID of the location list to which these assignments are assigned.
|
|
2280
2160
|
# @param [String] filter
|
|
2281
|
-
# Allows filtering by location list assignment fields.
|
|
2282
|
-
#
|
|
2283
|
-
#
|
|
2284
|
-
#
|
|
2285
|
-
#
|
|
2286
|
-
#
|
|
2287
|
-
# * Supported fields:
|
|
2288
|
-
# - `assignedLocationId`
|
|
2289
|
-
# 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.
|
|
2290
2167
|
# @param [String] order_by
|
|
2291
|
-
# Field by which to sort the list.
|
|
2292
|
-
#
|
|
2293
|
-
#
|
|
2294
|
-
#
|
|
2295
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
2296
|
-
# `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`.
|
|
2297
2172
|
# @param [Fixnum] page_size
|
|
2298
2173
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2299
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
2300
|
-
#
|
|
2174
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2175
|
+
# specified.
|
|
2301
2176
|
# @param [String] page_token
|
|
2302
|
-
# A token identifying a page of results the server should return.
|
|
2303
|
-
#
|
|
2304
|
-
#
|
|
2305
|
-
#
|
|
2306
|
-
# 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.
|
|
2307
2181
|
# @param [String] fields
|
|
2308
2182
|
# Selector specifying which fields to include in a partial response.
|
|
2309
2183
|
# @param [String] quota_user
|
|
@@ -2340,8 +2214,7 @@ module Google
|
|
|
2340
2214
|
# keyword list if successful.
|
|
2341
2215
|
# @param [Fixnum] advertiser_id
|
|
2342
2216
|
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
|
2343
|
-
# will
|
|
2344
|
-
# belong.
|
|
2217
|
+
# will belong.
|
|
2345
2218
|
# @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
|
|
2346
2219
|
# @param [String] fields
|
|
2347
2220
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2372,8 +2245,8 @@ module Google
|
|
|
2372
2245
|
execute_or_queue_command(command, &block)
|
|
2373
2246
|
end
|
|
2374
2247
|
|
|
2375
|
-
# Deletes a negative keyword list given an advertiser ID and a negative
|
|
2376
|
-
#
|
|
2248
|
+
# Deletes a negative keyword list given an advertiser ID and a negative keyword
|
|
2249
|
+
# list ID.
|
|
2377
2250
|
# @param [Fixnum] advertiser_id
|
|
2378
2251
|
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
|
2379
2252
|
# belongs.
|
|
@@ -2411,8 +2284,7 @@ module Google
|
|
|
2411
2284
|
# list ID.
|
|
2412
2285
|
# @param [Fixnum] advertiser_id
|
|
2413
2286
|
# Required. The ID of the DV360 advertiser to which the fetched negative keyword
|
|
2414
|
-
# list
|
|
2415
|
-
# belongs.
|
|
2287
|
+
# list belongs.
|
|
2416
2288
|
# @param [Fixnum] negative_keyword_list_id
|
|
2417
2289
|
# Required. The ID of the negative keyword list to fetch.
|
|
2418
2290
|
# @param [String] fields
|
|
@@ -2446,18 +2318,15 @@ module Google
|
|
|
2446
2318
|
# Lists negative keyword lists based on a given advertiser id.
|
|
2447
2319
|
# @param [Fixnum] advertiser_id
|
|
2448
2320
|
# Required. The ID of the DV360 advertiser to which the fetched negative keyword
|
|
2449
|
-
# lists
|
|
2450
|
-
# belong.
|
|
2321
|
+
# lists belong.
|
|
2451
2322
|
# @param [Fixnum] page_size
|
|
2452
|
-
# Requested page size. Must be between `1` and `100`.
|
|
2453
|
-
#
|
|
2454
|
-
# 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.
|
|
2455
2325
|
# @param [String] page_token
|
|
2456
|
-
# A token identifying a page of results the server should return.
|
|
2457
|
-
#
|
|
2458
|
-
#
|
|
2459
|
-
#
|
|
2460
|
-
# 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.
|
|
2461
2330
|
# @param [String] fields
|
|
2462
2331
|
# Selector specifying which fields to include in a partial response.
|
|
2463
2332
|
# @param [String] quota_user
|
|
@@ -2487,8 +2356,8 @@ module Google
|
|
|
2487
2356
|
execute_or_queue_command(command, &block)
|
|
2488
2357
|
end
|
|
2489
2358
|
|
|
2490
|
-
# Updates a negative keyword list. Returns the updated negative keyword list
|
|
2491
|
-
#
|
|
2359
|
+
# Updates a negative keyword list. Returns the updated negative keyword list if
|
|
2360
|
+
# successful.
|
|
2492
2361
|
# @param [Fixnum] advertiser_id
|
|
2493
2362
|
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
|
2494
2363
|
# belongs.
|
|
@@ -2529,21 +2398,18 @@ module Google
|
|
|
2529
2398
|
execute_or_queue_command(command, &block)
|
|
2530
2399
|
end
|
|
2531
2400
|
|
|
2532
|
-
# Bulk edits negative keywords in a single negative keyword list.
|
|
2533
|
-
#
|
|
2534
|
-
#
|
|
2535
|
-
#
|
|
2536
|
-
#
|
|
2537
|
-
#
|
|
2538
|
-
# 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.
|
|
2539
2407
|
# @param [Fixnum] advertiser_id
|
|
2540
2408
|
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
|
2541
|
-
# list
|
|
2542
|
-
# belongs.
|
|
2409
|
+
# list belongs.
|
|
2543
2410
|
# @param [Fixnum] negative_keyword_list_id
|
|
2544
2411
|
# Required. The ID of the parent negative keyword list to which the negative
|
|
2545
|
-
# keywords
|
|
2546
|
-
# belong.
|
|
2412
|
+
# keywords belong.
|
|
2547
2413
|
# @param [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest] bulk_edit_negative_keywords_request_object
|
|
2548
2414
|
# @param [String] fields
|
|
2549
2415
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2578,12 +2444,10 @@ module Google
|
|
|
2578
2444
|
# Creates a negative keyword in a negative keyword list.
|
|
2579
2445
|
# @param [Fixnum] advertiser_id
|
|
2580
2446
|
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
|
2581
|
-
# list
|
|
2582
|
-
# belongs.
|
|
2447
|
+
# list belongs.
|
|
2583
2448
|
# @param [Fixnum] negative_keyword_list_id
|
|
2584
2449
|
# Required. The ID of the parent negative keyword list in which the negative
|
|
2585
|
-
# keyword
|
|
2586
|
-
# will be created.
|
|
2450
|
+
# keyword will be created.
|
|
2587
2451
|
# @param [Google::Apis::DisplayvideoV1::NegativeKeyword] negative_keyword_object
|
|
2588
2452
|
# @param [String] fields
|
|
2589
2453
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2618,12 +2482,10 @@ module Google
|
|
|
2618
2482
|
# Deletes a negative keyword from a negative keyword list.
|
|
2619
2483
|
# @param [Fixnum] advertiser_id
|
|
2620
2484
|
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
|
2621
|
-
# list
|
|
2622
|
-
# belongs.
|
|
2485
|
+
# list belongs.
|
|
2623
2486
|
# @param [Fixnum] negative_keyword_list_id
|
|
2624
2487
|
# Required. The ID of the parent negative keyword list to which the negative
|
|
2625
|
-
# keyword
|
|
2626
|
-
# belongs.
|
|
2488
|
+
# keyword belongs.
|
|
2627
2489
|
# @param [String] keyword_value
|
|
2628
2490
|
# Required. The keyword value of the negative keyword to delete.
|
|
2629
2491
|
# @param [String] fields
|
|
@@ -2658,42 +2520,31 @@ module Google
|
|
|
2658
2520
|
# Lists negative keywords in a negative keyword list.
|
|
2659
2521
|
# @param [Fixnum] advertiser_id
|
|
2660
2522
|
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
|
2661
|
-
# list
|
|
2662
|
-
# belongs.
|
|
2523
|
+
# list belongs.
|
|
2663
2524
|
# @param [Fixnum] negative_keyword_list_id
|
|
2664
2525
|
# Required. The ID of the parent negative keyword list to which the requested
|
|
2665
|
-
# negative
|
|
2666
|
-
# keywords belong.
|
|
2526
|
+
# negative keywords belong.
|
|
2667
2527
|
# @param [String] filter
|
|
2668
|
-
# Allows filtering by negative keyword fields.
|
|
2669
|
-
#
|
|
2670
|
-
# *
|
|
2671
|
-
#
|
|
2672
|
-
# *
|
|
2673
|
-
#
|
|
2674
|
-
# * The operator must be `CONTAINS (:)`.
|
|
2675
|
-
# * Supported fields:
|
|
2676
|
-
# - `keywordValue`
|
|
2677
|
-
# Examples:
|
|
2678
|
-
# * All negative keywords for which the keyword value contains "google":
|
|
2679
|
-
# `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"`
|
|
2680
2534
|
# @param [String] order_by
|
|
2681
|
-
# Field by which to sort the list.
|
|
2682
|
-
#
|
|
2683
|
-
#
|
|
2684
|
-
#
|
|
2685
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
2686
|
-
# `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`.
|
|
2687
2539
|
# @param [Fixnum] page_size
|
|
2688
2540
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2689
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
2690
|
-
#
|
|
2541
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2542
|
+
# specified.
|
|
2691
2543
|
# @param [String] page_token
|
|
2692
|
-
# A token identifying a page of results the server should return.
|
|
2693
|
-
#
|
|
2694
|
-
#
|
|
2695
|
-
#
|
|
2696
|
-
# 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.
|
|
2697
2548
|
# @param [String] fields
|
|
2698
2549
|
# Selector specifying which fields to include in a partial response.
|
|
2699
2550
|
# @param [String] quota_user
|
|
@@ -2726,8 +2577,8 @@ module Google
|
|
|
2726
2577
|
execute_or_queue_command(command, &block)
|
|
2727
2578
|
end
|
|
2728
2579
|
|
|
2729
|
-
# Assigns a targeting option to an advertiser.
|
|
2730
|
-
#
|
|
2580
|
+
# Assigns a targeting option to an advertiser. Returns the assigned targeting
|
|
2581
|
+
# option if successful.
|
|
2731
2582
|
# @param [Fixnum] advertiser_id
|
|
2732
2583
|
# Required. The ID of the advertiser.
|
|
2733
2584
|
# @param [String] targeting_type
|
|
@@ -2842,35 +2693,27 @@ module Google
|
|
|
2842
2693
|
# @param [String] targeting_type
|
|
2843
2694
|
# Required. Identifies the type of assigned targeting options to list.
|
|
2844
2695
|
# @param [String] filter
|
|
2845
|
-
# Allows filtering by assigned targeting option properties.
|
|
2846
|
-
#
|
|
2847
|
-
#
|
|
2848
|
-
#
|
|
2849
|
-
#
|
|
2850
|
-
#
|
|
2851
|
-
#
|
|
2852
|
-
# - `assignedTargetingOptionId`
|
|
2853
|
-
# Examples:
|
|
2854
|
-
# * AssignedTargetingOption with ID 123456
|
|
2855
|
-
# `assignedTargetingOptionId="123456"`
|
|
2856
|
-
# 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.
|
|
2857
2703
|
# @param [String] order_by
|
|
2858
|
-
# Field by which to sort the list.
|
|
2859
|
-
#
|
|
2860
|
-
#
|
|
2861
|
-
#
|
|
2862
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
2863
|
-
# `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`.
|
|
2864
2708
|
# @param [Fixnum] page_size
|
|
2865
2709
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2866
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
2867
|
-
#
|
|
2710
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2711
|
+
# specified.
|
|
2868
2712
|
# @param [String] page_token
|
|
2869
|
-
# A token identifying a page of results the server should return.
|
|
2870
|
-
#
|
|
2871
|
-
#
|
|
2872
|
-
#
|
|
2873
|
-
# 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.
|
|
2874
2717
|
# @param [String] fields
|
|
2875
2718
|
# Selector specifying which fields to include in a partial response.
|
|
2876
2719
|
# @param [String] quota_user
|
|
@@ -2907,8 +2750,7 @@ module Google
|
|
|
2907
2750
|
# @param [Fixnum] combined_audience_id
|
|
2908
2751
|
# Required. The ID of the combined audience to fetch.
|
|
2909
2752
|
# @param [Fixnum] advertiser_id
|
|
2910
|
-
# The ID of the advertiser that has access to the fetched combined
|
|
2911
|
-
# audience.
|
|
2753
|
+
# The ID of the advertiser that has access to the fetched combined audience.
|
|
2912
2754
|
# @param [Fixnum] partner_id
|
|
2913
2755
|
# The ID of the partner that has access to the fetched combined audience.
|
|
2914
2756
|
# @param [String] fields
|
|
@@ -2940,43 +2782,31 @@ module Google
|
|
|
2940
2782
|
execute_or_queue_command(command, &block)
|
|
2941
2783
|
end
|
|
2942
2784
|
|
|
2943
|
-
# Lists combined audiences.
|
|
2944
|
-
# The order is defined by the
|
|
2945
|
-
# order_by parameter.
|
|
2785
|
+
# Lists combined audiences. The order is defined by the order_by parameter.
|
|
2946
2786
|
# @param [Fixnum] advertiser_id
|
|
2947
|
-
# The ID of the advertiser that has access to the fetched combined
|
|
2948
|
-
# audiences.
|
|
2787
|
+
# The ID of the advertiser that has access to the fetched combined audiences.
|
|
2949
2788
|
# @param [String] filter
|
|
2950
|
-
# Allows filtering by combined audience fields.
|
|
2951
|
-
#
|
|
2952
|
-
# *
|
|
2953
|
-
#
|
|
2954
|
-
# *
|
|
2955
|
-
#
|
|
2956
|
-
#
|
|
2957
|
-
# - `displayName`
|
|
2958
|
-
# Examples:
|
|
2959
|
-
# * All combined audiences for which the display name contains "Google":
|
|
2960
|
-
# `displayName : "Google"`.
|
|
2961
|
-
# 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.
|
|
2962
2796
|
# @param [String] order_by
|
|
2963
|
-
# Field by which to sort the list.
|
|
2964
|
-
#
|
|
2965
|
-
#
|
|
2966
|
-
#
|
|
2967
|
-
# The default sorting order is ascending. To specify descending order for
|
|
2968
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
2969
|
-
# `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`.
|
|
2970
2801
|
# @param [Fixnum] page_size
|
|
2971
2802
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
2972
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
2973
|
-
#
|
|
2803
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2804
|
+
# specified.
|
|
2974
2805
|
# @param [String] page_token
|
|
2975
|
-
# A token identifying a page of results the server should return.
|
|
2976
|
-
#
|
|
2977
|
-
#
|
|
2978
|
-
#
|
|
2979
|
-
# 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.
|
|
2980
2810
|
# @param [Fixnum] partner_id
|
|
2981
2811
|
# The ID of the partner that has access to the fetched combined audiences.
|
|
2982
2812
|
# @param [String] fields
|
|
@@ -3011,12 +2841,115 @@ module Google
|
|
|
3011
2841
|
execute_or_queue_command(command, &block)
|
|
3012
2842
|
end
|
|
3013
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
|
+
|
|
3014
2948
|
# Gets a custom list.
|
|
3015
2949
|
# @param [Fixnum] custom_list_id
|
|
3016
2950
|
# Required. The ID of the custom list to fetch.
|
|
3017
2951
|
# @param [Fixnum] advertiser_id
|
|
3018
|
-
# The ID of the DV360 advertiser that has access to the fetched custom
|
|
3019
|
-
# lists.
|
|
2952
|
+
# The ID of the DV360 advertiser that has access to the fetched custom lists.
|
|
3020
2953
|
# @param [String] fields
|
|
3021
2954
|
# Selector specifying which fields to include in a partial response.
|
|
3022
2955
|
# @param [String] quota_user
|
|
@@ -3045,43 +2978,30 @@ module Google
|
|
|
3045
2978
|
execute_or_queue_command(command, &block)
|
|
3046
2979
|
end
|
|
3047
2980
|
|
|
3048
|
-
# Lists custom lists.
|
|
3049
|
-
# The order is defined by the order_by
|
|
3050
|
-
# parameter.
|
|
2981
|
+
# Lists custom lists. The order is defined by the order_by parameter.
|
|
3051
2982
|
# @param [Fixnum] advertiser_id
|
|
3052
|
-
# The ID of the DV360 advertiser that has access to the fetched custom
|
|
3053
|
-
# lists.
|
|
2983
|
+
# The ID of the DV360 advertiser that has access to the fetched custom lists.
|
|
3054
2984
|
# @param [String] filter
|
|
3055
|
-
# Allows filtering by custom list fields.
|
|
3056
|
-
#
|
|
3057
|
-
#
|
|
3058
|
-
#
|
|
3059
|
-
#
|
|
3060
|
-
# * The operator must be `CONTAINS (:)`.
|
|
3061
|
-
# * Supported fields:
|
|
3062
|
-
# - `displayName`
|
|
3063
|
-
# Examples:
|
|
3064
|
-
# * All custom lists for which the display name contains "Google":
|
|
3065
|
-
# `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"`.
|
|
3066
2990
|
# The length of this field should be no more than 500 characters.
|
|
3067
2991
|
# @param [String] order_by
|
|
3068
|
-
# Field by which to sort the list.
|
|
3069
|
-
#
|
|
3070
|
-
#
|
|
3071
|
-
#
|
|
3072
|
-
# The default sorting order is ascending. To specify descending order for
|
|
3073
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
3074
|
-
# `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`.
|
|
3075
2996
|
# @param [Fixnum] page_size
|
|
3076
2997
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3077
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
3078
|
-
#
|
|
2998
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2999
|
+
# specified.
|
|
3079
3000
|
# @param [String] page_token
|
|
3080
|
-
# A token identifying a page of results the server should return.
|
|
3081
|
-
#
|
|
3082
|
-
#
|
|
3083
|
-
# returned
|
|
3084
|
-
# 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.
|
|
3085
3005
|
# @param [String] fields
|
|
3086
3006
|
# Selector specifying which fields to include in a partial response.
|
|
3087
3007
|
# @param [String] quota_user
|
|
@@ -3117,11 +3037,11 @@ module Google
|
|
|
3117
3037
|
# @param [Fixnum] first_and_third_party_audience_id
|
|
3118
3038
|
# Required. The ID of the first and third party audience to fetch.
|
|
3119
3039
|
# @param [Fixnum] advertiser_id
|
|
3120
|
-
# The ID of the advertiser that has access to the fetched first and
|
|
3121
|
-
#
|
|
3040
|
+
# The ID of the advertiser that has access to the fetched first and third party
|
|
3041
|
+
# audience.
|
|
3122
3042
|
# @param [Fixnum] partner_id
|
|
3123
|
-
# The ID of the partner that has access to the fetched first and
|
|
3124
|
-
#
|
|
3043
|
+
# The ID of the partner that has access to the fetched first and third party
|
|
3044
|
+
# audience.
|
|
3125
3045
|
# @param [String] fields
|
|
3126
3046
|
# Selector specifying which fields to include in a partial response.
|
|
3127
3047
|
# @param [String] quota_user
|
|
@@ -3151,46 +3071,36 @@ module Google
|
|
|
3151
3071
|
execute_or_queue_command(command, &block)
|
|
3152
3072
|
end
|
|
3153
3073
|
|
|
3154
|
-
# Lists first and third party audiences.
|
|
3155
|
-
#
|
|
3156
|
-
# order_by parameter.
|
|
3074
|
+
# Lists first and third party audiences. The order is defined by the order_by
|
|
3075
|
+
# parameter.
|
|
3157
3076
|
# @param [Fixnum] advertiser_id
|
|
3158
|
-
# The ID of the advertiser that has access to the fetched first and
|
|
3159
|
-
#
|
|
3077
|
+
# The ID of the advertiser that has access to the fetched first and third party
|
|
3078
|
+
# audiences.
|
|
3160
3079
|
# @param [String] filter
|
|
3161
|
-
# Allows filtering by first and third party audience fields.
|
|
3162
|
-
#
|
|
3163
|
-
#
|
|
3164
|
-
#
|
|
3165
|
-
# *
|
|
3166
|
-
#
|
|
3167
|
-
#
|
|
3168
|
-
# - `displayName`
|
|
3169
|
-
# Examples:
|
|
3170
|
-
# * All first and third party audiences for which the display name contains
|
|
3171
|
-
# "Google": `displayName : "Google"`.
|
|
3172
|
-
# 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.
|
|
3173
3087
|
# @param [String] order_by
|
|
3174
|
-
# Field by which to sort the list.
|
|
3175
|
-
#
|
|
3176
|
-
#
|
|
3177
|
-
#
|
|
3178
|
-
# The default sorting order is ascending. To specify descending order for
|
|
3179
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
3180
|
-
# `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`.
|
|
3181
3092
|
# @param [Fixnum] page_size
|
|
3182
3093
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3183
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
3184
|
-
#
|
|
3094
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
3095
|
+
# specified.
|
|
3185
3096
|
# @param [String] page_token
|
|
3186
|
-
# A token identifying a page of results the server should return.
|
|
3187
|
-
#
|
|
3188
|
-
#
|
|
3189
|
-
#
|
|
3190
|
-
# 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.
|
|
3191
3101
|
# @param [Fixnum] partner_id
|
|
3192
|
-
# The ID of the partner that has access to the fetched first and
|
|
3193
|
-
#
|
|
3102
|
+
# The ID of the partner that has access to the fetched first and third party
|
|
3103
|
+
# audiences.
|
|
3194
3104
|
# @param [String] fields
|
|
3195
3105
|
# Selector specifying which fields to include in a partial response.
|
|
3196
3106
|
# @param [String] quota_user
|
|
@@ -3256,8 +3166,8 @@ module Google
|
|
|
3256
3166
|
execute_or_queue_command(command, &block)
|
|
3257
3167
|
end
|
|
3258
3168
|
|
|
3259
|
-
# Updates an existing Floodlight group.
|
|
3260
|
-
#
|
|
3169
|
+
# Updates an existing Floodlight group. Returns the updated Floodlight group if
|
|
3170
|
+
# successful.
|
|
3261
3171
|
# @param [Fixnum] floodlight_group_id
|
|
3262
3172
|
# Output only. The unique ID of the Floodlight group. Assigned by the system.
|
|
3263
3173
|
# @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
|
|
@@ -3332,42 +3242,31 @@ module Google
|
|
|
3332
3242
|
execute_or_queue_command(command, &block)
|
|
3333
3243
|
end
|
|
3334
3244
|
|
|
3335
|
-
# Lists Google audiences.
|
|
3336
|
-
# The order is defined by the order_by
|
|
3337
|
-
# parameter.
|
|
3245
|
+
# Lists Google audiences. The order is defined by the order_by parameter.
|
|
3338
3246
|
# @param [Fixnum] advertiser_id
|
|
3339
3247
|
# The ID of the advertiser that has access to the fetched Google audiences.
|
|
3340
3248
|
# @param [String] filter
|
|
3341
|
-
# Allows filtering by Google audience fields.
|
|
3342
|
-
#
|
|
3343
|
-
# *
|
|
3344
|
-
#
|
|
3345
|
-
# *
|
|
3346
|
-
#
|
|
3347
|
-
#
|
|
3348
|
-
# - `displayName`
|
|
3349
|
-
# Examples:
|
|
3350
|
-
# * All Google audiences for which the display name contains "Google":
|
|
3351
|
-
# `displayName : "Google"`.
|
|
3352
|
-
# 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.
|
|
3353
3256
|
# @param [String] order_by
|
|
3354
|
-
# Field by which to sort the list.
|
|
3355
|
-
#
|
|
3356
|
-
#
|
|
3357
|
-
#
|
|
3358
|
-
# The default sorting order is ascending. To specify descending order for
|
|
3359
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
|
3360
|
-
# `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`.
|
|
3361
3261
|
# @param [Fixnum] page_size
|
|
3362
3262
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3363
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
3364
|
-
#
|
|
3263
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
3264
|
+
# specified.
|
|
3365
3265
|
# @param [String] page_token
|
|
3366
|
-
# A token identifying a page of results the server should return.
|
|
3367
|
-
#
|
|
3368
|
-
#
|
|
3369
|
-
# returned
|
|
3370
|
-
# 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.
|
|
3371
3270
|
# @param [Fixnum] partner_id
|
|
3372
3271
|
# The ID of the partner that has access to the fetched Google audiences.
|
|
3373
3272
|
# @param [String] fields
|
|
@@ -3406,13 +3305,12 @@ module Google
|
|
|
3406
3305
|
# source group if successful.
|
|
3407
3306
|
# @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
|
|
3408
3307
|
# @param [Fixnum] advertiser_id
|
|
3409
|
-
# The ID of the advertiser that owns the inventory source group.
|
|
3410
|
-
#
|
|
3308
|
+
# The ID of the advertiser that owns the inventory source group. The parent
|
|
3309
|
+
# partner will not have access to this group.
|
|
3411
3310
|
# @param [Fixnum] partner_id
|
|
3412
|
-
# The ID of the partner that owns the inventory source group.
|
|
3413
|
-
#
|
|
3414
|
-
#
|
|
3415
|
-
# 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.
|
|
3416
3314
|
# @param [String] fields
|
|
3417
3315
|
# Selector specifying which fields to include in a partial response.
|
|
3418
3316
|
# @param [String] quota_user
|
|
@@ -3447,11 +3345,11 @@ module Google
|
|
|
3447
3345
|
# @param [Fixnum] inventory_source_group_id
|
|
3448
3346
|
# Required. The ID of the inventory source group to delete.
|
|
3449
3347
|
# @param [Fixnum] advertiser_id
|
|
3450
|
-
# The ID of the advertiser that owns the inventory source group.
|
|
3451
|
-
#
|
|
3348
|
+
# The ID of the advertiser that owns the inventory source group. The parent
|
|
3349
|
+
# partner does not have access to this group.
|
|
3452
3350
|
# @param [Fixnum] partner_id
|
|
3453
|
-
# The ID of the partner that owns the inventory source group.
|
|
3454
|
-
#
|
|
3351
|
+
# The ID of the partner that owns the inventory source group. Only this partner
|
|
3352
|
+
# has write access to this group.
|
|
3455
3353
|
# @param [String] fields
|
|
3456
3354
|
# Selector specifying which fields to include in a partial response.
|
|
3457
3355
|
# @param [String] quota_user
|
|
@@ -3485,12 +3383,12 @@ module Google
|
|
|
3485
3383
|
# @param [Fixnum] inventory_source_group_id
|
|
3486
3384
|
# Required. The ID of the inventory source group to fetch.
|
|
3487
3385
|
# @param [Fixnum] advertiser_id
|
|
3488
|
-
# The ID of the advertiser that has access to the inventory source group.
|
|
3489
|
-
#
|
|
3490
|
-
#
|
|
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.
|
|
3491
3389
|
# @param [Fixnum] partner_id
|
|
3492
|
-
# The ID of the partner that has access to the inventory source group.
|
|
3493
|
-
#
|
|
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.
|
|
3494
3392
|
# @param [String] fields
|
|
3495
3393
|
# Selector specifying which fields to include in a partial response.
|
|
3496
3394
|
# @param [String] quota_user
|
|
@@ -3520,43 +3418,35 @@ module Google
|
|
|
3520
3418
|
execute_or_queue_command(command, &block)
|
|
3521
3419
|
end
|
|
3522
3420
|
|
|
3523
|
-
# Lists inventory source groups that are accessible to the current user.
|
|
3524
|
-
#
|
|
3525
|
-
# 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.
|
|
3526
3423
|
# @param [Fixnum] advertiser_id
|
|
3527
|
-
# The ID of the advertiser that has access to the inventory source group.
|
|
3528
|
-
#
|
|
3529
|
-
#
|
|
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.
|
|
3530
3427
|
# @param [String] filter
|
|
3531
|
-
# Allows filtering by inventory source group properties.
|
|
3532
|
-
#
|
|
3533
|
-
#
|
|
3534
|
-
#
|
|
3535
|
-
#
|
|
3536
|
-
#
|
|
3537
|
-
# * Supported fields:
|
|
3538
|
-
# - `inventorySourceGroupId`
|
|
3539
|
-
# 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.
|
|
3540
3434
|
# @param [String] order_by
|
|
3541
|
-
# Field by which to sort the list.
|
|
3542
|
-
#
|
|
3543
|
-
#
|
|
3544
|
-
#
|
|
3545
|
-
# The default sorting order is ascending. To specify descending order for
|
|
3546
|
-
# a field, a suffix "desc" should be added to the field name. For example,
|
|
3547
|
-
# `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`.
|
|
3548
3439
|
# @param [Fixnum] page_size
|
|
3549
3440
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3550
3441
|
# default to `100`.
|
|
3551
3442
|
# @param [String] page_token
|
|
3552
|
-
# A token identifying a page of results the server should return.
|
|
3553
|
-
#
|
|
3554
|
-
#
|
|
3555
|
-
# returned
|
|
3556
|
-
# 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.
|
|
3557
3447
|
# @param [Fixnum] partner_id
|
|
3558
|
-
# The ID of the partner that has access to the inventory source group.
|
|
3559
|
-
#
|
|
3448
|
+
# The ID of the partner that has access to the inventory source group. A partner
|
|
3449
|
+
# cannot access advertiser-owned inventory source groups.
|
|
3560
3450
|
# @param [String] fields
|
|
3561
3451
|
# Selector specifying which fields to include in a partial response.
|
|
3562
3452
|
# @param [String] quota_user
|
|
@@ -3589,18 +3479,18 @@ module Google
|
|
|
3589
3479
|
execute_or_queue_command(command, &block)
|
|
3590
3480
|
end
|
|
3591
3481
|
|
|
3592
|
-
# Updates an inventory source group. Returns the updated inventory source
|
|
3593
|
-
#
|
|
3482
|
+
# Updates an inventory source group. Returns the updated inventory source group
|
|
3483
|
+
# if successful.
|
|
3594
3484
|
# @param [Fixnum] inventory_source_group_id
|
|
3595
3485
|
# Output only. The unique ID of the inventory source group. Assigned by the
|
|
3596
3486
|
# system.
|
|
3597
3487
|
# @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
|
|
3598
3488
|
# @param [Fixnum] advertiser_id
|
|
3599
|
-
# The ID of the advertiser that owns the inventory source group.
|
|
3600
|
-
#
|
|
3489
|
+
# The ID of the advertiser that owns the inventory source group. The parent
|
|
3490
|
+
# partner does not have access to this group.
|
|
3601
3491
|
# @param [Fixnum] partner_id
|
|
3602
|
-
# The ID of the partner that owns the inventory source group.
|
|
3603
|
-
#
|
|
3492
|
+
# The ID of the partner that owns the inventory source group. Only this partner
|
|
3493
|
+
# has write access to this group.
|
|
3604
3494
|
# @param [String] update_mask
|
|
3605
3495
|
# Required. The mask to control which fields to update.
|
|
3606
3496
|
# @param [String] fields
|
|
@@ -3636,11 +3526,11 @@ module Google
|
|
|
3636
3526
|
end
|
|
3637
3527
|
|
|
3638
3528
|
# Bulk edits multiple assignments between inventory sources and a single
|
|
3639
|
-
# inventory source group.
|
|
3640
|
-
#
|
|
3641
|
-
#
|
|
3642
|
-
#
|
|
3643
|
-
#
|
|
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.
|
|
3644
3534
|
# @param [Fixnum] inventory_source_group_id
|
|
3645
3535
|
# Required. The ID of the inventory source group to which the assignments are
|
|
3646
3536
|
# assigned.
|
|
@@ -3681,13 +3571,11 @@ module Google
|
|
|
3681
3571
|
# assigned.
|
|
3682
3572
|
# @param [Google::Apis::DisplayvideoV1::AssignedInventorySource] assigned_inventory_source_object
|
|
3683
3573
|
# @param [Fixnum] advertiser_id
|
|
3684
|
-
# The ID of the advertiser that owns the parent inventory source group.
|
|
3685
|
-
#
|
|
3686
|
-
# 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.
|
|
3687
3576
|
# @param [Fixnum] partner_id
|
|
3688
|
-
# The ID of the partner that owns the parent inventory source group.
|
|
3689
|
-
#
|
|
3690
|
-
# 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.
|
|
3691
3579
|
# @param [String] fields
|
|
3692
3580
|
# Selector specifying which fields to include in a partial response.
|
|
3693
3581
|
# @param [String] quota_user
|
|
@@ -3727,12 +3615,11 @@ module Google
|
|
|
3727
3615
|
# @param [Fixnum] assigned_inventory_source_id
|
|
3728
3616
|
# Required. The ID of the assigned inventory source to delete.
|
|
3729
3617
|
# @param [Fixnum] advertiser_id
|
|
3730
|
-
# The ID of the advertiser that owns the parent inventory source group.
|
|
3731
|
-
#
|
|
3732
|
-
# 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.
|
|
3733
3620
|
# @param [Fixnum] partner_id
|
|
3734
|
-
# The ID of the partner that owns the parent inventory source group.
|
|
3735
|
-
#
|
|
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.
|
|
3736
3623
|
# @param [String] fields
|
|
3737
3624
|
# Selector specifying which fields to include in a partial response.
|
|
3738
3625
|
# @param [String] quota_user
|
|
@@ -3768,41 +3655,34 @@ module Google
|
|
|
3768
3655
|
# Required. The ID of the inventory source group to which these assignments are
|
|
3769
3656
|
# assigned.
|
|
3770
3657
|
# @param [Fixnum] advertiser_id
|
|
3771
|
-
# The ID of the advertiser that has access to the assignment.
|
|
3772
|
-
#
|
|
3773
|
-
#
|
|
3774
|
-
# 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.
|
|
3775
3661
|
# @param [String] filter
|
|
3776
|
-
# Allows filtering by assigned inventory source fields.
|
|
3777
|
-
#
|
|
3778
|
-
#
|
|
3779
|
-
#
|
|
3780
|
-
#
|
|
3781
|
-
#
|
|
3782
|
-
# * Supported fields:
|
|
3783
|
-
# - `assignedInventorySourceId`
|
|
3784
|
-
# 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.
|
|
3785
3668
|
# @param [String] order_by
|
|
3786
|
-
# Field by which to sort the list.
|
|
3787
|
-
#
|
|
3788
|
-
#
|
|
3789
|
-
#
|
|
3790
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
3791
|
-
# `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`.
|
|
3792
3673
|
# @param [Fixnum] page_size
|
|
3793
3674
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3794
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
3795
|
-
#
|
|
3675
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
3676
|
+
# specified.
|
|
3796
3677
|
# @param [String] page_token
|
|
3797
|
-
# A token identifying a page of results the server should return.
|
|
3798
|
-
#
|
|
3799
|
-
#
|
|
3800
|
-
#
|
|
3801
|
-
# 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.
|
|
3802
3682
|
# @param [Fixnum] partner_id
|
|
3803
|
-
# The ID of the partner that has access to the assignment.
|
|
3804
|
-
#
|
|
3805
|
-
#
|
|
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.
|
|
3806
3686
|
# @param [String] fields
|
|
3807
3687
|
# Selector specifying which fields to include in a partial response.
|
|
3808
3688
|
# @param [String] quota_user
|
|
@@ -3840,8 +3720,8 @@ module Google
|
|
|
3840
3720
|
# @param [Fixnum] inventory_source_id
|
|
3841
3721
|
# Required. The ID of the inventory source to fetch.
|
|
3842
3722
|
# @param [Fixnum] partner_id
|
|
3843
|
-
# Required. The ID of the DV360 partner to which the fetched inventory source
|
|
3844
|
-
#
|
|
3723
|
+
# Required. The ID of the DV360 partner to which the fetched inventory source is
|
|
3724
|
+
# permissioned.
|
|
3845
3725
|
# @param [String] fields
|
|
3846
3726
|
# Selector specifying which fields to include in a partial response.
|
|
3847
3727
|
# @param [String] quota_user
|
|
@@ -3870,51 +3750,37 @@ module Google
|
|
|
3870
3750
|
execute_or_queue_command(command, &block)
|
|
3871
3751
|
end
|
|
3872
3752
|
|
|
3873
|
-
# Lists inventory sources that are accessible to the current user.
|
|
3874
|
-
#
|
|
3875
|
-
#
|
|
3876
|
-
#
|
|
3877
|
-
# entity_status is not
|
|
3878
|
-
# specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED`
|
|
3879
|
-
# 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.
|
|
3880
3757
|
# @param [Fixnum] advertiser_id
|
|
3881
3758
|
# The ID of the advertiser that has access to the inventory source.
|
|
3882
3759
|
# @param [String] filter
|
|
3883
|
-
# Allows filtering by inventory source properties.
|
|
3884
|
-
#
|
|
3885
|
-
#
|
|
3886
|
-
# *
|
|
3887
|
-
#
|
|
3888
|
-
#
|
|
3889
|
-
# *
|
|
3890
|
-
# *
|
|
3891
|
-
#
|
|
3892
|
-
#
|
|
3893
|
-
#
|
|
3894
|
-
# - `rateDetails.rateType`
|
|
3895
|
-
# - `exchange`
|
|
3896
|
-
# Examples:
|
|
3897
|
-
# * All active inventory sources:
|
|
3898
|
-
# `status.entityStatus="ENTITY_STATUS_ACTIVE"`
|
|
3899
|
-
# * Inventory sources belonging to Google Ad Manager or Rubicon exchanges:
|
|
3900
|
-
# `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"`
|
|
3901
|
-
# 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.
|
|
3902
3771
|
# @param [String] order_by
|
|
3903
|
-
# Field by which to sort the list.
|
|
3904
|
-
#
|
|
3905
|
-
#
|
|
3906
|
-
#
|
|
3907
|
-
# a field, a suffix "desc" should be added to the field name. For example,
|
|
3908
|
-
# `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`.
|
|
3909
3776
|
# @param [Fixnum] page_size
|
|
3910
3777
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
3911
3778
|
# default to `100`.
|
|
3912
3779
|
# @param [String] page_token
|
|
3913
|
-
# A token identifying a page of results the server should return.
|
|
3914
|
-
#
|
|
3915
|
-
#
|
|
3916
|
-
# returned
|
|
3917
|
-
# 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.
|
|
3918
3784
|
# @param [Fixnum] partner_id
|
|
3919
3785
|
# The ID of the partner that has access to the inventory source.
|
|
3920
3786
|
# @param [String] fields
|
|
@@ -3950,12 +3816,10 @@ module Google
|
|
|
3950
3816
|
end
|
|
3951
3817
|
|
|
3952
3818
|
# Downloads media. Download is supported on the URI `/download/`resource_name=**`
|
|
3953
|
-
# ?alt=media.`
|
|
3954
|
-
#
|
|
3955
|
-
# media` query string.
|
|
3819
|
+
# ?alt=media.` **Note**: Download requests will not be successful without
|
|
3820
|
+
# including `alt=media` query string.
|
|
3956
3821
|
# @param [String] resource_name
|
|
3957
|
-
# Name of the media that is being downloaded.
|
|
3958
|
-
# ReadRequest.resource_name.
|
|
3822
|
+
# Name of the media that is being downloaded. See ReadRequest.resource_name.
|
|
3959
3823
|
# @param [String] fields
|
|
3960
3824
|
# Selector specifying which fields to include in a partial response.
|
|
3961
3825
|
# @param [String] quota_user
|
|
@@ -3990,6 +3854,126 @@ module Google
|
|
|
3990
3854
|
execute_or_queue_command(command, &block)
|
|
3991
3855
|
end
|
|
3992
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
|
+
|
|
3993
3977
|
# Creates a new channel. Returns the newly created channel if successful.
|
|
3994
3978
|
# @param [Fixnum] partner_id
|
|
3995
3979
|
# The ID of the partner that owns the created channel.
|
|
@@ -4068,36 +4052,26 @@ module Google
|
|
|
4068
4052
|
# @param [Fixnum] advertiser_id
|
|
4069
4053
|
# The ID of the advertiser that owns the channels.
|
|
4070
4054
|
# @param [String] filter
|
|
4071
|
-
# Allows filtering by channel fields.
|
|
4072
|
-
#
|
|
4073
|
-
#
|
|
4074
|
-
# *
|
|
4075
|
-
#
|
|
4076
|
-
#
|
|
4077
|
-
# * Supported fields:
|
|
4078
|
-
# - `displayName`
|
|
4079
|
-
# Examples:
|
|
4080
|
-
# * All channels for which the display name contains "google":
|
|
4081
|
-
# `displayName : "google"`.
|
|
4082
|
-
# 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.
|
|
4083
4061
|
# @param [String] order_by
|
|
4084
|
-
# Field by which to sort the list.
|
|
4085
|
-
#
|
|
4086
|
-
#
|
|
4087
|
-
#
|
|
4088
|
-
# The default sorting order is ascending. To specify descending order for a
|
|
4089
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
4090
|
-
# `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`.
|
|
4091
4066
|
# @param [Fixnum] page_size
|
|
4092
4067
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
4093
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
4094
|
-
#
|
|
4068
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
4069
|
+
# specified.
|
|
4095
4070
|
# @param [String] page_token
|
|
4096
|
-
# A token identifying a page of results the server should return.
|
|
4097
|
-
#
|
|
4098
|
-
#
|
|
4099
|
-
#
|
|
4100
|
-
# 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.
|
|
4101
4075
|
# @param [String] fields
|
|
4102
4076
|
# Selector specifying which fields to include in a partial response.
|
|
4103
4077
|
# @param [String] quota_user
|
|
@@ -4172,9 +4146,8 @@ module Google
|
|
|
4172
4146
|
execute_or_queue_command(command, &block)
|
|
4173
4147
|
end
|
|
4174
4148
|
|
|
4175
|
-
# Bulk edits sites under a single channel.
|
|
4176
|
-
#
|
|
4177
|
-
# 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
|
|
4178
4151
|
# provided in BulkEditSitesRequest.created_sites.
|
|
4179
4152
|
# @param [Fixnum] partner_id
|
|
4180
4153
|
# The ID of the partner that owns the parent channel.
|
|
@@ -4297,34 +4270,25 @@ module Google
|
|
|
4297
4270
|
# @param [Fixnum] advertiser_id
|
|
4298
4271
|
# The ID of the advertiser that owns the parent channel.
|
|
4299
4272
|
# @param [String] filter
|
|
4300
|
-
# Allows filtering by site fields.
|
|
4301
|
-
#
|
|
4302
|
-
#
|
|
4303
|
-
# *
|
|
4304
|
-
#
|
|
4305
|
-
# * The operator must be `CONTAINS (:)`.
|
|
4306
|
-
# * Supported fields:
|
|
4307
|
-
# - `urlOrAppId`
|
|
4308
|
-
# Examples:
|
|
4309
|
-
# * All sites for which the URL or app ID contains "google":
|
|
4310
|
-
# `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"`
|
|
4311
4278
|
# @param [String] order_by
|
|
4312
|
-
# Field by which to sort the list.
|
|
4313
|
-
#
|
|
4314
|
-
#
|
|
4315
|
-
#
|
|
4316
|
-
# field, a suffix " desc" should be added to the field name. Example:
|
|
4317
|
-
# `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`.
|
|
4318
4283
|
# @param [Fixnum] page_size
|
|
4319
4284
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
4320
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
4321
|
-
#
|
|
4285
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
4286
|
+
# specified.
|
|
4322
4287
|
# @param [String] page_token
|
|
4323
|
-
# A token identifying a page of results the server should return.
|
|
4324
|
-
#
|
|
4325
|
-
#
|
|
4326
|
-
#
|
|
4327
|
-
# 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.
|
|
4328
4292
|
# @param [String] fields
|
|
4329
4293
|
# Selector specifying which fields to include in a partial response.
|
|
4330
4294
|
# @param [String] quota_user
|
|
@@ -4358,21 +4322,186 @@ module Google
|
|
|
4358
4322
|
execute_or_queue_command(command, &block)
|
|
4359
4323
|
end
|
|
4360
4324
|
|
|
4361
|
-
#
|
|
4362
|
-
#
|
|
4363
|
-
#
|
|
4364
|
-
#
|
|
4365
|
-
#
|
|
4366
|
-
#
|
|
4367
|
-
#
|
|
4368
|
-
#
|
|
4369
|
-
#
|
|
4370
|
-
#
|
|
4371
|
-
#
|
|
4372
|
-
#
|
|
4373
|
-
#
|
|
4374
|
-
#
|
|
4375
|
-
#
|
|
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.
|
|
4376
4505
|
# @param [Google::Apis::DisplayvideoV1::CreateSdfDownloadTaskRequest] create_sdf_download_task_request_object
|
|
4377
4506
|
# @param [String] fields
|
|
4378
4507
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4475,32 +4604,26 @@ module Google
|
|
|
4475
4604
|
# @param [Fixnum] advertiser_id
|
|
4476
4605
|
# Required. The Advertiser this request is being made in the context of.
|
|
4477
4606
|
# @param [String] filter
|
|
4478
|
-
# Allows filtering by targeting option properties.
|
|
4479
|
-
#
|
|
4480
|
-
# *
|
|
4481
|
-
# *
|
|
4482
|
-
#
|
|
4483
|
-
#
|
|
4484
|
-
# * Supported fields:
|
|
4485
|
-
# - `targetingOptionId`
|
|
4486
|
-
# 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.
|
|
4487
4613
|
# @param [String] order_by
|
|
4488
|
-
# Field by which to sort the list.
|
|
4489
|
-
#
|
|
4490
|
-
#
|
|
4491
|
-
#
|
|
4492
|
-
# a field, a suffix "desc" should be added to the field name.
|
|
4493
|
-
# 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`.
|
|
4494
4618
|
# @param [Fixnum] page_size
|
|
4495
4619
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
|
4496
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
|
4497
|
-
#
|
|
4620
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
4621
|
+
# specified.
|
|
4498
4622
|
# @param [String] page_token
|
|
4499
|
-
# A token identifying a page of results the server should return.
|
|
4500
|
-
#
|
|
4501
|
-
#
|
|
4502
|
-
# returned
|
|
4503
|
-
# 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.
|
|
4504
4627
|
# @param [String] fields
|
|
4505
4628
|
# Selector specifying which fields to include in a partial response.
|
|
4506
4629
|
# @param [String] quota_user
|
|
@@ -4532,6 +4655,235 @@ module Google
|
|
|
4532
4655
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4533
4656
|
execute_or_queue_command(command, &block)
|
|
4534
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
|
|
4535
4887
|
|
|
4536
4888
|
protected
|
|
4537
4889
|
|