lemboy-google-api-client 0.9.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/.rspec +2 -0
- data/.rubocop.yml +7 -0
- data/.rubocop_todo.yml +63 -0
- data/.travis.yml +27 -0
- data/.yardopts +12 -0
- data/CHANGELOG.md +309 -0
- data/CONTRIBUTING.md +31 -0
- data/Gemfile +53 -0
- data/LICENSE +202 -0
- data/MIGRATING.md +171 -0
- data/README.md +327 -0
- data/Rakefile +2 -0
- data/api_names.yaml +36215 -0
- data/bin/generate-api +109 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +3550 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1421 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1538 -0
- data/generated/google/apis/adexchangeseller_v2_0.rb +37 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +347 -0
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +667 -0
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +130 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +113 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +3241 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1172 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3857 -0
- data/generated/google/apis/admin_reports_v1.rb +38 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
- data/generated/google/apis/admin_reports_v1/representations.rb +257 -0
- data/generated/google/apis/admin_reports_v1/service.rb +336 -0
- data/generated/google/apis/adsense_v1_4.rb +37 -0
- data/generated/google/apis/adsense_v1_4/classes.rb +1280 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +555 -0
- data/generated/google/apis/adsense_v1_4/service.rb +1713 -0
- data/generated/google/apis/adsensehost_v4_1.rb +35 -0
- data/generated/google/apis/adsensehost_v4_1/classes.rb +836 -0
- data/generated/google/apis/adsensehost_v4_1/representations.rb +367 -0
- data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
- data/generated/google/apis/analytics_v3.rb +49 -0
- data/generated/google/apis/analytics_v3/classes.rb +5536 -0
- data/generated/google/apis/analytics_v3/representations.rb +1992 -0
- data/generated/google/apis/analytics_v3/service.rb +3785 -0
- data/generated/google/apis/analyticsreporting_v4.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1420 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +598 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
- data/generated/google/apis/androidenterprise_v1.rb +34 -0
- data/generated/google/apis/androidenterprise_v1/classes.rb +2250 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +970 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +3267 -0
- data/generated/google/apis/androidpublisher_v2.rb +34 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +1941 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +975 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +2572 -0
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1585 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +542 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +477 -0
- data/generated/google/apis/appengine_v1beta5.rb +40 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +1984 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +765 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +864 -0
- data/generated/google/apis/appsactivity_v1.rb +46 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +415 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +209 -0
- data/generated/google/apis/appsactivity_v1/service.rb +128 -0
- data/generated/google/apis/appstate_v1.rb +34 -0
- data/generated/google/apis/appstate_v1/classes.rb +154 -0
- data/generated/google/apis/appstate_v1/representations.rb +87 -0
- data/generated/google/apis/appstate_v1/service.rb +260 -0
- data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +710 -0
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +296 -0
- data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
- data/generated/google/apis/bigquery_v2.rb +52 -0
- data/generated/google/apis/bigquery_v2/classes.rb +3081 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1094 -0
- data/generated/google/apis/bigquery_v2/service.rb +988 -0
- data/generated/google/apis/blogger_v3.rb +37 -0
- data/generated/google/apis/blogger_v3/classes.rb +1354 -0
- data/generated/google/apis/blogger_v3/representations.rb +632 -0
- data/generated/google/apis/blogger_v3/service.rb +1587 -0
- data/generated/google/apis/books_v1.rb +34 -0
- data/generated/google/apis/books_v1/classes.rb +4160 -0
- data/generated/google/apis/books_v1/representations.rb +1799 -0
- data/generated/google/apis/books_v1/service.rb +2300 -0
- data/generated/google/apis/calendar_v3.rb +37 -0
- data/generated/google/apis/calendar_v3/classes.rb +1742 -0
- data/generated/google/apis/calendar_v3/representations.rb +631 -0
- data/generated/google/apis/calendar_v3/service.rb +1968 -0
- data/generated/google/apis/civicinfo_v2.rb +32 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +1499 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +572 -0
- data/generated/google/apis/civicinfo_v2/service.rb +300 -0
- data/generated/google/apis/classroom_v1.rb +70 -0
- data/generated/google/apis/classroom_v1/classes.rb +1572 -0
- data/generated/google/apis/classroom_v1/representations.rb +729 -0
- data/generated/google/apis/classroom_v1/service.rb +1945 -0
- data/generated/google/apis/classroom_v1beta1.rb +49 -0
- data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
- data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
- data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +87 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/cloudbuild_v1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1/classes.rb +919 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +364 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +492 -0
- data/generated/google/apis/clouddebugger_v2.rb +38 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1081 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +465 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +396 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
- data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +127 -0
- data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +353 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +886 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +359 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +686 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +682 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +312 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +710 -0
- data/generated/google/apis/cloudtrace_v1.rb +43 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +102 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +192 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +907 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +12261 -0
- data/generated/google/apis/compute_beta/representations.rb +4615 -0
- data/generated/google/apis/compute_beta/service.rb +15330 -0
- data/generated/google/apis/compute_v1.rb +49 -0
- data/generated/google/apis/compute_v1/classes.rb +11179 -0
- data/generated/google/apis/compute_v1/representations.rb +4203 -0
- data/generated/google/apis/compute_v1/service.rb +12937 -0
- data/generated/google/apis/container_v1.rb +35 -0
- data/generated/google/apis/container_v1/classes.rb +1040 -0
- data/generated/google/apis/container_v1/representations.rb +415 -0
- data/generated/google/apis/container_v1/service.rb +659 -0
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +466 -0
- data/generated/google/apis/container_v1beta1/representations.rb +177 -0
- data/generated/google/apis/container_v1beta1/service.rb +394 -0
- data/generated/google/apis/content_v2.rb +35 -0
- data/generated/google/apis/content_v2/classes.rb +6887 -0
- data/generated/google/apis/content_v2/representations.rb +2963 -0
- data/generated/google/apis/content_v2/service.rb +2653 -0
- data/generated/google/apis/coordinate_v1.rb +37 -0
- data/generated/google/apis/coordinate_v1/classes.rb +669 -0
- data/generated/google/apis/coordinate_v1/representations.rb +321 -0
- data/generated/google/apis/coordinate_v1/service.rb +678 -0
- data/generated/google/apis/customsearch_v1.rb +31 -0
- data/generated/google/apis/customsearch_v1/classes.rb +771 -0
- data/generated/google/apis/customsearch_v1/representations.rb +302 -0
- data/generated/google/apis/customsearch_v1/service.rb +207 -0
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4225 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1809 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +874 -0
- data/generated/google/apis/dataproc_v1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +1716 -0
- data/generated/google/apis/dataproc_v1/representations.rb +678 -0
- data/generated/google/apis/dataproc_v1/service.rb +670 -0
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta2.rb +40 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
- data/generated/google/apis/datastore_v1beta2/representations.rb +594 -0
- data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +43 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1582 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +686 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +1026 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
- data/generated/google/apis/dfareporting_v2_1.rb +37 -0
- data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
- data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
- data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
- data/generated/google/apis/dfareporting_v2_3.rb +37 -0
- data/generated/google/apis/dfareporting_v2_3/classes.rb +10839 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +3829 -0
- data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/discovery_v1.rb +32 -0
- data/generated/google/apis/discovery_v1/classes.rb +961 -0
- data/generated/google/apis/discovery_v1/representations.rb +397 -0
- data/generated/google/apis/discovery_v1/service.rb +142 -0
- data/generated/google/apis/dns_v1.rb +43 -0
- data/generated/google/apis/dns_v1/classes.rb +406 -0
- data/generated/google/apis/dns_v1/representations.rb +167 -0
- data/generated/google/apis/dns_v1/service.rb +453 -0
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +795 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +368 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +376 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +960 -0
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +350 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
- data/generated/google/apis/drive_v2.rb +59 -0
- data/generated/google/apis/drive_v2/classes.rb +2633 -0
- data/generated/google/apis/drive_v2/representations.rb +885 -0
- data/generated/google/apis/drive_v2/service.rb +2754 -0
- data/generated/google/apis/drive_v3.rb +56 -0
- data/generated/google/apis/drive_v3/classes.rb +1611 -0
- data/generated/google/apis/drive_v3/representations.rb +555 -0
- data/generated/google/apis/drive_v3/service.rb +1553 -0
- data/generated/google/apis/fitness_v1.rb +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +943 -0
- data/generated/google/apis/fitness_v1/representations.rb +380 -0
- data/generated/google/apis/fitness_v1/service.rb +674 -0
- data/generated/google/apis/fusiontables_v2.rb +37 -0
- data/generated/google/apis/fusiontables_v2/classes.rb +1049 -0
- data/generated/google/apis/fusiontables_v2/representations.rb +457 -0
- data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +228 -0
- data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +567 -0
- data/generated/google/apis/games_management_v1management/representations.rb +278 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +40 -0
- data/generated/google/apis/games_v1/classes.rb +4667 -0
- data/generated/google/apis/games_v1/representations.rb +1800 -0
- data/generated/google/apis/games_v1/service.rb +2449 -0
- data/generated/google/apis/gan_v1beta1.rb +31 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
- data/generated/google/apis/gan_v1beta1/representations.rb +462 -0
- data/generated/google/apis/gan_v1beta1/service.rb +682 -0
- data/generated/google/apis/genomics_v1.rb +46 -0
- data/generated/google/apis/genomics_v1/classes.rb +3477 -0
- data/generated/google/apis/genomics_v1/representations.rb +1284 -0
- data/generated/google/apis/genomics_v1/service.rb +2207 -0
- data/generated/google/apis/genomics_v1beta2.rb +46 -0
- data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
- data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
- data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
- data/generated/google/apis/gmail_v1.rb +61 -0
- data/generated/google/apis/gmail_v1/classes.rb +1382 -0
- data/generated/google/apis/gmail_v1/representations.rb +624 -0
- data/generated/google/apis/gmail_v1/service.rb +2447 -0
- data/generated/google/apis/groupsmigration_v1.rb +34 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
- data/generated/google/apis/groupssettings_v1.rb +34 -0
- data/generated/google/apis/groupssettings_v1/classes.rb +240 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +69 -0
- data/generated/google/apis/groupssettings_v1/service.rb +179 -0
- data/generated/google/apis/iam_v1.rb +36 -0
- data/generated/google/apis/iam_v1/classes.rb +640 -0
- data/generated/google/apis/iam_v1/representations.rb +316 -0
- data/generated/google/apis/iam_v1/service.rb +554 -0
- data/generated/google/apis/identitytoolkit_v3.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/classes.rb +2182 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +742 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +657 -0
- data/generated/google/apis/kgsearch_v1.rb +31 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +41 -0
- data/generated/google/apis/kgsearch_v1/service.rb +113 -0
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +184 -0
- data/generated/google/apis/licensing_v1.rb +34 -0
- data/generated/google/apis/licensing_v1/classes.rb +132 -0
- data/generated/google/apis/licensing_v1/representations.rb +74 -0
- data/generated/google/apis/licensing_v1/service.rb +369 -0
- data/generated/google/apis/logging_v1beta3.rb +47 -0
- data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
- data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
- data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
- data/generated/google/apis/logging_v2beta1.rb +46 -0
- data/generated/google/apis/logging_v2beta1/classes.rb +1254 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +421 -0
- data/generated/google/apis/logging_v2beta1/service.rb +788 -0
- data/generated/google/apis/manager_v1beta2.rb +53 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
- data/generated/google/apis/manager_v1beta2/representations.rb +606 -0
- data/generated/google/apis/manager_v1beta2/service.rb +372 -0
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +37 -0
- data/generated/google/apis/mirror_v1/classes.rb +1072 -0
- data/generated/google/apis/mirror_v1/representations.rb +390 -0
- data/generated/google/apis/mirror_v1/service.rb +977 -0
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1335 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/mybusiness_v3.rb +32 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
- data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
- data/generated/google/apis/mybusiness_v3/service.rb +960 -0
- data/generated/google/apis/oauth2_v2.rb +43 -0
- data/generated/google/apis/oauth2_v2/classes.rb +245 -0
- data/generated/google/apis/oauth2_v2/representations.rb +102 -0
- data/generated/google/apis/oauth2_v2/service.rb +199 -0
- data/generated/google/apis/pagespeedonline_v2.rb +32 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +272 -0
- data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +454 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/people_v1.rb +59 -0
- data/generated/google/apis/people_v1/classes.rb +1521 -0
- data/generated/google/apis/people_v1/representations.rb +663 -0
- data/generated/google/apis/people_v1/service.rb +189 -0
- data/generated/google/apis/plus_domains_v1.rb +61 -0
- data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +1111 -0
- data/generated/google/apis/plus_domains_v1/service.rb +904 -0
- data/generated/google/apis/plus_v1.rb +43 -0
- data/generated/google/apis/plus_v1/classes.rb +2094 -0
- data/generated/google/apis/plus_v1/representations.rb +907 -0
- data/generated/google/apis/plus_v1/service.rb +470 -0
- data/generated/google/apis/prediction_v1_6.rb +47 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
- data/generated/google/apis/prediction_v1_6/representations.rb +369 -0
- data/generated/google/apis/prediction_v1_6/service.rb +380 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +34 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +786 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +347 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +806 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +676 -0
- data/generated/google/apis/pubsub_v1/representations.rb +323 -0
- data/generated/google/apis/pubsub_v1/service.rb +900 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
- data/generated/google/apis/qpx_express_v1.rb +31 -0
- data/generated/google/apis/qpx_express_v1/classes.rb +1274 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +473 -0
- data/generated/google/apis/qpx_express_v1/service.rb +100 -0
- data/generated/google/apis/replicapool_v1beta2.rb +44 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
- data/generated/google/apis/replicapool_v1beta2/representations.rb +264 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +45 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +294 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +509 -0
- data/generated/google/apis/reseller_v1.rb +37 -0
- data/generated/google/apis/reseller_v1/classes.rb +540 -0
- data/generated/google/apis/reseller_v1/representations.rb +225 -0
- data/generated/google/apis/reseller_v1/service.rb +623 -0
- data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +301 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
- data/generated/google/apis/script_v1.rb +64 -0
- data/generated/google/apis/script_v1/classes.rb +265 -0
- data/generated/google/apis/script_v1/representations.rb +119 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/sheets_v4.rb +43 -0
- data/generated/google/apis/sheets_v4/classes.rb +6368 -0
- data/generated/google/apis/sheets_v4/representations.rb +2289 -0
- data/generated/google/apis/sheets_v4/service.rb +569 -0
- data/generated/google/apis/site_verification_v1.rb +37 -0
- data/generated/google/apis/site_verification_v1/classes.rb +185 -0
- data/generated/google/apis/site_verification_v1/representations.rb +113 -0
- data/generated/google/apis/site_verification_v1/service.rb +315 -0
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4044 -0
- data/generated/google/apis/slides_v1/representations.rb +1765 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +513 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
- data/generated/google/apis/speech_v1beta1/service.rb +273 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +2142 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +893 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1709 -0
- data/generated/google/apis/storage_v1.rb +46 -0
- data/generated/google/apis/storage_v1/classes.rb +1255 -0
- data/generated/google/apis/storage_v1/representations.rb +502 -0
- data/generated/google/apis/storage_v1/service.rb +1906 -0
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +418 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +52 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +1494 -0
- data/generated/google/apis/tagmanager_v1/representations.rb +611 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2119 -0
- data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +126 -0
- data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
- data/generated/google/apis/tasks_v1.rb +37 -0
- data/generated/google/apis/tasks_v1/classes.rb +296 -0
- data/generated/google/apis/tasks_v1/representations.rb +125 -0
- data/generated/google/apis/tasks_v1/service.rb +643 -0
- data/generated/google/apis/translate_v2.rb +31 -0
- data/generated/google/apis/translate_v2/classes.rb +168 -0
- data/generated/google/apis/translate_v2/representations.rb +121 -0
- data/generated/google/apis/translate_v2/service.rb +182 -0
- data/generated/google/apis/urlshortener_v1.rb +34 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
- data/generated/google/apis/urlshortener_v1/representations.rb +121 -0
- data/generated/google/apis/urlshortener_v1/service.rb +176 -0
- data/generated/google/apis/vision_v1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +1267 -0
- data/generated/google/apis/vision_v1/representations.rb +418 -0
- data/generated/google/apis/vision_v1/service.rb +90 -0
- data/generated/google/apis/webmasters_v3.rb +37 -0
- data/generated/google/apis/webmasters_v3/classes.rb +570 -0
- data/generated/google/apis/webmasters_v3/representations.rb +283 -0
- data/generated/google/apis/webmasters_v3/service.rb +573 -0
- data/generated/google/apis/youtube_analytics_v1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +486 -0
- data/generated/google/apis/youtube_partner_v1.rb +37 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +3854 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1537 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +3269 -0
- data/generated/google/apis/youtube_v3.rb +50 -0
- data/generated/google/apis/youtube_v3/classes.rb +8375 -0
- data/generated/google/apis/youtube_v3/representations.rb +3273 -0
- data/generated/google/apis/youtube_v3/service.rb +4440 -0
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +302 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +149 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +385 -0
- data/google-api-client.gemspec +33 -0
- data/lib/cacerts.pem +2183 -0
- data/lib/google/api_client/auth/installed_app.rb +128 -0
- data/lib/google/api_client/auth/key_utils.rb +94 -0
- data/lib/google/api_client/auth/storage.rb +104 -0
- data/lib/google/api_client/auth/storages/file_store.rb +57 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +59 -0
- data/lib/google/api_client/client_secrets.rb +177 -0
- data/lib/google/apis.rb +58 -0
- data/lib/google/apis/core/api_command.rb +146 -0
- data/lib/google/apis/core/base_service.rb +401 -0
- data/lib/google/apis/core/batch.rb +239 -0
- data/lib/google/apis/core/download.rb +108 -0
- data/lib/google/apis/core/hashable.rb +44 -0
- data/lib/google/apis/core/http_client_adapter.rb +82 -0
- data/lib/google/apis/core/http_command.rb +332 -0
- data/lib/google/apis/core/json_representation.rb +145 -0
- data/lib/google/apis/core/logging.rb +30 -0
- data/lib/google/apis/core/multipart.rb +187 -0
- data/lib/google/apis/core/upload.rb +295 -0
- data/lib/google/apis/errors.rb +80 -0
- data/lib/google/apis/generator.rb +70 -0
- data/lib/google/apis/generator/annotator.rb +301 -0
- data/lib/google/apis/generator/helpers.rb +74 -0
- data/lib/google/apis/generator/model.rb +143 -0
- data/lib/google/apis/generator/template.rb +124 -0
- data/lib/google/apis/generator/templates/_class.tmpl +40 -0
- data/lib/google/apis/generator/templates/_method.tmpl +92 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +17 -0
- data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
- data/lib/google/apis/generator/templates/classes.rb.tmpl +29 -0
- data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
- data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
- data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
- data/lib/google/apis/options.rb +85 -0
- data/lib/google/apis/version.rb +39 -0
- data/rakelib/metrics.rake +22 -0
- data/rakelib/rubocop.rake +10 -0
- data/rakelib/spec.rake +11 -0
- data/rakelib/yard.rake +11 -0
- data/samples/cli/.env +4 -0
- data/samples/cli/Gemfile +7 -0
- data/samples/cli/README.md +51 -0
- data/samples/cli/google-api-samples +32 -0
- data/samples/cli/lib/base_cli.rb +95 -0
- data/samples/cli/lib/samples/analytics.rb +62 -0
- data/samples/cli/lib/samples/androidpublisher.rb +47 -0
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +83 -0
- data/samples/cli/lib/samples/drive.rb +82 -0
- data/samples/cli/lib/samples/gmail.rb +124 -0
- data/samples/cli/lib/samples/pubsub.rb +114 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/translate.rb +44 -0
- data/samples/cli/lib/samples/you_tube.rb +44 -0
- data/samples/web/.env +2 -0
- data/samples/web/Gemfile +7 -0
- data/samples/web/README.md +44 -0
- data/samples/web/app.rb +120 -0
- data/samples/web/views/calendar.erb +34 -0
- data/samples/web/views/drive.erb +33 -0
- data/samples/web/views/home.erb +34 -0
- data/samples/web/views/layout.erb +40 -0
- data/sync.rb +71 -0
- data/third_party/hurley_patches.rb +103 -0
- metadata +735 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/adexchangebuyer_v1_3/service.rb'
|
16
|
+
require 'google/apis/adexchangebuyer_v1_3/classes.rb'
|
17
|
+
require 'google/apis/adexchangebuyer_v1_3/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Ad Exchange Buyer API
|
22
|
+
#
|
23
|
+
# Accesses your bidding-account information, submits creatives for validation,
|
24
|
+
# finds available direct deals, and retrieves performance reports.
|
25
|
+
#
|
26
|
+
# @see https://developers.google.com/ad-exchange/buyer-rest
|
27
|
+
module AdexchangebuyerV1_3
|
28
|
+
VERSION = 'V1_3'
|
29
|
+
REVISION = '20160118'
|
30
|
+
|
31
|
+
# Manage your Ad Exchange buyer account configuration
|
32
|
+
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,1335 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module AdexchangebuyerV1_3
|
24
|
+
|
25
|
+
# Configuration data for an Ad Exchange buyer account.
|
26
|
+
class Account
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Your bidder locations that have distinct URLs.
|
30
|
+
# Corresponds to the JSON property `bidderLocation`
|
31
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::Account::BidderLocation>]
|
32
|
+
attr_accessor :bidder_location
|
33
|
+
|
34
|
+
# The nid parameter value used in cookie match requests. Please contact your
|
35
|
+
# technical account manager if you need to change this.
|
36
|
+
# Corresponds to the JSON property `cookieMatchingNid`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :cookie_matching_nid
|
39
|
+
|
40
|
+
# The base URL used in cookie match requests.
|
41
|
+
# Corresponds to the JSON property `cookieMatchingUrl`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :cookie_matching_url
|
44
|
+
|
45
|
+
# Account id.
|
46
|
+
# Corresponds to the JSON property `id`
|
47
|
+
# @return [Fixnum]
|
48
|
+
attr_accessor :id
|
49
|
+
|
50
|
+
# Resource type.
|
51
|
+
# Corresponds to the JSON property `kind`
|
52
|
+
# @return [String]
|
53
|
+
attr_accessor :kind
|
54
|
+
|
55
|
+
# The maximum number of active creatives that an account can have, where a
|
56
|
+
# creative is active if it was inserted or bid with in the last 30 days. Please
|
57
|
+
# contact your technical account manager if you need to change this.
|
58
|
+
# Corresponds to the JSON property `maximumActiveCreatives`
|
59
|
+
# @return [Fixnum]
|
60
|
+
attr_accessor :maximum_active_creatives
|
61
|
+
|
62
|
+
# The sum of all bidderLocation.maximumQps values cannot exceed this. Please
|
63
|
+
# contact your technical account manager if you need to change this.
|
64
|
+
# Corresponds to the JSON property `maximumTotalQps`
|
65
|
+
# @return [Fixnum]
|
66
|
+
attr_accessor :maximum_total_qps
|
67
|
+
|
68
|
+
# The number of creatives that this account inserted or bid with in the last 30
|
69
|
+
# days.
|
70
|
+
# Corresponds to the JSON property `numberActiveCreatives`
|
71
|
+
# @return [Fixnum]
|
72
|
+
attr_accessor :number_active_creatives
|
73
|
+
|
74
|
+
def initialize(**args)
|
75
|
+
update!(**args)
|
76
|
+
end
|
77
|
+
|
78
|
+
# Update properties of this object
|
79
|
+
def update!(**args)
|
80
|
+
@bidder_location = args[:bidder_location] if args.key?(:bidder_location)
|
81
|
+
@cookie_matching_nid = args[:cookie_matching_nid] if args.key?(:cookie_matching_nid)
|
82
|
+
@cookie_matching_url = args[:cookie_matching_url] if args.key?(:cookie_matching_url)
|
83
|
+
@id = args[:id] if args.key?(:id)
|
84
|
+
@kind = args[:kind] if args.key?(:kind)
|
85
|
+
@maximum_active_creatives = args[:maximum_active_creatives] if args.key?(:maximum_active_creatives)
|
86
|
+
@maximum_total_qps = args[:maximum_total_qps] if args.key?(:maximum_total_qps)
|
87
|
+
@number_active_creatives = args[:number_active_creatives] if args.key?(:number_active_creatives)
|
88
|
+
end
|
89
|
+
|
90
|
+
#
|
91
|
+
class BidderLocation
|
92
|
+
include Google::Apis::Core::Hashable
|
93
|
+
|
94
|
+
# The maximum queries per second the Ad Exchange will send.
|
95
|
+
# Corresponds to the JSON property `maximumQps`
|
96
|
+
# @return [Fixnum]
|
97
|
+
attr_accessor :maximum_qps
|
98
|
+
|
99
|
+
# The geographical region the Ad Exchange should send requests from. Only used
|
100
|
+
# by some quota systems, but always setting the value is recommended. Allowed
|
101
|
+
# values:
|
102
|
+
# - ASIA
|
103
|
+
# - EUROPE
|
104
|
+
# - US_EAST
|
105
|
+
# - US_WEST
|
106
|
+
# Corresponds to the JSON property `region`
|
107
|
+
# @return [String]
|
108
|
+
attr_accessor :region
|
109
|
+
|
110
|
+
# The URL to which the Ad Exchange will send bid requests.
|
111
|
+
# Corresponds to the JSON property `url`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :url
|
114
|
+
|
115
|
+
def initialize(**args)
|
116
|
+
update!(**args)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Update properties of this object
|
120
|
+
def update!(**args)
|
121
|
+
@maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps)
|
122
|
+
@region = args[:region] if args.key?(:region)
|
123
|
+
@url = args[:url] if args.key?(:url)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# An account feed lists Ad Exchange buyer accounts that the user has access to.
|
129
|
+
# Each entry in the feed corresponds to a single buyer account.
|
130
|
+
class AccountsList
|
131
|
+
include Google::Apis::Core::Hashable
|
132
|
+
|
133
|
+
# A list of accounts.
|
134
|
+
# Corresponds to the JSON property `items`
|
135
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::Account>]
|
136
|
+
attr_accessor :items
|
137
|
+
|
138
|
+
# Resource type.
|
139
|
+
# Corresponds to the JSON property `kind`
|
140
|
+
# @return [String]
|
141
|
+
attr_accessor :kind
|
142
|
+
|
143
|
+
def initialize(**args)
|
144
|
+
update!(**args)
|
145
|
+
end
|
146
|
+
|
147
|
+
# Update properties of this object
|
148
|
+
def update!(**args)
|
149
|
+
@items = args[:items] if args.key?(:items)
|
150
|
+
@kind = args[:kind] if args.key?(:kind)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# The configuration data for an Ad Exchange billing info.
|
155
|
+
class BillingInfo
|
156
|
+
include Google::Apis::Core::Hashable
|
157
|
+
|
158
|
+
# Account id.
|
159
|
+
# Corresponds to the JSON property `accountId`
|
160
|
+
# @return [Fixnum]
|
161
|
+
attr_accessor :account_id
|
162
|
+
|
163
|
+
# Account name.
|
164
|
+
# Corresponds to the JSON property `accountName`
|
165
|
+
# @return [String]
|
166
|
+
attr_accessor :account_name
|
167
|
+
|
168
|
+
# A list of adgroup IDs associated with this particular account. These IDs may
|
169
|
+
# show up as part of a realtime bidding BidRequest, which indicates a bid
|
170
|
+
# request for this account.
|
171
|
+
# Corresponds to the JSON property `billingId`
|
172
|
+
# @return [Array<String>]
|
173
|
+
attr_accessor :billing_id
|
174
|
+
|
175
|
+
# Resource type.
|
176
|
+
# Corresponds to the JSON property `kind`
|
177
|
+
# @return [String]
|
178
|
+
attr_accessor :kind
|
179
|
+
|
180
|
+
def initialize(**args)
|
181
|
+
update!(**args)
|
182
|
+
end
|
183
|
+
|
184
|
+
# Update properties of this object
|
185
|
+
def update!(**args)
|
186
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
187
|
+
@account_name = args[:account_name] if args.key?(:account_name)
|
188
|
+
@billing_id = args[:billing_id] if args.key?(:billing_id)
|
189
|
+
@kind = args[:kind] if args.key?(:kind)
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
# A billing info feed lists Billing Info the Ad Exchange buyer account has
|
194
|
+
# access to. Each entry in the feed corresponds to a single billing info.
|
195
|
+
class BillingInfoList
|
196
|
+
include Google::Apis::Core::Hashable
|
197
|
+
|
198
|
+
# A list of billing info relevant for your account.
|
199
|
+
# Corresponds to the JSON property `items`
|
200
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::BillingInfo>]
|
201
|
+
attr_accessor :items
|
202
|
+
|
203
|
+
# Resource type.
|
204
|
+
# Corresponds to the JSON property `kind`
|
205
|
+
# @return [String]
|
206
|
+
attr_accessor :kind
|
207
|
+
|
208
|
+
def initialize(**args)
|
209
|
+
update!(**args)
|
210
|
+
end
|
211
|
+
|
212
|
+
# Update properties of this object
|
213
|
+
def update!(**args)
|
214
|
+
@items = args[:items] if args.key?(:items)
|
215
|
+
@kind = args[:kind] if args.key?(:kind)
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
# The configuration data for Ad Exchange RTB - Budget API.
|
220
|
+
class Budget
|
221
|
+
include Google::Apis::Core::Hashable
|
222
|
+
|
223
|
+
# The id of the account. This is required for get and update requests.
|
224
|
+
# Corresponds to the JSON property `accountId`
|
225
|
+
# @return [String]
|
226
|
+
attr_accessor :account_id
|
227
|
+
|
228
|
+
# The billing id to determine which adgroup to provide budget information for.
|
229
|
+
# This is required for get and update requests.
|
230
|
+
# Corresponds to the JSON property `billingId`
|
231
|
+
# @return [String]
|
232
|
+
attr_accessor :billing_id
|
233
|
+
|
234
|
+
# The daily budget amount in unit amount of the account currency to apply for
|
235
|
+
# the billingId provided. This is required for update requests.
|
236
|
+
# Corresponds to the JSON property `budgetAmount`
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :budget_amount
|
239
|
+
|
240
|
+
# The currency code for the buyer. This cannot be altered here.
|
241
|
+
# Corresponds to the JSON property `currencyCode`
|
242
|
+
# @return [String]
|
243
|
+
attr_accessor :currency_code
|
244
|
+
|
245
|
+
# The unique id that describes this item.
|
246
|
+
# Corresponds to the JSON property `id`
|
247
|
+
# @return [String]
|
248
|
+
attr_accessor :id
|
249
|
+
|
250
|
+
# The kind of the resource, i.e. "adexchangebuyer#budget".
|
251
|
+
# Corresponds to the JSON property `kind`
|
252
|
+
# @return [String]
|
253
|
+
attr_accessor :kind
|
254
|
+
|
255
|
+
def initialize(**args)
|
256
|
+
update!(**args)
|
257
|
+
end
|
258
|
+
|
259
|
+
# Update properties of this object
|
260
|
+
def update!(**args)
|
261
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
262
|
+
@billing_id = args[:billing_id] if args.key?(:billing_id)
|
263
|
+
@budget_amount = args[:budget_amount] if args.key?(:budget_amount)
|
264
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
265
|
+
@id = args[:id] if args.key?(:id)
|
266
|
+
@kind = args[:kind] if args.key?(:kind)
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
# A creative and its classification data.
|
271
|
+
class Creative
|
272
|
+
include Google::Apis::Core::Hashable
|
273
|
+
|
274
|
+
# The HTML snippet that displays the ad when inserted in the web page. If set,
|
275
|
+
# videoURL should not be set.
|
276
|
+
# Corresponds to the JSON property `HTMLSnippet`
|
277
|
+
# @return [String]
|
278
|
+
attr_accessor :html_snippet
|
279
|
+
|
280
|
+
# Account id.
|
281
|
+
# Corresponds to the JSON property `accountId`
|
282
|
+
# @return [Fixnum]
|
283
|
+
attr_accessor :account_id
|
284
|
+
|
285
|
+
# Detected advertiser id, if any. Read-only. This field should not be set in
|
286
|
+
# requests.
|
287
|
+
# Corresponds to the JSON property `advertiserId`
|
288
|
+
# @return [Array<String>]
|
289
|
+
attr_accessor :advertiser_id
|
290
|
+
|
291
|
+
# The name of the company being advertised in the creative.
|
292
|
+
# Corresponds to the JSON property `advertiserName`
|
293
|
+
# @return [String]
|
294
|
+
attr_accessor :advertiser_name
|
295
|
+
|
296
|
+
# The agency id for this creative.
|
297
|
+
# Corresponds to the JSON property `agencyId`
|
298
|
+
# @return [String]
|
299
|
+
attr_accessor :agency_id
|
300
|
+
|
301
|
+
# The last upload timestamp of this creative if it was uploaded via API. Read-
|
302
|
+
# only. The value of this field is generated, and will be ignored for uploads. (
|
303
|
+
# formatted RFC 3339 timestamp).
|
304
|
+
# Corresponds to the JSON property `apiUploadTimestamp`
|
305
|
+
# @return [DateTime]
|
306
|
+
attr_accessor :api_upload_timestamp
|
307
|
+
|
308
|
+
# All attributes for the ads that may be shown from this snippet.
|
309
|
+
# Corresponds to the JSON property `attribute`
|
310
|
+
# @return [Array<Fixnum>]
|
311
|
+
attr_accessor :attribute
|
312
|
+
|
313
|
+
# A buyer-specific id identifying the creative in this ad.
|
314
|
+
# Corresponds to the JSON property `buyerCreativeId`
|
315
|
+
# @return [String]
|
316
|
+
attr_accessor :buyer_creative_id
|
317
|
+
|
318
|
+
# The set of destination urls for the snippet.
|
319
|
+
# Corresponds to the JSON property `clickThroughUrl`
|
320
|
+
# @return [Array<String>]
|
321
|
+
attr_accessor :click_through_url
|
322
|
+
|
323
|
+
# Shows any corrections that were applied to this creative. Read-only. This
|
324
|
+
# field should not be set in requests.
|
325
|
+
# Corresponds to the JSON property `corrections`
|
326
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::Creative::Correction>]
|
327
|
+
attr_accessor :corrections
|
328
|
+
|
329
|
+
# The reasons for disapproval, if any. Note that not all disapproval reasons may
|
330
|
+
# be categorized, so it is possible for the creative to have a status of
|
331
|
+
# DISAPPROVED with an empty list for disapproval_reasons. In this case, please
|
332
|
+
# reach out to your TAM to help debug the issue. Read-only. This field should
|
333
|
+
# not be set in requests.
|
334
|
+
# Corresponds to the JSON property `disapprovalReasons`
|
335
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::Creative::DisapprovalReason>]
|
336
|
+
attr_accessor :disapproval_reasons
|
337
|
+
|
338
|
+
# The filtering reasons for the creative. Read-only. This field should not be
|
339
|
+
# set in requests.
|
340
|
+
# Corresponds to the JSON property `filteringReasons`
|
341
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Creative::FilteringReasons]
|
342
|
+
attr_accessor :filtering_reasons
|
343
|
+
|
344
|
+
# Ad height.
|
345
|
+
# Corresponds to the JSON property `height`
|
346
|
+
# @return [Fixnum]
|
347
|
+
attr_accessor :height
|
348
|
+
|
349
|
+
# The set of urls to be called to record an impression.
|
350
|
+
# Corresponds to the JSON property `impressionTrackingUrl`
|
351
|
+
# @return [Array<String>]
|
352
|
+
attr_accessor :impression_tracking_url
|
353
|
+
|
354
|
+
# Resource type.
|
355
|
+
# Corresponds to the JSON property `kind`
|
356
|
+
# @return [String]
|
357
|
+
attr_accessor :kind
|
358
|
+
|
359
|
+
# If nativeAd is set, HTMLSnippet and videoURL should not be set.
|
360
|
+
# Corresponds to the JSON property `nativeAd`
|
361
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd]
|
362
|
+
attr_accessor :native_ad
|
363
|
+
|
364
|
+
# Detected product categories, if any. Read-only. This field should not be set
|
365
|
+
# in requests.
|
366
|
+
# Corresponds to the JSON property `productCategories`
|
367
|
+
# @return [Array<Fixnum>]
|
368
|
+
attr_accessor :product_categories
|
369
|
+
|
370
|
+
# All restricted categories for the ads that may be shown from this snippet.
|
371
|
+
# Corresponds to the JSON property `restrictedCategories`
|
372
|
+
# @return [Array<Fixnum>]
|
373
|
+
attr_accessor :restricted_categories
|
374
|
+
|
375
|
+
# Detected sensitive categories, if any. Read-only. This field should not be set
|
376
|
+
# in requests.
|
377
|
+
# Corresponds to the JSON property `sensitiveCategories`
|
378
|
+
# @return [Array<Fixnum>]
|
379
|
+
attr_accessor :sensitive_categories
|
380
|
+
|
381
|
+
# Creative serving status. Read-only. This field should not be set in requests.
|
382
|
+
# Corresponds to the JSON property `status`
|
383
|
+
# @return [String]
|
384
|
+
attr_accessor :status
|
385
|
+
|
386
|
+
# All vendor types for the ads that may be shown from this snippet.
|
387
|
+
# Corresponds to the JSON property `vendorType`
|
388
|
+
# @return [Array<Fixnum>]
|
389
|
+
attr_accessor :vendor_type
|
390
|
+
|
391
|
+
# The version for this creative. Read-only. This field should not be set in
|
392
|
+
# requests.
|
393
|
+
# Corresponds to the JSON property `version`
|
394
|
+
# @return [Fixnum]
|
395
|
+
attr_accessor :version
|
396
|
+
|
397
|
+
# The url to fetch a video ad. If set, HTMLSnippet should not be set.
|
398
|
+
# Corresponds to the JSON property `videoURL`
|
399
|
+
# @return [String]
|
400
|
+
attr_accessor :video_url
|
401
|
+
|
402
|
+
# Ad width.
|
403
|
+
# Corresponds to the JSON property `width`
|
404
|
+
# @return [Fixnum]
|
405
|
+
attr_accessor :width
|
406
|
+
|
407
|
+
def initialize(**args)
|
408
|
+
update!(**args)
|
409
|
+
end
|
410
|
+
|
411
|
+
# Update properties of this object
|
412
|
+
def update!(**args)
|
413
|
+
@html_snippet = args[:html_snippet] if args.key?(:html_snippet)
|
414
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
415
|
+
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
416
|
+
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
|
417
|
+
@agency_id = args[:agency_id] if args.key?(:agency_id)
|
418
|
+
@api_upload_timestamp = args[:api_upload_timestamp] if args.key?(:api_upload_timestamp)
|
419
|
+
@attribute = args[:attribute] if args.key?(:attribute)
|
420
|
+
@buyer_creative_id = args[:buyer_creative_id] if args.key?(:buyer_creative_id)
|
421
|
+
@click_through_url = args[:click_through_url] if args.key?(:click_through_url)
|
422
|
+
@corrections = args[:corrections] if args.key?(:corrections)
|
423
|
+
@disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
|
424
|
+
@filtering_reasons = args[:filtering_reasons] if args.key?(:filtering_reasons)
|
425
|
+
@height = args[:height] if args.key?(:height)
|
426
|
+
@impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url)
|
427
|
+
@kind = args[:kind] if args.key?(:kind)
|
428
|
+
@native_ad = args[:native_ad] if args.key?(:native_ad)
|
429
|
+
@product_categories = args[:product_categories] if args.key?(:product_categories)
|
430
|
+
@restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories)
|
431
|
+
@sensitive_categories = args[:sensitive_categories] if args.key?(:sensitive_categories)
|
432
|
+
@status = args[:status] if args.key?(:status)
|
433
|
+
@vendor_type = args[:vendor_type] if args.key?(:vendor_type)
|
434
|
+
@version = args[:version] if args.key?(:version)
|
435
|
+
@video_url = args[:video_url] if args.key?(:video_url)
|
436
|
+
@width = args[:width] if args.key?(:width)
|
437
|
+
end
|
438
|
+
|
439
|
+
#
|
440
|
+
class Correction
|
441
|
+
include Google::Apis::Core::Hashable
|
442
|
+
|
443
|
+
# Additional details about the correction.
|
444
|
+
# Corresponds to the JSON property `details`
|
445
|
+
# @return [Array<String>]
|
446
|
+
attr_accessor :details
|
447
|
+
|
448
|
+
# The type of correction that was applied to the creative.
|
449
|
+
# Corresponds to the JSON property `reason`
|
450
|
+
# @return [String]
|
451
|
+
attr_accessor :reason
|
452
|
+
|
453
|
+
def initialize(**args)
|
454
|
+
update!(**args)
|
455
|
+
end
|
456
|
+
|
457
|
+
# Update properties of this object
|
458
|
+
def update!(**args)
|
459
|
+
@details = args[:details] if args.key?(:details)
|
460
|
+
@reason = args[:reason] if args.key?(:reason)
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
#
|
465
|
+
class DisapprovalReason
|
466
|
+
include Google::Apis::Core::Hashable
|
467
|
+
|
468
|
+
# Additional details about the reason for disapproval.
|
469
|
+
# Corresponds to the JSON property `details`
|
470
|
+
# @return [Array<String>]
|
471
|
+
attr_accessor :details
|
472
|
+
|
473
|
+
# The categorized reason for disapproval.
|
474
|
+
# Corresponds to the JSON property `reason`
|
475
|
+
# @return [String]
|
476
|
+
attr_accessor :reason
|
477
|
+
|
478
|
+
def initialize(**args)
|
479
|
+
update!(**args)
|
480
|
+
end
|
481
|
+
|
482
|
+
# Update properties of this object
|
483
|
+
def update!(**args)
|
484
|
+
@details = args[:details] if args.key?(:details)
|
485
|
+
@reason = args[:reason] if args.key?(:reason)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
# The filtering reasons for the creative. Read-only. This field should not be
|
490
|
+
# set in requests.
|
491
|
+
class FilteringReasons
|
492
|
+
include Google::Apis::Core::Hashable
|
493
|
+
|
494
|
+
# The date in ISO 8601 format for the data. The data is collected from 00:00:00
|
495
|
+
# to 23:59:59 in PST.
|
496
|
+
# Corresponds to the JSON property `date`
|
497
|
+
# @return [String]
|
498
|
+
attr_accessor :date
|
499
|
+
|
500
|
+
# The filtering reasons.
|
501
|
+
# Corresponds to the JSON property `reasons`
|
502
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::Creative::FilteringReasons::Reason>]
|
503
|
+
attr_accessor :reasons
|
504
|
+
|
505
|
+
def initialize(**args)
|
506
|
+
update!(**args)
|
507
|
+
end
|
508
|
+
|
509
|
+
# Update properties of this object
|
510
|
+
def update!(**args)
|
511
|
+
@date = args[:date] if args.key?(:date)
|
512
|
+
@reasons = args[:reasons] if args.key?(:reasons)
|
513
|
+
end
|
514
|
+
|
515
|
+
#
|
516
|
+
class Reason
|
517
|
+
include Google::Apis::Core::Hashable
|
518
|
+
|
519
|
+
# The number of times the creative was filtered for the status. The count is
|
520
|
+
# aggregated across all publishers on the exchange.
|
521
|
+
# Corresponds to the JSON property `filteringCount`
|
522
|
+
# @return [String]
|
523
|
+
attr_accessor :filtering_count
|
524
|
+
|
525
|
+
# The filtering status code. Please refer to the creative-status-codes.txt file
|
526
|
+
# for different statuses.
|
527
|
+
# Corresponds to the JSON property `filteringStatus`
|
528
|
+
# @return [Fixnum]
|
529
|
+
attr_accessor :filtering_status
|
530
|
+
|
531
|
+
def initialize(**args)
|
532
|
+
update!(**args)
|
533
|
+
end
|
534
|
+
|
535
|
+
# Update properties of this object
|
536
|
+
def update!(**args)
|
537
|
+
@filtering_count = args[:filtering_count] if args.key?(:filtering_count)
|
538
|
+
@filtering_status = args[:filtering_status] if args.key?(:filtering_status)
|
539
|
+
end
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
# If nativeAd is set, HTMLSnippet and videoURL should not be set.
|
544
|
+
class NativeAd
|
545
|
+
include Google::Apis::Core::Hashable
|
546
|
+
|
547
|
+
#
|
548
|
+
# Corresponds to the JSON property `advertiser`
|
549
|
+
# @return [String]
|
550
|
+
attr_accessor :advertiser
|
551
|
+
|
552
|
+
# The app icon, for app download ads.
|
553
|
+
# Corresponds to the JSON property `appIcon`
|
554
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd::AppIcon]
|
555
|
+
attr_accessor :app_icon
|
556
|
+
|
557
|
+
# A long description of the ad.
|
558
|
+
# Corresponds to the JSON property `body`
|
559
|
+
# @return [String]
|
560
|
+
attr_accessor :body
|
561
|
+
|
562
|
+
# A label for the button that the user is supposed to click.
|
563
|
+
# Corresponds to the JSON property `callToAction`
|
564
|
+
# @return [String]
|
565
|
+
attr_accessor :call_to_action
|
566
|
+
|
567
|
+
# The URL to use for click tracking.
|
568
|
+
# Corresponds to the JSON property `clickTrackingUrl`
|
569
|
+
# @return [String]
|
570
|
+
attr_accessor :click_tracking_url
|
571
|
+
|
572
|
+
# A short title for the ad.
|
573
|
+
# Corresponds to the JSON property `headline`
|
574
|
+
# @return [String]
|
575
|
+
attr_accessor :headline
|
576
|
+
|
577
|
+
# A large image.
|
578
|
+
# Corresponds to the JSON property `image`
|
579
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd::Image]
|
580
|
+
attr_accessor :image
|
581
|
+
|
582
|
+
# The URLs are called when the impression is rendered.
|
583
|
+
# Corresponds to the JSON property `impressionTrackingUrl`
|
584
|
+
# @return [Array<String>]
|
585
|
+
attr_accessor :impression_tracking_url
|
586
|
+
|
587
|
+
# A smaller image, for the advertiser logo.
|
588
|
+
# Corresponds to the JSON property `logo`
|
589
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Creative::NativeAd::Logo]
|
590
|
+
attr_accessor :logo
|
591
|
+
|
592
|
+
# The price of the promoted app including the currency info.
|
593
|
+
# Corresponds to the JSON property `price`
|
594
|
+
# @return [String]
|
595
|
+
attr_accessor :price
|
596
|
+
|
597
|
+
# The app rating in the app store. Must be in the range [0-5].
|
598
|
+
# Corresponds to the JSON property `starRating`
|
599
|
+
# @return [Float]
|
600
|
+
attr_accessor :star_rating
|
601
|
+
|
602
|
+
# The URL to the app store to purchase/download the promoted app.
|
603
|
+
# Corresponds to the JSON property `store`
|
604
|
+
# @return [String]
|
605
|
+
attr_accessor :store
|
606
|
+
|
607
|
+
def initialize(**args)
|
608
|
+
update!(**args)
|
609
|
+
end
|
610
|
+
|
611
|
+
# Update properties of this object
|
612
|
+
def update!(**args)
|
613
|
+
@advertiser = args[:advertiser] if args.key?(:advertiser)
|
614
|
+
@app_icon = args[:app_icon] if args.key?(:app_icon)
|
615
|
+
@body = args[:body] if args.key?(:body)
|
616
|
+
@call_to_action = args[:call_to_action] if args.key?(:call_to_action)
|
617
|
+
@click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
|
618
|
+
@headline = args[:headline] if args.key?(:headline)
|
619
|
+
@image = args[:image] if args.key?(:image)
|
620
|
+
@impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url)
|
621
|
+
@logo = args[:logo] if args.key?(:logo)
|
622
|
+
@price = args[:price] if args.key?(:price)
|
623
|
+
@star_rating = args[:star_rating] if args.key?(:star_rating)
|
624
|
+
@store = args[:store] if args.key?(:store)
|
625
|
+
end
|
626
|
+
|
627
|
+
# The app icon, for app download ads.
|
628
|
+
class AppIcon
|
629
|
+
include Google::Apis::Core::Hashable
|
630
|
+
|
631
|
+
#
|
632
|
+
# Corresponds to the JSON property `height`
|
633
|
+
# @return [Fixnum]
|
634
|
+
attr_accessor :height
|
635
|
+
|
636
|
+
#
|
637
|
+
# Corresponds to the JSON property `url`
|
638
|
+
# @return [String]
|
639
|
+
attr_accessor :url
|
640
|
+
|
641
|
+
#
|
642
|
+
# Corresponds to the JSON property `width`
|
643
|
+
# @return [Fixnum]
|
644
|
+
attr_accessor :width
|
645
|
+
|
646
|
+
def initialize(**args)
|
647
|
+
update!(**args)
|
648
|
+
end
|
649
|
+
|
650
|
+
# Update properties of this object
|
651
|
+
def update!(**args)
|
652
|
+
@height = args[:height] if args.key?(:height)
|
653
|
+
@url = args[:url] if args.key?(:url)
|
654
|
+
@width = args[:width] if args.key?(:width)
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
# A large image.
|
659
|
+
class Image
|
660
|
+
include Google::Apis::Core::Hashable
|
661
|
+
|
662
|
+
#
|
663
|
+
# Corresponds to the JSON property `height`
|
664
|
+
# @return [Fixnum]
|
665
|
+
attr_accessor :height
|
666
|
+
|
667
|
+
#
|
668
|
+
# Corresponds to the JSON property `url`
|
669
|
+
# @return [String]
|
670
|
+
attr_accessor :url
|
671
|
+
|
672
|
+
#
|
673
|
+
# Corresponds to the JSON property `width`
|
674
|
+
# @return [Fixnum]
|
675
|
+
attr_accessor :width
|
676
|
+
|
677
|
+
def initialize(**args)
|
678
|
+
update!(**args)
|
679
|
+
end
|
680
|
+
|
681
|
+
# Update properties of this object
|
682
|
+
def update!(**args)
|
683
|
+
@height = args[:height] if args.key?(:height)
|
684
|
+
@url = args[:url] if args.key?(:url)
|
685
|
+
@width = args[:width] if args.key?(:width)
|
686
|
+
end
|
687
|
+
end
|
688
|
+
|
689
|
+
# A smaller image, for the advertiser logo.
|
690
|
+
class Logo
|
691
|
+
include Google::Apis::Core::Hashable
|
692
|
+
|
693
|
+
#
|
694
|
+
# Corresponds to the JSON property `height`
|
695
|
+
# @return [Fixnum]
|
696
|
+
attr_accessor :height
|
697
|
+
|
698
|
+
#
|
699
|
+
# Corresponds to the JSON property `url`
|
700
|
+
# @return [String]
|
701
|
+
attr_accessor :url
|
702
|
+
|
703
|
+
#
|
704
|
+
# Corresponds to the JSON property `width`
|
705
|
+
# @return [Fixnum]
|
706
|
+
attr_accessor :width
|
707
|
+
|
708
|
+
def initialize(**args)
|
709
|
+
update!(**args)
|
710
|
+
end
|
711
|
+
|
712
|
+
# Update properties of this object
|
713
|
+
def update!(**args)
|
714
|
+
@height = args[:height] if args.key?(:height)
|
715
|
+
@url = args[:url] if args.key?(:url)
|
716
|
+
@width = args[:width] if args.key?(:width)
|
717
|
+
end
|
718
|
+
end
|
719
|
+
end
|
720
|
+
end
|
721
|
+
|
722
|
+
# The creatives feed lists the active creatives for the Ad Exchange buyer
|
723
|
+
# accounts that the user has access to. Each entry in the feed corresponds to a
|
724
|
+
# single creative.
|
725
|
+
class CreativesList
|
726
|
+
include Google::Apis::Core::Hashable
|
727
|
+
|
728
|
+
# A list of creatives.
|
729
|
+
# Corresponds to the JSON property `items`
|
730
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::Creative>]
|
731
|
+
attr_accessor :items
|
732
|
+
|
733
|
+
# Resource type.
|
734
|
+
# Corresponds to the JSON property `kind`
|
735
|
+
# @return [String]
|
736
|
+
attr_accessor :kind
|
737
|
+
|
738
|
+
# Continuation token used to page through creatives. To retrieve the next page
|
739
|
+
# of results, set the next request's "pageToken" value to this.
|
740
|
+
# Corresponds to the JSON property `nextPageToken`
|
741
|
+
# @return [String]
|
742
|
+
attr_accessor :next_page_token
|
743
|
+
|
744
|
+
def initialize(**args)
|
745
|
+
update!(**args)
|
746
|
+
end
|
747
|
+
|
748
|
+
# Update properties of this object
|
749
|
+
def update!(**args)
|
750
|
+
@items = args[:items] if args.key?(:items)
|
751
|
+
@kind = args[:kind] if args.key?(:kind)
|
752
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
# The configuration data for an Ad Exchange direct deal.
|
757
|
+
class DirectDeal
|
758
|
+
include Google::Apis::Core::Hashable
|
759
|
+
|
760
|
+
# The account id of the buyer this deal is for.
|
761
|
+
# Corresponds to the JSON property `accountId`
|
762
|
+
# @return [Fixnum]
|
763
|
+
attr_accessor :account_id
|
764
|
+
|
765
|
+
# The name of the advertiser this deal is for.
|
766
|
+
# Corresponds to the JSON property `advertiser`
|
767
|
+
# @return [String]
|
768
|
+
attr_accessor :advertiser
|
769
|
+
|
770
|
+
# The currency code that applies to the fixed_cpm value. If not set then assumed
|
771
|
+
# to be USD.
|
772
|
+
# Corresponds to the JSON property `currencyCode`
|
773
|
+
# @return [String]
|
774
|
+
attr_accessor :currency_code
|
775
|
+
|
776
|
+
# The deal type such as programmatic reservation or fixed price and so on.
|
777
|
+
# Corresponds to the JSON property `dealTier`
|
778
|
+
# @return [String]
|
779
|
+
attr_accessor :deal_tier
|
780
|
+
|
781
|
+
# End time for when this deal stops being active. If not set then this deal is
|
782
|
+
# valid until manually disabled by the publisher. In seconds since the epoch.
|
783
|
+
# Corresponds to the JSON property `endTime`
|
784
|
+
# @return [String]
|
785
|
+
attr_accessor :end_time
|
786
|
+
|
787
|
+
# The fixed price for this direct deal. In cpm micros of currency according to
|
788
|
+
# currency_code. If set, then this deal is eligible for the fixed price tier of
|
789
|
+
# buying (highest priority, pay exactly the configured fixed price).
|
790
|
+
# Corresponds to the JSON property `fixedCpm`
|
791
|
+
# @return [String]
|
792
|
+
attr_accessor :fixed_cpm
|
793
|
+
|
794
|
+
# Deal id.
|
795
|
+
# Corresponds to the JSON property `id`
|
796
|
+
# @return [String]
|
797
|
+
attr_accessor :id
|
798
|
+
|
799
|
+
# Resource type.
|
800
|
+
# Corresponds to the JSON property `kind`
|
801
|
+
# @return [String]
|
802
|
+
attr_accessor :kind
|
803
|
+
|
804
|
+
# Deal name.
|
805
|
+
# Corresponds to the JSON property `name`
|
806
|
+
# @return [String]
|
807
|
+
attr_accessor :name
|
808
|
+
|
809
|
+
# The minimum price for this direct deal. In cpm micros of currency according to
|
810
|
+
# currency_code. If set, then this deal is eligible for the private exchange
|
811
|
+
# tier of buying (below fixed price priority, run as a second price auction).
|
812
|
+
# Corresponds to the JSON property `privateExchangeMinCpm`
|
813
|
+
# @return [String]
|
814
|
+
attr_accessor :private_exchange_min_cpm
|
815
|
+
|
816
|
+
# If true, the publisher has opted to have their blocks ignored when a creative
|
817
|
+
# is bid with for this deal.
|
818
|
+
# Corresponds to the JSON property `publisherBlocksOverriden`
|
819
|
+
# @return [Boolean]
|
820
|
+
attr_accessor :publisher_blocks_overriden
|
821
|
+
alias_method :publisher_blocks_overriden?, :publisher_blocks_overriden
|
822
|
+
|
823
|
+
# The name of the publisher offering this direct deal.
|
824
|
+
# Corresponds to the JSON property `sellerNetwork`
|
825
|
+
# @return [String]
|
826
|
+
attr_accessor :seller_network
|
827
|
+
|
828
|
+
# Start time for when this deal becomes active. If not set then this deal is
|
829
|
+
# active immediately upon creation. In seconds since the epoch.
|
830
|
+
# Corresponds to the JSON property `startTime`
|
831
|
+
# @return [String]
|
832
|
+
attr_accessor :start_time
|
833
|
+
|
834
|
+
def initialize(**args)
|
835
|
+
update!(**args)
|
836
|
+
end
|
837
|
+
|
838
|
+
# Update properties of this object
|
839
|
+
def update!(**args)
|
840
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
841
|
+
@advertiser = args[:advertiser] if args.key?(:advertiser)
|
842
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
843
|
+
@deal_tier = args[:deal_tier] if args.key?(:deal_tier)
|
844
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
845
|
+
@fixed_cpm = args[:fixed_cpm] if args.key?(:fixed_cpm)
|
846
|
+
@id = args[:id] if args.key?(:id)
|
847
|
+
@kind = args[:kind] if args.key?(:kind)
|
848
|
+
@name = args[:name] if args.key?(:name)
|
849
|
+
@private_exchange_min_cpm = args[:private_exchange_min_cpm] if args.key?(:private_exchange_min_cpm)
|
850
|
+
@publisher_blocks_overriden = args[:publisher_blocks_overriden] if args.key?(:publisher_blocks_overriden)
|
851
|
+
@seller_network = args[:seller_network] if args.key?(:seller_network)
|
852
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
856
|
+
# A direct deals feed lists Direct Deals the Ad Exchange buyer account has
|
857
|
+
# access to. This includes direct deals set up for the buyer account as well as
|
858
|
+
# its merged stream seats.
|
859
|
+
class DirectDealsList
|
860
|
+
include Google::Apis::Core::Hashable
|
861
|
+
|
862
|
+
# A list of direct deals relevant for your account.
|
863
|
+
# Corresponds to the JSON property `directDeals`
|
864
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::DirectDeal>]
|
865
|
+
attr_accessor :direct_deals
|
866
|
+
|
867
|
+
# Resource type.
|
868
|
+
# Corresponds to the JSON property `kind`
|
869
|
+
# @return [String]
|
870
|
+
attr_accessor :kind
|
871
|
+
|
872
|
+
def initialize(**args)
|
873
|
+
update!(**args)
|
874
|
+
end
|
875
|
+
|
876
|
+
# Update properties of this object
|
877
|
+
def update!(**args)
|
878
|
+
@direct_deals = args[:direct_deals] if args.key?(:direct_deals)
|
879
|
+
@kind = args[:kind] if args.key?(:kind)
|
880
|
+
end
|
881
|
+
end
|
882
|
+
|
883
|
+
# The configuration data for an Ad Exchange performance report list.
|
884
|
+
class PerformanceReport
|
885
|
+
include Google::Apis::Core::Hashable
|
886
|
+
|
887
|
+
# The number of bid responses with an ad.
|
888
|
+
# Corresponds to the JSON property `bidRate`
|
889
|
+
# @return [Float]
|
890
|
+
attr_accessor :bid_rate
|
891
|
+
|
892
|
+
# The number of bid requests sent to your bidder.
|
893
|
+
# Corresponds to the JSON property `bidRequestRate`
|
894
|
+
# @return [Float]
|
895
|
+
attr_accessor :bid_request_rate
|
896
|
+
|
897
|
+
# Rate of various prefiltering statuses per match. Please refer to the callout-
|
898
|
+
# status-codes.txt file for different statuses.
|
899
|
+
# Corresponds to the JSON property `calloutStatusRate`
|
900
|
+
# @return [Array<Object>]
|
901
|
+
attr_accessor :callout_status_rate
|
902
|
+
|
903
|
+
# Average QPS for cookie matcher operations.
|
904
|
+
# Corresponds to the JSON property `cookieMatcherStatusRate`
|
905
|
+
# @return [Array<Object>]
|
906
|
+
attr_accessor :cookie_matcher_status_rate
|
907
|
+
|
908
|
+
# Rate of ads with a given status. Please refer to the creative-status-codes.txt
|
909
|
+
# file for different statuses.
|
910
|
+
# Corresponds to the JSON property `creativeStatusRate`
|
911
|
+
# @return [Array<Object>]
|
912
|
+
attr_accessor :creative_status_rate
|
913
|
+
|
914
|
+
# The number of bid responses that were filtered due to a policy violation or
|
915
|
+
# other errors.
|
916
|
+
# Corresponds to the JSON property `filteredBidRate`
|
917
|
+
# @return [Float]
|
918
|
+
attr_accessor :filtered_bid_rate
|
919
|
+
|
920
|
+
# Average QPS for hosted match operations.
|
921
|
+
# Corresponds to the JSON property `hostedMatchStatusRate`
|
922
|
+
# @return [Array<Object>]
|
923
|
+
attr_accessor :hosted_match_status_rate
|
924
|
+
|
925
|
+
# The number of potential queries based on your pretargeting settings.
|
926
|
+
# Corresponds to the JSON property `inventoryMatchRate`
|
927
|
+
# @return [Float]
|
928
|
+
attr_accessor :inventory_match_rate
|
929
|
+
|
930
|
+
# Resource type.
|
931
|
+
# Corresponds to the JSON property `kind`
|
932
|
+
# @return [String]
|
933
|
+
attr_accessor :kind
|
934
|
+
|
935
|
+
# The 50th percentile round trip latency(ms) as perceived from Google servers
|
936
|
+
# for the duration period covered by the report.
|
937
|
+
# Corresponds to the JSON property `latency50thPercentile`
|
938
|
+
# @return [Float]
|
939
|
+
attr_accessor :latency_50th_percentile
|
940
|
+
|
941
|
+
# The 85th percentile round trip latency(ms) as perceived from Google servers
|
942
|
+
# for the duration period covered by the report.
|
943
|
+
# Corresponds to the JSON property `latency85thPercentile`
|
944
|
+
# @return [Float]
|
945
|
+
attr_accessor :latency_85th_percentile
|
946
|
+
|
947
|
+
# The 95th percentile round trip latency(ms) as perceived from Google servers
|
948
|
+
# for the duration period covered by the report.
|
949
|
+
# Corresponds to the JSON property `latency95thPercentile`
|
950
|
+
# @return [Float]
|
951
|
+
attr_accessor :latency_95th_percentile
|
952
|
+
|
953
|
+
# Rate of various quota account statuses per quota check.
|
954
|
+
# Corresponds to the JSON property `noQuotaInRegion`
|
955
|
+
# @return [Float]
|
956
|
+
attr_accessor :no_quota_in_region
|
957
|
+
|
958
|
+
# Rate of various quota account statuses per quota check.
|
959
|
+
# Corresponds to the JSON property `outOfQuota`
|
960
|
+
# @return [Float]
|
961
|
+
attr_accessor :out_of_quota
|
962
|
+
|
963
|
+
# Average QPS for pixel match requests from clients.
|
964
|
+
# Corresponds to the JSON property `pixelMatchRequests`
|
965
|
+
# @return [Float]
|
966
|
+
attr_accessor :pixel_match_requests
|
967
|
+
|
968
|
+
# Average QPS for pixel match responses from clients.
|
969
|
+
# Corresponds to the JSON property `pixelMatchResponses`
|
970
|
+
# @return [Float]
|
971
|
+
attr_accessor :pixel_match_responses
|
972
|
+
|
973
|
+
# The configured quota limits for this account.
|
974
|
+
# Corresponds to the JSON property `quotaConfiguredLimit`
|
975
|
+
# @return [Float]
|
976
|
+
attr_accessor :quota_configured_limit
|
977
|
+
|
978
|
+
# The throttled quota limits for this account.
|
979
|
+
# Corresponds to the JSON property `quotaThrottledLimit`
|
980
|
+
# @return [Float]
|
981
|
+
attr_accessor :quota_throttled_limit
|
982
|
+
|
983
|
+
# The trading location of this data.
|
984
|
+
# Corresponds to the JSON property `region`
|
985
|
+
# @return [String]
|
986
|
+
attr_accessor :region
|
987
|
+
|
988
|
+
# The number of properly formed bid responses received by our servers within the
|
989
|
+
# deadline.
|
990
|
+
# Corresponds to the JSON property `successfulRequestRate`
|
991
|
+
# @return [Float]
|
992
|
+
attr_accessor :successful_request_rate
|
993
|
+
|
994
|
+
# The unix timestamp of the starting time of this performance data.
|
995
|
+
# Corresponds to the JSON property `timestamp`
|
996
|
+
# @return [String]
|
997
|
+
attr_accessor :timestamp
|
998
|
+
|
999
|
+
# The number of bid responses that were unsuccessful due to timeouts, incorrect
|
1000
|
+
# formatting, etc.
|
1001
|
+
# Corresponds to the JSON property `unsuccessfulRequestRate`
|
1002
|
+
# @return [Float]
|
1003
|
+
attr_accessor :unsuccessful_request_rate
|
1004
|
+
|
1005
|
+
def initialize(**args)
|
1006
|
+
update!(**args)
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# Update properties of this object
|
1010
|
+
def update!(**args)
|
1011
|
+
@bid_rate = args[:bid_rate] if args.key?(:bid_rate)
|
1012
|
+
@bid_request_rate = args[:bid_request_rate] if args.key?(:bid_request_rate)
|
1013
|
+
@callout_status_rate = args[:callout_status_rate] if args.key?(:callout_status_rate)
|
1014
|
+
@cookie_matcher_status_rate = args[:cookie_matcher_status_rate] if args.key?(:cookie_matcher_status_rate)
|
1015
|
+
@creative_status_rate = args[:creative_status_rate] if args.key?(:creative_status_rate)
|
1016
|
+
@filtered_bid_rate = args[:filtered_bid_rate] if args.key?(:filtered_bid_rate)
|
1017
|
+
@hosted_match_status_rate = args[:hosted_match_status_rate] if args.key?(:hosted_match_status_rate)
|
1018
|
+
@inventory_match_rate = args[:inventory_match_rate] if args.key?(:inventory_match_rate)
|
1019
|
+
@kind = args[:kind] if args.key?(:kind)
|
1020
|
+
@latency_50th_percentile = args[:latency_50th_percentile] if args.key?(:latency_50th_percentile)
|
1021
|
+
@latency_85th_percentile = args[:latency_85th_percentile] if args.key?(:latency_85th_percentile)
|
1022
|
+
@latency_95th_percentile = args[:latency_95th_percentile] if args.key?(:latency_95th_percentile)
|
1023
|
+
@no_quota_in_region = args[:no_quota_in_region] if args.key?(:no_quota_in_region)
|
1024
|
+
@out_of_quota = args[:out_of_quota] if args.key?(:out_of_quota)
|
1025
|
+
@pixel_match_requests = args[:pixel_match_requests] if args.key?(:pixel_match_requests)
|
1026
|
+
@pixel_match_responses = args[:pixel_match_responses] if args.key?(:pixel_match_responses)
|
1027
|
+
@quota_configured_limit = args[:quota_configured_limit] if args.key?(:quota_configured_limit)
|
1028
|
+
@quota_throttled_limit = args[:quota_throttled_limit] if args.key?(:quota_throttled_limit)
|
1029
|
+
@region = args[:region] if args.key?(:region)
|
1030
|
+
@successful_request_rate = args[:successful_request_rate] if args.key?(:successful_request_rate)
|
1031
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
1032
|
+
@unsuccessful_request_rate = args[:unsuccessful_request_rate] if args.key?(:unsuccessful_request_rate)
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# The configuration data for an Ad Exchange performance report list. https://
|
1037
|
+
# sites.google.com/a/google.com/adx-integration/Home/engineering/binary-releases/
|
1038
|
+
# rtb-api-release https://cs.corp.google.com/#piper///depot/google3/contentads/
|
1039
|
+
# adx/tools/rtb_api/adxrtb.py
|
1040
|
+
class PerformanceReportList
|
1041
|
+
include Google::Apis::Core::Hashable
|
1042
|
+
|
1043
|
+
# Resource type.
|
1044
|
+
# Corresponds to the JSON property `kind`
|
1045
|
+
# @return [String]
|
1046
|
+
attr_accessor :kind
|
1047
|
+
|
1048
|
+
# A list of performance reports relevant for the account.
|
1049
|
+
# Corresponds to the JSON property `performanceReport`
|
1050
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::PerformanceReport>]
|
1051
|
+
attr_accessor :performance_report
|
1052
|
+
|
1053
|
+
def initialize(**args)
|
1054
|
+
update!(**args)
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# Update properties of this object
|
1058
|
+
def update!(**args)
|
1059
|
+
@kind = args[:kind] if args.key?(:kind)
|
1060
|
+
@performance_report = args[:performance_report] if args.key?(:performance_report)
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
#
|
1065
|
+
class PretargetingConfig
|
1066
|
+
include Google::Apis::Core::Hashable
|
1067
|
+
|
1068
|
+
# The id for billing purposes, provided for reference. Leave this field blank
|
1069
|
+
# for insert requests; the id will be generated automatically.
|
1070
|
+
# Corresponds to the JSON property `billingId`
|
1071
|
+
# @return [String]
|
1072
|
+
attr_accessor :billing_id
|
1073
|
+
|
1074
|
+
# The config id; generated automatically. Leave this field blank for insert
|
1075
|
+
# requests.
|
1076
|
+
# Corresponds to the JSON property `configId`
|
1077
|
+
# @return [String]
|
1078
|
+
attr_accessor :config_id
|
1079
|
+
|
1080
|
+
# The name of the config. Must be unique. Required for all requests.
|
1081
|
+
# Corresponds to the JSON property `configName`
|
1082
|
+
# @return [String]
|
1083
|
+
attr_accessor :config_name
|
1084
|
+
|
1085
|
+
# List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or
|
1086
|
+
# PRETARGETING_CREATIVE_TYPE_VIDEO.
|
1087
|
+
# Corresponds to the JSON property `creativeType`
|
1088
|
+
# @return [Array<String>]
|
1089
|
+
attr_accessor :creative_type
|
1090
|
+
|
1091
|
+
# Requests which allow one of these (width, height) pairs will match. All pairs
|
1092
|
+
# must be supported ad dimensions.
|
1093
|
+
# Corresponds to the JSON property `dimensions`
|
1094
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Dimension>]
|
1095
|
+
attr_accessor :dimensions
|
1096
|
+
|
1097
|
+
# Requests with any of these content labels will not match. Values are from
|
1098
|
+
# content-labels.txt in the downloadable files section.
|
1099
|
+
# Corresponds to the JSON property `excludedContentLabels`
|
1100
|
+
# @return [Array<String>]
|
1101
|
+
attr_accessor :excluded_content_labels
|
1102
|
+
|
1103
|
+
# Requests containing any of these geo criteria ids will not match.
|
1104
|
+
# Corresponds to the JSON property `excludedGeoCriteriaIds`
|
1105
|
+
# @return [Array<String>]
|
1106
|
+
attr_accessor :excluded_geo_criteria_ids
|
1107
|
+
|
1108
|
+
# Requests containing any of these placements will not match.
|
1109
|
+
# Corresponds to the JSON property `excludedPlacements`
|
1110
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::ExcludedPlacement>]
|
1111
|
+
attr_accessor :excluded_placements
|
1112
|
+
|
1113
|
+
# Requests containing any of these users list ids will not match.
|
1114
|
+
# Corresponds to the JSON property `excludedUserLists`
|
1115
|
+
# @return [Array<String>]
|
1116
|
+
attr_accessor :excluded_user_lists
|
1117
|
+
|
1118
|
+
# Requests containing any of these vertical ids will not match. Values are from
|
1119
|
+
# the publisher-verticals.txt file in the downloadable files section.
|
1120
|
+
# Corresponds to the JSON property `excludedVerticals`
|
1121
|
+
# @return [Array<String>]
|
1122
|
+
attr_accessor :excluded_verticals
|
1123
|
+
|
1124
|
+
# Requests containing any of these geo criteria ids will match.
|
1125
|
+
# Corresponds to the JSON property `geoCriteriaIds`
|
1126
|
+
# @return [Array<String>]
|
1127
|
+
attr_accessor :geo_criteria_ids
|
1128
|
+
|
1129
|
+
# Whether this config is active. Required for all requests.
|
1130
|
+
# Corresponds to the JSON property `isActive`
|
1131
|
+
# @return [Boolean]
|
1132
|
+
attr_accessor :is_active
|
1133
|
+
alias_method :is_active?, :is_active
|
1134
|
+
|
1135
|
+
# The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
|
1136
|
+
# Corresponds to the JSON property `kind`
|
1137
|
+
# @return [String]
|
1138
|
+
attr_accessor :kind
|
1139
|
+
|
1140
|
+
# Request containing any of these language codes will match.
|
1141
|
+
# Corresponds to the JSON property `languages`
|
1142
|
+
# @return [Array<String>]
|
1143
|
+
attr_accessor :languages
|
1144
|
+
|
1145
|
+
# Requests containing any of these mobile carrier ids will match. Values are
|
1146
|
+
# from mobile-carriers.csv in the downloadable files section.
|
1147
|
+
# Corresponds to the JSON property `mobileCarriers`
|
1148
|
+
# @return [Array<String>]
|
1149
|
+
attr_accessor :mobile_carriers
|
1150
|
+
|
1151
|
+
# Requests containing any of these mobile device ids will match. Values are from
|
1152
|
+
# mobile-devices.csv in the downloadable files section.
|
1153
|
+
# Corresponds to the JSON property `mobileDevices`
|
1154
|
+
# @return [Array<String>]
|
1155
|
+
attr_accessor :mobile_devices
|
1156
|
+
|
1157
|
+
# Requests containing any of these mobile operating system version ids will
|
1158
|
+
# match. Values are from mobile-os.csv in the downloadable files section.
|
1159
|
+
# Corresponds to the JSON property `mobileOperatingSystemVersions`
|
1160
|
+
# @return [Array<String>]
|
1161
|
+
attr_accessor :mobile_operating_system_versions
|
1162
|
+
|
1163
|
+
# Requests containing any of these placements will match.
|
1164
|
+
# Corresponds to the JSON property `placements`
|
1165
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Placement>]
|
1166
|
+
attr_accessor :placements
|
1167
|
+
|
1168
|
+
# Requests matching any of these platforms will match. Possible values are
|
1169
|
+
# PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and
|
1170
|
+
# PRETARGETING_PLATFORM_TABLET.
|
1171
|
+
# Corresponds to the JSON property `platforms`
|
1172
|
+
# @return [Array<String>]
|
1173
|
+
attr_accessor :platforms
|
1174
|
+
|
1175
|
+
# Creative attributes should be declared here if all creatives corresponding to
|
1176
|
+
# this pretargeting configuration have that creative attribute. Values are from
|
1177
|
+
# pretargetable-creative-attributes.txt in the downloadable files section.
|
1178
|
+
# Corresponds to the JSON property `supportedCreativeAttributes`
|
1179
|
+
# @return [Array<String>]
|
1180
|
+
attr_accessor :supported_creative_attributes
|
1181
|
+
|
1182
|
+
# Requests containing any of these user list ids will match.
|
1183
|
+
# Corresponds to the JSON property `userLists`
|
1184
|
+
# @return [Array<String>]
|
1185
|
+
attr_accessor :user_lists
|
1186
|
+
|
1187
|
+
# Requests that allow any of these vendor ids will match. Values are from
|
1188
|
+
# vendors.txt in the downloadable files section.
|
1189
|
+
# Corresponds to the JSON property `vendorTypes`
|
1190
|
+
# @return [Array<String>]
|
1191
|
+
attr_accessor :vendor_types
|
1192
|
+
|
1193
|
+
# Requests containing any of these vertical ids will match.
|
1194
|
+
# Corresponds to the JSON property `verticals`
|
1195
|
+
# @return [Array<String>]
|
1196
|
+
attr_accessor :verticals
|
1197
|
+
|
1198
|
+
def initialize(**args)
|
1199
|
+
update!(**args)
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# Update properties of this object
|
1203
|
+
def update!(**args)
|
1204
|
+
@billing_id = args[:billing_id] if args.key?(:billing_id)
|
1205
|
+
@config_id = args[:config_id] if args.key?(:config_id)
|
1206
|
+
@config_name = args[:config_name] if args.key?(:config_name)
|
1207
|
+
@creative_type = args[:creative_type] if args.key?(:creative_type)
|
1208
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
1209
|
+
@excluded_content_labels = args[:excluded_content_labels] if args.key?(:excluded_content_labels)
|
1210
|
+
@excluded_geo_criteria_ids = args[:excluded_geo_criteria_ids] if args.key?(:excluded_geo_criteria_ids)
|
1211
|
+
@excluded_placements = args[:excluded_placements] if args.key?(:excluded_placements)
|
1212
|
+
@excluded_user_lists = args[:excluded_user_lists] if args.key?(:excluded_user_lists)
|
1213
|
+
@excluded_verticals = args[:excluded_verticals] if args.key?(:excluded_verticals)
|
1214
|
+
@geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids)
|
1215
|
+
@is_active = args[:is_active] if args.key?(:is_active)
|
1216
|
+
@kind = args[:kind] if args.key?(:kind)
|
1217
|
+
@languages = args[:languages] if args.key?(:languages)
|
1218
|
+
@mobile_carriers = args[:mobile_carriers] if args.key?(:mobile_carriers)
|
1219
|
+
@mobile_devices = args[:mobile_devices] if args.key?(:mobile_devices)
|
1220
|
+
@mobile_operating_system_versions = args[:mobile_operating_system_versions] if args.key?(:mobile_operating_system_versions)
|
1221
|
+
@placements = args[:placements] if args.key?(:placements)
|
1222
|
+
@platforms = args[:platforms] if args.key?(:platforms)
|
1223
|
+
@supported_creative_attributes = args[:supported_creative_attributes] if args.key?(:supported_creative_attributes)
|
1224
|
+
@user_lists = args[:user_lists] if args.key?(:user_lists)
|
1225
|
+
@vendor_types = args[:vendor_types] if args.key?(:vendor_types)
|
1226
|
+
@verticals = args[:verticals] if args.key?(:verticals)
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
#
|
1230
|
+
class Dimension
|
1231
|
+
include Google::Apis::Core::Hashable
|
1232
|
+
|
1233
|
+
# Height in pixels.
|
1234
|
+
# Corresponds to the JSON property `height`
|
1235
|
+
# @return [String]
|
1236
|
+
attr_accessor :height
|
1237
|
+
|
1238
|
+
# Width in pixels.
|
1239
|
+
# Corresponds to the JSON property `width`
|
1240
|
+
# @return [String]
|
1241
|
+
attr_accessor :width
|
1242
|
+
|
1243
|
+
def initialize(**args)
|
1244
|
+
update!(**args)
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
# Update properties of this object
|
1248
|
+
def update!(**args)
|
1249
|
+
@height = args[:height] if args.key?(:height)
|
1250
|
+
@width = args[:width] if args.key?(:width)
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
#
|
1255
|
+
class ExcludedPlacement
|
1256
|
+
include Google::Apis::Core::Hashable
|
1257
|
+
|
1258
|
+
# The value of the placement. Interpretation depends on the placement type, e.g.
|
1259
|
+
# URL for a site placement, channel name for a channel placement, app id for a
|
1260
|
+
# mobile app placement.
|
1261
|
+
# Corresponds to the JSON property `token`
|
1262
|
+
# @return [String]
|
1263
|
+
attr_accessor :token
|
1264
|
+
|
1265
|
+
# The type of the placement.
|
1266
|
+
# Corresponds to the JSON property `type`
|
1267
|
+
# @return [String]
|
1268
|
+
attr_accessor :type
|
1269
|
+
|
1270
|
+
def initialize(**args)
|
1271
|
+
update!(**args)
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
# Update properties of this object
|
1275
|
+
def update!(**args)
|
1276
|
+
@token = args[:token] if args.key?(:token)
|
1277
|
+
@type = args[:type] if args.key?(:type)
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
#
|
1282
|
+
class Placement
|
1283
|
+
include Google::Apis::Core::Hashable
|
1284
|
+
|
1285
|
+
# The value of the placement. Interpretation depends on the placement type, e.g.
|
1286
|
+
# URL for a site placement, channel name for a channel placement, app id for a
|
1287
|
+
# mobile app placement.
|
1288
|
+
# Corresponds to the JSON property `token`
|
1289
|
+
# @return [String]
|
1290
|
+
attr_accessor :token
|
1291
|
+
|
1292
|
+
# The type of the placement.
|
1293
|
+
# Corresponds to the JSON property `type`
|
1294
|
+
# @return [String]
|
1295
|
+
attr_accessor :type
|
1296
|
+
|
1297
|
+
def initialize(**args)
|
1298
|
+
update!(**args)
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# Update properties of this object
|
1302
|
+
def update!(**args)
|
1303
|
+
@token = args[:token] if args.key?(:token)
|
1304
|
+
@type = args[:type] if args.key?(:type)
|
1305
|
+
end
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
#
|
1310
|
+
class PretargetingConfigList
|
1311
|
+
include Google::Apis::Core::Hashable
|
1312
|
+
|
1313
|
+
# A list of pretargeting configs
|
1314
|
+
# Corresponds to the JSON property `items`
|
1315
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig>]
|
1316
|
+
attr_accessor :items
|
1317
|
+
|
1318
|
+
# Resource type.
|
1319
|
+
# Corresponds to the JSON property `kind`
|
1320
|
+
# @return [String]
|
1321
|
+
attr_accessor :kind
|
1322
|
+
|
1323
|
+
def initialize(**args)
|
1324
|
+
update!(**args)
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
# Update properties of this object
|
1328
|
+
def update!(**args)
|
1329
|
+
@items = args[:items] if args.key?(:items)
|
1330
|
+
@kind = args[:kind] if args.key?(:kind)
|
1331
|
+
end
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
end
|