google-api-client 0.39.3 → 0.40.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +242 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +58 -10
- data/generated/google/apis/apigee_v1/representations.rb +7 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +54 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
- data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1/service.rb +14 -11
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
- data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +318 -166
- data/generated/google/apis/compute_alpha/representations.rb +80 -33
- data/generated/google/apis/compute_alpha/service.rb +194 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +237 -83
- data/generated/google/apis/compute_beta/representations.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +155 -58
- data/generated/google/apis/compute_v1/representations.rb +21 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +62 -4
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +363 -5
- data/generated/google/apis/content_v2_1/representations.rb +136 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -27
- data/generated/google/apis/dlp_v2/service.rb +247 -204
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -0
- data/generated/google/apis/file_v1/representations.rb +15 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -0
- data/generated/google/apis/file_v1beta1/representations.rb +34 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +39 -30
- data/generated/google/apis/healthcare_v1/service.rb +64 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
- data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +111 -93
- data/generated/google/apis/iam_v1/service.rb +166 -144
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +17 -0
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -9
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +70 -15
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +9 -0
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
- data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1827 -2154
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +23 -15
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class AdvertiserTargetingConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class AgeRangeAssignedTargetingOptionDetails
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -112,6 +118,18 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class AssignedInventorySource
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class AssignedLocation
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
115
133
|
class AssignedTargetingOption
|
116
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
135
|
|
@@ -160,6 +178,42 @@ module Google
|
|
160
178
|
include Google::Apis::Core::JsonObjectSupport
|
161
179
|
end
|
162
180
|
|
181
|
+
class BulkEditAdvertiserAssignedTargetingOptionsRequest
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class BulkEditAdvertiserAssignedTargetingOptionsResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class BulkEditAssignedInventorySourcesRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class BulkEditAssignedInventorySourcesResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class BulkEditAssignedLocationsRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class BulkEditAssignedLocationsResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
163
217
|
class BulkEditLineItemAssignedTargetingOptionsRequest
|
164
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
219
|
|
@@ -172,6 +226,36 @@ module Google
|
|
172
226
|
include Google::Apis::Core::JsonObjectSupport
|
173
227
|
end
|
174
228
|
|
229
|
+
class BulkEditNegativeKeywordsRequest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class BulkEditNegativeKeywordsResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class BulkEditSitesRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class BulkEditSitesResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class BulkListAdvertiserAssignedTargetingOptionsResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
175
259
|
class BulkListLineItemAssignedTargetingOptionsResponse
|
176
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
261
|
|
@@ -712,12 +796,30 @@ module Google
|
|
712
796
|
include Google::Apis::Core::JsonObjectSupport
|
713
797
|
end
|
714
798
|
|
799
|
+
class ListAdvertiserAssignedTargetingOptionsResponse
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
|
+
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
803
|
+
end
|
804
|
+
|
715
805
|
class ListAdvertisersResponse
|
716
806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
807
|
|
718
808
|
include Google::Apis::Core::JsonObjectSupport
|
719
809
|
end
|
720
810
|
|
811
|
+
class ListAssignedInventorySourcesResponse
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
|
+
|
814
|
+
include Google::Apis::Core::JsonObjectSupport
|
815
|
+
end
|
816
|
+
|
817
|
+
class ListAssignedLocationsResponse
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
819
|
+
|
820
|
+
include Google::Apis::Core::JsonObjectSupport
|
821
|
+
end
|
822
|
+
|
721
823
|
class ListCampaignsResponse
|
722
824
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
825
|
|
@@ -802,6 +904,18 @@ module Google
|
|
802
904
|
include Google::Apis::Core::JsonObjectSupport
|
803
905
|
end
|
804
906
|
|
907
|
+
class ListNegativeKeywordsResponse
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
913
|
+
class ListSitesResponse
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
805
919
|
class ListTargetingOptionsResponse
|
806
920
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
921
|
|
@@ -832,6 +946,12 @@ module Google
|
|
832
946
|
include Google::Apis::Core::JsonObjectSupport
|
833
947
|
end
|
834
948
|
|
949
|
+
class NegativeKeyword
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
|
+
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
953
|
+
end
|
954
|
+
|
835
955
|
class NegativeKeywordList
|
836
956
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
957
|
|
@@ -988,6 +1108,12 @@ module Google
|
|
988
1108
|
include Google::Apis::Core::JsonObjectSupport
|
989
1109
|
end
|
990
1110
|
|
1111
|
+
class Site
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
|
+
|
1114
|
+
include Google::Apis::Core::JsonObjectSupport
|
1115
|
+
end
|
1116
|
+
|
991
1117
|
class Status
|
992
1118
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
1119
|
|
@@ -1138,6 +1264,8 @@ module Google
|
|
1138
1264
|
|
1139
1265
|
property :name, as: 'name'
|
1140
1266
|
property :partner_id, :numeric_string => true, as: 'partnerId'
|
1267
|
+
property :serving_config, as: 'servingConfig', class: Google::Apis::DisplayvideoV1::AdvertiserTargetingConfig, decorator: Google::Apis::DisplayvideoV1::AdvertiserTargetingConfig::Representation
|
1268
|
+
|
1141
1269
|
property :update_time, as: 'updateTime'
|
1142
1270
|
end
|
1143
1271
|
end
|
@@ -1188,6 +1316,13 @@ module Google
|
|
1188
1316
|
end
|
1189
1317
|
end
|
1190
1318
|
|
1319
|
+
class AdvertiserTargetingConfig
|
1320
|
+
# @private
|
1321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1322
|
+
property :exempt_tv_from_viewability_targeting, as: 'exemptTvFromViewabilityTargeting'
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1191
1326
|
class AgeRangeAssignedTargetingOptionDetails
|
1192
1327
|
# @private
|
1193
1328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1245,6 +1380,24 @@ module Google
|
|
1245
1380
|
end
|
1246
1381
|
end
|
1247
1382
|
|
1383
|
+
class AssignedInventorySource
|
1384
|
+
# @private
|
1385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1386
|
+
property :assigned_inventory_source_id, :numeric_string => true, as: 'assignedInventorySourceId'
|
1387
|
+
property :inventory_source_id, as: 'inventorySourceId'
|
1388
|
+
property :name, as: 'name'
|
1389
|
+
end
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
class AssignedLocation
|
1393
|
+
# @private
|
1394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1395
|
+
property :assigned_location_id, :numeric_string => true, as: 'assignedLocationId'
|
1396
|
+
property :name, as: 'name'
|
1397
|
+
property :targeting_option_id, as: 'targetingOptionId'
|
1398
|
+
end
|
1399
|
+
end
|
1400
|
+
|
1248
1401
|
class AssignedTargetingOption
|
1249
1402
|
# @private
|
1250
1403
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1398,6 +1551,60 @@ module Google
|
|
1398
1551
|
end
|
1399
1552
|
end
|
1400
1553
|
|
1554
|
+
class BulkEditAdvertiserAssignedTargetingOptionsRequest
|
1555
|
+
# @private
|
1556
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1557
|
+
collection :create_requests, as: 'createRequests', class: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest, decorator: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest::Representation
|
1558
|
+
|
1559
|
+
collection :delete_requests, as: 'deleteRequests', class: Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest, decorator: Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest::Representation
|
1560
|
+
|
1561
|
+
end
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
class BulkEditAdvertiserAssignedTargetingOptionsResponse
|
1565
|
+
# @private
|
1566
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1567
|
+
collection :created_assigned_targeting_options, as: 'createdAssignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
1568
|
+
|
1569
|
+
end
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
class BulkEditAssignedInventorySourcesRequest
|
1573
|
+
# @private
|
1574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1575
|
+
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
|
1576
|
+
collection :created_assigned_inventory_sources, as: 'createdAssignedInventorySources', class: Google::Apis::DisplayvideoV1::AssignedInventorySource, decorator: Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
|
1577
|
+
|
1578
|
+
collection :deleted_assigned_inventory_sources, as: 'deletedAssignedInventorySources'
|
1579
|
+
property :partner_id, :numeric_string => true, as: 'partnerId'
|
1580
|
+
end
|
1581
|
+
end
|
1582
|
+
|
1583
|
+
class BulkEditAssignedInventorySourcesResponse
|
1584
|
+
# @private
|
1585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1586
|
+
collection :assigned_inventory_sources, as: 'assignedInventorySources', class: Google::Apis::DisplayvideoV1::AssignedInventorySource, decorator: Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
|
1587
|
+
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
class BulkEditAssignedLocationsRequest
|
1592
|
+
# @private
|
1593
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1594
|
+
collection :created_assigned_locations, as: 'createdAssignedLocations', class: Google::Apis::DisplayvideoV1::AssignedLocation, decorator: Google::Apis::DisplayvideoV1::AssignedLocation::Representation
|
1595
|
+
|
1596
|
+
collection :deleted_assigned_locations, as: 'deletedAssignedLocations'
|
1597
|
+
end
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
class BulkEditAssignedLocationsResponse
|
1601
|
+
# @private
|
1602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1603
|
+
collection :assigned_locations, as: 'assignedLocations', class: Google::Apis::DisplayvideoV1::AssignedLocation, decorator: Google::Apis::DisplayvideoV1::AssignedLocation::Representation
|
1604
|
+
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1401
1608
|
class BulkEditLineItemAssignedTargetingOptionsRequest
|
1402
1609
|
# @private
|
1403
1610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1416,6 +1623,51 @@ module Google
|
|
1416
1623
|
end
|
1417
1624
|
end
|
1418
1625
|
|
1626
|
+
class BulkEditNegativeKeywordsRequest
|
1627
|
+
# @private
|
1628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1629
|
+
collection :created_negative_keywords, as: 'createdNegativeKeywords', class: Google::Apis::DisplayvideoV1::NegativeKeyword, decorator: Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
|
1630
|
+
|
1631
|
+
collection :deleted_negative_keywords, as: 'deletedNegativeKeywords'
|
1632
|
+
end
|
1633
|
+
end
|
1634
|
+
|
1635
|
+
class BulkEditNegativeKeywordsResponse
|
1636
|
+
# @private
|
1637
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1638
|
+
collection :negative_keywords, as: 'negativeKeywords', class: Google::Apis::DisplayvideoV1::NegativeKeyword, decorator: Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
|
1639
|
+
|
1640
|
+
end
|
1641
|
+
end
|
1642
|
+
|
1643
|
+
class BulkEditSitesRequest
|
1644
|
+
# @private
|
1645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1646
|
+
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
|
1647
|
+
collection :created_sites, as: 'createdSites', class: Google::Apis::DisplayvideoV1::Site, decorator: Google::Apis::DisplayvideoV1::Site::Representation
|
1648
|
+
|
1649
|
+
collection :deleted_sites, as: 'deletedSites'
|
1650
|
+
property :partner_id, :numeric_string => true, as: 'partnerId'
|
1651
|
+
end
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
class BulkEditSitesResponse
|
1655
|
+
# @private
|
1656
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1657
|
+
collection :sites, as: 'sites', class: Google::Apis::DisplayvideoV1::Site, decorator: Google::Apis::DisplayvideoV1::Site::Representation
|
1658
|
+
|
1659
|
+
end
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
class BulkListAdvertiserAssignedTargetingOptionsResponse
|
1663
|
+
# @private
|
1664
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1665
|
+
collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
1666
|
+
|
1667
|
+
property :next_page_token, as: 'nextPageToken'
|
1668
|
+
end
|
1669
|
+
end
|
1670
|
+
|
1419
1671
|
class BulkListLineItemAssignedTargetingOptionsResponse
|
1420
1672
|
# @private
|
1421
1673
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1677,6 +1929,7 @@ module Google
|
|
1677
1929
|
property :ias_campaign_monitoring, as: 'iasCampaignMonitoring'
|
1678
1930
|
property :integration_code, as: 'integrationCode'
|
1679
1931
|
property :js_tracker_url, as: 'jsTrackerUrl'
|
1932
|
+
collection :line_item_ids, as: 'lineItemIds'
|
1680
1933
|
property :media_duration, as: 'mediaDuration'
|
1681
1934
|
property :name, as: 'name'
|
1682
1935
|
property :notes, as: 'notes'
|
@@ -2328,6 +2581,15 @@ module Google
|
|
2328
2581
|
end
|
2329
2582
|
end
|
2330
2583
|
|
2584
|
+
class ListAdvertiserAssignedTargetingOptionsResponse
|
2585
|
+
# @private
|
2586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2587
|
+
collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
2588
|
+
|
2589
|
+
property :next_page_token, as: 'nextPageToken'
|
2590
|
+
end
|
2591
|
+
end
|
2592
|
+
|
2331
2593
|
class ListAdvertisersResponse
|
2332
2594
|
# @private
|
2333
2595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2337,6 +2599,24 @@ module Google
|
|
2337
2599
|
end
|
2338
2600
|
end
|
2339
2601
|
|
2602
|
+
class ListAssignedInventorySourcesResponse
|
2603
|
+
# @private
|
2604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2605
|
+
collection :assigned_inventory_sources, as: 'assignedInventorySources', class: Google::Apis::DisplayvideoV1::AssignedInventorySource, decorator: Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
|
2606
|
+
|
2607
|
+
property :next_page_token, as: 'nextPageToken'
|
2608
|
+
end
|
2609
|
+
end
|
2610
|
+
|
2611
|
+
class ListAssignedLocationsResponse
|
2612
|
+
# @private
|
2613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2614
|
+
collection :assigned_locations, as: 'assignedLocations', class: Google::Apis::DisplayvideoV1::AssignedLocation, decorator: Google::Apis::DisplayvideoV1::AssignedLocation::Representation
|
2615
|
+
|
2616
|
+
property :next_page_token, as: 'nextPageToken'
|
2617
|
+
end
|
2618
|
+
end
|
2619
|
+
|
2340
2620
|
class ListCampaignsResponse
|
2341
2621
|
# @private
|
2342
2622
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2463,6 +2743,24 @@ module Google
|
|
2463
2743
|
end
|
2464
2744
|
end
|
2465
2745
|
|
2746
|
+
class ListNegativeKeywordsResponse
|
2747
|
+
# @private
|
2748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2749
|
+
collection :negative_keywords, as: 'negativeKeywords', class: Google::Apis::DisplayvideoV1::NegativeKeyword, decorator: Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
|
2750
|
+
|
2751
|
+
property :next_page_token, as: 'nextPageToken'
|
2752
|
+
end
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
class ListSitesResponse
|
2756
|
+
# @private
|
2757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2758
|
+
property :next_page_token, as: 'nextPageToken'
|
2759
|
+
collection :sites, as: 'sites', class: Google::Apis::DisplayvideoV1::Site, decorator: Google::Apis::DisplayvideoV1::Site::Representation
|
2760
|
+
|
2761
|
+
end
|
2762
|
+
end
|
2763
|
+
|
2466
2764
|
class ListTargetingOptionsResponse
|
2467
2765
|
# @private
|
2468
2766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2508,6 +2806,14 @@ module Google
|
|
2508
2806
|
end
|
2509
2807
|
end
|
2510
2808
|
|
2809
|
+
class NegativeKeyword
|
2810
|
+
# @private
|
2811
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2812
|
+
property :keyword_value, as: 'keywordValue'
|
2813
|
+
property :name, as: 'name'
|
2814
|
+
end
|
2815
|
+
end
|
2816
|
+
|
2511
2817
|
class NegativeKeywordList
|
2512
2818
|
# @private
|
2513
2819
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2743,6 +3049,14 @@ module Google
|
|
2743
3049
|
end
|
2744
3050
|
end
|
2745
3051
|
|
3052
|
+
class Site
|
3053
|
+
# @private
|
3054
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3055
|
+
property :name, as: 'name'
|
3056
|
+
property :url_or_app_id, as: 'urlOrAppId'
|
3057
|
+
end
|
3058
|
+
end
|
3059
|
+
|
2746
3060
|
class Status
|
2747
3061
|
# @private
|
2748
3062
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -48,6 +48,109 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
+
# Bulk edits targeting options under a single advertiser.
|
52
|
+
# The operation will delete the assigned targeting options provided in
|
53
|
+
# BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and
|
54
|
+
# then create the assigned targeting options provided in
|
55
|
+
# BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
|
56
|
+
# @param [Fixnum] advertiser_id
|
57
|
+
# Required. The ID of the advertiser.
|
58
|
+
# @param [Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsRequest] bulk_edit_advertiser_assigned_targeting_options_request_object
|
59
|
+
# @param [String] fields
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
61
|
+
# @param [String] quota_user
|
62
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
+
# @param [Google::Apis::RequestOptions] options
|
65
|
+
# Request-specific options
|
66
|
+
#
|
67
|
+
# @yield [result, err] Result & error if block supplied
|
68
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse] parsed result object
|
69
|
+
# @yieldparam err [StandardError] error object if request failed
|
70
|
+
#
|
71
|
+
# @return [Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse]
|
72
|
+
#
|
73
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
+
def bulk_edit_advertiser_assigned_targeting_options(advertiser_id, bulk_edit_advertiser_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
+
command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}:bulkEditAdvertiserAssignedTargetingOptions', options)
|
78
|
+
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsRequest::Representation
|
79
|
+
command.request_object = bulk_edit_advertiser_assigned_targeting_options_request_object
|
80
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse::Representation
|
81
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse
|
82
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.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
|
+
# Lists assigned targeting options of an advertiser across targeting types.
|
89
|
+
# @param [Fixnum] advertiser_id
|
90
|
+
# Required. The ID of the advertiser the line item belongs to.
|
91
|
+
# @param [String] filter
|
92
|
+
# Allows filtering by assigned targeting option properties.
|
93
|
+
# Supported syntax:
|
94
|
+
# * Filter expressions are made up of one or more restrictions.
|
95
|
+
# * Restrictions can be combined by the logical operator `OR`..
|
96
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
97
|
+
# * The operator must be `EQUALS (=)`.
|
98
|
+
# * Supported fields:
|
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.
|
104
|
+
# @param [String] order_by
|
105
|
+
# Field by which to sort the list.
|
106
|
+
# Acceptable values are:
|
107
|
+
# * `targetingType` (default)
|
108
|
+
# The default sorting order is ascending. To specify descending order for
|
109
|
+
# a field, a suffix "desc" should be added to the field name. Example:
|
110
|
+
# `targetingType desc`.
|
111
|
+
# @param [Fixnum] page_size
|
112
|
+
# Requested page size.
|
113
|
+
# The size must be an integer between `1` and `5000`. If unspecified,
|
114
|
+
# the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid
|
115
|
+
# value is specified.
|
116
|
+
# @param [String] page_token
|
117
|
+
# A token that lets the client fetch the next page of results.
|
118
|
+
# Typically, this is the value of
|
119
|
+
# next_page_token
|
120
|
+
# returned from the previous call to
|
121
|
+
# `BulkListAdvertiserAssignedTargetingOptions` method.
|
122
|
+
# If not specified, the first page of results will be returned.
|
123
|
+
# @param [String] fields
|
124
|
+
# Selector specifying which fields to include in a partial response.
|
125
|
+
# @param [String] quota_user
|
126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
128
|
+
# @param [Google::Apis::RequestOptions] options
|
129
|
+
# Request-specific options
|
130
|
+
#
|
131
|
+
# @yield [result, err] Result & error if block supplied
|
132
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse] parsed result object
|
133
|
+
# @yieldparam err [StandardError] error object if request failed
|
134
|
+
#
|
135
|
+
# @return [Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse]
|
136
|
+
#
|
137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
140
|
+
def bulk_advertiser_list_advertiser_assigned_targeting_options(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
141
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:bulkListAdvertiserAssignedTargetingOptions', options)
|
142
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse::Representation
|
143
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse
|
144
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
145
|
+
command.query['filter'] = filter unless filter.nil?
|
146
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
147
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
148
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
149
|
+
command.query['fields'] = fields unless fields.nil?
|
150
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
151
|
+
execute_or_queue_command(command, &block)
|
152
|
+
end
|
153
|
+
|
51
154
|
# Creates a new advertiser.
|
52
155
|
# Returns the newly created advertiser if successful.
|
53
156
|
# This method can take up to 180 seconds to complete.
|
@@ -512,6 +615,8 @@ module Google
|
|
512
615
|
execute_or_queue_command(command, &block)
|
513
616
|
end
|
514
617
|
|
618
|
+
# Updates an existing inventory source.
|
619
|
+
# Returns the updated inventory source if successful.
|
515
620
|
# Gets a channel for a partner or advertiser.
|
516
621
|
# @param [Fixnum] advertiser_id
|
517
622
|
# The ID of the advertiser that owns the fetched channel.
|
@@ -616,6 +721,234 @@ module Google
|
|
616
721
|
execute_or_queue_command(command, &block)
|
617
722
|
end
|
618
723
|
|
724
|
+
# Updates a channel. Returns the updated channel if successful.
|
725
|
+
# @param [Fixnum] advertiser_id
|
726
|
+
# The ID of the advertiser that owns the created channel.
|
727
|
+
# @param [Fixnum] channel_id
|
728
|
+
# Output only. The unique ID of the channel. Assigned by the system.
|
729
|
+
# @param [Google::Apis::DisplayvideoV1::Channel] channel_object
|
730
|
+
# @param [Fixnum] partner_id
|
731
|
+
# The ID of the partner that owns the created channel.
|
732
|
+
# @param [String] update_mask
|
733
|
+
# Required. The mask to control which fields to update.
|
734
|
+
# @param [String] fields
|
735
|
+
# Selector specifying which fields to include in a partial response.
|
736
|
+
# @param [String] quota_user
|
737
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
738
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
739
|
+
# @param [Google::Apis::RequestOptions] options
|
740
|
+
# Request-specific options
|
741
|
+
#
|
742
|
+
# @yield [result, err] Result & error if block supplied
|
743
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Channel] parsed result object
|
744
|
+
# @yieldparam err [StandardError] error object if request failed
|
745
|
+
#
|
746
|
+
# @return [Google::Apis::DisplayvideoV1::Channel]
|
747
|
+
#
|
748
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
749
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
750
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
751
|
+
def patch_advertiser_channel(advertiser_id, channel_id, channel_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
752
|
+
command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/channels/{channelId}', options)
|
753
|
+
command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation
|
754
|
+
command.request_object = channel_object
|
755
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation
|
756
|
+
command.response_class = Google::Apis::DisplayvideoV1::Channel
|
757
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
758
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
759
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
760
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
761
|
+
command.query['fields'] = fields unless fields.nil?
|
762
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
763
|
+
execute_or_queue_command(command, &block)
|
764
|
+
end
|
765
|
+
|
766
|
+
# Bulk edits sites under a single channel.
|
767
|
+
# The operation will delete the sites provided in
|
768
|
+
# BulkEditSitesRequest.deleted_sites and then create the sites
|
769
|
+
# provided in BulkEditSitesRequest.created_sites.
|
770
|
+
# @param [Fixnum] advertiser_id
|
771
|
+
# The ID of the advertiser that owns the parent channel.
|
772
|
+
# @param [Fixnum] channel_id
|
773
|
+
# Required. The ID of the parent channel to which the sites belong.
|
774
|
+
# @param [Google::Apis::DisplayvideoV1::BulkEditSitesRequest] bulk_edit_sites_request_object
|
775
|
+
# @param [String] fields
|
776
|
+
# Selector specifying which fields to include in a partial response.
|
777
|
+
# @param [String] quota_user
|
778
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
779
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
780
|
+
# @param [Google::Apis::RequestOptions] options
|
781
|
+
# Request-specific options
|
782
|
+
#
|
783
|
+
# @yield [result, err] Result & error if block supplied
|
784
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditSitesResponse] parsed result object
|
785
|
+
# @yieldparam err [StandardError] error object if request failed
|
786
|
+
#
|
787
|
+
# @return [Google::Apis::DisplayvideoV1::BulkEditSitesResponse]
|
788
|
+
#
|
789
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
790
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
791
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
792
|
+
def bulk_advertiser_channel_site_edit(advertiser_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
793
|
+
command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit', options)
|
794
|
+
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditSitesRequest::Representation
|
795
|
+
command.request_object = bulk_edit_sites_request_object
|
796
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditSitesResponse::Representation
|
797
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkEditSitesResponse
|
798
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
799
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
800
|
+
command.query['fields'] = fields unless fields.nil?
|
801
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
802
|
+
execute_or_queue_command(command, &block)
|
803
|
+
end
|
804
|
+
|
805
|
+
# Creates a site in a channel.
|
806
|
+
# @param [Fixnum] advertiser_id
|
807
|
+
# The ID of the advertiser that owns the parent channel.
|
808
|
+
# @param [Fixnum] channel_id
|
809
|
+
# Required. The ID of the parent channel in which the site will be created.
|
810
|
+
# @param [Google::Apis::DisplayvideoV1::Site] site_object
|
811
|
+
# @param [Fixnum] partner_id
|
812
|
+
# The ID of the partner that owns the parent channel.
|
813
|
+
# @param [String] fields
|
814
|
+
# Selector specifying which fields to include in a partial response.
|
815
|
+
# @param [String] quota_user
|
816
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
817
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
818
|
+
# @param [Google::Apis::RequestOptions] options
|
819
|
+
# Request-specific options
|
820
|
+
#
|
821
|
+
# @yield [result, err] Result & error if block supplied
|
822
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Site] parsed result object
|
823
|
+
# @yieldparam err [StandardError] error object if request failed
|
824
|
+
#
|
825
|
+
# @return [Google::Apis::DisplayvideoV1::Site]
|
826
|
+
#
|
827
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
828
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
829
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
830
|
+
def create_advertiser_channel_site(advertiser_id, channel_id, site_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
831
|
+
command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites', options)
|
832
|
+
command.request_representation = Google::Apis::DisplayvideoV1::Site::Representation
|
833
|
+
command.request_object = site_object
|
834
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Site::Representation
|
835
|
+
command.response_class = Google::Apis::DisplayvideoV1::Site
|
836
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
837
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
838
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
839
|
+
command.query['fields'] = fields unless fields.nil?
|
840
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
841
|
+
execute_or_queue_command(command, &block)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Deletes a site from a channel.
|
845
|
+
# @param [Fixnum] advertiser_id
|
846
|
+
# The ID of the advertiser that owns the parent channel.
|
847
|
+
# @param [Fixnum] channel_id
|
848
|
+
# Required. The ID of the parent channel to which the site belongs.
|
849
|
+
# @param [String] url_or_app_id
|
850
|
+
# Required. The URL or app ID of the site to delete.
|
851
|
+
# @param [Fixnum] partner_id
|
852
|
+
# The ID of the partner that owns the parent channel.
|
853
|
+
# @param [String] fields
|
854
|
+
# Selector specifying which fields to include in a partial response.
|
855
|
+
# @param [String] quota_user
|
856
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
857
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
858
|
+
# @param [Google::Apis::RequestOptions] options
|
859
|
+
# Request-specific options
|
860
|
+
#
|
861
|
+
# @yield [result, err] Result & error if block supplied
|
862
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
863
|
+
# @yieldparam err [StandardError] error object if request failed
|
864
|
+
#
|
865
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
866
|
+
#
|
867
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
868
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
869
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
870
|
+
def delete_advertiser_channel_site(advertiser_id, channel_id, url_or_app_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
871
|
+
command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}', options)
|
872
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
873
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
874
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
875
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
876
|
+
command.params['urlOrAppId'] = url_or_app_id unless url_or_app_id.nil?
|
877
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
878
|
+
command.query['fields'] = fields unless fields.nil?
|
879
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
880
|
+
execute_or_queue_command(command, &block)
|
881
|
+
end
|
882
|
+
|
883
|
+
# Lists sites in a channel.
|
884
|
+
# @param [Fixnum] advertiser_id
|
885
|
+
# The ID of the advertiser that owns the parent channel.
|
886
|
+
# @param [Fixnum] channel_id
|
887
|
+
# Required. The ID of the parent channel to which the requested sites belong.
|
888
|
+
# @param [String] filter
|
889
|
+
# Allows filtering by site fields.
|
890
|
+
# Supported syntax:
|
891
|
+
# * Filter expressions for site currently can only contain at most one
|
892
|
+
# * restriction.
|
893
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
894
|
+
# * The operator must be `CONTAINS (:)`.
|
895
|
+
# * Supported fields:
|
896
|
+
# - `urlOrAppId`
|
897
|
+
# Examples:
|
898
|
+
# * All sites for which the URL or app ID contains "google":
|
899
|
+
# `urlOrAppId : "google"`
|
900
|
+
# @param [String] order_by
|
901
|
+
# Field by which to sort the list.
|
902
|
+
# Acceptable values are:
|
903
|
+
# * `urlOrAppId` (default)
|
904
|
+
# The default sorting order is ascending. To specify descending order for a
|
905
|
+
# field, a suffix " desc" should be added to the field name. Example:
|
906
|
+
# `urlOrAppId desc`.
|
907
|
+
# @param [Fixnum] page_size
|
908
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
909
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
910
|
+
# is specified.
|
911
|
+
# @param [String] page_token
|
912
|
+
# A token identifying a page of results the server should return.
|
913
|
+
# Typically, this is the value of
|
914
|
+
# next_page_token returned from the
|
915
|
+
# previous call to `ListSites` method. If not specified, the first page
|
916
|
+
# of results will be returned.
|
917
|
+
# @param [Fixnum] partner_id
|
918
|
+
# The ID of the partner that owns the parent channel.
|
919
|
+
# @param [String] fields
|
920
|
+
# Selector specifying which fields to include in a partial response.
|
921
|
+
# @param [String] quota_user
|
922
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
923
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
924
|
+
# @param [Google::Apis::RequestOptions] options
|
925
|
+
# Request-specific options
|
926
|
+
#
|
927
|
+
# @yield [result, err] Result & error if block supplied
|
928
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListSitesResponse] parsed result object
|
929
|
+
# @yieldparam err [StandardError] error object if request failed
|
930
|
+
#
|
931
|
+
# @return [Google::Apis::DisplayvideoV1::ListSitesResponse]
|
932
|
+
#
|
933
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
934
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
935
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
936
|
+
def list_advertiser_channel_sites(advertiser_id, channel_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
937
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/channels/{+channelId}/sites', options)
|
938
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListSitesResponse::Representation
|
939
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListSitesResponse
|
940
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
941
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
942
|
+
command.query['filter'] = filter unless filter.nil?
|
943
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
944
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
945
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
946
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
947
|
+
command.query['fields'] = fields unless fields.nil?
|
948
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
949
|
+
execute_or_queue_command(command, &block)
|
950
|
+
end
|
951
|
+
|
619
952
|
# Creates a new creative.
|
620
953
|
# Returns the newly created creative if successful.
|
621
954
|
# @param [Fixnum] advertiser_id
|
@@ -737,8 +1070,7 @@ module Google
|
|
737
1070
|
# * Between `(` and `)` there can only be restrictions combined by `OR`
|
738
1071
|
# for the same field.
|
739
1072
|
# * A restriction has the form of ``field` `operator` `value``.
|
740
|
-
# * The operator must be `EQUALS (=)
|
741
|
-
# * Supported fields:
|
1073
|
+
# * The operator must be `EQUALS (=)` for the following fields:
|
742
1074
|
# - `entityStatus`
|
743
1075
|
# - `creativeType`.
|
744
1076
|
# - `dimensions`
|
@@ -747,6 +1079,8 @@ module Google
|
|
747
1079
|
# - `approvalStatus`
|
748
1080
|
# - `exchangeReviewStatus`
|
749
1081
|
# - `dynamic`
|
1082
|
+
# * The operator must be `HAS (:)` for the following fields:
|
1083
|
+
# - `lineItemIds`
|
750
1084
|
# * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic` there may
|
751
1085
|
# be at most one restriction.
|
752
1086
|
# * For `dimensions`, the value is in the form of `"`width`x`height`"`.
|
@@ -754,6 +1088,8 @@ module Google
|
|
754
1088
|
# ``exchange`-`reviewStatus``.
|
755
1089
|
# * For `minDuration` and `maxDuration`, the value is in the form of
|
756
1090
|
# `"`duration`s"`. Only seconds are supported with millisecond granularity.
|
1091
|
+
# * There may be multiple `lineItemIds` restrictions in order to search
|
1092
|
+
# against multiple possible line item IDs.
|
757
1093
|
# Examples:
|
758
1094
|
# * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"`
|
759
1095
|
# * All active creatives with 300x400 or 50x100 dimensions:
|
@@ -764,6 +1100,8 @@ module Google
|
|
764
1100
|
# `dynamic="true" AND minDuration="5.2s" AND
|
765
1101
|
# (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED"
|
766
1102
|
# OR exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")`
|
1103
|
+
# * All video creatives that are associated with line item ID 1 or 2:
|
1104
|
+
# creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)
|
767
1105
|
# The length of this field should be no more than 500 characters.
|
768
1106
|
# @param [String] order_by
|
769
1107
|
# Field by which to sort the list.
|
@@ -1607,12 +1945,11 @@ module Google
|
|
1607
1945
|
execute_or_queue_command(command, &block)
|
1608
1946
|
end
|
1609
1947
|
|
1610
|
-
#
|
1948
|
+
# Creates a new location list. Returns the newly created location list if
|
1949
|
+
# successful.
|
1611
1950
|
# @param [Fixnum] advertiser_id
|
1612
|
-
# Required. The ID of the DV360 advertiser to which the
|
1613
|
-
#
|
1614
|
-
# @param [Fixnum] location_list_id
|
1615
|
-
# Required. The ID of the location list to fetch.
|
1951
|
+
# Required. The ID of the DV360 advertiser to which the location list belongs.
|
1952
|
+
# @param [Google::Apis::DisplayvideoV1::LocationList] location_list_object
|
1616
1953
|
# @param [String] fields
|
1617
1954
|
# Selector specifying which fields to include in a partial response.
|
1618
1955
|
# @param [String] quota_user
|
@@ -1630,20 +1967,55 @@ module Google
|
|
1630
1967
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1631
1968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1632
1969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1633
|
-
def
|
1634
|
-
command = make_simple_command(:
|
1970
|
+
def create_advertiser_location_list(advertiser_id, location_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1971
|
+
command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/locationLists', options)
|
1972
|
+
command.request_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
|
1973
|
+
command.request_object = location_list_object
|
1635
1974
|
command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
|
1636
1975
|
command.response_class = Google::Apis::DisplayvideoV1::LocationList
|
1637
1976
|
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
1638
|
-
command.params['locationListId'] = location_list_id unless location_list_id.nil?
|
1639
1977
|
command.query['fields'] = fields unless fields.nil?
|
1640
1978
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1641
1979
|
execute_or_queue_command(command, &block)
|
1642
1980
|
end
|
1643
1981
|
|
1644
|
-
#
|
1982
|
+
# Gets a location list.
|
1645
1983
|
# @param [Fixnum] advertiser_id
|
1646
|
-
# Required. The ID of the DV360 advertiser to which the fetched location
|
1984
|
+
# Required. The ID of the DV360 advertiser to which the fetched location list
|
1985
|
+
# belongs.
|
1986
|
+
# @param [Fixnum] location_list_id
|
1987
|
+
# Required. The ID of the location list to fetch.
|
1988
|
+
# @param [String] fields
|
1989
|
+
# Selector specifying which fields to include in a partial response.
|
1990
|
+
# @param [String] quota_user
|
1991
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1992
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1993
|
+
# @param [Google::Apis::RequestOptions] options
|
1994
|
+
# Request-specific options
|
1995
|
+
#
|
1996
|
+
# @yield [result, err] Result & error if block supplied
|
1997
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::LocationList] parsed result object
|
1998
|
+
# @yieldparam err [StandardError] error object if request failed
|
1999
|
+
#
|
2000
|
+
# @return [Google::Apis::DisplayvideoV1::LocationList]
|
2001
|
+
#
|
2002
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2003
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2004
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2005
|
+
def get_advertiser_location_list(advertiser_id, location_list_id, fields: nil, quota_user: nil, options: nil, &block)
|
2006
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/locationLists/{+locationListId}', options)
|
2007
|
+
command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
|
2008
|
+
command.response_class = Google::Apis::DisplayvideoV1::LocationList
|
2009
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2010
|
+
command.params['locationListId'] = location_list_id unless location_list_id.nil?
|
2011
|
+
command.query['fields'] = fields unless fields.nil?
|
2012
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2013
|
+
execute_or_queue_command(command, &block)
|
2014
|
+
end
|
2015
|
+
|
2016
|
+
# Lists location lists based on a given advertiser id.
|
2017
|
+
# @param [Fixnum] advertiser_id
|
2018
|
+
# Required. The ID of the DV360 advertiser to which the fetched location lists
|
1647
2019
|
# belong.
|
1648
2020
|
# @param [String] filter
|
1649
2021
|
# Allows filtering by location list fields.
|
@@ -1709,14 +2081,14 @@ module Google
|
|
1709
2081
|
execute_or_queue_command(command, &block)
|
1710
2082
|
end
|
1711
2083
|
|
1712
|
-
#
|
1713
|
-
# list ID.
|
2084
|
+
# Updates a location list. Returns the updated location list if successful.
|
1714
2085
|
# @param [Fixnum] advertiser_id
|
1715
|
-
# Required. The ID of the DV360 advertiser to which the
|
1716
|
-
#
|
1717
|
-
#
|
1718
|
-
# @param [
|
1719
|
-
#
|
2086
|
+
# Required. The ID of the DV360 advertiser to which the location lists belongs.
|
2087
|
+
# @param [Fixnum] location_list_id
|
2088
|
+
# Output only. The unique ID of the location list. Assigned by the system.
|
2089
|
+
# @param [Google::Apis::DisplayvideoV1::LocationList] location_list_object
|
2090
|
+
# @param [String] update_mask
|
2091
|
+
# Required. The mask to control which fields to update.
|
1720
2092
|
# @param [String] fields
|
1721
2093
|
# Selector specifying which fields to include in a partial response.
|
1722
2094
|
# @param [String] quota_user
|
@@ -1726,40 +2098,39 @@ module Google
|
|
1726
2098
|
# Request-specific options
|
1727
2099
|
#
|
1728
2100
|
# @yield [result, err] Result & error if block supplied
|
1729
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
2101
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::LocationList] parsed result object
|
1730
2102
|
# @yieldparam err [StandardError] error object if request failed
|
1731
2103
|
#
|
1732
|
-
# @return [Google::Apis::DisplayvideoV1::
|
2104
|
+
# @return [Google::Apis::DisplayvideoV1::LocationList]
|
1733
2105
|
#
|
1734
2106
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1735
2107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1736
2108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1737
|
-
def
|
1738
|
-
command = make_simple_command(:
|
1739
|
-
command.
|
1740
|
-
command.
|
2109
|
+
def patch_advertiser_location_list(advertiser_id, location_list_id, location_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2110
|
+
command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/locationLists/{locationListId}', options)
|
2111
|
+
command.request_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
|
2112
|
+
command.request_object = location_list_object
|
2113
|
+
command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
|
2114
|
+
command.response_class = Google::Apis::DisplayvideoV1::LocationList
|
1741
2115
|
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
1742
|
-
command.params['
|
2116
|
+
command.params['locationListId'] = location_list_id unless location_list_id.nil?
|
2117
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1743
2118
|
command.query['fields'] = fields unless fields.nil?
|
1744
2119
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1745
2120
|
execute_or_queue_command(command, &block)
|
1746
2121
|
end
|
1747
2122
|
|
1748
|
-
#
|
2123
|
+
# Bulk edits multiple assignments between locations and a single location
|
2124
|
+
# list.
|
2125
|
+
# The operation will delete the assigned locations provided in
|
2126
|
+
# BulkEditAssignedLocationsRequest.deleted_assigned_locations and then
|
2127
|
+
# create the assigned locations provided in
|
2128
|
+
# BulkEditAssignedLocationsRequest.created_assigned_locations.
|
1749
2129
|
# @param [Fixnum] advertiser_id
|
1750
|
-
# Required. The ID of the DV360 advertiser to which the
|
1751
|
-
#
|
1752
|
-
#
|
1753
|
-
# @param [
|
1754
|
-
# Requested page size. Must be between `1` and `100`.
|
1755
|
-
# Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
|
1756
|
-
# invalid value is specified.
|
1757
|
-
# @param [String] page_token
|
1758
|
-
# A token identifying a page of results the server should return.
|
1759
|
-
# Typically, this is the value of
|
1760
|
-
# next_page_token
|
1761
|
-
# returned from the previous call to `ListNegativeKeywordLists` method.
|
1762
|
-
# If not specified, the first page of results will be returned.
|
2130
|
+
# Required. The ID of the DV360 advertiser to which the location list belongs.
|
2131
|
+
# @param [Fixnum] location_list_id
|
2132
|
+
# Required. The ID of the location list to which these assignments are assigned.
|
2133
|
+
# @param [Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsRequest] bulk_edit_assigned_locations_request_object
|
1763
2134
|
# @param [String] fields
|
1764
2135
|
# Selector specifying which fields to include in a partial response.
|
1765
2136
|
# @param [String] quota_user
|
@@ -1769,102 +2140,33 @@ module Google
|
|
1769
2140
|
# Request-specific options
|
1770
2141
|
#
|
1771
2142
|
# @yield [result, err] Result & error if block supplied
|
1772
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
2143
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse] parsed result object
|
1773
2144
|
# @yieldparam err [StandardError] error object if request failed
|
1774
2145
|
#
|
1775
|
-
# @return [Google::Apis::DisplayvideoV1::
|
2146
|
+
# @return [Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse]
|
1776
2147
|
#
|
1777
2148
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1778
2149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1779
2150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1780
|
-
def
|
1781
|
-
command = make_simple_command(:
|
1782
|
-
command.
|
1783
|
-
command.
|
2151
|
+
def bulk_edit_assigned_locations(advertiser_id, location_list_id, bulk_edit_assigned_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2152
|
+
command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit', options)
|
2153
|
+
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsRequest::Representation
|
2154
|
+
command.request_object = bulk_edit_assigned_locations_request_object
|
2155
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse::Representation
|
2156
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse
|
1784
2157
|
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
1785
|
-
command.
|
1786
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1787
|
-
command.query['fields'] = fields unless fields.nil?
|
1788
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1789
|
-
execute_or_queue_command(command, &block)
|
1790
|
-
end
|
1791
|
-
|
1792
|
-
# Gets a combined audience.
|
1793
|
-
# @param [Fixnum] combined_audience_id
|
1794
|
-
# Required. The ID of the combined audience to fetch.
|
1795
|
-
# @param [Fixnum] advertiser_id
|
1796
|
-
# The ID of the advertiser that has access to the fetched combined
|
1797
|
-
# audience.
|
1798
|
-
# @param [Fixnum] partner_id
|
1799
|
-
# The ID of the partner that has access to the fetched combined audience.
|
1800
|
-
# @param [String] fields
|
1801
|
-
# Selector specifying which fields to include in a partial response.
|
1802
|
-
# @param [String] quota_user
|
1803
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1804
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1805
|
-
# @param [Google::Apis::RequestOptions] options
|
1806
|
-
# Request-specific options
|
1807
|
-
#
|
1808
|
-
# @yield [result, err] Result & error if block supplied
|
1809
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::CombinedAudience] parsed result object
|
1810
|
-
# @yieldparam err [StandardError] error object if request failed
|
1811
|
-
#
|
1812
|
-
# @return [Google::Apis::DisplayvideoV1::CombinedAudience]
|
1813
|
-
#
|
1814
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1815
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1816
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1817
|
-
def get_combined_audience(combined_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1818
|
-
command = make_simple_command(:get, 'v1/combinedAudiences/{+combinedAudienceId}', options)
|
1819
|
-
command.response_representation = Google::Apis::DisplayvideoV1::CombinedAudience::Representation
|
1820
|
-
command.response_class = Google::Apis::DisplayvideoV1::CombinedAudience
|
1821
|
-
command.params['combinedAudienceId'] = combined_audience_id unless combined_audience_id.nil?
|
1822
|
-
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
1823
|
-
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2158
|
+
command.params['locationListId'] = location_list_id unless location_list_id.nil?
|
1824
2159
|
command.query['fields'] = fields unless fields.nil?
|
1825
2160
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1826
2161
|
execute_or_queue_command(command, &block)
|
1827
2162
|
end
|
1828
2163
|
|
1829
|
-
#
|
1830
|
-
# The order is defined by the
|
1831
|
-
# order_by parameter.
|
2164
|
+
# Creates an assignment between a location and a location list.
|
1832
2165
|
# @param [Fixnum] advertiser_id
|
1833
|
-
# The ID of the advertiser
|
1834
|
-
#
|
1835
|
-
#
|
1836
|
-
#
|
1837
|
-
# Supported syntax:
|
1838
|
-
# * Filter expressions for combined audiences currently can only contain at
|
1839
|
-
# most one restriction.
|
1840
|
-
# * A restriction has the form of ``field` `operator` `value``.
|
1841
|
-
# * The operator must be `CONTAINS (:)`.
|
1842
|
-
# * Supported fields:
|
1843
|
-
# - `displayName`
|
1844
|
-
# Examples:
|
1845
|
-
# * All combined audiences for which the display name contains "Google":
|
1846
|
-
# `displayName : "Google"`.
|
1847
|
-
# The length of this field should be no more than 500 characters.
|
1848
|
-
# @param [String] order_by
|
1849
|
-
# Field by which to sort the list.
|
1850
|
-
# Acceptable values are:
|
1851
|
-
# * `combinedAudienceId` (default)
|
1852
|
-
# * `displayName`
|
1853
|
-
# The default sorting order is ascending. To specify descending order for
|
1854
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
1855
|
-
# `displayName desc`.
|
1856
|
-
# @param [Fixnum] page_size
|
1857
|
-
# Requested page size. Must be between `1` and `100`. If unspecified will
|
1858
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
1859
|
-
# is specified.
|
1860
|
-
# @param [String] page_token
|
1861
|
-
# A token identifying a page of results the server should return.
|
1862
|
-
# Typically, this is the value of
|
1863
|
-
# next_page_token
|
1864
|
-
# returned from the previous call to `ListCombinedAudiences` method.
|
1865
|
-
# If not specified, the first page of results will be returned.
|
1866
|
-
# @param [Fixnum] partner_id
|
1867
|
-
# The ID of the partner that has access to the fetched combined audiences.
|
2166
|
+
# Required. The ID of the DV360 advertiser to which the location list belongs.
|
2167
|
+
# @param [Fixnum] location_list_id
|
2168
|
+
# Required. The ID of the location list for which the assignment will be created.
|
2169
|
+
# @param [Google::Apis::DisplayvideoV1::AssignedLocation] assigned_location_object
|
1868
2170
|
# @param [String] fields
|
1869
2171
|
# Selector specifying which fields to include in a partial response.
|
1870
2172
|
# @param [String] quota_user
|
@@ -1874,35 +2176,34 @@ module Google
|
|
1874
2176
|
# Request-specific options
|
1875
2177
|
#
|
1876
2178
|
# @yield [result, err] Result & error if block supplied
|
1877
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
2179
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::AssignedLocation] parsed result object
|
1878
2180
|
# @yieldparam err [StandardError] error object if request failed
|
1879
2181
|
#
|
1880
|
-
# @return [Google::Apis::DisplayvideoV1::
|
2182
|
+
# @return [Google::Apis::DisplayvideoV1::AssignedLocation]
|
1881
2183
|
#
|
1882
2184
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1883
2185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1884
2186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1885
|
-
def
|
1886
|
-
command = make_simple_command(:
|
1887
|
-
command.
|
1888
|
-
command.
|
1889
|
-
command.
|
1890
|
-
command.
|
1891
|
-
command.
|
1892
|
-
command.
|
1893
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1894
|
-
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2187
|
+
def create_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2188
|
+
command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations', options)
|
2189
|
+
command.request_representation = Google::Apis::DisplayvideoV1::AssignedLocation::Representation
|
2190
|
+
command.request_object = assigned_location_object
|
2191
|
+
command.response_representation = Google::Apis::DisplayvideoV1::AssignedLocation::Representation
|
2192
|
+
command.response_class = Google::Apis::DisplayvideoV1::AssignedLocation
|
2193
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2194
|
+
command.params['locationListId'] = location_list_id unless location_list_id.nil?
|
1895
2195
|
command.query['fields'] = fields unless fields.nil?
|
1896
2196
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1897
2197
|
execute_or_queue_command(command, &block)
|
1898
2198
|
end
|
1899
2199
|
|
1900
|
-
#
|
1901
|
-
# @param [Fixnum] custom_list_id
|
1902
|
-
# Required. The ID of the custom list to fetch.
|
2200
|
+
# Deletes the assignment between a location and a location list.
|
1903
2201
|
# @param [Fixnum] advertiser_id
|
1904
|
-
# The ID of the DV360 advertiser
|
1905
|
-
#
|
2202
|
+
# Required. The ID of the DV360 advertiser to which the location list belongs.
|
2203
|
+
# @param [Fixnum] location_list_id
|
2204
|
+
# Required. The ID of the location list to which this assignment is assigned.
|
2205
|
+
# @param [Fixnum] assigned_location_id
|
2206
|
+
# Required. The ID of the assigned location to delete.
|
1906
2207
|
# @param [String] fields
|
1907
2208
|
# Selector specifying which fields to include in a partial response.
|
1908
2209
|
# @param [String] quota_user
|
@@ -1912,52 +2213,48 @@ module Google
|
|
1912
2213
|
# Request-specific options
|
1913
2214
|
#
|
1914
2215
|
# @yield [result, err] Result & error if block supplied
|
1915
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
2216
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
1916
2217
|
# @yieldparam err [StandardError] error object if request failed
|
1917
2218
|
#
|
1918
|
-
# @return [Google::Apis::DisplayvideoV1::
|
2219
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
1919
2220
|
#
|
1920
2221
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1921
2222
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1922
2223
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1923
|
-
def
|
1924
|
-
command = make_simple_command(:
|
1925
|
-
command.response_representation = Google::Apis::DisplayvideoV1::
|
1926
|
-
command.response_class = Google::Apis::DisplayvideoV1::
|
1927
|
-
command.params['
|
1928
|
-
command.
|
2224
|
+
def delete_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_id, fields: nil, quota_user: nil, options: nil, &block)
|
2225
|
+
command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}', options)
|
2226
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
2227
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
2228
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2229
|
+
command.params['locationListId'] = location_list_id unless location_list_id.nil?
|
2230
|
+
command.params['assignedLocationId'] = assigned_location_id unless assigned_location_id.nil?
|
1929
2231
|
command.query['fields'] = fields unless fields.nil?
|
1930
2232
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1931
2233
|
execute_or_queue_command(command, &block)
|
1932
2234
|
end
|
1933
2235
|
|
1934
|
-
# Lists
|
1935
|
-
# The order is defined by the order_by
|
1936
|
-
# parameter.
|
2236
|
+
# Lists locations assigned to a location list.
|
1937
2237
|
# @param [Fixnum] advertiser_id
|
1938
|
-
# The ID of the DV360 advertiser
|
1939
|
-
#
|
2238
|
+
# Required. The ID of the DV360 advertiser to which the location list belongs.
|
2239
|
+
# @param [Fixnum] location_list_id
|
2240
|
+
# Required. The ID of the location list to which these assignments are assigned.
|
1940
2241
|
# @param [String] filter
|
1941
|
-
# Allows filtering by
|
2242
|
+
# Allows filtering by location list assignment fields.
|
1942
2243
|
# Supported syntax:
|
1943
|
-
# * Filter expressions
|
1944
|
-
#
|
2244
|
+
# * Filter expressions are made up of one or more restrictions.
|
2245
|
+
# * Restrictions can be combined by the logical operator `OR`.
|
1945
2246
|
# * A restriction has the form of ``field` `operator` `value``.
|
1946
|
-
# * The operator must be `
|
2247
|
+
# * The operator must be `EQUALS (=)`.
|
1947
2248
|
# * Supported fields:
|
1948
|
-
# - `
|
1949
|
-
# Examples:
|
1950
|
-
# * All custom lists for which the display name contains "Google":
|
1951
|
-
# `displayName : "Google"`.
|
2249
|
+
# - `assignedLocationId`
|
1952
2250
|
# The length of this field should be no more than 500 characters.
|
1953
2251
|
# @param [String] order_by
|
1954
2252
|
# Field by which to sort the list.
|
1955
2253
|
# Acceptable values are:
|
1956
|
-
# * `
|
1957
|
-
#
|
1958
|
-
#
|
1959
|
-
#
|
1960
|
-
# `displayName desc`.
|
2254
|
+
# * `assignedLocationId` (default)
|
2255
|
+
# The default sorting order is ascending. To specify descending order for a
|
2256
|
+
# field, a suffix " desc" should be added to the field name. Example:
|
2257
|
+
# `assignedLocationId desc`.
|
1961
2258
|
# @param [Fixnum] page_size
|
1962
2259
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
1963
2260
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
@@ -1966,8 +2263,8 @@ module Google
|
|
1966
2263
|
# A token identifying a page of results the server should return.
|
1967
2264
|
# Typically, this is the value of
|
1968
2265
|
# next_page_token
|
1969
|
-
# returned from the previous call to `
|
1970
|
-
# If not specified, the first page of results will be returned.
|
2266
|
+
# returned from the previous call to `ListAssignedLocations`
|
2267
|
+
# method. If not specified, the first page of results will be returned.
|
1971
2268
|
# @param [String] fields
|
1972
2269
|
# Selector specifying which fields to include in a partial response.
|
1973
2270
|
# @param [String] quota_user
|
@@ -1977,19 +2274,20 @@ module Google
|
|
1977
2274
|
# Request-specific options
|
1978
2275
|
#
|
1979
2276
|
# @yield [result, err] Result & error if block supplied
|
1980
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
2277
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse] parsed result object
|
1981
2278
|
# @yieldparam err [StandardError] error object if request failed
|
1982
2279
|
#
|
1983
|
-
# @return [Google::Apis::DisplayvideoV1::
|
2280
|
+
# @return [Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse]
|
1984
2281
|
#
|
1985
2282
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1986
2283
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1987
2284
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1988
|
-
def
|
1989
|
-
command = make_simple_command(:get, 'v1/
|
1990
|
-
command.response_representation = Google::Apis::DisplayvideoV1::
|
1991
|
-
command.response_class = Google::Apis::DisplayvideoV1::
|
1992
|
-
command.
|
2285
|
+
def list_advertiser_location_list_assigned_locations(advertiser_id, location_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2286
|
+
command = make_simple_command(:get, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations', options)
|
2287
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse::Representation
|
2288
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse
|
2289
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2290
|
+
command.params['locationListId'] = location_list_id unless location_list_id.nil?
|
1993
2291
|
command.query['filter'] = filter unless filter.nil?
|
1994
2292
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1995
2293
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -1999,15 +2297,13 @@ module Google
|
|
1999
2297
|
execute_or_queue_command(command, &block)
|
2000
2298
|
end
|
2001
2299
|
|
2002
|
-
#
|
2003
|
-
#
|
2004
|
-
# Required. The ID of the first and third party audience to fetch.
|
2300
|
+
# Creates a new negative keyword list. Returns the newly created negative
|
2301
|
+
# keyword list if successful.
|
2005
2302
|
# @param [Fixnum] advertiser_id
|
2006
|
-
# The ID of the advertiser
|
2007
|
-
#
|
2008
|
-
#
|
2009
|
-
#
|
2010
|
-
# third party audience.
|
2303
|
+
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
2304
|
+
# will
|
2305
|
+
# belong.
|
2306
|
+
# @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
|
2011
2307
|
# @param [String] fields
|
2012
2308
|
# Selector specifying which fields to include in a partial response.
|
2013
2309
|
# @param [String] quota_user
|
@@ -2017,49 +2313,1008 @@ module Google
|
|
2017
2313
|
# Request-specific options
|
2018
2314
|
#
|
2019
2315
|
# @yield [result, err] Result & error if block supplied
|
2020
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
2316
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeywordList] parsed result object
|
2021
2317
|
# @yieldparam err [StandardError] error object if request failed
|
2022
2318
|
#
|
2023
|
-
# @return [Google::Apis::DisplayvideoV1::
|
2319
|
+
# @return [Google::Apis::DisplayvideoV1::NegativeKeywordList]
|
2024
2320
|
#
|
2025
2321
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2026
2322
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2027
2323
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2028
|
-
def
|
2029
|
-
command = make_simple_command(:
|
2030
|
-
command.
|
2031
|
-
command.
|
2032
|
-
command.
|
2033
|
-
command.
|
2034
|
-
command.
|
2324
|
+
def create_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2325
|
+
command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/negativeKeywordLists', options)
|
2326
|
+
command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
|
2327
|
+
command.request_object = negative_keyword_list_object
|
2328
|
+
command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
|
2329
|
+
command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList
|
2330
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2035
2331
|
command.query['fields'] = fields unless fields.nil?
|
2036
2332
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2037
2333
|
execute_or_queue_command(command, &block)
|
2038
2334
|
end
|
2039
2335
|
|
2040
|
-
#
|
2041
|
-
#
|
2042
|
-
# order_by parameter.
|
2336
|
+
# Deletes a negative keyword list given an advertiser ID and a negative
|
2337
|
+
# keyword list ID.
|
2043
2338
|
# @param [Fixnum] advertiser_id
|
2044
|
-
# The ID of the advertiser
|
2045
|
-
#
|
2339
|
+
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
2340
|
+
# belongs.
|
2341
|
+
# @param [Fixnum] negative_keyword_list_id
|
2342
|
+
# Required. The ID of the negative keyword list to delete.
|
2343
|
+
# @param [String] fields
|
2344
|
+
# Selector specifying which fields to include in a partial response.
|
2345
|
+
# @param [String] quota_user
|
2346
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2347
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2348
|
+
# @param [Google::Apis::RequestOptions] options
|
2349
|
+
# Request-specific options
|
2350
|
+
#
|
2351
|
+
# @yield [result, err] Result & error if block supplied
|
2352
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
2353
|
+
# @yieldparam err [StandardError] error object if request failed
|
2354
|
+
#
|
2355
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
2356
|
+
#
|
2357
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2358
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2359
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2360
|
+
def delete_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil, &block)
|
2361
|
+
command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', options)
|
2362
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
2363
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
2364
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2365
|
+
command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
|
2366
|
+
command.query['fields'] = fields unless fields.nil?
|
2367
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2368
|
+
execute_or_queue_command(command, &block)
|
2369
|
+
end
|
2370
|
+
|
2371
|
+
# Gets a negative keyword list given an advertiser ID and a negative keyword
|
2372
|
+
# list ID.
|
2373
|
+
# @param [Fixnum] advertiser_id
|
2374
|
+
# Required. The ID of the DV360 advertiser to which the fetched negative keyword
|
2375
|
+
# list
|
2376
|
+
# belongs.
|
2377
|
+
# @param [Fixnum] negative_keyword_list_id
|
2378
|
+
# Required. The ID of the negative keyword list to fetch.
|
2379
|
+
# @param [String] fields
|
2380
|
+
# Selector specifying which fields to include in a partial response.
|
2381
|
+
# @param [String] quota_user
|
2382
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2383
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2384
|
+
# @param [Google::Apis::RequestOptions] options
|
2385
|
+
# Request-specific options
|
2386
|
+
#
|
2387
|
+
# @yield [result, err] Result & error if block supplied
|
2388
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeywordList] parsed result object
|
2389
|
+
# @yieldparam err [StandardError] error object if request failed
|
2390
|
+
#
|
2391
|
+
# @return [Google::Apis::DisplayvideoV1::NegativeKeywordList]
|
2392
|
+
#
|
2393
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2394
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2395
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2396
|
+
def get_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil, &block)
|
2397
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', options)
|
2398
|
+
command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
|
2399
|
+
command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList
|
2400
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2401
|
+
command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
|
2402
|
+
command.query['fields'] = fields unless fields.nil?
|
2403
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2404
|
+
execute_or_queue_command(command, &block)
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
# Lists negative keyword lists based on a given advertiser id.
|
2408
|
+
# @param [Fixnum] advertiser_id
|
2409
|
+
# Required. The ID of the DV360 advertiser to which the fetched negative keyword
|
2410
|
+
# lists
|
2411
|
+
# belong.
|
2412
|
+
# @param [Fixnum] page_size
|
2413
|
+
# Requested page size. Must be between `1` and `100`.
|
2414
|
+
# Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
|
2415
|
+
# invalid value is specified.
|
2416
|
+
# @param [String] page_token
|
2417
|
+
# A token identifying a page of results the server should return.
|
2418
|
+
# Typically, this is the value of
|
2419
|
+
# next_page_token
|
2420
|
+
# returned from the previous call to `ListNegativeKeywordLists` method.
|
2421
|
+
# If not specified, the first page of results will be returned.
|
2422
|
+
# @param [String] fields
|
2423
|
+
# Selector specifying which fields to include in a partial response.
|
2424
|
+
# @param [String] quota_user
|
2425
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2426
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2427
|
+
# @param [Google::Apis::RequestOptions] options
|
2428
|
+
# Request-specific options
|
2429
|
+
#
|
2430
|
+
# @yield [result, err] Result & error if block supplied
|
2431
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse] parsed result object
|
2432
|
+
# @yieldparam err [StandardError] error object if request failed
|
2433
|
+
#
|
2434
|
+
# @return [Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse]
|
2435
|
+
#
|
2436
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2437
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2438
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2439
|
+
def list_advertiser_negative_keyword_lists(advertiser_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2440
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists', options)
|
2441
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse::Representation
|
2442
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse
|
2443
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2444
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2445
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2446
|
+
command.query['fields'] = fields unless fields.nil?
|
2447
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2448
|
+
execute_or_queue_command(command, &block)
|
2449
|
+
end
|
2450
|
+
|
2451
|
+
# Updates a negative keyword list. Returns the updated negative keyword list
|
2452
|
+
# if successful.
|
2453
|
+
# @param [Fixnum] advertiser_id
|
2454
|
+
# Required. The ID of the DV360 advertiser to which the negative keyword list
|
2455
|
+
# belongs.
|
2456
|
+
# @param [Fixnum] negative_keyword_list_id
|
2457
|
+
# Output only. The unique ID of the negative keyword list. Assigned by the
|
2458
|
+
# system.
|
2459
|
+
# @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
|
2460
|
+
# @param [String] update_mask
|
2461
|
+
# Required. The mask to control which fields to update.
|
2462
|
+
# @param [String] fields
|
2463
|
+
# Selector specifying which fields to include in a partial response.
|
2464
|
+
# @param [String] quota_user
|
2465
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2466
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2467
|
+
# @param [Google::Apis::RequestOptions] options
|
2468
|
+
# Request-specific options
|
2469
|
+
#
|
2470
|
+
# @yield [result, err] Result & error if block supplied
|
2471
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeywordList] parsed result object
|
2472
|
+
# @yieldparam err [StandardError] error object if request failed
|
2473
|
+
#
|
2474
|
+
# @return [Google::Apis::DisplayvideoV1::NegativeKeywordList]
|
2475
|
+
#
|
2476
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2477
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2478
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2479
|
+
def patch_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, negative_keyword_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2480
|
+
command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}', options)
|
2481
|
+
command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
|
2482
|
+
command.request_object = negative_keyword_list_object
|
2483
|
+
command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
|
2484
|
+
command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList
|
2485
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2486
|
+
command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
|
2487
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2488
|
+
command.query['fields'] = fields unless fields.nil?
|
2489
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2490
|
+
execute_or_queue_command(command, &block)
|
2491
|
+
end
|
2492
|
+
|
2493
|
+
# Bulk edits negative keywords in a single negative keyword list.
|
2494
|
+
# The operation will delete the negative keywords provided in
|
2495
|
+
# BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then
|
2496
|
+
# create the negative keywords provided in
|
2497
|
+
# BulkEditNegativeKeywordsRequest.created_negative_keywords.
|
2498
|
+
# This operation is guaranteed to be atomic and will never result in a
|
2499
|
+
# partial success or partial failure.
|
2500
|
+
# @param [Fixnum] advertiser_id
|
2501
|
+
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
2502
|
+
# list
|
2503
|
+
# belongs.
|
2504
|
+
# @param [Fixnum] negative_keyword_list_id
|
2505
|
+
# Required. The ID of the parent negative keyword list to which the negative
|
2506
|
+
# keywords
|
2507
|
+
# belong.
|
2508
|
+
# @param [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest] bulk_edit_negative_keywords_request_object
|
2509
|
+
# @param [String] fields
|
2510
|
+
# Selector specifying which fields to include in a partial response.
|
2511
|
+
# @param [String] quota_user
|
2512
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2513
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2514
|
+
# @param [Google::Apis::RequestOptions] options
|
2515
|
+
# Request-specific options
|
2516
|
+
#
|
2517
|
+
# @yield [result, err] Result & error if block supplied
|
2518
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse] parsed result object
|
2519
|
+
# @yieldparam err [StandardError] error object if request failed
|
2520
|
+
#
|
2521
|
+
# @return [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse]
|
2522
|
+
#
|
2523
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2524
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2525
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2526
|
+
def bulk_edit_negative_keywords(advertiser_id, negative_keyword_list_id, bulk_edit_negative_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2527
|
+
command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit', options)
|
2528
|
+
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest::Representation
|
2529
|
+
command.request_object = bulk_edit_negative_keywords_request_object
|
2530
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse::Representation
|
2531
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse
|
2532
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2533
|
+
command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
|
2534
|
+
command.query['fields'] = fields unless fields.nil?
|
2535
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2536
|
+
execute_or_queue_command(command, &block)
|
2537
|
+
end
|
2538
|
+
|
2539
|
+
# Creates a negative keyword in a negative keyword list.
|
2540
|
+
# @param [Fixnum] advertiser_id
|
2541
|
+
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
2542
|
+
# list
|
2543
|
+
# belongs.
|
2544
|
+
# @param [Fixnum] negative_keyword_list_id
|
2545
|
+
# Required. The ID of the parent negative keyword list in which the negative
|
2546
|
+
# keyword
|
2547
|
+
# will be created.
|
2548
|
+
# @param [Google::Apis::DisplayvideoV1::NegativeKeyword] negative_keyword_object
|
2549
|
+
# @param [String] fields
|
2550
|
+
# Selector specifying which fields to include in a partial response.
|
2551
|
+
# @param [String] quota_user
|
2552
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2553
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2554
|
+
# @param [Google::Apis::RequestOptions] options
|
2555
|
+
# Request-specific options
|
2556
|
+
#
|
2557
|
+
# @yield [result, err] Result & error if block supplied
|
2558
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeyword] parsed result object
|
2559
|
+
# @yieldparam err [StandardError] error object if request failed
|
2560
|
+
#
|
2561
|
+
# @return [Google::Apis::DisplayvideoV1::NegativeKeyword]
|
2562
|
+
#
|
2563
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2564
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2565
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2566
|
+
def create_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, negative_keyword_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2567
|
+
command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords', options)
|
2568
|
+
command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
|
2569
|
+
command.request_object = negative_keyword_object
|
2570
|
+
command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
|
2571
|
+
command.response_class = Google::Apis::DisplayvideoV1::NegativeKeyword
|
2572
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2573
|
+
command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
|
2574
|
+
command.query['fields'] = fields unless fields.nil?
|
2575
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2576
|
+
execute_or_queue_command(command, &block)
|
2577
|
+
end
|
2578
|
+
|
2579
|
+
# Deletes a negative keyword from a negative keyword list.
|
2580
|
+
# @param [Fixnum] advertiser_id
|
2581
|
+
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
2582
|
+
# list
|
2583
|
+
# belongs.
|
2584
|
+
# @param [Fixnum] negative_keyword_list_id
|
2585
|
+
# Required. The ID of the parent negative keyword list to which the negative
|
2586
|
+
# keyword
|
2587
|
+
# belongs.
|
2588
|
+
# @param [String] keyword_value
|
2589
|
+
# Required. The keyword value of the negative keyword to delete.
|
2590
|
+
# @param [String] fields
|
2591
|
+
# Selector specifying which fields to include in a partial response.
|
2592
|
+
# @param [String] quota_user
|
2593
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2594
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2595
|
+
# @param [Google::Apis::RequestOptions] options
|
2596
|
+
# Request-specific options
|
2597
|
+
#
|
2598
|
+
# @yield [result, err] Result & error if block supplied
|
2599
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
2600
|
+
# @yieldparam err [StandardError] error object if request failed
|
2601
|
+
#
|
2602
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
2603
|
+
#
|
2604
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2605
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2606
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2607
|
+
def delete_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, keyword_value, fields: nil, quota_user: nil, options: nil, &block)
|
2608
|
+
command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}', options)
|
2609
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
2610
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
2611
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2612
|
+
command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
|
2613
|
+
command.params['keywordValue'] = keyword_value unless keyword_value.nil?
|
2614
|
+
command.query['fields'] = fields unless fields.nil?
|
2615
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2616
|
+
execute_or_queue_command(command, &block)
|
2617
|
+
end
|
2618
|
+
|
2619
|
+
# Lists negative keywords in a negative keyword list.
|
2620
|
+
# @param [Fixnum] advertiser_id
|
2621
|
+
# Required. The ID of the DV360 advertiser to which the parent negative keyword
|
2622
|
+
# list
|
2623
|
+
# belongs.
|
2624
|
+
# @param [Fixnum] negative_keyword_list_id
|
2625
|
+
# Required. The ID of the parent negative keyword list to which the requested
|
2626
|
+
# negative
|
2627
|
+
# keywords belong.
|
2628
|
+
# @param [String] filter
|
2629
|
+
# Allows filtering by negative keyword fields.
|
2630
|
+
# Supported syntax:
|
2631
|
+
# * Filter expressions for negative keyword currently can only contain at
|
2632
|
+
# most one
|
2633
|
+
# * restriction.
|
2634
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
2635
|
+
# * The operator must be `CONTAINS (:)`.
|
2636
|
+
# * Supported fields:
|
2637
|
+
# - `keywordValue`
|
2638
|
+
# Examples:
|
2639
|
+
# * All negative keywords for which the keyword value contains "google":
|
2640
|
+
# `keywordValue : "google"`
|
2641
|
+
# @param [String] order_by
|
2642
|
+
# Field by which to sort the list.
|
2643
|
+
# Acceptable values are:
|
2644
|
+
# * `keywordValue` (default)
|
2645
|
+
# The default sorting order is ascending. To specify descending order for a
|
2646
|
+
# field, a suffix " desc" should be added to the field name. Example:
|
2647
|
+
# `keywordValue desc`.
|
2648
|
+
# @param [Fixnum] page_size
|
2649
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
2650
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
2651
|
+
# is specified.
|
2652
|
+
# @param [String] page_token
|
2653
|
+
# A token identifying a page of results the server should return.
|
2654
|
+
# Typically, this is the value of
|
2655
|
+
# next_page_token returned
|
2656
|
+
# from the previous call to `ListNegativeKeywords` method. If not specified,
|
2657
|
+
# the first page of results will be returned.
|
2658
|
+
# @param [String] fields
|
2659
|
+
# Selector specifying which fields to include in a partial response.
|
2660
|
+
# @param [String] quota_user
|
2661
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2662
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2663
|
+
# @param [Google::Apis::RequestOptions] options
|
2664
|
+
# Request-specific options
|
2665
|
+
#
|
2666
|
+
# @yield [result, err] Result & error if block supplied
|
2667
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse] parsed result object
|
2668
|
+
# @yieldparam err [StandardError] error object if request failed
|
2669
|
+
#
|
2670
|
+
# @return [Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse]
|
2671
|
+
#
|
2672
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2673
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2674
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2675
|
+
def list_advertiser_negative_keyword_list_negative_keywords(advertiser_id, negative_keyword_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2676
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords', options)
|
2677
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse::Representation
|
2678
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse
|
2679
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2680
|
+
command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
|
2681
|
+
command.query['filter'] = filter unless filter.nil?
|
2682
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2683
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2684
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2685
|
+
command.query['fields'] = fields unless fields.nil?
|
2686
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2687
|
+
execute_or_queue_command(command, &block)
|
2688
|
+
end
|
2689
|
+
|
2690
|
+
# Assigns a targeting option to an advertiser.
|
2691
|
+
# Returns the assigned targeting option if successful.
|
2692
|
+
# @param [Fixnum] advertiser_id
|
2693
|
+
# Required. The ID of the advertiser.
|
2694
|
+
# @param [String] targeting_type
|
2695
|
+
# Required. Identifies the type of this assigned targeting option.
|
2696
|
+
# @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
|
2697
|
+
# @param [String] fields
|
2698
|
+
# Selector specifying which fields to include in a partial response.
|
2699
|
+
# @param [String] quota_user
|
2700
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2701
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2702
|
+
# @param [Google::Apis::RequestOptions] options
|
2703
|
+
# Request-specific options
|
2704
|
+
#
|
2705
|
+
# @yield [result, err] Result & error if block supplied
|
2706
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
|
2707
|
+
# @yieldparam err [StandardError] error object if request failed
|
2708
|
+
#
|
2709
|
+
# @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
|
2710
|
+
#
|
2711
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2712
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2713
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2714
|
+
def create_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2715
|
+
command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
2716
|
+
command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
2717
|
+
command.request_object = assigned_targeting_option_object
|
2718
|
+
command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
2719
|
+
command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
|
2720
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2721
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
2722
|
+
command.query['fields'] = fields unless fields.nil?
|
2723
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2724
|
+
execute_or_queue_command(command, &block)
|
2725
|
+
end
|
2726
|
+
|
2727
|
+
# Deletes an assigned targeting option from an advertiser.
|
2728
|
+
# @param [Fixnum] advertiser_id
|
2729
|
+
# Required. The ID of the advertiser.
|
2730
|
+
# @param [String] targeting_type
|
2731
|
+
# Required. Identifies the type of this assigned targeting option.
|
2732
|
+
# @param [String] assigned_targeting_option_id
|
2733
|
+
# Required. The ID of the assigned targeting option to delete.
|
2734
|
+
# @param [String] fields
|
2735
|
+
# Selector specifying which fields to include in a partial response.
|
2736
|
+
# @param [String] quota_user
|
2737
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2738
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2739
|
+
# @param [Google::Apis::RequestOptions] options
|
2740
|
+
# Request-specific options
|
2741
|
+
#
|
2742
|
+
# @yield [result, err] Result & error if block supplied
|
2743
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
2744
|
+
# @yieldparam err [StandardError] error object if request failed
|
2745
|
+
#
|
2746
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
2747
|
+
#
|
2748
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2749
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2750
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2751
|
+
def delete_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
|
2752
|
+
command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
2753
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
2754
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
2755
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2756
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
2757
|
+
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
|
2758
|
+
command.query['fields'] = fields unless fields.nil?
|
2759
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2760
|
+
execute_or_queue_command(command, &block)
|
2761
|
+
end
|
2762
|
+
|
2763
|
+
# Gets a single targeting option assigned to an advertiser.
|
2764
|
+
# @param [Fixnum] advertiser_id
|
2765
|
+
# Required. The ID of the advertiser.
|
2766
|
+
# @param [String] targeting_type
|
2767
|
+
# Required. Identifies the type of this assigned targeting option.
|
2768
|
+
# @param [String] assigned_targeting_option_id
|
2769
|
+
# Required. An identifier unique to the targeting type in this advertiser that
|
2770
|
+
# identifies the assigned targeting option being requested.
|
2771
|
+
# @param [String] fields
|
2772
|
+
# Selector specifying which fields to include in a partial response.
|
2773
|
+
# @param [String] quota_user
|
2774
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2775
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2776
|
+
# @param [Google::Apis::RequestOptions] options
|
2777
|
+
# Request-specific options
|
2778
|
+
#
|
2779
|
+
# @yield [result, err] Result & error if block supplied
|
2780
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
|
2781
|
+
# @yieldparam err [StandardError] error object if request failed
|
2782
|
+
#
|
2783
|
+
# @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
|
2784
|
+
#
|
2785
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2786
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2787
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2788
|
+
def get_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
|
2789
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
2790
|
+
command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
|
2791
|
+
command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
|
2792
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2793
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
2794
|
+
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
|
2795
|
+
command.query['fields'] = fields unless fields.nil?
|
2796
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2797
|
+
execute_or_queue_command(command, &block)
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
# Lists the targeting options assigned to an advertiser.
|
2801
|
+
# @param [Fixnum] advertiser_id
|
2802
|
+
# Required. The ID of the advertiser.
|
2803
|
+
# @param [String] targeting_type
|
2804
|
+
# Required. Identifies the type of assigned targeting options to list.
|
2805
|
+
# @param [String] filter
|
2806
|
+
# Allows filtering by assigned targeting option properties.
|
2807
|
+
# Supported syntax:
|
2808
|
+
# * Filter expressions are made up of one or more restrictions.
|
2809
|
+
# * Restrictions can be combined by the logical operator `OR`.
|
2810
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
2811
|
+
# * The operator must be `EQUALS (=)`.
|
2812
|
+
# * Supported fields:
|
2813
|
+
# - `assignedTargetingOptionId`
|
2814
|
+
# Examples:
|
2815
|
+
# * AssignedTargetingOption with ID 123456
|
2816
|
+
# `assignedTargetingOptionId="123456"`
|
2817
|
+
# The length of this field should be no more than 500 characters.
|
2818
|
+
# @param [String] order_by
|
2819
|
+
# Field by which to sort the list.
|
2820
|
+
# Acceptable values are:
|
2821
|
+
# * `assignedTargetingOptionId` (default)
|
2822
|
+
# The default sorting order is ascending. To specify descending order for
|
2823
|
+
# a field, a suffix "desc" should be added to the field name. Example:
|
2824
|
+
# `assignedTargetingOptionId desc`.
|
2825
|
+
# @param [Fixnum] page_size
|
2826
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
2827
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
2828
|
+
# is specified.
|
2829
|
+
# @param [String] page_token
|
2830
|
+
# A token identifying a page of results the server should return.
|
2831
|
+
# Typically, this is the value of
|
2832
|
+
# next_page_token
|
2833
|
+
# returned from the previous call to `ListAdvertiserAssignedTargetingOptions`
|
2834
|
+
# method. If not specified, the first page of results will be returned.
|
2835
|
+
# @param [String] fields
|
2836
|
+
# Selector specifying which fields to include in a partial response.
|
2837
|
+
# @param [String] quota_user
|
2838
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2839
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2840
|
+
# @param [Google::Apis::RequestOptions] options
|
2841
|
+
# Request-specific options
|
2842
|
+
#
|
2843
|
+
# @yield [result, err] Result & error if block supplied
|
2844
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse] parsed result object
|
2845
|
+
# @yieldparam err [StandardError] error object if request failed
|
2846
|
+
#
|
2847
|
+
# @return [Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse]
|
2848
|
+
#
|
2849
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2850
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2851
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2852
|
+
def list_advertiser_targeting_type_assigned_targeting_options(advertiser_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2853
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
2854
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse::Representation
|
2855
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse
|
2856
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2857
|
+
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
2858
|
+
command.query['filter'] = filter unless filter.nil?
|
2859
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2860
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2861
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2862
|
+
command.query['fields'] = fields unless fields.nil?
|
2863
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2864
|
+
execute_or_queue_command(command, &block)
|
2865
|
+
end
|
2866
|
+
|
2867
|
+
# Gets a combined audience.
|
2868
|
+
# @param [Fixnum] combined_audience_id
|
2869
|
+
# Required. The ID of the combined audience to fetch.
|
2870
|
+
# @param [Fixnum] advertiser_id
|
2871
|
+
# The ID of the advertiser that has access to the fetched combined
|
2872
|
+
# audience.
|
2873
|
+
# @param [Fixnum] partner_id
|
2874
|
+
# The ID of the partner that has access to the fetched combined audience.
|
2875
|
+
# @param [String] fields
|
2876
|
+
# Selector specifying which fields to include in a partial response.
|
2877
|
+
# @param [String] quota_user
|
2878
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2879
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2880
|
+
# @param [Google::Apis::RequestOptions] options
|
2881
|
+
# Request-specific options
|
2882
|
+
#
|
2883
|
+
# @yield [result, err] Result & error if block supplied
|
2884
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::CombinedAudience] parsed result object
|
2885
|
+
# @yieldparam err [StandardError] error object if request failed
|
2886
|
+
#
|
2887
|
+
# @return [Google::Apis::DisplayvideoV1::CombinedAudience]
|
2888
|
+
#
|
2889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2892
|
+
def get_combined_audience(combined_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2893
|
+
command = make_simple_command(:get, 'v1/combinedAudiences/{+combinedAudienceId}', options)
|
2894
|
+
command.response_representation = Google::Apis::DisplayvideoV1::CombinedAudience::Representation
|
2895
|
+
command.response_class = Google::Apis::DisplayvideoV1::CombinedAudience
|
2896
|
+
command.params['combinedAudienceId'] = combined_audience_id unless combined_audience_id.nil?
|
2897
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2898
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2899
|
+
command.query['fields'] = fields unless fields.nil?
|
2900
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2901
|
+
execute_or_queue_command(command, &block)
|
2902
|
+
end
|
2903
|
+
|
2904
|
+
# Lists combined audiences.
|
2905
|
+
# The order is defined by the
|
2906
|
+
# order_by parameter.
|
2907
|
+
# @param [Fixnum] advertiser_id
|
2908
|
+
# The ID of the advertiser that has access to the fetched combined
|
2909
|
+
# audiences.
|
2910
|
+
# @param [String] filter
|
2911
|
+
# Allows filtering by combined audience fields.
|
2912
|
+
# Supported syntax:
|
2913
|
+
# * Filter expressions for combined audiences currently can only contain at
|
2914
|
+
# most one restriction.
|
2915
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
2916
|
+
# * The operator must be `CONTAINS (:)`.
|
2917
|
+
# * Supported fields:
|
2918
|
+
# - `displayName`
|
2919
|
+
# Examples:
|
2920
|
+
# * All combined audiences for which the display name contains "Google":
|
2921
|
+
# `displayName : "Google"`.
|
2922
|
+
# The length of this field should be no more than 500 characters.
|
2923
|
+
# @param [String] order_by
|
2924
|
+
# Field by which to sort the list.
|
2925
|
+
# Acceptable values are:
|
2926
|
+
# * `combinedAudienceId` (default)
|
2927
|
+
# * `displayName`
|
2928
|
+
# The default sorting order is ascending. To specify descending order for
|
2929
|
+
# a field, a suffix "desc" should be added to the field name. Example:
|
2930
|
+
# `displayName desc`.
|
2931
|
+
# @param [Fixnum] page_size
|
2932
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
2933
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
2934
|
+
# is specified.
|
2935
|
+
# @param [String] page_token
|
2936
|
+
# A token identifying a page of results the server should return.
|
2937
|
+
# Typically, this is the value of
|
2938
|
+
# next_page_token
|
2939
|
+
# returned from the previous call to `ListCombinedAudiences` method.
|
2940
|
+
# If not specified, the first page of results will be returned.
|
2941
|
+
# @param [Fixnum] partner_id
|
2942
|
+
# The ID of the partner that has access to the fetched combined audiences.
|
2943
|
+
# @param [String] fields
|
2944
|
+
# Selector specifying which fields to include in a partial response.
|
2945
|
+
# @param [String] quota_user
|
2946
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2947
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2948
|
+
# @param [Google::Apis::RequestOptions] options
|
2949
|
+
# Request-specific options
|
2950
|
+
#
|
2951
|
+
# @yield [result, err] Result & error if block supplied
|
2952
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse] parsed result object
|
2953
|
+
# @yieldparam err [StandardError] error object if request failed
|
2954
|
+
#
|
2955
|
+
# @return [Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse]
|
2956
|
+
#
|
2957
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2958
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2959
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2960
|
+
def list_combined_audiences(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)
|
2961
|
+
command = make_simple_command(:get, 'v1/combinedAudiences', options)
|
2962
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse::Representation
|
2963
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse
|
2964
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2965
|
+
command.query['filter'] = filter unless filter.nil?
|
2966
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2967
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2968
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2969
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2970
|
+
command.query['fields'] = fields unless fields.nil?
|
2971
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2972
|
+
execute_or_queue_command(command, &block)
|
2973
|
+
end
|
2974
|
+
|
2975
|
+
# Gets a custom list.
|
2976
|
+
# @param [Fixnum] custom_list_id
|
2977
|
+
# Required. The ID of the custom list to fetch.
|
2978
|
+
# @param [Fixnum] advertiser_id
|
2979
|
+
# The ID of the DV360 advertiser that has access to the fetched custom
|
2980
|
+
# lists.
|
2981
|
+
# @param [String] fields
|
2982
|
+
# Selector specifying which fields to include in a partial response.
|
2983
|
+
# @param [String] quota_user
|
2984
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2985
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2986
|
+
# @param [Google::Apis::RequestOptions] options
|
2987
|
+
# Request-specific options
|
2988
|
+
#
|
2989
|
+
# @yield [result, err] Result & error if block supplied
|
2990
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::CustomList] parsed result object
|
2991
|
+
# @yieldparam err [StandardError] error object if request failed
|
2992
|
+
#
|
2993
|
+
# @return [Google::Apis::DisplayvideoV1::CustomList]
|
2994
|
+
#
|
2995
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2996
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2997
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2998
|
+
def get_custom_list(custom_list_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2999
|
+
command = make_simple_command(:get, 'v1/customLists/{+customListId}', options)
|
3000
|
+
command.response_representation = Google::Apis::DisplayvideoV1::CustomList::Representation
|
3001
|
+
command.response_class = Google::Apis::DisplayvideoV1::CustomList
|
3002
|
+
command.params['customListId'] = custom_list_id unless custom_list_id.nil?
|
3003
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
3004
|
+
command.query['fields'] = fields unless fields.nil?
|
3005
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3006
|
+
execute_or_queue_command(command, &block)
|
3007
|
+
end
|
3008
|
+
|
3009
|
+
# Lists custom lists.
|
3010
|
+
# The order is defined by the order_by
|
3011
|
+
# parameter.
|
3012
|
+
# @param [Fixnum] advertiser_id
|
3013
|
+
# The ID of the DV360 advertiser that has access to the fetched custom
|
3014
|
+
# lists.
|
3015
|
+
# @param [String] filter
|
3016
|
+
# Allows filtering by custom list fields.
|
3017
|
+
# Supported syntax:
|
3018
|
+
# * Filter expressions for custom lists currently can only contain at
|
3019
|
+
# most one restriction.
|
3020
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
3021
|
+
# * The operator must be `CONTAINS (:)`.
|
3022
|
+
# * Supported fields:
|
3023
|
+
# - `displayName`
|
3024
|
+
# Examples:
|
3025
|
+
# * All custom lists for which the display name contains "Google":
|
3026
|
+
# `displayName : "Google"`.
|
3027
|
+
# The length of this field should be no more than 500 characters.
|
3028
|
+
# @param [String] order_by
|
3029
|
+
# Field by which to sort the list.
|
3030
|
+
# Acceptable values are:
|
3031
|
+
# * `customListId` (default)
|
3032
|
+
# * `displayName`
|
3033
|
+
# The default sorting order is ascending. To specify descending order for
|
3034
|
+
# a field, a suffix "desc" should be added to the field name. Example:
|
3035
|
+
# `displayName desc`.
|
3036
|
+
# @param [Fixnum] page_size
|
3037
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
3038
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
3039
|
+
# is specified.
|
3040
|
+
# @param [String] page_token
|
3041
|
+
# A token identifying a page of results the server should return.
|
3042
|
+
# Typically, this is the value of
|
3043
|
+
# next_page_token
|
3044
|
+
# returned from the previous call to `ListCustomLists` method.
|
3045
|
+
# If not specified, the first page of results will be returned.
|
3046
|
+
# @param [String] fields
|
3047
|
+
# Selector specifying which fields to include in a partial response.
|
3048
|
+
# @param [String] quota_user
|
3049
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3050
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3051
|
+
# @param [Google::Apis::RequestOptions] options
|
3052
|
+
# Request-specific options
|
3053
|
+
#
|
3054
|
+
# @yield [result, err] Result & error if block supplied
|
3055
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListCustomListsResponse] parsed result object
|
3056
|
+
# @yieldparam err [StandardError] error object if request failed
|
3057
|
+
#
|
3058
|
+
# @return [Google::Apis::DisplayvideoV1::ListCustomListsResponse]
|
3059
|
+
#
|
3060
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3061
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3062
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3063
|
+
def list_custom_lists(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3064
|
+
command = make_simple_command(:get, 'v1/customLists', options)
|
3065
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListCustomListsResponse::Representation
|
3066
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListCustomListsResponse
|
3067
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
3068
|
+
command.query['filter'] = filter unless filter.nil?
|
3069
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3070
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3071
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3072
|
+
command.query['fields'] = fields unless fields.nil?
|
3073
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3074
|
+
execute_or_queue_command(command, &block)
|
3075
|
+
end
|
3076
|
+
|
3077
|
+
# Gets a first and third party audience.
|
3078
|
+
# @param [Fixnum] first_and_third_party_audience_id
|
3079
|
+
# Required. The ID of the first and third party audience to fetch.
|
3080
|
+
# @param [Fixnum] advertiser_id
|
3081
|
+
# The ID of the advertiser that has access to the fetched first and
|
3082
|
+
# third party audience.
|
3083
|
+
# @param [Fixnum] partner_id
|
3084
|
+
# The ID of the partner that has access to the fetched first and
|
3085
|
+
# third party audience.
|
3086
|
+
# @param [String] fields
|
3087
|
+
# Selector specifying which fields to include in a partial response.
|
3088
|
+
# @param [String] quota_user
|
3089
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3090
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3091
|
+
# @param [Google::Apis::RequestOptions] options
|
3092
|
+
# Request-specific options
|
3093
|
+
#
|
3094
|
+
# @yield [result, err] Result & error if block supplied
|
3095
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience] parsed result object
|
3096
|
+
# @yieldparam err [StandardError] error object if request failed
|
3097
|
+
#
|
3098
|
+
# @return [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience]
|
3099
|
+
#
|
3100
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3101
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3102
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3103
|
+
def get_first_and_third_party_audience(first_and_third_party_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3104
|
+
command = make_simple_command(:get, 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}', options)
|
3105
|
+
command.response_representation = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience::Representation
|
3106
|
+
command.response_class = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
|
3107
|
+
command.params['firstAndThirdPartyAudienceId'] = first_and_third_party_audience_id unless first_and_third_party_audience_id.nil?
|
3108
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
3109
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
3110
|
+
command.query['fields'] = fields unless fields.nil?
|
3111
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3112
|
+
execute_or_queue_command(command, &block)
|
3113
|
+
end
|
3114
|
+
|
3115
|
+
# Lists first and third party audiences.
|
3116
|
+
# The order is defined by the
|
3117
|
+
# order_by parameter.
|
3118
|
+
# @param [Fixnum] advertiser_id
|
3119
|
+
# The ID of the advertiser that has access to the fetched first and
|
3120
|
+
# third party audiences.
|
3121
|
+
# @param [String] filter
|
3122
|
+
# Allows filtering by first and third party audience fields.
|
3123
|
+
# Supported syntax:
|
3124
|
+
# * Filter expressions for first and third party audiences currently can
|
3125
|
+
# only contain at most one restriction.
|
3126
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
3127
|
+
# * The operator must be `CONTAINS (:)`.
|
3128
|
+
# * Supported fields:
|
3129
|
+
# - `displayName`
|
3130
|
+
# Examples:
|
3131
|
+
# * All first and third party audiences for which the display name contains
|
3132
|
+
# "Google": `displayName : "Google"`.
|
3133
|
+
# The length of this field should be no more than 500 characters.
|
3134
|
+
# @param [String] order_by
|
3135
|
+
# Field by which to sort the list.
|
3136
|
+
# Acceptable values are:
|
3137
|
+
# * `firstAndThirdPartyAudienceId` (default)
|
3138
|
+
# * `displayName`
|
3139
|
+
# The default sorting order is ascending. To specify descending order for
|
3140
|
+
# a field, a suffix "desc" should be added to the field name. Example:
|
3141
|
+
# `displayName desc`.
|
3142
|
+
# @param [Fixnum] page_size
|
3143
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
3144
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
3145
|
+
# is specified.
|
3146
|
+
# @param [String] page_token
|
3147
|
+
# A token identifying a page of results the server should return.
|
3148
|
+
# Typically, this is the value of
|
3149
|
+
# next_page_token
|
3150
|
+
# returned from the previous call to `ListFirstAndThirdPartyAudiences`
|
3151
|
+
# method. If not specified, the first page of results will be returned.
|
3152
|
+
# @param [Fixnum] partner_id
|
3153
|
+
# The ID of the partner that has access to the fetched first and
|
3154
|
+
# third party audiences.
|
3155
|
+
# @param [String] fields
|
3156
|
+
# Selector specifying which fields to include in a partial response.
|
3157
|
+
# @param [String] quota_user
|
3158
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3159
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3160
|
+
# @param [Google::Apis::RequestOptions] options
|
3161
|
+
# Request-specific options
|
3162
|
+
#
|
3163
|
+
# @yield [result, err] Result & error if block supplied
|
3164
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse] parsed result object
|
3165
|
+
# @yieldparam err [StandardError] error object if request failed
|
3166
|
+
#
|
3167
|
+
# @return [Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse]
|
3168
|
+
#
|
3169
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3170
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3171
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3172
|
+
def list_first_and_third_party_audiences(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)
|
3173
|
+
command = make_simple_command(:get, 'v1/firstAndThirdPartyAudiences', options)
|
3174
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse::Representation
|
3175
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse
|
3176
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
3177
|
+
command.query['filter'] = filter unless filter.nil?
|
3178
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3179
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3180
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3181
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
3182
|
+
command.query['fields'] = fields unless fields.nil?
|
3183
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3184
|
+
execute_or_queue_command(command, &block)
|
3185
|
+
end
|
3186
|
+
|
3187
|
+
# Gets a Floodlight group.
|
3188
|
+
# @param [Fixnum] floodlight_group_id
|
3189
|
+
# Required. The ID of the Floodlight group to fetch.
|
3190
|
+
# @param [Fixnum] partner_id
|
3191
|
+
# Required. The partner context by which the Floodlight group is being accessed.
|
3192
|
+
# @param [String] fields
|
3193
|
+
# Selector specifying which fields to include in a partial response.
|
3194
|
+
# @param [String] quota_user
|
3195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3197
|
+
# @param [Google::Apis::RequestOptions] options
|
3198
|
+
# Request-specific options
|
3199
|
+
#
|
3200
|
+
# @yield [result, err] Result & error if block supplied
|
3201
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::FloodlightGroup] parsed result object
|
3202
|
+
# @yieldparam err [StandardError] error object if request failed
|
3203
|
+
#
|
3204
|
+
# @return [Google::Apis::DisplayvideoV1::FloodlightGroup]
|
3205
|
+
#
|
3206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3209
|
+
def get_floodlight_group(floodlight_group_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3210
|
+
command = make_simple_command(:get, 'v1/floodlightGroups/{+floodlightGroupId}', options)
|
3211
|
+
command.response_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
|
3212
|
+
command.response_class = Google::Apis::DisplayvideoV1::FloodlightGroup
|
3213
|
+
command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
|
3214
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
3215
|
+
command.query['fields'] = fields unless fields.nil?
|
3216
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3217
|
+
execute_or_queue_command(command, &block)
|
3218
|
+
end
|
3219
|
+
|
3220
|
+
# Updates an existing Floodlight group.
|
3221
|
+
# Returns the updated Floodlight group if successful.
|
3222
|
+
# @param [Fixnum] floodlight_group_id
|
3223
|
+
# Output only. The unique ID of the Floodlight group. Assigned by the system.
|
3224
|
+
# @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
|
3225
|
+
# @param [Fixnum] partner_id
|
3226
|
+
# Required. The partner context by which the Floodlight group is being accessed.
|
3227
|
+
# @param [String] update_mask
|
3228
|
+
# Required. The mask to control which fields to update.
|
3229
|
+
# @param [String] fields
|
3230
|
+
# Selector specifying which fields to include in a partial response.
|
3231
|
+
# @param [String] quota_user
|
3232
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3233
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3234
|
+
# @param [Google::Apis::RequestOptions] options
|
3235
|
+
# Request-specific options
|
3236
|
+
#
|
3237
|
+
# @yield [result, err] Result & error if block supplied
|
3238
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::FloodlightGroup] parsed result object
|
3239
|
+
# @yieldparam err [StandardError] error object if request failed
|
3240
|
+
#
|
3241
|
+
# @return [Google::Apis::DisplayvideoV1::FloodlightGroup]
|
3242
|
+
#
|
3243
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3244
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3245
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3246
|
+
def patch_floodlight_group(floodlight_group_id, floodlight_group_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3247
|
+
command = make_simple_command(:patch, 'v1/floodlightGroups/{floodlightGroupId}', options)
|
3248
|
+
command.request_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
|
3249
|
+
command.request_object = floodlight_group_object
|
3250
|
+
command.response_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
|
3251
|
+
command.response_class = Google::Apis::DisplayvideoV1::FloodlightGroup
|
3252
|
+
command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
|
3253
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
3254
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3255
|
+
command.query['fields'] = fields unless fields.nil?
|
3256
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3257
|
+
execute_or_queue_command(command, &block)
|
3258
|
+
end
|
3259
|
+
|
3260
|
+
# Gets a Google audience.
|
3261
|
+
# @param [Fixnum] google_audience_id
|
3262
|
+
# Required. The ID of the Google audience to fetch.
|
3263
|
+
# @param [Fixnum] advertiser_id
|
3264
|
+
# The ID of the advertiser that has access to the fetched Google audience.
|
3265
|
+
# @param [Fixnum] partner_id
|
3266
|
+
# The ID of the partner that has access to the fetched Google audience.
|
3267
|
+
# @param [String] fields
|
3268
|
+
# Selector specifying which fields to include in a partial response.
|
3269
|
+
# @param [String] quota_user
|
3270
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3271
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3272
|
+
# @param [Google::Apis::RequestOptions] options
|
3273
|
+
# Request-specific options
|
3274
|
+
#
|
3275
|
+
# @yield [result, err] Result & error if block supplied
|
3276
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::GoogleAudience] parsed result object
|
3277
|
+
# @yieldparam err [StandardError] error object if request failed
|
3278
|
+
#
|
3279
|
+
# @return [Google::Apis::DisplayvideoV1::GoogleAudience]
|
3280
|
+
#
|
3281
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3282
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3283
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3284
|
+
def get_google_audience(google_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3285
|
+
command = make_simple_command(:get, 'v1/googleAudiences/{+googleAudienceId}', options)
|
3286
|
+
command.response_representation = Google::Apis::DisplayvideoV1::GoogleAudience::Representation
|
3287
|
+
command.response_class = Google::Apis::DisplayvideoV1::GoogleAudience
|
3288
|
+
command.params['googleAudienceId'] = google_audience_id unless google_audience_id.nil?
|
3289
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
3290
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
3291
|
+
command.query['fields'] = fields unless fields.nil?
|
3292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3293
|
+
execute_or_queue_command(command, &block)
|
3294
|
+
end
|
3295
|
+
|
3296
|
+
# Lists Google audiences.
|
3297
|
+
# The order is defined by the order_by
|
3298
|
+
# parameter.
|
3299
|
+
# @param [Fixnum] advertiser_id
|
3300
|
+
# The ID of the advertiser that has access to the fetched Google audiences.
|
2046
3301
|
# @param [String] filter
|
2047
|
-
# Allows filtering by
|
3302
|
+
# Allows filtering by Google audience fields.
|
2048
3303
|
# Supported syntax:
|
2049
|
-
# * Filter expressions for
|
2050
|
-
#
|
3304
|
+
# * Filter expressions for Google audiences currently can only contain at
|
3305
|
+
# most one restriction.
|
2051
3306
|
# * A restriction has the form of ``field` `operator` `value``.
|
2052
3307
|
# * The operator must be `CONTAINS (:)`.
|
2053
3308
|
# * Supported fields:
|
2054
3309
|
# - `displayName`
|
2055
3310
|
# Examples:
|
2056
|
-
# * All
|
2057
|
-
#
|
3311
|
+
# * All Google audiences for which the display name contains "Google":
|
3312
|
+
# `displayName : "Google"`.
|
2058
3313
|
# The length of this field should be no more than 500 characters.
|
2059
3314
|
# @param [String] order_by
|
2060
3315
|
# Field by which to sort the list.
|
2061
3316
|
# Acceptable values are:
|
2062
|
-
# * `
|
3317
|
+
# * `googleAudienceId` (default)
|
2063
3318
|
# * `displayName`
|
2064
3319
|
# The default sorting order is ascending. To specify descending order for
|
2065
3320
|
# a field, a suffix "desc" should be added to the field name. Example:
|
@@ -2072,11 +3327,10 @@ module Google
|
|
2072
3327
|
# A token identifying a page of results the server should return.
|
2073
3328
|
# Typically, this is the value of
|
2074
3329
|
# next_page_token
|
2075
|
-
# returned from the previous call to `
|
2076
|
-
#
|
3330
|
+
# returned from the previous call to `ListGoogleAudiences` method.
|
3331
|
+
# If not specified, the first page of results will be returned.
|
2077
3332
|
# @param [Fixnum] partner_id
|
2078
|
-
# The ID of the partner that has access to the fetched
|
2079
|
-
# third party audiences.
|
3333
|
+
# The ID of the partner that has access to the fetched Google audiences.
|
2080
3334
|
# @param [String] fields
|
2081
3335
|
# Selector specifying which fields to include in a partial response.
|
2082
3336
|
# @param [String] quota_user
|
@@ -2086,18 +3340,18 @@ module Google
|
|
2086
3340
|
# Request-specific options
|
2087
3341
|
#
|
2088
3342
|
# @yield [result, err] Result & error if block supplied
|
2089
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
3343
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse] parsed result object
|
2090
3344
|
# @yieldparam err [StandardError] error object if request failed
|
2091
3345
|
#
|
2092
|
-
# @return [Google::Apis::DisplayvideoV1::
|
3346
|
+
# @return [Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse]
|
2093
3347
|
#
|
2094
3348
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2095
3349
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2096
3350
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2097
|
-
def
|
2098
|
-
command = make_simple_command(:get, 'v1/
|
2099
|
-
command.response_representation = Google::Apis::DisplayvideoV1::
|
2100
|
-
command.response_class = Google::Apis::DisplayvideoV1::
|
3351
|
+
def list_google_audiences(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)
|
3352
|
+
command = make_simple_command(:get, 'v1/googleAudiences', options)
|
3353
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse::Representation
|
3354
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse
|
2101
3355
|
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2102
3356
|
command.query['filter'] = filter unless filter.nil?
|
2103
3357
|
command.query['orderBy'] = order_by unless order_by.nil?
|
@@ -2109,11 +3363,17 @@ module Google
|
|
2109
3363
|
execute_or_queue_command(command, &block)
|
2110
3364
|
end
|
2111
3365
|
|
2112
|
-
#
|
2113
|
-
#
|
2114
|
-
#
|
3366
|
+
# Creates a new inventory source group. Returns the newly created inventory
|
3367
|
+
# source group if successful.
|
3368
|
+
# @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
|
3369
|
+
# @param [Fixnum] advertiser_id
|
3370
|
+
# The ID of the advertiser that owns the inventory source group.
|
3371
|
+
# The parent partner will not have access to this group.
|
2115
3372
|
# @param [Fixnum] partner_id
|
2116
|
-
#
|
3373
|
+
# The ID of the partner that owns the inventory source group.
|
3374
|
+
# Only this partner will have write access to this group. Only advertisers
|
3375
|
+
# to which this group is explicitly shared will have read access to this
|
3376
|
+
# group.
|
2117
3377
|
# @param [String] fields
|
2118
3378
|
# Selector specifying which fields to include in a partial response.
|
2119
3379
|
# @param [String] quota_user
|
@@ -2123,34 +3383,36 @@ module Google
|
|
2123
3383
|
# Request-specific options
|
2124
3384
|
#
|
2125
3385
|
# @yield [result, err] Result & error if block supplied
|
2126
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
3386
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::InventorySourceGroup] parsed result object
|
2127
3387
|
# @yieldparam err [StandardError] error object if request failed
|
2128
3388
|
#
|
2129
|
-
# @return [Google::Apis::DisplayvideoV1::
|
3389
|
+
# @return [Google::Apis::DisplayvideoV1::InventorySourceGroup]
|
2130
3390
|
#
|
2131
3391
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2132
3392
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2133
3393
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2134
|
-
def
|
2135
|
-
command = make_simple_command(:
|
2136
|
-
command.
|
2137
|
-
command.
|
2138
|
-
command.
|
3394
|
+
def create_inventory_source_group(inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3395
|
+
command = make_simple_command(:post, 'v1/inventorySourceGroups', options)
|
3396
|
+
command.request_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
|
3397
|
+
command.request_object = inventory_source_group_object
|
3398
|
+
command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
|
3399
|
+
command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup
|
3400
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2139
3401
|
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2140
3402
|
command.query['fields'] = fields unless fields.nil?
|
2141
3403
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2142
3404
|
execute_or_queue_command(command, &block)
|
2143
3405
|
end
|
2144
3406
|
|
2145
|
-
#
|
2146
|
-
#
|
2147
|
-
#
|
2148
|
-
#
|
2149
|
-
#
|
3407
|
+
# Deletes an inventory source group.
|
3408
|
+
# @param [Fixnum] inventory_source_group_id
|
3409
|
+
# Required. The ID of the inventory source group to delete.
|
3410
|
+
# @param [Fixnum] advertiser_id
|
3411
|
+
# The ID of the advertiser that owns the inventory source group.
|
3412
|
+
# The parent partner does not have access to this group.
|
2150
3413
|
# @param [Fixnum] partner_id
|
2151
|
-
#
|
2152
|
-
#
|
2153
|
-
# Required. The mask to control which fields to update.
|
3414
|
+
# The ID of the partner that owns the inventory source group.
|
3415
|
+
# Only this partner has write access to this group.
|
2154
3416
|
# @param [String] fields
|
2155
3417
|
# Selector specifying which fields to include in a partial response.
|
2156
3418
|
# @param [String] quota_user
|
@@ -2160,35 +3422,36 @@ module Google
|
|
2160
3422
|
# Request-specific options
|
2161
3423
|
#
|
2162
3424
|
# @yield [result, err] Result & error if block supplied
|
2163
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
3425
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
2164
3426
|
# @yieldparam err [StandardError] error object if request failed
|
2165
3427
|
#
|
2166
|
-
# @return [Google::Apis::DisplayvideoV1::
|
3428
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
2167
3429
|
#
|
2168
3430
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2169
3431
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2170
3432
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2171
|
-
def
|
2172
|
-
command = make_simple_command(:
|
2173
|
-
command.
|
2174
|
-
command.
|
2175
|
-
command.
|
2176
|
-
command.
|
2177
|
-
command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
|
3433
|
+
def delete_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3434
|
+
command = make_simple_command(:delete, 'v1/inventorySourceGroups/{+inventorySourceGroupId}', options)
|
3435
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
3436
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
3437
|
+
command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
|
3438
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2178
3439
|
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2179
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2180
3440
|
command.query['fields'] = fields unless fields.nil?
|
2181
3441
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2182
3442
|
execute_or_queue_command(command, &block)
|
2183
3443
|
end
|
2184
3444
|
|
2185
|
-
# Gets
|
2186
|
-
# @param [Fixnum]
|
2187
|
-
# Required. The ID of the
|
3445
|
+
# Gets an inventory source group.
|
3446
|
+
# @param [Fixnum] inventory_source_group_id
|
3447
|
+
# Required. The ID of the inventory source group to fetch.
|
2188
3448
|
# @param [Fixnum] advertiser_id
|
2189
|
-
# The ID of the advertiser that has access to the
|
3449
|
+
# The ID of the advertiser that has access to the inventory source group.
|
3450
|
+
# If an inventory source group is partner-owned, only advertisers to which
|
3451
|
+
# the group is explicitly shared can access the group.
|
2190
3452
|
# @param [Fixnum] partner_id
|
2191
|
-
# The ID of the partner that has access to the
|
3453
|
+
# The ID of the partner that has access to the inventory source group.
|
3454
|
+
# A partner cannot access an advertiser-owned inventory source group.
|
2192
3455
|
# @param [String] fields
|
2193
3456
|
# Selector specifying which fields to include in a partial response.
|
2194
3457
|
# @param [String] quota_user
|
@@ -2198,19 +3461,19 @@ module Google
|
|
2198
3461
|
# Request-specific options
|
2199
3462
|
#
|
2200
3463
|
# @yield [result, err] Result & error if block supplied
|
2201
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
3464
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::InventorySourceGroup] parsed result object
|
2202
3465
|
# @yieldparam err [StandardError] error object if request failed
|
2203
3466
|
#
|
2204
|
-
# @return [Google::Apis::DisplayvideoV1::
|
3467
|
+
# @return [Google::Apis::DisplayvideoV1::InventorySourceGroup]
|
2205
3468
|
#
|
2206
3469
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2207
3470
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2208
3471
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2209
|
-
def
|
2210
|
-
command = make_simple_command(:get, 'v1/
|
2211
|
-
command.response_representation = Google::Apis::DisplayvideoV1::
|
2212
|
-
command.response_class = Google::Apis::DisplayvideoV1::
|
2213
|
-
command.params['
|
3472
|
+
def get_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3473
|
+
command = make_simple_command(:get, 'v1/inventorySourceGroups/{+inventorySourceGroupId}', options)
|
3474
|
+
command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
|
3475
|
+
command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup
|
3476
|
+
command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
|
2214
3477
|
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2215
3478
|
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2216
3479
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2218,44 +3481,174 @@ module Google
|
|
2218
3481
|
execute_or_queue_command(command, &block)
|
2219
3482
|
end
|
2220
3483
|
|
2221
|
-
# Lists
|
2222
|
-
# The order is defined by the
|
2223
|
-
# parameter.
|
3484
|
+
# Lists inventory source groups that are accessible to the current user.
|
3485
|
+
# The order is defined by the
|
3486
|
+
# order_by parameter.
|
3487
|
+
# @param [Fixnum] advertiser_id
|
3488
|
+
# The ID of the advertiser that has access to the inventory source group.
|
3489
|
+
# If an inventory source group is partner-owned, only advertisers to which
|
3490
|
+
# the group is explicitly shared can access the group.
|
3491
|
+
# @param [String] filter
|
3492
|
+
# Allows filtering by inventory source group properties.
|
3493
|
+
# Supported syntax:
|
3494
|
+
# * Filter expressions are made up of one or more restrictions.
|
3495
|
+
# * Restrictions can be combined by the logical operator `OR`.
|
3496
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
3497
|
+
# * The operator must be `EQUALS (=)`.
|
3498
|
+
# * Supported fields:
|
3499
|
+
# - `inventorySourceGroupId`
|
3500
|
+
# The length of this field should be no more than 500 characters.
|
3501
|
+
# @param [String] order_by
|
3502
|
+
# Field by which to sort the list.
|
3503
|
+
# Acceptable values are:
|
3504
|
+
# * `displayName` (default)
|
3505
|
+
# * `inventorySourceGroupId`
|
3506
|
+
# The default sorting order is ascending. To specify descending order for
|
3507
|
+
# a field, a suffix "desc" should be added to the field name. For example,
|
3508
|
+
# `displayName desc`.
|
3509
|
+
# @param [Fixnum] page_size
|
3510
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
3511
|
+
# default to `100`.
|
3512
|
+
# @param [String] page_token
|
3513
|
+
# A token identifying a page of results the server should return.
|
3514
|
+
# Typically, this is the value of
|
3515
|
+
# next_page_token
|
3516
|
+
# returned from the previous call to `ListInventorySources` method.
|
3517
|
+
# If not specified, the first page of results will be returned.
|
3518
|
+
# @param [Fixnum] partner_id
|
3519
|
+
# The ID of the partner that has access to the inventory source group.
|
3520
|
+
# A partner cannot access advertiser-owned inventory source groups.
|
3521
|
+
# @param [String] fields
|
3522
|
+
# Selector specifying which fields to include in a partial response.
|
3523
|
+
# @param [String] quota_user
|
3524
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3525
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3526
|
+
# @param [Google::Apis::RequestOptions] options
|
3527
|
+
# Request-specific options
|
3528
|
+
#
|
3529
|
+
# @yield [result, err] Result & error if block supplied
|
3530
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse] parsed result object
|
3531
|
+
# @yieldparam err [StandardError] error object if request failed
|
3532
|
+
#
|
3533
|
+
# @return [Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse]
|
3534
|
+
#
|
3535
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3536
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3537
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3538
|
+
def list_inventory_source_groups(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)
|
3539
|
+
command = make_simple_command(:get, 'v1/inventorySourceGroups', options)
|
3540
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse::Representation
|
3541
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse
|
3542
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
3543
|
+
command.query['filter'] = filter unless filter.nil?
|
3544
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3545
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3546
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3547
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
3548
|
+
command.query['fields'] = fields unless fields.nil?
|
3549
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3550
|
+
execute_or_queue_command(command, &block)
|
3551
|
+
end
|
3552
|
+
|
3553
|
+
# Updates an inventory source group. Returns the updated inventory source
|
3554
|
+
# group if successful.
|
3555
|
+
# @param [Fixnum] inventory_source_group_id
|
3556
|
+
# Output only. The unique ID of the inventory source group. Assigned by the
|
3557
|
+
# system.
|
3558
|
+
# @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
|
3559
|
+
# @param [Fixnum] advertiser_id
|
3560
|
+
# The ID of the advertiser that owns the inventory source group.
|
3561
|
+
# The parent partner does not have access to this group.
|
3562
|
+
# @param [Fixnum] partner_id
|
3563
|
+
# The ID of the partner that owns the inventory source group.
|
3564
|
+
# Only this partner has write access to this group.
|
3565
|
+
# @param [String] update_mask
|
3566
|
+
# Required. The mask to control which fields to update.
|
3567
|
+
# @param [String] fields
|
3568
|
+
# Selector specifying which fields to include in a partial response.
|
3569
|
+
# @param [String] quota_user
|
3570
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3571
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3572
|
+
# @param [Google::Apis::RequestOptions] options
|
3573
|
+
# Request-specific options
|
3574
|
+
#
|
3575
|
+
# @yield [result, err] Result & error if block supplied
|
3576
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::InventorySourceGroup] parsed result object
|
3577
|
+
# @yieldparam err [StandardError] error object if request failed
|
3578
|
+
#
|
3579
|
+
# @return [Google::Apis::DisplayvideoV1::InventorySourceGroup]
|
3580
|
+
#
|
3581
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3582
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3583
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3584
|
+
def patch_inventory_source_group(inventory_source_group_id, inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3585
|
+
command = make_simple_command(:patch, 'v1/inventorySourceGroups/{inventorySourceGroupId}', options)
|
3586
|
+
command.request_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
|
3587
|
+
command.request_object = inventory_source_group_object
|
3588
|
+
command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
|
3589
|
+
command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup
|
3590
|
+
command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
|
3591
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
3592
|
+
command.query['partnerId'] = partner_id unless partner_id.nil?
|
3593
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3594
|
+
command.query['fields'] = fields unless fields.nil?
|
3595
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3596
|
+
execute_or_queue_command(command, &block)
|
3597
|
+
end
|
3598
|
+
|
3599
|
+
# Bulk edits multiple assignments between inventory sources and a single
|
3600
|
+
# inventory source group.
|
3601
|
+
# The operation will delete the assigned inventory sources provided in
|
3602
|
+
# BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources
|
3603
|
+
# and then create the assigned inventory sources provided in
|
3604
|
+
# BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
|
3605
|
+
# @param [Fixnum] inventory_source_group_id
|
3606
|
+
# Required. The ID of the inventory source group to which the assignments are
|
3607
|
+
# assigned.
|
3608
|
+
# @param [Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesRequest] bulk_edit_assigned_inventory_sources_request_object
|
3609
|
+
# @param [String] fields
|
3610
|
+
# Selector specifying which fields to include in a partial response.
|
3611
|
+
# @param [String] quota_user
|
3612
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3613
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3614
|
+
# @param [Google::Apis::RequestOptions] options
|
3615
|
+
# Request-specific options
|
3616
|
+
#
|
3617
|
+
# @yield [result, err] Result & error if block supplied
|
3618
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse] parsed result object
|
3619
|
+
# @yieldparam err [StandardError] error object if request failed
|
3620
|
+
#
|
3621
|
+
# @return [Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse]
|
3622
|
+
#
|
3623
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3624
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3625
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3626
|
+
def bulk_edit_assigned_inventory_sources(inventory_source_group_id, bulk_edit_assigned_inventory_sources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3627
|
+
command = make_simple_command(:post, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit', options)
|
3628
|
+
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesRequest::Representation
|
3629
|
+
command.request_object = bulk_edit_assigned_inventory_sources_request_object
|
3630
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse::Representation
|
3631
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse
|
3632
|
+
command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
|
3633
|
+
command.query['fields'] = fields unless fields.nil?
|
3634
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3635
|
+
execute_or_queue_command(command, &block)
|
3636
|
+
end
|
3637
|
+
|
3638
|
+
# Creates an assignment between an inventory source and an inventory source
|
3639
|
+
# group.
|
3640
|
+
# @param [Fixnum] inventory_source_group_id
|
3641
|
+
# Required. The ID of the inventory source group to which the assignment will be
|
3642
|
+
# assigned.
|
3643
|
+
# @param [Google::Apis::DisplayvideoV1::AssignedInventorySource] assigned_inventory_source_object
|
2224
3644
|
# @param [Fixnum] advertiser_id
|
2225
|
-
# The ID of the advertiser that
|
2226
|
-
#
|
2227
|
-
#
|
2228
|
-
# Supported syntax:
|
2229
|
-
# * Filter expressions for Google audiences currently can only contain at
|
2230
|
-
# most one restriction.
|
2231
|
-
# * A restriction has the form of ``field` `operator` `value``.
|
2232
|
-
# * The operator must be `CONTAINS (:)`.
|
2233
|
-
# * Supported fields:
|
2234
|
-
# - `displayName`
|
2235
|
-
# Examples:
|
2236
|
-
# * All Google audiences for which the display name contains "Google":
|
2237
|
-
# `displayName : "Google"`.
|
2238
|
-
# The length of this field should be no more than 500 characters.
|
2239
|
-
# @param [String] order_by
|
2240
|
-
# Field by which to sort the list.
|
2241
|
-
# Acceptable values are:
|
2242
|
-
# * `googleAudienceId` (default)
|
2243
|
-
# * `displayName`
|
2244
|
-
# The default sorting order is ascending. To specify descending order for
|
2245
|
-
# a field, a suffix "desc" should be added to the field name. Example:
|
2246
|
-
# `displayName desc`.
|
2247
|
-
# @param [Fixnum] page_size
|
2248
|
-
# Requested page size. Must be between `1` and `100`. If unspecified will
|
2249
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
2250
|
-
# is specified.
|
2251
|
-
# @param [String] page_token
|
2252
|
-
# A token identifying a page of results the server should return.
|
2253
|
-
# Typically, this is the value of
|
2254
|
-
# next_page_token
|
2255
|
-
# returned from the previous call to `ListGoogleAudiences` method.
|
2256
|
-
# If not specified, the first page of results will be returned.
|
3645
|
+
# The ID of the advertiser that owns the parent inventory source group.
|
3646
|
+
# The parent partner will not have access to this assigned inventory
|
3647
|
+
# source.
|
2257
3648
|
# @param [Fixnum] partner_id
|
2258
|
-
# The ID of the partner that
|
3649
|
+
# The ID of the partner that owns the parent inventory source group.
|
3650
|
+
# Only this partner will have write access to this assigned inventory
|
3651
|
+
# source.
|
2259
3652
|
# @param [String] fields
|
2260
3653
|
# Selector specifying which fields to include in a partial response.
|
2261
3654
|
# @param [String] quota_user
|
@@ -2265,39 +3658,42 @@ module Google
|
|
2265
3658
|
# Request-specific options
|
2266
3659
|
#
|
2267
3660
|
# @yield [result, err] Result & error if block supplied
|
2268
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
3661
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::AssignedInventorySource] parsed result object
|
2269
3662
|
# @yieldparam err [StandardError] error object if request failed
|
2270
3663
|
#
|
2271
|
-
# @return [Google::Apis::DisplayvideoV1::
|
3664
|
+
# @return [Google::Apis::DisplayvideoV1::AssignedInventorySource]
|
2272
3665
|
#
|
2273
3666
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2274
3667
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2275
3668
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2276
|
-
def
|
2277
|
-
command = make_simple_command(:
|
2278
|
-
command.
|
2279
|
-
command.
|
3669
|
+
def create_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3670
|
+
command = make_simple_command(:post, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources', options)
|
3671
|
+
command.request_representation = Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
|
3672
|
+
command.request_object = assigned_inventory_source_object
|
3673
|
+
command.response_representation = Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
|
3674
|
+
command.response_class = Google::Apis::DisplayvideoV1::AssignedInventorySource
|
3675
|
+
command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
|
2280
3676
|
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2281
|
-
command.query['filter'] = filter unless filter.nil?
|
2282
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
2283
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2284
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2285
3677
|
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2286
3678
|
command.query['fields'] = fields unless fields.nil?
|
2287
3679
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2288
3680
|
execute_or_queue_command(command, &block)
|
2289
3681
|
end
|
2290
3682
|
|
2291
|
-
#
|
3683
|
+
# Deletes the assignment between an inventory source and an inventory source
|
3684
|
+
# group.
|
2292
3685
|
# @param [Fixnum] inventory_source_group_id
|
2293
|
-
# Required. The ID of the inventory source group to
|
3686
|
+
# Required. The ID of the inventory source group to which this assignment is
|
3687
|
+
# assigned.
|
3688
|
+
# @param [Fixnum] assigned_inventory_source_id
|
3689
|
+
# Required. The ID of the assigned inventory source to delete.
|
2294
3690
|
# @param [Fixnum] advertiser_id
|
2295
|
-
# The ID of the advertiser that
|
2296
|
-
#
|
2297
|
-
#
|
3691
|
+
# The ID of the advertiser that owns the parent inventory source group.
|
3692
|
+
# The parent partner does not have access to this assigned inventory
|
3693
|
+
# source.
|
2298
3694
|
# @param [Fixnum] partner_id
|
2299
|
-
# The ID of the partner that
|
2300
|
-
#
|
3695
|
+
# The ID of the partner that owns the parent inventory source group.
|
3696
|
+
# Only this partner has write access to this assigned inventory source.
|
2301
3697
|
# @param [String] fields
|
2302
3698
|
# Selector specifying which fields to include in a partial response.
|
2303
3699
|
# @param [String] quota_user
|
@@ -2307,19 +3703,20 @@ module Google
|
|
2307
3703
|
# Request-specific options
|
2308
3704
|
#
|
2309
3705
|
# @yield [result, err] Result & error if block supplied
|
2310
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
3706
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
2311
3707
|
# @yieldparam err [StandardError] error object if request failed
|
2312
3708
|
#
|
2313
|
-
# @return [Google::Apis::DisplayvideoV1::
|
3709
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
2314
3710
|
#
|
2315
3711
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2316
3712
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2317
3713
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2318
|
-
def
|
2319
|
-
command = make_simple_command(:
|
2320
|
-
command.response_representation = Google::Apis::DisplayvideoV1::
|
2321
|
-
command.response_class = Google::Apis::DisplayvideoV1::
|
3714
|
+
def delete_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3715
|
+
command = make_simple_command(:delete, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}', options)
|
3716
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
3717
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
2322
3718
|
command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
|
3719
|
+
command.params['assignedInventorySourceId'] = assigned_inventory_source_id unless assigned_inventory_source_id.nil?
|
2323
3720
|
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2324
3721
|
command.query['partnerId'] = partner_id unless partner_id.nil?
|
2325
3722
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2327,43 +3724,46 @@ module Google
|
|
2327
3724
|
execute_or_queue_command(command, &block)
|
2328
3725
|
end
|
2329
3726
|
|
2330
|
-
# Lists inventory
|
2331
|
-
#
|
2332
|
-
#
|
3727
|
+
# Lists inventory sources assigned to an inventory source group.
|
3728
|
+
# @param [Fixnum] inventory_source_group_id
|
3729
|
+
# Required. The ID of the inventory source group to which these assignments are
|
3730
|
+
# assigned.
|
2333
3731
|
# @param [Fixnum] advertiser_id
|
2334
|
-
# The ID of the advertiser that has access to the
|
2335
|
-
# If
|
2336
|
-
# the group is explicitly shared can access the
|
3732
|
+
# The ID of the advertiser that has access to the assignment.
|
3733
|
+
# If the parent inventory source group is partner-owned, only advertisers
|
3734
|
+
# to which the parent group is explicitly shared can access the assigned
|
3735
|
+
# inventory source.
|
2337
3736
|
# @param [String] filter
|
2338
|
-
# Allows filtering by inventory source
|
3737
|
+
# Allows filtering by assigned inventory source fields.
|
2339
3738
|
# Supported syntax:
|
2340
3739
|
# * Filter expressions are made up of one or more restrictions.
|
2341
3740
|
# * Restrictions can be combined by the logical operator `OR`.
|
2342
3741
|
# * A restriction has the form of ``field` `operator` `value``.
|
2343
3742
|
# * The operator must be `EQUALS (=)`.
|
2344
3743
|
# * Supported fields:
|
2345
|
-
# - `
|
3744
|
+
# - `assignedInventorySourceId`
|
2346
3745
|
# The length of this field should be no more than 500 characters.
|
2347
3746
|
# @param [String] order_by
|
2348
3747
|
# Field by which to sort the list.
|
2349
3748
|
# Acceptable values are:
|
2350
|
-
# * `
|
2351
|
-
#
|
2352
|
-
#
|
2353
|
-
#
|
2354
|
-
# `displayName desc`.
|
3749
|
+
# * `assignedInventorySourceId` (default)
|
3750
|
+
# The default sorting order is ascending. To specify descending order for a
|
3751
|
+
# field, a suffix " desc" should be added to the field name. Example:
|
3752
|
+
# `assignedInventorySourceId desc`.
|
2355
3753
|
# @param [Fixnum] page_size
|
2356
3754
|
# Requested page size. Must be between `1` and `100`. If unspecified will
|
2357
|
-
# default to `100`.
|
3755
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
3756
|
+
# is specified.
|
2358
3757
|
# @param [String] page_token
|
2359
3758
|
# A token identifying a page of results the server should return.
|
2360
3759
|
# Typically, this is the value of
|
2361
3760
|
# next_page_token
|
2362
|
-
# returned from the previous call to `
|
2363
|
-
# If not specified, the first page of results will be returned.
|
3761
|
+
# returned from the previous call to `ListAssignedInventorySources`
|
3762
|
+
# method. If not specified, the first page of results will be returned.
|
2364
3763
|
# @param [Fixnum] partner_id
|
2365
|
-
# The ID of the partner that has access to the
|
2366
|
-
#
|
3764
|
+
# The ID of the partner that has access to the assignment.
|
3765
|
+
# If the parent inventory source group is advertiser-owned, the assignment
|
3766
|
+
# cannot be accessed via a partner.
|
2367
3767
|
# @param [String] fields
|
2368
3768
|
# Selector specifying which fields to include in a partial response.
|
2369
3769
|
# @param [String] quota_user
|
@@ -2373,18 +3773,19 @@ module Google
|
|
2373
3773
|
# Request-specific options
|
2374
3774
|
#
|
2375
3775
|
# @yield [result, err] Result & error if block supplied
|
2376
|
-
# @yieldparam result [Google::Apis::DisplayvideoV1::
|
3776
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse] parsed result object
|
2377
3777
|
# @yieldparam err [StandardError] error object if request failed
|
2378
3778
|
#
|
2379
|
-
# @return [Google::Apis::DisplayvideoV1::
|
3779
|
+
# @return [Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse]
|
2380
3780
|
#
|
2381
3781
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2382
3782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2383
3783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2384
|
-
def
|
2385
|
-
command = make_simple_command(:get, 'v1/inventorySourceGroups', options)
|
2386
|
-
command.response_representation = Google::Apis::DisplayvideoV1::
|
2387
|
-
command.response_class = Google::Apis::DisplayvideoV1::
|
3784
|
+
def list_inventory_source_group_assigned_inventory_sources(inventory_source_group_id, 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)
|
3785
|
+
command = make_simple_command(:get, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources', options)
|
3786
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse::Representation
|
3787
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse
|
3788
|
+
command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
|
2388
3789
|
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
2389
3790
|
command.query['filter'] = filter unless filter.nil?
|
2390
3791
|
command.query['orderBy'] = order_by unless order_by.nil?
|
@@ -2550,6 +3951,8 @@ module Google
|
|
2550
3951
|
execute_or_queue_command(command, &block)
|
2551
3952
|
end
|
2552
3953
|
|
3954
|
+
# Updates an existing inventory source.
|
3955
|
+
# Returns the updated inventory source if successful.
|
2553
3956
|
# Gets a channel for a partner or advertiser.
|
2554
3957
|
# @param [Fixnum] partner_id
|
2555
3958
|
# The ID of the partner that owns the fetched channel.
|
@@ -2654,6 +4057,234 @@ module Google
|
|
2654
4057
|
execute_or_queue_command(command, &block)
|
2655
4058
|
end
|
2656
4059
|
|
4060
|
+
# Updates a channel. Returns the updated channel if successful.
|
4061
|
+
# @param [Fixnum] partner_id
|
4062
|
+
# The ID of the partner that owns the created channel.
|
4063
|
+
# @param [Fixnum] channel_id
|
4064
|
+
# Output only. The unique ID of the channel. Assigned by the system.
|
4065
|
+
# @param [Google::Apis::DisplayvideoV1::Channel] channel_object
|
4066
|
+
# @param [Fixnum] advertiser_id
|
4067
|
+
# The ID of the advertiser that owns the created channel.
|
4068
|
+
# @param [String] update_mask
|
4069
|
+
# Required. The mask to control which fields to update.
|
4070
|
+
# @param [String] fields
|
4071
|
+
# Selector specifying which fields to include in a partial response.
|
4072
|
+
# @param [String] quota_user
|
4073
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4074
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4075
|
+
# @param [Google::Apis::RequestOptions] options
|
4076
|
+
# Request-specific options
|
4077
|
+
#
|
4078
|
+
# @yield [result, err] Result & error if block supplied
|
4079
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Channel] parsed result object
|
4080
|
+
# @yieldparam err [StandardError] error object if request failed
|
4081
|
+
#
|
4082
|
+
# @return [Google::Apis::DisplayvideoV1::Channel]
|
4083
|
+
#
|
4084
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4085
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4086
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4087
|
+
def patch_partner_channel(partner_id, channel_id, channel_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4088
|
+
command = make_simple_command(:patch, 'v1/partners/{+partnerId}/channels/{channelId}', options)
|
4089
|
+
command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation
|
4090
|
+
command.request_object = channel_object
|
4091
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation
|
4092
|
+
command.response_class = Google::Apis::DisplayvideoV1::Channel
|
4093
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
4094
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
4095
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4096
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4097
|
+
command.query['fields'] = fields unless fields.nil?
|
4098
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4099
|
+
execute_or_queue_command(command, &block)
|
4100
|
+
end
|
4101
|
+
|
4102
|
+
# Bulk edits sites under a single channel.
|
4103
|
+
# The operation will delete the sites provided in
|
4104
|
+
# BulkEditSitesRequest.deleted_sites and then create the sites
|
4105
|
+
# provided in BulkEditSitesRequest.created_sites.
|
4106
|
+
# @param [Fixnum] partner_id
|
4107
|
+
# The ID of the partner that owns the parent channel.
|
4108
|
+
# @param [Fixnum] channel_id
|
4109
|
+
# Required. The ID of the parent channel to which the sites belong.
|
4110
|
+
# @param [Google::Apis::DisplayvideoV1::BulkEditSitesRequest] bulk_edit_sites_request_object
|
4111
|
+
# @param [String] fields
|
4112
|
+
# Selector specifying which fields to include in a partial response.
|
4113
|
+
# @param [String] quota_user
|
4114
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4115
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4116
|
+
# @param [Google::Apis::RequestOptions] options
|
4117
|
+
# Request-specific options
|
4118
|
+
#
|
4119
|
+
# @yield [result, err] Result & error if block supplied
|
4120
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditSitesResponse] parsed result object
|
4121
|
+
# @yieldparam err [StandardError] error object if request failed
|
4122
|
+
#
|
4123
|
+
# @return [Google::Apis::DisplayvideoV1::BulkEditSitesResponse]
|
4124
|
+
#
|
4125
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4126
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4127
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4128
|
+
def bulk_partner_channel_site_edit(partner_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4129
|
+
command = make_simple_command(:post, 'v1/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit', options)
|
4130
|
+
command.request_representation = Google::Apis::DisplayvideoV1::BulkEditSitesRequest::Representation
|
4131
|
+
command.request_object = bulk_edit_sites_request_object
|
4132
|
+
command.response_representation = Google::Apis::DisplayvideoV1::BulkEditSitesResponse::Representation
|
4133
|
+
command.response_class = Google::Apis::DisplayvideoV1::BulkEditSitesResponse
|
4134
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
4135
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
4136
|
+
command.query['fields'] = fields unless fields.nil?
|
4137
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4138
|
+
execute_or_queue_command(command, &block)
|
4139
|
+
end
|
4140
|
+
|
4141
|
+
# Creates a site in a channel.
|
4142
|
+
# @param [Fixnum] partner_id
|
4143
|
+
# The ID of the partner that owns the parent channel.
|
4144
|
+
# @param [Fixnum] channel_id
|
4145
|
+
# Required. The ID of the parent channel in which the site will be created.
|
4146
|
+
# @param [Google::Apis::DisplayvideoV1::Site] site_object
|
4147
|
+
# @param [Fixnum] advertiser_id
|
4148
|
+
# The ID of the advertiser that owns the parent channel.
|
4149
|
+
# @param [String] fields
|
4150
|
+
# Selector specifying which fields to include in a partial response.
|
4151
|
+
# @param [String] quota_user
|
4152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4154
|
+
# @param [Google::Apis::RequestOptions] options
|
4155
|
+
# Request-specific options
|
4156
|
+
#
|
4157
|
+
# @yield [result, err] Result & error if block supplied
|
4158
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Site] parsed result object
|
4159
|
+
# @yieldparam err [StandardError] error object if request failed
|
4160
|
+
#
|
4161
|
+
# @return [Google::Apis::DisplayvideoV1::Site]
|
4162
|
+
#
|
4163
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4164
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4165
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4166
|
+
def create_partner_channel_site(partner_id, channel_id, site_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4167
|
+
command = make_simple_command(:post, 'v1/partners/{partnerId}/channels/{+channelId}/sites', options)
|
4168
|
+
command.request_representation = Google::Apis::DisplayvideoV1::Site::Representation
|
4169
|
+
command.request_object = site_object
|
4170
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Site::Representation
|
4171
|
+
command.response_class = Google::Apis::DisplayvideoV1::Site
|
4172
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
4173
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
4174
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4175
|
+
command.query['fields'] = fields unless fields.nil?
|
4176
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4177
|
+
execute_or_queue_command(command, &block)
|
4178
|
+
end
|
4179
|
+
|
4180
|
+
# Deletes a site from a channel.
|
4181
|
+
# @param [Fixnum] partner_id
|
4182
|
+
# The ID of the partner that owns the parent channel.
|
4183
|
+
# @param [Fixnum] channel_id
|
4184
|
+
# Required. The ID of the parent channel to which the site belongs.
|
4185
|
+
# @param [String] url_or_app_id
|
4186
|
+
# Required. The URL or app ID of the site to delete.
|
4187
|
+
# @param [Fixnum] advertiser_id
|
4188
|
+
# The ID of the advertiser that owns the parent channel.
|
4189
|
+
# @param [String] fields
|
4190
|
+
# Selector specifying which fields to include in a partial response.
|
4191
|
+
# @param [String] quota_user
|
4192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4194
|
+
# @param [Google::Apis::RequestOptions] options
|
4195
|
+
# Request-specific options
|
4196
|
+
#
|
4197
|
+
# @yield [result, err] Result & error if block supplied
|
4198
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
|
4199
|
+
# @yieldparam err [StandardError] error object if request failed
|
4200
|
+
#
|
4201
|
+
# @return [Google::Apis::DisplayvideoV1::Empty]
|
4202
|
+
#
|
4203
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4204
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4205
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4206
|
+
def delete_partner_channel_site(partner_id, channel_id, url_or_app_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4207
|
+
command = make_simple_command(:delete, 'v1/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}', options)
|
4208
|
+
command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
|
4209
|
+
command.response_class = Google::Apis::DisplayvideoV1::Empty
|
4210
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
4211
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
4212
|
+
command.params['urlOrAppId'] = url_or_app_id unless url_or_app_id.nil?
|
4213
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4214
|
+
command.query['fields'] = fields unless fields.nil?
|
4215
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4216
|
+
execute_or_queue_command(command, &block)
|
4217
|
+
end
|
4218
|
+
|
4219
|
+
# Lists sites in a channel.
|
4220
|
+
# @param [Fixnum] partner_id
|
4221
|
+
# The ID of the partner that owns the parent channel.
|
4222
|
+
# @param [Fixnum] channel_id
|
4223
|
+
# Required. The ID of the parent channel to which the requested sites belong.
|
4224
|
+
# @param [Fixnum] advertiser_id
|
4225
|
+
# The ID of the advertiser that owns the parent channel.
|
4226
|
+
# @param [String] filter
|
4227
|
+
# Allows filtering by site fields.
|
4228
|
+
# Supported syntax:
|
4229
|
+
# * Filter expressions for site currently can only contain at most one
|
4230
|
+
# * restriction.
|
4231
|
+
# * A restriction has the form of ``field` `operator` `value``.
|
4232
|
+
# * The operator must be `CONTAINS (:)`.
|
4233
|
+
# * Supported fields:
|
4234
|
+
# - `urlOrAppId`
|
4235
|
+
# Examples:
|
4236
|
+
# * All sites for which the URL or app ID contains "google":
|
4237
|
+
# `urlOrAppId : "google"`
|
4238
|
+
# @param [String] order_by
|
4239
|
+
# Field by which to sort the list.
|
4240
|
+
# Acceptable values are:
|
4241
|
+
# * `urlOrAppId` (default)
|
4242
|
+
# The default sorting order is ascending. To specify descending order for a
|
4243
|
+
# field, a suffix " desc" should be added to the field name. Example:
|
4244
|
+
# `urlOrAppId desc`.
|
4245
|
+
# @param [Fixnum] page_size
|
4246
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
4247
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
|
4248
|
+
# is specified.
|
4249
|
+
# @param [String] page_token
|
4250
|
+
# A token identifying a page of results the server should return.
|
4251
|
+
# Typically, this is the value of
|
4252
|
+
# next_page_token returned from the
|
4253
|
+
# previous call to `ListSites` method. If not specified, the first page
|
4254
|
+
# of results will be returned.
|
4255
|
+
# @param [String] fields
|
4256
|
+
# Selector specifying which fields to include in a partial response.
|
4257
|
+
# @param [String] quota_user
|
4258
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4259
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4260
|
+
# @param [Google::Apis::RequestOptions] options
|
4261
|
+
# Request-specific options
|
4262
|
+
#
|
4263
|
+
# @yield [result, err] Result & error if block supplied
|
4264
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListSitesResponse] parsed result object
|
4265
|
+
# @yieldparam err [StandardError] error object if request failed
|
4266
|
+
#
|
4267
|
+
# @return [Google::Apis::DisplayvideoV1::ListSitesResponse]
|
4268
|
+
#
|
4269
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4270
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4271
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4272
|
+
def list_partner_channel_sites(partner_id, channel_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4273
|
+
command = make_simple_command(:get, 'v1/partners/{+partnerId}/channels/{+channelId}/sites', options)
|
4274
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListSitesResponse::Representation
|
4275
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListSitesResponse
|
4276
|
+
command.params['partnerId'] = partner_id unless partner_id.nil?
|
4277
|
+
command.params['channelId'] = channel_id unless channel_id.nil?
|
4278
|
+
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
4279
|
+
command.query['filter'] = filter unless filter.nil?
|
4280
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4281
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4282
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4283
|
+
command.query['fields'] = fields unless fields.nil?
|
4284
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4285
|
+
execute_or_queue_command(command, &block)
|
4286
|
+
end
|
4287
|
+
|
2657
4288
|
# Creates an SDF Download Task. Returns an
|
2658
4289
|
# Operation.
|
2659
4290
|
# An SDF Download Task is a long-running, asynchronous operation. The
|