diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index cefcba3222e..66bc2f48434 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,4 +1,4 @@
-# Copyright 2025 Google LLC
+# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:latest
- digest: sha256:89526e4d0c2f9e11da737d8f00373b459459390811b9d47af68bd66a8a65984a
-# created: 2025-11-03T16:04:39.848021946Z
+ digest: sha256:cac41cc2a0c55bc382cdd90cbd9b2671f1d3b33f26457e5c7f40373ad4404c74
+# created: 2026-01-20T21:22:35.70239069Z
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index dd0c889a1a9..58aa717d397 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -6,4 +6,4 @@
# The yoshi-nodejs team is the default owner for nodejs repositories.
-* @googleapis/jsteam @yoshi-approver
+* @googleapis/jsteam
diff --git a/.github/workflows/continuous.yaml b/.github/workflows/continuous.yaml
index c9dfb820b11..e8149a4180f 100644
--- a/.github/workflows/continuous.yaml
+++ b/.github/workflows/continuous.yaml
@@ -10,7 +10,7 @@ jobs:
matrix:
node: [18, 20, 22]
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
with:
version: ^7.0.0
diff --git a/.github/workflows/issues-no-repro.yaml b/.github/workflows/issues-no-repro.yaml
index 531054022d1..cdfe2bc1bcd 100644
--- a/.github/workflows/issues-no-repro.yaml
+++ b/.github/workflows/issues-no-repro.yaml
@@ -10,13 +10,13 @@ jobs:
issues: write
pull-requests: write
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
working-directory: ./.github/scripts
- - uses: actions/github-script@v7
+ - uses: actions/github-script@v8
with:
script: |
const script = require('./.github/scripts/close-invalid-link.cjs')
diff --git a/.github/workflows/presubmit.yaml b/.github/workflows/presubmit.yaml
index 062e95c4343..f42f300ff7f 100644
--- a/.github/workflows/presubmit.yaml
+++ b/.github/workflows/presubmit.yaml
@@ -8,7 +8,7 @@ jobs:
matrix:
node: [18, 20, 22]
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@v6
with:
fetch-depth: 300
- uses: pnpm/action-setup@v4
diff --git a/.github/workflows/response.yml b/.github/workflows/response.yml
index e81a3603af5..af41b4ac6a4 100644
--- a/.github/workflows/response.yml
+++ b/.github/workflows/response.yml
@@ -13,8 +13,8 @@ jobs:
issues: write
pull-requests: write
steps:
- - uses: actions/checkout@v5
- - uses: actions/github-script@v7
+ - uses: actions/checkout@v6
+ - uses: actions/github-script@v8
with:
script: |
const script = require('./.github/scripts/close-unresponsive.cjs')
@@ -27,8 +27,8 @@ jobs:
issues: write
pull-requests: write
steps:
- - uses: actions/checkout@v5
- - uses: actions/github-script@v7
+ - uses: actions/checkout@v6
+ - uses: actions/github-script@v8
with:
script: |
const script = require('./.github/scripts/remove-response-label.cjs')
diff --git a/.github/workflows/update-api-list.yaml b/.github/workflows/update-api-list.yaml
index ee64496f9d8..2e8511b0421 100644
--- a/.github/workflows/update-api-list.yaml
+++ b/.github/workflows/update-api-list.yaml
@@ -7,7 +7,7 @@ jobs:
update-api-list:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: 18
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index d8eae04199f..dbc9e2fa5a3 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,24 +1,33 @@
{
"packages/gapic-node-processing": "0.1.6",
- "packages/google-ai-generativelanguage": "3.5.0",
+ "packages/google-ads-admanager": "0.5.0",
+ "packages/google-ads-datamanager": "0.1.0",
+ "packages/google-ai-generativelanguage": "3.6.0",
"packages/google-analytics-admin": "9.0.1",
"packages/google-analytics-data": "5.2.1",
"packages/google-api-apikeys": "2.2.1",
+ "packages/google-api-cloudquotas": "2.2.1",
"packages/google-api-servicecontrol": "4.3.1",
"packages/google-api-servicemanagement": "3.2.1",
"packages/google-api-serviceusage": "4.2.1",
"packages/google-appengine": "4.2.1",
+ "packages/google-apps-events-subscriptions": "0.1.1",
+ "packages/google-apps-meet": "0.7.1",
"packages/google-area120-tables": "4.2.1",
+ "packages/google-chat": "0.21.0",
"packages/google-cloud-accessapproval": "4.2.1",
"packages/google-cloud-advisorynotifications": "2.2.1",
- "packages/google-cloud-aiplatform": "5.14.0",
- "packages/google-cloud-alloydb": "2.2.1",
+ "packages/google-cloud-aiplatform": "6.1.0",
+ "packages/google-cloud-alloydb": "2.3.0",
"packages/google-cloud-apigateway": "4.2.1",
"packages/google-cloud-apigeeconnect": "4.2.1",
"packages/google-cloud-apigeeregistry": "2.2.1",
+ "packages/google-cloud-apihub": "0.5.1",
+ "packages/google-cloud-apphub": "0.6.1",
"packages/google-cloud-asset": "6.3.1",
"packages/google-cloud-assuredworkloads": "5.1.1",
"packages/google-cloud-automl": "5.1.1",
+ "packages/google-cloud-backupdr": "0.7.0",
"packages/google-cloud-baremetalsolution": "2.1.1",
"packages/google-cloud-batch": "2.3.0",
"packages/google-cloud-beyondcorp-appconnections": "2.1.1",
@@ -30,19 +39,24 @@
"packages/google-cloud-bigquery-connection": "4.1.1",
"packages/google-cloud-bigquery-dataexchange": "2.1.1",
"packages/google-cloud-bigquery-datapolicies": "2.3.1",
- "packages/google-cloud-bigquery-datatransfer": "5.1.1",
+ "packages/google-cloud-bigquery-datatransfer": "5.1.2",
"packages/google-cloud-bigquery-migration": "2.1.1",
"packages/google-cloud-bigquery-reservation": "4.3.0",
"packages/google-cloud-billing": "5.1.1",
"packages/google-cloud-billing-budgets": "6.1.1",
"packages/google-cloud-binaryauthorization": "4.1.1",
+ "packages/google-cloud-capacityplanner": "0.1.2",
"packages/google-cloud-certificatemanager": "2.1.1",
- "packages/google-cloud-channel": "4.1.1",
+ "packages/google-cloud-channel": "4.1.2",
+ "packages/google-cloud-chronicle": "0.2.1",
+ "packages/google-cloud-cloudcontrolspartner": "0.6.1",
"packages/google-cloud-clouddms": "4.1.1",
+ "packages/google-cloud-cloudsecuritycompliance": "0.2.0",
"packages/google-cloud-commerce-consumer-procurement": "0.7.1",
- "packages/google-cloud-compute": "6.5.0",
+ "packages/google-cloud-compute": "6.7.0",
"packages/google-cloud-confidentialcomputing": "2.2.2",
"packages/google-cloud-config": "0.11.1",
+ "packages/google-cloud-configdelivery": "0.1.1",
"packages/google-cloud-connectors": "0.5.1",
"packages/google-cloud-contactcenterinsights": "4.1.1",
"packages/google-cloud-contentwarehouse": "2.3.0",
@@ -56,6 +70,8 @@
"packages/google-cloud-dataqna": "4.1.1",
"packages/google-cloud-datastream": "4.3.1",
"packages/google-cloud-deploy": "5.2.1",
+ "packages/google-cloud-developerconnect": "0.6.1",
+ "packages/google-cloud-devicestreaming": "0.2.1",
"packages/google-cloud-dialogflow": "7.4.0",
"packages/google-cloud-dialogflow-cx": "5.5.0",
"packages/google-cloud-discoveryengine": "2.5.2",
@@ -63,67 +79,92 @@
"packages/google-cloud-documentai": "9.5.0",
"packages/google-cloud-domains": "4.2.1",
"packages/google-cloud-edgecontainer": "0.8.1",
+ "packages/google-cloud-edgenetwork": "0.11.0",
"packages/google-cloud-essentialcontacts": "4.2.1",
- "packages/google-cloud-eventarc": "4.2.1",
+ "packages/google-cloud-eventarc": "4.3.0",
"packages/google-cloud-eventarc-publishing": "4.2.1",
"packages/google-cloud-filestore": "4.2.1",
+ "packages/google-cloud-financialservices": "0.4.1",
"packages/google-cloud-functions": "4.2.1",
+ "packages/google-cloud-gdchardwaremanagement": "0.9.1",
+ "packages/google-cloud-geminidataanalytics": "0.5.0",
"packages/google-cloud-gkebackup": "2.2.1",
"packages/google-cloud-gkeconnect-gateway": "5.2.1",
"packages/google-cloud-gkehub": "6.3.1",
- "packages/google-cloud-gkemulticloud": "2.2.1",
+ "packages/google-cloud-gkemulticloud": "2.3.0",
"packages/google-cloud-gsuiteaddons": "2.2.1",
+ "packages/google-cloud-hypercomputecluster": "0.1.0",
"packages/google-cloud-iap": "4.3.1",
"packages/google-cloud-ids": "4.2.1",
"packages/google-cloud-iot": "5.2.1",
"packages/google-cloud-kms": "5.2.1",
"packages/google-cloud-kms-inventory": "2.2.1",
"packages/google-cloud-language": "7.2.1",
+ "packages/google-cloud-licensemanager": "0.1.1",
"packages/google-cloud-lifesciences": "4.2.1",
+ "packages/google-cloud-locationfinder": "0.1.1",
+ "packages/google-cloud-lustre": "0.2.1",
+ "packages/google-cloud-maintenance-api": "0.3.0",
"packages/google-cloud-managedidentities": "4.2.1",
+ "packages/google-cloud-managedkafka": "0.8.1",
+ "packages/google-cloud-managedkafka-schemaregistry": "0.1.1",
"packages/google-cloud-mediatranslation": "5.2.1",
"packages/google-cloud-memcache": "4.2.1",
+ "packages/google-cloud-memorystore": "0.5.0",
"packages/google-cloud-metastore": "5.2.1",
"packages/google-cloud-migrationcenter": "2.2.1",
+ "packages/google-cloud-modelarmor": "0.4.1",
"packages/google-cloud-monitoring": "5.3.1",
- "packages/google-cloud-netapp": "0.15.0",
+ "packages/google-cloud-netapp": "0.16.0",
"packages/google-cloud-networkconnectivity": "4.5.1",
"packages/google-cloud-networkmanagement": "5.1.1",
"packages/google-cloud-networksecurity": "3.3.1",
"packages/google-cloud-networkservices": "0.12.0",
"packages/google-cloud-notebooks": "4.2.1",
+ "packages/google-cloud-oracledatabase": "0.7.0",
"packages/google-cloud-orchestration-airflow-service": "4.3.1",
"packages/google-cloud-orgpolicy": "4.3.1",
"packages/google-cloud-osconfig": "4.3.1",
"packages/google-cloud-oslogin": "6.2.1",
+ "packages/google-cloud-parallelstore": "0.12.0",
+ "packages/google-cloud-parametermanager": "0.5.1",
"packages/google-cloud-phishingprotection": "5.2.1",
"packages/google-cloud-policysimulator": "0.8.1",
"packages/google-cloud-policytroubleshooter": "4.2.1",
"packages/google-cloud-policytroubleshooter-iam": "0.8.1",
"packages/google-cloud-privatecatalog": "4.2.1",
+ "packages/google-cloud-privilegedaccessmanager": "0.6.1",
"packages/google-cloud-rapidmigrationassessment": "2.2.1",
- "packages/google-cloud-recaptchaenterprise": "6.3.1",
+ "packages/google-cloud-recaptchaenterprise": "6.4.0",
"packages/google-cloud-recommender": "7.2.1",
"packages/google-cloud-redis": "5.2.1",
+ "packages/google-cloud-redis-cluster": "0.9.1",
"packages/google-cloud-resourcemanager": "6.2.1",
"packages/google-cloud-retail": "4.2.1",
- "packages/google-cloud-run": "3.0.1",
+ "packages/google-cloud-run": "3.1.0",
+ "packages/google-cloud-saasplatform-saasservicemgmt": "0.1.1",
"packages/google-cloud-scheduler": "5.3.1",
"packages/google-cloud-secretmanager": "6.1.1",
"packages/google-cloud-security-privateca": "7.0.1",
"packages/google-cloud-security-publicca": "2.2.1",
"packages/google-cloud-securitycenter": "9.2.1",
+ "packages/google-cloud-securitycentermanagement": "0.7.1",
+ "packages/google-cloud-securesourcemanager": "0.8.1",
"packages/google-cloud-servicedirectory": "6.1.1",
+ "packages/google-cloud-servicehealth": "0.7.1",
"packages/google-cloud-shell": "4.1.1",
"packages/google-cloud-speech": "7.2.1",
- "packages/google-cloud-sql": "0.23.0",
+ "packages/google-cloud-sql": "0.24.0",
+ "packages/google-cloud-storagebatchoperations": "0.1.1",
"packages/google-cloud-storageinsights": "2.2.1",
"packages/google-cloud-support": "2.2.1",
"packages/google-cloud-talent": "7.1.1",
"packages/google-cloud-tasks": "6.2.1",
+ "packages/google-cloud-telcoautomation": "0.5.1",
"packages/google-cloud-texttospeech": "6.4.0",
"packages/google-cloud-tpu": "4.1.1",
"packages/google-cloud-translate": "9.3.0",
+ "packages/google-cloud-vectorsearch": "0.1.0",
"packages/google-cloud-video-livestream": "2.2.1",
"packages/google-cloud-video-stitcher": "3.2.1",
"packages/google-cloud-video-transcoder": "4.4.1",
@@ -138,81 +179,44 @@
"packages/google-cloud-workstations": "2.2.1",
"packages/google-container": "6.6.0",
"packages/google-dataflow": "4.1.1",
- "packages/google-devtools-artifactregistry": "4.4.0",
- "packages/google-devtools-cloudbuild": "5.3.1",
+ "packages/google-devtools-artifactregistry": "4.6.0",
+ "packages/google-devtools-cloudbuild": "5.4.0",
"packages/google-devtools-cloudprofiler": "0.9.1",
- "packages/google-devtools-containeranalysis": "6.3.1",
+ "packages/google-devtools-containeranalysis": "6.4.0",
"packages/google-iam": "2.3.1",
"packages/google-iam-credentials": "4.2.1",
"packages/google-identity-accesscontextmanager": "4.2.1",
"packages/google-maps-addressvalidation": "3.2.1",
+ "packages/google-maps-areainsights": "0.5.1",
+ "packages/google-maps-fleetengine": "0.8.1",
+ "packages/google-maps-fleetengine-delivery": "0.6.1",
"packages/google-maps-mapsplatformdatasets": "3.1.1",
"packages/google-maps-places": "2.2.0",
+ "packages/google-maps-routeoptimization": "0.6.0",
"packages/google-maps-routing": "2.1.1",
+ "packages/google-maps-solar": "0.5.1",
+ "packages/google-marketingplatform-admin": "0.4.0",
"packages/google-monitoring-dashboard": "4.1.1",
"packages/google-privacy-dlp": "6.5.0",
- "packages/google-storagetransfer": "4.2.1",
- "packages/grafeas": "6.1.1",
- "packages/typeless-sample-bot": "3.1.1",
- "packages/google-cloud-edgenetwork": "0.11.0",
- "packages/google-shopping-merchant-reports": "0.13.1",
- "packages/google-shopping-merchant-inventories": "0.11.1",
"packages/google-shopping-css": "0.10.1",
- "packages/google-api-cloudquotas": "2.2.1",
- "packages/google-cloud-redis-cluster": "0.9.1",
- "packages/google-cloud-servicehealth": "0.7.1",
- "packages/google-apps-meet": "0.7.1",
- "packages/google-cloud-parallelstore": "0.11.1",
- "packages/google-cloud-cloudcontrolspartner": "0.6.1",
- "packages/google-cloud-telcoautomation": "0.5.1",
- "packages/google-cloud-apphub": "0.6.1",
- "packages/google-chat": "0.21.0",
- "packages/google-shopping-merchant-quota": "0.9.0",
- "packages/google-storage-control": "0.6.1",
- "packages/google-cloud-backupdr": "0.7.0",
- "packages/google-cloud-securesourcemanager": "0.8.1",
- "packages/google-shopping-merchant-notifications": "0.8.1",
- "packages/google-shopping-merchant-lfp": "0.9.1",
- "packages/google-cloud-securitycentermanagement": "0.7.1",
+ "packages/google-shopping-merchant-accounts": "3.1.0",
"packages/google-shopping-merchant-conversions": "0.7.1",
- "packages/google-maps-solar": "0.5.1",
- "packages/google-maps-routeoptimization": "0.6.0",
- "packages/google-maps-fleetengine-delivery": "0.6.1",
- "packages/google-streetview-publish": "0.4.1",
- "packages/google-maps-fleetengine": "0.8.1",
- "packages/google-shopping-merchant-promotions": "0.5.1",
"packages/google-shopping-merchant-datasources": "0.10.0",
- "packages/google-cloud-managedkafka": "0.8.1",
- "packages/google-cloud-developerconnect": "0.6.1",
- "packages/google-cloud-privilegedaccessmanager": "0.6.1",
- "packages/google-shopping-merchant-products": "0.8.0",
- "packages/google-shopping-merchant-accounts": "3.0.1",
- "packages/google-cloud-gdchardwaremanagement": "0.9.1",
- "packages/google-cloud-apihub": "0.5.1",
- "packages/google-marketingplatform-admin": "0.4.0",
- "packages/google-cloud-oracledatabase": "0.7.0",
- "packages/google-ads-admanager": "0.5.0",
- "packages/google-shopping-merchant-reviews": "0.5.1",
- "packages/google-cloud-memorystore": "0.3.1",
- "packages/google-cloud-parametermanager": "0.5.1",
- "packages/google-maps-areainsights": "0.5.1",
- "packages/google-cloud-modelarmor": "0.4.1",
- "packages/google-cloud-financialservices": "0.4.1",
- "packages/google-cloud-chronicle": "0.2.1",
- "packages/google-cloud-devicestreaming": "0.2.1",
+ "packages/google-shopping-merchant-inventories": "0.11.1",
"packages/google-shopping-merchant-issueresolution": "0.3.1",
+ "packages/google-shopping-merchant-lfp": "0.9.1",
+ "packages/google-shopping-merchant-notifications": "0.8.1",
"packages/google-shopping-merchant-ordertracking": "0.3.1",
- "packages/google-cloud-lustre": "0.2.1",
- "packages/google-cloud-storagebatchoperations": "0.1.1",
- "packages/google-apps-events-subscriptions": "0.1.1",
- "packages/google-cloud-maintenance-api": "0.1.1",
- "packages/google-cloud-managedkafka-schemaregistry": "0.1.1",
- "packages/google-cloud-licensemanager": "0.1.1",
- "packages/google-cloud-configdelivery": "0.1.1",
- "packages/google-cloud-saasplatform-saasservicemgmt": "0.1.1",
- "packages/google-cloud-cloudsecuritycompliance": "0.2.0",
- "packages/google-cloud-capacityplanner": "0.1.2",
- "packages/google-cloud-locationfinder": "0.1.1",
- "packages/google-cloud-geminidataanalytics": "0.2.0",
- "packages/google-ads-datamanager": "0.1.0"
-}
+ "packages/google-shopping-merchant-products": "0.8.0",
+ "packages/google-shopping-merchant-promotions": "0.5.1",
+ "packages/google-shopping-merchant-quota": "0.9.0",
+ "packages/google-shopping-merchant-reports": "0.13.1",
+ "packages/google-shopping-merchant-reviews": "0.5.1",
+ "packages/google-storage-control": "0.7.0",
+ "packages/google-storagetransfer": "4.2.1",
+ "packages/google-streetview-publish": "0.4.1",
+ "packages/grafeas": "6.1.1",
+ "packages/typeless-sample-bot": "3.1.1",
+ "packages/google-cloud-apiregistry": "0.1.0",
+ "packages/google-cloud-gkerecommender": "0.1.0"
+}
\ No newline at end of file
diff --git a/README.md b/README.md
index 182fb93f884..b721a39d292 100644
--- a/README.md
+++ b/README.md
@@ -177,6 +177,7 @@ applications that interact with individual Google Cloud services:
| [BeyondCorp API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-beyondcorp-clientconnectorservices) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/clientconnectorservices) |
| [Capacity Planner API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-capacityplanner) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/capacityplanner) |
| [Chronicle API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-chronicle) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/chronicle) |
+| [Cluster Director API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-hypercomputecluster) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/hypercomputecluster) |
| [Config Delivery API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-configdelivery) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/configdelivery) |
| [CSS API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-shopping-css) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-shopping/css) |
| [Data Analytics API with Gemini](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-geminidataanalytics) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/geminidataanalytics) |
@@ -227,6 +228,7 @@ applications that interact with individual Google Cloud services:
| [Security Compliance API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-cloudsecuritycompliance) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/cloudsecuritycompliance) |
| [Solar API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-maps-solar) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@googlemaps/solar) |
| [Storage Batch Operations API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-storagebatchoperations) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/storagebatchoperations) |
+| [Vector Search API](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-vectorsearch) | [![Preview][preview-stability]][launch-stages] | [](https://npm.im/@google-cloud/vectorsearch) |
If the service is not listed above, [google-api-nodejs-client](https://github.com/googleapis/google-api-nodejs-client) interfaces
diff --git a/bin/delete-everything-split-repo.sh b/bin/delete-everything-split-repo.sh
index 116034b7c36..ff8b3492ed6 100755
--- a/bin/delete-everything-split-repo.sh
+++ b/bin/delete-everything-split-repo.sh
@@ -23,7 +23,7 @@ fi
# repo name (e.g. nodejs-asset)
SPLIT_REPO=$1
-# destination directory (e.g. google-cloud-asset)
+# destination directory (e.g. packages/google-cloud-asset)
ARTIFACT_NAME=$2
rm -rf "/tmp/${SPLIT_REPO}"
@@ -154,7 +154,7 @@ chmod u+x "/tmp/${SPLIT_REPO}/.kokoro/system-test.sh"
README_MD="/tmp/${SPLIT_REPO}/README.md"
README_CONTENT=$(cat $README_MD)
-echo -e "**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-NODE](https://github.com/googleapis/google-cloud-node/tree/main/packages/${ARTIFACT_NAME})_**\n\n$README_CONTENT" > "$README_MD"
+echo -e "**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-NODE](https://github.com/googleapis/google-cloud-node/tree/main/${ARTIFACT_NAME})_**\n\n$README_CONTENT" > "$README_MD"
git add .
git commit -m 'build: update README for deprecation notice and delete all files except samples'
diff --git a/bin/migrate-git-history.sh b/bin/migrate-git-history.sh
index d6dd16fb187..98263d685fe 100755
--- a/bin/migrate-git-history.sh
+++ b/bin/migrate-git-history.sh
@@ -130,7 +130,7 @@ git merge --allow-unrelated-histories migration/main --no-edit
if [[ ! -z "${UPDATE_SCRIPT}" ]]
then
- bash "${UPDATE_SCRIPT}"
+ bash "${UPDATE_SCRIPT}" "${PACKAGE_PATH}"
fi
git push -u origin "${BRANCH}" --force
diff --git a/bin/migrate-split-repo.sh b/bin/migrate-split-repo.sh
index ea3e3364db3..e393c8d9a6b 100755
--- a/bin/migrate-split-repo.sh
+++ b/bin/migrate-split-repo.sh
@@ -23,15 +23,13 @@ fi
# repo name (e.g. nodejs-asset)
SPLIT_REPO=$1
-# destination directory (e.g. google-cloud-asset)
-ARTIFACT_NAME=$2
-
+# destination directory (e.g. packages/google-cloud-asset)
+export PACKAGE_PATH="$2"
+
## Get the directory of the build script
SCRIPT_DIR=$(realpath $(dirname "${BASH_SOURCE[0]}"))
export UPDATE_SCRIPT="${SCRIPT_DIR}/split-repo-post-process.sh"
-export PACKAGE_PATH="packages/${ARTIFACT_NAME}"
-
# run the migrate script, remove .kokoro and .github folders
# keep the .github/.OwlBot.yaml config
${SCRIPT_DIR}/migrate-git-history.sh \
@@ -39,8 +37,8 @@ ${SCRIPT_DIR}/migrate-git-history.sh \
"googleapis/google-cloud-node" \
"" \
"${PACKAGE_PATH}" \
- ".kokoro,.github,.trampolinerc,SECURITY.md,renovate.json,samples" \
- ".github/.OwlBot.yaml,samples/quickstart.js,samples/test/quickstart.js,system-test/test/quickstart.js,samples/.eslintrc.yml,samples/test/sample.test.js,samples/test/quickstart.test.js,system-test/test/quickstart.test.js,system-test/test/quickstart.js,samples/README.md,samples/package.json,samples/generated"
+ ".kokoro,.github,.trampolinerc,SECURITY.md,renovate.json" \
+ ".github/.OwlBot.yaml,system-test/test/quickstart.js,system-test/test/quickstart.test.js"
# run the script to update the split repo and either delete all the samples or just update the README
${SCRIPT_DIR}/delete-everything-split-repo.sh "${SPLIT_REPO}" "${ARTIFACT_NAME}"
diff --git a/bin/split-repo-post-process.sh b/bin/split-repo-post-process.sh
index 07173e7bf14..b4b671f72b8 100755
--- a/bin/split-repo-post-process.sh
+++ b/bin/split-repo-post-process.sh
@@ -69,25 +69,14 @@ then
mv "${PACKAGE_PATH}/.repo-metadata2.json" "${PACKAGE_PATH}/.repo-metadata.json"
fi
-# update system tests scripts
-echo "adding compile step to system-test"
-# using a temp file because jq doesn't like writing to the input file as it reads
-jq -r ".scripts[\"system-test\"] = \"npm run compile && c8 mocha build/system-test\"" ${PACKAGE_PATH}/package.json > ${PACKAGE_PATH}/package2.json
-mv ${PACKAGE_PATH}/package2.json ${PACKAGE_PATH}/package.json
-
-echo "adding compile step to samples-test"
-# using a temp file because jq doesn't like writing to the input file as it reads
-jq -r ".scripts[\"samples-test\"] = \"npm run compile && cd samples/ && npm link ../ && npm i && npm test\"" ${PACKAGE_PATH}/package.json > ${PACKAGE_PATH}/package2.json
-mv ${PACKAGE_PATH}/package2.json ${PACKAGE_PATH}/package.json
-
echo "updating repository object type"
# using a temp file because jq doesn't like writing to the input file as it reads
-jq -r ".repository = {\"type\": \"git\", \"directory\": \"packages/${PACKAGE_NAME}\", \"url\": \"https://github.com/googleapis/google-cloud-node.git\"}" ${PACKAGE_PATH}/package.json > ${PACKAGE_PATH}/package2.json
+jq -r ".repository = {\"type\": \"git\", \"directory\": \"${PACKAGE_PATH}\", \"url\": \"https://github.com/googleapis/google-cloud-node.git\"}" ${PACKAGE_PATH}/package.json > ${PACKAGE_PATH}/package2.json
mv ${PACKAGE_PATH}/package2.json ${PACKAGE_PATH}/package.json
echo "updating homepage"
# using a temp file because jq doesn't like writing to the input file as it reads
-jq -r ".homepage = \"https://github.com/googleapis/google-cloud-node/tree/main/packages/${PACKAGE_NAME}\"" ${PACKAGE_PATH}/package.json > ${PACKAGE_PATH}/package2.json
+jq -r ".homepage = \"https://github.com/googleapis/google-cloud-node/tree/main/${PACKAGE_PATH}\"" ${PACKAGE_PATH}/package.json > ${PACKAGE_PATH}/package2.json
mv ${PACKAGE_PATH}/package2.json ${PACKAGE_PATH}/package.json
if !(test -f "${PACKAGE_PATH}/owlbot.py"); then
diff --git a/changelog.json b/changelog.json
index a558e0e7e0a..1ce707d400e 100644
--- a/changelog.json
+++ b/changelog.json
@@ -1,6 +1,587 @@
{
"repository": "googleapis/google-cloud-node",
"entries": [
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "04130369a1e730a90e456ea2d33b1320de67f03b",
+ "message": "[containeranalysis] A new message `File` is added",
+ "issues": [
+ "6987"
+ ]
+ }
+ ],
+ "version": "6.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/containeranalysis",
+ "id": "6415a95a-161d-4893-a33f-e29ae5dc41f0",
+ "createTime": "2026-01-16T00:08:39.016Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "48802487892bf059142b4b4064a4c2dec31d3838",
+ "message": "[sql] introduces auto_upgrade_enabled option for MySQL in DatabaseInstance.Settings",
+ "issues": [
+ "6969"
+ ]
+ }
+ ],
+ "version": "0.24.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/sql",
+ "id": "4408fe3c-41e3-4f84-be48-ed611112061b",
+ "createTime": "2026-01-16T00:08:38.998Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "bc588be78d9b27c0d2d1c3c992720ad332290a1a",
+ "message": "[recaptchaenterprise] Update NetApp v1 API with Host Groups, Block Volumes, Cache Volumes, and Backup Restore",
+ "issues": [
+ "6993"
+ ]
+ }
+ ],
+ "version": "6.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/recaptcha-enterprise",
+ "id": "0eaece13-82ce-4ee0-ac65-b9188fe97e15",
+ "createTime": "2026-01-16T00:08:38.980Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "4c3178eed4f65968383838f0394406dea6d7077f",
+ "message": "[netapp] Update NetApp v1 API with Host Groups, Block Volumes, Cache Volumes, and Backup Restore",
+ "issues": [
+ "6994"
+ ]
+ }
+ ],
+ "version": "0.16.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/netapp",
+ "id": "52003306-2e42-42bb-88d5-ab88c45e9413",
+ "createTime": "2026-01-16T00:08:38.963Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "80a9eaffd72f8d0e549084fb453c98420940e45c",
+ "message": "[memorystore] Adding Method AggregateIssueStats of Database Center API v1beta",
+ "issues": [
+ "7001"
+ ]
+ }
+ ],
+ "version": "0.5.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/memorystore",
+ "id": "f4aa5497-07ee-4f6c-a0f2-fe2ce135f779",
+ "createTime": "2026-01-16T00:08:38.943Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "253a242ed75d96ba41f13c260d1373d5ee61b9af",
+ "message": "Add initial files for google.cloud.gkerecommender.v1",
+ "issues": [
+ "6997"
+ ]
+ },
+ {
+ "type": "fix",
+ "sha": "41c2ff2851b5fdadabf4f9bd3500167c34b32ff7",
+ "message": "[gkeconnect-gateway] remove unused GatewayServiceClient",
+ "issues": [
+ "6775"
+ ]
+ }
+ ],
+ "version": "0.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/gkerecommender",
+ "id": "e566116d-ee84-465f-b7a4-ecc95f852518",
+ "createTime": "2026-01-16T00:08:38.923Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "90a22f7e0377b7d5166ad183cb5b4547b5bd779a",
+ "message": "[geminidataanalytics] added sync APIs for the CRUD operations of Data Agent",
+ "issues": [
+ "6989"
+ ]
+ }
+ ],
+ "version": "0.5.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/geminidataanalytics",
+ "id": "27959087-c728-46d8-8794-7c39943f0fb6",
+ "createTime": "2026-01-16T00:08:38.903Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "8cfd124c5323240e4a3b95608395dc1ce7034b93",
+ "message": "[compute] Update Compute Engine v1 API to revision 20251230 (#1144)",
+ "issues": [
+ "6998"
+ ]
+ }
+ ],
+ "version": "6.7.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/compute",
+ "id": "c1af3142-34b3-4a2e-93f4-44f40bbc3abd",
+ "createTime": "2026-01-16T00:08:38.887Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "fa82814e61c92313c3abed102b1dd60dcca50c6d",
+ "message": "Add initial files for google.cloud.apiregistry.v1beta",
+ "issues": [
+ "6961"
+ ]
+ },
+ {
+ "type": "fix",
+ "sha": "41c2ff2851b5fdadabf4f9bd3500167c34b32ff7",
+ "message": "[gkeconnect-gateway] remove unused GatewayServiceClient",
+ "issues": [
+ "6775"
+ ]
+ }
+ ],
+ "version": "0.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/apiregistry",
+ "id": "709a1954-2b48-4c53-b1c2-600c9d83c62e",
+ "createTime": "2026-01-16T00:08:38.858Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "7af18d7e779daec20446b8307412c6b1b7ea0166",
+ "message": "[geminidataanalytics] add LookerGoldenQuery to Context",
+ "issues": [
+ "6951"
+ ]
+ }
+ ],
+ "version": "0.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/geminidataanalytics",
+ "id": "012f6756-68ac-4a9c-a59f-92a5e3341461",
+ "createTime": "2026-01-12T17:04:01.294Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "227bf51ea4ff0aff802a3550fc04b4bc971f29cb",
+ "message": "[memorystore] A new field `Instance.simulate_maintenance_event` is added to message `.google.cloud.memorystore.v1.`",
+ "issues": [
+ "6949"
+ ]
+ }
+ ],
+ "version": "0.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/memorystore",
+ "id": "b7521fa0-592f-4e06-ae3f-0921559296e0",
+ "createTime": "2026-01-12T17:04:01.273Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "5655c23d30f8ce5e6f724aa210b667aa91ea3725",
+ "message": "[artifactregistry] add Fingerprint to Artifact Registry Version resource",
+ "issues": [
+ "6960"
+ ]
+ }
+ ],
+ "version": "4.6.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/artifact-registry",
+ "id": "2f22a3ff-0f47-4d40-a64f-029853699eca",
+ "createTime": "2026-01-12T17:04:01.244Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "c9004db0788709eb24f695a7412880e31ee29051",
+ "message": "[gkemulticloud] added custom tolerations and labels support for Attached Clusters",
+ "issues": [
+ "6917"
+ ]
+ }
+ ],
+ "version": "2.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/gkemulticloud",
+ "id": "9dcad91e-2427-4e4c-a4cd-e61e8d7b21eb",
+ "createTime": "2026-01-12T17:04:01.213Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "fix",
+ "sha": "54c6ed08338e72714537730f618f28f40bc9b7c5",
+ "message": "Remove duplicate region tags",
+ "issues": [
+ "6950"
+ ]
+ }
+ ],
+ "version": "5.1.2",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/bigquery-data-transfer",
+ "id": "3e4461de-e544-4722-bff5-2377f6d6bcda",
+ "createTime": "2026-01-12T17:04:01.185Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "fcfdd73f0fd8acdf1849f5fccb97b3f9a969c72c",
+ "message": "[alloydb] add POSTGRES_18 to DatabaseVersion",
+ "issues": [
+ "6955"
+ ]
+ }
+ ],
+ "version": "2.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/alloydb",
+ "id": "7b6b74e1-efe1-4c5a-af80-06129b8c1555",
+ "createTime": "2026-01-12T17:04:01.166Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "168fe8615035b62ef60d0283895e6c517c1f281d",
+ "message": "Add Lustre support to the Vertex Training Custom Job API",
+ "issues": [
+ "6959"
+ ]
+ },
+ {
+ "type": "feat",
+ "sha": "8e2862c632772bb21380731c23b85ef96f477350",
+ "message": "Add Lustre support to the Vertex Training Custom Job API",
+ "issues": [
+ "6952"
+ ]
+ }
+ ],
+ "version": "6.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/aiplatform",
+ "id": "c43e94f7-4c53-46d2-9252-0657301beeb2",
+ "createTime": "2026-01-12T17:04:01.136Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "869263a1675d4063fade629e9e92508b903497b9",
+ "message": "[generativelanguage] add support for GoogleMaps and FileSearch tools",
+ "issues": [
+ "6957"
+ ]
+ }
+ ],
+ "version": "3.6.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-ai/generativelanguage",
+ "id": "da39ac69-fefd-4714-82ef-0274be0a53d6",
+ "createTime": "2026-01-12T17:04:01.118Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "681d7af64253a12c62e81789d8dc7d48150f0f76",
+ "message": "Initial generation of library",
+ "issues": []
+ },
+ {
+ "type": "fix",
+ "sha": "41c2ff2851b5fdadabf4f9bd3500167c34b32ff7",
+ "message": "[gkeconnect-gateway] remove unused GatewayServiceClient",
+ "issues": [
+ "6775"
+ ]
+ }
+ ],
+ "version": "0.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/hypercomputecluster",
+ "id": "13227060-b9c8-4d75-ac2e-1f6aa254e01f",
+ "createTime": "2025-12-15T21:30:17.451Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "46ac6d10178ff78a4771e2519b3540b322687115",
+ "message": "Initial generation of library",
+ "issues": []
+ }
+ ],
+ "version": "0.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/maintenance-api",
+ "id": "fb66abdd-a1ff-4fd2-98f5-130dfd0ba087",
+ "createTime": "2025-12-15T21:30:17.428Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "9dd2f04b5926733923b9c46c45a4209099d30759",
+ "message": "[control] generate bucket ops into storage control lib for nodejs",
+ "issues": [
+ "6874"
+ ]
+ }
+ ],
+ "version": "0.7.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/storage-control",
+ "id": "93dfff1c-7006-47bf-84e6-a4d7b14082bd",
+ "createTime": "2025-12-15T21:30:17.406Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "014486d7cd802ac3058931edb3c783843db2ce28",
+ "message": "[geminidataanalytics] add QueryData method",
+ "issues": [
+ "6923"
+ ]
+ }
+ ],
+ "version": "0.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/geminidataanalytics",
+ "id": "356f0ab3-2df9-4046-b397-8c84c75575f0",
+ "createTime": "2025-12-09T16:50:16.936Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "a0c0db8be96f32f2f3e115987664a23a1f38ae57",
+ "message": "[maintenance] add support for v1 version of Maintenance API",
+ "issues": [
+ "6925"
+ ]
+ }
+ ],
+ "version": "0.2.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/maintenance-api",
+ "id": "800ef513-32eb-4f8d-b16f-a8c7521bfeb2",
+ "createTime": "2025-12-09T16:50:16.913Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "b9e87cd0803304763d1df797c884e849f07f25fb",
+ "message": "[merchantapi] A new field `radius_area` is added to message `.google.shopping.merchant.accounts.v1.Region`",
+ "issues": [
+ "6914"
+ ]
+ }
+ ],
+ "version": "3.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-shopping/accounts",
+ "id": "93680a5d-0d77-4ea4-828a-677d09bd457c",
+ "createTime": "2025-12-09T16:50:16.894Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "c33709f5aed86bdb4f02e2d17d5bfa00ccae88fd",
+ "message": "[parallelstore] add transfer metadata options proto definition",
+ "issues": [
+ "6916"
+ ]
+ }
+ ],
+ "version": "0.12.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/parallelstore",
+ "id": "5bb16540-9954-49c4-a603-1d90d7df0e26",
+ "createTime": "2025-12-09T16:50:16.870Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "ba483b8ddc806b80123007ba164e1981c18bd532",
+ "message": "[cloudbuild] Update GCB with latest proto changes",
+ "issues": [
+ "6910"
+ ]
+ }
+ ],
+ "version": "5.4.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/cloudbuild",
+ "id": "f52e8394-3d3a-4ec8-8c27-a121bebf6de3",
+ "createTime": "2025-12-09T16:50:16.851Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "984f5acd15ef79c3cdb63f89e2deee5cc5c65387",
+ "message": "[artifactregistry] add ExportArtifact API",
+ "issues": [
+ "6919"
+ ]
+ }
+ ],
+ "version": "4.5.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/artifact-registry",
+ "id": "6686e7eb-3c7f-4d0a-88a2-cfe6524f8f5b",
+ "createTime": "2025-12-09T16:50:16.829Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "9c2a1242e88b9878532106dc301f7ec524632997",
+ "message": "[run] add SourceCode proto to Run container config",
+ "issues": [
+ "6926"
+ ]
+ }
+ ],
+ "version": "3.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/run",
+ "id": "c097c9e6-9b74-4a27-b1f1-e9db17f18635",
+ "createTime": "2025-12-09T16:50:16.788Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "95f3adb6308c65eb000f841cc05460a8979a9d4f",
+ "message": "[compute] Update Compute Engine v1 API to revision 20251031",
+ "issues": [
+ "6920"
+ ]
+ }
+ ],
+ "version": "6.6.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/compute",
+ "id": "b73fe2a0-1f48-44e1-82e7-c52862532da7",
+ "createTime": "2025-12-09T16:50:16.718Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "fix",
+ "sha": "8352678de4dfdf7cfe8d2a6eb284395983bd9fa3",
+ "message": "[channel] Changed field behavior for an existing field `entitlement_granularity` in message `.google.cloud.channel.v1.RepricingConfig`",
+ "issues": [
+ "6915"
+ ]
+ }
+ ],
+ "version": "4.1.2",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/channel",
+ "id": "7f8db709-f8f9-483a-8d74-0b8ddeb763ab",
+ "createTime": "2025-12-09T16:50:16.638Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "fix",
+ "sha": "6fb8d09786816740eb2c5128ce833d5bc649a915",
+ "message": "Fix issue when using UrlContext tool",
+ "issues": [
+ "6911"
+ ],
+ "breakingChangeNote": "fix issue when using UrlContext tool ([#6911](https://github.com/googleapis/google-cloud-node/issues/6911))"
+ }
+ ],
+ "version": "6.0.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/aiplatform",
+ "id": "392b6163-bac6-4dea-81ab-b63ec07888a5",
+ "createTime": "2025-12-09T16:50:16.537Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "cad552ea0441d9f636bbbb7d0298326a14baad8e",
+ "message": "Add initial files for google.cloud.vectorsearch.v1beta",
+ "issues": [
+ "6906"
+ ]
+ },
+ {
+ "type": "fix",
+ "sha": "41c2ff2851b5fdadabf4f9bd3500167c34b32ff7",
+ "message": "[gkeconnect-gateway] remove unused GatewayServiceClient",
+ "issues": [
+ "6775"
+ ]
+ }
+ ],
+ "version": "0.1.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/vectorsearch",
+ "id": "eba97f8f-98e2-410a-9504-18dde6c20e2b",
+ "createTime": "2025-12-03T02:42:21.544Z"
+ },
+ {
+ "changes": [
+ {
+ "type": "feat",
+ "sha": "4a62a4cd4bdded4811488b25f56f8fa4b165d4ed",
+ "message": "[eventarc] add wide-scope Eventarc GoogleApiSource flags",
+ "issues": [
+ "6909"
+ ]
+ }
+ ],
+ "version": "4.3.0",
+ "language": "JAVASCRIPT",
+ "artifactName": "@google-cloud/eventarc",
+ "id": "de07a942-99c3-4365-864f-5b64ecd9b5bc",
+ "createTime": "2025-12-03T02:42:21.520Z"
+ },
{
"changes": [
{
@@ -67105,5 +67686,5 @@
"createTime": "2023-01-28T04:18:24.718Z"
}
],
- "updateTime": "2025-11-21T23:14:19.352Z"
+ "updateTime": "2026-01-16T00:08:39.016Z"
}
\ No newline at end of file
diff --git a/ci/run_conditional_tests.sh b/ci/run_conditional_tests.sh
index d32ce368ee9..193b90135ac 100755
--- a/ci/run_conditional_tests.sh
+++ b/ci/run_conditional_tests.sh
@@ -73,6 +73,7 @@ fi
subdirs=(
containers
packages
+ handwritten
.github/scripts
)
diff --git a/libraries.json b/libraries.json
index 7f7117bd92b..367ece655a7 100644
--- a/libraries.json
+++ b/libraries.json
@@ -3044,6 +3044,24 @@
"linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-chronicle",
"support_documentation": "https://cloud.google.com/chronicle/docs/getting-support"
},
+ {
+ "name": "hypercomputecluster",
+ "name_pretty": "Cluster Director API",
+ "product_documentation": "https://cloud.google.com/blog/products/compute/managed-slurm-and-other-cluster-director-enhancements",
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/hypercomputecluster/latest",
+ "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
+ "release_level": "preview",
+ "language": "nodejs",
+ "repo": "googleapis/google-cloud-node",
+ "distribution_name": "@google-cloud/hypercomputecluster",
+ "api_id": "hypercomputecluster.googleapis.com",
+ "default_version": "v1beta",
+ "requires_billing": true,
+ "library_type": "GAPIC_AUTO",
+ "api_shortname": "hypercomputecluster",
+ "linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-hypercomputecluster",
+ "support_documentation": "https://cloud.google.com/blog/products/compute/managed-slurm-and-other-cluster-director-enhancements/docs/getting-support"
+ },
{
"name": "configdelivery",
"name_pretty": "Config Delivery API",
@@ -3944,5 +3962,23 @@
"api_shortname": "storagebatchoperations",
"linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-storagebatchoperations",
"support_documentation": "https://cloud.google.com/storage/docs/getting-support"
+ },
+ {
+ "name": "vectorsearch",
+ "name_pretty": "Vector Search API",
+ "product_documentation": "https://docs.cloud.google.com/vertex-ai/docs/vector-search-2/overview",
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/vectorsearch/latest",
+ "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
+ "release_level": "preview",
+ "language": "nodejs",
+ "repo": "googleapis/google-cloud-node",
+ "distribution_name": "@google-cloud/vectorsearch",
+ "api_id": "vectorsearch.googleapis.com",
+ "default_version": "v1beta",
+ "requires_billing": true,
+ "library_type": "GAPIC_AUTO",
+ "api_shortname": "vectorsearch",
+ "linkToRepoHomepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-vectorsearch",
+ "support_documentation": "https://docs.cloud.google.com/vertex-ai/docs/getting-support"
}
]
\ No newline at end of file
diff --git a/packages/google-ads-admanager/.jsdoc.js b/packages/google-ads-admanager/.jsdoc.js
index 0f5c4705b87..2d62cdcf5b8 100644
--- a/packages/google-ads-admanager/.jsdoc.js
+++ b/packages/google-ads-admanager/.jsdoc.js
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ module.exports = {
includePattern: '\\.js$'
},
templates: {
- copyright: 'Copyright 2025 Google LLC',
+ copyright: 'Copyright 2026 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-ads/admanager',
diff --git a/packages/google-ads-admanager/.mocharc.js b/packages/google-ads-admanager/.mocharc.js
index 24e9d15257f..5eb34e86c87 100644
--- a/packages/google-ads-admanager/.mocharc.js
+++ b/packages/google-ads-admanager/.mocharc.js
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/packages/google-ads-admanager/.prettierrc.js b/packages/google-ads-admanager/.prettierrc.js
index d89a632f90b..7649ee3c254 100644
--- a/packages/google-ads-admanager/.prettierrc.js
+++ b/packages/google-ads-admanager/.prettierrc.js
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/packages/google-ads-admanager/README.md b/packages/google-ads-admanager/README.md
index ba154dec02b..bd714553fb0 100644
--- a/packages/google-ads-admanager/README.md
+++ b/packages/google-ads-admanager/README.md
@@ -65,9 +65,16 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
| batch allow ad review center ads | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_review_center_ad_service.batch_allow_ad_review_center_ads.js) |
| batch block ad review center ads | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_review_center_ad_service.batch_block_ad_review_center_ads.js) |
| search ad review center ads | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_review_center_ad_service.search_ad_review_center_ads.js) |
+| batch activate ad units | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.batch_activate_ad_units.js) |
+| batch archive ad units | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.batch_archive_ad_units.js) |
+| batch create ad units | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.batch_create_ad_units.js) |
+| batch deactivate ad units | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.batch_deactivate_ad_units.js) |
+| batch update ad units | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.batch_update_ad_units.js) |
+| create ad unit | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.create_ad_unit.js) |
| get ad unit | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.get_ad_unit.js) |
| list ad unit sizes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.list_ad_unit_sizes.js) |
| list ad units | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.list_ad_units.js) |
+| update ad unit | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/ad_unit_service.update_ad_unit.js) |
| get application | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/application_service.get_application.js) |
| list applications | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/application_service.list_applications.js) |
| get audience segment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/audience_segment_service.get_audience_segment.js) |
@@ -106,8 +113,14 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
| get custom field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_field_service.get_custom_field.js) |
| list custom fields | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_field_service.list_custom_fields.js) |
| update custom field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_field_service.update_custom_field.js) |
+| batch activate custom targeting keys | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_key_service.batch_activate_custom_targeting_keys.js) |
+| batch create custom targeting keys | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_key_service.batch_create_custom_targeting_keys.js) |
+| batch deactivate custom targeting keys | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_key_service.batch_deactivate_custom_targeting_keys.js) |
+| batch update custom targeting keys | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_key_service.batch_update_custom_targeting_keys.js) |
+| create custom targeting key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_key_service.create_custom_targeting_key.js) |
| get custom targeting key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_key_service.get_custom_targeting_key.js) |
| list custom targeting keys | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_key_service.list_custom_targeting_keys.js) |
+| update custom targeting key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_key_service.update_custom_targeting_key.js) |
| get custom targeting value | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_value_service.get_custom_targeting_value.js) |
| list custom targeting values | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/custom_targeting_value_service.list_custom_targeting_values.js) |
| get device capability | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/device_capability_service.get_device_capability.js) |
@@ -124,6 +137,8 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
| update entity signals mapping | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/entity_signals_mapping_service.update_entity_signals_mapping.js) |
| get geo target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/geo_target_service.get_geo_target.js) |
| list geo targets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/geo_target_service.list_geo_targets.js) |
+| get line item | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/line_item_service.get_line_item.js) |
+| list line items | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/line_item_service.list_line_items.js) |
| get mobile carrier | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/mobile_carrier_service.get_mobile_carrier.js) |
| list mobile carriers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/mobile_carrier_service.list_mobile_carriers.js) |
| get mobile device | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples/generated/v1/mobile_device_service.get_mobile_device.js) |
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto
index c1b4255cbfc..6b736e49695 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto
@@ -117,11 +117,12 @@ message SearchAdReviewCenterAdsRequest {
// is the value returned from a previous Search request, or empty.
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
- // Required. Only return ads with the given status.
+ // Optional. Only return ads with the given status.
AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4
- [(google.api.field_behavior) = REQUIRED];
+ [(google.api.field_behavior) = OPTIONAL];
- // Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
+ // Optional. Only return ads with the given AdReviewCenterAd IDs. If provided,
+ // no other filter can be set (other than page size and page token).
repeated string ad_review_center_ad_id = 5
[(google.api.field_behavior) = OPTIONAL];
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/ad_unit_service.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/ad_unit_service.proto
index 00843ea2040..c7ff8039f88 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/ad_unit_service.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/ad_unit_service.proto
@@ -21,6 +21,7 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
+import "google/protobuf/field_mask.proto";
option csharp_namespace = "Google.Ads.AdManager.V1";
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
@@ -60,6 +61,74 @@ service AdUnitService {
};
option (google.api.method_signature) = "parent";
}
+
+ // API to create an `AdUnit` object.
+ rpc CreateAdUnit(CreateAdUnitRequest) returns (AdUnit) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/adUnits"
+ body: "ad_unit"
+ };
+ option (google.api.method_signature) = "parent,ad_unit";
+ }
+
+ // API to update an `AdUnit` object.
+ rpc UpdateAdUnit(UpdateAdUnitRequest) returns (AdUnit) {
+ option (google.api.http) = {
+ patch: "/v1/{ad_unit.name=networks/*/adUnits/*}"
+ body: "ad_unit"
+ };
+ option (google.api.method_signature) = "ad_unit,update_mask";
+ }
+
+ // API to batch create `AdUnit` objects.
+ rpc BatchCreateAdUnits(BatchCreateAdUnitsRequest)
+ returns (BatchCreateAdUnitsResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/adUnits:batchCreate"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,requests";
+ }
+
+ // API to batch update `AdUnit` objects.
+ rpc BatchUpdateAdUnits(BatchUpdateAdUnitsRequest)
+ returns (BatchUpdateAdUnitsResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/adUnits:batchUpdate"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,requests";
+ }
+
+ // API to batch activate `AdUnit` objects.
+ rpc BatchActivateAdUnits(BatchActivateAdUnitsRequest)
+ returns (BatchActivateAdUnitsResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/adUnits:batchActivate"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,names";
+ }
+
+ // Deactivates a list of `AdUnit` objects.
+ rpc BatchDeactivateAdUnits(BatchDeactivateAdUnitsRequest)
+ returns (BatchDeactivateAdUnitsResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/adUnits:batchDeactivate"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,names";
+ }
+
+ // Archives a list of `AdUnit` objects.
+ rpc BatchArchiveAdUnits(BatchArchiveAdUnitsRequest)
+ returns (BatchArchiveAdUnitsResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/adUnits:batchArchive"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,names";
+ }
}
// Request object for GetAdUnit method.
@@ -135,6 +204,84 @@ message ListAdUnitsResponse {
int32 total_size = 3;
}
+// Request object for `CreateAdUnit` method.
+message CreateAdUnitRequest {
+ // Required. The parent resource where this `AdUnit` will be created.
+ // Format: `networks/{network_code}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The `AdUnit` to create.
+ AdUnit ad_unit = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request object for `UpdateAdUnit` method.
+message UpdateAdUnitRequest {
+ // Required. The `AdUnit` to update.
+ //
+ // The `AdUnit`'s name is used to identify the `AdUnit` to update. Format:
+ // `networks/{network_code}/adUnits/{ad_unit_id}`
+ AdUnit ad_unit = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The list of fields to update.
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request object for `BatchCreateAdUnits` method.
+message BatchCreateAdUnitsRequest {
+ // Required. The parent resource where `AdUnits` will be created.
+ // Format: `networks/{network_code}`
+ // The parent field in the CreateAdUnitRequest must match this
+ // field.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The `AdUnit` objects to create.
+ // A maximum of 100 objects can be created in a batch.
+ repeated CreateAdUnitRequest requests = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Response object for `BatchCreateAdUnits` method.
+message BatchCreateAdUnitsResponse {
+ // The `AdUnit` objects created.
+ repeated AdUnit ad_units = 1;
+}
+
+// Request object for `BatchUpdateAdUnits` method.
+message BatchUpdateAdUnitsRequest {
+ // Required. The parent resource where `AdUnits` will be updated.
+ // Format: `networks/{network_code}`
+ // The parent field in the UpdateAdUnitRequest must match this
+ // field.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The `AdUnit` objects to update.
+ // A maximum of 100 objects can be updated in a batch.
+ repeated UpdateAdUnitRequest requests = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Response object for `BatchUpdateAdUnits` method.
+message BatchUpdateAdUnitsResponse {
+ // The `AdUnit` objects updated.
+ repeated AdUnit ad_units = 1;
+}
+
// Request object for ListAdUnitSizes method.
message ListAdUnitSizesRequest {
// Required. The parent, which owns this collection of AdUnitSizes.
@@ -195,3 +342,72 @@ message ListAdUnitSizesResponse {
// https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
}
+
+// Request object for `BatchActivateAdUnits` method.
+message BatchActivateAdUnitsRequest {
+ // Required. Format: `networks/{network_code}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The resource names of the `AdUnit`s to activate.
+ // Format: `networks/{network_code}/adUnits/{ad_unit_id}`
+ repeated string names = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/AdUnit"
+ }
+ ];
+}
+
+// Response object for `BatchActivateAdUnits` method.
+message BatchActivateAdUnitsResponse {}
+
+// Request object for `BatchDeactivateAdUnits` method.
+message BatchDeactivateAdUnitsRequest {
+ // Required. Format: `networks/{network_code}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The resource names of the `AdUnit`s to deactivate.
+ // Format: `networks/{network_code}/adUnits/{ad_unit_id}`
+ repeated string names = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/AdUnit"
+ }
+ ];
+}
+
+// Response object for `BatchDeactivateAdUnits` method.
+message BatchDeactivateAdUnitsResponse {}
+
+// Request object for `BatchArchiveAdUnits` method.
+message BatchArchiveAdUnitsRequest {
+ // Required. Format: `networks/{network_code}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The resource names of the `AdUnit`s to archive.
+ // Format: `networks/{network_code}/adUnits/{ad_unit_id}`
+ repeated string names = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/AdUnit"
+ }
+ ];
+}
+
+// Response object for `BatchArchiveAdUnits` method.
+message BatchArchiveAdUnitsResponse {}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/cms_metadata_value_service.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/cms_metadata_value_service.proto
index 8e85a34443e..a569ae23fc5 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/cms_metadata_value_service.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/cms_metadata_value_service.proto
@@ -36,7 +36,7 @@ service CmsMetadataValueService {
option (google.api.oauth_scopes) =
"https://www.googleapis.com/auth/admanager";
- // API to retrieve a `CmsMetadataKey` object.
+ // API to retrieve a `CmsMetadataValue` object.
rpc GetCmsMetadataValue(GetCmsMetadataValueRequest)
returns (CmsMetadataValue) {
option (google.api.http) = {
@@ -57,7 +57,7 @@ service CmsMetadataValueService {
// Request object for `GetCmsMetadataValue` method.
message GetCmsMetadataValueRequest {
- // Required. The resource name of the CmsMetadataKey.
+ // Required. The resource name of the CmsMetadataValue.
// Format: `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/custom_targeting_key_service.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/custom_targeting_key_service.proto
index d211d674992..ff317e80a56 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/custom_targeting_key_service.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/custom_targeting_key_service.proto
@@ -21,6 +21,7 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
+import "google/protobuf/field_mask.proto";
option csharp_namespace = "Google.Ads.AdManager.V1";
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
@@ -53,6 +54,67 @@ service CustomTargetingKeyService {
};
option (google.api.method_signature) = "parent";
}
+
+ // API to create a `CustomTargetingKey` object.
+ rpc CreateCustomTargetingKey(CreateCustomTargetingKeyRequest)
+ returns (CustomTargetingKey) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/customTargetingKeys"
+ body: "custom_targeting_key"
+ };
+ option (google.api.method_signature) = "parent,custom_targeting_key";
+ }
+
+ // API to batch create `CustomTargetingKey` objects.
+ rpc BatchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest)
+ returns (BatchCreateCustomTargetingKeysResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/customTargetingKeys:batchCreate"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,requests";
+ }
+
+ // API to update a `CustomTargetingKey` object.
+ rpc UpdateCustomTargetingKey(UpdateCustomTargetingKeyRequest)
+ returns (CustomTargetingKey) {
+ option (google.api.http) = {
+ patch: "/v1/{custom_targeting_key.name=networks/*/customTargetingKeys/*}"
+ body: "custom_targeting_key"
+ };
+ option (google.api.method_signature) = "custom_targeting_key,update_mask";
+ }
+
+ // API to batch update `CustomTargetingKey` objects.
+ rpc BatchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest)
+ returns (BatchUpdateCustomTargetingKeysResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/customTargetingKeys:batchUpdate"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,requests";
+ }
+
+ // API to batch activate `CustomTargetingKey` objects.
+ rpc BatchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest)
+ returns (BatchActivateCustomTargetingKeysResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/customTargetingKeys:batchActivate"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,names";
+ }
+
+ // Deactivates a list of `CustomTargetingKey` objects.
+ rpc BatchDeactivateCustomTargetingKeys(
+ BatchDeactivateCustomTargetingKeysRequest)
+ returns (BatchDeactivateCustomTargetingKeysResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=networks/*}/customTargetingKeys:batchDeactivate"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,names";
+ }
}
// Request object for `GetCustomTargetingKey` method.
@@ -129,3 +191,131 @@ message ListCustomTargetingKeysResponse {
// https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
}
+
+// Request object for `CreateCustomTargetingKey` method.
+message CreateCustomTargetingKeyRequest {
+ // Required. The parent resource where this `CustomTargetingKey` will be
+ // created. Format: `networks/{network_code}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The `CustomTargetingKey` to create.
+ CustomTargetingKey custom_targeting_key = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request object for `BatchCreateCustomTargetingKeys` method.
+message BatchCreateCustomTargetingKeysRequest {
+ // Required. The parent resource where `CustomTargetingKeys` will be created.
+ // Format: `networks/{network_code}`
+ // The parent field in the CreateCustomTargetingKeyRequest must match this
+ // field.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The `CustomTargetingKey` objects to create.
+ // A maximum of 100 objects can be created in a batch.
+ repeated CreateCustomTargetingKeyRequest requests = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Response object for `BatchCreateCustomTargetingKeys` method.
+message BatchCreateCustomTargetingKeysResponse {
+ // The `CustomTargetingKey` objects created.
+ repeated CustomTargetingKey custom_targeting_keys = 1;
+}
+
+// Request object for `UpdateCustomTargetingKey` method.
+message UpdateCustomTargetingKeyRequest {
+ // Required. The `CustomTargetingKey` to update.
+ //
+ // The `CustomTargetingKey`'s `name` is used to identify the
+ // `CustomTargetingKey` to update.
+ CustomTargetingKey custom_targeting_key = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The list of fields to update.
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request object for `BatchUpdateCustomTargetingKeys` method.
+message BatchUpdateCustomTargetingKeysRequest {
+ // Required. The parent resource where `CustomTargetingKeys` will be updated.
+ // Format: `networks/{network_code}`
+ // The parent field in the UpdateCustomTargetingKeyRequest must match this
+ // field.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The `CustomTargetingKey` objects to update.
+ // A maximum of 100 objects can be updated in a batch.
+ repeated UpdateCustomTargetingKeyRequest requests = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Response object for `BatchUpdateCustomTargetingKeys` method.
+message BatchUpdateCustomTargetingKeysResponse {
+ // The `CustomTargetingKey` objects updated.
+ repeated CustomTargetingKey custom_targeting_keys = 1;
+}
+
+// Request object for `BatchActivateCustomTargetingKeys` method.
+message BatchActivateCustomTargetingKeysRequest {
+ // Required. Format: `networks/{network_code}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The resource names of the `CustomTargetingKey`s to activate.
+ // Format:
+ // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
+ repeated string names = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/CustomTargetingKey"
+ }
+ ];
+}
+
+// Response object for `BatchActivateCustomTargetingKeys` method.
+message BatchActivateCustomTargetingKeysResponse {}
+
+// Request message for `BatchDeactivateCustomTargetingKeys` method.
+message BatchDeactivateCustomTargetingKeysRequest {
+ // Required. Format: `networks/{network_code}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Required. The resource names of the `CustomTargetingKey`s to deactivate.
+ // Format:
+ // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
+ repeated string names = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/CustomTargetingKey"
+ }
+ ];
+}
+
+// Response object for `BatchDeactivateCustomTargetingKeys` method.
+message BatchDeactivateCustomTargetingKeysResponse {}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/goal.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/goal.proto
new file mode 100644
index 00000000000..8916b12f005
--- /dev/null
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/goal.proto
@@ -0,0 +1,57 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.ads.admanager.v1;
+
+import "google/ads/admanager/v1/goal_enums.proto";
+
+option csharp_namespace = "Google.Ads.AdManager.V1";
+option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
+option java_multiple_files = true;
+option java_outer_classname = "GoalProto";
+option java_package = "com.google.ads.admanager.v1";
+option php_namespace = "Google\\Ads\\AdManager\\V1";
+option ruby_package = "Google::Ads::AdManager::V1";
+
+// Defines the criteria a [LineItem][google.ads.admanager.v1.LineItem] needs to
+// satisfy to meet its delivery goal.
+message Goal {
+ // The type of the goal for the LineItem. It defines the period over which the
+ // goal should be reached.
+ optional GoalTypeEnum.GoalType goal_type = 1;
+
+ // The type of the goal unit for the LineItem.
+ optional UnitTypeEnum.UnitType unit_type = 2;
+
+ // If this is a primary goal, it represents the number or percentage of
+ // impressions or clicks that will be reserved. If the line item is of type
+ // [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP],
+ // it represents the percentage of available impressions reserved. If the line
+ // item is of type
+ // [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK]
+ // or
+ // [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY],
+ // it represents the number of remaining impressions reserved. If the line
+ // item is of type
+ // [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK]
+ // or
+ // [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE],
+ // it represents the percentage of remaining impressions reserved.
If this
+ // is an impression cap goal, it represents the number of impressions or
+ // conversions that the line item will stop serving at if reached. For valid
+ // line item types, see [LineItem.impressions_cap][].
+ optional int64 units = 3;
+}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/goal_enums.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/goal_enums.proto
new file mode 100644
index 00000000000..963823378de
--- /dev/null
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/goal_enums.proto
@@ -0,0 +1,129 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.ads.admanager.v1;
+
+option csharp_namespace = "Google.Ads.AdManager.V1";
+option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
+option java_multiple_files = true;
+option java_outer_classname = "GoalEnumsProto";
+option java_package = "com.google.ads.admanager.v1";
+option php_namespace = "Google\\Ads\\AdManager\\V1";
+option ruby_package = "Google::Ads::AdManager::V1";
+
+// Wrapper message for
+// [GoalType][google.ads.admanager.v1.GoalTypeEnum.GoalType].
+message GoalTypeEnum {
+ // Specifies the type of the goal for a LineItem.
+ enum GoalType {
+ // Default value. This value is unused.
+ GOAL_TYPE_UNSPECIFIED = 0;
+
+ // No goal is specified for the number of ads delivered.
+ // The line item [type][google.ads.admanager.v1.LineItem.line_item_type]
+ // must be one of:
+ //
+ // * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY]
+ // * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE]
+ // * [LineItemTypeEnum.LineItemType.CLICK_TRACKING][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.CLICK_TRACKING]
+ NONE = 1;
+
+ // There is a goal on the number of ads delivered for this line item during
+ // its entire lifetime.
+ // The line item [type][google.ads.admanager.v1.LineItem.line_item_type]
+ // must be one of:
+ //
+ // * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD]
+ // * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK]
+ // * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY]
+ // * [LineItemTypeEnum.LineItemType.ADSENSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.ADSENSE]
+ // * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE]
+ // * [LineItemTypeEnum.LineItemType.ADMOB][]
+ // * [LineItemTypeEnum.LineItemType.CLICK_TRACKING][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.CLICK_TRACKING]
+ LIFETIME = 2;
+
+ // There is a daily goal on the number of ads delivered for this line item.
+ // The line item [type][google.ads.admanager.v1.LineItem.line_item_type]
+ // must be one of:
+ //
+ // * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP]
+ // * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK]
+ // * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY]
+ // * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE]
+ // * [LineItemTypeEnum.LineItemType.ADSENSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.ADSENSE]
+ // * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE]
+ // * [LineItemTypeEnum.LineItemType.ADMOB][]
+ // * [LineItemTypeEnum.LineItemType.BUMPER][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BUMPER]
+ DAILY = 3;
+ }
+}
+
+// Wrapper message for
+// [UnitType][google.ads.admanager.v1.UnitTypeEnum.UnitType].
+message UnitTypeEnum {
+ // Indicates the type of unit used for defining a reservation. The
+ // [LineItem.cost_type][] can differ from the UnitType - an
+ // ad can have an impression goal, but be billed by its click. Usually
+ // CostType and UnitType will refer to the same unit.
+ enum UnitType {
+ // Default value. This value is unused.
+ UNIT_TYPE_UNSPECIFIED = 0;
+
+ // The number of impressions served by creatives associated with the line
+ // item.
+ IMPRESSIONS = 1;
+
+ // The number of clicks reported by creatives associated with the line item.
+ // The line item [type][google.ads.admanager.v1.LineItem.line_item_type]
+ // must be one of:
+ //
+ // * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD]
+ // * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK]
+ // * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY]
+ CLICKS = 2;
+
+ // The number of click-through Cost-Per-Action (CPA) conversions from
+ // creatives associated with the line item. This is only supported as
+ // secondary goal and the [LineItem.cost_type][] must be
+ // [CostTypeEnum.CostType.CPA][].
+ CLICK_THROUGH_CPA_CONVERSIONS = 3;
+
+ // The number of view-through Cost-Per-Action (CPA) conversions from
+ // creatives associated with the line item. This is only supported as
+ // secondary goal and the [LineItem.cost_type][] must be
+ // [CostTypeEnum.CostType.CPA}.
+ VIEW_THROUGH_CPA_CONVERSIONS = 4;
+
+ // The number of total Cost-Per-Action (CPA) conversions from creatives
+ // associated with the line item. This is only supported as secondary goal
+ // and the [LineItem.cost_type} must be [CostTypeEnum.CostType.CPA}.
+ TOTAL_CPA_CONVERSIONS = 5;
+
+ // The number of viewable impressions reported by creatives associated with
+ // the line item. The
+ // [LineItem.line_item_type][google.ads.admanager.v1.LineItem.line_item_type]
+ // must be
+ // [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD].
+ VIEWABLE_IMPRESSIONS = 6;
+
+ // The number of in-target impressions reported by third party measurements.
+ // The
+ // [LineItem.line_item_type][google.ads.admanager.v1.LineItem.line_item_type]
+ // must be
+ // [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD].
+ IN_TARGET_IMPRESSIONS = 7;
+ }
+}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_enums.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_enums.proto
new file mode 100644
index 00000000000..ef03b0c49b4
--- /dev/null
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_enums.proto
@@ -0,0 +1,86 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.ads.admanager.v1;
+
+option csharp_namespace = "Google.Ads.AdManager.V1";
+option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
+option java_multiple_files = true;
+option java_outer_classname = "LineItemEnumsProto";
+option java_package = "com.google.ads.admanager.v1";
+option php_namespace = "Google\\Ads\\AdManager\\V1";
+option ruby_package = "Google::Ads::AdManager::V1";
+
+// Wrapper message for
+// [LineItemType][google.ads.admanager.v1.LineItemTypeEnum.LineItemType].
+message LineItemTypeEnum {
+ // Indicates the priority of a LineItem, determined by the way in which
+ // impressions are reserved to be served for it.
+ enum LineItemType {
+ // Not specified value.
+ LINE_ITEM_TYPE_UNSPECIFIED = 0;
+
+ // The type of LineItem for which a percentage of all the impressions that
+ // are being sold are reserved.
+ SPONSORSHIP = 12;
+
+ // The type of LineItem for which a fixed quantity of impressions or
+ // clicks are reserved.
+ STANDARD = 13;
+
+ // The type of LineItem most commonly used to fill a site's unsold
+ // inventory if not contractually obligated to deliver a requested number
+ // of impressions. Uses daily percentage of unsold impressions or clicks.
+ NETWORK = 9;
+
+ // The type of LineItem for which a fixed quantity of impressions or
+ // clicks will be delivered at a priority lower than the STANDARD type.
+ BULK = 4;
+
+ // The type of LineItem most commonly used to fill a site's unsold
+ // inventory if not contractually obligated to deliver a requested number
+ // of impressions. Uses fixed quantity percentage of unsold impressions or
+ // clicks.
+ PRICE_PRIORITY = 11;
+
+ // The type of LineItem typically used for ads that promote products and
+ // services chosen by the publisher.
+ HOUSE = 7;
+
+ // The type of LineItem used for ads that track ads being served
+ // externally of Ad Manager.
+ CLICK_TRACKING = 6;
+
+ // Targets the LineItem to specific inventory available to AdSense buyers.
+ ADSENSE = 2;
+
+ // Targets the LineItem to specific inventory available to Authorized Buyers
+ // and the Open Auction.
+ AD_EXCHANGE = 3;
+
+ // Represents a non-monetizable video LineItem that targets one or more
+ // bumper positions, which are short house video messages used by
+ // publishers to separate content from ad breaks.
+ BUMPER = 5;
+
+ // The type of LineItem for which there are no impressions reserved, and
+ // will serve for a second price bid.
+ PREFERRED_DEAL = 10;
+
+ // The type of LineItem used for configuring audience extension campaigns.
+ AUDIENCE_EXTENSION = 14;
+ }
+}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_messages.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_messages.proto
new file mode 100644
index 00000000000..75392cd5d61
--- /dev/null
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_messages.proto
@@ -0,0 +1,93 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.ads.admanager.v1;
+
+import "google/ads/admanager/v1/custom_field_value.proto";
+import "google/ads/admanager/v1/goal.proto";
+import "google/ads/admanager/v1/line_item_enums.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/protobuf/timestamp.proto";
+import "google/type/money.proto";
+
+option csharp_namespace = "Google.Ads.AdManager.V1";
+option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
+option java_multiple_files = true;
+option java_outer_classname = "LineItemMessagesProto";
+option java_package = "com.google.ads.admanager.v1";
+option php_namespace = "Google\\Ads\\AdManager\\V1";
+option ruby_package = "Google::Ads::AdManager::V1";
+
+// A LineItem contains information about how specific ad creatives are intended
+// to serve to your website or app along with pricing and other delivery
+// details.
+message LineItem {
+ option (google.api.resource) = {
+ type: "admanager.googleapis.com/LineItem"
+ pattern: "networks/{network_code}/lineItems/{line_item}"
+ plural: "lineItems"
+ singular: "lineItem"
+ };
+
+ // Identifier. The resource name of the `LineItem`.
+ // Format: `networks/{network_code}/lineItems/{line_item_id}`
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
+
+ // Output only. The ID of the Order to which the LineItem belongs. This
+ // attribute is required. Format: `networks/{network_code}/orders/{order}`
+ optional string order = 2 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = { type: "admanager.googleapis.com/Order" }
+ ];
+
+ // Required. The name of the line item. This attribute is required and has a
+ // maximum length of 255 characters.
+ optional string display_name = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The date and time on which the LineItem is enabled to begin
+ // serving. This attribute is required and must be in the future.
+ optional google.protobuf.Timestamp start_time = 6
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The timestamp when the LineItem will stop serving. This
+ // attribute is read-only and includes auto extension days.
+ optional google.protobuf.Timestamp end_time = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. Indicates the line item type of a LineItem. This attribute is
+ // required. The line item type determines the default priority of the line
+ // item. More information can be found at
+ // https://support.google.com/admanager/answer/177279.
+ optional LineItemTypeEnum.LineItemType line_item_type = 17
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The amount of money to spend per impression or click.
+ optional google.type.Money rate = 20 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The amount of money allocated to the LineItem. This attribute
+ // is readonly and is populated by Google. The currency code is readonly.
+ optional google.type.Money budget = 35
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. The values of the custom fields associated with this line item.
+ repeated CustomFieldValue custom_field_values = 59
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The primary goal that this LineItem is associated with, which is
+ // used in its pacing and budgeting.
+ optional Goal goal = 76 [(google.api.field_behavior) = OPTIONAL];
+}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_service.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_service.proto
new file mode 100644
index 00000000000..014b94e80cf
--- /dev/null
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/line_item_service.proto
@@ -0,0 +1,128 @@
+// Copyright 2025 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.ads.admanager.v1;
+
+import "google/ads/admanager/v1/line_item_messages.proto";
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+
+option csharp_namespace = "Google.Ads.AdManager.V1";
+option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
+option java_multiple_files = true;
+option java_outer_classname = "LineItemServiceProto";
+option java_package = "com.google.ads.admanager.v1";
+option php_namespace = "Google\\Ads\\AdManager\\V1";
+option ruby_package = "Google::Ads::AdManager::V1";
+
+// Provides methods for handling `LineItem` objects.
+service LineItemService {
+ option (google.api.default_host) = "admanager.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/admanager";
+
+ // API to retrieve a `LineItem` object.
+ rpc GetLineItem(GetLineItemRequest) returns (LineItem) {
+ option (google.api.http) = {
+ get: "/v1/{name=networks/*/lineItems/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // API to retrieve a list of `LineItem` objects.
+ rpc ListLineItems(ListLineItemsRequest) returns (ListLineItemsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=networks/*}/lineItems"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+}
+
+// Request object for `GetLineItem` method.
+message GetLineItemRequest {
+ // Required. The resource name of the LineItem.
+ // Format: `networks/{network_code}/lineItems/{line_item_id}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/LineItem"
+ }
+ ];
+}
+
+// Request object for `ListLineItems` method.
+message ListLineItemsRequest {
+ // Required. The parent, which owns this collection of LineItems.
+ // Format: `networks/{network_code}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "admanager.googleapis.com/Network"
+ }
+ ];
+
+ // Optional. The maximum number of `LineItems` to return. The service may
+ // return fewer than this value. If unspecified, at most 50 `LineItems` will
+ // be returned. The maximum value is 1000; values greater than 1000 will be
+ // coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListLineItems` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other parameters provided to `ListLineItems` must
+ // match the call that provided the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Expression to filter the response.
+ // See syntax details at
+ // https://developers.google.com/ad-manager/api/beta/filters
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Expression to specify sorting order.
+ // See syntax details at
+ // https://developers.google.com/ad-manager/api/beta/filters#order
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Number of individual resources to skip while paginating.
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response object for `ListLineItemsRequest` containing matching `LineItem`
+// objects.
+message ListLineItemsResponse {
+ // The `LineItem` objects from the specified network.
+ repeated LineItem line_items = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+
+ // Total number of `LineItem` objects.
+ // If a filter was included in the request, this reflects the total number
+ // after the filtering is applied.
+ //
+ // `total_size` won't be calculated in the response unless it has been
+ // included in a response field mask. The response field mask can be provided
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
+ //
+ // For more information, see
+ // https://developers.google.com/ad-manager/api/beta/field-masks
+ int32 total_size = 3;
+}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/network_messages.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/network_messages.proto
index ce2cb82a252..78a85362d44 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/network_messages.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/network_messages.proto
@@ -41,20 +41,20 @@ message Network {
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// Optional. Display name for Network.
- string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
+ optional string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
// Output only. Network Code.
- string network_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+ optional string network_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Property code.
- string property_code = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+ optional string property_code = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Time zone associated with the delivery of orders and
// reporting.
- string time_zone = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+ optional string time_zone = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Primary currency code, in ISO-4217 format.
- string currency_code = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+ optional string currency_code = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
// Optional. Currency codes that can be used as an alternative to the primary
// currency code for trafficking Line Items.
@@ -64,7 +64,7 @@ message Network {
// Output only. Top most [Ad Unit](google.ads.admanager.v1.AdUnit) to which
// descendant Ad Units can be added.
// Format: networks/{network_code}/adUnits/{ad_unit}
- string effective_root_ad_unit = 8 [
+ optional string effective_root_ad_unit = 8 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "admanager.googleapis.com/AdUnit"
@@ -72,8 +72,8 @@ message Network {
];
// Output only. Whether this is a test network.
- bool test_network = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
+ optional bool test_network = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Network ID.
- int64 network_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+ optional int64 network_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/network_service.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/network_service.proto
index fed396886a5..2bf5396c373 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/network_service.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/network_service.proto
@@ -65,10 +65,41 @@ message GetNetworkRequest {
}
// Request object for `ListNetworks` method.
-message ListNetworksRequest {}
+message ListNetworksRequest {
+ // Optional. The maximum number of `Network`s to return. The service may
+ // return fewer than this value. If unspecified, at most 50 `Network`s will be
+ // returned. The maximum value is 1000; values greater than 1000 will be
+ // coerced to 1000.
+ int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListNetworks` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other parameters provided to `ListNetworks` must match
+ // the call that provided the page token.
+ string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Number of individual resources to skip while paginating.
+ int32 skip = 5 [(google.api.field_behavior) = OPTIONAL];
+}
// Response object for `ListNetworks` method.
message ListNetworksResponse {
// The `Network`s a user has access to.
repeated Network networks = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+
+ // Total number of `Network`s.
+ //
+ // `total_size` won't be calculated in the response unless it has been
+ // included in a response field mask. The response field mask can be provided
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
+ //
+ // For more information, see
+ // https://developers.google.com/ad-manager/api/beta/field-masks
+ int32 total_size = 3;
}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/order_messages.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/order_messages.proto
index 88b9115f202..5e8620ced13 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/order_messages.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/order_messages.proto
@@ -61,10 +61,12 @@ message Order {
(google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
];
- // Optional. The resource names of Contacts from the advertiser of this Order.
- // Format: "networks/{network_code}/contacts/{contact_id}"
+ // Optional. Unordered list. The resource names of Contacts from the
+ // advertiser of this Order. Format:
+ // "networks/{network_code}/contacts/{contact_id}"
repeated string advertiser_contacts = 5 [
(google.api.field_behavior) = OPTIONAL,
+ (google.api.field_behavior) = UNORDERED_LIST,
(google.api.resource_reference) = {
type: "admanager.googleapis.com/Contact"
}
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/report_definition.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/report_definition.proto
index 5e8640ff5f4..eaf42bde804 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/report_definition.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/report_definition.proto
@@ -100,6 +100,10 @@ message ReportDefinition {
// preceding the calendar week the report is run.
LAST_WEEK = 7;
+ // The entire previous calendar week, Sunday to Saturday (inclusive),
+ // preceding the calendar week the report is run.
+ LAST_WEEK_STARTING_SUNDAY = 39;
+
// The entire previous calendar month preceding the calendar month the
// report is run.
LAST_MONTH = 8;
@@ -124,6 +128,9 @@ message ReportDefinition {
// The 90 days preceding the day the report is run.
LAST_90_DAYS = 14;
+ // The 93 days preceding the day the report is run.
+ LAST_93_DAYS = 38;
+
// The 180 days preceding the day the report is run.
LAST_180_DAYS = 15;
@@ -392,6 +399,12 @@ message ReportDefinition {
// Privacy and messaging.
PRIVACY_AND_MESSAGING = 6;
+ // Gross revenue.
+ REVENUE_VERIFICATION = 7;
+
+ // Partner finance.
+ PARTNER_FINANCE = 8;
+
// Ad speed.
AD_SPEED = 13;
}
@@ -439,7 +452,7 @@ message ReportDefinition {
// Data format: `ENUM`
ADVERTISER_CREDIT_STATUS = 475;
- // Advertiser credit status locallized name
+ // Advertiser credit status localized name
//
//
//
@@ -544,7 +557,7 @@ message ReportDefinition {
// Data format: `ENUM`
ADVERTISER_STATUS = 471;
- // Advertiser status locallized name
+ // Advertiser status localized name
//
//
//
@@ -568,7 +581,7 @@ message ReportDefinition {
// Data format: `ENUM`
ADVERTISER_TYPE = 473;
- // Advertiser type locallized name
+ // Advertiser type localized name
//
//
//
@@ -599,7 +612,8 @@ message ReportDefinition {
// Corresponds to "Ad Exchange product value" in the Ad Manager UI (when
// showing API fields).
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `REVENUE_VERIFICATION`
//
// Data format: `ENUM`
ADX_PRODUCT = 499;
@@ -611,7 +625,8 @@ message ReportDefinition {
//
// Corresponds to "Ad Exchange product" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `REVENUE_VERIFICATION`
//
// Data format: `STRING`
ADX_PRODUCT_NAME = 500;
@@ -664,6 +679,17 @@ message ReportDefinition {
// Data format: `STRING`
AD_LOCATION_NAME = 391;
+ // Multi-size inventory in an ad request.
+ //
+ //
+ //
+ // Corresponds to "Ad request sizes" in the Ad Manager UI.
+ //
+ // Compatible with the following report types:
+ //
+ // Data format: `STRING_LIST`
+ AD_REQUEST_SIZES = 541;
+
// The domain of the ad technology provider associated with the bid.
//
//
@@ -1492,6 +1518,28 @@ message ReportDefinition {
// Data format: `STRING`
AGE_BRACKET_NAME = 582;
+ // Property ID in Google Analytics
+ //
+ //
+ //
+ // Corresponds to "Analytics property ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `IDENTIFIER`
+ ANALYTICS_PROPERTY_ID = 733;
+
+ // Property name in Google Analytics
+ //
+ //
+ //
+ // Corresponds to "Analytics property" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ ANALYTICS_PROPERTY_NAME = 767;
+
// Enum value for App Tracking Transparency consent status.
//
//
@@ -1549,6 +1597,50 @@ message ReportDefinition {
// Data format: `IDENTIFIER`
AUCTION_PACKAGE_DEAL_ID = 571;
+ // Name of billable audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (billable)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ AUDIENCE_SEGMENT_BILLABLE = 594;
+
+ // ID of the data provider for the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment data provider ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `IDENTIFIER`
+ AUDIENCE_SEGMENT_DATA_PROVIDER_ID = 613;
+
+ // Name of the data provider for the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment data provider" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ AUDIENCE_SEGMENT_DATA_PROVIDER_NAME = 614;
+
+ // ID of billable audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment ID (billable)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `IDENTIFIER`
+ AUDIENCE_SEGMENT_ID_BILLABLE = 595;
+
// ID of targeted audience segment, including all first-party and
// third-party segments that matched the user on the winning line item.
//
@@ -1573,6 +1665,172 @@ message ReportDefinition {
// Data format: `STRING`
AUDIENCE_SEGMENT_TARGETED = 585;
+ // Number of AdID identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) AdID size" in the Ad Manager
+ // UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_AD_ID_USER_SIZE = 605;
+
+ // Number of Amazon Fire identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) Amazon Fire size" in the Ad
+ // Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_AMAZON_FIRE_USER_SIZE = 606;
+
+ // Number of Android TV identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) Android TV size" in the Ad
+ // Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_ANDROID_TV_USER_SIZE = 607;
+
+ // Number of Apple TV identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) Apple TV size" in the Ad
+ // Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_APPLE_TV_USER_SIZE = 608;
+
+ // Number of IDFA identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) IDFA size" in the Ad Manager
+ // UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_IDFA_USER_SIZE = 609;
+
+ // Number of mobile web identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) mobile web size" in the Ad
+ // Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_MOBILE_WEB_USER_SIZE = 610;
+
+ // Number of PlayStation identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) PlayStation size" in the Ad
+ // Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_PLAYSTATION_USER_SIZE = 611;
+
+ // Number of PPID identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) PPID size" in the Ad Manager
+ // UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_PPID_USER_SIZE = 612;
+
+ // Number of Roku identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) Roku size" in the Ad Manager
+ // UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_ROKU_USER_SIZE = 615;
+
+ // Number of Samsung TV identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) Samsung TV size" in the Ad
+ // Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_SAMSUNG_TV_USER_SIZE = 616;
+
+ // Number of identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) size" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_SIZE = 618;
+
+ // Status of the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) status value" in the Ad
+ // Manager UI (when showing API fields).
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `ENUM`
+ AUDIENCE_SEGMENT_TARGETED_STATUS = 628;
+
+ // Name of the status of the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) status" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ AUDIENCE_SEGMENT_TARGETED_STATUS_NAME = 617;
+
+ // Number of Xbox identifiers in the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment (targeted) Xbox size" in the Ad Manager
+ // UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AUDIENCE_SEGMENT_TARGETED_XBOX_USER_SIZE = 619;
+
// Enum value of Auto refreshed traffic.
//
//
@@ -1602,7 +1860,8 @@ message ReportDefinition {
//
// Corresponds to "Bidder encrypted ID" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `REVENUE_VERIFICATION`
//
// Data format: `STRING`
BIDDER_ENCRYPTED_ID = 493;
@@ -1613,7 +1872,8 @@ message ReportDefinition {
//
// Corresponds to "Bidder" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `REVENUE_VERIFICATION`
//
// Data format: `STRING`
BIDDER_NAME = 494;
@@ -1901,6 +2161,50 @@ message ReportDefinition {
// Data format: `STRING`
CLASSIFIED_BRAND_NAME = 244;
+ // ID of the video content bundle served.
+ //
+ //
+ //
+ // Corresponds to "Content bundle ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `IDENTIFIER`
+ CONTENT_BUNDLE_ID = 460;
+
+ // Name of the video content bundle served.
+ //
+ //
+ //
+ // Corresponds to "Content bundle" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ CONTENT_BUNDLE_NAME = 461;
+
+ // ID of the video content metadata namespace served.
+ //
+ //
+ //
+ // Corresponds to "CMS metadata key ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `IDENTIFIER`
+ CONTENT_CMS_METADATA_KV_NAMESPACE_ID = 462;
+
+ // Name of the video content metadata namespace served.
+ //
+ //
+ //
+ // Corresponds to "CMS metadata key" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ CONTENT_CMS_METADATA_KV_NAMESPACE_NAME = 463;
+
// The display name of the CMS content.
//
//
@@ -2107,7 +2411,7 @@ message ReportDefinition {
// Data format: `STRING`
CREATIVE_POLICIES_FILTERING_NAME = 712;
- // Creative Protections filtering (Publisher Blocks Enforcement).
+ // Creative Protections filtering.
//
//
//
@@ -2167,7 +2471,7 @@ message ReportDefinition {
// Data format: `ENUM`
CREATIVE_TECHNOLOGY = 148;
- // Creative technology locallized name
+ // Creative technology localized name
//
//
//
@@ -2345,7 +2649,7 @@ message ReportDefinition {
// Corresponds to "Date" in the Ad Manager UI.
//
// Compatible with the following report types: `HISTORICAL`, `REACH`,
- // `PRIVACY_AND_MESSAGING`, `AD_SPEED`
+ // `PRIVACY_AND_MESSAGING`, `REVENUE_VERIFICATION`, `AD_SPEED`
//
// Data format: `DATE`
DATE = 3;
@@ -2439,7 +2743,7 @@ message ReportDefinition {
// API fields).
//
// Compatible with the following report types: `HISTORICAL`, `REACH`,
- // `AD_SPEED`
+ // `REVENUE_VERIFICATION`, `AD_SPEED`
//
// Data format: `ENUM`
DEMAND_CHANNEL = 9;
@@ -2451,7 +2755,7 @@ message ReportDefinition {
// Corresponds to "Demand channel" in the Ad Manager UI.
//
// Compatible with the following report types: `HISTORICAL`, `REACH`,
- // `AD_SPEED`
+ // `REVENUE_VERIFICATION`, `AD_SPEED`
//
// Data format: `STRING`
DEMAND_CHANNEL_NAME = 10;
@@ -2595,7 +2899,7 @@ message ReportDefinition {
// Compatible with the following report types: `HISTORICAL`
//
// Data format: `STRING`
- DEVICE_NAME = 225;
+ DEVICE_NAME = 225 [deprecated = true];
// The ID of DSP Seat
//
@@ -3161,6 +3465,17 @@ message ReportDefinition {
// Data format: `STRING`
KEY_VALUES_NAME = 215;
+ // The custom criteria key-values specified in ad requests.
+ //
+ //
+ //
+ // Corresponds to "Key-values" in the Ad Manager UI.
+ //
+ // Compatible with the following report types:
+ //
+ // Data format: `STRING_LIST`
+ KEY_VALUES_SET = 713;
+
// The agency of the order associated with the line item.
//
//
@@ -3183,7 +3498,7 @@ message ReportDefinition {
// Data format: `BOOLEAN`
LINE_ITEM_ARCHIVED = 188;
- // Line item comanion delivery option ENUM value.
+ // Line item companion delivery option ENUM value.
//
//
//
@@ -3195,7 +3510,7 @@ message ReportDefinition {
// Data format: `ENUM`
LINE_ITEM_COMPANION_DELIVERY_OPTION = 204;
- // Localized line item comanion delivery option name.
+ // Localized line item companion delivery option name.
//
//
//
@@ -3597,7 +3912,7 @@ message ReportDefinition {
// Data format: `MONEY`
LINE_ITEM_NON_CPD_BOOKED_REVENUE = 98;
- // Whether a Line item is eligible for opitimization.
+ // Whether a Line item is eligible for optimization.
//
//
//
@@ -4095,7 +4410,8 @@ message ReportDefinition {
// Corresponds to "Rendering SDK value" in the Ad Manager UI (when showing
// API fields).
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `REVENUE_VERIFICATION`
//
// Data format: `ENUM`
MOBILE_RENDERING_SDK = 646;
@@ -4106,7 +4422,8 @@ message ReportDefinition {
//
// Corresponds to "Rendering SDK" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `REVENUE_VERIFICATION`
//
// Data format: `STRING`
MOBILE_RENDERING_SDK_NAME = 647;
@@ -4151,7 +4468,7 @@ message ReportDefinition {
// Corresponds to "Month and year" in the Ad Manager UI.
//
// Compatible with the following report types: `HISTORICAL`, `REACH`,
- // `PRIVACY_AND_MESSAGING`
+ // `PRIVACY_AND_MESSAGING`, `REVENUE_VERIFICATION`, `PARTNER_FINANCE`
//
// Data format: `INTEGER`
MONTH_YEAR = 6;
@@ -4646,27 +4963,75 @@ message ReportDefinition {
// Data format: `STRING`
PAGE_TITLE_AND_SCREEN_NAME = 513;
- // Placement ID
+ // The ID of a partner management assignment.
//
//
//
- // Corresponds to "Placement ID" in the Ad Manager UI.
+ // Corresponds to "Partner management assignment ID" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`, `REACH`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `PARTNER_FINANCE`
//
- // Data format: `IDENTIFIER`
- PLACEMENT_ID = 113;
+ // Data format: `INTEGER`
+ PARTNER_MANAGEMENT_ASSIGNMENT_ID = 657;
- // The full list of placement IDs associated with the ad unit.
+ // The name of a partner management assignment.
//
//
//
- // Corresponds to "Placement ID (all)" in the Ad Manager UI.
+ // Corresponds to "Partner management assignment" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`, `REACH`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `PARTNER_FINANCE`
//
- // Data format: `IDENTIFIER_LIST`
- PLACEMENT_ID_ALL = 144;
+ // Data format: `STRING`
+ PARTNER_MANAGEMENT_ASSIGNMENT_NAME = 658;
+
+ // The ID of a partner in a partner management assignment.
+ //
+ //
+ //
+ // Corresponds to "Partner management partner ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`,
+ // `PARTNER_FINANCE`
+ //
+ // Data format: `INTEGER`
+ PARTNER_MANAGEMENT_PARTNER_ID = 655;
+
+ // The name of a partner in a partner management assignment.
+ //
+ //
+ //
+ // Corresponds to "Partner management partner" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`,
+ // `PARTNER_FINANCE`
+ //
+ // Data format: `STRING`
+ PARTNER_MANAGEMENT_PARTNER_NAME = 656;
+
+ // Placement ID
+ //
+ //
+ //
+ // Corresponds to "Placement ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`, `REACH`
+ //
+ // Data format: `IDENTIFIER`
+ PLACEMENT_ID = 113;
+
+ // The full list of placement IDs associated with the ad unit.
+ //
+ //
+ //
+ // Corresponds to "Placement ID (all)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`, `REACH`
+ //
+ // Data format: `IDENTIFIER_LIST`
+ PLACEMENT_ID_ALL = 144;
// Placement name
//
@@ -4860,7 +5225,8 @@ message ReportDefinition {
// Corresponds to "Programmatic channel value" in the Ad Manager UI (when
// showing API fields).
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`,
+ // `REVENUE_VERIFICATION`
//
// Data format: `ENUM`
PROGRAMMATIC_CHANNEL = 13;
@@ -4872,7 +5238,8 @@ message ReportDefinition {
//
// Corresponds to "Programmatic channel" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`, `REACH`
+ // Compatible with the following report types: `HISTORICAL`, `REACH`,
+ // `REVENUE_VERIFICATION`
//
// Data format: `STRING`
PROGRAMMATIC_CHANNEL_NAME = 14;
@@ -5165,7 +5532,7 @@ message ReportDefinition {
// Data format: `ENUM`
REQUEST_TYPE = 146;
- // Request type locallized name
+ // Request type localized name
//
//
//
@@ -5176,6 +5543,17 @@ message ReportDefinition {
// Data format: `STRING`
REQUEST_TYPE_NAME = 147;
+ // Revenue Verification bidder-provided ID.
+ //
+ //
+ //
+ // Corresponds to "Revenue verification ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `REVENUE_VERIFICATION`
+ //
+ // Data format: `IDENTIFIER`
+ REVENUE_VERIFICATION_ID = 645;
+
// Indicates if a request was eligible for server-side unwrapping.
//
//
@@ -5397,6 +5775,29 @@ message ReportDefinition {
// Data format: `IDENTIFIER`
URL_ID = 507;
+ // The choice made in a user message.
+ //
+ //
+ //
+ // Corresponds to "User choice value" in the Ad Manager UI (when showing API
+ // fields).
+ //
+ // Compatible with the following report types: `PRIVACY_AND_MESSAGING`
+ //
+ // Data format: `ENUM`
+ USER_MESSAGES_CHOICE = 702;
+
+ // Localized name of the choice made in a user message.
+ //
+ //
+ //
+ // Corresponds to "User choice" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PRIVACY_AND_MESSAGING`
+ //
+ // Data format: `STRING`
+ USER_MESSAGES_CHOICE_NAME = 703;
+
// Enum value for the entitlement source.
//
//
@@ -5639,6 +6040,73 @@ message ReportDefinition {
// Data format: `STRING`
VIDEO_FALLBACK_POSITION = 530;
+ // The duration of the ad break in seconds for a live stream event.
+ //
+ //
+ //
+ // Corresponds to "Ad break duration (seconds)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_LIVE_STREAM_EVENT_AD_BREAK_DURATION = 547;
+
+ // The ID of the ad break in a live stream event.
+ //
+ //
+ //
+ // Corresponds to "Live stream ad break ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ VIDEO_LIVE_STREAM_EVENT_AD_BREAK_ID = 548;
+
+ // The name of the ad break in a live stream event.
+ //
+ //
+ //
+ // Corresponds to "Live stream ad break" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ VIDEO_LIVE_STREAM_EVENT_AD_BREAK_NAME = 549;
+
+ // The time of the ad break in a live stream event in the format of
+ // YYYY-MM-DD HH:MM:SS+Timezone.
+ //
+ //
+ //
+ // Corresponds to "Ad break time" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `TIMESTAMP`
+ VIDEO_LIVE_STREAM_EVENT_AD_BREAK_TIME = 550;
+
+ // The ID of the live stream event.
+ //
+ //
+ //
+ // Corresponds to "Live stream ID" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_LIVE_STREAM_EVENT_ID = 551;
+
+ // The name of the live stream event.
+ //
+ //
+ //
+ // Corresponds to "Live stream" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ VIDEO_LIVE_STREAM_EVENT_NAME = 552;
+
// The performance of the video ad inventory broken out by source.
//
//
@@ -5754,6 +6222,17 @@ message ReportDefinition {
// Data format: `STRING`
VIDEO_STITCHER_TYPE_NAME = 753;
+ // Web property code
+ //
+ //
+ //
+ // Corresponds to "Web property code" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `STRING`
+ WEB_PROPERTY_CODE = 730;
+
// Breaks down reporting data by week of the year.
//
//
@@ -5847,7 +6326,7 @@ message ReportDefinition {
// Data format: `ENUM`
YOUTUBE_AD_TYPE = 399;
- // YouTube instream Ad Type locallized name.
+ // YouTube instream Ad Type localized name.
//
//
//
@@ -7694,7 +8173,7 @@ message ReportDefinition {
// The ratio of matched ad requests served by the Ad Exchange that
// resulted in users clicking on an ad. The clickthrough rate (CTR) is
// updated nightly. Ad Exchange Matched Request CTR is calculated as:
- // (Ad Exchange clicks / Ad Exchange Macthed Ad Requests).
+ // (Ad Exchange clicks / Ad Exchange Matched Ad Requests).
//
//
//
@@ -8263,6 +8742,32 @@ message ReportDefinition {
// Data format: `INTEGER`
AD_SERVER_INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS = 338;
+ // Total number of ad server VAST errors discounting errors generated from
+ // video fallback ads.
+ //
+ //
+ //
+ // Corresponds to "Ad Server opportunities from errors" in the Ad Manager
+ // UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AD_SERVER_OPPORTUNITIES_FROM_ERRORS = 461;
+
+ // Total number of ad server impressions discounting video fallback
+ // impressions.
+ //
+ //
+ //
+ // Corresponds to "Ad Server opportunities from impressions" in the Ad
+ // Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ AD_SERVER_OPPORTUNITIES_FROM_IMPRESSIONS = 462;
+
// Ratio of clicks delivered by the Google Ad Manager server in relation to
// the total clicks delivered.
//
@@ -8584,7 +9089,7 @@ message ReportDefinition {
//
//
//
- // Corresponds to "Header bidding trafficking ad requests with no bids" in
+ // Corresponds to "Ad requests with no header bidding trafficking bids" in
// the Ad Manager UI.
//
// Compatible with the following report types:
@@ -8623,7 +9128,7 @@ message ReportDefinition {
//
//
//
- // Corresponds to "Header bidding trafficking ad requests with bids" in the
+ // Corresponds to "Ad requests with header bidding trafficking bids" in the
// Ad Manager UI.
//
// Compatible with the following report types:
@@ -8647,7 +9152,8 @@ message ReportDefinition {
//
//
//
- // Corresponds to "Creative not retrieved" in the Ad Manager UI.
+ // Corresponds to "Line items with no creative retrieved" in the Ad Manager
+ // UI.
//
// Compatible with the following report types:
//
@@ -8683,7 +9189,7 @@ message ReportDefinition {
//
//
//
- // Corresponds to "Not selected to compete" in the Ad Manager UI.
+ // Corresponds to "Line items not selected to compete" in the Ad Manager UI.
//
// Compatible with the following report types:
//
@@ -8758,8 +9264,8 @@ message ReportDefinition {
//
//
//
- // Corresponds to "Mediation requests with no partners" in the Ad Manager
- // UI.
+ // Corresponds to "Ad requests with no targeted mediation partners" in the
+ // Ad Manager UI.
//
// Compatible with the following report types:
//
@@ -9099,7 +9605,8 @@ message ReportDefinition {
//
//
//
- // Corresponds to "Total ad requests (ATN)" in the Ad Manager UI.
+ // Corresponds to "Total ad requests (Ads traffic navigator)" in the Ad
+ // Manager UI.
//
// Compatible with the following report types:
//
@@ -9151,6 +9658,17 @@ message ReportDefinition {
// Data format: `INTEGER`
ATN_YIELD_GROUP_MEDIATION_PASSBACKS = 390;
+ // Cost of the audience segment.
+ //
+ //
+ //
+ // Corresponds to "Audience segment cost" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `MONEY`
+ AUDIENCE_SEGMENT_COST = 558;
+
// eCPM averaged across the Google Ad Manager server, AdSense,
// and Ad Exchange.
//
@@ -9170,7 +9688,7 @@ message ReportDefinition {
//
// Corresponds to "Total average eCPM w/o CPD" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`, `AD_SPEED`
//
// Data format: `MONEY`
AVERAGE_ECPM_WITHOUT_CPD = 5;
@@ -9282,7 +9800,7 @@ message ReportDefinition {
//
// Corresponds to "Total clicks" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`, `AD_SPEED`
//
// Data format: `INTEGER`
CLICKS = 2;
@@ -9395,7 +9913,7 @@ message ReportDefinition {
//
// Corresponds to "Total CTR" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`, `AD_SPEED`
//
// Data format: `PERCENT`
CTR = 3;
@@ -9859,7 +10377,7 @@ message ReportDefinition {
//
// Corresponds to "Total impressions" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`, `AD_SPEED`
//
// Data format: `INTEGER`
IMPRESSIONS = 1;
@@ -9980,6 +10498,176 @@ message ReportDefinition {
// Data format: `INTEGER`
OVERDELIVERED_IMPRESSIONS = 432;
+ // The gross revenue for partner finance reports.
+ //
+ //
+ //
+ // Corresponds to "Gross revenue" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PARTNER_FINANCE`
+ //
+ // Data format: `MONEY`
+ PARTNER_FINANCE_GROSS_REVENUE = 648;
+
+ // Monthly host eCPM for partner finance reports
+ //
+ //
+ //
+ // Corresponds to "Host eCPM" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PARTNER_FINANCE`
+ //
+ // Data format: `MONEY`
+ PARTNER_FINANCE_HOST_ECPM = 649;
+
+ // The host impressions for partner finance reports.
+ //
+ //
+ //
+ // Corresponds to "Host impressions" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PARTNER_FINANCE`
+ //
+ // Data format: `INTEGER`
+ PARTNER_FINANCE_HOST_IMPRESSIONS = 650;
+
+ // Monthly host revenue for partner finance reports
+ //
+ //
+ //
+ // Corresponds to "Host revenue" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PARTNER_FINANCE`
+ //
+ // Data format: `MONEY`
+ PARTNER_FINANCE_HOST_REVENUE = 651;
+
+ // Monthly partner eCPM for partner finance reports
+ //
+ //
+ //
+ // Corresponds to "Partner eCPM" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PARTNER_FINANCE`
+ //
+ // Data format: `MONEY`
+ PARTNER_FINANCE_PARTNER_ECPM = 652;
+
+ // Monthly partner revenue for partner finance reports
+ //
+ //
+ //
+ // Corresponds to "Partner revenue" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PARTNER_FINANCE`
+ //
+ // Data format: `MONEY`
+ PARTNER_FINANCE_PARTNER_REVENUE = 653;
+
+ // The gross revenue in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management gross revenue" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `MONEY`
+ PARTNER_MANAGEMENT_GROSS_REVENUE = 533;
+
+ // The host clicks in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management host clicks" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ PARTNER_MANAGEMENT_HOST_CLICKS = 534;
+
+ // The host CTR in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management host CTR" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `PERCENT`
+ PARTNER_MANAGEMENT_HOST_CTR = 535;
+
+ // The host impressions in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management host impressions" in the Ad Manager
+ // UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ PARTNER_MANAGEMENT_HOST_IMPRESSIONS = 536;
+
+ // The partner clicks in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management partner clicks" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ PARTNER_MANAGEMENT_PARTNER_CLICKS = 537;
+
+ // The partner CTR in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management partner CTR" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `PERCENT`
+ PARTNER_MANAGEMENT_PARTNER_CTR = 538;
+
+ // The partner impressions in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management partner impressions" in the Ad Manager
+ // UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS = 539;
+
+ // The total content views in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management total monetizable content views" in
+ // the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ PARTNER_MANAGEMENT_TOTAL_CONTENT_VIEWS = 540;
+
+ // The unfilled impressions in the partner management.
+ //
+ //
+ //
+ // Corresponds to "Partner management unfilled impressions" in the Ad
+ // Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`,
+ // `PARTNER_FINANCE`
+ //
+ // Data format: `INTEGER`
+ PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS = 541;
+
// The number of filled pod requests (filled by partner or Google) in
// partner sales.
//
@@ -10170,7 +10858,7 @@ message ReportDefinition {
//
// Corresponds to "Total revenue" in the Ad Manager UI.
//
- // Compatible with the following report types: `HISTORICAL`
+ // Compatible with the following report types: `HISTORICAL`, `AD_SPEED`
//
// Data format: `MONEY`
REVENUE = 36;
@@ -10189,7 +10877,63 @@ message ReportDefinition {
// Data format: `MONEY`
REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 214;
- // Total amount of revenue (excluding CPD) based on the number of units
+ // The total CPD net revenue for Revenue Verification reporting.
+ //
+ //
+ //
+ // Corresponds to "Total CPD revenue" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `REVENUE_VERIFICATION`
+ //
+ // Data format: `MONEY`
+ REVENUE_VERIFICATION_CPD_REVENUE = 560;
+
+ // The total CPD gross revenue for Revenue Verification reporting.
+ //
+ //
+ //
+ // Corresponds to "Total CPD revenue (gross)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `REVENUE_VERIFICATION`
+ //
+ // Data format: `MONEY`
+ REVENUE_VERIFICATION_GROSS_CPD_REVENUE = 559;
+
+ // The total gross revenue (excluding CPD) for Revenue Verification
+ // reporting.
+ //
+ //
+ //
+ // Corresponds to "Total CPM and CPC revenue (gross)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `REVENUE_VERIFICATION`
+ //
+ // Data format: `MONEY`
+ REVENUE_VERIFICATION_GROSS_REVENUE_WITHOUT_CPD = 561;
+
+ // The total impressions for Revenue Verification reporting.
+ //
+ //
+ //
+ // Corresponds to "Total impressions" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `REVENUE_VERIFICATION`
+ //
+ // Data format: `INTEGER`
+ REVENUE_VERIFICATION_IMPRESSIONS = 564;
+
+ // The total net revenue (excluding CPD) for Revenue Verification reporting.
+ //
+ //
+ //
+ // Corresponds to "Total CPM and CPC revenue" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `REVENUE_VERIFICATION`
+ //
+ // Data format: `MONEY`
+ REVENUE_VERIFICATION_REVENUE_WITHOUT_CPD = 567;
+
+ // Total revenue (excluding CPD) based on the number of units
// served by the Google Ad Manager server, AdSense, Ad Exchange, and
// third-party Mediation networks.
//
@@ -10926,17 +11670,6 @@ message ReportDefinition {
// Data format: `INTEGER`
USER_MESSAGES_ALLOW_ADS_PAGEVIEWS = 489;
- // Number of times a US state regulations message was shown to users.
- //
- //
- //
- // Corresponds to "US states messages shown" in the Ad Manager UI.
- //
- // Compatible with the following report types: `PRIVACY_AND_MESSAGING`
- //
- // Data format: `INTEGER`
- USER_MESSAGES_CCPA_MESSAGES_SHOWN = 490;
-
// Number of iOS ATT alerts that were triggered by an IDFA message (IDFA
// messages can be IDFA explainers or GDPR messages).
//
@@ -11101,6 +11834,28 @@ message ReportDefinition {
// Data format: `PERCENT`
USER_MESSAGES_UPTC_PERSONALIZATION_OPT_OUT_RATIO = 502;
+ // Number of times a US state regulations message was shown to users.
+ //
+ //
+ //
+ // Corresponds to "US states messages shown" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PRIVACY_AND_MESSAGING`
+ //
+ // Data format: `INTEGER`
+ USER_MESSAGES_US_STATES_MESSAGES_SHOWN = 490;
+
+ // Number of times users selected the opt-out option in a US states message.
+ //
+ //
+ //
+ // Corresponds to "US states opt-out selections" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `PRIVACY_AND_MESSAGING`
+ //
+ // Data format: `INTEGER`
+ USER_MESSAGES_US_STATES_OPT_OUT_SELECTIONS = 586;
+
// The number of errors of type 100 in reporting.
//
//
@@ -11995,6 +12750,120 @@ message ReportDefinition {
// Data format: `INTEGER`
VIDEO_REAL_TIME_UNMATCHED_QUERIES = 141;
+ // The total number of breaks completed or fatal errors for the last ad in
+ // the pod.
+ //
+ //
+ //
+ // Corresponds to "Break end" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_END = 279;
+
+ // The total number of breaks starts or errors for the first ad in a pod
+ // that users made it to.
+ //
+ //
+ //
+ // Corresponds to "Break start" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_START = 280;
+
+ // The number of video ad opportunities reached by a user (rounded down, or
+ // capped based on your max ads setting, whichever is less).
+ //
+ //
+ //
+ // Corresponds to "Capped opportunities (adbreak)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_ADBREAK = 281;
+
+ // The total number of seconds available to be filled.
+ //
+ //
+ //
+ // Corresponds to "Total duration (adbreak)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_ADBREAK = 283;
+
+ // The total number of seconds filled.
+ //
+ //
+ //
+ // Corresponds to "Matched duration (adbreak)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_ADBREAK = 285;
+
+ // The total matched opportunities in video true opportunities reporting.
+ //
+ //
+ //
+ // Corresponds to "Matched opportunities (adbreak)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_ADBREAK = 287;
+
+ // The number of video ad opportunities reached by a user (rounded down).
+ //
+ //
+ //
+ // Corresponds to "Viewed opportunities (adbreak)" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_ADBREAK = 289;
+
+ // The number of TrueView ad impressions viewed.
+ //
+ //
+ //
+ // Corresponds to "True views" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `INTEGER`
+ VIDEO_TRUE_VIEWS = 392;
+
+ // Measures the percentage of skips.
+ //
+ //
+ //
+ // Corresponds to "True views skip rate" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `PERCENT`
+ VIDEO_TRUE_VIEW_SKIP_RATE = 393;
+
+ // The view-through rate is the percentage of views divided by number of
+ // impressions
+ //
+ //
+ //
+ // Corresponds to "True views view-through rate" in the Ad Manager UI.
+ //
+ // Compatible with the following report types: `HISTORICAL`
+ //
+ // Data format: `PERCENT`
+ VIDEO_TRUE_VIEW_VIEW_THROUGH_RATE = 394;
+
// Number of times that the publisher specified a video ad played
// automatically.
//
diff --git a/packages/google-ads-admanager/protos/google/ads/admanager/v1/report_messages.proto b/packages/google-ads-admanager/protos/google/ads/admanager/v1/report_messages.proto
index 76f1cd167e6..9560974d84e 100644
--- a/packages/google-ads-admanager/protos/google/ads/admanager/v1/report_messages.proto
+++ b/packages/google-ads-admanager/protos/google/ads/admanager/v1/report_messages.proto
@@ -44,6 +44,8 @@ message Report {
// The visibility of a report.
enum Visibility {
+ option allow_alias = true;
+
// Default value. Reports with hidden visibility won't appear in the Ad
// Manager UI.
HIDDEN = 0;
@@ -53,8 +55,11 @@ message Report {
DRAFT = 1;
// Reports with saved visibility will appear in the Ad Manager UI by
- // default.
- SAVED = 2;
+ // default. Alias for VISIBLE and will be replaced in the future.
+ SAVED = 2 [deprecated = true];
+
+ // Reports with this visibility will appear in the Ad Manager UI.
+ VISIBLE = 2;
}
// Identifier. The resource name of the report.
diff --git a/packages/google-ads-admanager/protos/protos.d.ts b/packages/google-ads-admanager/protos/protos.d.ts
index 8f5f2b21ab0..30e9564a180 100644
--- a/packages/google-ads-admanager/protos/protos.d.ts
+++ b/packages/google-ads-admanager/protos/protos.d.ts
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -3753,6 +3753,104 @@ export namespace google {
* @returns Promise
*/
public listAdUnitSizes(request: google.ads.admanager.v1.IListAdUnitSizesRequest): Promise;
+
+ /**
+ * Calls CreateAdUnit.
+ * @param request CreateAdUnitRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and AdUnit
+ */
+ public createAdUnit(request: google.ads.admanager.v1.ICreateAdUnitRequest, callback: google.ads.admanager.v1.AdUnitService.CreateAdUnitCallback): void;
+
+ /**
+ * Calls CreateAdUnit.
+ * @param request CreateAdUnitRequest message or plain object
+ * @returns Promise
+ */
+ public createAdUnit(request: google.ads.admanager.v1.ICreateAdUnitRequest): Promise;
+
+ /**
+ * Calls UpdateAdUnit.
+ * @param request UpdateAdUnitRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and AdUnit
+ */
+ public updateAdUnit(request: google.ads.admanager.v1.IUpdateAdUnitRequest, callback: google.ads.admanager.v1.AdUnitService.UpdateAdUnitCallback): void;
+
+ /**
+ * Calls UpdateAdUnit.
+ * @param request UpdateAdUnitRequest message or plain object
+ * @returns Promise
+ */
+ public updateAdUnit(request: google.ads.admanager.v1.IUpdateAdUnitRequest): Promise;
+
+ /**
+ * Calls BatchCreateAdUnits.
+ * @param request BatchCreateAdUnitsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchCreateAdUnitsResponse
+ */
+ public batchCreateAdUnits(request: google.ads.admanager.v1.IBatchCreateAdUnitsRequest, callback: google.ads.admanager.v1.AdUnitService.BatchCreateAdUnitsCallback): void;
+
+ /**
+ * Calls BatchCreateAdUnits.
+ * @param request BatchCreateAdUnitsRequest message or plain object
+ * @returns Promise
+ */
+ public batchCreateAdUnits(request: google.ads.admanager.v1.IBatchCreateAdUnitsRequest): Promise;
+
+ /**
+ * Calls BatchUpdateAdUnits.
+ * @param request BatchUpdateAdUnitsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchUpdateAdUnitsResponse
+ */
+ public batchUpdateAdUnits(request: google.ads.admanager.v1.IBatchUpdateAdUnitsRequest, callback: google.ads.admanager.v1.AdUnitService.BatchUpdateAdUnitsCallback): void;
+
+ /**
+ * Calls BatchUpdateAdUnits.
+ * @param request BatchUpdateAdUnitsRequest message or plain object
+ * @returns Promise
+ */
+ public batchUpdateAdUnits(request: google.ads.admanager.v1.IBatchUpdateAdUnitsRequest): Promise;
+
+ /**
+ * Calls BatchActivateAdUnits.
+ * @param request BatchActivateAdUnitsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchActivateAdUnitsResponse
+ */
+ public batchActivateAdUnits(request: google.ads.admanager.v1.IBatchActivateAdUnitsRequest, callback: google.ads.admanager.v1.AdUnitService.BatchActivateAdUnitsCallback): void;
+
+ /**
+ * Calls BatchActivateAdUnits.
+ * @param request BatchActivateAdUnitsRequest message or plain object
+ * @returns Promise
+ */
+ public batchActivateAdUnits(request: google.ads.admanager.v1.IBatchActivateAdUnitsRequest): Promise;
+
+ /**
+ * Calls BatchDeactivateAdUnits.
+ * @param request BatchDeactivateAdUnitsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchDeactivateAdUnitsResponse
+ */
+ public batchDeactivateAdUnits(request: google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest, callback: google.ads.admanager.v1.AdUnitService.BatchDeactivateAdUnitsCallback): void;
+
+ /**
+ * Calls BatchDeactivateAdUnits.
+ * @param request BatchDeactivateAdUnitsRequest message or plain object
+ * @returns Promise
+ */
+ public batchDeactivateAdUnits(request: google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest): Promise;
+
+ /**
+ * Calls BatchArchiveAdUnits.
+ * @param request BatchArchiveAdUnitsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchArchiveAdUnitsResponse
+ */
+ public batchArchiveAdUnits(request: google.ads.admanager.v1.IBatchArchiveAdUnitsRequest, callback: google.ads.admanager.v1.AdUnitService.BatchArchiveAdUnitsCallback): void;
+
+ /**
+ * Calls BatchArchiveAdUnits.
+ * @param request BatchArchiveAdUnitsRequest message or plain object
+ * @returns Promise
+ */
+ public batchArchiveAdUnits(request: google.ads.admanager.v1.IBatchArchiveAdUnitsRequest): Promise;
}
namespace AdUnitService {
@@ -3777,6 +3875,55 @@ export namespace google {
* @param [response] ListAdUnitSizesResponse
*/
type ListAdUnitSizesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListAdUnitSizesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|createAdUnit}.
+ * @param error Error, if any
+ * @param [response] AdUnit
+ */
+ type CreateAdUnitCallback = (error: (Error|null), response?: google.ads.admanager.v1.AdUnit) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|updateAdUnit}.
+ * @param error Error, if any
+ * @param [response] AdUnit
+ */
+ type UpdateAdUnitCallback = (error: (Error|null), response?: google.ads.admanager.v1.AdUnit) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchCreateAdUnits}.
+ * @param error Error, if any
+ * @param [response] BatchCreateAdUnitsResponse
+ */
+ type BatchCreateAdUnitsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchCreateAdUnitsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchUpdateAdUnits}.
+ * @param error Error, if any
+ * @param [response] BatchUpdateAdUnitsResponse
+ */
+ type BatchUpdateAdUnitsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchUpdateAdUnitsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchActivateAdUnits}.
+ * @param error Error, if any
+ * @param [response] BatchActivateAdUnitsResponse
+ */
+ type BatchActivateAdUnitsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchActivateAdUnitsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchDeactivateAdUnits}.
+ * @param error Error, if any
+ * @param [response] BatchDeactivateAdUnitsResponse
+ */
+ type BatchDeactivateAdUnitsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchDeactivateAdUnitsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchArchiveAdUnits}.
+ * @param error Error, if any
+ * @param [response] BatchArchiveAdUnitsResponse
+ */
+ type BatchArchiveAdUnitsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchArchiveAdUnitsResponse) => void;
}
/** Properties of a GetAdUnitRequest. */
@@ -4112,3106 +4259,3171 @@ export namespace google {
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListAdUnitSizesRequest. */
- interface IListAdUnitSizesRequest {
+ /** Properties of a CreateAdUnitRequest. */
+ interface ICreateAdUnitRequest {
- /** ListAdUnitSizesRequest parent */
+ /** CreateAdUnitRequest parent */
parent?: (string|null);
- /** ListAdUnitSizesRequest pageSize */
- pageSize?: (number|null);
-
- /** ListAdUnitSizesRequest pageToken */
- pageToken?: (string|null);
-
- /** ListAdUnitSizesRequest filter */
- filter?: (string|null);
-
- /** ListAdUnitSizesRequest orderBy */
- orderBy?: (string|null);
-
- /** ListAdUnitSizesRequest skip */
- skip?: (number|null);
+ /** CreateAdUnitRequest adUnit */
+ adUnit?: (google.ads.admanager.v1.IAdUnit|null);
}
- /** Represents a ListAdUnitSizesRequest. */
- class ListAdUnitSizesRequest implements IListAdUnitSizesRequest {
+ /** Represents a CreateAdUnitRequest. */
+ class CreateAdUnitRequest implements ICreateAdUnitRequest {
/**
- * Constructs a new ListAdUnitSizesRequest.
+ * Constructs a new CreateAdUnitRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListAdUnitSizesRequest);
+ constructor(properties?: google.ads.admanager.v1.ICreateAdUnitRequest);
- /** ListAdUnitSizesRequest parent. */
+ /** CreateAdUnitRequest parent. */
public parent: string;
- /** ListAdUnitSizesRequest pageSize. */
- public pageSize: number;
-
- /** ListAdUnitSizesRequest pageToken. */
- public pageToken: string;
-
- /** ListAdUnitSizesRequest filter. */
- public filter: string;
-
- /** ListAdUnitSizesRequest orderBy. */
- public orderBy: string;
-
- /** ListAdUnitSizesRequest skip. */
- public skip: number;
+ /** CreateAdUnitRequest adUnit. */
+ public adUnit?: (google.ads.admanager.v1.IAdUnit|null);
/**
- * Creates a new ListAdUnitSizesRequest instance using the specified properties.
+ * Creates a new CreateAdUnitRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListAdUnitSizesRequest instance
+ * @returns CreateAdUnitRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListAdUnitSizesRequest): google.ads.admanager.v1.ListAdUnitSizesRequest;
+ public static create(properties?: google.ads.admanager.v1.ICreateAdUnitRequest): google.ads.admanager.v1.CreateAdUnitRequest;
/**
- * Encodes the specified ListAdUnitSizesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesRequest.verify|verify} messages.
- * @param message ListAdUnitSizesRequest message or plain object to encode
+ * Encodes the specified CreateAdUnitRequest message. Does not implicitly {@link google.ads.admanager.v1.CreateAdUnitRequest.verify|verify} messages.
+ * @param message CreateAdUnitRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListAdUnitSizesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICreateAdUnitRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListAdUnitSizesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesRequest.verify|verify} messages.
- * @param message ListAdUnitSizesRequest message or plain object to encode
+ * Encodes the specified CreateAdUnitRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreateAdUnitRequest.verify|verify} messages.
+ * @param message CreateAdUnitRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListAdUnitSizesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreateAdUnitRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListAdUnitSizesRequest message from the specified reader or buffer.
+ * Decodes a CreateAdUnitRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListAdUnitSizesRequest
+ * @returns CreateAdUnitRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListAdUnitSizesRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreateAdUnitRequest;
/**
- * Decodes a ListAdUnitSizesRequest message from the specified reader or buffer, length delimited.
+ * Decodes a CreateAdUnitRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListAdUnitSizesRequest
+ * @returns CreateAdUnitRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListAdUnitSizesRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreateAdUnitRequest;
/**
- * Verifies a ListAdUnitSizesRequest message.
+ * Verifies a CreateAdUnitRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListAdUnitSizesRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a CreateAdUnitRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListAdUnitSizesRequest
+ * @returns CreateAdUnitRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListAdUnitSizesRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreateAdUnitRequest;
/**
- * Creates a plain object from a ListAdUnitSizesRequest message. Also converts values to other types if specified.
- * @param message ListAdUnitSizesRequest
+ * Creates a plain object from a CreateAdUnitRequest message. Also converts values to other types if specified.
+ * @param message CreateAdUnitRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListAdUnitSizesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CreateAdUnitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListAdUnitSizesRequest to JSON.
+ * Converts this CreateAdUnitRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListAdUnitSizesRequest
+ * Gets the default type url for CreateAdUnitRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListAdUnitSizesResponse. */
- interface IListAdUnitSizesResponse {
-
- /** ListAdUnitSizesResponse adUnitSizes */
- adUnitSizes?: (google.ads.admanager.v1.IAdUnitSize[]|null);
+ /** Properties of an UpdateAdUnitRequest. */
+ interface IUpdateAdUnitRequest {
- /** ListAdUnitSizesResponse nextPageToken */
- nextPageToken?: (string|null);
+ /** UpdateAdUnitRequest adUnit */
+ adUnit?: (google.ads.admanager.v1.IAdUnit|null);
- /** ListAdUnitSizesResponse totalSize */
- totalSize?: (number|null);
+ /** UpdateAdUnitRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
}
- /** Represents a ListAdUnitSizesResponse. */
- class ListAdUnitSizesResponse implements IListAdUnitSizesResponse {
+ /** Represents an UpdateAdUnitRequest. */
+ class UpdateAdUnitRequest implements IUpdateAdUnitRequest {
/**
- * Constructs a new ListAdUnitSizesResponse.
+ * Constructs a new UpdateAdUnitRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListAdUnitSizesResponse);
-
- /** ListAdUnitSizesResponse adUnitSizes. */
- public adUnitSizes: google.ads.admanager.v1.IAdUnitSize[];
+ constructor(properties?: google.ads.admanager.v1.IUpdateAdUnitRequest);
- /** ListAdUnitSizesResponse nextPageToken. */
- public nextPageToken: string;
+ /** UpdateAdUnitRequest adUnit. */
+ public adUnit?: (google.ads.admanager.v1.IAdUnit|null);
- /** ListAdUnitSizesResponse totalSize. */
- public totalSize: number;
+ /** UpdateAdUnitRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
/**
- * Creates a new ListAdUnitSizesResponse instance using the specified properties.
+ * Creates a new UpdateAdUnitRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListAdUnitSizesResponse instance
+ * @returns UpdateAdUnitRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListAdUnitSizesResponse): google.ads.admanager.v1.ListAdUnitSizesResponse;
+ public static create(properties?: google.ads.admanager.v1.IUpdateAdUnitRequest): google.ads.admanager.v1.UpdateAdUnitRequest;
/**
- * Encodes the specified ListAdUnitSizesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesResponse.verify|verify} messages.
- * @param message ListAdUnitSizesResponse message or plain object to encode
+ * Encodes the specified UpdateAdUnitRequest message. Does not implicitly {@link google.ads.admanager.v1.UpdateAdUnitRequest.verify|verify} messages.
+ * @param message UpdateAdUnitRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListAdUnitSizesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IUpdateAdUnitRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListAdUnitSizesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesResponse.verify|verify} messages.
- * @param message ListAdUnitSizesResponse message or plain object to encode
+ * Encodes the specified UpdateAdUnitRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.UpdateAdUnitRequest.verify|verify} messages.
+ * @param message UpdateAdUnitRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListAdUnitSizesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IUpdateAdUnitRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListAdUnitSizesResponse message from the specified reader or buffer.
+ * Decodes an UpdateAdUnitRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListAdUnitSizesResponse
+ * @returns UpdateAdUnitRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListAdUnitSizesResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.UpdateAdUnitRequest;
/**
- * Decodes a ListAdUnitSizesResponse message from the specified reader or buffer, length delimited.
+ * Decodes an UpdateAdUnitRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListAdUnitSizesResponse
+ * @returns UpdateAdUnitRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListAdUnitSizesResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.UpdateAdUnitRequest;
/**
- * Verifies a ListAdUnitSizesResponse message.
+ * Verifies an UpdateAdUnitRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListAdUnitSizesResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates an UpdateAdUnitRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListAdUnitSizesResponse
+ * @returns UpdateAdUnitRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListAdUnitSizesResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.UpdateAdUnitRequest;
/**
- * Creates a plain object from a ListAdUnitSizesResponse message. Also converts values to other types if specified.
- * @param message ListAdUnitSizesResponse
+ * Creates a plain object from an UpdateAdUnitRequest message. Also converts values to other types if specified.
+ * @param message UpdateAdUnitRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListAdUnitSizesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.UpdateAdUnitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListAdUnitSizesResponse to JSON.
+ * Converts this UpdateAdUnitRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListAdUnitSizesResponse
+ * Gets the default type url for UpdateAdUnitRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of an AdManagerError. */
- interface IAdManagerError {
-
- /** AdManagerError errorCode */
- errorCode?: (string|null);
-
- /** AdManagerError message */
- message?: (string|null);
-
- /** AdManagerError fieldPath */
- fieldPath?: (string|null);
-
- /** AdManagerError trigger */
- trigger?: (string|null);
+ /** Properties of a BatchCreateAdUnitsRequest. */
+ interface IBatchCreateAdUnitsRequest {
- /** AdManagerError stackTrace */
- stackTrace?: (string|null);
+ /** BatchCreateAdUnitsRequest parent */
+ parent?: (string|null);
- /** AdManagerError details */
- details?: (google.protobuf.IAny[]|null);
+ /** BatchCreateAdUnitsRequest requests */
+ requests?: (google.ads.admanager.v1.ICreateAdUnitRequest[]|null);
}
- /** Represents an AdManagerError. */
- class AdManagerError implements IAdManagerError {
+ /** Represents a BatchCreateAdUnitsRequest. */
+ class BatchCreateAdUnitsRequest implements IBatchCreateAdUnitsRequest {
/**
- * Constructs a new AdManagerError.
+ * Constructs a new BatchCreateAdUnitsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IAdManagerError);
-
- /** AdManagerError errorCode. */
- public errorCode: string;
-
- /** AdManagerError message. */
- public message: string;
+ constructor(properties?: google.ads.admanager.v1.IBatchCreateAdUnitsRequest);
- /** AdManagerError fieldPath. */
- public fieldPath: string;
-
- /** AdManagerError trigger. */
- public trigger: string;
-
- /** AdManagerError stackTrace. */
- public stackTrace: string;
+ /** BatchCreateAdUnitsRequest parent. */
+ public parent: string;
- /** AdManagerError details. */
- public details: google.protobuf.IAny[];
+ /** BatchCreateAdUnitsRequest requests. */
+ public requests: google.ads.admanager.v1.ICreateAdUnitRequest[];
/**
- * Creates a new AdManagerError instance using the specified properties.
+ * Creates a new BatchCreateAdUnitsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns AdManagerError instance
+ * @returns BatchCreateAdUnitsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IAdManagerError): google.ads.admanager.v1.AdManagerError;
+ public static create(properties?: google.ads.admanager.v1.IBatchCreateAdUnitsRequest): google.ads.admanager.v1.BatchCreateAdUnitsRequest;
/**
- * Encodes the specified AdManagerError message. Does not implicitly {@link google.ads.admanager.v1.AdManagerError.verify|verify} messages.
- * @param message AdManagerError message or plain object to encode
+ * Encodes the specified BatchCreateAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateAdUnitsRequest.verify|verify} messages.
+ * @param message BatchCreateAdUnitsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IAdManagerError, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchCreateAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified AdManagerError message, length delimited. Does not implicitly {@link google.ads.admanager.v1.AdManagerError.verify|verify} messages.
- * @param message AdManagerError message or plain object to encode
+ * Encodes the specified BatchCreateAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateAdUnitsRequest.verify|verify} messages.
+ * @param message BatchCreateAdUnitsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IAdManagerError, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes an AdManagerError message from the specified reader or buffer.
+ * Decodes a BatchCreateAdUnitsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns AdManagerError
+ * @returns BatchCreateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.AdManagerError;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateAdUnitsRequest;
/**
- * Decodes an AdManagerError message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateAdUnitsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns AdManagerError
+ * @returns BatchCreateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.AdManagerError;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateAdUnitsRequest;
/**
- * Verifies an AdManagerError message.
+ * Verifies a BatchCreateAdUnitsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates an AdManagerError message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns AdManagerError
+ * @returns BatchCreateAdUnitsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.AdManagerError;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateAdUnitsRequest;
/**
- * Creates a plain object from an AdManagerError message. Also converts values to other types if specified.
- * @param message AdManagerError
+ * Creates a plain object from a BatchCreateAdUnitsRequest message. Also converts values to other types if specified.
+ * @param message BatchCreateAdUnitsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.AdManagerError, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchCreateAdUnitsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this AdManagerError to JSON.
+ * Converts this BatchCreateAdUnitsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for AdManagerError
+ * Gets the default type url for BatchCreateAdUnitsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of an Application. */
- interface IApplication {
-
- /** Application name */
- name?: (string|null);
+ /** Properties of a BatchCreateAdUnitsResponse. */
+ interface IBatchCreateAdUnitsResponse {
- /** Application displayName */
- displayName?: (string|null);
+ /** BatchCreateAdUnitsResponse adUnits */
+ adUnits?: (google.ads.admanager.v1.IAdUnit[]|null);
}
- /** Represents an Application. */
- class Application implements IApplication {
+ /** Represents a BatchCreateAdUnitsResponse. */
+ class BatchCreateAdUnitsResponse implements IBatchCreateAdUnitsResponse {
/**
- * Constructs a new Application.
+ * Constructs a new BatchCreateAdUnitsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IApplication);
-
- /** Application name. */
- public name: string;
+ constructor(properties?: google.ads.admanager.v1.IBatchCreateAdUnitsResponse);
- /** Application displayName. */
- public displayName?: (string|null);
+ /** BatchCreateAdUnitsResponse adUnits. */
+ public adUnits: google.ads.admanager.v1.IAdUnit[];
/**
- * Creates a new Application instance using the specified properties.
+ * Creates a new BatchCreateAdUnitsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns Application instance
+ * @returns BatchCreateAdUnitsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IApplication): google.ads.admanager.v1.Application;
+ public static create(properties?: google.ads.admanager.v1.IBatchCreateAdUnitsResponse): google.ads.admanager.v1.BatchCreateAdUnitsResponse;
/**
- * Encodes the specified Application message. Does not implicitly {@link google.ads.admanager.v1.Application.verify|verify} messages.
- * @param message Application message or plain object to encode
+ * Encodes the specified BatchCreateAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateAdUnitsResponse.verify|verify} messages.
+ * @param message BatchCreateAdUnitsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IApplication, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchCreateAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified Application message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Application.verify|verify} messages.
- * @param message Application message or plain object to encode
+ * Encodes the specified BatchCreateAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateAdUnitsResponse.verify|verify} messages.
+ * @param message BatchCreateAdUnitsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IApplication, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes an Application message from the specified reader or buffer.
+ * Decodes a BatchCreateAdUnitsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns Application
+ * @returns BatchCreateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Application;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateAdUnitsResponse;
/**
- * Decodes an Application message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateAdUnitsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns Application
+ * @returns BatchCreateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Application;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateAdUnitsResponse;
/**
- * Verifies an Application message.
+ * Verifies a BatchCreateAdUnitsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates an Application message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns Application
+ * @returns BatchCreateAdUnitsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Application;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateAdUnitsResponse;
/**
- * Creates a plain object from an Application message. Also converts values to other types if specified.
- * @param message Application
+ * Creates a plain object from a BatchCreateAdUnitsResponse message. Also converts values to other types if specified.
+ * @param message BatchCreateAdUnitsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.Application, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchCreateAdUnitsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this Application to JSON.
+ * Converts this BatchCreateAdUnitsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for Application
+ * Gets the default type url for BatchCreateAdUnitsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents an ApplicationService */
- class ApplicationService extends $protobuf.rpc.Service {
+ /** Properties of a BatchUpdateAdUnitsRequest. */
+ interface IBatchUpdateAdUnitsRequest {
+
+ /** BatchUpdateAdUnitsRequest parent */
+ parent?: (string|null);
+
+ /** BatchUpdateAdUnitsRequest requests */
+ requests?: (google.ads.admanager.v1.IUpdateAdUnitRequest[]|null);
+ }
+
+ /** Represents a BatchUpdateAdUnitsRequest. */
+ class BatchUpdateAdUnitsRequest implements IBatchUpdateAdUnitsRequest {
/**
- * Constructs a new ApplicationService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
+ * Constructs a new BatchUpdateAdUnitsRequest.
+ * @param [properties] Properties to set
*/
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+ constructor(properties?: google.ads.admanager.v1.IBatchUpdateAdUnitsRequest);
+
+ /** BatchUpdateAdUnitsRequest parent. */
+ public parent: string;
+
+ /** BatchUpdateAdUnitsRequest requests. */
+ public requests: google.ads.admanager.v1.IUpdateAdUnitRequest[];
/**
- * Creates new ApplicationService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
+ * Creates a new BatchUpdateAdUnitsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BatchUpdateAdUnitsRequest instance
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ApplicationService;
+ public static create(properties?: google.ads.admanager.v1.IBatchUpdateAdUnitsRequest): google.ads.admanager.v1.BatchUpdateAdUnitsRequest;
/**
- * Calls GetApplication.
- * @param request GetApplicationRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Application
+ * Encodes the specified BatchUpdateAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateAdUnitsRequest.verify|verify} messages.
+ * @param message BatchUpdateAdUnitsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public getApplication(request: google.ads.admanager.v1.IGetApplicationRequest, callback: google.ads.admanager.v1.ApplicationService.GetApplicationCallback): void;
+ public static encode(message: google.ads.admanager.v1.IBatchUpdateAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls GetApplication.
- * @param request GetApplicationRequest message or plain object
- * @returns Promise
+ * Encodes the specified BatchUpdateAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateAdUnitsRequest.verify|verify} messages.
+ * @param message BatchUpdateAdUnitsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public getApplication(request: google.ads.admanager.v1.IGetApplicationRequest): Promise;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls ListApplications.
- * @param request ListApplicationsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListApplicationsResponse
+ * Decodes a BatchUpdateAdUnitsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BatchUpdateAdUnitsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public listApplications(request: google.ads.admanager.v1.IListApplicationsRequest, callback: google.ads.admanager.v1.ApplicationService.ListApplicationsCallback): void;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateAdUnitsRequest;
/**
- * Calls ListApplications.
- * @param request ListApplicationsRequest message or plain object
- * @returns Promise
+ * Decodes a BatchUpdateAdUnitsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BatchUpdateAdUnitsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public listApplications(request: google.ads.admanager.v1.IListApplicationsRequest): Promise;
- }
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateAdUnitsRequest;
- namespace ApplicationService {
+ /**
+ * Verifies a BatchUpdateAdUnitsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
/**
- * Callback as used by {@link google.ads.admanager.v1.ApplicationService|getApplication}.
- * @param error Error, if any
- * @param [response] Application
+ * Creates a BatchUpdateAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BatchUpdateAdUnitsRequest
*/
- type GetApplicationCallback = (error: (Error|null), response?: google.ads.admanager.v1.Application) => void;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateAdUnitsRequest;
/**
- * Callback as used by {@link google.ads.admanager.v1.ApplicationService|listApplications}.
- * @param error Error, if any
- * @param [response] ListApplicationsResponse
+ * Creates a plain object from a BatchUpdateAdUnitsRequest message. Also converts values to other types if specified.
+ * @param message BatchUpdateAdUnitsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
*/
- type ListApplicationsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListApplicationsResponse) => void;
+ public static toObject(message: google.ads.admanager.v1.BatchUpdateAdUnitsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BatchUpdateAdUnitsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BatchUpdateAdUnitsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a GetApplicationRequest. */
- interface IGetApplicationRequest {
+ /** Properties of a BatchUpdateAdUnitsResponse. */
+ interface IBatchUpdateAdUnitsResponse {
- /** GetApplicationRequest name */
- name?: (string|null);
+ /** BatchUpdateAdUnitsResponse adUnits */
+ adUnits?: (google.ads.admanager.v1.IAdUnit[]|null);
}
- /** Represents a GetApplicationRequest. */
- class GetApplicationRequest implements IGetApplicationRequest {
+ /** Represents a BatchUpdateAdUnitsResponse. */
+ class BatchUpdateAdUnitsResponse implements IBatchUpdateAdUnitsResponse {
/**
- * Constructs a new GetApplicationRequest.
+ * Constructs a new BatchUpdateAdUnitsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetApplicationRequest);
+ constructor(properties?: google.ads.admanager.v1.IBatchUpdateAdUnitsResponse);
- /** GetApplicationRequest name. */
- public name: string;
+ /** BatchUpdateAdUnitsResponse adUnits. */
+ public adUnits: google.ads.admanager.v1.IAdUnit[];
/**
- * Creates a new GetApplicationRequest instance using the specified properties.
+ * Creates a new BatchUpdateAdUnitsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetApplicationRequest instance
+ * @returns BatchUpdateAdUnitsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetApplicationRequest): google.ads.admanager.v1.GetApplicationRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchUpdateAdUnitsResponse): google.ads.admanager.v1.BatchUpdateAdUnitsResponse;
/**
- * Encodes the specified GetApplicationRequest message. Does not implicitly {@link google.ads.admanager.v1.GetApplicationRequest.verify|verify} messages.
- * @param message GetApplicationRequest message or plain object to encode
+ * Encodes the specified BatchUpdateAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateAdUnitsResponse.verify|verify} messages.
+ * @param message BatchUpdateAdUnitsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetApplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchUpdateAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetApplicationRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetApplicationRequest.verify|verify} messages.
- * @param message GetApplicationRequest message or plain object to encode
+ * Encodes the specified BatchUpdateAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateAdUnitsResponse.verify|verify} messages.
+ * @param message BatchUpdateAdUnitsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetApplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetApplicationRequest message from the specified reader or buffer.
+ * Decodes a BatchUpdateAdUnitsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetApplicationRequest
+ * @returns BatchUpdateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetApplicationRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateAdUnitsResponse;
/**
- * Decodes a GetApplicationRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchUpdateAdUnitsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetApplicationRequest
+ * @returns BatchUpdateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetApplicationRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateAdUnitsResponse;
/**
- * Verifies a GetApplicationRequest message.
+ * Verifies a BatchUpdateAdUnitsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetApplicationRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchUpdateAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetApplicationRequest
+ * @returns BatchUpdateAdUnitsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetApplicationRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateAdUnitsResponse;
/**
- * Creates a plain object from a GetApplicationRequest message. Also converts values to other types if specified.
- * @param message GetApplicationRequest
+ * Creates a plain object from a BatchUpdateAdUnitsResponse message. Also converts values to other types if specified.
+ * @param message BatchUpdateAdUnitsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetApplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchUpdateAdUnitsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetApplicationRequest to JSON.
+ * Converts this BatchUpdateAdUnitsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetApplicationRequest
+ * Gets the default type url for BatchUpdateAdUnitsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListApplicationsRequest. */
- interface IListApplicationsRequest {
+ /** Properties of a ListAdUnitSizesRequest. */
+ interface IListAdUnitSizesRequest {
- /** ListApplicationsRequest parent */
+ /** ListAdUnitSizesRequest parent */
parent?: (string|null);
- /** ListApplicationsRequest pageSize */
+ /** ListAdUnitSizesRequest pageSize */
pageSize?: (number|null);
- /** ListApplicationsRequest pageToken */
+ /** ListAdUnitSizesRequest pageToken */
pageToken?: (string|null);
- /** ListApplicationsRequest filter */
+ /** ListAdUnitSizesRequest filter */
filter?: (string|null);
- /** ListApplicationsRequest orderBy */
+ /** ListAdUnitSizesRequest orderBy */
orderBy?: (string|null);
- /** ListApplicationsRequest skip */
+ /** ListAdUnitSizesRequest skip */
skip?: (number|null);
}
- /** Represents a ListApplicationsRequest. */
- class ListApplicationsRequest implements IListApplicationsRequest {
+ /** Represents a ListAdUnitSizesRequest. */
+ class ListAdUnitSizesRequest implements IListAdUnitSizesRequest {
/**
- * Constructs a new ListApplicationsRequest.
+ * Constructs a new ListAdUnitSizesRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListApplicationsRequest);
+ constructor(properties?: google.ads.admanager.v1.IListAdUnitSizesRequest);
- /** ListApplicationsRequest parent. */
+ /** ListAdUnitSizesRequest parent. */
public parent: string;
- /** ListApplicationsRequest pageSize. */
+ /** ListAdUnitSizesRequest pageSize. */
public pageSize: number;
- /** ListApplicationsRequest pageToken. */
+ /** ListAdUnitSizesRequest pageToken. */
public pageToken: string;
- /** ListApplicationsRequest filter. */
+ /** ListAdUnitSizesRequest filter. */
public filter: string;
- /** ListApplicationsRequest orderBy. */
+ /** ListAdUnitSizesRequest orderBy. */
public orderBy: string;
- /** ListApplicationsRequest skip. */
+ /** ListAdUnitSizesRequest skip. */
public skip: number;
/**
- * Creates a new ListApplicationsRequest instance using the specified properties.
+ * Creates a new ListAdUnitSizesRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListApplicationsRequest instance
+ * @returns ListAdUnitSizesRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListApplicationsRequest): google.ads.admanager.v1.ListApplicationsRequest;
+ public static create(properties?: google.ads.admanager.v1.IListAdUnitSizesRequest): google.ads.admanager.v1.ListAdUnitSizesRequest;
/**
- * Encodes the specified ListApplicationsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsRequest.verify|verify} messages.
- * @param message ListApplicationsRequest message or plain object to encode
+ * Encodes the specified ListAdUnitSizesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesRequest.verify|verify} messages.
+ * @param message ListAdUnitSizesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListApplicationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListAdUnitSizesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListApplicationsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsRequest.verify|verify} messages.
- * @param message ListApplicationsRequest message or plain object to encode
+ * Encodes the specified ListAdUnitSizesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesRequest.verify|verify} messages.
+ * @param message ListAdUnitSizesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListApplicationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListAdUnitSizesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListApplicationsRequest message from the specified reader or buffer.
+ * Decodes a ListAdUnitSizesRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListApplicationsRequest
+ * @returns ListAdUnitSizesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListApplicationsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListAdUnitSizesRequest;
/**
- * Decodes a ListApplicationsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListAdUnitSizesRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListApplicationsRequest
+ * @returns ListAdUnitSizesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListApplicationsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListAdUnitSizesRequest;
/**
- * Verifies a ListApplicationsRequest message.
+ * Verifies a ListAdUnitSizesRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListApplicationsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListAdUnitSizesRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListApplicationsRequest
+ * @returns ListAdUnitSizesRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListApplicationsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListAdUnitSizesRequest;
/**
- * Creates a plain object from a ListApplicationsRequest message. Also converts values to other types if specified.
- * @param message ListApplicationsRequest
+ * Creates a plain object from a ListAdUnitSizesRequest message. Also converts values to other types if specified.
+ * @param message ListAdUnitSizesRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListApplicationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListAdUnitSizesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListApplicationsRequest to JSON.
+ * Converts this ListAdUnitSizesRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListApplicationsRequest
+ * Gets the default type url for ListAdUnitSizesRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListApplicationsResponse. */
- interface IListApplicationsResponse {
+ /** Properties of a ListAdUnitSizesResponse. */
+ interface IListAdUnitSizesResponse {
- /** ListApplicationsResponse applications */
- applications?: (google.ads.admanager.v1.IApplication[]|null);
+ /** ListAdUnitSizesResponse adUnitSizes */
+ adUnitSizes?: (google.ads.admanager.v1.IAdUnitSize[]|null);
- /** ListApplicationsResponse nextPageToken */
+ /** ListAdUnitSizesResponse nextPageToken */
nextPageToken?: (string|null);
- /** ListApplicationsResponse totalSize */
+ /** ListAdUnitSizesResponse totalSize */
totalSize?: (number|null);
}
- /** Represents a ListApplicationsResponse. */
- class ListApplicationsResponse implements IListApplicationsResponse {
+ /** Represents a ListAdUnitSizesResponse. */
+ class ListAdUnitSizesResponse implements IListAdUnitSizesResponse {
/**
- * Constructs a new ListApplicationsResponse.
+ * Constructs a new ListAdUnitSizesResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListApplicationsResponse);
+ constructor(properties?: google.ads.admanager.v1.IListAdUnitSizesResponse);
- /** ListApplicationsResponse applications. */
- public applications: google.ads.admanager.v1.IApplication[];
+ /** ListAdUnitSizesResponse adUnitSizes. */
+ public adUnitSizes: google.ads.admanager.v1.IAdUnitSize[];
- /** ListApplicationsResponse nextPageToken. */
+ /** ListAdUnitSizesResponse nextPageToken. */
public nextPageToken: string;
- /** ListApplicationsResponse totalSize. */
+ /** ListAdUnitSizesResponse totalSize. */
public totalSize: number;
/**
- * Creates a new ListApplicationsResponse instance using the specified properties.
+ * Creates a new ListAdUnitSizesResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListApplicationsResponse instance
+ * @returns ListAdUnitSizesResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListApplicationsResponse): google.ads.admanager.v1.ListApplicationsResponse;
+ public static create(properties?: google.ads.admanager.v1.IListAdUnitSizesResponse): google.ads.admanager.v1.ListAdUnitSizesResponse;
/**
- * Encodes the specified ListApplicationsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsResponse.verify|verify} messages.
- * @param message ListApplicationsResponse message or plain object to encode
+ * Encodes the specified ListAdUnitSizesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesResponse.verify|verify} messages.
+ * @param message ListAdUnitSizesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListApplicationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListAdUnitSizesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListApplicationsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsResponse.verify|verify} messages.
- * @param message ListApplicationsResponse message or plain object to encode
+ * Encodes the specified ListAdUnitSizesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesResponse.verify|verify} messages.
+ * @param message ListAdUnitSizesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListApplicationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListAdUnitSizesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListApplicationsResponse message from the specified reader or buffer.
+ * Decodes a ListAdUnitSizesResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListApplicationsResponse
+ * @returns ListAdUnitSizesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListApplicationsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListAdUnitSizesResponse;
/**
- * Decodes a ListApplicationsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListAdUnitSizesResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListApplicationsResponse
+ * @returns ListAdUnitSizesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListApplicationsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListAdUnitSizesResponse;
/**
- * Verifies a ListApplicationsResponse message.
+ * Verifies a ListAdUnitSizesResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListApplicationsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListAdUnitSizesResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListApplicationsResponse
+ * @returns ListAdUnitSizesResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListApplicationsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListAdUnitSizesResponse;
/**
- * Creates a plain object from a ListApplicationsResponse message. Also converts values to other types if specified.
- * @param message ListApplicationsResponse
+ * Creates a plain object from a ListAdUnitSizesResponse message. Also converts values to other types if specified.
+ * @param message ListAdUnitSizesResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListApplicationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListAdUnitSizesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListApplicationsResponse to JSON.
+ * Converts this ListAdUnitSizesResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListApplicationsResponse
+ * Gets the default type url for ListAdUnitSizesResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of an AudienceSegment. */
- interface IAudienceSegment {
+ /** Properties of a BatchActivateAdUnitsRequest. */
+ interface IBatchActivateAdUnitsRequest {
- /** AudienceSegment name */
- name?: (string|null);
+ /** BatchActivateAdUnitsRequest parent */
+ parent?: (string|null);
- /** AudienceSegment displayName */
- displayName?: (string|null);
+ /** BatchActivateAdUnitsRequest names */
+ names?: (string[]|null);
}
- /** Represents an AudienceSegment. */
- class AudienceSegment implements IAudienceSegment {
+ /** Represents a BatchActivateAdUnitsRequest. */
+ class BatchActivateAdUnitsRequest implements IBatchActivateAdUnitsRequest {
/**
- * Constructs a new AudienceSegment.
+ * Constructs a new BatchActivateAdUnitsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IAudienceSegment);
+ constructor(properties?: google.ads.admanager.v1.IBatchActivateAdUnitsRequest);
- /** AudienceSegment name. */
- public name: string;
+ /** BatchActivateAdUnitsRequest parent. */
+ public parent: string;
- /** AudienceSegment displayName. */
- public displayName?: (string|null);
+ /** BatchActivateAdUnitsRequest names. */
+ public names: string[];
/**
- * Creates a new AudienceSegment instance using the specified properties.
+ * Creates a new BatchActivateAdUnitsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns AudienceSegment instance
+ * @returns BatchActivateAdUnitsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IAudienceSegment): google.ads.admanager.v1.AudienceSegment;
+ public static create(properties?: google.ads.admanager.v1.IBatchActivateAdUnitsRequest): google.ads.admanager.v1.BatchActivateAdUnitsRequest;
/**
- * Encodes the specified AudienceSegment message. Does not implicitly {@link google.ads.admanager.v1.AudienceSegment.verify|verify} messages.
- * @param message AudienceSegment message or plain object to encode
+ * Encodes the specified BatchActivateAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateAdUnitsRequest.verify|verify} messages.
+ * @param message BatchActivateAdUnitsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IAudienceSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchActivateAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified AudienceSegment message, length delimited. Does not implicitly {@link google.ads.admanager.v1.AudienceSegment.verify|verify} messages.
- * @param message AudienceSegment message or plain object to encode
+ * Encodes the specified BatchActivateAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateAdUnitsRequest.verify|verify} messages.
+ * @param message BatchActivateAdUnitsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IAudienceSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchActivateAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes an AudienceSegment message from the specified reader or buffer.
+ * Decodes a BatchActivateAdUnitsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns AudienceSegment
+ * @returns BatchActivateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.AudienceSegment;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchActivateAdUnitsRequest;
/**
- * Decodes an AudienceSegment message from the specified reader or buffer, length delimited.
+ * Decodes a BatchActivateAdUnitsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns AudienceSegment
+ * @returns BatchActivateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.AudienceSegment;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchActivateAdUnitsRequest;
/**
- * Verifies an AudienceSegment message.
+ * Verifies a BatchActivateAdUnitsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates an AudienceSegment message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchActivateAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns AudienceSegment
+ * @returns BatchActivateAdUnitsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.AudienceSegment;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchActivateAdUnitsRequest;
/**
- * Creates a plain object from an AudienceSegment message. Also converts values to other types if specified.
- * @param message AudienceSegment
+ * Creates a plain object from a BatchActivateAdUnitsRequest message. Also converts values to other types if specified.
+ * @param message BatchActivateAdUnitsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.AudienceSegment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchActivateAdUnitsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this AudienceSegment to JSON.
+ * Converts this BatchActivateAdUnitsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for AudienceSegment
+ * Gets the default type url for BatchActivateAdUnitsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents an AudienceSegmentService */
- class AudienceSegmentService extends $protobuf.rpc.Service {
+ /** Properties of a BatchActivateAdUnitsResponse. */
+ interface IBatchActivateAdUnitsResponse {
+ }
+
+ /** Represents a BatchActivateAdUnitsResponse. */
+ class BatchActivateAdUnitsResponse implements IBatchActivateAdUnitsResponse {
/**
- * Constructs a new AudienceSegmentService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
+ * Constructs a new BatchActivateAdUnitsResponse.
+ * @param [properties] Properties to set
*/
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+ constructor(properties?: google.ads.admanager.v1.IBatchActivateAdUnitsResponse);
/**
- * Creates new AudienceSegmentService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
+ * Creates a new BatchActivateAdUnitsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BatchActivateAdUnitsResponse instance
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AudienceSegmentService;
+ public static create(properties?: google.ads.admanager.v1.IBatchActivateAdUnitsResponse): google.ads.admanager.v1.BatchActivateAdUnitsResponse;
/**
- * Calls GetAudienceSegment.
- * @param request GetAudienceSegmentRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and AudienceSegment
+ * Encodes the specified BatchActivateAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateAdUnitsResponse.verify|verify} messages.
+ * @param message BatchActivateAdUnitsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public getAudienceSegment(request: google.ads.admanager.v1.IGetAudienceSegmentRequest, callback: google.ads.admanager.v1.AudienceSegmentService.GetAudienceSegmentCallback): void;
+ public static encode(message: google.ads.admanager.v1.IBatchActivateAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls GetAudienceSegment.
- * @param request GetAudienceSegmentRequest message or plain object
- * @returns Promise
+ * Encodes the specified BatchActivateAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateAdUnitsResponse.verify|verify} messages.
+ * @param message BatchActivateAdUnitsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public getAudienceSegment(request: google.ads.admanager.v1.IGetAudienceSegmentRequest): Promise;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchActivateAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls ListAudienceSegments.
- * @param request ListAudienceSegmentsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListAudienceSegmentsResponse
+ * Decodes a BatchActivateAdUnitsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BatchActivateAdUnitsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public listAudienceSegments(request: google.ads.admanager.v1.IListAudienceSegmentsRequest, callback: google.ads.admanager.v1.AudienceSegmentService.ListAudienceSegmentsCallback): void;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchActivateAdUnitsResponse;
/**
- * Calls ListAudienceSegments.
- * @param request ListAudienceSegmentsRequest message or plain object
- * @returns Promise
+ * Decodes a BatchActivateAdUnitsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BatchActivateAdUnitsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public listAudienceSegments(request: google.ads.admanager.v1.IListAudienceSegmentsRequest): Promise;
- }
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchActivateAdUnitsResponse;
- namespace AudienceSegmentService {
+ /**
+ * Verifies a BatchActivateAdUnitsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
/**
- * Callback as used by {@link google.ads.admanager.v1.AudienceSegmentService|getAudienceSegment}.
- * @param error Error, if any
- * @param [response] AudienceSegment
+ * Creates a BatchActivateAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BatchActivateAdUnitsResponse
*/
- type GetAudienceSegmentCallback = (error: (Error|null), response?: google.ads.admanager.v1.AudienceSegment) => void;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchActivateAdUnitsResponse;
/**
- * Callback as used by {@link google.ads.admanager.v1.AudienceSegmentService|listAudienceSegments}.
- * @param error Error, if any
- * @param [response] ListAudienceSegmentsResponse
+ * Creates a plain object from a BatchActivateAdUnitsResponse message. Also converts values to other types if specified.
+ * @param message BatchActivateAdUnitsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
*/
- type ListAudienceSegmentsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListAudienceSegmentsResponse) => void;
+ public static toObject(message: google.ads.admanager.v1.BatchActivateAdUnitsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BatchActivateAdUnitsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BatchActivateAdUnitsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a GetAudienceSegmentRequest. */
- interface IGetAudienceSegmentRequest {
+ /** Properties of a BatchDeactivateAdUnitsRequest. */
+ interface IBatchDeactivateAdUnitsRequest {
- /** GetAudienceSegmentRequest name */
- name?: (string|null);
+ /** BatchDeactivateAdUnitsRequest parent */
+ parent?: (string|null);
+
+ /** BatchDeactivateAdUnitsRequest names */
+ names?: (string[]|null);
}
- /** Represents a GetAudienceSegmentRequest. */
- class GetAudienceSegmentRequest implements IGetAudienceSegmentRequest {
+ /** Represents a BatchDeactivateAdUnitsRequest. */
+ class BatchDeactivateAdUnitsRequest implements IBatchDeactivateAdUnitsRequest {
/**
- * Constructs a new GetAudienceSegmentRequest.
+ * Constructs a new BatchDeactivateAdUnitsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetAudienceSegmentRequest);
+ constructor(properties?: google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest);
- /** GetAudienceSegmentRequest name. */
- public name: string;
+ /** BatchDeactivateAdUnitsRequest parent. */
+ public parent: string;
+
+ /** BatchDeactivateAdUnitsRequest names. */
+ public names: string[];
/**
- * Creates a new GetAudienceSegmentRequest instance using the specified properties.
+ * Creates a new BatchDeactivateAdUnitsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetAudienceSegmentRequest instance
+ * @returns BatchDeactivateAdUnitsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetAudienceSegmentRequest): google.ads.admanager.v1.GetAudienceSegmentRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest): google.ads.admanager.v1.BatchDeactivateAdUnitsRequest;
/**
- * Encodes the specified GetAudienceSegmentRequest message. Does not implicitly {@link google.ads.admanager.v1.GetAudienceSegmentRequest.verify|verify} messages.
- * @param message GetAudienceSegmentRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateAdUnitsRequest.verify|verify} messages.
+ * @param message BatchDeactivateAdUnitsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetAudienceSegmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetAudienceSegmentRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetAudienceSegmentRequest.verify|verify} messages.
- * @param message GetAudienceSegmentRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateAdUnitsRequest.verify|verify} messages.
+ * @param message BatchDeactivateAdUnitsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetAudienceSegmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetAudienceSegmentRequest message from the specified reader or buffer.
+ * Decodes a BatchDeactivateAdUnitsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetAudienceSegmentRequest
+ * @returns BatchDeactivateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetAudienceSegmentRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchDeactivateAdUnitsRequest;
/**
- * Decodes a GetAudienceSegmentRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchDeactivateAdUnitsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetAudienceSegmentRequest
+ * @returns BatchDeactivateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetAudienceSegmentRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchDeactivateAdUnitsRequest;
/**
- * Verifies a GetAudienceSegmentRequest message.
+ * Verifies a BatchDeactivateAdUnitsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetAudienceSegmentRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchDeactivateAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetAudienceSegmentRequest
+ * @returns BatchDeactivateAdUnitsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetAudienceSegmentRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchDeactivateAdUnitsRequest;
/**
- * Creates a plain object from a GetAudienceSegmentRequest message. Also converts values to other types if specified.
- * @param message GetAudienceSegmentRequest
+ * Creates a plain object from a BatchDeactivateAdUnitsRequest message. Also converts values to other types if specified.
+ * @param message BatchDeactivateAdUnitsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetAudienceSegmentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchDeactivateAdUnitsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetAudienceSegmentRequest to JSON.
+ * Converts this BatchDeactivateAdUnitsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetAudienceSegmentRequest
+ * Gets the default type url for BatchDeactivateAdUnitsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListAudienceSegmentsRequest. */
- interface IListAudienceSegmentsRequest {
-
- /** ListAudienceSegmentsRequest parent */
- parent?: (string|null);
-
- /** ListAudienceSegmentsRequest pageSize */
- pageSize?: (number|null);
-
- /** ListAudienceSegmentsRequest pageToken */
- pageToken?: (string|null);
-
- /** ListAudienceSegmentsRequest filter */
- filter?: (string|null);
-
- /** ListAudienceSegmentsRequest orderBy */
- orderBy?: (string|null);
-
- /** ListAudienceSegmentsRequest skip */
- skip?: (number|null);
+ /** Properties of a BatchDeactivateAdUnitsResponse. */
+ interface IBatchDeactivateAdUnitsResponse {
}
- /** Represents a ListAudienceSegmentsRequest. */
- class ListAudienceSegmentsRequest implements IListAudienceSegmentsRequest {
+ /** Represents a BatchDeactivateAdUnitsResponse. */
+ class BatchDeactivateAdUnitsResponse implements IBatchDeactivateAdUnitsResponse {
/**
- * Constructs a new ListAudienceSegmentsRequest.
+ * Constructs a new BatchDeactivateAdUnitsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListAudienceSegmentsRequest);
-
- /** ListAudienceSegmentsRequest parent. */
- public parent: string;
-
- /** ListAudienceSegmentsRequest pageSize. */
- public pageSize: number;
-
- /** ListAudienceSegmentsRequest pageToken. */
- public pageToken: string;
-
- /** ListAudienceSegmentsRequest filter. */
- public filter: string;
-
- /** ListAudienceSegmentsRequest orderBy. */
- public orderBy: string;
-
- /** ListAudienceSegmentsRequest skip. */
- public skip: number;
+ constructor(properties?: google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse);
/**
- * Creates a new ListAudienceSegmentsRequest instance using the specified properties.
+ * Creates a new BatchDeactivateAdUnitsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListAudienceSegmentsRequest instance
+ * @returns BatchDeactivateAdUnitsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListAudienceSegmentsRequest): google.ads.admanager.v1.ListAudienceSegmentsRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse): google.ads.admanager.v1.BatchDeactivateAdUnitsResponse;
/**
- * Encodes the specified ListAudienceSegmentsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsRequest.verify|verify} messages.
- * @param message ListAudienceSegmentsRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateAdUnitsResponse.verify|verify} messages.
+ * @param message BatchDeactivateAdUnitsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListAudienceSegmentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListAudienceSegmentsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsRequest.verify|verify} messages.
- * @param message ListAudienceSegmentsRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateAdUnitsResponse.verify|verify} messages.
+ * @param message BatchDeactivateAdUnitsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListAudienceSegmentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListAudienceSegmentsRequest message from the specified reader or buffer.
+ * Decodes a BatchDeactivateAdUnitsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListAudienceSegmentsRequest
+ * @returns BatchDeactivateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListAudienceSegmentsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchDeactivateAdUnitsResponse;
/**
- * Decodes a ListAudienceSegmentsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchDeactivateAdUnitsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListAudienceSegmentsRequest
+ * @returns BatchDeactivateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListAudienceSegmentsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchDeactivateAdUnitsResponse;
/**
- * Verifies a ListAudienceSegmentsRequest message.
+ * Verifies a BatchDeactivateAdUnitsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListAudienceSegmentsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchDeactivateAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListAudienceSegmentsRequest
+ * @returns BatchDeactivateAdUnitsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListAudienceSegmentsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchDeactivateAdUnitsResponse;
/**
- * Creates a plain object from a ListAudienceSegmentsRequest message. Also converts values to other types if specified.
- * @param message ListAudienceSegmentsRequest
+ * Creates a plain object from a BatchDeactivateAdUnitsResponse message. Also converts values to other types if specified.
+ * @param message BatchDeactivateAdUnitsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListAudienceSegmentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchDeactivateAdUnitsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListAudienceSegmentsRequest to JSON.
+ * Converts this BatchDeactivateAdUnitsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListAudienceSegmentsRequest
+ * Gets the default type url for BatchDeactivateAdUnitsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListAudienceSegmentsResponse. */
- interface IListAudienceSegmentsResponse {
-
- /** ListAudienceSegmentsResponse audienceSegments */
- audienceSegments?: (google.ads.admanager.v1.IAudienceSegment[]|null);
+ /** Properties of a BatchArchiveAdUnitsRequest. */
+ interface IBatchArchiveAdUnitsRequest {
- /** ListAudienceSegmentsResponse nextPageToken */
- nextPageToken?: (string|null);
+ /** BatchArchiveAdUnitsRequest parent */
+ parent?: (string|null);
- /** ListAudienceSegmentsResponse totalSize */
- totalSize?: (number|null);
+ /** BatchArchiveAdUnitsRequest names */
+ names?: (string[]|null);
}
- /** Represents a ListAudienceSegmentsResponse. */
- class ListAudienceSegmentsResponse implements IListAudienceSegmentsResponse {
+ /** Represents a BatchArchiveAdUnitsRequest. */
+ class BatchArchiveAdUnitsRequest implements IBatchArchiveAdUnitsRequest {
/**
- * Constructs a new ListAudienceSegmentsResponse.
+ * Constructs a new BatchArchiveAdUnitsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListAudienceSegmentsResponse);
+ constructor(properties?: google.ads.admanager.v1.IBatchArchiveAdUnitsRequest);
- /** ListAudienceSegmentsResponse audienceSegments. */
- public audienceSegments: google.ads.admanager.v1.IAudienceSegment[];
-
- /** ListAudienceSegmentsResponse nextPageToken. */
- public nextPageToken: string;
+ /** BatchArchiveAdUnitsRequest parent. */
+ public parent: string;
- /** ListAudienceSegmentsResponse totalSize. */
- public totalSize: number;
+ /** BatchArchiveAdUnitsRequest names. */
+ public names: string[];
/**
- * Creates a new ListAudienceSegmentsResponse instance using the specified properties.
+ * Creates a new BatchArchiveAdUnitsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListAudienceSegmentsResponse instance
+ * @returns BatchArchiveAdUnitsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListAudienceSegmentsResponse): google.ads.admanager.v1.ListAudienceSegmentsResponse;
+ public static create(properties?: google.ads.admanager.v1.IBatchArchiveAdUnitsRequest): google.ads.admanager.v1.BatchArchiveAdUnitsRequest;
/**
- * Encodes the specified ListAudienceSegmentsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsResponse.verify|verify} messages.
- * @param message ListAudienceSegmentsResponse message or plain object to encode
+ * Encodes the specified BatchArchiveAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchArchiveAdUnitsRequest.verify|verify} messages.
+ * @param message BatchArchiveAdUnitsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListAudienceSegmentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchArchiveAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListAudienceSegmentsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsResponse.verify|verify} messages.
- * @param message ListAudienceSegmentsResponse message or plain object to encode
+ * Encodes the specified BatchArchiveAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchArchiveAdUnitsRequest.verify|verify} messages.
+ * @param message BatchArchiveAdUnitsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListAudienceSegmentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchArchiveAdUnitsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListAudienceSegmentsResponse message from the specified reader or buffer.
+ * Decodes a BatchArchiveAdUnitsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListAudienceSegmentsResponse
+ * @returns BatchArchiveAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListAudienceSegmentsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchArchiveAdUnitsRequest;
/**
- * Decodes a ListAudienceSegmentsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a BatchArchiveAdUnitsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListAudienceSegmentsResponse
+ * @returns BatchArchiveAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListAudienceSegmentsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchArchiveAdUnitsRequest;
/**
- * Verifies a ListAudienceSegmentsResponse message.
+ * Verifies a BatchArchiveAdUnitsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListAudienceSegmentsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchArchiveAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListAudienceSegmentsResponse
+ * @returns BatchArchiveAdUnitsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListAudienceSegmentsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchArchiveAdUnitsRequest;
/**
- * Creates a plain object from a ListAudienceSegmentsResponse message. Also converts values to other types if specified.
- * @param message ListAudienceSegmentsResponse
+ * Creates a plain object from a BatchArchiveAdUnitsRequest message. Also converts values to other types if specified.
+ * @param message BatchArchiveAdUnitsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListAudienceSegmentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchArchiveAdUnitsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListAudienceSegmentsResponse to JSON.
+ * Converts this BatchArchiveAdUnitsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListAudienceSegmentsResponse
+ * Gets the default type url for BatchArchiveAdUnitsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BandwidthGroup. */
- interface IBandwidthGroup {
-
- /** BandwidthGroup name */
- name?: (string|null);
-
- /** BandwidthGroup displayName */
- displayName?: (string|null);
+ /** Properties of a BatchArchiveAdUnitsResponse. */
+ interface IBatchArchiveAdUnitsResponse {
}
- /** Represents a BandwidthGroup. */
- class BandwidthGroup implements IBandwidthGroup {
+ /** Represents a BatchArchiveAdUnitsResponse. */
+ class BatchArchiveAdUnitsResponse implements IBatchArchiveAdUnitsResponse {
/**
- * Constructs a new BandwidthGroup.
+ * Constructs a new BatchArchiveAdUnitsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBandwidthGroup);
-
- /** BandwidthGroup name. */
- public name?: (string|null);
-
- /** BandwidthGroup displayName. */
- public displayName?: (string|null);
+ constructor(properties?: google.ads.admanager.v1.IBatchArchiveAdUnitsResponse);
/**
- * Creates a new BandwidthGroup instance using the specified properties.
+ * Creates a new BatchArchiveAdUnitsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns BandwidthGroup instance
+ * @returns BatchArchiveAdUnitsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IBandwidthGroup): google.ads.admanager.v1.BandwidthGroup;
+ public static create(properties?: google.ads.admanager.v1.IBatchArchiveAdUnitsResponse): google.ads.admanager.v1.BatchArchiveAdUnitsResponse;
/**
- * Encodes the specified BandwidthGroup message. Does not implicitly {@link google.ads.admanager.v1.BandwidthGroup.verify|verify} messages.
- * @param message BandwidthGroup message or plain object to encode
+ * Encodes the specified BatchArchiveAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchArchiveAdUnitsResponse.verify|verify} messages.
+ * @param message BatchArchiveAdUnitsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBandwidthGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchArchiveAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BandwidthGroup message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BandwidthGroup.verify|verify} messages.
- * @param message BandwidthGroup message or plain object to encode
+ * Encodes the specified BatchArchiveAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchArchiveAdUnitsResponse.verify|verify} messages.
+ * @param message BatchArchiveAdUnitsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBandwidthGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchArchiveAdUnitsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BandwidthGroup message from the specified reader or buffer.
+ * Decodes a BatchArchiveAdUnitsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BandwidthGroup
+ * @returns BatchArchiveAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BandwidthGroup;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchArchiveAdUnitsResponse;
/**
- * Decodes a BandwidthGroup message from the specified reader or buffer, length delimited.
+ * Decodes a BatchArchiveAdUnitsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BandwidthGroup
+ * @returns BatchArchiveAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BandwidthGroup;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchArchiveAdUnitsResponse;
/**
- * Verifies a BandwidthGroup message.
+ * Verifies a BatchArchiveAdUnitsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BandwidthGroup message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchArchiveAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BandwidthGroup
+ * @returns BatchArchiveAdUnitsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BandwidthGroup;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchArchiveAdUnitsResponse;
/**
- * Creates a plain object from a BandwidthGroup message. Also converts values to other types if specified.
- * @param message BandwidthGroup
+ * Creates a plain object from a BatchArchiveAdUnitsResponse message. Also converts values to other types if specified.
+ * @param message BatchArchiveAdUnitsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BandwidthGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchArchiveAdUnitsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BandwidthGroup to JSON.
+ * Converts this BatchArchiveAdUnitsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BandwidthGroup
+ * Gets the default type url for BatchArchiveAdUnitsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a BandwidthGroupService */
- class BandwidthGroupService extends $protobuf.rpc.Service {
+ /** Properties of an AdManagerError. */
+ interface IAdManagerError {
- /**
- * Constructs a new BandwidthGroupService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- */
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+ /** AdManagerError errorCode */
+ errorCode?: (string|null);
- /**
- * Creates new BandwidthGroupService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
- */
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BandwidthGroupService;
+ /** AdManagerError message */
+ message?: (string|null);
- /**
- * Calls GetBandwidthGroup.
- * @param request GetBandwidthGroupRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and BandwidthGroup
- */
- public getBandwidthGroup(request: google.ads.admanager.v1.IGetBandwidthGroupRequest, callback: google.ads.admanager.v1.BandwidthGroupService.GetBandwidthGroupCallback): void;
+ /** AdManagerError fieldPath */
+ fieldPath?: (string|null);
- /**
- * Calls GetBandwidthGroup.
- * @param request GetBandwidthGroupRequest message or plain object
- * @returns Promise
- */
- public getBandwidthGroup(request: google.ads.admanager.v1.IGetBandwidthGroupRequest): Promise;
+ /** AdManagerError trigger */
+ trigger?: (string|null);
- /**
- * Calls ListBandwidthGroups.
- * @param request ListBandwidthGroupsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListBandwidthGroupsResponse
- */
- public listBandwidthGroups(request: google.ads.admanager.v1.IListBandwidthGroupsRequest, callback: google.ads.admanager.v1.BandwidthGroupService.ListBandwidthGroupsCallback): void;
+ /** AdManagerError stackTrace */
+ stackTrace?: (string|null);
- /**
- * Calls ListBandwidthGroups.
- * @param request ListBandwidthGroupsRequest message or plain object
- * @returns Promise
- */
- public listBandwidthGroups(request: google.ads.admanager.v1.IListBandwidthGroupsRequest): Promise;
+ /** AdManagerError details */
+ details?: (google.protobuf.IAny[]|null);
}
- namespace BandwidthGroupService {
+ /** Represents an AdManagerError. */
+ class AdManagerError implements IAdManagerError {
/**
- * Callback as used by {@link google.ads.admanager.v1.BandwidthGroupService|getBandwidthGroup}.
- * @param error Error, if any
- * @param [response] BandwidthGroup
+ * Constructs a new AdManagerError.
+ * @param [properties] Properties to set
*/
- type GetBandwidthGroupCallback = (error: (Error|null), response?: google.ads.admanager.v1.BandwidthGroup) => void;
+ constructor(properties?: google.ads.admanager.v1.IAdManagerError);
- /**
- * Callback as used by {@link google.ads.admanager.v1.BandwidthGroupService|listBandwidthGroups}.
- * @param error Error, if any
- * @param [response] ListBandwidthGroupsResponse
- */
- type ListBandwidthGroupsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListBandwidthGroupsResponse) => void;
- }
+ /** AdManagerError errorCode. */
+ public errorCode: string;
- /** Properties of a GetBandwidthGroupRequest. */
- interface IGetBandwidthGroupRequest {
+ /** AdManagerError message. */
+ public message: string;
- /** GetBandwidthGroupRequest name */
- name?: (string|null);
- }
+ /** AdManagerError fieldPath. */
+ public fieldPath: string;
- /** Represents a GetBandwidthGroupRequest. */
- class GetBandwidthGroupRequest implements IGetBandwidthGroupRequest {
+ /** AdManagerError trigger. */
+ public trigger: string;
- /**
- * Constructs a new GetBandwidthGroupRequest.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.IGetBandwidthGroupRequest);
+ /** AdManagerError stackTrace. */
+ public stackTrace: string;
- /** GetBandwidthGroupRequest name. */
- public name: string;
+ /** AdManagerError details. */
+ public details: google.protobuf.IAny[];
/**
- * Creates a new GetBandwidthGroupRequest instance using the specified properties.
+ * Creates a new AdManagerError instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetBandwidthGroupRequest instance
+ * @returns AdManagerError instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetBandwidthGroupRequest): google.ads.admanager.v1.GetBandwidthGroupRequest;
+ public static create(properties?: google.ads.admanager.v1.IAdManagerError): google.ads.admanager.v1.AdManagerError;
/**
- * Encodes the specified GetBandwidthGroupRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBandwidthGroupRequest.verify|verify} messages.
- * @param message GetBandwidthGroupRequest message or plain object to encode
+ * Encodes the specified AdManagerError message. Does not implicitly {@link google.ads.admanager.v1.AdManagerError.verify|verify} messages.
+ * @param message AdManagerError message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetBandwidthGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IAdManagerError, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetBandwidthGroupRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBandwidthGroupRequest.verify|verify} messages.
- * @param message GetBandwidthGroupRequest message or plain object to encode
+ * Encodes the specified AdManagerError message, length delimited. Does not implicitly {@link google.ads.admanager.v1.AdManagerError.verify|verify} messages.
+ * @param message AdManagerError message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetBandwidthGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IAdManagerError, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetBandwidthGroupRequest message from the specified reader or buffer.
+ * Decodes an AdManagerError message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetBandwidthGroupRequest
+ * @returns AdManagerError
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetBandwidthGroupRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.AdManagerError;
/**
- * Decodes a GetBandwidthGroupRequest message from the specified reader or buffer, length delimited.
+ * Decodes an AdManagerError message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetBandwidthGroupRequest
+ * @returns AdManagerError
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetBandwidthGroupRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.AdManagerError;
/**
- * Verifies a GetBandwidthGroupRequest message.
+ * Verifies an AdManagerError message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetBandwidthGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates an AdManagerError message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetBandwidthGroupRequest
+ * @returns AdManagerError
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetBandwidthGroupRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.AdManagerError;
/**
- * Creates a plain object from a GetBandwidthGroupRequest message. Also converts values to other types if specified.
- * @param message GetBandwidthGroupRequest
+ * Creates a plain object from an AdManagerError message. Also converts values to other types if specified.
+ * @param message AdManagerError
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetBandwidthGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.AdManagerError, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetBandwidthGroupRequest to JSON.
+ * Converts this AdManagerError to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetBandwidthGroupRequest
+ * Gets the default type url for AdManagerError
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListBandwidthGroupsRequest. */
- interface IListBandwidthGroupsRequest {
-
- /** ListBandwidthGroupsRequest parent */
- parent?: (string|null);
-
- /** ListBandwidthGroupsRequest pageSize */
- pageSize?: (number|null);
-
- /** ListBandwidthGroupsRequest pageToken */
- pageToken?: (string|null);
-
- /** ListBandwidthGroupsRequest filter */
- filter?: (string|null);
+ /** Properties of an Application. */
+ interface IApplication {
- /** ListBandwidthGroupsRequest orderBy */
- orderBy?: (string|null);
+ /** Application name */
+ name?: (string|null);
- /** ListBandwidthGroupsRequest skip */
- skip?: (number|null);
+ /** Application displayName */
+ displayName?: (string|null);
}
- /** Represents a ListBandwidthGroupsRequest. */
- class ListBandwidthGroupsRequest implements IListBandwidthGroupsRequest {
+ /** Represents an Application. */
+ class Application implements IApplication {
/**
- * Constructs a new ListBandwidthGroupsRequest.
+ * Constructs a new Application.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListBandwidthGroupsRequest);
-
- /** ListBandwidthGroupsRequest parent. */
- public parent: string;
-
- /** ListBandwidthGroupsRequest pageSize. */
- public pageSize: number;
-
- /** ListBandwidthGroupsRequest pageToken. */
- public pageToken: string;
-
- /** ListBandwidthGroupsRequest filter. */
- public filter: string;
+ constructor(properties?: google.ads.admanager.v1.IApplication);
- /** ListBandwidthGroupsRequest orderBy. */
- public orderBy: string;
+ /** Application name. */
+ public name: string;
- /** ListBandwidthGroupsRequest skip. */
- public skip: number;
+ /** Application displayName. */
+ public displayName?: (string|null);
/**
- * Creates a new ListBandwidthGroupsRequest instance using the specified properties.
+ * Creates a new Application instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListBandwidthGroupsRequest instance
+ * @returns Application instance
*/
- public static create(properties?: google.ads.admanager.v1.IListBandwidthGroupsRequest): google.ads.admanager.v1.ListBandwidthGroupsRequest;
+ public static create(properties?: google.ads.admanager.v1.IApplication): google.ads.admanager.v1.Application;
/**
- * Encodes the specified ListBandwidthGroupsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsRequest.verify|verify} messages.
- * @param message ListBandwidthGroupsRequest message or plain object to encode
+ * Encodes the specified Application message. Does not implicitly {@link google.ads.admanager.v1.Application.verify|verify} messages.
+ * @param message Application message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListBandwidthGroupsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IApplication, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListBandwidthGroupsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsRequest.verify|verify} messages.
- * @param message ListBandwidthGroupsRequest message or plain object to encode
+ * Encodes the specified Application message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Application.verify|verify} messages.
+ * @param message Application message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListBandwidthGroupsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IApplication, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListBandwidthGroupsRequest message from the specified reader or buffer.
+ * Decodes an Application message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListBandwidthGroupsRequest
+ * @returns Application
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBandwidthGroupsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Application;
/**
- * Decodes a ListBandwidthGroupsRequest message from the specified reader or buffer, length delimited.
+ * Decodes an Application message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListBandwidthGroupsRequest
+ * @returns Application
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBandwidthGroupsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Application;
/**
- * Verifies a ListBandwidthGroupsRequest message.
+ * Verifies an Application message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListBandwidthGroupsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates an Application message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListBandwidthGroupsRequest
+ * @returns Application
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBandwidthGroupsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Application;
/**
- * Creates a plain object from a ListBandwidthGroupsRequest message. Also converts values to other types if specified.
- * @param message ListBandwidthGroupsRequest
+ * Creates a plain object from an Application message. Also converts values to other types if specified.
+ * @param message Application
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListBandwidthGroupsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.Application, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListBandwidthGroupsRequest to JSON.
+ * Converts this Application to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListBandwidthGroupsRequest
+ * Gets the default type url for Application
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListBandwidthGroupsResponse. */
- interface IListBandwidthGroupsResponse {
+ /** Represents an ApplicationService */
+ class ApplicationService extends $protobuf.rpc.Service {
- /** ListBandwidthGroupsResponse bandwidthGroups */
- bandwidthGroups?: (google.ads.admanager.v1.IBandwidthGroup[]|null);
+ /**
+ * Constructs a new ApplicationService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /** ListBandwidthGroupsResponse nextPageToken */
- nextPageToken?: (string|null);
+ /**
+ * Creates new ApplicationService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ApplicationService;
- /** ListBandwidthGroupsResponse totalSize */
- totalSize?: (number|null);
+ /**
+ * Calls GetApplication.
+ * @param request GetApplicationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Application
+ */
+ public getApplication(request: google.ads.admanager.v1.IGetApplicationRequest, callback: google.ads.admanager.v1.ApplicationService.GetApplicationCallback): void;
+
+ /**
+ * Calls GetApplication.
+ * @param request GetApplicationRequest message or plain object
+ * @returns Promise
+ */
+ public getApplication(request: google.ads.admanager.v1.IGetApplicationRequest): Promise;
+
+ /**
+ * Calls ListApplications.
+ * @param request ListApplicationsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListApplicationsResponse
+ */
+ public listApplications(request: google.ads.admanager.v1.IListApplicationsRequest, callback: google.ads.admanager.v1.ApplicationService.ListApplicationsCallback): void;
+
+ /**
+ * Calls ListApplications.
+ * @param request ListApplicationsRequest message or plain object
+ * @returns Promise
+ */
+ public listApplications(request: google.ads.admanager.v1.IListApplicationsRequest): Promise;
}
- /** Represents a ListBandwidthGroupsResponse. */
- class ListBandwidthGroupsResponse implements IListBandwidthGroupsResponse {
+ namespace ApplicationService {
/**
- * Constructs a new ListBandwidthGroupsResponse.
- * @param [properties] Properties to set
+ * Callback as used by {@link google.ads.admanager.v1.ApplicationService|getApplication}.
+ * @param error Error, if any
+ * @param [response] Application
*/
- constructor(properties?: google.ads.admanager.v1.IListBandwidthGroupsResponse);
+ type GetApplicationCallback = (error: (Error|null), response?: google.ads.admanager.v1.Application) => void;
- /** ListBandwidthGroupsResponse bandwidthGroups. */
- public bandwidthGroups: google.ads.admanager.v1.IBandwidthGroup[];
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ApplicationService|listApplications}.
+ * @param error Error, if any
+ * @param [response] ListApplicationsResponse
+ */
+ type ListApplicationsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListApplicationsResponse) => void;
+ }
- /** ListBandwidthGroupsResponse nextPageToken. */
- public nextPageToken: string;
+ /** Properties of a GetApplicationRequest. */
+ interface IGetApplicationRequest {
- /** ListBandwidthGroupsResponse totalSize. */
- public totalSize: number;
+ /** GetApplicationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetApplicationRequest. */
+ class GetApplicationRequest implements IGetApplicationRequest {
/**
- * Creates a new ListBandwidthGroupsResponse instance using the specified properties.
+ * Constructs a new GetApplicationRequest.
* @param [properties] Properties to set
- * @returns ListBandwidthGroupsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListBandwidthGroupsResponse): google.ads.admanager.v1.ListBandwidthGroupsResponse;
+ constructor(properties?: google.ads.admanager.v1.IGetApplicationRequest);
+
+ /** GetApplicationRequest name. */
+ public name: string;
/**
- * Encodes the specified ListBandwidthGroupsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsResponse.verify|verify} messages.
- * @param message ListBandwidthGroupsResponse message or plain object to encode
+ * Creates a new GetApplicationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetApplicationRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IGetApplicationRequest): google.ads.admanager.v1.GetApplicationRequest;
+
+ /**
+ * Encodes the specified GetApplicationRequest message. Does not implicitly {@link google.ads.admanager.v1.GetApplicationRequest.verify|verify} messages.
+ * @param message GetApplicationRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListBandwidthGroupsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetApplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListBandwidthGroupsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsResponse.verify|verify} messages.
- * @param message ListBandwidthGroupsResponse message or plain object to encode
+ * Encodes the specified GetApplicationRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetApplicationRequest.verify|verify} messages.
+ * @param message GetApplicationRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListBandwidthGroupsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetApplicationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListBandwidthGroupsResponse message from the specified reader or buffer.
+ * Decodes a GetApplicationRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListBandwidthGroupsResponse
+ * @returns GetApplicationRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBandwidthGroupsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetApplicationRequest;
/**
- * Decodes a ListBandwidthGroupsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a GetApplicationRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListBandwidthGroupsResponse
+ * @returns GetApplicationRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBandwidthGroupsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetApplicationRequest;
/**
- * Verifies a ListBandwidthGroupsResponse message.
+ * Verifies a GetApplicationRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListBandwidthGroupsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetApplicationRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListBandwidthGroupsResponse
+ * @returns GetApplicationRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBandwidthGroupsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetApplicationRequest;
/**
- * Creates a plain object from a ListBandwidthGroupsResponse message. Also converts values to other types if specified.
- * @param message ListBandwidthGroupsResponse
+ * Creates a plain object from a GetApplicationRequest message. Also converts values to other types if specified.
+ * @param message GetApplicationRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListBandwidthGroupsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetApplicationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListBandwidthGroupsResponse to JSON.
+ * Converts this GetApplicationRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListBandwidthGroupsResponse
+ * Gets the default type url for GetApplicationRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BrowserLanguage. */
- interface IBrowserLanguage {
+ /** Properties of a ListApplicationsRequest. */
+ interface IListApplicationsRequest {
- /** BrowserLanguage name */
- name?: (string|null);
+ /** ListApplicationsRequest parent */
+ parent?: (string|null);
- /** BrowserLanguage displayName */
- displayName?: (string|null);
+ /** ListApplicationsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListApplicationsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListApplicationsRequest filter */
+ filter?: (string|null);
+
+ /** ListApplicationsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListApplicationsRequest skip */
+ skip?: (number|null);
}
- /** Represents a BrowserLanguage. */
- class BrowserLanguage implements IBrowserLanguage {
+ /** Represents a ListApplicationsRequest. */
+ class ListApplicationsRequest implements IListApplicationsRequest {
/**
- * Constructs a new BrowserLanguage.
+ * Constructs a new ListApplicationsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBrowserLanguage);
+ constructor(properties?: google.ads.admanager.v1.IListApplicationsRequest);
- /** BrowserLanguage name. */
- public name: string;
+ /** ListApplicationsRequest parent. */
+ public parent: string;
- /** BrowserLanguage displayName. */
- public displayName?: (string|null);
+ /** ListApplicationsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListApplicationsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListApplicationsRequest filter. */
+ public filter: string;
+
+ /** ListApplicationsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListApplicationsRequest skip. */
+ public skip: number;
/**
- * Creates a new BrowserLanguage instance using the specified properties.
+ * Creates a new ListApplicationsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns BrowserLanguage instance
+ * @returns ListApplicationsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IBrowserLanguage): google.ads.admanager.v1.BrowserLanguage;
+ public static create(properties?: google.ads.admanager.v1.IListApplicationsRequest): google.ads.admanager.v1.ListApplicationsRequest;
/**
- * Encodes the specified BrowserLanguage message. Does not implicitly {@link google.ads.admanager.v1.BrowserLanguage.verify|verify} messages.
- * @param message BrowserLanguage message or plain object to encode
+ * Encodes the specified ListApplicationsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsRequest.verify|verify} messages.
+ * @param message ListApplicationsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBrowserLanguage, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListApplicationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BrowserLanguage message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BrowserLanguage.verify|verify} messages.
- * @param message BrowserLanguage message or plain object to encode
+ * Encodes the specified ListApplicationsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsRequest.verify|verify} messages.
+ * @param message ListApplicationsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBrowserLanguage, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListApplicationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BrowserLanguage message from the specified reader or buffer.
+ * Decodes a ListApplicationsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BrowserLanguage
+ * @returns ListApplicationsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BrowserLanguage;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListApplicationsRequest;
/**
- * Decodes a BrowserLanguage message from the specified reader or buffer, length delimited.
+ * Decodes a ListApplicationsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BrowserLanguage
+ * @returns ListApplicationsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BrowserLanguage;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListApplicationsRequest;
/**
- * Verifies a BrowserLanguage message.
+ * Verifies a ListApplicationsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BrowserLanguage message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListApplicationsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BrowserLanguage
+ * @returns ListApplicationsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BrowserLanguage;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListApplicationsRequest;
/**
- * Creates a plain object from a BrowserLanguage message. Also converts values to other types if specified.
- * @param message BrowserLanguage
+ * Creates a plain object from a ListApplicationsRequest message. Also converts values to other types if specified.
+ * @param message ListApplicationsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BrowserLanguage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListApplicationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BrowserLanguage to JSON.
+ * Converts this ListApplicationsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BrowserLanguage
+ * Gets the default type url for ListApplicationsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a BrowserLanguageService */
- class BrowserLanguageService extends $protobuf.rpc.Service {
-
- /**
- * Constructs a new BrowserLanguageService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- */
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
-
- /**
- * Creates new BrowserLanguageService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
- */
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BrowserLanguageService;
-
- /**
- * Calls GetBrowserLanguage.
- * @param request GetBrowserLanguageRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and BrowserLanguage
- */
- public getBrowserLanguage(request: google.ads.admanager.v1.IGetBrowserLanguageRequest, callback: google.ads.admanager.v1.BrowserLanguageService.GetBrowserLanguageCallback): void;
+ /** Properties of a ListApplicationsResponse. */
+ interface IListApplicationsResponse {
- /**
- * Calls GetBrowserLanguage.
- * @param request GetBrowserLanguageRequest message or plain object
- * @returns Promise
- */
- public getBrowserLanguage(request: google.ads.admanager.v1.IGetBrowserLanguageRequest): Promise;
+ /** ListApplicationsResponse applications */
+ applications?: (google.ads.admanager.v1.IApplication[]|null);
- /**
- * Calls ListBrowserLanguages.
- * @param request ListBrowserLanguagesRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListBrowserLanguagesResponse
- */
- public listBrowserLanguages(request: google.ads.admanager.v1.IListBrowserLanguagesRequest, callback: google.ads.admanager.v1.BrowserLanguageService.ListBrowserLanguagesCallback): void;
+ /** ListApplicationsResponse nextPageToken */
+ nextPageToken?: (string|null);
- /**
- * Calls ListBrowserLanguages.
- * @param request ListBrowserLanguagesRequest message or plain object
- * @returns Promise
- */
- public listBrowserLanguages(request: google.ads.admanager.v1.IListBrowserLanguagesRequest): Promise;
+ /** ListApplicationsResponse totalSize */
+ totalSize?: (number|null);
}
- namespace BrowserLanguageService {
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.BrowserLanguageService|getBrowserLanguage}.
- * @param error Error, if any
- * @param [response] BrowserLanguage
- */
- type GetBrowserLanguageCallback = (error: (Error|null), response?: google.ads.admanager.v1.BrowserLanguage) => void;
+ /** Represents a ListApplicationsResponse. */
+ class ListApplicationsResponse implements IListApplicationsResponse {
/**
- * Callback as used by {@link google.ads.admanager.v1.BrowserLanguageService|listBrowserLanguages}.
- * @param error Error, if any
- * @param [response] ListBrowserLanguagesResponse
+ * Constructs a new ListApplicationsResponse.
+ * @param [properties] Properties to set
*/
- type ListBrowserLanguagesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListBrowserLanguagesResponse) => void;
- }
-
- /** Properties of a GetBrowserLanguageRequest. */
- interface IGetBrowserLanguageRequest {
-
- /** GetBrowserLanguageRequest name */
- name?: (string|null);
- }
+ constructor(properties?: google.ads.admanager.v1.IListApplicationsResponse);
- /** Represents a GetBrowserLanguageRequest. */
- class GetBrowserLanguageRequest implements IGetBrowserLanguageRequest {
+ /** ListApplicationsResponse applications. */
+ public applications: google.ads.admanager.v1.IApplication[];
- /**
- * Constructs a new GetBrowserLanguageRequest.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.IGetBrowserLanguageRequest);
+ /** ListApplicationsResponse nextPageToken. */
+ public nextPageToken: string;
- /** GetBrowserLanguageRequest name. */
- public name: string;
+ /** ListApplicationsResponse totalSize. */
+ public totalSize: number;
/**
- * Creates a new GetBrowserLanguageRequest instance using the specified properties.
+ * Creates a new ListApplicationsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetBrowserLanguageRequest instance
+ * @returns ListApplicationsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetBrowserLanguageRequest): google.ads.admanager.v1.GetBrowserLanguageRequest;
+ public static create(properties?: google.ads.admanager.v1.IListApplicationsResponse): google.ads.admanager.v1.ListApplicationsResponse;
/**
- * Encodes the specified GetBrowserLanguageRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBrowserLanguageRequest.verify|verify} messages.
- * @param message GetBrowserLanguageRequest message or plain object to encode
+ * Encodes the specified ListApplicationsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsResponse.verify|verify} messages.
+ * @param message ListApplicationsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetBrowserLanguageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListApplicationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetBrowserLanguageRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBrowserLanguageRequest.verify|verify} messages.
- * @param message GetBrowserLanguageRequest message or plain object to encode
+ * Encodes the specified ListApplicationsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsResponse.verify|verify} messages.
+ * @param message ListApplicationsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetBrowserLanguageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListApplicationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetBrowserLanguageRequest message from the specified reader or buffer.
+ * Decodes a ListApplicationsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetBrowserLanguageRequest
+ * @returns ListApplicationsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetBrowserLanguageRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListApplicationsResponse;
/**
- * Decodes a GetBrowserLanguageRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListApplicationsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetBrowserLanguageRequest
+ * @returns ListApplicationsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetBrowserLanguageRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListApplicationsResponse;
/**
- * Verifies a GetBrowserLanguageRequest message.
+ * Verifies a ListApplicationsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetBrowserLanguageRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListApplicationsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetBrowserLanguageRequest
+ * @returns ListApplicationsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetBrowserLanguageRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListApplicationsResponse;
/**
- * Creates a plain object from a GetBrowserLanguageRequest message. Also converts values to other types if specified.
- * @param message GetBrowserLanguageRequest
+ * Creates a plain object from a ListApplicationsResponse message. Also converts values to other types if specified.
+ * @param message ListApplicationsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetBrowserLanguageRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListApplicationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetBrowserLanguageRequest to JSON.
+ * Converts this ListApplicationsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetBrowserLanguageRequest
+ * Gets the default type url for ListApplicationsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListBrowserLanguagesRequest. */
- interface IListBrowserLanguagesRequest {
-
- /** ListBrowserLanguagesRequest parent */
- parent?: (string|null);
-
- /** ListBrowserLanguagesRequest pageSize */
- pageSize?: (number|null);
-
- /** ListBrowserLanguagesRequest pageToken */
- pageToken?: (string|null);
-
- /** ListBrowserLanguagesRequest filter */
- filter?: (string|null);
+ /** Properties of an AudienceSegment. */
+ interface IAudienceSegment {
- /** ListBrowserLanguagesRequest orderBy */
- orderBy?: (string|null);
+ /** AudienceSegment name */
+ name?: (string|null);
- /** ListBrowserLanguagesRequest skip */
- skip?: (number|null);
+ /** AudienceSegment displayName */
+ displayName?: (string|null);
}
- /** Represents a ListBrowserLanguagesRequest. */
- class ListBrowserLanguagesRequest implements IListBrowserLanguagesRequest {
+ /** Represents an AudienceSegment. */
+ class AudienceSegment implements IAudienceSegment {
/**
- * Constructs a new ListBrowserLanguagesRequest.
+ * Constructs a new AudienceSegment.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListBrowserLanguagesRequest);
-
- /** ListBrowserLanguagesRequest parent. */
- public parent: string;
-
- /** ListBrowserLanguagesRequest pageSize. */
- public pageSize: number;
-
- /** ListBrowserLanguagesRequest pageToken. */
- public pageToken: string;
-
- /** ListBrowserLanguagesRequest filter. */
- public filter: string;
+ constructor(properties?: google.ads.admanager.v1.IAudienceSegment);
- /** ListBrowserLanguagesRequest orderBy. */
- public orderBy: string;
+ /** AudienceSegment name. */
+ public name: string;
- /** ListBrowserLanguagesRequest skip. */
- public skip: number;
+ /** AudienceSegment displayName. */
+ public displayName?: (string|null);
/**
- * Creates a new ListBrowserLanguagesRequest instance using the specified properties.
+ * Creates a new AudienceSegment instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListBrowserLanguagesRequest instance
+ * @returns AudienceSegment instance
*/
- public static create(properties?: google.ads.admanager.v1.IListBrowserLanguagesRequest): google.ads.admanager.v1.ListBrowserLanguagesRequest;
+ public static create(properties?: google.ads.admanager.v1.IAudienceSegment): google.ads.admanager.v1.AudienceSegment;
/**
- * Encodes the specified ListBrowserLanguagesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesRequest.verify|verify} messages.
- * @param message ListBrowserLanguagesRequest message or plain object to encode
+ * Encodes the specified AudienceSegment message. Does not implicitly {@link google.ads.admanager.v1.AudienceSegment.verify|verify} messages.
+ * @param message AudienceSegment message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListBrowserLanguagesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IAudienceSegment, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListBrowserLanguagesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesRequest.verify|verify} messages.
- * @param message ListBrowserLanguagesRequest message or plain object to encode
+ * Encodes the specified AudienceSegment message, length delimited. Does not implicitly {@link google.ads.admanager.v1.AudienceSegment.verify|verify} messages.
+ * @param message AudienceSegment message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListBrowserLanguagesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IAudienceSegment, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListBrowserLanguagesRequest message from the specified reader or buffer.
+ * Decodes an AudienceSegment message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListBrowserLanguagesRequest
+ * @returns AudienceSegment
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBrowserLanguagesRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.AudienceSegment;
/**
- * Decodes a ListBrowserLanguagesRequest message from the specified reader or buffer, length delimited.
+ * Decodes an AudienceSegment message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListBrowserLanguagesRequest
+ * @returns AudienceSegment
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBrowserLanguagesRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.AudienceSegment;
/**
- * Verifies a ListBrowserLanguagesRequest message.
+ * Verifies an AudienceSegment message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListBrowserLanguagesRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates an AudienceSegment message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListBrowserLanguagesRequest
+ * @returns AudienceSegment
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBrowserLanguagesRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.AudienceSegment;
/**
- * Creates a plain object from a ListBrowserLanguagesRequest message. Also converts values to other types if specified.
- * @param message ListBrowserLanguagesRequest
+ * Creates a plain object from an AudienceSegment message. Also converts values to other types if specified.
+ * @param message AudienceSegment
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListBrowserLanguagesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.AudienceSegment, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListBrowserLanguagesRequest to JSON.
+ * Converts this AudienceSegment to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListBrowserLanguagesRequest
+ * Gets the default type url for AudienceSegment
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListBrowserLanguagesResponse. */
- interface IListBrowserLanguagesResponse {
+ /** Represents an AudienceSegmentService */
+ class AudienceSegmentService extends $protobuf.rpc.Service {
- /** ListBrowserLanguagesResponse browserLanguages */
- browserLanguages?: (google.ads.admanager.v1.IBrowserLanguage[]|null);
+ /**
+ * Constructs a new AudienceSegmentService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /** ListBrowserLanguagesResponse nextPageToken */
- nextPageToken?: (string|null);
+ /**
+ * Creates new AudienceSegmentService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AudienceSegmentService;
- /** ListBrowserLanguagesResponse totalSize */
- totalSize?: (number|null);
+ /**
+ * Calls GetAudienceSegment.
+ * @param request GetAudienceSegmentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and AudienceSegment
+ */
+ public getAudienceSegment(request: google.ads.admanager.v1.IGetAudienceSegmentRequest, callback: google.ads.admanager.v1.AudienceSegmentService.GetAudienceSegmentCallback): void;
+
+ /**
+ * Calls GetAudienceSegment.
+ * @param request GetAudienceSegmentRequest message or plain object
+ * @returns Promise
+ */
+ public getAudienceSegment(request: google.ads.admanager.v1.IGetAudienceSegmentRequest): Promise;
+
+ /**
+ * Calls ListAudienceSegments.
+ * @param request ListAudienceSegmentsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListAudienceSegmentsResponse
+ */
+ public listAudienceSegments(request: google.ads.admanager.v1.IListAudienceSegmentsRequest, callback: google.ads.admanager.v1.AudienceSegmentService.ListAudienceSegmentsCallback): void;
+
+ /**
+ * Calls ListAudienceSegments.
+ * @param request ListAudienceSegmentsRequest message or plain object
+ * @returns Promise
+ */
+ public listAudienceSegments(request: google.ads.admanager.v1.IListAudienceSegmentsRequest): Promise;
}
- /** Represents a ListBrowserLanguagesResponse. */
- class ListBrowserLanguagesResponse implements IListBrowserLanguagesResponse {
+ namespace AudienceSegmentService {
/**
- * Constructs a new ListBrowserLanguagesResponse.
- * @param [properties] Properties to set
+ * Callback as used by {@link google.ads.admanager.v1.AudienceSegmentService|getAudienceSegment}.
+ * @param error Error, if any
+ * @param [response] AudienceSegment
*/
- constructor(properties?: google.ads.admanager.v1.IListBrowserLanguagesResponse);
+ type GetAudienceSegmentCallback = (error: (Error|null), response?: google.ads.admanager.v1.AudienceSegment) => void;
- /** ListBrowserLanguagesResponse browserLanguages. */
- public browserLanguages: google.ads.admanager.v1.IBrowserLanguage[];
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AudienceSegmentService|listAudienceSegments}.
+ * @param error Error, if any
+ * @param [response] ListAudienceSegmentsResponse
+ */
+ type ListAudienceSegmentsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListAudienceSegmentsResponse) => void;
+ }
- /** ListBrowserLanguagesResponse nextPageToken. */
- public nextPageToken: string;
+ /** Properties of a GetAudienceSegmentRequest. */
+ interface IGetAudienceSegmentRequest {
- /** ListBrowserLanguagesResponse totalSize. */
- public totalSize: number;
+ /** GetAudienceSegmentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetAudienceSegmentRequest. */
+ class GetAudienceSegmentRequest implements IGetAudienceSegmentRequest {
/**
- * Creates a new ListBrowserLanguagesResponse instance using the specified properties.
+ * Constructs a new GetAudienceSegmentRequest.
* @param [properties] Properties to set
- * @returns ListBrowserLanguagesResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListBrowserLanguagesResponse): google.ads.admanager.v1.ListBrowserLanguagesResponse;
+ constructor(properties?: google.ads.admanager.v1.IGetAudienceSegmentRequest);
+
+ /** GetAudienceSegmentRequest name. */
+ public name: string;
/**
- * Encodes the specified ListBrowserLanguagesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesResponse.verify|verify} messages.
- * @param message ListBrowserLanguagesResponse message or plain object to encode
+ * Creates a new GetAudienceSegmentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetAudienceSegmentRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IGetAudienceSegmentRequest): google.ads.admanager.v1.GetAudienceSegmentRequest;
+
+ /**
+ * Encodes the specified GetAudienceSegmentRequest message. Does not implicitly {@link google.ads.admanager.v1.GetAudienceSegmentRequest.verify|verify} messages.
+ * @param message GetAudienceSegmentRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListBrowserLanguagesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetAudienceSegmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListBrowserLanguagesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesResponse.verify|verify} messages.
- * @param message ListBrowserLanguagesResponse message or plain object to encode
+ * Encodes the specified GetAudienceSegmentRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetAudienceSegmentRequest.verify|verify} messages.
+ * @param message GetAudienceSegmentRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListBrowserLanguagesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetAudienceSegmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListBrowserLanguagesResponse message from the specified reader or buffer.
+ * Decodes a GetAudienceSegmentRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListBrowserLanguagesResponse
+ * @returns GetAudienceSegmentRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBrowserLanguagesResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetAudienceSegmentRequest;
/**
- * Decodes a ListBrowserLanguagesResponse message from the specified reader or buffer, length delimited.
+ * Decodes a GetAudienceSegmentRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListBrowserLanguagesResponse
+ * @returns GetAudienceSegmentRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBrowserLanguagesResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetAudienceSegmentRequest;
/**
- * Verifies a ListBrowserLanguagesResponse message.
+ * Verifies a GetAudienceSegmentRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListBrowserLanguagesResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetAudienceSegmentRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListBrowserLanguagesResponse
+ * @returns GetAudienceSegmentRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBrowserLanguagesResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetAudienceSegmentRequest;
/**
- * Creates a plain object from a ListBrowserLanguagesResponse message. Also converts values to other types if specified.
- * @param message ListBrowserLanguagesResponse
+ * Creates a plain object from a GetAudienceSegmentRequest message. Also converts values to other types if specified.
+ * @param message GetAudienceSegmentRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListBrowserLanguagesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetAudienceSegmentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListBrowserLanguagesResponse to JSON.
+ * Converts this GetAudienceSegmentRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListBrowserLanguagesResponse
+ * Gets the default type url for GetAudienceSegmentRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a Browser. */
- interface IBrowser {
+ /** Properties of a ListAudienceSegmentsRequest. */
+ interface IListAudienceSegmentsRequest {
- /** Browser name */
- name?: (string|null);
+ /** ListAudienceSegmentsRequest parent */
+ parent?: (string|null);
- /** Browser displayName */
- displayName?: (string|null);
+ /** ListAudienceSegmentsRequest pageSize */
+ pageSize?: (number|null);
- /** Browser majorVersion */
- majorVersion?: (string|null);
+ /** ListAudienceSegmentsRequest pageToken */
+ pageToken?: (string|null);
- /** Browser minorVersion */
- minorVersion?: (string|null);
+ /** ListAudienceSegmentsRequest filter */
+ filter?: (string|null);
+
+ /** ListAudienceSegmentsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListAudienceSegmentsRequest skip */
+ skip?: (number|null);
}
- /** Represents a Browser. */
- class Browser implements IBrowser {
+ /** Represents a ListAudienceSegmentsRequest. */
+ class ListAudienceSegmentsRequest implements IListAudienceSegmentsRequest {
/**
- * Constructs a new Browser.
+ * Constructs a new ListAudienceSegmentsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBrowser);
+ constructor(properties?: google.ads.admanager.v1.IListAudienceSegmentsRequest);
- /** Browser name. */
- public name: string;
+ /** ListAudienceSegmentsRequest parent. */
+ public parent: string;
- /** Browser displayName. */
- public displayName?: (string|null);
+ /** ListAudienceSegmentsRequest pageSize. */
+ public pageSize: number;
- /** Browser majorVersion. */
- public majorVersion?: (string|null);
+ /** ListAudienceSegmentsRequest pageToken. */
+ public pageToken: string;
- /** Browser minorVersion. */
- public minorVersion?: (string|null);
+ /** ListAudienceSegmentsRequest filter. */
+ public filter: string;
+
+ /** ListAudienceSegmentsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListAudienceSegmentsRequest skip. */
+ public skip: number;
/**
- * Creates a new Browser instance using the specified properties.
+ * Creates a new ListAudienceSegmentsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns Browser instance
+ * @returns ListAudienceSegmentsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IBrowser): google.ads.admanager.v1.Browser;
+ public static create(properties?: google.ads.admanager.v1.IListAudienceSegmentsRequest): google.ads.admanager.v1.ListAudienceSegmentsRequest;
/**
- * Encodes the specified Browser message. Does not implicitly {@link google.ads.admanager.v1.Browser.verify|verify} messages.
- * @param message Browser message or plain object to encode
+ * Encodes the specified ListAudienceSegmentsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsRequest.verify|verify} messages.
+ * @param message ListAudienceSegmentsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBrowser, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListAudienceSegmentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified Browser message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Browser.verify|verify} messages.
- * @param message Browser message or plain object to encode
+ * Encodes the specified ListAudienceSegmentsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsRequest.verify|verify} messages.
+ * @param message ListAudienceSegmentsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBrowser, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListAudienceSegmentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a Browser message from the specified reader or buffer.
+ * Decodes a ListAudienceSegmentsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns Browser
+ * @returns ListAudienceSegmentsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Browser;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListAudienceSegmentsRequest;
/**
- * Decodes a Browser message from the specified reader or buffer, length delimited.
+ * Decodes a ListAudienceSegmentsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns Browser
+ * @returns ListAudienceSegmentsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Browser;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListAudienceSegmentsRequest;
/**
- * Verifies a Browser message.
+ * Verifies a ListAudienceSegmentsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a Browser message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListAudienceSegmentsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns Browser
+ * @returns ListAudienceSegmentsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Browser;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListAudienceSegmentsRequest;
/**
- * Creates a plain object from a Browser message. Also converts values to other types if specified.
- * @param message Browser
+ * Creates a plain object from a ListAudienceSegmentsRequest message. Also converts values to other types if specified.
+ * @param message ListAudienceSegmentsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.Browser, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListAudienceSegmentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this Browser to JSON.
+ * Converts this ListAudienceSegmentsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for Browser
+ * Gets the default type url for ListAudienceSegmentsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a BrowserService */
- class BrowserService extends $protobuf.rpc.Service {
+ /** Properties of a ListAudienceSegmentsResponse. */
+ interface IListAudienceSegmentsResponse {
+
+ /** ListAudienceSegmentsResponse audienceSegments */
+ audienceSegments?: (google.ads.admanager.v1.IAudienceSegment[]|null);
+
+ /** ListAudienceSegmentsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListAudienceSegmentsResponse totalSize */
+ totalSize?: (number|null);
+ }
+
+ /** Represents a ListAudienceSegmentsResponse. */
+ class ListAudienceSegmentsResponse implements IListAudienceSegmentsResponse {
/**
- * Constructs a new BrowserService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
+ * Constructs a new ListAudienceSegmentsResponse.
+ * @param [properties] Properties to set
*/
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+ constructor(properties?: google.ads.admanager.v1.IListAudienceSegmentsResponse);
+
+ /** ListAudienceSegmentsResponse audienceSegments. */
+ public audienceSegments: google.ads.admanager.v1.IAudienceSegment[];
+
+ /** ListAudienceSegmentsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListAudienceSegmentsResponse totalSize. */
+ public totalSize: number;
/**
- * Creates new BrowserService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
+ * Creates a new ListAudienceSegmentsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAudienceSegmentsResponse instance
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BrowserService;
+ public static create(properties?: google.ads.admanager.v1.IListAudienceSegmentsResponse): google.ads.admanager.v1.ListAudienceSegmentsResponse;
/**
- * Calls GetBrowser.
- * @param request GetBrowserRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Browser
+ * Encodes the specified ListAudienceSegmentsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsResponse.verify|verify} messages.
+ * @param message ListAudienceSegmentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public getBrowser(request: google.ads.admanager.v1.IGetBrowserRequest, callback: google.ads.admanager.v1.BrowserService.GetBrowserCallback): void;
+ public static encode(message: google.ads.admanager.v1.IListAudienceSegmentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls GetBrowser.
- * @param request GetBrowserRequest message or plain object
- * @returns Promise
+ * Encodes the specified ListAudienceSegmentsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsResponse.verify|verify} messages.
+ * @param message ListAudienceSegmentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public getBrowser(request: google.ads.admanager.v1.IGetBrowserRequest): Promise;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListAudienceSegmentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls ListBrowsers.
- * @param request ListBrowsersRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListBrowsersResponse
+ * Decodes a ListAudienceSegmentsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAudienceSegmentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public listBrowsers(request: google.ads.admanager.v1.IListBrowsersRequest, callback: google.ads.admanager.v1.BrowserService.ListBrowsersCallback): void;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListAudienceSegmentsResponse;
/**
- * Calls ListBrowsers.
- * @param request ListBrowsersRequest message or plain object
- * @returns Promise
+ * Decodes a ListAudienceSegmentsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAudienceSegmentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public listBrowsers(request: google.ads.admanager.v1.IListBrowsersRequest): Promise;
- }
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListAudienceSegmentsResponse;
- namespace BrowserService {
+ /**
+ * Verifies a ListAudienceSegmentsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
/**
- * Callback as used by {@link google.ads.admanager.v1.BrowserService|getBrowser}.
- * @param error Error, if any
- * @param [response] Browser
+ * Creates a ListAudienceSegmentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAudienceSegmentsResponse
*/
- type GetBrowserCallback = (error: (Error|null), response?: google.ads.admanager.v1.Browser) => void;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListAudienceSegmentsResponse;
/**
- * Callback as used by {@link google.ads.admanager.v1.BrowserService|listBrowsers}.
- * @param error Error, if any
- * @param [response] ListBrowsersResponse
+ * Creates a plain object from a ListAudienceSegmentsResponse message. Also converts values to other types if specified.
+ * @param message ListAudienceSegmentsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
*/
- type ListBrowsersCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListBrowsersResponse) => void;
+ public static toObject(message: google.ads.admanager.v1.ListAudienceSegmentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAudienceSegmentsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAudienceSegmentsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a GetBrowserRequest. */
- interface IGetBrowserRequest {
+ /** Properties of a BandwidthGroup. */
+ interface IBandwidthGroup {
- /** GetBrowserRequest name */
+ /** BandwidthGroup name */
name?: (string|null);
+
+ /** BandwidthGroup displayName */
+ displayName?: (string|null);
}
- /** Represents a GetBrowserRequest. */
- class GetBrowserRequest implements IGetBrowserRequest {
+ /** Represents a BandwidthGroup. */
+ class BandwidthGroup implements IBandwidthGroup {
/**
- * Constructs a new GetBrowserRequest.
+ * Constructs a new BandwidthGroup.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetBrowserRequest);
+ constructor(properties?: google.ads.admanager.v1.IBandwidthGroup);
- /** GetBrowserRequest name. */
- public name: string;
+ /** BandwidthGroup name. */
+ public name?: (string|null);
+
+ /** BandwidthGroup displayName. */
+ public displayName?: (string|null);
/**
- * Creates a new GetBrowserRequest instance using the specified properties.
+ * Creates a new BandwidthGroup instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetBrowserRequest instance
+ * @returns BandwidthGroup instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetBrowserRequest): google.ads.admanager.v1.GetBrowserRequest;
+ public static create(properties?: google.ads.admanager.v1.IBandwidthGroup): google.ads.admanager.v1.BandwidthGroup;
/**
- * Encodes the specified GetBrowserRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBrowserRequest.verify|verify} messages.
- * @param message GetBrowserRequest message or plain object to encode
+ * Encodes the specified BandwidthGroup message. Does not implicitly {@link google.ads.admanager.v1.BandwidthGroup.verify|verify} messages.
+ * @param message BandwidthGroup message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetBrowserRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBandwidthGroup, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetBrowserRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBrowserRequest.verify|verify} messages.
- * @param message GetBrowserRequest message or plain object to encode
+ * Encodes the specified BandwidthGroup message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BandwidthGroup.verify|verify} messages.
+ * @param message BandwidthGroup message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetBrowserRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBandwidthGroup, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetBrowserRequest message from the specified reader or buffer.
+ * Decodes a BandwidthGroup message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetBrowserRequest
+ * @returns BandwidthGroup
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetBrowserRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BandwidthGroup;
/**
- * Decodes a GetBrowserRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BandwidthGroup message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetBrowserRequest
+ * @returns BandwidthGroup
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetBrowserRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BandwidthGroup;
/**
- * Verifies a GetBrowserRequest message.
+ * Verifies a BandwidthGroup message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetBrowserRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BandwidthGroup message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetBrowserRequest
+ * @returns BandwidthGroup
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetBrowserRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BandwidthGroup;
/**
- * Creates a plain object from a GetBrowserRequest message. Also converts values to other types if specified.
- * @param message GetBrowserRequest
+ * Creates a plain object from a BandwidthGroup message. Also converts values to other types if specified.
+ * @param message BandwidthGroup
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetBrowserRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BandwidthGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetBrowserRequest to JSON.
+ * Converts this BandwidthGroup to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetBrowserRequest
+ * Gets the default type url for BandwidthGroup
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListBrowsersRequest. */
- interface IListBrowsersRequest {
+ /** Represents a BandwidthGroupService */
+ class BandwidthGroupService extends $protobuf.rpc.Service {
- /** ListBrowsersRequest parent */
- parent?: (string|null);
+ /**
+ * Constructs a new BandwidthGroupService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /** ListBrowsersRequest pageSize */
- pageSize?: (number|null);
+ /**
+ * Creates new BandwidthGroupService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BandwidthGroupService;
- /** ListBrowsersRequest pageToken */
- pageToken?: (string|null);
+ /**
+ * Calls GetBandwidthGroup.
+ * @param request GetBandwidthGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BandwidthGroup
+ */
+ public getBandwidthGroup(request: google.ads.admanager.v1.IGetBandwidthGroupRequest, callback: google.ads.admanager.v1.BandwidthGroupService.GetBandwidthGroupCallback): void;
- /** ListBrowsersRequest filter */
- filter?: (string|null);
+ /**
+ * Calls GetBandwidthGroup.
+ * @param request GetBandwidthGroupRequest message or plain object
+ * @returns Promise
+ */
+ public getBandwidthGroup(request: google.ads.admanager.v1.IGetBandwidthGroupRequest): Promise;
- /** ListBrowsersRequest orderBy */
- orderBy?: (string|null);
+ /**
+ * Calls ListBandwidthGroups.
+ * @param request ListBandwidthGroupsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListBandwidthGroupsResponse
+ */
+ public listBandwidthGroups(request: google.ads.admanager.v1.IListBandwidthGroupsRequest, callback: google.ads.admanager.v1.BandwidthGroupService.ListBandwidthGroupsCallback): void;
- /** ListBrowsersRequest skip */
- skip?: (number|null);
+ /**
+ * Calls ListBandwidthGroups.
+ * @param request ListBandwidthGroupsRequest message or plain object
+ * @returns Promise
+ */
+ public listBandwidthGroups(request: google.ads.admanager.v1.IListBandwidthGroupsRequest): Promise;
}
- /** Represents a ListBrowsersRequest. */
- class ListBrowsersRequest implements IListBrowsersRequest {
+ namespace BandwidthGroupService {
/**
- * Constructs a new ListBrowsersRequest.
- * @param [properties] Properties to set
+ * Callback as used by {@link google.ads.admanager.v1.BandwidthGroupService|getBandwidthGroup}.
+ * @param error Error, if any
+ * @param [response] BandwidthGroup
*/
- constructor(properties?: google.ads.admanager.v1.IListBrowsersRequest);
+ type GetBandwidthGroupCallback = (error: (Error|null), response?: google.ads.admanager.v1.BandwidthGroup) => void;
- /** ListBrowsersRequest parent. */
- public parent: string;
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.BandwidthGroupService|listBandwidthGroups}.
+ * @param error Error, if any
+ * @param [response] ListBandwidthGroupsResponse
+ */
+ type ListBandwidthGroupsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListBandwidthGroupsResponse) => void;
+ }
- /** ListBrowsersRequest pageSize. */
- public pageSize: number;
+ /** Properties of a GetBandwidthGroupRequest. */
+ interface IGetBandwidthGroupRequest {
- /** ListBrowsersRequest pageToken. */
- public pageToken: string;
+ /** GetBandwidthGroupRequest name */
+ name?: (string|null);
+ }
- /** ListBrowsersRequest filter. */
- public filter: string;
+ /** Represents a GetBandwidthGroupRequest. */
+ class GetBandwidthGroupRequest implements IGetBandwidthGroupRequest {
- /** ListBrowsersRequest orderBy. */
- public orderBy: string;
+ /**
+ * Constructs a new GetBandwidthGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IGetBandwidthGroupRequest);
- /** ListBrowsersRequest skip. */
- public skip: number;
+ /** GetBandwidthGroupRequest name. */
+ public name: string;
/**
- * Creates a new ListBrowsersRequest instance using the specified properties.
+ * Creates a new GetBandwidthGroupRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListBrowsersRequest instance
+ * @returns GetBandwidthGroupRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListBrowsersRequest): google.ads.admanager.v1.ListBrowsersRequest;
+ public static create(properties?: google.ads.admanager.v1.IGetBandwidthGroupRequest): google.ads.admanager.v1.GetBandwidthGroupRequest;
/**
- * Encodes the specified ListBrowsersRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersRequest.verify|verify} messages.
- * @param message ListBrowsersRequest message or plain object to encode
+ * Encodes the specified GetBandwidthGroupRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBandwidthGroupRequest.verify|verify} messages.
+ * @param message GetBandwidthGroupRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListBrowsersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetBandwidthGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListBrowsersRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersRequest.verify|verify} messages.
- * @param message ListBrowsersRequest message or plain object to encode
+ * Encodes the specified GetBandwidthGroupRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBandwidthGroupRequest.verify|verify} messages.
+ * @param message GetBandwidthGroupRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListBrowsersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetBandwidthGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListBrowsersRequest message from the specified reader or buffer.
+ * Decodes a GetBandwidthGroupRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListBrowsersRequest
+ * @returns GetBandwidthGroupRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBrowsersRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetBandwidthGroupRequest;
/**
- * Decodes a ListBrowsersRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetBandwidthGroupRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListBrowsersRequest
+ * @returns GetBandwidthGroupRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBrowsersRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetBandwidthGroupRequest;
/**
- * Verifies a ListBrowsersRequest message.
+ * Verifies a GetBandwidthGroupRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListBrowsersRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetBandwidthGroupRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListBrowsersRequest
+ * @returns GetBandwidthGroupRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBrowsersRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetBandwidthGroupRequest;
/**
- * Creates a plain object from a ListBrowsersRequest message. Also converts values to other types if specified.
- * @param message ListBrowsersRequest
+ * Creates a plain object from a GetBandwidthGroupRequest message. Also converts values to other types if specified.
+ * @param message GetBandwidthGroupRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListBrowsersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetBandwidthGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListBrowsersRequest to JSON.
+ * Converts this GetBandwidthGroupRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListBrowsersRequest
+ * Gets the default type url for GetBandwidthGroupRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListBrowsersResponse. */
- interface IListBrowsersResponse {
+ /** Properties of a ListBandwidthGroupsRequest. */
+ interface IListBandwidthGroupsRequest {
- /** ListBrowsersResponse browsers */
- browsers?: (google.ads.admanager.v1.IBrowser[]|null);
+ /** ListBandwidthGroupsRequest parent */
+ parent?: (string|null);
- /** ListBrowsersResponse nextPageToken */
- nextPageToken?: (string|null);
+ /** ListBandwidthGroupsRequest pageSize */
+ pageSize?: (number|null);
- /** ListBrowsersResponse totalSize */
- totalSize?: (number|null);
+ /** ListBandwidthGroupsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListBandwidthGroupsRequest filter */
+ filter?: (string|null);
+
+ /** ListBandwidthGroupsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListBandwidthGroupsRequest skip */
+ skip?: (number|null);
}
- /** Represents a ListBrowsersResponse. */
- class ListBrowsersResponse implements IListBrowsersResponse {
+ /** Represents a ListBandwidthGroupsRequest. */
+ class ListBandwidthGroupsRequest implements IListBandwidthGroupsRequest {
/**
- * Constructs a new ListBrowsersResponse.
+ * Constructs a new ListBandwidthGroupsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListBrowsersResponse);
+ constructor(properties?: google.ads.admanager.v1.IListBandwidthGroupsRequest);
- /** ListBrowsersResponse browsers. */
- public browsers: google.ads.admanager.v1.IBrowser[];
+ /** ListBandwidthGroupsRequest parent. */
+ public parent: string;
- /** ListBrowsersResponse nextPageToken. */
- public nextPageToken: string;
+ /** ListBandwidthGroupsRequest pageSize. */
+ public pageSize: number;
- /** ListBrowsersResponse totalSize. */
- public totalSize: number;
+ /** ListBandwidthGroupsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListBandwidthGroupsRequest filter. */
+ public filter: string;
+
+ /** ListBandwidthGroupsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListBandwidthGroupsRequest skip. */
+ public skip: number;
/**
- * Creates a new ListBrowsersResponse instance using the specified properties.
+ * Creates a new ListBandwidthGroupsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListBrowsersResponse instance
+ * @returns ListBandwidthGroupsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListBrowsersResponse): google.ads.admanager.v1.ListBrowsersResponse;
+ public static create(properties?: google.ads.admanager.v1.IListBandwidthGroupsRequest): google.ads.admanager.v1.ListBandwidthGroupsRequest;
/**
- * Encodes the specified ListBrowsersResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersResponse.verify|verify} messages.
- * @param message ListBrowsersResponse message or plain object to encode
+ * Encodes the specified ListBandwidthGroupsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsRequest.verify|verify} messages.
+ * @param message ListBandwidthGroupsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListBrowsersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListBandwidthGroupsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListBrowsersResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersResponse.verify|verify} messages.
- * @param message ListBrowsersResponse message or plain object to encode
+ * Encodes the specified ListBandwidthGroupsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsRequest.verify|verify} messages.
+ * @param message ListBandwidthGroupsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListBrowsersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListBandwidthGroupsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListBrowsersResponse message from the specified reader or buffer.
+ * Decodes a ListBandwidthGroupsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListBrowsersResponse
+ * @returns ListBandwidthGroupsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBrowsersResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBandwidthGroupsRequest;
/**
- * Decodes a ListBrowsersResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListBandwidthGroupsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListBrowsersResponse
+ * @returns ListBandwidthGroupsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBrowsersResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBandwidthGroupsRequest;
/**
- * Verifies a ListBrowsersResponse message.
+ * Verifies a ListBandwidthGroupsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListBrowsersResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListBandwidthGroupsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListBrowsersResponse
+ * @returns ListBandwidthGroupsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBrowsersResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBandwidthGroupsRequest;
/**
- * Creates a plain object from a ListBrowsersResponse message. Also converts values to other types if specified.
- * @param message ListBrowsersResponse
+ * Creates a plain object from a ListBandwidthGroupsRequest message. Also converts values to other types if specified.
+ * @param message ListBandwidthGroupsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListBrowsersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListBandwidthGroupsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListBrowsersResponse to JSON.
+ * Converts this ListBandwidthGroupsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListBrowsersResponse
+ * Gets the default type url for ListBandwidthGroupsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CmsMetadataKeyStatusEnum. */
- interface ICmsMetadataKeyStatusEnum {
+ /** Properties of a ListBandwidthGroupsResponse. */
+ interface IListBandwidthGroupsResponse {
+
+ /** ListBandwidthGroupsResponse bandwidthGroups */
+ bandwidthGroups?: (google.ads.admanager.v1.IBandwidthGroup[]|null);
+
+ /** ListBandwidthGroupsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListBandwidthGroupsResponse totalSize */
+ totalSize?: (number|null);
}
- /** Represents a CmsMetadataKeyStatusEnum. */
- class CmsMetadataKeyStatusEnum implements ICmsMetadataKeyStatusEnum {
+ /** Represents a ListBandwidthGroupsResponse. */
+ class ListBandwidthGroupsResponse implements IListBandwidthGroupsResponse {
/**
- * Constructs a new CmsMetadataKeyStatusEnum.
+ * Constructs a new ListBandwidthGroupsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICmsMetadataKeyStatusEnum);
+ constructor(properties?: google.ads.admanager.v1.IListBandwidthGroupsResponse);
+
+ /** ListBandwidthGroupsResponse bandwidthGroups. */
+ public bandwidthGroups: google.ads.admanager.v1.IBandwidthGroup[];
+
+ /** ListBandwidthGroupsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListBandwidthGroupsResponse totalSize. */
+ public totalSize: number;
/**
- * Creates a new CmsMetadataKeyStatusEnum instance using the specified properties.
+ * Creates a new ListBandwidthGroupsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns CmsMetadataKeyStatusEnum instance
+ * @returns ListBandwidthGroupsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.ICmsMetadataKeyStatusEnum): google.ads.admanager.v1.CmsMetadataKeyStatusEnum;
+ public static create(properties?: google.ads.admanager.v1.IListBandwidthGroupsResponse): google.ads.admanager.v1.ListBandwidthGroupsResponse;
/**
- * Encodes the specified CmsMetadataKeyStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKeyStatusEnum.verify|verify} messages.
- * @param message CmsMetadataKeyStatusEnum message or plain object to encode
+ * Encodes the specified ListBandwidthGroupsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsResponse.verify|verify} messages.
+ * @param message ListBandwidthGroupsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICmsMetadataKeyStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListBandwidthGroupsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CmsMetadataKeyStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKeyStatusEnum.verify|verify} messages.
- * @param message CmsMetadataKeyStatusEnum message or plain object to encode
+ * Encodes the specified ListBandwidthGroupsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsResponse.verify|verify} messages.
+ * @param message ListBandwidthGroupsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICmsMetadataKeyStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListBandwidthGroupsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CmsMetadataKeyStatusEnum message from the specified reader or buffer.
+ * Decodes a ListBandwidthGroupsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CmsMetadataKeyStatusEnum
+ * @returns ListBandwidthGroupsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CmsMetadataKeyStatusEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBandwidthGroupsResponse;
/**
- * Decodes a CmsMetadataKeyStatusEnum message from the specified reader or buffer, length delimited.
+ * Decodes a ListBandwidthGroupsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CmsMetadataKeyStatusEnum
+ * @returns ListBandwidthGroupsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CmsMetadataKeyStatusEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBandwidthGroupsResponse;
/**
- * Verifies a CmsMetadataKeyStatusEnum message.
+ * Verifies a ListBandwidthGroupsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CmsMetadataKeyStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListBandwidthGroupsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CmsMetadataKeyStatusEnum
+ * @returns ListBandwidthGroupsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CmsMetadataKeyStatusEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBandwidthGroupsResponse;
/**
- * Creates a plain object from a CmsMetadataKeyStatusEnum message. Also converts values to other types if specified.
- * @param message CmsMetadataKeyStatusEnum
+ * Creates a plain object from a ListBandwidthGroupsResponse message. Also converts values to other types if specified.
+ * @param message ListBandwidthGroupsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CmsMetadataKeyStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListBandwidthGroupsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CmsMetadataKeyStatusEnum to JSON.
+ * Converts this ListBandwidthGroupsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CmsMetadataKeyStatusEnum
+ * Gets the default type url for ListBandwidthGroupsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CmsMetadataKeyStatusEnum {
-
- /** CmsMetadataKeyStatus enum. */
- enum CmsMetadataKeyStatus {
- CMS_METADATA_KEY_STATUS_UNSPECIFIED = 0,
- ACTIVE = 1,
- INACTIVE = 2
- }
- }
-
- /** Properties of a CmsMetadataKey. */
- interface ICmsMetadataKey {
+ /** Properties of a BrowserLanguage. */
+ interface IBrowserLanguage {
- /** CmsMetadataKey name */
+ /** BrowserLanguage name */
name?: (string|null);
- /** CmsMetadataKey displayName */
+ /** BrowserLanguage displayName */
displayName?: (string|null);
-
- /** CmsMetadataKey status */
- status?: (google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus|keyof typeof google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus|null);
}
- /** Represents a CmsMetadataKey. */
- class CmsMetadataKey implements ICmsMetadataKey {
+ /** Represents a BrowserLanguage. */
+ class BrowserLanguage implements IBrowserLanguage {
/**
- * Constructs a new CmsMetadataKey.
+ * Constructs a new BrowserLanguage.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICmsMetadataKey);
+ constructor(properties?: google.ads.admanager.v1.IBrowserLanguage);
- /** CmsMetadataKey name. */
+ /** BrowserLanguage name. */
public name: string;
- /** CmsMetadataKey displayName. */
- public displayName: string;
-
- /** CmsMetadataKey status. */
- public status: (google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus|keyof typeof google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus);
+ /** BrowserLanguage displayName. */
+ public displayName?: (string|null);
/**
- * Creates a new CmsMetadataKey instance using the specified properties.
+ * Creates a new BrowserLanguage instance using the specified properties.
* @param [properties] Properties to set
- * @returns CmsMetadataKey instance
+ * @returns BrowserLanguage instance
*/
- public static create(properties?: google.ads.admanager.v1.ICmsMetadataKey): google.ads.admanager.v1.CmsMetadataKey;
+ public static create(properties?: google.ads.admanager.v1.IBrowserLanguage): google.ads.admanager.v1.BrowserLanguage;
/**
- * Encodes the specified CmsMetadataKey message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKey.verify|verify} messages.
- * @param message CmsMetadataKey message or plain object to encode
+ * Encodes the specified BrowserLanguage message. Does not implicitly {@link google.ads.admanager.v1.BrowserLanguage.verify|verify} messages.
+ * @param message BrowserLanguage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICmsMetadataKey, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBrowserLanguage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CmsMetadataKey message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKey.verify|verify} messages.
- * @param message CmsMetadataKey message or plain object to encode
+ * Encodes the specified BrowserLanguage message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BrowserLanguage.verify|verify} messages.
+ * @param message BrowserLanguage message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICmsMetadataKey, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBrowserLanguage, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CmsMetadataKey message from the specified reader or buffer.
+ * Decodes a BrowserLanguage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CmsMetadataKey
+ * @returns BrowserLanguage
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CmsMetadataKey;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BrowserLanguage;
/**
- * Decodes a CmsMetadataKey message from the specified reader or buffer, length delimited.
+ * Decodes a BrowserLanguage message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CmsMetadataKey
+ * @returns BrowserLanguage
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CmsMetadataKey;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BrowserLanguage;
/**
- * Verifies a CmsMetadataKey message.
+ * Verifies a BrowserLanguage message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CmsMetadataKey message from a plain object. Also converts values to their respective internal types.
+ * Creates a BrowserLanguage message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CmsMetadataKey
+ * @returns BrowserLanguage
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CmsMetadataKey;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BrowserLanguage;
/**
- * Creates a plain object from a CmsMetadataKey message. Also converts values to other types if specified.
- * @param message CmsMetadataKey
+ * Creates a plain object from a BrowserLanguage message. Also converts values to other types if specified.
+ * @param message BrowserLanguage
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CmsMetadataKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BrowserLanguage, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CmsMetadataKey to JSON.
+ * Converts this BrowserLanguage to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CmsMetadataKey
+ * Gets the default type url for BrowserLanguage
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a CmsMetadataKeyService */
- class CmsMetadataKeyService extends $protobuf.rpc.Service {
+ /** Represents a BrowserLanguageService */
+ class BrowserLanguageService extends $protobuf.rpc.Service {
/**
- * Constructs a new CmsMetadataKeyService service.
+ * Constructs a new BrowserLanguageService service.
* @param rpcImpl RPC implementation
* @param [requestDelimited=false] Whether requests are length-delimited
* @param [responseDelimited=false] Whether responses are length-delimited
@@ -7219,615 +7431,513 @@ export namespace google {
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
/**
- * Creates new CmsMetadataKeyService service using the specified rpc implementation.
+ * Creates new BrowserLanguageService service using the specified rpc implementation.
* @param rpcImpl RPC implementation
* @param [requestDelimited=false] Whether requests are length-delimited
* @param [responseDelimited=false] Whether responses are length-delimited
* @returns RPC service. Useful where requests and/or responses are streamed.
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CmsMetadataKeyService;
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BrowserLanguageService;
/**
- * Calls GetCmsMetadataKey.
- * @param request GetCmsMetadataKeyRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and CmsMetadataKey
+ * Calls GetBrowserLanguage.
+ * @param request GetBrowserLanguageRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BrowserLanguage
*/
- public getCmsMetadataKey(request: google.ads.admanager.v1.IGetCmsMetadataKeyRequest, callback: google.ads.admanager.v1.CmsMetadataKeyService.GetCmsMetadataKeyCallback): void;
+ public getBrowserLanguage(request: google.ads.admanager.v1.IGetBrowserLanguageRequest, callback: google.ads.admanager.v1.BrowserLanguageService.GetBrowserLanguageCallback): void;
/**
- * Calls GetCmsMetadataKey.
- * @param request GetCmsMetadataKeyRequest message or plain object
+ * Calls GetBrowserLanguage.
+ * @param request GetBrowserLanguageRequest message or plain object
* @returns Promise
*/
- public getCmsMetadataKey(request: google.ads.admanager.v1.IGetCmsMetadataKeyRequest): Promise;
+ public getBrowserLanguage(request: google.ads.admanager.v1.IGetBrowserLanguageRequest): Promise;
/**
- * Calls ListCmsMetadataKeys.
- * @param request ListCmsMetadataKeysRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListCmsMetadataKeysResponse
+ * Calls ListBrowserLanguages.
+ * @param request ListBrowserLanguagesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListBrowserLanguagesResponse
*/
- public listCmsMetadataKeys(request: google.ads.admanager.v1.IListCmsMetadataKeysRequest, callback: google.ads.admanager.v1.CmsMetadataKeyService.ListCmsMetadataKeysCallback): void;
+ public listBrowserLanguages(request: google.ads.admanager.v1.IListBrowserLanguagesRequest, callback: google.ads.admanager.v1.BrowserLanguageService.ListBrowserLanguagesCallback): void;
/**
- * Calls ListCmsMetadataKeys.
- * @param request ListCmsMetadataKeysRequest message or plain object
+ * Calls ListBrowserLanguages.
+ * @param request ListBrowserLanguagesRequest message or plain object
* @returns Promise
*/
- public listCmsMetadataKeys(request: google.ads.admanager.v1.IListCmsMetadataKeysRequest): Promise;
+ public listBrowserLanguages(request: google.ads.admanager.v1.IListBrowserLanguagesRequest): Promise;
}
- namespace CmsMetadataKeyService {
+ namespace BrowserLanguageService {
/**
- * Callback as used by {@link google.ads.admanager.v1.CmsMetadataKeyService|getCmsMetadataKey}.
+ * Callback as used by {@link google.ads.admanager.v1.BrowserLanguageService|getBrowserLanguage}.
* @param error Error, if any
- * @param [response] CmsMetadataKey
+ * @param [response] BrowserLanguage
*/
- type GetCmsMetadataKeyCallback = (error: (Error|null), response?: google.ads.admanager.v1.CmsMetadataKey) => void;
+ type GetBrowserLanguageCallback = (error: (Error|null), response?: google.ads.admanager.v1.BrowserLanguage) => void;
/**
- * Callback as used by {@link google.ads.admanager.v1.CmsMetadataKeyService|listCmsMetadataKeys}.
+ * Callback as used by {@link google.ads.admanager.v1.BrowserLanguageService|listBrowserLanguages}.
* @param error Error, if any
- * @param [response] ListCmsMetadataKeysResponse
+ * @param [response] ListBrowserLanguagesResponse
*/
- type ListCmsMetadataKeysCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCmsMetadataKeysResponse) => void;
+ type ListBrowserLanguagesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListBrowserLanguagesResponse) => void;
}
- /** Properties of a GetCmsMetadataKeyRequest. */
- interface IGetCmsMetadataKeyRequest {
+ /** Properties of a GetBrowserLanguageRequest. */
+ interface IGetBrowserLanguageRequest {
- /** GetCmsMetadataKeyRequest name */
+ /** GetBrowserLanguageRequest name */
name?: (string|null);
}
- /** Represents a GetCmsMetadataKeyRequest. */
- class GetCmsMetadataKeyRequest implements IGetCmsMetadataKeyRequest {
+ /** Represents a GetBrowserLanguageRequest. */
+ class GetBrowserLanguageRequest implements IGetBrowserLanguageRequest {
/**
- * Constructs a new GetCmsMetadataKeyRequest.
+ * Constructs a new GetBrowserLanguageRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetCmsMetadataKeyRequest);
+ constructor(properties?: google.ads.admanager.v1.IGetBrowserLanguageRequest);
- /** GetCmsMetadataKeyRequest name. */
+ /** GetBrowserLanguageRequest name. */
public name: string;
/**
- * Creates a new GetCmsMetadataKeyRequest instance using the specified properties.
+ * Creates a new GetBrowserLanguageRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetCmsMetadataKeyRequest instance
+ * @returns GetBrowserLanguageRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetCmsMetadataKeyRequest): google.ads.admanager.v1.GetCmsMetadataKeyRequest;
+ public static create(properties?: google.ads.admanager.v1.IGetBrowserLanguageRequest): google.ads.admanager.v1.GetBrowserLanguageRequest;
/**
- * Encodes the specified GetCmsMetadataKeyRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCmsMetadataKeyRequest.verify|verify} messages.
- * @param message GetCmsMetadataKeyRequest message or plain object to encode
+ * Encodes the specified GetBrowserLanguageRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBrowserLanguageRequest.verify|verify} messages.
+ * @param message GetBrowserLanguageRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetCmsMetadataKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetBrowserLanguageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetCmsMetadataKeyRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCmsMetadataKeyRequest.verify|verify} messages.
- * @param message GetCmsMetadataKeyRequest message or plain object to encode
+ * Encodes the specified GetBrowserLanguageRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBrowserLanguageRequest.verify|verify} messages.
+ * @param message GetBrowserLanguageRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetCmsMetadataKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetBrowserLanguageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetCmsMetadataKeyRequest message from the specified reader or buffer.
+ * Decodes a GetBrowserLanguageRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetCmsMetadataKeyRequest
+ * @returns GetBrowserLanguageRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCmsMetadataKeyRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetBrowserLanguageRequest;
/**
- * Decodes a GetCmsMetadataKeyRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetBrowserLanguageRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetCmsMetadataKeyRequest
+ * @returns GetBrowserLanguageRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCmsMetadataKeyRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetBrowserLanguageRequest;
/**
- * Verifies a GetCmsMetadataKeyRequest message.
+ * Verifies a GetBrowserLanguageRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetCmsMetadataKeyRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetBrowserLanguageRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetCmsMetadataKeyRequest
+ * @returns GetBrowserLanguageRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCmsMetadataKeyRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetBrowserLanguageRequest;
/**
- * Creates a plain object from a GetCmsMetadataKeyRequest message. Also converts values to other types if specified.
- * @param message GetCmsMetadataKeyRequest
+ * Creates a plain object from a GetBrowserLanguageRequest message. Also converts values to other types if specified.
+ * @param message GetBrowserLanguageRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetCmsMetadataKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetBrowserLanguageRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetCmsMetadataKeyRequest to JSON.
+ * Converts this GetBrowserLanguageRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetCmsMetadataKeyRequest
+ * Gets the default type url for GetBrowserLanguageRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCmsMetadataKeysRequest. */
- interface IListCmsMetadataKeysRequest {
+ /** Properties of a ListBrowserLanguagesRequest. */
+ interface IListBrowserLanguagesRequest {
- /** ListCmsMetadataKeysRequest parent */
+ /** ListBrowserLanguagesRequest parent */
parent?: (string|null);
- /** ListCmsMetadataKeysRequest pageSize */
+ /** ListBrowserLanguagesRequest pageSize */
pageSize?: (number|null);
- /** ListCmsMetadataKeysRequest pageToken */
+ /** ListBrowserLanguagesRequest pageToken */
pageToken?: (string|null);
- /** ListCmsMetadataKeysRequest filter */
+ /** ListBrowserLanguagesRequest filter */
filter?: (string|null);
- /** ListCmsMetadataKeysRequest orderBy */
+ /** ListBrowserLanguagesRequest orderBy */
orderBy?: (string|null);
- /** ListCmsMetadataKeysRequest skip */
+ /** ListBrowserLanguagesRequest skip */
skip?: (number|null);
}
- /** Represents a ListCmsMetadataKeysRequest. */
- class ListCmsMetadataKeysRequest implements IListCmsMetadataKeysRequest {
+ /** Represents a ListBrowserLanguagesRequest. */
+ class ListBrowserLanguagesRequest implements IListBrowserLanguagesRequest {
/**
- * Constructs a new ListCmsMetadataKeysRequest.
+ * Constructs a new ListBrowserLanguagesRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCmsMetadataKeysRequest);
+ constructor(properties?: google.ads.admanager.v1.IListBrowserLanguagesRequest);
- /** ListCmsMetadataKeysRequest parent. */
+ /** ListBrowserLanguagesRequest parent. */
public parent: string;
- /** ListCmsMetadataKeysRequest pageSize. */
+ /** ListBrowserLanguagesRequest pageSize. */
public pageSize: number;
- /** ListCmsMetadataKeysRequest pageToken. */
+ /** ListBrowserLanguagesRequest pageToken. */
public pageToken: string;
- /** ListCmsMetadataKeysRequest filter. */
+ /** ListBrowserLanguagesRequest filter. */
public filter: string;
- /** ListCmsMetadataKeysRequest orderBy. */
+ /** ListBrowserLanguagesRequest orderBy. */
public orderBy: string;
- /** ListCmsMetadataKeysRequest skip. */
+ /** ListBrowserLanguagesRequest skip. */
public skip: number;
/**
- * Creates a new ListCmsMetadataKeysRequest instance using the specified properties.
+ * Creates a new ListBrowserLanguagesRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCmsMetadataKeysRequest instance
+ * @returns ListBrowserLanguagesRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCmsMetadataKeysRequest): google.ads.admanager.v1.ListCmsMetadataKeysRequest;
+ public static create(properties?: google.ads.admanager.v1.IListBrowserLanguagesRequest): google.ads.admanager.v1.ListBrowserLanguagesRequest;
/**
- * Encodes the specified ListCmsMetadataKeysRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataKeysRequest.verify|verify} messages.
- * @param message ListCmsMetadataKeysRequest message or plain object to encode
+ * Encodes the specified ListBrowserLanguagesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesRequest.verify|verify} messages.
+ * @param message ListBrowserLanguagesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCmsMetadataKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListBrowserLanguagesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCmsMetadataKeysRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataKeysRequest.verify|verify} messages.
- * @param message ListCmsMetadataKeysRequest message or plain object to encode
+ * Encodes the specified ListBrowserLanguagesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesRequest.verify|verify} messages.
+ * @param message ListBrowserLanguagesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCmsMetadataKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListBrowserLanguagesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCmsMetadataKeysRequest message from the specified reader or buffer.
+ * Decodes a ListBrowserLanguagesRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCmsMetadataKeysRequest
+ * @returns ListBrowserLanguagesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCmsMetadataKeysRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBrowserLanguagesRequest;
/**
- * Decodes a ListCmsMetadataKeysRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListBrowserLanguagesRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCmsMetadataKeysRequest
+ * @returns ListBrowserLanguagesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCmsMetadataKeysRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBrowserLanguagesRequest;
/**
- * Verifies a ListCmsMetadataKeysRequest message.
+ * Verifies a ListBrowserLanguagesRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCmsMetadataKeysRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListBrowserLanguagesRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCmsMetadataKeysRequest
+ * @returns ListBrowserLanguagesRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCmsMetadataKeysRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBrowserLanguagesRequest;
/**
- * Creates a plain object from a ListCmsMetadataKeysRequest message. Also converts values to other types if specified.
- * @param message ListCmsMetadataKeysRequest
+ * Creates a plain object from a ListBrowserLanguagesRequest message. Also converts values to other types if specified.
+ * @param message ListBrowserLanguagesRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCmsMetadataKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListBrowserLanguagesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCmsMetadataKeysRequest to JSON.
+ * Converts this ListBrowserLanguagesRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCmsMetadataKeysRequest
+ * Gets the default type url for ListBrowserLanguagesRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCmsMetadataKeysResponse. */
- interface IListCmsMetadataKeysResponse {
+ /** Properties of a ListBrowserLanguagesResponse. */
+ interface IListBrowserLanguagesResponse {
- /** ListCmsMetadataKeysResponse cmsMetadataKeys */
- cmsMetadataKeys?: (google.ads.admanager.v1.ICmsMetadataKey[]|null);
+ /** ListBrowserLanguagesResponse browserLanguages */
+ browserLanguages?: (google.ads.admanager.v1.IBrowserLanguage[]|null);
- /** ListCmsMetadataKeysResponse nextPageToken */
+ /** ListBrowserLanguagesResponse nextPageToken */
nextPageToken?: (string|null);
- /** ListCmsMetadataKeysResponse totalSize */
+ /** ListBrowserLanguagesResponse totalSize */
totalSize?: (number|null);
}
- /** Represents a ListCmsMetadataKeysResponse. */
- class ListCmsMetadataKeysResponse implements IListCmsMetadataKeysResponse {
+ /** Represents a ListBrowserLanguagesResponse. */
+ class ListBrowserLanguagesResponse implements IListBrowserLanguagesResponse {
/**
- * Constructs a new ListCmsMetadataKeysResponse.
+ * Constructs a new ListBrowserLanguagesResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCmsMetadataKeysResponse);
+ constructor(properties?: google.ads.admanager.v1.IListBrowserLanguagesResponse);
- /** ListCmsMetadataKeysResponse cmsMetadataKeys. */
- public cmsMetadataKeys: google.ads.admanager.v1.ICmsMetadataKey[];
+ /** ListBrowserLanguagesResponse browserLanguages. */
+ public browserLanguages: google.ads.admanager.v1.IBrowserLanguage[];
- /** ListCmsMetadataKeysResponse nextPageToken. */
+ /** ListBrowserLanguagesResponse nextPageToken. */
public nextPageToken: string;
- /** ListCmsMetadataKeysResponse totalSize. */
+ /** ListBrowserLanguagesResponse totalSize. */
public totalSize: number;
/**
- * Creates a new ListCmsMetadataKeysResponse instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ListCmsMetadataKeysResponse instance
- */
- public static create(properties?: google.ads.admanager.v1.IListCmsMetadataKeysResponse): google.ads.admanager.v1.ListCmsMetadataKeysResponse;
-
- /**
- * Encodes the specified ListCmsMetadataKeysResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataKeysResponse.verify|verify} messages.
- * @param message ListCmsMetadataKeysResponse message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.ads.admanager.v1.IListCmsMetadataKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
-
- /**
- * Encodes the specified ListCmsMetadataKeysResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataKeysResponse.verify|verify} messages.
- * @param message ListCmsMetadataKeysResponse message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.IListCmsMetadataKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
-
- /**
- * Decodes a ListCmsMetadataKeysResponse message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ListCmsMetadataKeysResponse
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCmsMetadataKeysResponse;
-
- /**
- * Decodes a ListCmsMetadataKeysResponse message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ListCmsMetadataKeysResponse
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCmsMetadataKeysResponse;
-
- /**
- * Verifies a ListCmsMetadataKeysResponse message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
-
- /**
- * Creates a ListCmsMetadataKeysResponse message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ListCmsMetadataKeysResponse
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCmsMetadataKeysResponse;
-
- /**
- * Creates a plain object from a ListCmsMetadataKeysResponse message. Also converts values to other types if specified.
- * @param message ListCmsMetadataKeysResponse
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.ListCmsMetadataKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
-
- /**
- * Converts this ListCmsMetadataKeysResponse to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
-
- /**
- * Gets the default type url for ListCmsMetadataKeysResponse
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
-
- /** Properties of a CmsMetadataValueStatusEnum. */
- interface ICmsMetadataValueStatusEnum {
- }
-
- /** Represents a CmsMetadataValueStatusEnum. */
- class CmsMetadataValueStatusEnum implements ICmsMetadataValueStatusEnum {
-
- /**
- * Constructs a new CmsMetadataValueStatusEnum.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.ICmsMetadataValueStatusEnum);
-
- /**
- * Creates a new CmsMetadataValueStatusEnum instance using the specified properties.
+ * Creates a new ListBrowserLanguagesResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns CmsMetadataValueStatusEnum instance
+ * @returns ListBrowserLanguagesResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.ICmsMetadataValueStatusEnum): google.ads.admanager.v1.CmsMetadataValueStatusEnum;
+ public static create(properties?: google.ads.admanager.v1.IListBrowserLanguagesResponse): google.ads.admanager.v1.ListBrowserLanguagesResponse;
/**
- * Encodes the specified CmsMetadataValueStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataValueStatusEnum.verify|verify} messages.
- * @param message CmsMetadataValueStatusEnum message or plain object to encode
+ * Encodes the specified ListBrowserLanguagesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesResponse.verify|verify} messages.
+ * @param message ListBrowserLanguagesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICmsMetadataValueStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListBrowserLanguagesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CmsMetadataValueStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataValueStatusEnum.verify|verify} messages.
- * @param message CmsMetadataValueStatusEnum message or plain object to encode
+ * Encodes the specified ListBrowserLanguagesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesResponse.verify|verify} messages.
+ * @param message ListBrowserLanguagesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICmsMetadataValueStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListBrowserLanguagesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CmsMetadataValueStatusEnum message from the specified reader or buffer.
+ * Decodes a ListBrowserLanguagesResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CmsMetadataValueStatusEnum
+ * @returns ListBrowserLanguagesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CmsMetadataValueStatusEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBrowserLanguagesResponse;
/**
- * Decodes a CmsMetadataValueStatusEnum message from the specified reader or buffer, length delimited.
+ * Decodes a ListBrowserLanguagesResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CmsMetadataValueStatusEnum
+ * @returns ListBrowserLanguagesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CmsMetadataValueStatusEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBrowserLanguagesResponse;
/**
- * Verifies a CmsMetadataValueStatusEnum message.
+ * Verifies a ListBrowserLanguagesResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CmsMetadataValueStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListBrowserLanguagesResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CmsMetadataValueStatusEnum
+ * @returns ListBrowserLanguagesResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CmsMetadataValueStatusEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBrowserLanguagesResponse;
/**
- * Creates a plain object from a CmsMetadataValueStatusEnum message. Also converts values to other types if specified.
- * @param message CmsMetadataValueStatusEnum
+ * Creates a plain object from a ListBrowserLanguagesResponse message. Also converts values to other types if specified.
+ * @param message ListBrowserLanguagesResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CmsMetadataValueStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListBrowserLanguagesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CmsMetadataValueStatusEnum to JSON.
+ * Converts this ListBrowserLanguagesResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CmsMetadataValueStatusEnum
+ * Gets the default type url for ListBrowserLanguagesResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CmsMetadataValueStatusEnum {
-
- /** CmsMetadataValueStatus enum. */
- enum CmsMetadataValueStatus {
- CMS_METADATA_VALUE_STATUS_UNSPECIFIED = 0,
- ACTIVE = 1,
- ARCHIVED = 2,
- INACTIVE = 3
- }
- }
-
- /** Properties of a CmsMetadataValue. */
- interface ICmsMetadataValue {
+ /** Properties of a Browser. */
+ interface IBrowser {
- /** CmsMetadataValue name */
+ /** Browser name */
name?: (string|null);
- /** CmsMetadataValue displayName */
+ /** Browser displayName */
displayName?: (string|null);
- /** CmsMetadataValue key */
- key?: (string|null);
+ /** Browser majorVersion */
+ majorVersion?: (string|null);
- /** CmsMetadataValue status */
- status?: (google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus|keyof typeof google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus|null);
+ /** Browser minorVersion */
+ minorVersion?: (string|null);
}
- /** Represents a CmsMetadataValue. */
- class CmsMetadataValue implements ICmsMetadataValue {
+ /** Represents a Browser. */
+ class Browser implements IBrowser {
/**
- * Constructs a new CmsMetadataValue.
+ * Constructs a new Browser.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICmsMetadataValue);
+ constructor(properties?: google.ads.admanager.v1.IBrowser);
- /** CmsMetadataValue name. */
+ /** Browser name. */
public name: string;
- /** CmsMetadataValue displayName. */
- public displayName: string;
+ /** Browser displayName. */
+ public displayName?: (string|null);
- /** CmsMetadataValue key. */
- public key: string;
+ /** Browser majorVersion. */
+ public majorVersion?: (string|null);
- /** CmsMetadataValue status. */
- public status: (google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus|keyof typeof google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus);
+ /** Browser minorVersion. */
+ public minorVersion?: (string|null);
/**
- * Creates a new CmsMetadataValue instance using the specified properties.
+ * Creates a new Browser instance using the specified properties.
* @param [properties] Properties to set
- * @returns CmsMetadataValue instance
+ * @returns Browser instance
*/
- public static create(properties?: google.ads.admanager.v1.ICmsMetadataValue): google.ads.admanager.v1.CmsMetadataValue;
+ public static create(properties?: google.ads.admanager.v1.IBrowser): google.ads.admanager.v1.Browser;
/**
- * Encodes the specified CmsMetadataValue message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataValue.verify|verify} messages.
- * @param message CmsMetadataValue message or plain object to encode
+ * Encodes the specified Browser message. Does not implicitly {@link google.ads.admanager.v1.Browser.verify|verify} messages.
+ * @param message Browser message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICmsMetadataValue, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBrowser, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CmsMetadataValue message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataValue.verify|verify} messages.
- * @param message CmsMetadataValue message or plain object to encode
+ * Encodes the specified Browser message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Browser.verify|verify} messages.
+ * @param message Browser message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICmsMetadataValue, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBrowser, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CmsMetadataValue message from the specified reader or buffer.
+ * Decodes a Browser message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CmsMetadataValue
+ * @returns Browser
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CmsMetadataValue;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Browser;
/**
- * Decodes a CmsMetadataValue message from the specified reader or buffer, length delimited.
+ * Decodes a Browser message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CmsMetadataValue
+ * @returns Browser
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CmsMetadataValue;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Browser;
/**
- * Verifies a CmsMetadataValue message.
+ * Verifies a Browser message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CmsMetadataValue message from a plain object. Also converts values to their respective internal types.
+ * Creates a Browser message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CmsMetadataValue
+ * @returns Browser
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CmsMetadataValue;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Browser;
/**
- * Creates a plain object from a CmsMetadataValue message. Also converts values to other types if specified.
- * @param message CmsMetadataValue
+ * Creates a plain object from a Browser message. Also converts values to other types if specified.
+ * @param message Browser
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CmsMetadataValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.Browser, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CmsMetadataValue to JSON.
+ * Converts this Browser to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CmsMetadataValue
+ * Gets the default type url for Browser
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a CmsMetadataValueService */
- class CmsMetadataValueService extends $protobuf.rpc.Service {
+ /** Represents a BrowserService */
+ class BrowserService extends $protobuf.rpc.Service {
/**
- * Constructs a new CmsMetadataValueService service.
+ * Constructs a new BrowserService service.
* @param rpcImpl RPC implementation
* @param [requestDelimited=false] Whether requests are length-delimited
* @param [responseDelimited=false] Whether responses are length-delimited
@@ -7835,1454 +7945,1224 @@ export namespace google {
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
/**
- * Creates new CmsMetadataValueService service using the specified rpc implementation.
+ * Creates new BrowserService service using the specified rpc implementation.
* @param rpcImpl RPC implementation
* @param [requestDelimited=false] Whether requests are length-delimited
* @param [responseDelimited=false] Whether responses are length-delimited
* @returns RPC service. Useful where requests and/or responses are streamed.
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CmsMetadataValueService;
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BrowserService;
/**
- * Calls GetCmsMetadataValue.
- * @param request GetCmsMetadataValueRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and CmsMetadataValue
+ * Calls GetBrowser.
+ * @param request GetBrowserRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Browser
*/
- public getCmsMetadataValue(request: google.ads.admanager.v1.IGetCmsMetadataValueRequest, callback: google.ads.admanager.v1.CmsMetadataValueService.GetCmsMetadataValueCallback): void;
+ public getBrowser(request: google.ads.admanager.v1.IGetBrowserRequest, callback: google.ads.admanager.v1.BrowserService.GetBrowserCallback): void;
/**
- * Calls GetCmsMetadataValue.
- * @param request GetCmsMetadataValueRequest message or plain object
+ * Calls GetBrowser.
+ * @param request GetBrowserRequest message or plain object
* @returns Promise
*/
- public getCmsMetadataValue(request: google.ads.admanager.v1.IGetCmsMetadataValueRequest): Promise;
+ public getBrowser(request: google.ads.admanager.v1.IGetBrowserRequest): Promise;
/**
- * Calls ListCmsMetadataValues.
- * @param request ListCmsMetadataValuesRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListCmsMetadataValuesResponse
+ * Calls ListBrowsers.
+ * @param request ListBrowsersRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListBrowsersResponse
*/
- public listCmsMetadataValues(request: google.ads.admanager.v1.IListCmsMetadataValuesRequest, callback: google.ads.admanager.v1.CmsMetadataValueService.ListCmsMetadataValuesCallback): void;
+ public listBrowsers(request: google.ads.admanager.v1.IListBrowsersRequest, callback: google.ads.admanager.v1.BrowserService.ListBrowsersCallback): void;
/**
- * Calls ListCmsMetadataValues.
- * @param request ListCmsMetadataValuesRequest message or plain object
+ * Calls ListBrowsers.
+ * @param request ListBrowsersRequest message or plain object
* @returns Promise
*/
- public listCmsMetadataValues(request: google.ads.admanager.v1.IListCmsMetadataValuesRequest): Promise;
+ public listBrowsers(request: google.ads.admanager.v1.IListBrowsersRequest): Promise;
}
- namespace CmsMetadataValueService {
+ namespace BrowserService {
/**
- * Callback as used by {@link google.ads.admanager.v1.CmsMetadataValueService|getCmsMetadataValue}.
+ * Callback as used by {@link google.ads.admanager.v1.BrowserService|getBrowser}.
* @param error Error, if any
- * @param [response] CmsMetadataValue
+ * @param [response] Browser
*/
- type GetCmsMetadataValueCallback = (error: (Error|null), response?: google.ads.admanager.v1.CmsMetadataValue) => void;
+ type GetBrowserCallback = (error: (Error|null), response?: google.ads.admanager.v1.Browser) => void;
/**
- * Callback as used by {@link google.ads.admanager.v1.CmsMetadataValueService|listCmsMetadataValues}.
+ * Callback as used by {@link google.ads.admanager.v1.BrowserService|listBrowsers}.
* @param error Error, if any
- * @param [response] ListCmsMetadataValuesResponse
+ * @param [response] ListBrowsersResponse
*/
- type ListCmsMetadataValuesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCmsMetadataValuesResponse) => void;
+ type ListBrowsersCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListBrowsersResponse) => void;
}
- /** Properties of a GetCmsMetadataValueRequest. */
- interface IGetCmsMetadataValueRequest {
+ /** Properties of a GetBrowserRequest. */
+ interface IGetBrowserRequest {
- /** GetCmsMetadataValueRequest name */
+ /** GetBrowserRequest name */
name?: (string|null);
}
- /** Represents a GetCmsMetadataValueRequest. */
- class GetCmsMetadataValueRequest implements IGetCmsMetadataValueRequest {
+ /** Represents a GetBrowserRequest. */
+ class GetBrowserRequest implements IGetBrowserRequest {
/**
- * Constructs a new GetCmsMetadataValueRequest.
+ * Constructs a new GetBrowserRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetCmsMetadataValueRequest);
+ constructor(properties?: google.ads.admanager.v1.IGetBrowserRequest);
- /** GetCmsMetadataValueRequest name. */
+ /** GetBrowserRequest name. */
public name: string;
/**
- * Creates a new GetCmsMetadataValueRequest instance using the specified properties.
+ * Creates a new GetBrowserRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetCmsMetadataValueRequest instance
+ * @returns GetBrowserRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetCmsMetadataValueRequest): google.ads.admanager.v1.GetCmsMetadataValueRequest;
+ public static create(properties?: google.ads.admanager.v1.IGetBrowserRequest): google.ads.admanager.v1.GetBrowserRequest;
/**
- * Encodes the specified GetCmsMetadataValueRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCmsMetadataValueRequest.verify|verify} messages.
- * @param message GetCmsMetadataValueRequest message or plain object to encode
+ * Encodes the specified GetBrowserRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBrowserRequest.verify|verify} messages.
+ * @param message GetBrowserRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetCmsMetadataValueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetBrowserRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetCmsMetadataValueRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCmsMetadataValueRequest.verify|verify} messages.
- * @param message GetCmsMetadataValueRequest message or plain object to encode
+ * Encodes the specified GetBrowserRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBrowserRequest.verify|verify} messages.
+ * @param message GetBrowserRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetCmsMetadataValueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetBrowserRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetCmsMetadataValueRequest message from the specified reader or buffer.
+ * Decodes a GetBrowserRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetCmsMetadataValueRequest
+ * @returns GetBrowserRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCmsMetadataValueRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetBrowserRequest;
/**
- * Decodes a GetCmsMetadataValueRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetBrowserRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetCmsMetadataValueRequest
+ * @returns GetBrowserRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCmsMetadataValueRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetBrowserRequest;
/**
- * Verifies a GetCmsMetadataValueRequest message.
+ * Verifies a GetBrowserRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetCmsMetadataValueRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetBrowserRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetCmsMetadataValueRequest
+ * @returns GetBrowserRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCmsMetadataValueRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetBrowserRequest;
/**
- * Creates a plain object from a GetCmsMetadataValueRequest message. Also converts values to other types if specified.
- * @param message GetCmsMetadataValueRequest
+ * Creates a plain object from a GetBrowserRequest message. Also converts values to other types if specified.
+ * @param message GetBrowserRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetCmsMetadataValueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetBrowserRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetCmsMetadataValueRequest to JSON.
+ * Converts this GetBrowserRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetCmsMetadataValueRequest
+ * Gets the default type url for GetBrowserRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCmsMetadataValuesRequest. */
- interface IListCmsMetadataValuesRequest {
+ /** Properties of a ListBrowsersRequest. */
+ interface IListBrowsersRequest {
- /** ListCmsMetadataValuesRequest parent */
+ /** ListBrowsersRequest parent */
parent?: (string|null);
- /** ListCmsMetadataValuesRequest pageSize */
+ /** ListBrowsersRequest pageSize */
pageSize?: (number|null);
- /** ListCmsMetadataValuesRequest pageToken */
+ /** ListBrowsersRequest pageToken */
pageToken?: (string|null);
- /** ListCmsMetadataValuesRequest filter */
+ /** ListBrowsersRequest filter */
filter?: (string|null);
- /** ListCmsMetadataValuesRequest orderBy */
+ /** ListBrowsersRequest orderBy */
orderBy?: (string|null);
- /** ListCmsMetadataValuesRequest skip */
+ /** ListBrowsersRequest skip */
skip?: (number|null);
}
- /** Represents a ListCmsMetadataValuesRequest. */
- class ListCmsMetadataValuesRequest implements IListCmsMetadataValuesRequest {
+ /** Represents a ListBrowsersRequest. */
+ class ListBrowsersRequest implements IListBrowsersRequest {
/**
- * Constructs a new ListCmsMetadataValuesRequest.
+ * Constructs a new ListBrowsersRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCmsMetadataValuesRequest);
+ constructor(properties?: google.ads.admanager.v1.IListBrowsersRequest);
- /** ListCmsMetadataValuesRequest parent. */
+ /** ListBrowsersRequest parent. */
public parent: string;
- /** ListCmsMetadataValuesRequest pageSize. */
+ /** ListBrowsersRequest pageSize. */
public pageSize: number;
- /** ListCmsMetadataValuesRequest pageToken. */
+ /** ListBrowsersRequest pageToken. */
public pageToken: string;
- /** ListCmsMetadataValuesRequest filter. */
+ /** ListBrowsersRequest filter. */
public filter: string;
- /** ListCmsMetadataValuesRequest orderBy. */
+ /** ListBrowsersRequest orderBy. */
public orderBy: string;
- /** ListCmsMetadataValuesRequest skip. */
+ /** ListBrowsersRequest skip. */
public skip: number;
/**
- * Creates a new ListCmsMetadataValuesRequest instance using the specified properties.
+ * Creates a new ListBrowsersRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCmsMetadataValuesRequest instance
+ * @returns ListBrowsersRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCmsMetadataValuesRequest): google.ads.admanager.v1.ListCmsMetadataValuesRequest;
+ public static create(properties?: google.ads.admanager.v1.IListBrowsersRequest): google.ads.admanager.v1.ListBrowsersRequest;
/**
- * Encodes the specified ListCmsMetadataValuesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataValuesRequest.verify|verify} messages.
- * @param message ListCmsMetadataValuesRequest message or plain object to encode
+ * Encodes the specified ListBrowsersRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersRequest.verify|verify} messages.
+ * @param message ListBrowsersRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCmsMetadataValuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListBrowsersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCmsMetadataValuesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataValuesRequest.verify|verify} messages.
- * @param message ListCmsMetadataValuesRequest message or plain object to encode
+ * Encodes the specified ListBrowsersRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersRequest.verify|verify} messages.
+ * @param message ListBrowsersRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCmsMetadataValuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListBrowsersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCmsMetadataValuesRequest message from the specified reader or buffer.
+ * Decodes a ListBrowsersRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCmsMetadataValuesRequest
+ * @returns ListBrowsersRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCmsMetadataValuesRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBrowsersRequest;
/**
- * Decodes a ListCmsMetadataValuesRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListBrowsersRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCmsMetadataValuesRequest
+ * @returns ListBrowsersRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCmsMetadataValuesRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBrowsersRequest;
/**
- * Verifies a ListCmsMetadataValuesRequest message.
+ * Verifies a ListBrowsersRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCmsMetadataValuesRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListBrowsersRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCmsMetadataValuesRequest
+ * @returns ListBrowsersRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCmsMetadataValuesRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBrowsersRequest;
/**
- * Creates a plain object from a ListCmsMetadataValuesRequest message. Also converts values to other types if specified.
- * @param message ListCmsMetadataValuesRequest
+ * Creates a plain object from a ListBrowsersRequest message. Also converts values to other types if specified.
+ * @param message ListBrowsersRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCmsMetadataValuesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListBrowsersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCmsMetadataValuesRequest to JSON.
+ * Converts this ListBrowsersRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCmsMetadataValuesRequest
+ * Gets the default type url for ListBrowsersRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCmsMetadataValuesResponse. */
- interface IListCmsMetadataValuesResponse {
+ /** Properties of a ListBrowsersResponse. */
+ interface IListBrowsersResponse {
- /** ListCmsMetadataValuesResponse cmsMetadataValues */
- cmsMetadataValues?: (google.ads.admanager.v1.ICmsMetadataValue[]|null);
+ /** ListBrowsersResponse browsers */
+ browsers?: (google.ads.admanager.v1.IBrowser[]|null);
- /** ListCmsMetadataValuesResponse nextPageToken */
+ /** ListBrowsersResponse nextPageToken */
nextPageToken?: (string|null);
- /** ListCmsMetadataValuesResponse totalSize */
+ /** ListBrowsersResponse totalSize */
totalSize?: (number|null);
}
- /** Represents a ListCmsMetadataValuesResponse. */
- class ListCmsMetadataValuesResponse implements IListCmsMetadataValuesResponse {
+ /** Represents a ListBrowsersResponse. */
+ class ListBrowsersResponse implements IListBrowsersResponse {
/**
- * Constructs a new ListCmsMetadataValuesResponse.
+ * Constructs a new ListBrowsersResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCmsMetadataValuesResponse);
+ constructor(properties?: google.ads.admanager.v1.IListBrowsersResponse);
- /** ListCmsMetadataValuesResponse cmsMetadataValues. */
- public cmsMetadataValues: google.ads.admanager.v1.ICmsMetadataValue[];
+ /** ListBrowsersResponse browsers. */
+ public browsers: google.ads.admanager.v1.IBrowser[];
- /** ListCmsMetadataValuesResponse nextPageToken. */
+ /** ListBrowsersResponse nextPageToken. */
public nextPageToken: string;
- /** ListCmsMetadataValuesResponse totalSize. */
+ /** ListBrowsersResponse totalSize. */
public totalSize: number;
/**
- * Creates a new ListCmsMetadataValuesResponse instance using the specified properties.
+ * Creates a new ListBrowsersResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCmsMetadataValuesResponse instance
+ * @returns ListBrowsersResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCmsMetadataValuesResponse): google.ads.admanager.v1.ListCmsMetadataValuesResponse;
+ public static create(properties?: google.ads.admanager.v1.IListBrowsersResponse): google.ads.admanager.v1.ListBrowsersResponse;
/**
- * Encodes the specified ListCmsMetadataValuesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataValuesResponse.verify|verify} messages.
- * @param message ListCmsMetadataValuesResponse message or plain object to encode
+ * Encodes the specified ListBrowsersResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersResponse.verify|verify} messages.
+ * @param message ListBrowsersResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCmsMetadataValuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListBrowsersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCmsMetadataValuesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataValuesResponse.verify|verify} messages.
- * @param message ListCmsMetadataValuesResponse message or plain object to encode
+ * Encodes the specified ListBrowsersResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersResponse.verify|verify} messages.
+ * @param message ListBrowsersResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCmsMetadataValuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListBrowsersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCmsMetadataValuesResponse message from the specified reader or buffer.
+ * Decodes a ListBrowsersResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCmsMetadataValuesResponse
+ * @returns ListBrowsersResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCmsMetadataValuesResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListBrowsersResponse;
/**
- * Decodes a ListCmsMetadataValuesResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListBrowsersResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCmsMetadataValuesResponse
+ * @returns ListBrowsersResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCmsMetadataValuesResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListBrowsersResponse;
/**
- * Verifies a ListCmsMetadataValuesResponse message.
+ * Verifies a ListBrowsersResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCmsMetadataValuesResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListBrowsersResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCmsMetadataValuesResponse
+ * @returns ListBrowsersResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCmsMetadataValuesResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListBrowsersResponse;
/**
- * Creates a plain object from a ListCmsMetadataValuesResponse message. Also converts values to other types if specified.
- * @param message ListCmsMetadataValuesResponse
+ * Creates a plain object from a ListBrowsersResponse message. Also converts values to other types if specified.
+ * @param message ListBrowsersResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCmsMetadataValuesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListBrowsersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCmsMetadataValuesResponse to JSON.
+ * Converts this ListBrowsersResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCmsMetadataValuesResponse
+ * Gets the default type url for ListBrowsersResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CompanyTypeEnum. */
- interface ICompanyTypeEnum {
+ /** Properties of a CmsMetadataKeyStatusEnum. */
+ interface ICmsMetadataKeyStatusEnum {
}
- /** Represents a CompanyTypeEnum. */
- class CompanyTypeEnum implements ICompanyTypeEnum {
+ /** Represents a CmsMetadataKeyStatusEnum. */
+ class CmsMetadataKeyStatusEnum implements ICmsMetadataKeyStatusEnum {
/**
- * Constructs a new CompanyTypeEnum.
+ * Constructs a new CmsMetadataKeyStatusEnum.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICompanyTypeEnum);
+ constructor(properties?: google.ads.admanager.v1.ICmsMetadataKeyStatusEnum);
/**
- * Creates a new CompanyTypeEnum instance using the specified properties.
+ * Creates a new CmsMetadataKeyStatusEnum instance using the specified properties.
* @param [properties] Properties to set
- * @returns CompanyTypeEnum instance
+ * @returns CmsMetadataKeyStatusEnum instance
*/
- public static create(properties?: google.ads.admanager.v1.ICompanyTypeEnum): google.ads.admanager.v1.CompanyTypeEnum;
+ public static create(properties?: google.ads.admanager.v1.ICmsMetadataKeyStatusEnum): google.ads.admanager.v1.CmsMetadataKeyStatusEnum;
/**
- * Encodes the specified CompanyTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CompanyTypeEnum.verify|verify} messages.
- * @param message CompanyTypeEnum message or plain object to encode
+ * Encodes the specified CmsMetadataKeyStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKeyStatusEnum.verify|verify} messages.
+ * @param message CmsMetadataKeyStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICompanyTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICmsMetadataKeyStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CompanyTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CompanyTypeEnum.verify|verify} messages.
- * @param message CompanyTypeEnum message or plain object to encode
+ * Encodes the specified CmsMetadataKeyStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKeyStatusEnum.verify|verify} messages.
+ * @param message CmsMetadataKeyStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICompanyTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICmsMetadataKeyStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CompanyTypeEnum message from the specified reader or buffer.
+ * Decodes a CmsMetadataKeyStatusEnum message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CompanyTypeEnum
+ * @returns CmsMetadataKeyStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CompanyTypeEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CmsMetadataKeyStatusEnum;
/**
- * Decodes a CompanyTypeEnum message from the specified reader or buffer, length delimited.
+ * Decodes a CmsMetadataKeyStatusEnum message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CompanyTypeEnum
+ * @returns CmsMetadataKeyStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CompanyTypeEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CmsMetadataKeyStatusEnum;
/**
- * Verifies a CompanyTypeEnum message.
+ * Verifies a CmsMetadataKeyStatusEnum message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CompanyTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a CmsMetadataKeyStatusEnum message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CompanyTypeEnum
+ * @returns CmsMetadataKeyStatusEnum
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CompanyTypeEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CmsMetadataKeyStatusEnum;
/**
- * Creates a plain object from a CompanyTypeEnum message. Also converts values to other types if specified.
- * @param message CompanyTypeEnum
+ * Creates a plain object from a CmsMetadataKeyStatusEnum message. Also converts values to other types if specified.
+ * @param message CmsMetadataKeyStatusEnum
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CompanyTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CmsMetadataKeyStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CompanyTypeEnum to JSON.
+ * Converts this CmsMetadataKeyStatusEnum to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CompanyTypeEnum
+ * Gets the default type url for CmsMetadataKeyStatusEnum
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CompanyTypeEnum {
+ namespace CmsMetadataKeyStatusEnum {
- /** CompanyType enum. */
- enum CompanyType {
- COMPANY_TYPE_UNSPECIFIED = 0,
- ADVERTISER = 1,
- HOUSE_ADVERTISER = 2,
- AGENCY = 3,
- HOUSE_AGENCY = 4,
- AD_NETWORK = 5
+ /** CmsMetadataKeyStatus enum. */
+ enum CmsMetadataKeyStatus {
+ CMS_METADATA_KEY_STATUS_UNSPECIFIED = 0,
+ ACTIVE = 1,
+ INACTIVE = 2
}
}
- /** Properties of a CompanyCreditStatusEnum. */
- interface ICompanyCreditStatusEnum {
+ /** Properties of a CmsMetadataKey. */
+ interface ICmsMetadataKey {
+
+ /** CmsMetadataKey name */
+ name?: (string|null);
+
+ /** CmsMetadataKey displayName */
+ displayName?: (string|null);
+
+ /** CmsMetadataKey status */
+ status?: (google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus|keyof typeof google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus|null);
}
- /** Represents a CompanyCreditStatusEnum. */
- class CompanyCreditStatusEnum implements ICompanyCreditStatusEnum {
+ /** Represents a CmsMetadataKey. */
+ class CmsMetadataKey implements ICmsMetadataKey {
/**
- * Constructs a new CompanyCreditStatusEnum.
+ * Constructs a new CmsMetadataKey.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICompanyCreditStatusEnum);
+ constructor(properties?: google.ads.admanager.v1.ICmsMetadataKey);
+
+ /** CmsMetadataKey name. */
+ public name: string;
+
+ /** CmsMetadataKey displayName. */
+ public displayName: string;
+
+ /** CmsMetadataKey status. */
+ public status: (google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus|keyof typeof google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus);
/**
- * Creates a new CompanyCreditStatusEnum instance using the specified properties.
+ * Creates a new CmsMetadataKey instance using the specified properties.
* @param [properties] Properties to set
- * @returns CompanyCreditStatusEnum instance
+ * @returns CmsMetadataKey instance
*/
- public static create(properties?: google.ads.admanager.v1.ICompanyCreditStatusEnum): google.ads.admanager.v1.CompanyCreditStatusEnum;
+ public static create(properties?: google.ads.admanager.v1.ICmsMetadataKey): google.ads.admanager.v1.CmsMetadataKey;
/**
- * Encodes the specified CompanyCreditStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CompanyCreditStatusEnum.verify|verify} messages.
- * @param message CompanyCreditStatusEnum message or plain object to encode
+ * Encodes the specified CmsMetadataKey message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKey.verify|verify} messages.
+ * @param message CmsMetadataKey message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICompanyCreditStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICmsMetadataKey, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CompanyCreditStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CompanyCreditStatusEnum.verify|verify} messages.
- * @param message CompanyCreditStatusEnum message or plain object to encode
+ * Encodes the specified CmsMetadataKey message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKey.verify|verify} messages.
+ * @param message CmsMetadataKey message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICompanyCreditStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICmsMetadataKey, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CompanyCreditStatusEnum message from the specified reader or buffer.
+ * Decodes a CmsMetadataKey message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CompanyCreditStatusEnum
+ * @returns CmsMetadataKey
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CompanyCreditStatusEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CmsMetadataKey;
/**
- * Decodes a CompanyCreditStatusEnum message from the specified reader or buffer, length delimited.
+ * Decodes a CmsMetadataKey message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CompanyCreditStatusEnum
+ * @returns CmsMetadataKey
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CompanyCreditStatusEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CmsMetadataKey;
/**
- * Verifies a CompanyCreditStatusEnum message.
+ * Verifies a CmsMetadataKey message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CompanyCreditStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a CmsMetadataKey message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CompanyCreditStatusEnum
+ * @returns CmsMetadataKey
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CompanyCreditStatusEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CmsMetadataKey;
/**
- * Creates a plain object from a CompanyCreditStatusEnum message. Also converts values to other types if specified.
- * @param message CompanyCreditStatusEnum
+ * Creates a plain object from a CmsMetadataKey message. Also converts values to other types if specified.
+ * @param message CmsMetadataKey
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CompanyCreditStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CmsMetadataKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CompanyCreditStatusEnum to JSON.
+ * Converts this CmsMetadataKey to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CompanyCreditStatusEnum
+ * Gets the default type url for CmsMetadataKey
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CompanyCreditStatusEnum {
-
- /** CompanyCreditStatus enum. */
- enum CompanyCreditStatus {
- COMPANY_CREDIT_STATUS_UNSPECIFIED = 0,
- ACTIVE = 1,
- INACTIVE = 2,
- ON_HOLD = 3,
- STOP = 4,
- BLOCKED = 5
- }
- }
-
- /** Properties of a Company. */
- interface ICompany {
-
- /** Company name */
- name?: (string|null);
-
- /** Company companyId */
- companyId?: (number|Long|string|null);
-
- /** Company displayName */
- displayName?: (string|null);
-
- /** Company type */
- type?: (google.ads.admanager.v1.CompanyTypeEnum.CompanyType|keyof typeof google.ads.admanager.v1.CompanyTypeEnum.CompanyType|null);
-
- /** Company address */
- address?: (string|null);
+ /** Represents a CmsMetadataKeyService */
+ class CmsMetadataKeyService extends $protobuf.rpc.Service {
- /** Company email */
- email?: (string|null);
+ /**
+ * Constructs a new CmsMetadataKeyService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /** Company fax */
- fax?: (string|null);
+ /**
+ * Creates new CmsMetadataKeyService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CmsMetadataKeyService;
- /** Company phone */
- phone?: (string|null);
+ /**
+ * Calls GetCmsMetadataKey.
+ * @param request GetCmsMetadataKeyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CmsMetadataKey
+ */
+ public getCmsMetadataKey(request: google.ads.admanager.v1.IGetCmsMetadataKeyRequest, callback: google.ads.admanager.v1.CmsMetadataKeyService.GetCmsMetadataKeyCallback): void;
- /** Company externalId */
- externalId?: (string|null);
+ /**
+ * Calls GetCmsMetadataKey.
+ * @param request GetCmsMetadataKeyRequest message or plain object
+ * @returns Promise
+ */
+ public getCmsMetadataKey(request: google.ads.admanager.v1.IGetCmsMetadataKeyRequest): Promise;
- /** Company comment */
- comment?: (string|null);
+ /**
+ * Calls ListCmsMetadataKeys.
+ * @param request ListCmsMetadataKeysRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListCmsMetadataKeysResponse
+ */
+ public listCmsMetadataKeys(request: google.ads.admanager.v1.IListCmsMetadataKeysRequest, callback: google.ads.admanager.v1.CmsMetadataKeyService.ListCmsMetadataKeysCallback): void;
- /** Company creditStatus */
- creditStatus?: (google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus|keyof typeof google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus|null);
+ /**
+ * Calls ListCmsMetadataKeys.
+ * @param request ListCmsMetadataKeysRequest message or plain object
+ * @returns Promise
+ */
+ public listCmsMetadataKeys(request: google.ads.admanager.v1.IListCmsMetadataKeysRequest): Promise;
+ }
- /** Company appliedLabels */
- appliedLabels?: (google.ads.admanager.v1.IAppliedLabel[]|null);
+ namespace CmsMetadataKeyService {
- /** Company primaryContact */
- primaryContact?: (string|null);
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CmsMetadataKeyService|getCmsMetadataKey}.
+ * @param error Error, if any
+ * @param [response] CmsMetadataKey
+ */
+ type GetCmsMetadataKeyCallback = (error: (Error|null), response?: google.ads.admanager.v1.CmsMetadataKey) => void;
- /** Company appliedTeams */
- appliedTeams?: (string[]|null);
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CmsMetadataKeyService|listCmsMetadataKeys}.
+ * @param error Error, if any
+ * @param [response] ListCmsMetadataKeysResponse
+ */
+ type ListCmsMetadataKeysCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCmsMetadataKeysResponse) => void;
+ }
- /** Company thirdPartyCompanyId */
- thirdPartyCompanyId?: (number|Long|string|null);
+ /** Properties of a GetCmsMetadataKeyRequest. */
+ interface IGetCmsMetadataKeyRequest {
- /** Company updateTime */
- updateTime?: (google.protobuf.ITimestamp|null);
+ /** GetCmsMetadataKeyRequest name */
+ name?: (string|null);
}
- /** Represents a Company. */
- class Company implements ICompany {
+ /** Represents a GetCmsMetadataKeyRequest. */
+ class GetCmsMetadataKeyRequest implements IGetCmsMetadataKeyRequest {
/**
- * Constructs a new Company.
+ * Constructs a new GetCmsMetadataKeyRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICompany);
+ constructor(properties?: google.ads.admanager.v1.IGetCmsMetadataKeyRequest);
- /** Company name. */
+ /** GetCmsMetadataKeyRequest name. */
public name: string;
- /** Company companyId. */
- public companyId?: (number|Long|string|null);
-
- /** Company displayName. */
- public displayName?: (string|null);
-
- /** Company type. */
- public type?: (google.ads.admanager.v1.CompanyTypeEnum.CompanyType|keyof typeof google.ads.admanager.v1.CompanyTypeEnum.CompanyType|null);
-
- /** Company address. */
- public address?: (string|null);
-
- /** Company email. */
- public email?: (string|null);
-
- /** Company fax. */
- public fax?: (string|null);
-
- /** Company phone. */
- public phone?: (string|null);
-
- /** Company externalId. */
- public externalId?: (string|null);
-
- /** Company comment. */
- public comment?: (string|null);
-
- /** Company creditStatus. */
- public creditStatus?: (google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus|keyof typeof google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus|null);
-
- /** Company appliedLabels. */
- public appliedLabels: google.ads.admanager.v1.IAppliedLabel[];
-
- /** Company primaryContact. */
- public primaryContact?: (string|null);
-
- /** Company appliedTeams. */
- public appliedTeams: string[];
-
- /** Company thirdPartyCompanyId. */
- public thirdPartyCompanyId?: (number|Long|string|null);
-
- /** Company updateTime. */
- public updateTime?: (google.protobuf.ITimestamp|null);
-
/**
- * Creates a new Company instance using the specified properties.
+ * Creates a new GetCmsMetadataKeyRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns Company instance
+ * @returns GetCmsMetadataKeyRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICompany): google.ads.admanager.v1.Company;
+ public static create(properties?: google.ads.admanager.v1.IGetCmsMetadataKeyRequest): google.ads.admanager.v1.GetCmsMetadataKeyRequest;
/**
- * Encodes the specified Company message. Does not implicitly {@link google.ads.admanager.v1.Company.verify|verify} messages.
- * @param message Company message or plain object to encode
+ * Encodes the specified GetCmsMetadataKeyRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCmsMetadataKeyRequest.verify|verify} messages.
+ * @param message GetCmsMetadataKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICompany, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetCmsMetadataKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified Company message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Company.verify|verify} messages.
- * @param message Company message or plain object to encode
+ * Encodes the specified GetCmsMetadataKeyRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCmsMetadataKeyRequest.verify|verify} messages.
+ * @param message GetCmsMetadataKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICompany, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetCmsMetadataKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a Company message from the specified reader or buffer.
+ * Decodes a GetCmsMetadataKeyRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns Company
+ * @returns GetCmsMetadataKeyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Company;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCmsMetadataKeyRequest;
/**
- * Decodes a Company message from the specified reader or buffer, length delimited.
+ * Decodes a GetCmsMetadataKeyRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns Company
+ * @returns GetCmsMetadataKeyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Company;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCmsMetadataKeyRequest;
/**
- * Verifies a Company message.
+ * Verifies a GetCmsMetadataKeyRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a Company message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetCmsMetadataKeyRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns Company
+ * @returns GetCmsMetadataKeyRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Company;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCmsMetadataKeyRequest;
/**
- * Creates a plain object from a Company message. Also converts values to other types if specified.
- * @param message Company
+ * Creates a plain object from a GetCmsMetadataKeyRequest message. Also converts values to other types if specified.
+ * @param message GetCmsMetadataKeyRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.Company, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetCmsMetadataKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this Company to JSON.
+ * Converts this GetCmsMetadataKeyRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for Company
+ * Gets the default type url for GetCmsMetadataKeyRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a CompanyService */
- class CompanyService extends $protobuf.rpc.Service {
-
- /**
- * Constructs a new CompanyService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- */
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+ /** Properties of a ListCmsMetadataKeysRequest. */
+ interface IListCmsMetadataKeysRequest {
- /**
- * Creates new CompanyService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
- */
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CompanyService;
+ /** ListCmsMetadataKeysRequest parent */
+ parent?: (string|null);
- /**
- * Calls GetCompany.
- * @param request GetCompanyRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Company
- */
- public getCompany(request: google.ads.admanager.v1.IGetCompanyRequest, callback: google.ads.admanager.v1.CompanyService.GetCompanyCallback): void;
-
- /**
- * Calls GetCompany.
- * @param request GetCompanyRequest message or plain object
- * @returns Promise
- */
- public getCompany(request: google.ads.admanager.v1.IGetCompanyRequest): Promise;
-
- /**
- * Calls ListCompanies.
- * @param request ListCompaniesRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListCompaniesResponse
- */
- public listCompanies(request: google.ads.admanager.v1.IListCompaniesRequest, callback: google.ads.admanager.v1.CompanyService.ListCompaniesCallback): void;
-
- /**
- * Calls ListCompanies.
- * @param request ListCompaniesRequest message or plain object
- * @returns Promise
- */
- public listCompanies(request: google.ads.admanager.v1.IListCompaniesRequest): Promise;
- }
-
- namespace CompanyService {
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.CompanyService|getCompany}.
- * @param error Error, if any
- * @param [response] Company
- */
- type GetCompanyCallback = (error: (Error|null), response?: google.ads.admanager.v1.Company) => void;
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.CompanyService|listCompanies}.
- * @param error Error, if any
- * @param [response] ListCompaniesResponse
- */
- type ListCompaniesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCompaniesResponse) => void;
- }
-
- /** Properties of a GetCompanyRequest. */
- interface IGetCompanyRequest {
-
- /** GetCompanyRequest name */
- name?: (string|null);
- }
-
- /** Represents a GetCompanyRequest. */
- class GetCompanyRequest implements IGetCompanyRequest {
-
- /**
- * Constructs a new GetCompanyRequest.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.IGetCompanyRequest);
-
- /** GetCompanyRequest name. */
- public name: string;
-
- /**
- * Creates a new GetCompanyRequest instance using the specified properties.
- * @param [properties] Properties to set
- * @returns GetCompanyRequest instance
- */
- public static create(properties?: google.ads.admanager.v1.IGetCompanyRequest): google.ads.admanager.v1.GetCompanyRequest;
-
- /**
- * Encodes the specified GetCompanyRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCompanyRequest.verify|verify} messages.
- * @param message GetCompanyRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.ads.admanager.v1.IGetCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
-
- /**
- * Encodes the specified GetCompanyRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCompanyRequest.verify|verify} messages.
- * @param message GetCompanyRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.IGetCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
-
- /**
- * Decodes a GetCompanyRequest message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns GetCompanyRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCompanyRequest;
-
- /**
- * Decodes a GetCompanyRequest message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns GetCompanyRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCompanyRequest;
-
- /**
- * Verifies a GetCompanyRequest message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
-
- /**
- * Creates a GetCompanyRequest message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns GetCompanyRequest
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCompanyRequest;
-
- /**
- * Creates a plain object from a GetCompanyRequest message. Also converts values to other types if specified.
- * @param message GetCompanyRequest
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.GetCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
-
- /**
- * Converts this GetCompanyRequest to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
-
- /**
- * Gets the default type url for GetCompanyRequest
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
-
- /** Properties of a ListCompaniesRequest. */
- interface IListCompaniesRequest {
-
- /** ListCompaniesRequest parent */
- parent?: (string|null);
-
- /** ListCompaniesRequest pageSize */
+ /** ListCmsMetadataKeysRequest pageSize */
pageSize?: (number|null);
- /** ListCompaniesRequest pageToken */
+ /** ListCmsMetadataKeysRequest pageToken */
pageToken?: (string|null);
- /** ListCompaniesRequest filter */
+ /** ListCmsMetadataKeysRequest filter */
filter?: (string|null);
- /** ListCompaniesRequest orderBy */
+ /** ListCmsMetadataKeysRequest orderBy */
orderBy?: (string|null);
- /** ListCompaniesRequest skip */
+ /** ListCmsMetadataKeysRequest skip */
skip?: (number|null);
}
- /** Represents a ListCompaniesRequest. */
- class ListCompaniesRequest implements IListCompaniesRequest {
+ /** Represents a ListCmsMetadataKeysRequest. */
+ class ListCmsMetadataKeysRequest implements IListCmsMetadataKeysRequest {
/**
- * Constructs a new ListCompaniesRequest.
+ * Constructs a new ListCmsMetadataKeysRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCompaniesRequest);
+ constructor(properties?: google.ads.admanager.v1.IListCmsMetadataKeysRequest);
- /** ListCompaniesRequest parent. */
+ /** ListCmsMetadataKeysRequest parent. */
public parent: string;
- /** ListCompaniesRequest pageSize. */
+ /** ListCmsMetadataKeysRequest pageSize. */
public pageSize: number;
- /** ListCompaniesRequest pageToken. */
+ /** ListCmsMetadataKeysRequest pageToken. */
public pageToken: string;
- /** ListCompaniesRequest filter. */
+ /** ListCmsMetadataKeysRequest filter. */
public filter: string;
- /** ListCompaniesRequest orderBy. */
+ /** ListCmsMetadataKeysRequest orderBy. */
public orderBy: string;
- /** ListCompaniesRequest skip. */
+ /** ListCmsMetadataKeysRequest skip. */
public skip: number;
/**
- * Creates a new ListCompaniesRequest instance using the specified properties.
+ * Creates a new ListCmsMetadataKeysRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCompaniesRequest instance
+ * @returns ListCmsMetadataKeysRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCompaniesRequest): google.ads.admanager.v1.ListCompaniesRequest;
+ public static create(properties?: google.ads.admanager.v1.IListCmsMetadataKeysRequest): google.ads.admanager.v1.ListCmsMetadataKeysRequest;
/**
- * Encodes the specified ListCompaniesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCompaniesRequest.verify|verify} messages.
- * @param message ListCompaniesRequest message or plain object to encode
+ * Encodes the specified ListCmsMetadataKeysRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataKeysRequest.verify|verify} messages.
+ * @param message ListCmsMetadataKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCompaniesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCmsMetadataKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCompaniesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCompaniesRequest.verify|verify} messages.
- * @param message ListCompaniesRequest message or plain object to encode
+ * Encodes the specified ListCmsMetadataKeysRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataKeysRequest.verify|verify} messages.
+ * @param message ListCmsMetadataKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCompaniesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCmsMetadataKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCompaniesRequest message from the specified reader or buffer.
+ * Decodes a ListCmsMetadataKeysRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCompaniesRequest
+ * @returns ListCmsMetadataKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCompaniesRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCmsMetadataKeysRequest;
/**
- * Decodes a ListCompaniesRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListCmsMetadataKeysRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCompaniesRequest
+ * @returns ListCmsMetadataKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCompaniesRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCmsMetadataKeysRequest;
/**
- * Verifies a ListCompaniesRequest message.
+ * Verifies a ListCmsMetadataKeysRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCompaniesRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCmsMetadataKeysRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCompaniesRequest
+ * @returns ListCmsMetadataKeysRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCompaniesRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCmsMetadataKeysRequest;
/**
- * Creates a plain object from a ListCompaniesRequest message. Also converts values to other types if specified.
- * @param message ListCompaniesRequest
+ * Creates a plain object from a ListCmsMetadataKeysRequest message. Also converts values to other types if specified.
+ * @param message ListCmsMetadataKeysRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCompaniesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCmsMetadataKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCompaniesRequest to JSON.
+ * Converts this ListCmsMetadataKeysRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCompaniesRequest
+ * Gets the default type url for ListCmsMetadataKeysRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCompaniesResponse. */
- interface IListCompaniesResponse {
+ /** Properties of a ListCmsMetadataKeysResponse. */
+ interface IListCmsMetadataKeysResponse {
- /** ListCompaniesResponse companies */
- companies?: (google.ads.admanager.v1.ICompany[]|null);
+ /** ListCmsMetadataKeysResponse cmsMetadataKeys */
+ cmsMetadataKeys?: (google.ads.admanager.v1.ICmsMetadataKey[]|null);
- /** ListCompaniesResponse nextPageToken */
+ /** ListCmsMetadataKeysResponse nextPageToken */
nextPageToken?: (string|null);
- /** ListCompaniesResponse totalSize */
+ /** ListCmsMetadataKeysResponse totalSize */
totalSize?: (number|null);
}
- /** Represents a ListCompaniesResponse. */
- class ListCompaniesResponse implements IListCompaniesResponse {
+ /** Represents a ListCmsMetadataKeysResponse. */
+ class ListCmsMetadataKeysResponse implements IListCmsMetadataKeysResponse {
/**
- * Constructs a new ListCompaniesResponse.
+ * Constructs a new ListCmsMetadataKeysResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCompaniesResponse);
+ constructor(properties?: google.ads.admanager.v1.IListCmsMetadataKeysResponse);
- /** ListCompaniesResponse companies. */
- public companies: google.ads.admanager.v1.ICompany[];
+ /** ListCmsMetadataKeysResponse cmsMetadataKeys. */
+ public cmsMetadataKeys: google.ads.admanager.v1.ICmsMetadataKey[];
- /** ListCompaniesResponse nextPageToken. */
+ /** ListCmsMetadataKeysResponse nextPageToken. */
public nextPageToken: string;
- /** ListCompaniesResponse totalSize. */
+ /** ListCmsMetadataKeysResponse totalSize. */
public totalSize: number;
/**
- * Creates a new ListCompaniesResponse instance using the specified properties.
+ * Creates a new ListCmsMetadataKeysResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCompaniesResponse instance
+ * @returns ListCmsMetadataKeysResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCompaniesResponse): google.ads.admanager.v1.ListCompaniesResponse;
+ public static create(properties?: google.ads.admanager.v1.IListCmsMetadataKeysResponse): google.ads.admanager.v1.ListCmsMetadataKeysResponse;
/**
- * Encodes the specified ListCompaniesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCompaniesResponse.verify|verify} messages.
- * @param message ListCompaniesResponse message or plain object to encode
+ * Encodes the specified ListCmsMetadataKeysResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataKeysResponse.verify|verify} messages.
+ * @param message ListCmsMetadataKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCompaniesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCmsMetadataKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCompaniesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCompaniesResponse.verify|verify} messages.
- * @param message ListCompaniesResponse message or plain object to encode
+ * Encodes the specified ListCmsMetadataKeysResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataKeysResponse.verify|verify} messages.
+ * @param message ListCmsMetadataKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCompaniesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCmsMetadataKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCompaniesResponse message from the specified reader or buffer.
+ * Decodes a ListCmsMetadataKeysResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCompaniesResponse
+ * @returns ListCmsMetadataKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCompaniesResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCmsMetadataKeysResponse;
/**
- * Decodes a ListCompaniesResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListCmsMetadataKeysResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCompaniesResponse
+ * @returns ListCmsMetadataKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCompaniesResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCmsMetadataKeysResponse;
/**
- * Verifies a ListCompaniesResponse message.
+ * Verifies a ListCmsMetadataKeysResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCompaniesResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCmsMetadataKeysResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCompaniesResponse
+ * @returns ListCmsMetadataKeysResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCompaniesResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCmsMetadataKeysResponse;
/**
- * Creates a plain object from a ListCompaniesResponse message. Also converts values to other types if specified.
- * @param message ListCompaniesResponse
+ * Creates a plain object from a ListCmsMetadataKeysResponse message. Also converts values to other types if specified.
+ * @param message ListCmsMetadataKeysResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCompaniesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCmsMetadataKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCompaniesResponse to JSON.
+ * Converts this ListCmsMetadataKeysResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCompaniesResponse
+ * Gets the default type url for ListCmsMetadataKeysResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ContactStatusEnum. */
- interface IContactStatusEnum {
+ /** Properties of a CmsMetadataValueStatusEnum. */
+ interface ICmsMetadataValueStatusEnum {
}
- /** Represents a ContactStatusEnum. */
- class ContactStatusEnum implements IContactStatusEnum {
+ /** Represents a CmsMetadataValueStatusEnum. */
+ class CmsMetadataValueStatusEnum implements ICmsMetadataValueStatusEnum {
/**
- * Constructs a new ContactStatusEnum.
+ * Constructs a new CmsMetadataValueStatusEnum.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IContactStatusEnum);
+ constructor(properties?: google.ads.admanager.v1.ICmsMetadataValueStatusEnum);
/**
- * Creates a new ContactStatusEnum instance using the specified properties.
+ * Creates a new CmsMetadataValueStatusEnum instance using the specified properties.
* @param [properties] Properties to set
- * @returns ContactStatusEnum instance
+ * @returns CmsMetadataValueStatusEnum instance
*/
- public static create(properties?: google.ads.admanager.v1.IContactStatusEnum): google.ads.admanager.v1.ContactStatusEnum;
+ public static create(properties?: google.ads.admanager.v1.ICmsMetadataValueStatusEnum): google.ads.admanager.v1.CmsMetadataValueStatusEnum;
/**
- * Encodes the specified ContactStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.ContactStatusEnum.verify|verify} messages.
- * @param message ContactStatusEnum message or plain object to encode
+ * Encodes the specified CmsMetadataValueStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataValueStatusEnum.verify|verify} messages.
+ * @param message CmsMetadataValueStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IContactStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICmsMetadataValueStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ContactStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ContactStatusEnum.verify|verify} messages.
- * @param message ContactStatusEnum message or plain object to encode
+ * Encodes the specified CmsMetadataValueStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataValueStatusEnum.verify|verify} messages.
+ * @param message CmsMetadataValueStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IContactStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICmsMetadataValueStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ContactStatusEnum message from the specified reader or buffer.
+ * Decodes a CmsMetadataValueStatusEnum message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ContactStatusEnum
+ * @returns CmsMetadataValueStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ContactStatusEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CmsMetadataValueStatusEnum;
/**
- * Decodes a ContactStatusEnum message from the specified reader or buffer, length delimited.
+ * Decodes a CmsMetadataValueStatusEnum message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ContactStatusEnum
+ * @returns CmsMetadataValueStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ContactStatusEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CmsMetadataValueStatusEnum;
/**
- * Verifies a ContactStatusEnum message.
+ * Verifies a CmsMetadataValueStatusEnum message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ContactStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a CmsMetadataValueStatusEnum message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ContactStatusEnum
+ * @returns CmsMetadataValueStatusEnum
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ContactStatusEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CmsMetadataValueStatusEnum;
/**
- * Creates a plain object from a ContactStatusEnum message. Also converts values to other types if specified.
- * @param message ContactStatusEnum
+ * Creates a plain object from a CmsMetadataValueStatusEnum message. Also converts values to other types if specified.
+ * @param message CmsMetadataValueStatusEnum
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ContactStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CmsMetadataValueStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ContactStatusEnum to JSON.
+ * Converts this CmsMetadataValueStatusEnum to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ContactStatusEnum
+ * Gets the default type url for CmsMetadataValueStatusEnum
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace ContactStatusEnum {
+ namespace CmsMetadataValueStatusEnum {
- /** ContactStatus enum. */
- enum ContactStatus {
- CONTACT_STATUS_UNSPECIFIED = 0,
- INVITE_CANCELED = 1,
- INVITE_EXPIRED = 2,
- INVITE_PENDING = 3,
- UNINVITED = 4,
- USER_ACTIVE = 5,
- USER_DISABLED = 6
+ /** CmsMetadataValueStatus enum. */
+ enum CmsMetadataValueStatus {
+ CMS_METADATA_VALUE_STATUS_UNSPECIFIED = 0,
+ ACTIVE = 1,
+ ARCHIVED = 2,
+ INACTIVE = 3
}
}
- /** Properties of a Contact. */
- interface IContact {
+ /** Properties of a CmsMetadataValue. */
+ interface ICmsMetadataValue {
- /** Contact name */
+ /** CmsMetadataValue name */
name?: (string|null);
- /** Contact displayName */
+ /** CmsMetadataValue displayName */
displayName?: (string|null);
- /** Contact company */
- company?: (string|null);
-
- /** Contact status */
- status?: (google.ads.admanager.v1.ContactStatusEnum.ContactStatus|keyof typeof google.ads.admanager.v1.ContactStatusEnum.ContactStatus|null);
-
- /** Contact address */
- address?: (string|null);
-
- /** Contact cellPhone */
- cellPhone?: (string|null);
-
- /** Contact comment */
- comment?: (string|null);
-
- /** Contact email */
- email?: (string|null);
-
- /** Contact fax */
- fax?: (string|null);
-
- /** Contact title */
- title?: (string|null);
+ /** CmsMetadataValue key */
+ key?: (string|null);
- /** Contact workPhone */
- workPhone?: (string|null);
+ /** CmsMetadataValue status */
+ status?: (google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus|keyof typeof google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus|null);
}
- /** Represents a Contact. */
- class Contact implements IContact {
+ /** Represents a CmsMetadataValue. */
+ class CmsMetadataValue implements ICmsMetadataValue {
/**
- * Constructs a new Contact.
+ * Constructs a new CmsMetadataValue.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IContact);
+ constructor(properties?: google.ads.admanager.v1.ICmsMetadataValue);
- /** Contact name. */
+ /** CmsMetadataValue name. */
public name: string;
- /** Contact displayName. */
- public displayName?: (string|null);
-
- /** Contact company. */
- public company?: (string|null);
-
- /** Contact status. */
- public status?: (google.ads.admanager.v1.ContactStatusEnum.ContactStatus|keyof typeof google.ads.admanager.v1.ContactStatusEnum.ContactStatus|null);
-
- /** Contact address. */
- public address?: (string|null);
-
- /** Contact cellPhone. */
- public cellPhone?: (string|null);
-
- /** Contact comment. */
- public comment?: (string|null);
-
- /** Contact email. */
- public email?: (string|null);
-
- /** Contact fax. */
- public fax?: (string|null);
+ /** CmsMetadataValue displayName. */
+ public displayName: string;
- /** Contact title. */
- public title?: (string|null);
+ /** CmsMetadataValue key. */
+ public key: string;
- /** Contact workPhone. */
- public workPhone?: (string|null);
+ /** CmsMetadataValue status. */
+ public status: (google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus|keyof typeof google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus);
/**
- * Creates a new Contact instance using the specified properties.
+ * Creates a new CmsMetadataValue instance using the specified properties.
* @param [properties] Properties to set
- * @returns Contact instance
+ * @returns CmsMetadataValue instance
*/
- public static create(properties?: google.ads.admanager.v1.IContact): google.ads.admanager.v1.Contact;
+ public static create(properties?: google.ads.admanager.v1.ICmsMetadataValue): google.ads.admanager.v1.CmsMetadataValue;
/**
- * Encodes the specified Contact message. Does not implicitly {@link google.ads.admanager.v1.Contact.verify|verify} messages.
- * @param message Contact message or plain object to encode
+ * Encodes the specified CmsMetadataValue message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataValue.verify|verify} messages.
+ * @param message CmsMetadataValue message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IContact, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICmsMetadataValue, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified Contact message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Contact.verify|verify} messages.
- * @param message Contact message or plain object to encode
+ * Encodes the specified CmsMetadataValue message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataValue.verify|verify} messages.
+ * @param message CmsMetadataValue message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IContact, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICmsMetadataValue, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a Contact message from the specified reader or buffer.
+ * Decodes a CmsMetadataValue message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns Contact
+ * @returns CmsMetadataValue
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Contact;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CmsMetadataValue;
/**
- * Decodes a Contact message from the specified reader or buffer, length delimited.
+ * Decodes a CmsMetadataValue message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns Contact
+ * @returns CmsMetadataValue
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Contact;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CmsMetadataValue;
/**
- * Verifies a Contact message.
+ * Verifies a CmsMetadataValue message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a Contact message from a plain object. Also converts values to their respective internal types.
+ * Creates a CmsMetadataValue message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns Contact
+ * @returns CmsMetadataValue
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Contact;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CmsMetadataValue;
/**
- * Creates a plain object from a Contact message. Also converts values to other types if specified.
- * @param message Contact
+ * Creates a plain object from a CmsMetadataValue message. Also converts values to other types if specified.
+ * @param message CmsMetadataValue
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.Contact, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CmsMetadataValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this Contact to JSON.
+ * Converts this CmsMetadataValue to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for Contact
+ * Gets the default type url for CmsMetadataValue
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a ContactService */
- class ContactService extends $protobuf.rpc.Service {
+ /** Represents a CmsMetadataValueService */
+ class CmsMetadataValueService extends $protobuf.rpc.Service {
/**
- * Constructs a new ContactService service.
+ * Constructs a new CmsMetadataValueService service.
* @param rpcImpl RPC implementation
* @param [requestDelimited=false] Whether requests are length-delimited
* @param [responseDelimited=false] Whether responses are length-delimited
@@ -9290,1191 +9170,1454 @@ export namespace google {
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
/**
- * Creates new ContactService service using the specified rpc implementation.
+ * Creates new CmsMetadataValueService service using the specified rpc implementation.
* @param rpcImpl RPC implementation
* @param [requestDelimited=false] Whether requests are length-delimited
* @param [responseDelimited=false] Whether responses are length-delimited
* @returns RPC service. Useful where requests and/or responses are streamed.
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContactService;
-
- /**
- * Calls GetContact.
- * @param request GetContactRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Contact
- */
- public getContact(request: google.ads.admanager.v1.IGetContactRequest, callback: google.ads.admanager.v1.ContactService.GetContactCallback): void;
-
- /**
- * Calls GetContact.
- * @param request GetContactRequest message or plain object
- * @returns Promise
- */
- public getContact(request: google.ads.admanager.v1.IGetContactRequest): Promise;
-
- /**
- * Calls ListContacts.
- * @param request ListContactsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListContactsResponse
- */
- public listContacts(request: google.ads.admanager.v1.IListContactsRequest, callback: google.ads.admanager.v1.ContactService.ListContactsCallback): void;
-
- /**
- * Calls ListContacts.
- * @param request ListContactsRequest message or plain object
- * @returns Promise
- */
- public listContacts(request: google.ads.admanager.v1.IListContactsRequest): Promise;
-
- /**
- * Calls CreateContact.
- * @param request CreateContactRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Contact
- */
- public createContact(request: google.ads.admanager.v1.ICreateContactRequest, callback: google.ads.admanager.v1.ContactService.CreateContactCallback): void;
-
- /**
- * Calls CreateContact.
- * @param request CreateContactRequest message or plain object
- * @returns Promise
- */
- public createContact(request: google.ads.admanager.v1.ICreateContactRequest): Promise;
-
- /**
- * Calls BatchCreateContacts.
- * @param request BatchCreateContactsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and BatchCreateContactsResponse
- */
- public batchCreateContacts(request: google.ads.admanager.v1.IBatchCreateContactsRequest, callback: google.ads.admanager.v1.ContactService.BatchCreateContactsCallback): void;
-
- /**
- * Calls BatchCreateContacts.
- * @param request BatchCreateContactsRequest message or plain object
- * @returns Promise
- */
- public batchCreateContacts(request: google.ads.admanager.v1.IBatchCreateContactsRequest): Promise;
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CmsMetadataValueService;
/**
- * Calls UpdateContact.
- * @param request UpdateContactRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Contact
+ * Calls GetCmsMetadataValue.
+ * @param request GetCmsMetadataValueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CmsMetadataValue
*/
- public updateContact(request: google.ads.admanager.v1.IUpdateContactRequest, callback: google.ads.admanager.v1.ContactService.UpdateContactCallback): void;
+ public getCmsMetadataValue(request: google.ads.admanager.v1.IGetCmsMetadataValueRequest, callback: google.ads.admanager.v1.CmsMetadataValueService.GetCmsMetadataValueCallback): void;
/**
- * Calls UpdateContact.
- * @param request UpdateContactRequest message or plain object
+ * Calls GetCmsMetadataValue.
+ * @param request GetCmsMetadataValueRequest message or plain object
* @returns Promise
*/
- public updateContact(request: google.ads.admanager.v1.IUpdateContactRequest): Promise;
+ public getCmsMetadataValue(request: google.ads.admanager.v1.IGetCmsMetadataValueRequest): Promise;
/**
- * Calls BatchUpdateContacts.
- * @param request BatchUpdateContactsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and BatchUpdateContactsResponse
+ * Calls ListCmsMetadataValues.
+ * @param request ListCmsMetadataValuesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListCmsMetadataValuesResponse
*/
- public batchUpdateContacts(request: google.ads.admanager.v1.IBatchUpdateContactsRequest, callback: google.ads.admanager.v1.ContactService.BatchUpdateContactsCallback): void;
+ public listCmsMetadataValues(request: google.ads.admanager.v1.IListCmsMetadataValuesRequest, callback: google.ads.admanager.v1.CmsMetadataValueService.ListCmsMetadataValuesCallback): void;
/**
- * Calls BatchUpdateContacts.
- * @param request BatchUpdateContactsRequest message or plain object
+ * Calls ListCmsMetadataValues.
+ * @param request ListCmsMetadataValuesRequest message or plain object
* @returns Promise
*/
- public batchUpdateContacts(request: google.ads.admanager.v1.IBatchUpdateContactsRequest): Promise;
+ public listCmsMetadataValues(request: google.ads.admanager.v1.IListCmsMetadataValuesRequest): Promise;
}
- namespace ContactService {
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.ContactService|getContact}.
- * @param error Error, if any
- * @param [response] Contact
- */
- type GetContactCallback = (error: (Error|null), response?: google.ads.admanager.v1.Contact) => void;
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.ContactService|listContacts}.
- * @param error Error, if any
- * @param [response] ListContactsResponse
- */
- type ListContactsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListContactsResponse) => void;
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.ContactService|createContact}.
- * @param error Error, if any
- * @param [response] Contact
- */
- type CreateContactCallback = (error: (Error|null), response?: google.ads.admanager.v1.Contact) => void;
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.ContactService|batchCreateContacts}.
- * @param error Error, if any
- * @param [response] BatchCreateContactsResponse
- */
- type BatchCreateContactsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchCreateContactsResponse) => void;
+ namespace CmsMetadataValueService {
/**
- * Callback as used by {@link google.ads.admanager.v1.ContactService|updateContact}.
+ * Callback as used by {@link google.ads.admanager.v1.CmsMetadataValueService|getCmsMetadataValue}.
* @param error Error, if any
- * @param [response] Contact
+ * @param [response] CmsMetadataValue
*/
- type UpdateContactCallback = (error: (Error|null), response?: google.ads.admanager.v1.Contact) => void;
+ type GetCmsMetadataValueCallback = (error: (Error|null), response?: google.ads.admanager.v1.CmsMetadataValue) => void;
/**
- * Callback as used by {@link google.ads.admanager.v1.ContactService|batchUpdateContacts}.
+ * Callback as used by {@link google.ads.admanager.v1.CmsMetadataValueService|listCmsMetadataValues}.
* @param error Error, if any
- * @param [response] BatchUpdateContactsResponse
+ * @param [response] ListCmsMetadataValuesResponse
*/
- type BatchUpdateContactsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchUpdateContactsResponse) => void;
+ type ListCmsMetadataValuesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCmsMetadataValuesResponse) => void;
}
- /** Properties of a GetContactRequest. */
- interface IGetContactRequest {
+ /** Properties of a GetCmsMetadataValueRequest. */
+ interface IGetCmsMetadataValueRequest {
- /** GetContactRequest name */
+ /** GetCmsMetadataValueRequest name */
name?: (string|null);
}
- /** Represents a GetContactRequest. */
- class GetContactRequest implements IGetContactRequest {
+ /** Represents a GetCmsMetadataValueRequest. */
+ class GetCmsMetadataValueRequest implements IGetCmsMetadataValueRequest {
/**
- * Constructs a new GetContactRequest.
+ * Constructs a new GetCmsMetadataValueRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetContactRequest);
+ constructor(properties?: google.ads.admanager.v1.IGetCmsMetadataValueRequest);
- /** GetContactRequest name. */
+ /** GetCmsMetadataValueRequest name. */
public name: string;
/**
- * Creates a new GetContactRequest instance using the specified properties.
+ * Creates a new GetCmsMetadataValueRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetContactRequest instance
+ * @returns GetCmsMetadataValueRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetContactRequest): google.ads.admanager.v1.GetContactRequest;
+ public static create(properties?: google.ads.admanager.v1.IGetCmsMetadataValueRequest): google.ads.admanager.v1.GetCmsMetadataValueRequest;
/**
- * Encodes the specified GetContactRequest message. Does not implicitly {@link google.ads.admanager.v1.GetContactRequest.verify|verify} messages.
- * @param message GetContactRequest message or plain object to encode
+ * Encodes the specified GetCmsMetadataValueRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCmsMetadataValueRequest.verify|verify} messages.
+ * @param message GetCmsMetadataValueRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetCmsMetadataValueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetContactRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetContactRequest.verify|verify} messages.
- * @param message GetContactRequest message or plain object to encode
+ * Encodes the specified GetCmsMetadataValueRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCmsMetadataValueRequest.verify|verify} messages.
+ * @param message GetCmsMetadataValueRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetCmsMetadataValueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetContactRequest message from the specified reader or buffer.
+ * Decodes a GetCmsMetadataValueRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetContactRequest
+ * @returns GetCmsMetadataValueRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetContactRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCmsMetadataValueRequest;
/**
- * Decodes a GetContactRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetCmsMetadataValueRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetContactRequest
+ * @returns GetCmsMetadataValueRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetContactRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCmsMetadataValueRequest;
/**
- * Verifies a GetContactRequest message.
+ * Verifies a GetCmsMetadataValueRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetContactRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetCmsMetadataValueRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetContactRequest
+ * @returns GetCmsMetadataValueRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetContactRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCmsMetadataValueRequest;
/**
- * Creates a plain object from a GetContactRequest message. Also converts values to other types if specified.
- * @param message GetContactRequest
+ * Creates a plain object from a GetCmsMetadataValueRequest message. Also converts values to other types if specified.
+ * @param message GetCmsMetadataValueRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetContactRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetCmsMetadataValueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetContactRequest to JSON.
+ * Converts this GetCmsMetadataValueRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetContactRequest
+ * Gets the default type url for GetCmsMetadataValueRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListContactsRequest. */
- interface IListContactsRequest {
+ /** Properties of a ListCmsMetadataValuesRequest. */
+ interface IListCmsMetadataValuesRequest {
- /** ListContactsRequest parent */
+ /** ListCmsMetadataValuesRequest parent */
parent?: (string|null);
- /** ListContactsRequest pageSize */
+ /** ListCmsMetadataValuesRequest pageSize */
pageSize?: (number|null);
- /** ListContactsRequest pageToken */
+ /** ListCmsMetadataValuesRequest pageToken */
pageToken?: (string|null);
- /** ListContactsRequest filter */
+ /** ListCmsMetadataValuesRequest filter */
filter?: (string|null);
- /** ListContactsRequest orderBy */
+ /** ListCmsMetadataValuesRequest orderBy */
orderBy?: (string|null);
- /** ListContactsRequest skip */
+ /** ListCmsMetadataValuesRequest skip */
skip?: (number|null);
}
- /** Represents a ListContactsRequest. */
- class ListContactsRequest implements IListContactsRequest {
+ /** Represents a ListCmsMetadataValuesRequest. */
+ class ListCmsMetadataValuesRequest implements IListCmsMetadataValuesRequest {
/**
- * Constructs a new ListContactsRequest.
+ * Constructs a new ListCmsMetadataValuesRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListContactsRequest);
+ constructor(properties?: google.ads.admanager.v1.IListCmsMetadataValuesRequest);
- /** ListContactsRequest parent. */
+ /** ListCmsMetadataValuesRequest parent. */
public parent: string;
- /** ListContactsRequest pageSize. */
+ /** ListCmsMetadataValuesRequest pageSize. */
public pageSize: number;
- /** ListContactsRequest pageToken. */
+ /** ListCmsMetadataValuesRequest pageToken. */
public pageToken: string;
- /** ListContactsRequest filter. */
+ /** ListCmsMetadataValuesRequest filter. */
public filter: string;
- /** ListContactsRequest orderBy. */
+ /** ListCmsMetadataValuesRequest orderBy. */
public orderBy: string;
- /** ListContactsRequest skip. */
+ /** ListCmsMetadataValuesRequest skip. */
public skip: number;
/**
- * Creates a new ListContactsRequest instance using the specified properties.
+ * Creates a new ListCmsMetadataValuesRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListContactsRequest instance
+ * @returns ListCmsMetadataValuesRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListContactsRequest): google.ads.admanager.v1.ListContactsRequest;
+ public static create(properties?: google.ads.admanager.v1.IListCmsMetadataValuesRequest): google.ads.admanager.v1.ListCmsMetadataValuesRequest;
/**
- * Encodes the specified ListContactsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListContactsRequest.verify|verify} messages.
- * @param message ListContactsRequest message or plain object to encode
+ * Encodes the specified ListCmsMetadataValuesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataValuesRequest.verify|verify} messages.
+ * @param message ListCmsMetadataValuesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCmsMetadataValuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListContactsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContactsRequest.verify|verify} messages.
- * @param message ListContactsRequest message or plain object to encode
+ * Encodes the specified ListCmsMetadataValuesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataValuesRequest.verify|verify} messages.
+ * @param message ListCmsMetadataValuesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCmsMetadataValuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListContactsRequest message from the specified reader or buffer.
+ * Decodes a ListCmsMetadataValuesRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListContactsRequest
+ * @returns ListCmsMetadataValuesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContactsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCmsMetadataValuesRequest;
/**
- * Decodes a ListContactsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListCmsMetadataValuesRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListContactsRequest
+ * @returns ListCmsMetadataValuesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContactsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCmsMetadataValuesRequest;
/**
- * Verifies a ListContactsRequest message.
+ * Verifies a ListCmsMetadataValuesRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListContactsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCmsMetadataValuesRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListContactsRequest
+ * @returns ListCmsMetadataValuesRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContactsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCmsMetadataValuesRequest;
/**
- * Creates a plain object from a ListContactsRequest message. Also converts values to other types if specified.
- * @param message ListContactsRequest
+ * Creates a plain object from a ListCmsMetadataValuesRequest message. Also converts values to other types if specified.
+ * @param message ListCmsMetadataValuesRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListContactsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCmsMetadataValuesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListContactsRequest to JSON.
+ * Converts this ListCmsMetadataValuesRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListContactsRequest
+ * Gets the default type url for ListCmsMetadataValuesRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListContactsResponse. */
- interface IListContactsResponse {
+ /** Properties of a ListCmsMetadataValuesResponse. */
+ interface IListCmsMetadataValuesResponse {
- /** ListContactsResponse contacts */
- contacts?: (google.ads.admanager.v1.IContact[]|null);
+ /** ListCmsMetadataValuesResponse cmsMetadataValues */
+ cmsMetadataValues?: (google.ads.admanager.v1.ICmsMetadataValue[]|null);
- /** ListContactsResponse nextPageToken */
+ /** ListCmsMetadataValuesResponse nextPageToken */
nextPageToken?: (string|null);
- /** ListContactsResponse totalSize */
+ /** ListCmsMetadataValuesResponse totalSize */
totalSize?: (number|null);
}
- /** Represents a ListContactsResponse. */
- class ListContactsResponse implements IListContactsResponse {
+ /** Represents a ListCmsMetadataValuesResponse. */
+ class ListCmsMetadataValuesResponse implements IListCmsMetadataValuesResponse {
/**
- * Constructs a new ListContactsResponse.
+ * Constructs a new ListCmsMetadataValuesResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListContactsResponse);
+ constructor(properties?: google.ads.admanager.v1.IListCmsMetadataValuesResponse);
- /** ListContactsResponse contacts. */
- public contacts: google.ads.admanager.v1.IContact[];
+ /** ListCmsMetadataValuesResponse cmsMetadataValues. */
+ public cmsMetadataValues: google.ads.admanager.v1.ICmsMetadataValue[];
- /** ListContactsResponse nextPageToken. */
+ /** ListCmsMetadataValuesResponse nextPageToken. */
public nextPageToken: string;
- /** ListContactsResponse totalSize. */
+ /** ListCmsMetadataValuesResponse totalSize. */
public totalSize: number;
/**
- * Creates a new ListContactsResponse instance using the specified properties.
+ * Creates a new ListCmsMetadataValuesResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListContactsResponse instance
+ * @returns ListCmsMetadataValuesResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListContactsResponse): google.ads.admanager.v1.ListContactsResponse;
+ public static create(properties?: google.ads.admanager.v1.IListCmsMetadataValuesResponse): google.ads.admanager.v1.ListCmsMetadataValuesResponse;
/**
- * Encodes the specified ListContactsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListContactsResponse.verify|verify} messages.
- * @param message ListContactsResponse message or plain object to encode
+ * Encodes the specified ListCmsMetadataValuesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataValuesResponse.verify|verify} messages.
+ * @param message ListCmsMetadataValuesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCmsMetadataValuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListContactsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContactsResponse.verify|verify} messages.
- * @param message ListContactsResponse message or plain object to encode
+ * Encodes the specified ListCmsMetadataValuesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCmsMetadataValuesResponse.verify|verify} messages.
+ * @param message ListCmsMetadataValuesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCmsMetadataValuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListContactsResponse message from the specified reader or buffer.
+ * Decodes a ListCmsMetadataValuesResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListContactsResponse
+ * @returns ListCmsMetadataValuesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContactsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCmsMetadataValuesResponse;
/**
- * Decodes a ListContactsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListCmsMetadataValuesResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListContactsResponse
+ * @returns ListCmsMetadataValuesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContactsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCmsMetadataValuesResponse;
/**
- * Verifies a ListContactsResponse message.
+ * Verifies a ListCmsMetadataValuesResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListContactsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCmsMetadataValuesResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListContactsResponse
+ * @returns ListCmsMetadataValuesResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContactsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCmsMetadataValuesResponse;
/**
- * Creates a plain object from a ListContactsResponse message. Also converts values to other types if specified.
- * @param message ListContactsResponse
+ * Creates a plain object from a ListCmsMetadataValuesResponse message. Also converts values to other types if specified.
+ * @param message ListCmsMetadataValuesResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListContactsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCmsMetadataValuesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListContactsResponse to JSON.
+ * Converts this ListCmsMetadataValuesResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListContactsResponse
+ * Gets the default type url for ListCmsMetadataValuesResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CreateContactRequest. */
- interface ICreateContactRequest {
-
- /** CreateContactRequest parent */
- parent?: (string|null);
-
- /** CreateContactRequest contact */
- contact?: (google.ads.admanager.v1.IContact|null);
+ /** Properties of a CompanyTypeEnum. */
+ interface ICompanyTypeEnum {
}
- /** Represents a CreateContactRequest. */
- class CreateContactRequest implements ICreateContactRequest {
+ /** Represents a CompanyTypeEnum. */
+ class CompanyTypeEnum implements ICompanyTypeEnum {
/**
- * Constructs a new CreateContactRequest.
+ * Constructs a new CompanyTypeEnum.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICreateContactRequest);
-
- /** CreateContactRequest parent. */
- public parent: string;
-
- /** CreateContactRequest contact. */
- public contact?: (google.ads.admanager.v1.IContact|null);
+ constructor(properties?: google.ads.admanager.v1.ICompanyTypeEnum);
/**
- * Creates a new CreateContactRequest instance using the specified properties.
+ * Creates a new CompanyTypeEnum instance using the specified properties.
* @param [properties] Properties to set
- * @returns CreateContactRequest instance
+ * @returns CompanyTypeEnum instance
*/
- public static create(properties?: google.ads.admanager.v1.ICreateContactRequest): google.ads.admanager.v1.CreateContactRequest;
+ public static create(properties?: google.ads.admanager.v1.ICompanyTypeEnum): google.ads.admanager.v1.CompanyTypeEnum;
/**
- * Encodes the specified CreateContactRequest message. Does not implicitly {@link google.ads.admanager.v1.CreateContactRequest.verify|verify} messages.
- * @param message CreateContactRequest message or plain object to encode
+ * Encodes the specified CompanyTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CompanyTypeEnum.verify|verify} messages.
+ * @param message CompanyTypeEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICreateContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICompanyTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CreateContactRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreateContactRequest.verify|verify} messages.
- * @param message CreateContactRequest message or plain object to encode
+ * Encodes the specified CompanyTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CompanyTypeEnum.verify|verify} messages.
+ * @param message CompanyTypeEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICreateContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICompanyTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CreateContactRequest message from the specified reader or buffer.
+ * Decodes a CompanyTypeEnum message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CreateContactRequest
+ * @returns CompanyTypeEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreateContactRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CompanyTypeEnum;
/**
- * Decodes a CreateContactRequest message from the specified reader or buffer, length delimited.
+ * Decodes a CompanyTypeEnum message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CreateContactRequest
+ * @returns CompanyTypeEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreateContactRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CompanyTypeEnum;
/**
- * Verifies a CreateContactRequest message.
+ * Verifies a CompanyTypeEnum message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CreateContactRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a CompanyTypeEnum message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CreateContactRequest
+ * @returns CompanyTypeEnum
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreateContactRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CompanyTypeEnum;
/**
- * Creates a plain object from a CreateContactRequest message. Also converts values to other types if specified.
- * @param message CreateContactRequest
+ * Creates a plain object from a CompanyTypeEnum message. Also converts values to other types if specified.
+ * @param message CompanyTypeEnum
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CreateContactRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CompanyTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CreateContactRequest to JSON.
+ * Converts this CompanyTypeEnum to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CreateContactRequest
+ * Gets the default type url for CompanyTypeEnum
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchCreateContactsRequest. */
- interface IBatchCreateContactsRequest {
+ namespace CompanyTypeEnum {
- /** BatchCreateContactsRequest parent */
- parent?: (string|null);
+ /** CompanyType enum. */
+ enum CompanyType {
+ COMPANY_TYPE_UNSPECIFIED = 0,
+ ADVERTISER = 1,
+ HOUSE_ADVERTISER = 2,
+ AGENCY = 3,
+ HOUSE_AGENCY = 4,
+ AD_NETWORK = 5
+ }
+ }
- /** BatchCreateContactsRequest requests */
- requests?: (google.ads.admanager.v1.ICreateContactRequest[]|null);
+ /** Properties of a CompanyCreditStatusEnum. */
+ interface ICompanyCreditStatusEnum {
}
- /** Represents a BatchCreateContactsRequest. */
- class BatchCreateContactsRequest implements IBatchCreateContactsRequest {
+ /** Represents a CompanyCreditStatusEnum. */
+ class CompanyCreditStatusEnum implements ICompanyCreditStatusEnum {
/**
- * Constructs a new BatchCreateContactsRequest.
+ * Constructs a new CompanyCreditStatusEnum.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchCreateContactsRequest);
-
- /** BatchCreateContactsRequest parent. */
- public parent: string;
-
- /** BatchCreateContactsRequest requests. */
- public requests: google.ads.admanager.v1.ICreateContactRequest[];
+ constructor(properties?: google.ads.admanager.v1.ICompanyCreditStatusEnum);
/**
- * Creates a new BatchCreateContactsRequest instance using the specified properties.
+ * Creates a new CompanyCreditStatusEnum instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchCreateContactsRequest instance
+ * @returns CompanyCreditStatusEnum instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchCreateContactsRequest): google.ads.admanager.v1.BatchCreateContactsRequest;
+ public static create(properties?: google.ads.admanager.v1.ICompanyCreditStatusEnum): google.ads.admanager.v1.CompanyCreditStatusEnum;
/**
- * Encodes the specified BatchCreateContactsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateContactsRequest.verify|verify} messages.
- * @param message BatchCreateContactsRequest message or plain object to encode
+ * Encodes the specified CompanyCreditStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CompanyCreditStatusEnum.verify|verify} messages.
+ * @param message CompanyCreditStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchCreateContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICompanyCreditStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchCreateContactsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateContactsRequest.verify|verify} messages.
- * @param message BatchCreateContactsRequest message or plain object to encode
+ * Encodes the specified CompanyCreditStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CompanyCreditStatusEnum.verify|verify} messages.
+ * @param message CompanyCreditStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICompanyCreditStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchCreateContactsRequest message from the specified reader or buffer.
+ * Decodes a CompanyCreditStatusEnum message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchCreateContactsRequest
+ * @returns CompanyCreditStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateContactsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CompanyCreditStatusEnum;
/**
- * Decodes a BatchCreateContactsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a CompanyCreditStatusEnum message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchCreateContactsRequest
+ * @returns CompanyCreditStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateContactsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CompanyCreditStatusEnum;
/**
- * Verifies a BatchCreateContactsRequest message.
+ * Verifies a CompanyCreditStatusEnum message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchCreateContactsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a CompanyCreditStatusEnum message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchCreateContactsRequest
+ * @returns CompanyCreditStatusEnum
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateContactsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CompanyCreditStatusEnum;
/**
- * Creates a plain object from a BatchCreateContactsRequest message. Also converts values to other types if specified.
- * @param message BatchCreateContactsRequest
+ * Creates a plain object from a CompanyCreditStatusEnum message. Also converts values to other types if specified.
+ * @param message CompanyCreditStatusEnum
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchCreateContactsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CompanyCreditStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchCreateContactsRequest to JSON.
+ * Converts this CompanyCreditStatusEnum to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchCreateContactsRequest
+ * Gets the default type url for CompanyCreditStatusEnum
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchCreateContactsResponse. */
- interface IBatchCreateContactsResponse {
+ namespace CompanyCreditStatusEnum {
- /** BatchCreateContactsResponse contacts */
- contacts?: (google.ads.admanager.v1.IContact[]|null);
+ /** CompanyCreditStatus enum. */
+ enum CompanyCreditStatus {
+ COMPANY_CREDIT_STATUS_UNSPECIFIED = 0,
+ ACTIVE = 1,
+ INACTIVE = 2,
+ ON_HOLD = 3,
+ STOP = 4,
+ BLOCKED = 5
+ }
}
- /** Represents a BatchCreateContactsResponse. */
- class BatchCreateContactsResponse implements IBatchCreateContactsResponse {
+ /** Properties of a Company. */
+ interface ICompany {
+
+ /** Company name */
+ name?: (string|null);
+
+ /** Company companyId */
+ companyId?: (number|Long|string|null);
+
+ /** Company displayName */
+ displayName?: (string|null);
+
+ /** Company type */
+ type?: (google.ads.admanager.v1.CompanyTypeEnum.CompanyType|keyof typeof google.ads.admanager.v1.CompanyTypeEnum.CompanyType|null);
+
+ /** Company address */
+ address?: (string|null);
+
+ /** Company email */
+ email?: (string|null);
+
+ /** Company fax */
+ fax?: (string|null);
+
+ /** Company phone */
+ phone?: (string|null);
+
+ /** Company externalId */
+ externalId?: (string|null);
+
+ /** Company comment */
+ comment?: (string|null);
+
+ /** Company creditStatus */
+ creditStatus?: (google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus|keyof typeof google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus|null);
+
+ /** Company appliedLabels */
+ appliedLabels?: (google.ads.admanager.v1.IAppliedLabel[]|null);
+
+ /** Company primaryContact */
+ primaryContact?: (string|null);
+
+ /** Company appliedTeams */
+ appliedTeams?: (string[]|null);
+
+ /** Company thirdPartyCompanyId */
+ thirdPartyCompanyId?: (number|Long|string|null);
+
+ /** Company updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a Company. */
+ class Company implements ICompany {
/**
- * Constructs a new BatchCreateContactsResponse.
+ * Constructs a new Company.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchCreateContactsResponse);
+ constructor(properties?: google.ads.admanager.v1.ICompany);
- /** BatchCreateContactsResponse contacts. */
- public contacts: google.ads.admanager.v1.IContact[];
+ /** Company name. */
+ public name: string;
+
+ /** Company companyId. */
+ public companyId?: (number|Long|string|null);
+
+ /** Company displayName. */
+ public displayName?: (string|null);
+
+ /** Company type. */
+ public type?: (google.ads.admanager.v1.CompanyTypeEnum.CompanyType|keyof typeof google.ads.admanager.v1.CompanyTypeEnum.CompanyType|null);
+
+ /** Company address. */
+ public address?: (string|null);
+
+ /** Company email. */
+ public email?: (string|null);
+
+ /** Company fax. */
+ public fax?: (string|null);
+
+ /** Company phone. */
+ public phone?: (string|null);
+
+ /** Company externalId. */
+ public externalId?: (string|null);
+
+ /** Company comment. */
+ public comment?: (string|null);
+
+ /** Company creditStatus. */
+ public creditStatus?: (google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus|keyof typeof google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus|null);
+
+ /** Company appliedLabels. */
+ public appliedLabels: google.ads.admanager.v1.IAppliedLabel[];
+
+ /** Company primaryContact. */
+ public primaryContact?: (string|null);
+
+ /** Company appliedTeams. */
+ public appliedTeams: string[];
+
+ /** Company thirdPartyCompanyId. */
+ public thirdPartyCompanyId?: (number|Long|string|null);
+
+ /** Company updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
/**
- * Creates a new BatchCreateContactsResponse instance using the specified properties.
+ * Creates a new Company instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchCreateContactsResponse instance
+ * @returns Company instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchCreateContactsResponse): google.ads.admanager.v1.BatchCreateContactsResponse;
+ public static create(properties?: google.ads.admanager.v1.ICompany): google.ads.admanager.v1.Company;
/**
- * Encodes the specified BatchCreateContactsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateContactsResponse.verify|verify} messages.
- * @param message BatchCreateContactsResponse message or plain object to encode
+ * Encodes the specified Company message. Does not implicitly {@link google.ads.admanager.v1.Company.verify|verify} messages.
+ * @param message Company message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchCreateContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICompany, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchCreateContactsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateContactsResponse.verify|verify} messages.
- * @param message BatchCreateContactsResponse message or plain object to encode
+ * Encodes the specified Company message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Company.verify|verify} messages.
+ * @param message Company message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICompany, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchCreateContactsResponse message from the specified reader or buffer.
+ * Decodes a Company message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchCreateContactsResponse
+ * @returns Company
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateContactsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Company;
/**
- * Decodes a BatchCreateContactsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a Company message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchCreateContactsResponse
+ * @returns Company
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateContactsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Company;
/**
- * Verifies a BatchCreateContactsResponse message.
+ * Verifies a Company message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchCreateContactsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a Company message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchCreateContactsResponse
+ * @returns Company
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateContactsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Company;
/**
- * Creates a plain object from a BatchCreateContactsResponse message. Also converts values to other types if specified.
- * @param message BatchCreateContactsResponse
+ * Creates a plain object from a Company message. Also converts values to other types if specified.
+ * @param message Company
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchCreateContactsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.Company, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchCreateContactsResponse to JSON.
+ * Converts this Company to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchCreateContactsResponse
+ * Gets the default type url for Company
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of an UpdateContactRequest. */
- interface IUpdateContactRequest {
+ /** Represents a CompanyService */
+ class CompanyService extends $protobuf.rpc.Service {
- /** UpdateContactRequest contact */
- contact?: (google.ads.admanager.v1.IContact|null);
+ /**
+ * Constructs a new CompanyService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /** UpdateContactRequest updateMask */
- updateMask?: (google.protobuf.IFieldMask|null);
+ /**
+ * Creates new CompanyService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CompanyService;
+
+ /**
+ * Calls GetCompany.
+ * @param request GetCompanyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Company
+ */
+ public getCompany(request: google.ads.admanager.v1.IGetCompanyRequest, callback: google.ads.admanager.v1.CompanyService.GetCompanyCallback): void;
+
+ /**
+ * Calls GetCompany.
+ * @param request GetCompanyRequest message or plain object
+ * @returns Promise
+ */
+ public getCompany(request: google.ads.admanager.v1.IGetCompanyRequest): Promise;
+
+ /**
+ * Calls ListCompanies.
+ * @param request ListCompaniesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListCompaniesResponse
+ */
+ public listCompanies(request: google.ads.admanager.v1.IListCompaniesRequest, callback: google.ads.admanager.v1.CompanyService.ListCompaniesCallback): void;
+
+ /**
+ * Calls ListCompanies.
+ * @param request ListCompaniesRequest message or plain object
+ * @returns Promise
+ */
+ public listCompanies(request: google.ads.admanager.v1.IListCompaniesRequest): Promise;
}
- /** Represents an UpdateContactRequest. */
- class UpdateContactRequest implements IUpdateContactRequest {
+ namespace CompanyService {
/**
- * Constructs a new UpdateContactRequest.
- * @param [properties] Properties to set
+ * Callback as used by {@link google.ads.admanager.v1.CompanyService|getCompany}.
+ * @param error Error, if any
+ * @param [response] Company
*/
- constructor(properties?: google.ads.admanager.v1.IUpdateContactRequest);
+ type GetCompanyCallback = (error: (Error|null), response?: google.ads.admanager.v1.Company) => void;
- /** UpdateContactRequest contact. */
- public contact?: (google.ads.admanager.v1.IContact|null);
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CompanyService|listCompanies}.
+ * @param error Error, if any
+ * @param [response] ListCompaniesResponse
+ */
+ type ListCompaniesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCompaniesResponse) => void;
+ }
- /** UpdateContactRequest updateMask. */
- public updateMask?: (google.protobuf.IFieldMask|null);
+ /** Properties of a GetCompanyRequest. */
+ interface IGetCompanyRequest {
+
+ /** GetCompanyRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetCompanyRequest. */
+ class GetCompanyRequest implements IGetCompanyRequest {
/**
- * Creates a new UpdateContactRequest instance using the specified properties.
+ * Constructs a new GetCompanyRequest.
* @param [properties] Properties to set
- * @returns UpdateContactRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IUpdateContactRequest): google.ads.admanager.v1.UpdateContactRequest;
+ constructor(properties?: google.ads.admanager.v1.IGetCompanyRequest);
+
+ /** GetCompanyRequest name. */
+ public name: string;
/**
- * Encodes the specified UpdateContactRequest message. Does not implicitly {@link google.ads.admanager.v1.UpdateContactRequest.verify|verify} messages.
- * @param message UpdateContactRequest message or plain object to encode
+ * Creates a new GetCompanyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetCompanyRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IGetCompanyRequest): google.ads.admanager.v1.GetCompanyRequest;
+
+ /**
+ * Encodes the specified GetCompanyRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCompanyRequest.verify|verify} messages.
+ * @param message GetCompanyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IUpdateContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified UpdateContactRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.UpdateContactRequest.verify|verify} messages.
- * @param message UpdateContactRequest message or plain object to encode
+ * Encodes the specified GetCompanyRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCompanyRequest.verify|verify} messages.
+ * @param message GetCompanyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IUpdateContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes an UpdateContactRequest message from the specified reader or buffer.
+ * Decodes a GetCompanyRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns UpdateContactRequest
+ * @returns GetCompanyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.UpdateContactRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCompanyRequest;
/**
- * Decodes an UpdateContactRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetCompanyRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns UpdateContactRequest
+ * @returns GetCompanyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.UpdateContactRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCompanyRequest;
/**
- * Verifies an UpdateContactRequest message.
+ * Verifies a GetCompanyRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates an UpdateContactRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetCompanyRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns UpdateContactRequest
+ * @returns GetCompanyRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.UpdateContactRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCompanyRequest;
/**
- * Creates a plain object from an UpdateContactRequest message. Also converts values to other types if specified.
- * @param message UpdateContactRequest
+ * Creates a plain object from a GetCompanyRequest message. Also converts values to other types if specified.
+ * @param message GetCompanyRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.UpdateContactRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this UpdateContactRequest to JSON.
+ * Converts this GetCompanyRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for UpdateContactRequest
+ * Gets the default type url for GetCompanyRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchUpdateContactsRequest. */
- interface IBatchUpdateContactsRequest {
+ /** Properties of a ListCompaniesRequest. */
+ interface IListCompaniesRequest {
- /** BatchUpdateContactsRequest parent */
+ /** ListCompaniesRequest parent */
parent?: (string|null);
- /** BatchUpdateContactsRequest requests */
- requests?: (google.ads.admanager.v1.IUpdateContactRequest[]|null);
+ /** ListCompaniesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListCompaniesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListCompaniesRequest filter */
+ filter?: (string|null);
+
+ /** ListCompaniesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListCompaniesRequest skip */
+ skip?: (number|null);
}
- /** Represents a BatchUpdateContactsRequest. */
- class BatchUpdateContactsRequest implements IBatchUpdateContactsRequest {
+ /** Represents a ListCompaniesRequest. */
+ class ListCompaniesRequest implements IListCompaniesRequest {
/**
- * Constructs a new BatchUpdateContactsRequest.
+ * Constructs a new ListCompaniesRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchUpdateContactsRequest);
+ constructor(properties?: google.ads.admanager.v1.IListCompaniesRequest);
- /** BatchUpdateContactsRequest parent. */
+ /** ListCompaniesRequest parent. */
public parent: string;
- /** BatchUpdateContactsRequest requests. */
- public requests: google.ads.admanager.v1.IUpdateContactRequest[];
+ /** ListCompaniesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListCompaniesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListCompaniesRequest filter. */
+ public filter: string;
+
+ /** ListCompaniesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListCompaniesRequest skip. */
+ public skip: number;
/**
- * Creates a new BatchUpdateContactsRequest instance using the specified properties.
+ * Creates a new ListCompaniesRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchUpdateContactsRequest instance
+ * @returns ListCompaniesRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchUpdateContactsRequest): google.ads.admanager.v1.BatchUpdateContactsRequest;
+ public static create(properties?: google.ads.admanager.v1.IListCompaniesRequest): google.ads.admanager.v1.ListCompaniesRequest;
/**
- * Encodes the specified BatchUpdateContactsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateContactsRequest.verify|verify} messages.
- * @param message BatchUpdateContactsRequest message or plain object to encode
+ * Encodes the specified ListCompaniesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCompaniesRequest.verify|verify} messages.
+ * @param message ListCompaniesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchUpdateContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCompaniesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchUpdateContactsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateContactsRequest.verify|verify} messages.
- * @param message BatchUpdateContactsRequest message or plain object to encode
+ * Encodes the specified ListCompaniesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCompaniesRequest.verify|verify} messages.
+ * @param message ListCompaniesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCompaniesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchUpdateContactsRequest message from the specified reader or buffer.
+ * Decodes a ListCompaniesRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchUpdateContactsRequest
+ * @returns ListCompaniesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateContactsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCompaniesRequest;
/**
- * Decodes a BatchUpdateContactsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListCompaniesRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchUpdateContactsRequest
+ * @returns ListCompaniesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateContactsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCompaniesRequest;
/**
- * Verifies a BatchUpdateContactsRequest message.
+ * Verifies a ListCompaniesRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchUpdateContactsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCompaniesRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchUpdateContactsRequest
+ * @returns ListCompaniesRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateContactsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCompaniesRequest;
/**
- * Creates a plain object from a BatchUpdateContactsRequest message. Also converts values to other types if specified.
- * @param message BatchUpdateContactsRequest
+ * Creates a plain object from a ListCompaniesRequest message. Also converts values to other types if specified.
+ * @param message ListCompaniesRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchUpdateContactsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCompaniesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchUpdateContactsRequest to JSON.
+ * Converts this ListCompaniesRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchUpdateContactsRequest
+ * Gets the default type url for ListCompaniesRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchUpdateContactsResponse. */
- interface IBatchUpdateContactsResponse {
+ /** Properties of a ListCompaniesResponse. */
+ interface IListCompaniesResponse {
- /** BatchUpdateContactsResponse contacts */
- contacts?: (google.ads.admanager.v1.IContact[]|null);
+ /** ListCompaniesResponse companies */
+ companies?: (google.ads.admanager.v1.ICompany[]|null);
+
+ /** ListCompaniesResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListCompaniesResponse totalSize */
+ totalSize?: (number|null);
}
- /** Represents a BatchUpdateContactsResponse. */
- class BatchUpdateContactsResponse implements IBatchUpdateContactsResponse {
+ /** Represents a ListCompaniesResponse. */
+ class ListCompaniesResponse implements IListCompaniesResponse {
/**
- * Constructs a new BatchUpdateContactsResponse.
+ * Constructs a new ListCompaniesResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchUpdateContactsResponse);
+ constructor(properties?: google.ads.admanager.v1.IListCompaniesResponse);
- /** BatchUpdateContactsResponse contacts. */
- public contacts: google.ads.admanager.v1.IContact[];
+ /** ListCompaniesResponse companies. */
+ public companies: google.ads.admanager.v1.ICompany[];
+
+ /** ListCompaniesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListCompaniesResponse totalSize. */
+ public totalSize: number;
/**
- * Creates a new BatchUpdateContactsResponse instance using the specified properties.
+ * Creates a new ListCompaniesResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchUpdateContactsResponse instance
+ * @returns ListCompaniesResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchUpdateContactsResponse): google.ads.admanager.v1.BatchUpdateContactsResponse;
+ public static create(properties?: google.ads.admanager.v1.IListCompaniesResponse): google.ads.admanager.v1.ListCompaniesResponse;
/**
- * Encodes the specified BatchUpdateContactsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateContactsResponse.verify|verify} messages.
- * @param message BatchUpdateContactsResponse message or plain object to encode
+ * Encodes the specified ListCompaniesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCompaniesResponse.verify|verify} messages.
+ * @param message ListCompaniesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchUpdateContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCompaniesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchUpdateContactsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateContactsResponse.verify|verify} messages.
- * @param message BatchUpdateContactsResponse message or plain object to encode
+ * Encodes the specified ListCompaniesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCompaniesResponse.verify|verify} messages.
+ * @param message ListCompaniesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCompaniesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchUpdateContactsResponse message from the specified reader or buffer.
+ * Decodes a ListCompaniesResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchUpdateContactsResponse
+ * @returns ListCompaniesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateContactsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCompaniesResponse;
/**
- * Decodes a BatchUpdateContactsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListCompaniesResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchUpdateContactsResponse
+ * @returns ListCompaniesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateContactsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCompaniesResponse;
/**
- * Verifies a BatchUpdateContactsResponse message.
+ * Verifies a ListCompaniesResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchUpdateContactsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCompaniesResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchUpdateContactsResponse
+ * @returns ListCompaniesResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateContactsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCompaniesResponse;
/**
- * Creates a plain object from a BatchUpdateContactsResponse message. Also converts values to other types if specified.
- * @param message BatchUpdateContactsResponse
+ * Creates a plain object from a ListCompaniesResponse message. Also converts values to other types if specified.
+ * @param message ListCompaniesResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchUpdateContactsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCompaniesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchUpdateContactsResponse to JSON.
+ * Converts this ListCompaniesResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchUpdateContactsResponse
+ * Gets the default type url for ListCompaniesResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ContentBundle. */
- interface IContentBundle {
-
- /** ContentBundle name */
- name?: (string|null);
-
- /** ContentBundle displayName */
- displayName?: (string|null);
+ /** Properties of a ContactStatusEnum. */
+ interface IContactStatusEnum {
}
- /** Represents a ContentBundle. */
- class ContentBundle implements IContentBundle {
+ /** Represents a ContactStatusEnum. */
+ class ContactStatusEnum implements IContactStatusEnum {
/**
- * Constructs a new ContentBundle.
+ * Constructs a new ContactStatusEnum.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IContentBundle);
-
- /** ContentBundle name. */
- public name: string;
-
- /** ContentBundle displayName. */
- public displayName: string;
+ constructor(properties?: google.ads.admanager.v1.IContactStatusEnum);
/**
- * Creates a new ContentBundle instance using the specified properties.
+ * Creates a new ContactStatusEnum instance using the specified properties.
* @param [properties] Properties to set
- * @returns ContentBundle instance
+ * @returns ContactStatusEnum instance
*/
- public static create(properties?: google.ads.admanager.v1.IContentBundle): google.ads.admanager.v1.ContentBundle;
+ public static create(properties?: google.ads.admanager.v1.IContactStatusEnum): google.ads.admanager.v1.ContactStatusEnum;
/**
- * Encodes the specified ContentBundle message. Does not implicitly {@link google.ads.admanager.v1.ContentBundle.verify|verify} messages.
- * @param message ContentBundle message or plain object to encode
+ * Encodes the specified ContactStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.ContactStatusEnum.verify|verify} messages.
+ * @param message ContactStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IContentBundle, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IContactStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ContentBundle message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ContentBundle.verify|verify} messages.
- * @param message ContentBundle message or plain object to encode
+ * Encodes the specified ContactStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ContactStatusEnum.verify|verify} messages.
+ * @param message ContactStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IContentBundle, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IContactStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ContentBundle message from the specified reader or buffer.
+ * Decodes a ContactStatusEnum message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ContentBundle
+ * @returns ContactStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ContentBundle;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ContactStatusEnum;
/**
- * Decodes a ContentBundle message from the specified reader or buffer, length delimited.
+ * Decodes a ContactStatusEnum message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ContentBundle
+ * @returns ContactStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ContentBundle;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ContactStatusEnum;
/**
- * Verifies a ContentBundle message.
+ * Verifies a ContactStatusEnum message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ContentBundle message from a plain object. Also converts values to their respective internal types.
+ * Creates a ContactStatusEnum message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ContentBundle
+ * @returns ContactStatusEnum
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ContentBundle;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ContactStatusEnum;
/**
- * Creates a plain object from a ContentBundle message. Also converts values to other types if specified.
- * @param message ContentBundle
+ * Creates a plain object from a ContactStatusEnum message. Also converts values to other types if specified.
+ * @param message ContactStatusEnum
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ContentBundle, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ContactStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ContentBundle to JSON.
+ * Converts this ContactStatusEnum to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ContentBundle
+ * Gets the default type url for ContactStatusEnum
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a ContentBundleService */
- class ContentBundleService extends $protobuf.rpc.Service {
+ namespace ContactStatusEnum {
+
+ /** ContactStatus enum. */
+ enum ContactStatus {
+ CONTACT_STATUS_UNSPECIFIED = 0,
+ INVITE_CANCELED = 1,
+ INVITE_EXPIRED = 2,
+ INVITE_PENDING = 3,
+ UNINVITED = 4,
+ USER_ACTIVE = 5,
+ USER_DISABLED = 6
+ }
+ }
+
+ /** Properties of a Contact. */
+ interface IContact {
+
+ /** Contact name */
+ name?: (string|null);
+
+ /** Contact displayName */
+ displayName?: (string|null);
+
+ /** Contact company */
+ company?: (string|null);
+
+ /** Contact status */
+ status?: (google.ads.admanager.v1.ContactStatusEnum.ContactStatus|keyof typeof google.ads.admanager.v1.ContactStatusEnum.ContactStatus|null);
+
+ /** Contact address */
+ address?: (string|null);
+
+ /** Contact cellPhone */
+ cellPhone?: (string|null);
+
+ /** Contact comment */
+ comment?: (string|null);
+
+ /** Contact email */
+ email?: (string|null);
+
+ /** Contact fax */
+ fax?: (string|null);
+
+ /** Contact title */
+ title?: (string|null);
+
+ /** Contact workPhone */
+ workPhone?: (string|null);
+ }
+
+ /** Represents a Contact. */
+ class Contact implements IContact {
/**
- * Constructs a new ContentBundleService service.
+ * Constructs a new Contact.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IContact);
+
+ /** Contact name. */
+ public name: string;
+
+ /** Contact displayName. */
+ public displayName?: (string|null);
+
+ /** Contact company. */
+ public company?: (string|null);
+
+ /** Contact status. */
+ public status?: (google.ads.admanager.v1.ContactStatusEnum.ContactStatus|keyof typeof google.ads.admanager.v1.ContactStatusEnum.ContactStatus|null);
+
+ /** Contact address. */
+ public address?: (string|null);
+
+ /** Contact cellPhone. */
+ public cellPhone?: (string|null);
+
+ /** Contact comment. */
+ public comment?: (string|null);
+
+ /** Contact email. */
+ public email?: (string|null);
+
+ /** Contact fax. */
+ public fax?: (string|null);
+
+ /** Contact title. */
+ public title?: (string|null);
+
+ /** Contact workPhone. */
+ public workPhone?: (string|null);
+
+ /**
+ * Creates a new Contact instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Contact instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IContact): google.ads.admanager.v1.Contact;
+
+ /**
+ * Encodes the specified Contact message. Does not implicitly {@link google.ads.admanager.v1.Contact.verify|verify} messages.
+ * @param message Contact message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IContact, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Contact message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Contact.verify|verify} messages.
+ * @param message Contact message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IContact, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Contact message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Contact
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Contact;
+
+ /**
+ * Decodes a Contact message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Contact
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Contact;
+
+ /**
+ * Verifies a Contact message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Contact message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Contact
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Contact;
+
+ /**
+ * Creates a plain object from a Contact message. Also converts values to other types if specified.
+ * @param message Contact
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.Contact, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Contact to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Contact
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a ContactService */
+ class ContactService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new ContactService service.
* @param rpcImpl RPC implementation
* @param [requestDelimited=false] Whether requests are length-delimited
* @param [responseDelimited=false] Whether responses are length-delimited
@@ -10482,6285 +10625,8597 @@ export namespace google {
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
/**
- * Creates new ContentBundleService service using the specified rpc implementation.
+ * Creates new ContactService service using the specified rpc implementation.
* @param rpcImpl RPC implementation
* @param [requestDelimited=false] Whether requests are length-delimited
* @param [responseDelimited=false] Whether responses are length-delimited
* @returns RPC service. Useful where requests and/or responses are streamed.
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContentBundleService;
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContactService;
/**
- * Calls GetContentBundle.
- * @param request GetContentBundleRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ContentBundle
+ * Calls GetContact.
+ * @param request GetContactRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Contact
*/
- public getContentBundle(request: google.ads.admanager.v1.IGetContentBundleRequest, callback: google.ads.admanager.v1.ContentBundleService.GetContentBundleCallback): void;
+ public getContact(request: google.ads.admanager.v1.IGetContactRequest, callback: google.ads.admanager.v1.ContactService.GetContactCallback): void;
/**
- * Calls GetContentBundle.
- * @param request GetContentBundleRequest message or plain object
+ * Calls GetContact.
+ * @param request GetContactRequest message or plain object
* @returns Promise
*/
- public getContentBundle(request: google.ads.admanager.v1.IGetContentBundleRequest): Promise;
+ public getContact(request: google.ads.admanager.v1.IGetContactRequest): Promise;
/**
- * Calls ListContentBundles.
- * @param request ListContentBundlesRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListContentBundlesResponse
+ * Calls ListContacts.
+ * @param request ListContactsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListContactsResponse
*/
- public listContentBundles(request: google.ads.admanager.v1.IListContentBundlesRequest, callback: google.ads.admanager.v1.ContentBundleService.ListContentBundlesCallback): void;
+ public listContacts(request: google.ads.admanager.v1.IListContactsRequest, callback: google.ads.admanager.v1.ContactService.ListContactsCallback): void;
/**
- * Calls ListContentBundles.
- * @param request ListContentBundlesRequest message or plain object
+ * Calls ListContacts.
+ * @param request ListContactsRequest message or plain object
* @returns Promise
*/
- public listContentBundles(request: google.ads.admanager.v1.IListContentBundlesRequest): Promise;
+ public listContacts(request: google.ads.admanager.v1.IListContactsRequest): Promise;
+
+ /**
+ * Calls CreateContact.
+ * @param request CreateContactRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Contact
+ */
+ public createContact(request: google.ads.admanager.v1.ICreateContactRequest, callback: google.ads.admanager.v1.ContactService.CreateContactCallback): void;
+
+ /**
+ * Calls CreateContact.
+ * @param request CreateContactRequest message or plain object
+ * @returns Promise
+ */
+ public createContact(request: google.ads.admanager.v1.ICreateContactRequest): Promise;
+
+ /**
+ * Calls BatchCreateContacts.
+ * @param request BatchCreateContactsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchCreateContactsResponse
+ */
+ public batchCreateContacts(request: google.ads.admanager.v1.IBatchCreateContactsRequest, callback: google.ads.admanager.v1.ContactService.BatchCreateContactsCallback): void;
+
+ /**
+ * Calls BatchCreateContacts.
+ * @param request BatchCreateContactsRequest message or plain object
+ * @returns Promise
+ */
+ public batchCreateContacts(request: google.ads.admanager.v1.IBatchCreateContactsRequest): Promise;
+
+ /**
+ * Calls UpdateContact.
+ * @param request UpdateContactRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Contact
+ */
+ public updateContact(request: google.ads.admanager.v1.IUpdateContactRequest, callback: google.ads.admanager.v1.ContactService.UpdateContactCallback): void;
+
+ /**
+ * Calls UpdateContact.
+ * @param request UpdateContactRequest message or plain object
+ * @returns Promise
+ */
+ public updateContact(request: google.ads.admanager.v1.IUpdateContactRequest): Promise;
+
+ /**
+ * Calls BatchUpdateContacts.
+ * @param request BatchUpdateContactsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchUpdateContactsResponse
+ */
+ public batchUpdateContacts(request: google.ads.admanager.v1.IBatchUpdateContactsRequest, callback: google.ads.admanager.v1.ContactService.BatchUpdateContactsCallback): void;
+
+ /**
+ * Calls BatchUpdateContacts.
+ * @param request BatchUpdateContactsRequest message or plain object
+ * @returns Promise
+ */
+ public batchUpdateContacts(request: google.ads.admanager.v1.IBatchUpdateContactsRequest): Promise;
}
- namespace ContentBundleService {
+ namespace ContactService {
/**
- * Callback as used by {@link google.ads.admanager.v1.ContentBundleService|getContentBundle}.
+ * Callback as used by {@link google.ads.admanager.v1.ContactService|getContact}.
* @param error Error, if any
- * @param [response] ContentBundle
+ * @param [response] Contact
*/
- type GetContentBundleCallback = (error: (Error|null), response?: google.ads.admanager.v1.ContentBundle) => void;
+ type GetContactCallback = (error: (Error|null), response?: google.ads.admanager.v1.Contact) => void;
/**
- * Callback as used by {@link google.ads.admanager.v1.ContentBundleService|listContentBundles}.
+ * Callback as used by {@link google.ads.admanager.v1.ContactService|listContacts}.
* @param error Error, if any
- * @param [response] ListContentBundlesResponse
+ * @param [response] ListContactsResponse
*/
- type ListContentBundlesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListContentBundlesResponse) => void;
+ type ListContactsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListContactsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContactService|createContact}.
+ * @param error Error, if any
+ * @param [response] Contact
+ */
+ type CreateContactCallback = (error: (Error|null), response?: google.ads.admanager.v1.Contact) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContactService|batchCreateContacts}.
+ * @param error Error, if any
+ * @param [response] BatchCreateContactsResponse
+ */
+ type BatchCreateContactsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchCreateContactsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContactService|updateContact}.
+ * @param error Error, if any
+ * @param [response] Contact
+ */
+ type UpdateContactCallback = (error: (Error|null), response?: google.ads.admanager.v1.Contact) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContactService|batchUpdateContacts}.
+ * @param error Error, if any
+ * @param [response] BatchUpdateContactsResponse
+ */
+ type BatchUpdateContactsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchUpdateContactsResponse) => void;
}
- /** Properties of a GetContentBundleRequest. */
- interface IGetContentBundleRequest {
+ /** Properties of a GetContactRequest. */
+ interface IGetContactRequest {
- /** GetContentBundleRequest name */
+ /** GetContactRequest name */
name?: (string|null);
}
- /** Represents a GetContentBundleRequest. */
- class GetContentBundleRequest implements IGetContentBundleRequest {
+ /** Represents a GetContactRequest. */
+ class GetContactRequest implements IGetContactRequest {
/**
- * Constructs a new GetContentBundleRequest.
+ * Constructs a new GetContactRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetContentBundleRequest);
+ constructor(properties?: google.ads.admanager.v1.IGetContactRequest);
- /** GetContentBundleRequest name. */
+ /** GetContactRequest name. */
public name: string;
/**
- * Creates a new GetContentBundleRequest instance using the specified properties.
+ * Creates a new GetContactRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetContentBundleRequest instance
+ * @returns GetContactRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetContentBundleRequest): google.ads.admanager.v1.GetContentBundleRequest;
+ public static create(properties?: google.ads.admanager.v1.IGetContactRequest): google.ads.admanager.v1.GetContactRequest;
/**
- * Encodes the specified GetContentBundleRequest message. Does not implicitly {@link google.ads.admanager.v1.GetContentBundleRequest.verify|verify} messages.
- * @param message GetContentBundleRequest message or plain object to encode
+ * Encodes the specified GetContactRequest message. Does not implicitly {@link google.ads.admanager.v1.GetContactRequest.verify|verify} messages.
+ * @param message GetContactRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetContentBundleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetContentBundleRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetContentBundleRequest.verify|verify} messages.
- * @param message GetContentBundleRequest message or plain object to encode
+ * Encodes the specified GetContactRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetContactRequest.verify|verify} messages.
+ * @param message GetContactRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetContentBundleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetContentBundleRequest message from the specified reader or buffer.
+ * Decodes a GetContactRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetContentBundleRequest
+ * @returns GetContactRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetContentBundleRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetContactRequest;
/**
- * Decodes a GetContentBundleRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetContactRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetContentBundleRequest
+ * @returns GetContactRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetContentBundleRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetContactRequest;
/**
- * Verifies a GetContentBundleRequest message.
+ * Verifies a GetContactRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetContentBundleRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetContactRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetContentBundleRequest
+ * @returns GetContactRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetContentBundleRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetContactRequest;
/**
- * Creates a plain object from a GetContentBundleRequest message. Also converts values to other types if specified.
- * @param message GetContentBundleRequest
+ * Creates a plain object from a GetContactRequest message. Also converts values to other types if specified.
+ * @param message GetContactRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetContentBundleRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetContactRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetContentBundleRequest to JSON.
+ * Converts this GetContactRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetContentBundleRequest
+ * Gets the default type url for GetContactRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListContentBundlesRequest. */
- interface IListContentBundlesRequest {
+ /** Properties of a ListContactsRequest. */
+ interface IListContactsRequest {
- /** ListContentBundlesRequest parent */
+ /** ListContactsRequest parent */
parent?: (string|null);
- /** ListContentBundlesRequest pageSize */
+ /** ListContactsRequest pageSize */
pageSize?: (number|null);
- /** ListContentBundlesRequest pageToken */
+ /** ListContactsRequest pageToken */
pageToken?: (string|null);
- /** ListContentBundlesRequest filter */
+ /** ListContactsRequest filter */
filter?: (string|null);
- /** ListContentBundlesRequest orderBy */
+ /** ListContactsRequest orderBy */
orderBy?: (string|null);
- /** ListContentBundlesRequest skip */
+ /** ListContactsRequest skip */
skip?: (number|null);
}
- /** Represents a ListContentBundlesRequest. */
- class ListContentBundlesRequest implements IListContentBundlesRequest {
+ /** Represents a ListContactsRequest. */
+ class ListContactsRequest implements IListContactsRequest {
/**
- * Constructs a new ListContentBundlesRequest.
+ * Constructs a new ListContactsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListContentBundlesRequest);
+ constructor(properties?: google.ads.admanager.v1.IListContactsRequest);
- /** ListContentBundlesRequest parent. */
+ /** ListContactsRequest parent. */
public parent: string;
- /** ListContentBundlesRequest pageSize. */
+ /** ListContactsRequest pageSize. */
public pageSize: number;
- /** ListContentBundlesRequest pageToken. */
+ /** ListContactsRequest pageToken. */
public pageToken: string;
- /** ListContentBundlesRequest filter. */
+ /** ListContactsRequest filter. */
public filter: string;
- /** ListContentBundlesRequest orderBy. */
+ /** ListContactsRequest orderBy. */
public orderBy: string;
- /** ListContentBundlesRequest skip. */
+ /** ListContactsRequest skip. */
public skip: number;
/**
- * Creates a new ListContentBundlesRequest instance using the specified properties.
+ * Creates a new ListContactsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListContentBundlesRequest instance
+ * @returns ListContactsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListContentBundlesRequest): google.ads.admanager.v1.ListContentBundlesRequest;
+ public static create(properties?: google.ads.admanager.v1.IListContactsRequest): google.ads.admanager.v1.ListContactsRequest;
/**
- * Encodes the specified ListContentBundlesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListContentBundlesRequest.verify|verify} messages.
- * @param message ListContentBundlesRequest message or plain object to encode
+ * Encodes the specified ListContactsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListContactsRequest.verify|verify} messages.
+ * @param message ListContactsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListContentBundlesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListContentBundlesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentBundlesRequest.verify|verify} messages.
- * @param message ListContentBundlesRequest message or plain object to encode
+ * Encodes the specified ListContactsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContactsRequest.verify|verify} messages.
+ * @param message ListContactsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListContentBundlesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListContentBundlesRequest message from the specified reader or buffer.
+ * Decodes a ListContactsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListContentBundlesRequest
+ * @returns ListContactsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentBundlesRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContactsRequest;
/**
- * Decodes a ListContentBundlesRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListContactsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListContentBundlesRequest
+ * @returns ListContactsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentBundlesRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContactsRequest;
/**
- * Verifies a ListContentBundlesRequest message.
+ * Verifies a ListContactsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListContentBundlesRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListContactsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListContentBundlesRequest
+ * @returns ListContactsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentBundlesRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContactsRequest;
/**
- * Creates a plain object from a ListContentBundlesRequest message. Also converts values to other types if specified.
- * @param message ListContentBundlesRequest
+ * Creates a plain object from a ListContactsRequest message. Also converts values to other types if specified.
+ * @param message ListContactsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListContentBundlesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListContactsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListContentBundlesRequest to JSON.
+ * Converts this ListContactsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListContentBundlesRequest
+ * Gets the default type url for ListContactsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListContentBundlesResponse. */
- interface IListContentBundlesResponse {
+ /** Properties of a ListContactsResponse. */
+ interface IListContactsResponse {
- /** ListContentBundlesResponse contentBundles */
- contentBundles?: (google.ads.admanager.v1.IContentBundle[]|null);
+ /** ListContactsResponse contacts */
+ contacts?: (google.ads.admanager.v1.IContact[]|null);
- /** ListContentBundlesResponse nextPageToken */
+ /** ListContactsResponse nextPageToken */
nextPageToken?: (string|null);
- /** ListContentBundlesResponse totalSize */
+ /** ListContactsResponse totalSize */
totalSize?: (number|null);
}
- /** Represents a ListContentBundlesResponse. */
- class ListContentBundlesResponse implements IListContentBundlesResponse {
-
+ /** Represents a ListContactsResponse. */
+ class ListContactsResponse implements IListContactsResponse {
+
/**
- * Constructs a new ListContentBundlesResponse.
+ * Constructs a new ListContactsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListContentBundlesResponse);
+ constructor(properties?: google.ads.admanager.v1.IListContactsResponse);
- /** ListContentBundlesResponse contentBundles. */
- public contentBundles: google.ads.admanager.v1.IContentBundle[];
+ /** ListContactsResponse contacts. */
+ public contacts: google.ads.admanager.v1.IContact[];
- /** ListContentBundlesResponse nextPageToken. */
+ /** ListContactsResponse nextPageToken. */
public nextPageToken: string;
- /** ListContentBundlesResponse totalSize. */
+ /** ListContactsResponse totalSize. */
public totalSize: number;
/**
- * Creates a new ListContentBundlesResponse instance using the specified properties.
+ * Creates a new ListContactsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListContentBundlesResponse instance
+ * @returns ListContactsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListContentBundlesResponse): google.ads.admanager.v1.ListContentBundlesResponse;
+ public static create(properties?: google.ads.admanager.v1.IListContactsResponse): google.ads.admanager.v1.ListContactsResponse;
/**
- * Encodes the specified ListContentBundlesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListContentBundlesResponse.verify|verify} messages.
- * @param message ListContentBundlesResponse message or plain object to encode
+ * Encodes the specified ListContactsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListContactsResponse.verify|verify} messages.
+ * @param message ListContactsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListContentBundlesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListContentBundlesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentBundlesResponse.verify|verify} messages.
- * @param message ListContentBundlesResponse message or plain object to encode
+ * Encodes the specified ListContactsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContactsResponse.verify|verify} messages.
+ * @param message ListContactsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListContentBundlesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListContentBundlesResponse message from the specified reader or buffer.
+ * Decodes a ListContactsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListContentBundlesResponse
+ * @returns ListContactsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentBundlesResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContactsResponse;
/**
- * Decodes a ListContentBundlesResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListContactsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListContentBundlesResponse
+ * @returns ListContactsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentBundlesResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContactsResponse;
/**
- * Verifies a ListContentBundlesResponse message.
+ * Verifies a ListContactsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListContentBundlesResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListContactsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListContentBundlesResponse
+ * @returns ListContactsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentBundlesResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContactsResponse;
/**
- * Creates a plain object from a ListContentBundlesResponse message. Also converts values to other types if specified.
- * @param message ListContentBundlesResponse
+ * Creates a plain object from a ListContactsResponse message. Also converts values to other types if specified.
+ * @param message ListContactsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListContentBundlesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListContactsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListContentBundlesResponse to JSON.
+ * Converts this ListContactsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListContentBundlesResponse
+ * Gets the default type url for ListContactsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ContentLabel. */
- interface IContentLabel {
+ /** Properties of a CreateContactRequest. */
+ interface ICreateContactRequest {
- /** ContentLabel name */
- name?: (string|null);
+ /** CreateContactRequest parent */
+ parent?: (string|null);
- /** ContentLabel displayName */
- displayName?: (string|null);
+ /** CreateContactRequest contact */
+ contact?: (google.ads.admanager.v1.IContact|null);
}
- /** Represents a ContentLabel. */
- class ContentLabel implements IContentLabel {
+ /** Represents a CreateContactRequest. */
+ class CreateContactRequest implements ICreateContactRequest {
/**
- * Constructs a new ContentLabel.
+ * Constructs a new CreateContactRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IContentLabel);
+ constructor(properties?: google.ads.admanager.v1.ICreateContactRequest);
- /** ContentLabel name. */
- public name: string;
+ /** CreateContactRequest parent. */
+ public parent: string;
- /** ContentLabel displayName. */
- public displayName: string;
+ /** CreateContactRequest contact. */
+ public contact?: (google.ads.admanager.v1.IContact|null);
/**
- * Creates a new ContentLabel instance using the specified properties.
+ * Creates a new CreateContactRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ContentLabel instance
+ * @returns CreateContactRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IContentLabel): google.ads.admanager.v1.ContentLabel;
+ public static create(properties?: google.ads.admanager.v1.ICreateContactRequest): google.ads.admanager.v1.CreateContactRequest;
/**
- * Encodes the specified ContentLabel message. Does not implicitly {@link google.ads.admanager.v1.ContentLabel.verify|verify} messages.
- * @param message ContentLabel message or plain object to encode
+ * Encodes the specified CreateContactRequest message. Does not implicitly {@link google.ads.admanager.v1.CreateContactRequest.verify|verify} messages.
+ * @param message CreateContactRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IContentLabel, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICreateContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ContentLabel message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ContentLabel.verify|verify} messages.
- * @param message ContentLabel message or plain object to encode
+ * Encodes the specified CreateContactRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreateContactRequest.verify|verify} messages.
+ * @param message CreateContactRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IContentLabel, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreateContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ContentLabel message from the specified reader or buffer.
+ * Decodes a CreateContactRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ContentLabel
+ * @returns CreateContactRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ContentLabel;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreateContactRequest;
/**
- * Decodes a ContentLabel message from the specified reader or buffer, length delimited.
+ * Decodes a CreateContactRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ContentLabel
+ * @returns CreateContactRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ContentLabel;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreateContactRequest;
/**
- * Verifies a ContentLabel message.
+ * Verifies a CreateContactRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ContentLabel message from a plain object. Also converts values to their respective internal types.
+ * Creates a CreateContactRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ContentLabel
+ * @returns CreateContactRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ContentLabel;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreateContactRequest;
/**
- * Creates a plain object from a ContentLabel message. Also converts values to other types if specified.
- * @param message ContentLabel
+ * Creates a plain object from a CreateContactRequest message. Also converts values to other types if specified.
+ * @param message CreateContactRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ContentLabel, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CreateContactRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ContentLabel to JSON.
+ * Converts this CreateContactRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ContentLabel
+ * Gets the default type url for CreateContactRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a ContentLabelService */
- class ContentLabelService extends $protobuf.rpc.Service {
-
- /**
- * Constructs a new ContentLabelService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- */
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
-
- /**
- * Creates new ContentLabelService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
- */
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContentLabelService;
-
- /**
- * Calls GetContentLabel.
- * @param request GetContentLabelRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ContentLabel
- */
- public getContentLabel(request: google.ads.admanager.v1.IGetContentLabelRequest, callback: google.ads.admanager.v1.ContentLabelService.GetContentLabelCallback): void;
-
- /**
- * Calls GetContentLabel.
- * @param request GetContentLabelRequest message or plain object
- * @returns Promise
- */
- public getContentLabel(request: google.ads.admanager.v1.IGetContentLabelRequest): Promise;
-
- /**
- * Calls ListContentLabels.
- * @param request ListContentLabelsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListContentLabelsResponse
- */
- public listContentLabels(request: google.ads.admanager.v1.IListContentLabelsRequest, callback: google.ads.admanager.v1.ContentLabelService.ListContentLabelsCallback): void;
-
- /**
- * Calls ListContentLabels.
- * @param request ListContentLabelsRequest message or plain object
- * @returns Promise
- */
- public listContentLabels(request: google.ads.admanager.v1.IListContentLabelsRequest): Promise;
- }
-
- namespace ContentLabelService {
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.ContentLabelService|getContentLabel}.
- * @param error Error, if any
- * @param [response] ContentLabel
- */
- type GetContentLabelCallback = (error: (Error|null), response?: google.ads.admanager.v1.ContentLabel) => void;
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.ContentLabelService|listContentLabels}.
- * @param error Error, if any
- * @param [response] ListContentLabelsResponse
- */
- type ListContentLabelsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListContentLabelsResponse) => void;
- }
+ /** Properties of a BatchCreateContactsRequest. */
+ interface IBatchCreateContactsRequest {
- /** Properties of a GetContentLabelRequest. */
- interface IGetContentLabelRequest {
+ /** BatchCreateContactsRequest parent */
+ parent?: (string|null);
- /** GetContentLabelRequest name */
- name?: (string|null);
+ /** BatchCreateContactsRequest requests */
+ requests?: (google.ads.admanager.v1.ICreateContactRequest[]|null);
}
- /** Represents a GetContentLabelRequest. */
- class GetContentLabelRequest implements IGetContentLabelRequest {
+ /** Represents a BatchCreateContactsRequest. */
+ class BatchCreateContactsRequest implements IBatchCreateContactsRequest {
/**
- * Constructs a new GetContentLabelRequest.
+ * Constructs a new BatchCreateContactsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetContentLabelRequest);
+ constructor(properties?: google.ads.admanager.v1.IBatchCreateContactsRequest);
- /** GetContentLabelRequest name. */
- public name: string;
+ /** BatchCreateContactsRequest parent. */
+ public parent: string;
+
+ /** BatchCreateContactsRequest requests. */
+ public requests: google.ads.admanager.v1.ICreateContactRequest[];
/**
- * Creates a new GetContentLabelRequest instance using the specified properties.
+ * Creates a new BatchCreateContactsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetContentLabelRequest instance
+ * @returns BatchCreateContactsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetContentLabelRequest): google.ads.admanager.v1.GetContentLabelRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchCreateContactsRequest): google.ads.admanager.v1.BatchCreateContactsRequest;
/**
- * Encodes the specified GetContentLabelRequest message. Does not implicitly {@link google.ads.admanager.v1.GetContentLabelRequest.verify|verify} messages.
- * @param message GetContentLabelRequest message or plain object to encode
+ * Encodes the specified BatchCreateContactsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateContactsRequest.verify|verify} messages.
+ * @param message BatchCreateContactsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetContentLabelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchCreateContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetContentLabelRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetContentLabelRequest.verify|verify} messages.
- * @param message GetContentLabelRequest message or plain object to encode
+ * Encodes the specified BatchCreateContactsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateContactsRequest.verify|verify} messages.
+ * @param message BatchCreateContactsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetContentLabelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetContentLabelRequest message from the specified reader or buffer.
+ * Decodes a BatchCreateContactsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetContentLabelRequest
+ * @returns BatchCreateContactsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetContentLabelRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateContactsRequest;
/**
- * Decodes a GetContentLabelRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateContactsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetContentLabelRequest
+ * @returns BatchCreateContactsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetContentLabelRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateContactsRequest;
/**
- * Verifies a GetContentLabelRequest message.
+ * Verifies a BatchCreateContactsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetContentLabelRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateContactsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetContentLabelRequest
+ * @returns BatchCreateContactsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetContentLabelRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateContactsRequest;
/**
- * Creates a plain object from a GetContentLabelRequest message. Also converts values to other types if specified.
- * @param message GetContentLabelRequest
+ * Creates a plain object from a BatchCreateContactsRequest message. Also converts values to other types if specified.
+ * @param message BatchCreateContactsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetContentLabelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchCreateContactsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetContentLabelRequest to JSON.
+ * Converts this BatchCreateContactsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetContentLabelRequest
+ * Gets the default type url for BatchCreateContactsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListContentLabelsRequest. */
- interface IListContentLabelsRequest {
-
- /** ListContentLabelsRequest parent */
- parent?: (string|null);
-
- /** ListContentLabelsRequest pageSize */
- pageSize?: (number|null);
-
- /** ListContentLabelsRequest pageToken */
- pageToken?: (string|null);
-
- /** ListContentLabelsRequest filter */
- filter?: (string|null);
-
- /** ListContentLabelsRequest orderBy */
- orderBy?: (string|null);
+ /** Properties of a BatchCreateContactsResponse. */
+ interface IBatchCreateContactsResponse {
- /** ListContentLabelsRequest skip */
- skip?: (number|null);
+ /** BatchCreateContactsResponse contacts */
+ contacts?: (google.ads.admanager.v1.IContact[]|null);
}
- /** Represents a ListContentLabelsRequest. */
- class ListContentLabelsRequest implements IListContentLabelsRequest {
+ /** Represents a BatchCreateContactsResponse. */
+ class BatchCreateContactsResponse implements IBatchCreateContactsResponse {
/**
- * Constructs a new ListContentLabelsRequest.
+ * Constructs a new BatchCreateContactsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListContentLabelsRequest);
-
- /** ListContentLabelsRequest parent. */
- public parent: string;
-
- /** ListContentLabelsRequest pageSize. */
- public pageSize: number;
-
- /** ListContentLabelsRequest pageToken. */
- public pageToken: string;
-
- /** ListContentLabelsRequest filter. */
- public filter: string;
-
- /** ListContentLabelsRequest orderBy. */
- public orderBy: string;
+ constructor(properties?: google.ads.admanager.v1.IBatchCreateContactsResponse);
- /** ListContentLabelsRequest skip. */
- public skip: number;
+ /** BatchCreateContactsResponse contacts. */
+ public contacts: google.ads.admanager.v1.IContact[];
/**
- * Creates a new ListContentLabelsRequest instance using the specified properties.
+ * Creates a new BatchCreateContactsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListContentLabelsRequest instance
+ * @returns BatchCreateContactsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListContentLabelsRequest): google.ads.admanager.v1.ListContentLabelsRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchCreateContactsResponse): google.ads.admanager.v1.BatchCreateContactsResponse;
/**
- * Encodes the specified ListContentLabelsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListContentLabelsRequest.verify|verify} messages.
- * @param message ListContentLabelsRequest message or plain object to encode
+ * Encodes the specified BatchCreateContactsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateContactsResponse.verify|verify} messages.
+ * @param message BatchCreateContactsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListContentLabelsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchCreateContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListContentLabelsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentLabelsRequest.verify|verify} messages.
- * @param message ListContentLabelsRequest message or plain object to encode
+ * Encodes the specified BatchCreateContactsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateContactsResponse.verify|verify} messages.
+ * @param message BatchCreateContactsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListContentLabelsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListContentLabelsRequest message from the specified reader or buffer.
+ * Decodes a BatchCreateContactsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListContentLabelsRequest
+ * @returns BatchCreateContactsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentLabelsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateContactsResponse;
/**
- * Decodes a ListContentLabelsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateContactsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListContentLabelsRequest
+ * @returns BatchCreateContactsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentLabelsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateContactsResponse;
/**
- * Verifies a ListContentLabelsRequest message.
+ * Verifies a BatchCreateContactsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListContentLabelsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateContactsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListContentLabelsRequest
+ * @returns BatchCreateContactsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentLabelsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateContactsResponse;
/**
- * Creates a plain object from a ListContentLabelsRequest message. Also converts values to other types if specified.
- * @param message ListContentLabelsRequest
+ * Creates a plain object from a BatchCreateContactsResponse message. Also converts values to other types if specified.
+ * @param message BatchCreateContactsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListContentLabelsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchCreateContactsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListContentLabelsRequest to JSON.
+ * Converts this BatchCreateContactsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListContentLabelsRequest
+ * Gets the default type url for BatchCreateContactsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListContentLabelsResponse. */
- interface IListContentLabelsResponse {
-
- /** ListContentLabelsResponse contentLabels */
- contentLabels?: (google.ads.admanager.v1.IContentLabel[]|null);
+ /** Properties of an UpdateContactRequest. */
+ interface IUpdateContactRequest {
- /** ListContentLabelsResponse nextPageToken */
- nextPageToken?: (string|null);
+ /** UpdateContactRequest contact */
+ contact?: (google.ads.admanager.v1.IContact|null);
- /** ListContentLabelsResponse totalSize */
- totalSize?: (number|null);
+ /** UpdateContactRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
}
- /** Represents a ListContentLabelsResponse. */
- class ListContentLabelsResponse implements IListContentLabelsResponse {
+ /** Represents an UpdateContactRequest. */
+ class UpdateContactRequest implements IUpdateContactRequest {
/**
- * Constructs a new ListContentLabelsResponse.
+ * Constructs a new UpdateContactRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListContentLabelsResponse);
-
- /** ListContentLabelsResponse contentLabels. */
- public contentLabels: google.ads.admanager.v1.IContentLabel[];
+ constructor(properties?: google.ads.admanager.v1.IUpdateContactRequest);
- /** ListContentLabelsResponse nextPageToken. */
- public nextPageToken: string;
+ /** UpdateContactRequest contact. */
+ public contact?: (google.ads.admanager.v1.IContact|null);
- /** ListContentLabelsResponse totalSize. */
- public totalSize: number;
+ /** UpdateContactRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
/**
- * Creates a new ListContentLabelsResponse instance using the specified properties.
+ * Creates a new UpdateContactRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListContentLabelsResponse instance
+ * @returns UpdateContactRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListContentLabelsResponse): google.ads.admanager.v1.ListContentLabelsResponse;
+ public static create(properties?: google.ads.admanager.v1.IUpdateContactRequest): google.ads.admanager.v1.UpdateContactRequest;
/**
- * Encodes the specified ListContentLabelsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListContentLabelsResponse.verify|verify} messages.
- * @param message ListContentLabelsResponse message or plain object to encode
+ * Encodes the specified UpdateContactRequest message. Does not implicitly {@link google.ads.admanager.v1.UpdateContactRequest.verify|verify} messages.
+ * @param message UpdateContactRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListContentLabelsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IUpdateContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListContentLabelsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentLabelsResponse.verify|verify} messages.
- * @param message ListContentLabelsResponse message or plain object to encode
+ * Encodes the specified UpdateContactRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.UpdateContactRequest.verify|verify} messages.
+ * @param message UpdateContactRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListContentLabelsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IUpdateContactRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListContentLabelsResponse message from the specified reader or buffer.
+ * Decodes an UpdateContactRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListContentLabelsResponse
+ * @returns UpdateContactRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentLabelsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.UpdateContactRequest;
/**
- * Decodes a ListContentLabelsResponse message from the specified reader or buffer, length delimited.
+ * Decodes an UpdateContactRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListContentLabelsResponse
+ * @returns UpdateContactRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentLabelsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.UpdateContactRequest;
/**
- * Verifies a ListContentLabelsResponse message.
+ * Verifies an UpdateContactRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListContentLabelsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates an UpdateContactRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListContentLabelsResponse
+ * @returns UpdateContactRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentLabelsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.UpdateContactRequest;
/**
- * Creates a plain object from a ListContentLabelsResponse message. Also converts values to other types if specified.
- * @param message ListContentLabelsResponse
+ * Creates a plain object from an UpdateContactRequest message. Also converts values to other types if specified.
+ * @param message UpdateContactRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListContentLabelsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.UpdateContactRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListContentLabelsResponse to JSON.
+ * Converts this UpdateContactRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListContentLabelsResponse
+ * Gets the default type url for UpdateContactRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a Content. */
- interface IContent {
+ /** Properties of a BatchUpdateContactsRequest. */
+ interface IBatchUpdateContactsRequest {
- /** Content name */
- name?: (string|null);
+ /** BatchUpdateContactsRequest parent */
+ parent?: (string|null);
- /** Content displayName */
- displayName?: (string|null);
+ /** BatchUpdateContactsRequest requests */
+ requests?: (google.ads.admanager.v1.IUpdateContactRequest[]|null);
}
- /** Represents a Content. */
- class Content implements IContent {
+ /** Represents a BatchUpdateContactsRequest. */
+ class BatchUpdateContactsRequest implements IBatchUpdateContactsRequest {
/**
- * Constructs a new Content.
+ * Constructs a new BatchUpdateContactsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IContent);
+ constructor(properties?: google.ads.admanager.v1.IBatchUpdateContactsRequest);
- /** Content name. */
- public name: string;
+ /** BatchUpdateContactsRequest parent. */
+ public parent: string;
- /** Content displayName. */
- public displayName?: (string|null);
+ /** BatchUpdateContactsRequest requests. */
+ public requests: google.ads.admanager.v1.IUpdateContactRequest[];
/**
- * Creates a new Content instance using the specified properties.
+ * Creates a new BatchUpdateContactsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns Content instance
+ * @returns BatchUpdateContactsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IContent): google.ads.admanager.v1.Content;
+ public static create(properties?: google.ads.admanager.v1.IBatchUpdateContactsRequest): google.ads.admanager.v1.BatchUpdateContactsRequest;
/**
- * Encodes the specified Content message. Does not implicitly {@link google.ads.admanager.v1.Content.verify|verify} messages.
- * @param message Content message or plain object to encode
+ * Encodes the specified BatchUpdateContactsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateContactsRequest.verify|verify} messages.
+ * @param message BatchUpdateContactsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchUpdateContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified Content message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Content.verify|verify} messages.
- * @param message Content message or plain object to encode
+ * Encodes the specified BatchUpdateContactsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateContactsRequest.verify|verify} messages.
+ * @param message BatchUpdateContactsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a Content message from the specified reader or buffer.
+ * Decodes a BatchUpdateContactsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns Content
+ * @returns BatchUpdateContactsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Content;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateContactsRequest;
/**
- * Decodes a Content message from the specified reader or buffer, length delimited.
+ * Decodes a BatchUpdateContactsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns Content
+ * @returns BatchUpdateContactsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Content;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateContactsRequest;
/**
- * Verifies a Content message.
+ * Verifies a BatchUpdateContactsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a Content message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchUpdateContactsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns Content
+ * @returns BatchUpdateContactsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Content;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateContactsRequest;
/**
- * Creates a plain object from a Content message. Also converts values to other types if specified.
- * @param message Content
+ * Creates a plain object from a BatchUpdateContactsRequest message. Also converts values to other types if specified.
+ * @param message BatchUpdateContactsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.Content, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchUpdateContactsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this Content to JSON.
+ * Converts this BatchUpdateContactsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for Content
+ * Gets the default type url for BatchUpdateContactsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a ContentService */
- class ContentService extends $protobuf.rpc.Service {
+ /** Properties of a BatchUpdateContactsResponse. */
+ interface IBatchUpdateContactsResponse {
+
+ /** BatchUpdateContactsResponse contacts */
+ contacts?: (google.ads.admanager.v1.IContact[]|null);
+ }
+
+ /** Represents a BatchUpdateContactsResponse. */
+ class BatchUpdateContactsResponse implements IBatchUpdateContactsResponse {
/**
- * Constructs a new ContentService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
+ * Constructs a new BatchUpdateContactsResponse.
+ * @param [properties] Properties to set
*/
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+ constructor(properties?: google.ads.admanager.v1.IBatchUpdateContactsResponse);
+
+ /** BatchUpdateContactsResponse contacts. */
+ public contacts: google.ads.admanager.v1.IContact[];
/**
- * Creates new ContentService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
+ * Creates a new BatchUpdateContactsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BatchUpdateContactsResponse instance
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContentService;
+ public static create(properties?: google.ads.admanager.v1.IBatchUpdateContactsResponse): google.ads.admanager.v1.BatchUpdateContactsResponse;
/**
- * Calls GetContent.
- * @param request GetContentRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and Content
+ * Encodes the specified BatchUpdateContactsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateContactsResponse.verify|verify} messages.
+ * @param message BatchUpdateContactsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public getContent(request: google.ads.admanager.v1.IGetContentRequest, callback: google.ads.admanager.v1.ContentService.GetContentCallback): void;
+ public static encode(message: google.ads.admanager.v1.IBatchUpdateContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls GetContent.
- * @param request GetContentRequest message or plain object
- * @returns Promise
+ * Encodes the specified BatchUpdateContactsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateContactsResponse.verify|verify} messages.
+ * @param message BatchUpdateContactsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public getContent(request: google.ads.admanager.v1.IGetContentRequest): Promise;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateContactsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls ListContent.
- * @param request ListContentRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListContentResponse
+ * Decodes a BatchUpdateContactsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BatchUpdateContactsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public listContent(request: google.ads.admanager.v1.IListContentRequest, callback: google.ads.admanager.v1.ContentService.ListContentCallback): void;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateContactsResponse;
/**
- * Calls ListContent.
- * @param request ListContentRequest message or plain object
- * @returns Promise
+ * Decodes a BatchUpdateContactsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BatchUpdateContactsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public listContent(request: google.ads.admanager.v1.IListContentRequest): Promise;
- }
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateContactsResponse;
- namespace ContentService {
+ /**
+ * Verifies a BatchUpdateContactsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
/**
- * Callback as used by {@link google.ads.admanager.v1.ContentService|getContent}.
- * @param error Error, if any
- * @param [response] Content
+ * Creates a BatchUpdateContactsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BatchUpdateContactsResponse
*/
- type GetContentCallback = (error: (Error|null), response?: google.ads.admanager.v1.Content) => void;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateContactsResponse;
/**
- * Callback as used by {@link google.ads.admanager.v1.ContentService|listContent}.
- * @param error Error, if any
- * @param [response] ListContentResponse
+ * Creates a plain object from a BatchUpdateContactsResponse message. Also converts values to other types if specified.
+ * @param message BatchUpdateContactsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
*/
- type ListContentCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListContentResponse) => void;
+ public static toObject(message: google.ads.admanager.v1.BatchUpdateContactsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BatchUpdateContactsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BatchUpdateContactsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a GetContentRequest. */
- interface IGetContentRequest {
+ /** Properties of a ContentBundle. */
+ interface IContentBundle {
- /** GetContentRequest name */
+ /** ContentBundle name */
name?: (string|null);
+
+ /** ContentBundle displayName */
+ displayName?: (string|null);
}
- /** Represents a GetContentRequest. */
- class GetContentRequest implements IGetContentRequest {
+ /** Represents a ContentBundle. */
+ class ContentBundle implements IContentBundle {
/**
- * Constructs a new GetContentRequest.
+ * Constructs a new ContentBundle.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetContentRequest);
+ constructor(properties?: google.ads.admanager.v1.IContentBundle);
- /** GetContentRequest name. */
+ /** ContentBundle name. */
public name: string;
+ /** ContentBundle displayName. */
+ public displayName: string;
+
/**
- * Creates a new GetContentRequest instance using the specified properties.
+ * Creates a new ContentBundle instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetContentRequest instance
+ * @returns ContentBundle instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetContentRequest): google.ads.admanager.v1.GetContentRequest;
+ public static create(properties?: google.ads.admanager.v1.IContentBundle): google.ads.admanager.v1.ContentBundle;
/**
- * Encodes the specified GetContentRequest message. Does not implicitly {@link google.ads.admanager.v1.GetContentRequest.verify|verify} messages.
- * @param message GetContentRequest message or plain object to encode
+ * Encodes the specified ContentBundle message. Does not implicitly {@link google.ads.admanager.v1.ContentBundle.verify|verify} messages.
+ * @param message ContentBundle message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IContentBundle, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetContentRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetContentRequest.verify|verify} messages.
- * @param message GetContentRequest message or plain object to encode
+ * Encodes the specified ContentBundle message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ContentBundle.verify|verify} messages.
+ * @param message ContentBundle message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IContentBundle, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetContentRequest message from the specified reader or buffer.
+ * Decodes a ContentBundle message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetContentRequest
+ * @returns ContentBundle
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetContentRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ContentBundle;
/**
- * Decodes a GetContentRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ContentBundle message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetContentRequest
+ * @returns ContentBundle
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetContentRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ContentBundle;
/**
- * Verifies a GetContentRequest message.
+ * Verifies a ContentBundle message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetContentRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ContentBundle message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetContentRequest
+ * @returns ContentBundle
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetContentRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ContentBundle;
/**
- * Creates a plain object from a GetContentRequest message. Also converts values to other types if specified.
- * @param message GetContentRequest
+ * Creates a plain object from a ContentBundle message. Also converts values to other types if specified.
+ * @param message ContentBundle
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ContentBundle, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetContentRequest to JSON.
+ * Converts this ContentBundle to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetContentRequest
+ * Gets the default type url for ContentBundle
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListContentRequest. */
- interface IListContentRequest {
+ /** Represents a ContentBundleService */
+ class ContentBundleService extends $protobuf.rpc.Service {
- /** ListContentRequest parent */
- parent?: (string|null);
+ /**
+ * Constructs a new ContentBundleService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /** ListContentRequest pageSize */
- pageSize?: (number|null);
+ /**
+ * Creates new ContentBundleService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContentBundleService;
- /** ListContentRequest pageToken */
- pageToken?: (string|null);
+ /**
+ * Calls GetContentBundle.
+ * @param request GetContentBundleRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ContentBundle
+ */
+ public getContentBundle(request: google.ads.admanager.v1.IGetContentBundleRequest, callback: google.ads.admanager.v1.ContentBundleService.GetContentBundleCallback): void;
- /** ListContentRequest filter */
- filter?: (string|null);
+ /**
+ * Calls GetContentBundle.
+ * @param request GetContentBundleRequest message or plain object
+ * @returns Promise
+ */
+ public getContentBundle(request: google.ads.admanager.v1.IGetContentBundleRequest): Promise;
- /** ListContentRequest orderBy */
- orderBy?: (string|null);
+ /**
+ * Calls ListContentBundles.
+ * @param request ListContentBundlesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListContentBundlesResponse
+ */
+ public listContentBundles(request: google.ads.admanager.v1.IListContentBundlesRequest, callback: google.ads.admanager.v1.ContentBundleService.ListContentBundlesCallback): void;
- /** ListContentRequest skip */
- skip?: (number|null);
+ /**
+ * Calls ListContentBundles.
+ * @param request ListContentBundlesRequest message or plain object
+ * @returns Promise
+ */
+ public listContentBundles(request: google.ads.admanager.v1.IListContentBundlesRequest): Promise;
}
- /** Represents a ListContentRequest. */
- class ListContentRequest implements IListContentRequest {
+ namespace ContentBundleService {
/**
- * Constructs a new ListContentRequest.
- * @param [properties] Properties to set
+ * Callback as used by {@link google.ads.admanager.v1.ContentBundleService|getContentBundle}.
+ * @param error Error, if any
+ * @param [response] ContentBundle
*/
- constructor(properties?: google.ads.admanager.v1.IListContentRequest);
+ type GetContentBundleCallback = (error: (Error|null), response?: google.ads.admanager.v1.ContentBundle) => void;
- /** ListContentRequest parent. */
- public parent: string;
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContentBundleService|listContentBundles}.
+ * @param error Error, if any
+ * @param [response] ListContentBundlesResponse
+ */
+ type ListContentBundlesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListContentBundlesResponse) => void;
+ }
- /** ListContentRequest pageSize. */
- public pageSize: number;
+ /** Properties of a GetContentBundleRequest. */
+ interface IGetContentBundleRequest {
- /** ListContentRequest pageToken. */
- public pageToken: string;
+ /** GetContentBundleRequest name */
+ name?: (string|null);
+ }
- /** ListContentRequest filter. */
- public filter: string;
+ /** Represents a GetContentBundleRequest. */
+ class GetContentBundleRequest implements IGetContentBundleRequest {
- /** ListContentRequest orderBy. */
- public orderBy: string;
+ /**
+ * Constructs a new GetContentBundleRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IGetContentBundleRequest);
- /** ListContentRequest skip. */
- public skip: number;
+ /** GetContentBundleRequest name. */
+ public name: string;
/**
- * Creates a new ListContentRequest instance using the specified properties.
+ * Creates a new GetContentBundleRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListContentRequest instance
+ * @returns GetContentBundleRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListContentRequest): google.ads.admanager.v1.ListContentRequest;
+ public static create(properties?: google.ads.admanager.v1.IGetContentBundleRequest): google.ads.admanager.v1.GetContentBundleRequest;
/**
- * Encodes the specified ListContentRequest message. Does not implicitly {@link google.ads.admanager.v1.ListContentRequest.verify|verify} messages.
- * @param message ListContentRequest message or plain object to encode
+ * Encodes the specified GetContentBundleRequest message. Does not implicitly {@link google.ads.admanager.v1.GetContentBundleRequest.verify|verify} messages.
+ * @param message GetContentBundleRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetContentBundleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListContentRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentRequest.verify|verify} messages.
- * @param message ListContentRequest message or plain object to encode
+ * Encodes the specified GetContentBundleRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetContentBundleRequest.verify|verify} messages.
+ * @param message GetContentBundleRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetContentBundleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListContentRequest message from the specified reader or buffer.
+ * Decodes a GetContentBundleRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListContentRequest
+ * @returns GetContentBundleRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetContentBundleRequest;
/**
- * Decodes a ListContentRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetContentBundleRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListContentRequest
+ * @returns GetContentBundleRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetContentBundleRequest;
/**
- * Verifies a ListContentRequest message.
+ * Verifies a GetContentBundleRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListContentRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetContentBundleRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListContentRequest
+ * @returns GetContentBundleRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetContentBundleRequest;
/**
- * Creates a plain object from a ListContentRequest message. Also converts values to other types if specified.
- * @param message ListContentRequest
+ * Creates a plain object from a GetContentBundleRequest message. Also converts values to other types if specified.
+ * @param message GetContentBundleRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetContentBundleRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListContentRequest to JSON.
+ * Converts this GetContentBundleRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListContentRequest
+ * Gets the default type url for GetContentBundleRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListContentResponse. */
- interface IListContentResponse {
+ /** Properties of a ListContentBundlesRequest. */
+ interface IListContentBundlesRequest {
- /** ListContentResponse content */
- content?: (google.ads.admanager.v1.IContent[]|null);
+ /** ListContentBundlesRequest parent */
+ parent?: (string|null);
- /** ListContentResponse nextPageToken */
- nextPageToken?: (string|null);
+ /** ListContentBundlesRequest pageSize */
+ pageSize?: (number|null);
- /** ListContentResponse totalSize */
- totalSize?: (number|null);
+ /** ListContentBundlesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListContentBundlesRequest filter */
+ filter?: (string|null);
+
+ /** ListContentBundlesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListContentBundlesRequest skip */
+ skip?: (number|null);
}
- /** Represents a ListContentResponse. */
- class ListContentResponse implements IListContentResponse {
+ /** Represents a ListContentBundlesRequest. */
+ class ListContentBundlesRequest implements IListContentBundlesRequest {
/**
- * Constructs a new ListContentResponse.
+ * Constructs a new ListContentBundlesRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListContentResponse);
+ constructor(properties?: google.ads.admanager.v1.IListContentBundlesRequest);
- /** ListContentResponse content. */
- public content: google.ads.admanager.v1.IContent[];
+ /** ListContentBundlesRequest parent. */
+ public parent: string;
- /** ListContentResponse nextPageToken. */
- public nextPageToken: string;
+ /** ListContentBundlesRequest pageSize. */
+ public pageSize: number;
- /** ListContentResponse totalSize. */
- public totalSize: number;
+ /** ListContentBundlesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListContentBundlesRequest filter. */
+ public filter: string;
+
+ /** ListContentBundlesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListContentBundlesRequest skip. */
+ public skip: number;
/**
- * Creates a new ListContentResponse instance using the specified properties.
+ * Creates a new ListContentBundlesRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListContentResponse instance
+ * @returns ListContentBundlesRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListContentResponse): google.ads.admanager.v1.ListContentResponse;
+ public static create(properties?: google.ads.admanager.v1.IListContentBundlesRequest): google.ads.admanager.v1.ListContentBundlesRequest;
/**
- * Encodes the specified ListContentResponse message. Does not implicitly {@link google.ads.admanager.v1.ListContentResponse.verify|verify} messages.
- * @param message ListContentResponse message or plain object to encode
+ * Encodes the specified ListContentBundlesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListContentBundlesRequest.verify|verify} messages.
+ * @param message ListContentBundlesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListContentBundlesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListContentResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentResponse.verify|verify} messages.
- * @param message ListContentResponse message or plain object to encode
+ * Encodes the specified ListContentBundlesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentBundlesRequest.verify|verify} messages.
+ * @param message ListContentBundlesRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListContentBundlesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListContentResponse message from the specified reader or buffer.
+ * Decodes a ListContentBundlesRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListContentResponse
+ * @returns ListContentBundlesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentBundlesRequest;
/**
- * Decodes a ListContentResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListContentBundlesRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListContentResponse
+ * @returns ListContentBundlesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentBundlesRequest;
/**
- * Verifies a ListContentResponse message.
+ * Verifies a ListContentBundlesRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListContentResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListContentBundlesRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListContentResponse
+ * @returns ListContentBundlesRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentBundlesRequest;
/**
- * Creates a plain object from a ListContentResponse message. Also converts values to other types if specified.
- * @param message ListContentResponse
+ * Creates a plain object from a ListContentBundlesRequest message. Also converts values to other types if specified.
+ * @param message ListContentBundlesRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListContentResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListContentBundlesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListContentResponse to JSON.
+ * Converts this ListContentBundlesRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListContentResponse
+ * Gets the default type url for ListContentBundlesRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CreativeTemplateTypeEnum. */
- interface ICreativeTemplateTypeEnum {
+ /** Properties of a ListContentBundlesResponse. */
+ interface IListContentBundlesResponse {
+
+ /** ListContentBundlesResponse contentBundles */
+ contentBundles?: (google.ads.admanager.v1.IContentBundle[]|null);
+
+ /** ListContentBundlesResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListContentBundlesResponse totalSize */
+ totalSize?: (number|null);
}
- /** Represents a CreativeTemplateTypeEnum. */
- class CreativeTemplateTypeEnum implements ICreativeTemplateTypeEnum {
+ /** Represents a ListContentBundlesResponse. */
+ class ListContentBundlesResponse implements IListContentBundlesResponse {
/**
- * Constructs a new CreativeTemplateTypeEnum.
+ * Constructs a new ListContentBundlesResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICreativeTemplateTypeEnum);
+ constructor(properties?: google.ads.admanager.v1.IListContentBundlesResponse);
+
+ /** ListContentBundlesResponse contentBundles. */
+ public contentBundles: google.ads.admanager.v1.IContentBundle[];
+
+ /** ListContentBundlesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListContentBundlesResponse totalSize. */
+ public totalSize: number;
/**
- * Creates a new CreativeTemplateTypeEnum instance using the specified properties.
+ * Creates a new ListContentBundlesResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns CreativeTemplateTypeEnum instance
+ * @returns ListContentBundlesResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.ICreativeTemplateTypeEnum): google.ads.admanager.v1.CreativeTemplateTypeEnum;
+ public static create(properties?: google.ads.admanager.v1.IListContentBundlesResponse): google.ads.admanager.v1.ListContentBundlesResponse;
/**
- * Encodes the specified CreativeTemplateTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateTypeEnum.verify|verify} messages.
- * @param message CreativeTemplateTypeEnum message or plain object to encode
+ * Encodes the specified ListContentBundlesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListContentBundlesResponse.verify|verify} messages.
+ * @param message ListContentBundlesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICreativeTemplateTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListContentBundlesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CreativeTemplateTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateTypeEnum.verify|verify} messages.
- * @param message CreativeTemplateTypeEnum message or plain object to encode
+ * Encodes the specified ListContentBundlesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentBundlesResponse.verify|verify} messages.
+ * @param message ListContentBundlesResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplateTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListContentBundlesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CreativeTemplateTypeEnum message from the specified reader or buffer.
+ * Decodes a ListContentBundlesResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CreativeTemplateTypeEnum
+ * @returns ListContentBundlesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateTypeEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentBundlesResponse;
/**
- * Decodes a CreativeTemplateTypeEnum message from the specified reader or buffer, length delimited.
+ * Decodes a ListContentBundlesResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CreativeTemplateTypeEnum
+ * @returns ListContentBundlesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateTypeEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentBundlesResponse;
/**
- * Verifies a CreativeTemplateTypeEnum message.
+ * Verifies a ListContentBundlesResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CreativeTemplateTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListContentBundlesResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CreativeTemplateTypeEnum
+ * @returns ListContentBundlesResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateTypeEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentBundlesResponse;
/**
- * Creates a plain object from a CreativeTemplateTypeEnum message. Also converts values to other types if specified.
- * @param message CreativeTemplateTypeEnum
+ * Creates a plain object from a ListContentBundlesResponse message. Also converts values to other types if specified.
+ * @param message ListContentBundlesResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListContentBundlesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CreativeTemplateTypeEnum to JSON.
+ * Converts this ListContentBundlesResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CreativeTemplateTypeEnum
+ * Gets the default type url for ListContentBundlesResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CreativeTemplateTypeEnum {
+ /** Properties of a ContentLabel. */
+ interface IContentLabel {
- /** CreativeTemplateType enum. */
- enum CreativeTemplateType {
- CREATIVE_TEMPLATE_TYPE_UNSPECIFIED = 0,
- STANDARD = 1,
- CUSTOM = 2
- }
- }
+ /** ContentLabel name */
+ name?: (string|null);
- /** Properties of a CreativeTemplateStatusEnum. */
- interface ICreativeTemplateStatusEnum {
+ /** ContentLabel displayName */
+ displayName?: (string|null);
}
- /** Represents a CreativeTemplateStatusEnum. */
- class CreativeTemplateStatusEnum implements ICreativeTemplateStatusEnum {
+ /** Represents a ContentLabel. */
+ class ContentLabel implements IContentLabel {
/**
- * Constructs a new CreativeTemplateStatusEnum.
+ * Constructs a new ContentLabel.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICreativeTemplateStatusEnum);
+ constructor(properties?: google.ads.admanager.v1.IContentLabel);
+
+ /** ContentLabel name. */
+ public name: string;
+
+ /** ContentLabel displayName. */
+ public displayName: string;
/**
- * Creates a new CreativeTemplateStatusEnum instance using the specified properties.
+ * Creates a new ContentLabel instance using the specified properties.
* @param [properties] Properties to set
- * @returns CreativeTemplateStatusEnum instance
+ * @returns ContentLabel instance
*/
- public static create(properties?: google.ads.admanager.v1.ICreativeTemplateStatusEnum): google.ads.admanager.v1.CreativeTemplateStatusEnum;
+ public static create(properties?: google.ads.admanager.v1.IContentLabel): google.ads.admanager.v1.ContentLabel;
/**
- * Encodes the specified CreativeTemplateStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateStatusEnum.verify|verify} messages.
- * @param message CreativeTemplateStatusEnum message or plain object to encode
+ * Encodes the specified ContentLabel message. Does not implicitly {@link google.ads.admanager.v1.ContentLabel.verify|verify} messages.
+ * @param message ContentLabel message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICreativeTemplateStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IContentLabel, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CreativeTemplateStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateStatusEnum.verify|verify} messages.
- * @param message CreativeTemplateStatusEnum message or plain object to encode
+ * Encodes the specified ContentLabel message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ContentLabel.verify|verify} messages.
+ * @param message ContentLabel message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplateStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IContentLabel, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CreativeTemplateStatusEnum message from the specified reader or buffer.
+ * Decodes a ContentLabel message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CreativeTemplateStatusEnum
+ * @returns ContentLabel
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateStatusEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ContentLabel;
/**
- * Decodes a CreativeTemplateStatusEnum message from the specified reader or buffer, length delimited.
+ * Decodes a ContentLabel message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CreativeTemplateStatusEnum
+ * @returns ContentLabel
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateStatusEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ContentLabel;
/**
- * Verifies a CreativeTemplateStatusEnum message.
+ * Verifies a ContentLabel message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CreativeTemplateStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a ContentLabel message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CreativeTemplateStatusEnum
+ * @returns ContentLabel
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateStatusEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ContentLabel;
/**
- * Creates a plain object from a CreativeTemplateStatusEnum message. Also converts values to other types if specified.
- * @param message CreativeTemplateStatusEnum
+ * Creates a plain object from a ContentLabel message. Also converts values to other types if specified.
+ * @param message ContentLabel
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ContentLabel, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CreativeTemplateStatusEnum to JSON.
+ * Converts this ContentLabel to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CreativeTemplateStatusEnum
+ * Gets the default type url for ContentLabel
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CreativeTemplateStatusEnum {
-
- /** CreativeTemplateStatus enum. */
- enum CreativeTemplateStatus {
- CREATIVE_TEMPLATE_STATUS_UNSPECIFIED = 0,
- ACTIVE = 1,
- DELETED = 2,
- INACTIVE = 3
- }
- }
-
- /** Properties of a CreativeTemplate. */
- interface ICreativeTemplate {
+ /** Represents a ContentLabelService */
+ class ContentLabelService extends $protobuf.rpc.Service {
- /** CreativeTemplate name */
- name?: (string|null);
+ /**
+ * Constructs a new ContentLabelService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /** CreativeTemplate displayName */
- displayName?: (string|null);
+ /**
+ * Creates new ContentLabelService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContentLabelService;
- /** CreativeTemplate description */
- description?: (string|null);
+ /**
+ * Calls GetContentLabel.
+ * @param request GetContentLabelRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ContentLabel
+ */
+ public getContentLabel(request: google.ads.admanager.v1.IGetContentLabelRequest, callback: google.ads.admanager.v1.ContentLabelService.GetContentLabelCallback): void;
- /** CreativeTemplate snippet */
- snippet?: (string|null);
+ /**
+ * Calls GetContentLabel.
+ * @param request GetContentLabelRequest message or plain object
+ * @returns Promise
+ */
+ public getContentLabel(request: google.ads.admanager.v1.IGetContentLabelRequest): Promise;
- /** CreativeTemplate status */
- status?: (google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus|keyof typeof google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus|null);
+ /**
+ * Calls ListContentLabels.
+ * @param request ListContentLabelsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListContentLabelsResponse
+ */
+ public listContentLabels(request: google.ads.admanager.v1.IListContentLabelsRequest, callback: google.ads.admanager.v1.ContentLabelService.ListContentLabelsCallback): void;
- /** CreativeTemplate type */
- type?: (google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType|keyof typeof google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType|null);
+ /**
+ * Calls ListContentLabels.
+ * @param request ListContentLabelsRequest message or plain object
+ * @returns Promise
+ */
+ public listContentLabels(request: google.ads.admanager.v1.IListContentLabelsRequest): Promise;
+ }
- /** CreativeTemplate interstitial */
- interstitial?: (boolean|null);
+ namespace ContentLabelService {
- /** CreativeTemplate nativeEligible */
- nativeEligible?: (boolean|null);
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContentLabelService|getContentLabel}.
+ * @param error Error, if any
+ * @param [response] ContentLabel
+ */
+ type GetContentLabelCallback = (error: (Error|null), response?: google.ads.admanager.v1.ContentLabel) => void;
- /** CreativeTemplate nativeVideoEligible */
- nativeVideoEligible?: (boolean|null);
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContentLabelService|listContentLabels}.
+ * @param error Error, if any
+ * @param [response] ListContentLabelsResponse
+ */
+ type ListContentLabelsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListContentLabelsResponse) => void;
+ }
- /** CreativeTemplate safeFrameCompatible */
- safeFrameCompatible?: (boolean|null);
+ /** Properties of a GetContentLabelRequest. */
+ interface IGetContentLabelRequest {
- /** CreativeTemplate variables */
- variables?: (google.ads.admanager.v1.ICreativeTemplateVariable[]|null);
+ /** GetContentLabelRequest name */
+ name?: (string|null);
}
- /** Represents a CreativeTemplate. */
- class CreativeTemplate implements ICreativeTemplate {
+ /** Represents a GetContentLabelRequest. */
+ class GetContentLabelRequest implements IGetContentLabelRequest {
/**
- * Constructs a new CreativeTemplate.
+ * Constructs a new GetContentLabelRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICreativeTemplate);
+ constructor(properties?: google.ads.admanager.v1.IGetContentLabelRequest);
- /** CreativeTemplate name. */
+ /** GetContentLabelRequest name. */
public name: string;
- /** CreativeTemplate displayName. */
- public displayName?: (string|null);
-
- /** CreativeTemplate description. */
- public description?: (string|null);
-
- /** CreativeTemplate snippet. */
- public snippet?: (string|null);
-
- /** CreativeTemplate status. */
- public status?: (google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus|keyof typeof google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus|null);
-
- /** CreativeTemplate type. */
- public type?: (google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType|keyof typeof google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType|null);
-
- /** CreativeTemplate interstitial. */
- public interstitial?: (boolean|null);
-
- /** CreativeTemplate nativeEligible. */
- public nativeEligible?: (boolean|null);
-
- /** CreativeTemplate nativeVideoEligible. */
- public nativeVideoEligible?: (boolean|null);
-
- /** CreativeTemplate safeFrameCompatible. */
- public safeFrameCompatible?: (boolean|null);
-
- /** CreativeTemplate variables. */
- public variables: google.ads.admanager.v1.ICreativeTemplateVariable[];
-
/**
- * Creates a new CreativeTemplate instance using the specified properties.
+ * Creates a new GetContentLabelRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CreativeTemplate instance
+ * @returns GetContentLabelRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICreativeTemplate): google.ads.admanager.v1.CreativeTemplate;
+ public static create(properties?: google.ads.admanager.v1.IGetContentLabelRequest): google.ads.admanager.v1.GetContentLabelRequest;
/**
- * Encodes the specified CreativeTemplate message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplate.verify|verify} messages.
- * @param message CreativeTemplate message or plain object to encode
+ * Encodes the specified GetContentLabelRequest message. Does not implicitly {@link google.ads.admanager.v1.GetContentLabelRequest.verify|verify} messages.
+ * @param message GetContentLabelRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICreativeTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetContentLabelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CreativeTemplate message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplate.verify|verify} messages.
- * @param message CreativeTemplate message or plain object to encode
+ * Encodes the specified GetContentLabelRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetContentLabelRequest.verify|verify} messages.
+ * @param message GetContentLabelRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetContentLabelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CreativeTemplate message from the specified reader or buffer.
+ * Decodes a GetContentLabelRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CreativeTemplate
+ * @returns GetContentLabelRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplate;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetContentLabelRequest;
/**
- * Decodes a CreativeTemplate message from the specified reader or buffer, length delimited.
+ * Decodes a GetContentLabelRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CreativeTemplate
+ * @returns GetContentLabelRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplate;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetContentLabelRequest;
/**
- * Verifies a CreativeTemplate message.
+ * Verifies a GetContentLabelRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CreativeTemplate message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetContentLabelRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CreativeTemplate
+ * @returns GetContentLabelRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplate;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetContentLabelRequest;
/**
- * Creates a plain object from a CreativeTemplate message. Also converts values to other types if specified.
- * @param message CreativeTemplate
+ * Creates a plain object from a GetContentLabelRequest message. Also converts values to other types if specified.
+ * @param message GetContentLabelRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CreativeTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetContentLabelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CreativeTemplate to JSON.
+ * Converts this GetContentLabelRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CreativeTemplate
+ * Gets the default type url for GetContentLabelRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CreativeTemplateVariable. */
- interface ICreativeTemplateVariable {
-
- /** CreativeTemplateVariable assetVariable */
- assetVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable|null);
-
- /** CreativeTemplateVariable listStringVariable */
- listStringVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable|null);
-
- /** CreativeTemplateVariable longVariable */
- longVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable|null);
+ /** Properties of a ListContentLabelsRequest. */
+ interface IListContentLabelsRequest {
- /** CreativeTemplateVariable stringVariable */
- stringVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable|null);
+ /** ListContentLabelsRequest parent */
+ parent?: (string|null);
- /** CreativeTemplateVariable urlVariable */
- urlVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable|null);
+ /** ListContentLabelsRequest pageSize */
+ pageSize?: (number|null);
- /** CreativeTemplateVariable label */
- label?: (string|null);
+ /** ListContentLabelsRequest pageToken */
+ pageToken?: (string|null);
- /** CreativeTemplateVariable uniqueDisplayName */
- uniqueDisplayName?: (string|null);
+ /** ListContentLabelsRequest filter */
+ filter?: (string|null);
- /** CreativeTemplateVariable description */
- description?: (string|null);
+ /** ListContentLabelsRequest orderBy */
+ orderBy?: (string|null);
- /** CreativeTemplateVariable required */
- required?: (boolean|null);
+ /** ListContentLabelsRequest skip */
+ skip?: (number|null);
}
- /** Represents a CreativeTemplateVariable. */
- class CreativeTemplateVariable implements ICreativeTemplateVariable {
+ /** Represents a ListContentLabelsRequest. */
+ class ListContentLabelsRequest implements IListContentLabelsRequest {
/**
- * Constructs a new CreativeTemplateVariable.
+ * Constructs a new ListContentLabelsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICreativeTemplateVariable);
-
- /** CreativeTemplateVariable assetVariable. */
- public assetVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable|null);
-
- /** CreativeTemplateVariable listStringVariable. */
- public listStringVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable|null);
-
- /** CreativeTemplateVariable longVariable. */
- public longVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable|null);
-
- /** CreativeTemplateVariable stringVariable. */
- public stringVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable|null);
+ constructor(properties?: google.ads.admanager.v1.IListContentLabelsRequest);
- /** CreativeTemplateVariable urlVariable. */
- public urlVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable|null);
+ /** ListContentLabelsRequest parent. */
+ public parent: string;
- /** CreativeTemplateVariable label. */
- public label?: (string|null);
+ /** ListContentLabelsRequest pageSize. */
+ public pageSize: number;
- /** CreativeTemplateVariable uniqueDisplayName. */
- public uniqueDisplayName?: (string|null);
+ /** ListContentLabelsRequest pageToken. */
+ public pageToken: string;
- /** CreativeTemplateVariable description. */
- public description?: (string|null);
+ /** ListContentLabelsRequest filter. */
+ public filter: string;
- /** CreativeTemplateVariable required. */
- public required?: (boolean|null);
+ /** ListContentLabelsRequest orderBy. */
+ public orderBy: string;
- /** CreativeTemplateVariable SubType. */
- public SubType?: ("assetVariable"|"listStringVariable"|"longVariable"|"stringVariable"|"urlVariable");
+ /** ListContentLabelsRequest skip. */
+ public skip: number;
/**
- * Creates a new CreativeTemplateVariable instance using the specified properties.
+ * Creates a new ListContentLabelsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CreativeTemplateVariable instance
+ * @returns ListContentLabelsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable;
+ public static create(properties?: google.ads.admanager.v1.IListContentLabelsRequest): google.ads.admanager.v1.ListContentLabelsRequest;
/**
- * Encodes the specified CreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.verify|verify} messages.
- * @param message CreativeTemplateVariable message or plain object to encode
+ * Encodes the specified ListContentLabelsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListContentLabelsRequest.verify|verify} messages.
+ * @param message ListContentLabelsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListContentLabelsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.verify|verify} messages.
- * @param message CreativeTemplateVariable message or plain object to encode
+ * Encodes the specified ListContentLabelsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentLabelsRequest.verify|verify} messages.
+ * @param message ListContentLabelsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListContentLabelsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CreativeTemplateVariable message from the specified reader or buffer.
+ * Decodes a ListContentLabelsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CreativeTemplateVariable
+ * @returns ListContentLabelsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentLabelsRequest;
/**
- * Decodes a CreativeTemplateVariable message from the specified reader or buffer, length delimited.
+ * Decodes a ListContentLabelsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CreativeTemplateVariable
+ * @returns ListContentLabelsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentLabelsRequest;
/**
- * Verifies a CreativeTemplateVariable message.
+ * Verifies a ListContentLabelsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListContentLabelsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CreativeTemplateVariable
+ * @returns ListContentLabelsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentLabelsRequest;
/**
- * Creates a plain object from a CreativeTemplateVariable message. Also converts values to other types if specified.
- * @param message CreativeTemplateVariable
+ * Creates a plain object from a ListContentLabelsRequest message. Also converts values to other types if specified.
+ * @param message ListContentLabelsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListContentLabelsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CreativeTemplateVariable to JSON.
+ * Converts this ListContentLabelsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CreativeTemplateVariable
+ * Gets the default type url for ListContentLabelsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CreativeTemplateVariable {
-
- /** Properties of an AssetCreativeTemplateVariable. */
- interface IAssetCreativeTemplateVariable {
+ /** Properties of a ListContentLabelsResponse. */
+ interface IListContentLabelsResponse {
- /** AssetCreativeTemplateVariable mimeTypes */
- mimeTypes?: (google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeType[]|null);
- }
+ /** ListContentLabelsResponse contentLabels */
+ contentLabels?: (google.ads.admanager.v1.IContentLabel[]|null);
- /** Represents an AssetCreativeTemplateVariable. */
- class AssetCreativeTemplateVariable implements IAssetCreativeTemplateVariable {
+ /** ListContentLabelsResponse nextPageToken */
+ nextPageToken?: (string|null);
- /**
- * Constructs a new AssetCreativeTemplateVariable.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable);
+ /** ListContentLabelsResponse totalSize */
+ totalSize?: (number|null);
+ }
- /** AssetCreativeTemplateVariable mimeTypes. */
- public mimeTypes: google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeType[];
+ /** Represents a ListContentLabelsResponse. */
+ class ListContentLabelsResponse implements IListContentLabelsResponse {
- /**
- * Creates a new AssetCreativeTemplateVariable instance using the specified properties.
- * @param [properties] Properties to set
- * @returns AssetCreativeTemplateVariable instance
- */
- public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable;
+ /**
+ * Constructs a new ListContentLabelsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IListContentLabelsResponse);
- /**
- * Encodes the specified AssetCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.verify|verify} messages.
- * @param message AssetCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /** ListContentLabelsResponse contentLabels. */
+ public contentLabels: google.ads.admanager.v1.IContentLabel[];
- /**
- * Encodes the specified AssetCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.verify|verify} messages.
- * @param message AssetCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /** ListContentLabelsResponse nextPageToken. */
+ public nextPageToken: string;
- /**
- * Decodes an AssetCreativeTemplateVariable message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns AssetCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable;
+ /** ListContentLabelsResponse totalSize. */
+ public totalSize: number;
- /**
- * Decodes an AssetCreativeTemplateVariable message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns AssetCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable;
+ /**
+ * Creates a new ListContentLabelsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListContentLabelsResponse instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IListContentLabelsResponse): google.ads.admanager.v1.ListContentLabelsResponse;
- /**
- * Verifies an AssetCreativeTemplateVariable message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
+ /**
+ * Encodes the specified ListContentLabelsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListContentLabelsResponse.verify|verify} messages.
+ * @param message ListContentLabelsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IListContentLabelsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Creates an AssetCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns AssetCreativeTemplateVariable
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable;
+ /**
+ * Encodes the specified ListContentLabelsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentLabelsResponse.verify|verify} messages.
+ * @param message ListContentLabelsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IListContentLabelsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Creates a plain object from an AssetCreativeTemplateVariable message. Also converts values to other types if specified.
- * @param message AssetCreativeTemplateVariable
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ /**
+ * Decodes a ListContentLabelsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListContentLabelsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentLabelsResponse;
- /**
- * Converts this AssetCreativeTemplateVariable to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
+ /**
+ * Decodes a ListContentLabelsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListContentLabelsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentLabelsResponse;
- /**
- * Gets the default type url for AssetCreativeTemplateVariable
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
+ /**
+ * Verifies a ListContentLabelsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
- namespace AssetCreativeTemplateVariable {
+ /**
+ * Creates a ListContentLabelsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListContentLabelsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentLabelsResponse;
- /** MimeType enum. */
- enum MimeType {
- MIME_TYPE_UNSPECIFIED = 0,
- JPG = 1,
- PNG = 2,
- GIF = 3
- }
- }
+ /**
+ * Creates a plain object from a ListContentLabelsResponse message. Also converts values to other types if specified.
+ * @param message ListContentLabelsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.ListContentLabelsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /** Properties of a ListStringCreativeTemplateVariable. */
- interface IListStringCreativeTemplateVariable {
+ /**
+ * Converts this ListContentLabelsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
- /** ListStringCreativeTemplateVariable defaultValue */
- defaultValue?: (string|null);
+ /**
+ * Gets the default type url for ListContentLabelsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
- /** ListStringCreativeTemplateVariable sampleValue */
- sampleValue?: (string|null);
+ /** Properties of a Content. */
+ interface IContent {
- /** ListStringCreativeTemplateVariable choices */
- choices?: (google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice[]|null);
+ /** Content name */
+ name?: (string|null);
- /** ListStringCreativeTemplateVariable allowOtherChoice */
- allowOtherChoice?: (boolean|null);
- }
+ /** Content displayName */
+ displayName?: (string|null);
+ }
- /** Represents a ListStringCreativeTemplateVariable. */
- class ListStringCreativeTemplateVariable implements IListStringCreativeTemplateVariable {
+ /** Represents a Content. */
+ class Content implements IContent {
- /**
- * Constructs a new ListStringCreativeTemplateVariable.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable);
+ /**
+ * Constructs a new Content.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IContent);
- /** ListStringCreativeTemplateVariable defaultValue. */
- public defaultValue?: (string|null);
+ /** Content name. */
+ public name: string;
- /** ListStringCreativeTemplateVariable sampleValue. */
- public sampleValue?: (string|null);
+ /** Content displayName. */
+ public displayName?: (string|null);
- /** ListStringCreativeTemplateVariable choices. */
- public choices: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice[];
+ /**
+ * Creates a new Content instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Content instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IContent): google.ads.admanager.v1.Content;
- /** ListStringCreativeTemplateVariable allowOtherChoice. */
- public allowOtherChoice?: (boolean|null);
+ /**
+ * Encodes the specified Content message. Does not implicitly {@link google.ads.admanager.v1.Content.verify|verify} messages.
+ * @param message Content message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Creates a new ListStringCreativeTemplateVariable instance using the specified properties.
- * @param [properties] Properties to set
- * @returns ListStringCreativeTemplateVariable instance
- */
- public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable;
+ /**
+ * Encodes the specified Content message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Content.verify|verify} messages.
+ * @param message Content message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified ListStringCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.verify|verify} messages.
- * @param message ListStringCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /**
+ * Decodes a Content message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Content
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Content;
- /**
- * Encodes the specified ListStringCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.verify|verify} messages.
- * @param message ListStringCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /**
+ * Decodes a Content message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Content
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Content;
- /**
- * Decodes a ListStringCreativeTemplateVariable message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns ListStringCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable;
+ /**
+ * Verifies a Content message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Decodes a ListStringCreativeTemplateVariable message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns ListStringCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable;
+ /**
+ * Creates a Content message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Content
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Content;
- /**
- * Verifies a ListStringCreativeTemplateVariable message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
+ /**
+ * Creates a plain object from a Content message. Also converts values to other types if specified.
+ * @param message Content
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.Content, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Creates a ListStringCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns ListStringCreativeTemplateVariable
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable;
+ /**
+ * Converts this Content to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
- /**
- * Creates a plain object from a ListStringCreativeTemplateVariable message. Also converts values to other types if specified.
- * @param message ListStringCreativeTemplateVariable
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ /**
+ * Gets the default type url for Content
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
- /**
- * Converts this ListStringCreativeTemplateVariable to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
+ /** Represents a ContentService */
+ class ContentService extends $protobuf.rpc.Service {
- /**
- * Gets the default type url for ListStringCreativeTemplateVariable
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
+ /**
+ * Constructs a new ContentService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- namespace ListStringCreativeTemplateVariable {
+ /**
+ * Creates new ContentService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ContentService;
- /** Properties of a VariableChoice. */
- interface IVariableChoice {
+ /**
+ * Calls GetContent.
+ * @param request GetContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Content
+ */
+ public getContent(request: google.ads.admanager.v1.IGetContentRequest, callback: google.ads.admanager.v1.ContentService.GetContentCallback): void;
- /** VariableChoice label */
- label?: (string|null);
+ /**
+ * Calls GetContent.
+ * @param request GetContentRequest message or plain object
+ * @returns Promise
+ */
+ public getContent(request: google.ads.admanager.v1.IGetContentRequest): Promise;
- /** VariableChoice value */
- value?: (string|null);
- }
+ /**
+ * Calls ListContent.
+ * @param request ListContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListContentResponse
+ */
+ public listContent(request: google.ads.admanager.v1.IListContentRequest, callback: google.ads.admanager.v1.ContentService.ListContentCallback): void;
- /** Represents a VariableChoice. */
- class VariableChoice implements IVariableChoice {
+ /**
+ * Calls ListContent.
+ * @param request ListContentRequest message or plain object
+ * @returns Promise
+ */
+ public listContent(request: google.ads.admanager.v1.IListContentRequest): Promise;
+ }
- /**
- * Constructs a new VariableChoice.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice);
+ namespace ContentService {
- /** VariableChoice label. */
- public label?: (string|null);
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContentService|getContent}.
+ * @param error Error, if any
+ * @param [response] Content
+ */
+ type GetContentCallback = (error: (Error|null), response?: google.ads.admanager.v1.Content) => void;
- /** VariableChoice value. */
- public value?: (string|null);
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ContentService|listContent}.
+ * @param error Error, if any
+ * @param [response] ListContentResponse
+ */
+ type ListContentCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListContentResponse) => void;
+ }
- /**
- * Creates a new VariableChoice instance using the specified properties.
- * @param [properties] Properties to set
- * @returns VariableChoice instance
- */
- public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice;
+ /** Properties of a GetContentRequest. */
+ interface IGetContentRequest {
- /**
- * Encodes the specified VariableChoice message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice.verify|verify} messages.
- * @param message VariableChoice message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice, writer?: $protobuf.Writer): $protobuf.Writer;
+ /** GetContentRequest name */
+ name?: (string|null);
+ }
- /**
- * Encodes the specified VariableChoice message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice.verify|verify} messages.
- * @param message VariableChoice message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice, writer?: $protobuf.Writer): $protobuf.Writer;
+ /** Represents a GetContentRequest. */
+ class GetContentRequest implements IGetContentRequest {
- /**
- * Decodes a VariableChoice message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns VariableChoice
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice;
+ /**
+ * Constructs a new GetContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IGetContentRequest);
- /**
- * Decodes a VariableChoice message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns VariableChoice
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice;
+ /** GetContentRequest name. */
+ public name: string;
- /**
- * Verifies a VariableChoice message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
+ /**
+ * Creates a new GetContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetContentRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IGetContentRequest): google.ads.admanager.v1.GetContentRequest;
- /**
- * Creates a VariableChoice message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns VariableChoice
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice;
+ /**
+ * Encodes the specified GetContentRequest message. Does not implicitly {@link google.ads.admanager.v1.GetContentRequest.verify|verify} messages.
+ * @param message GetContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IGetContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Creates a plain object from a VariableChoice message. Also converts values to other types if specified.
- * @param message VariableChoice
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ /**
+ * Encodes the specified GetContentRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetContentRequest.verify|verify} messages.
+ * @param message GetContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Converts this VariableChoice to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
+ /**
+ * Decodes a GetContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetContentRequest;
- /**
- * Gets the default type url for VariableChoice
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
- }
+ /**
+ * Decodes a GetContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetContentRequest;
- /** Properties of a LongCreativeTemplateVariable. */
- interface ILongCreativeTemplateVariable {
+ /**
+ * Verifies a GetContentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
- /** LongCreativeTemplateVariable defaultValue */
- defaultValue?: (number|Long|string|null);
+ /**
+ * Creates a GetContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetContentRequest;
- /** LongCreativeTemplateVariable sampleValue */
- sampleValue?: (number|Long|string|null);
- }
+ /**
+ * Creates a plain object from a GetContentRequest message. Also converts values to other types if specified.
+ * @param message GetContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.GetContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /** Represents a LongCreativeTemplateVariable. */
- class LongCreativeTemplateVariable implements ILongCreativeTemplateVariable {
+ /**
+ * Converts this GetContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
- /**
- * Constructs a new LongCreativeTemplateVariable.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable);
+ /**
+ * Gets the default type url for GetContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
- /** LongCreativeTemplateVariable defaultValue. */
- public defaultValue?: (number|Long|string|null);
+ /** Properties of a ListContentRequest. */
+ interface IListContentRequest {
- /** LongCreativeTemplateVariable sampleValue. */
- public sampleValue?: (number|Long|string|null);
+ /** ListContentRequest parent */
+ parent?: (string|null);
- /**
- * Creates a new LongCreativeTemplateVariable instance using the specified properties.
- * @param [properties] Properties to set
- * @returns LongCreativeTemplateVariable instance
- */
- public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable;
+ /** ListContentRequest pageSize */
+ pageSize?: (number|null);
- /**
+ /** ListContentRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListContentRequest filter */
+ filter?: (string|null);
+
+ /** ListContentRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListContentRequest skip */
+ skip?: (number|null);
+ }
+
+ /** Represents a ListContentRequest. */
+ class ListContentRequest implements IListContentRequest {
+
+ /**
+ * Constructs a new ListContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IListContentRequest);
+
+ /** ListContentRequest parent. */
+ public parent: string;
+
+ /** ListContentRequest pageSize. */
+ public pageSize: number;
+
+ /** ListContentRequest pageToken. */
+ public pageToken: string;
+
+ /** ListContentRequest filter. */
+ public filter: string;
+
+ /** ListContentRequest orderBy. */
+ public orderBy: string;
+
+ /** ListContentRequest skip. */
+ public skip: number;
+
+ /**
+ * Creates a new ListContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListContentRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IListContentRequest): google.ads.admanager.v1.ListContentRequest;
+
+ /**
+ * Encodes the specified ListContentRequest message. Does not implicitly {@link google.ads.admanager.v1.ListContentRequest.verify|verify} messages.
+ * @param message ListContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IListContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListContentRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentRequest.verify|verify} messages.
+ * @param message ListContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IListContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentRequest;
+
+ /**
+ * Decodes a ListContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentRequest;
+
+ /**
+ * Verifies a ListContentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentRequest;
+
+ /**
+ * Creates a plain object from a ListContentRequest message. Also converts values to other types if specified.
+ * @param message ListContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.ListContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListContentResponse. */
+ interface IListContentResponse {
+
+ /** ListContentResponse content */
+ content?: (google.ads.admanager.v1.IContent[]|null);
+
+ /** ListContentResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListContentResponse totalSize */
+ totalSize?: (number|null);
+ }
+
+ /** Represents a ListContentResponse. */
+ class ListContentResponse implements IListContentResponse {
+
+ /**
+ * Constructs a new ListContentResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IListContentResponse);
+
+ /** ListContentResponse content. */
+ public content: google.ads.admanager.v1.IContent[];
+
+ /** ListContentResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListContentResponse totalSize. */
+ public totalSize: number;
+
+ /**
+ * Creates a new ListContentResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListContentResponse instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IListContentResponse): google.ads.admanager.v1.ListContentResponse;
+
+ /**
+ * Encodes the specified ListContentResponse message. Does not implicitly {@link google.ads.admanager.v1.ListContentResponse.verify|verify} messages.
+ * @param message ListContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IListContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListContentResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListContentResponse.verify|verify} messages.
+ * @param message ListContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IListContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListContentResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListContentResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListContentResponse;
+
+ /**
+ * Decodes a ListContentResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListContentResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListContentResponse;
+
+ /**
+ * Verifies a ListContentResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListContentResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListContentResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListContentResponse;
+
+ /**
+ * Creates a plain object from a ListContentResponse message. Also converts values to other types if specified.
+ * @param message ListContentResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.ListContentResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListContentResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListContentResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreativeTemplateTypeEnum. */
+ interface ICreativeTemplateTypeEnum {
+ }
+
+ /** Represents a CreativeTemplateTypeEnum. */
+ class CreativeTemplateTypeEnum implements ICreativeTemplateTypeEnum {
+
+ /**
+ * Constructs a new CreativeTemplateTypeEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICreativeTemplateTypeEnum);
+
+ /**
+ * Creates a new CreativeTemplateTypeEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreativeTemplateTypeEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICreativeTemplateTypeEnum): google.ads.admanager.v1.CreativeTemplateTypeEnum;
+
+ /**
+ * Encodes the specified CreativeTemplateTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateTypeEnum.verify|verify} messages.
+ * @param message CreativeTemplateTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICreativeTemplateTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreativeTemplateTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateTypeEnum.verify|verify} messages.
+ * @param message CreativeTemplateTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplateTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreativeTemplateTypeEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreativeTemplateTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateTypeEnum;
+
+ /**
+ * Decodes a CreativeTemplateTypeEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreativeTemplateTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateTypeEnum;
+
+ /**
+ * Verifies a CreativeTemplateTypeEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreativeTemplateTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreativeTemplateTypeEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateTypeEnum;
+
+ /**
+ * Creates a plain object from a CreativeTemplateTypeEnum message. Also converts values to other types if specified.
+ * @param message CreativeTemplateTypeEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreativeTemplateTypeEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreativeTemplateTypeEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CreativeTemplateTypeEnum {
+
+ /** CreativeTemplateType enum. */
+ enum CreativeTemplateType {
+ CREATIVE_TEMPLATE_TYPE_UNSPECIFIED = 0,
+ STANDARD = 1,
+ CUSTOM = 2
+ }
+ }
+
+ /** Properties of a CreativeTemplateStatusEnum. */
+ interface ICreativeTemplateStatusEnum {
+ }
+
+ /** Represents a CreativeTemplateStatusEnum. */
+ class CreativeTemplateStatusEnum implements ICreativeTemplateStatusEnum {
+
+ /**
+ * Constructs a new CreativeTemplateStatusEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICreativeTemplateStatusEnum);
+
+ /**
+ * Creates a new CreativeTemplateStatusEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreativeTemplateStatusEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICreativeTemplateStatusEnum): google.ads.admanager.v1.CreativeTemplateStatusEnum;
+
+ /**
+ * Encodes the specified CreativeTemplateStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateStatusEnum.verify|verify} messages.
+ * @param message CreativeTemplateStatusEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICreativeTemplateStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreativeTemplateStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateStatusEnum.verify|verify} messages.
+ * @param message CreativeTemplateStatusEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplateStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreativeTemplateStatusEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreativeTemplateStatusEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateStatusEnum;
+
+ /**
+ * Decodes a CreativeTemplateStatusEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreativeTemplateStatusEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateStatusEnum;
+
+ /**
+ * Verifies a CreativeTemplateStatusEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreativeTemplateStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreativeTemplateStatusEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateStatusEnum;
+
+ /**
+ * Creates a plain object from a CreativeTemplateStatusEnum message. Also converts values to other types if specified.
+ * @param message CreativeTemplateStatusEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreativeTemplateStatusEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreativeTemplateStatusEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CreativeTemplateStatusEnum {
+
+ /** CreativeTemplateStatus enum. */
+ enum CreativeTemplateStatus {
+ CREATIVE_TEMPLATE_STATUS_UNSPECIFIED = 0,
+ ACTIVE = 1,
+ DELETED = 2,
+ INACTIVE = 3
+ }
+ }
+
+ /** Properties of a CreativeTemplate. */
+ interface ICreativeTemplate {
+
+ /** CreativeTemplate name */
+ name?: (string|null);
+
+ /** CreativeTemplate displayName */
+ displayName?: (string|null);
+
+ /** CreativeTemplate description */
+ description?: (string|null);
+
+ /** CreativeTemplate snippet */
+ snippet?: (string|null);
+
+ /** CreativeTemplate status */
+ status?: (google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus|keyof typeof google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus|null);
+
+ /** CreativeTemplate type */
+ type?: (google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType|keyof typeof google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType|null);
+
+ /** CreativeTemplate interstitial */
+ interstitial?: (boolean|null);
+
+ /** CreativeTemplate nativeEligible */
+ nativeEligible?: (boolean|null);
+
+ /** CreativeTemplate nativeVideoEligible */
+ nativeVideoEligible?: (boolean|null);
+
+ /** CreativeTemplate safeFrameCompatible */
+ safeFrameCompatible?: (boolean|null);
+
+ /** CreativeTemplate variables */
+ variables?: (google.ads.admanager.v1.ICreativeTemplateVariable[]|null);
+ }
+
+ /** Represents a CreativeTemplate. */
+ class CreativeTemplate implements ICreativeTemplate {
+
+ /**
+ * Constructs a new CreativeTemplate.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICreativeTemplate);
+
+ /** CreativeTemplate name. */
+ public name: string;
+
+ /** CreativeTemplate displayName. */
+ public displayName?: (string|null);
+
+ /** CreativeTemplate description. */
+ public description?: (string|null);
+
+ /** CreativeTemplate snippet. */
+ public snippet?: (string|null);
+
+ /** CreativeTemplate status. */
+ public status?: (google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus|keyof typeof google.ads.admanager.v1.CreativeTemplateStatusEnum.CreativeTemplateStatus|null);
+
+ /** CreativeTemplate type. */
+ public type?: (google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType|keyof typeof google.ads.admanager.v1.CreativeTemplateTypeEnum.CreativeTemplateType|null);
+
+ /** CreativeTemplate interstitial. */
+ public interstitial?: (boolean|null);
+
+ /** CreativeTemplate nativeEligible. */
+ public nativeEligible?: (boolean|null);
+
+ /** CreativeTemplate nativeVideoEligible. */
+ public nativeVideoEligible?: (boolean|null);
+
+ /** CreativeTemplate safeFrameCompatible. */
+ public safeFrameCompatible?: (boolean|null);
+
+ /** CreativeTemplate variables. */
+ public variables: google.ads.admanager.v1.ICreativeTemplateVariable[];
+
+ /**
+ * Creates a new CreativeTemplate instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreativeTemplate instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICreativeTemplate): google.ads.admanager.v1.CreativeTemplate;
+
+ /**
+ * Encodes the specified CreativeTemplate message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplate.verify|verify} messages.
+ * @param message CreativeTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICreativeTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreativeTemplate message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplate.verify|verify} messages.
+ * @param message CreativeTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreativeTemplate message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreativeTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplate;
+
+ /**
+ * Decodes a CreativeTemplate message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreativeTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplate;
+
+ /**
+ * Verifies a CreativeTemplate message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreativeTemplate message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreativeTemplate
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplate;
+
+ /**
+ * Creates a plain object from a CreativeTemplate message. Also converts values to other types if specified.
+ * @param message CreativeTemplate
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreativeTemplate to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreativeTemplate
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreativeTemplateVariable. */
+ interface ICreativeTemplateVariable {
+
+ /** CreativeTemplateVariable assetVariable */
+ assetVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable listStringVariable */
+ listStringVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable longVariable */
+ longVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable stringVariable */
+ stringVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable urlVariable */
+ urlVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable label */
+ label?: (string|null);
+
+ /** CreativeTemplateVariable uniqueDisplayName */
+ uniqueDisplayName?: (string|null);
+
+ /** CreativeTemplateVariable description */
+ description?: (string|null);
+
+ /** CreativeTemplateVariable required */
+ required?: (boolean|null);
+ }
+
+ /** Represents a CreativeTemplateVariable. */
+ class CreativeTemplateVariable implements ICreativeTemplateVariable {
+
+ /**
+ * Constructs a new CreativeTemplateVariable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICreativeTemplateVariable);
+
+ /** CreativeTemplateVariable assetVariable. */
+ public assetVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable listStringVariable. */
+ public listStringVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable longVariable. */
+ public longVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable stringVariable. */
+ public stringVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable urlVariable. */
+ public urlVariable?: (google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable|null);
+
+ /** CreativeTemplateVariable label. */
+ public label?: (string|null);
+
+ /** CreativeTemplateVariable uniqueDisplayName. */
+ public uniqueDisplayName?: (string|null);
+
+ /** CreativeTemplateVariable description. */
+ public description?: (string|null);
+
+ /** CreativeTemplateVariable required. */
+ public required?: (boolean|null);
+
+ /** CreativeTemplateVariable SubType. */
+ public SubType?: ("assetVariable"|"listStringVariable"|"longVariable"|"stringVariable"|"urlVariable");
+
+ /**
+ * Creates a new CreativeTemplateVariable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreativeTemplateVariable instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable;
+
+ /**
+ * Encodes the specified CreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.verify|verify} messages.
+ * @param message CreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.verify|verify} messages.
+ * @param message CreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreativeTemplateVariable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable;
+
+ /**
+ * Decodes a CreativeTemplateVariable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable;
+
+ /**
+ * Verifies a CreativeTemplateVariable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreativeTemplateVariable
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable;
+
+ /**
+ * Creates a plain object from a CreativeTemplateVariable message. Also converts values to other types if specified.
+ * @param message CreativeTemplateVariable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreativeTemplateVariable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreativeTemplateVariable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CreativeTemplateVariable {
+
+ /** Properties of an AssetCreativeTemplateVariable. */
+ interface IAssetCreativeTemplateVariable {
+
+ /** AssetCreativeTemplateVariable mimeTypes */
+ mimeTypes?: (google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeType[]|null);
+ }
+
+ /** Represents an AssetCreativeTemplateVariable. */
+ class AssetCreativeTemplateVariable implements IAssetCreativeTemplateVariable {
+
+ /**
+ * Constructs a new AssetCreativeTemplateVariable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable);
+
+ /** AssetCreativeTemplateVariable mimeTypes. */
+ public mimeTypes: google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.MimeType[];
+
+ /**
+ * Creates a new AssetCreativeTemplateVariable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AssetCreativeTemplateVariable instance
+ */
+ public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable;
+
+ /**
+ * Encodes the specified AssetCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.verify|verify} messages.
+ * @param message AssetCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AssetCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable.verify|verify} messages.
+ * @param message AssetCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.IAssetCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AssetCreativeTemplateVariable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AssetCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable;
+
+ /**
+ * Decodes an AssetCreativeTemplateVariable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AssetCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable;
+
+ /**
+ * Verifies an AssetCreativeTemplateVariable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AssetCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AssetCreativeTemplateVariable
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable;
+
+ /**
+ * Creates a plain object from an AssetCreativeTemplateVariable message. Also converts values to other types if specified.
+ * @param message AssetCreativeTemplateVariable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AssetCreativeTemplateVariable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AssetCreativeTemplateVariable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AssetCreativeTemplateVariable {
+
+ /** MimeType enum. */
+ enum MimeType {
+ MIME_TYPE_UNSPECIFIED = 0,
+ JPG = 1,
+ PNG = 2,
+ GIF = 3
+ }
+ }
+
+ /** Properties of a ListStringCreativeTemplateVariable. */
+ interface IListStringCreativeTemplateVariable {
+
+ /** ListStringCreativeTemplateVariable defaultValue */
+ defaultValue?: (string|null);
+
+ /** ListStringCreativeTemplateVariable sampleValue */
+ sampleValue?: (string|null);
+
+ /** ListStringCreativeTemplateVariable choices */
+ choices?: (google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice[]|null);
+
+ /** ListStringCreativeTemplateVariable allowOtherChoice */
+ allowOtherChoice?: (boolean|null);
+ }
+
+ /** Represents a ListStringCreativeTemplateVariable. */
+ class ListStringCreativeTemplateVariable implements IListStringCreativeTemplateVariable {
+
+ /**
+ * Constructs a new ListStringCreativeTemplateVariable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable);
+
+ /** ListStringCreativeTemplateVariable defaultValue. */
+ public defaultValue?: (string|null);
+
+ /** ListStringCreativeTemplateVariable sampleValue. */
+ public sampleValue?: (string|null);
+
+ /** ListStringCreativeTemplateVariable choices. */
+ public choices: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice[];
+
+ /** ListStringCreativeTemplateVariable allowOtherChoice. */
+ public allowOtherChoice?: (boolean|null);
+
+ /**
+ * Creates a new ListStringCreativeTemplateVariable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListStringCreativeTemplateVariable instance
+ */
+ public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable;
+
+ /**
+ * Encodes the specified ListStringCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.verify|verify} messages.
+ * @param message ListStringCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListStringCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.verify|verify} messages.
+ * @param message ListStringCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.IListStringCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListStringCreativeTemplateVariable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListStringCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable;
+
+ /**
+ * Decodes a ListStringCreativeTemplateVariable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListStringCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable;
+
+ /**
+ * Verifies a ListStringCreativeTemplateVariable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListStringCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListStringCreativeTemplateVariable
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable;
+
+ /**
+ * Creates a plain object from a ListStringCreativeTemplateVariable message. Also converts values to other types if specified.
+ * @param message ListStringCreativeTemplateVariable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListStringCreativeTemplateVariable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListStringCreativeTemplateVariable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ListStringCreativeTemplateVariable {
+
+ /** Properties of a VariableChoice. */
+ interface IVariableChoice {
+
+ /** VariableChoice label */
+ label?: (string|null);
+
+ /** VariableChoice value */
+ value?: (string|null);
+ }
+
+ /** Represents a VariableChoice. */
+ class VariableChoice implements IVariableChoice {
+
+ /**
+ * Constructs a new VariableChoice.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice);
+
+ /** VariableChoice label. */
+ public label?: (string|null);
+
+ /** VariableChoice value. */
+ public value?: (string|null);
+
+ /**
+ * Creates a new VariableChoice instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VariableChoice instance
+ */
+ public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice;
+
+ /**
+ * Encodes the specified VariableChoice message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice.verify|verify} messages.
+ * @param message VariableChoice message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VariableChoice message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice.verify|verify} messages.
+ * @param message VariableChoice message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.IVariableChoice, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VariableChoice message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VariableChoice
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice;
+
+ /**
+ * Decodes a VariableChoice message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VariableChoice
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice;
+
+ /**
+ * Verifies a VariableChoice message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a VariableChoice message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VariableChoice
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice;
+
+ /**
+ * Creates a plain object from a VariableChoice message. Also converts values to other types if specified.
+ * @param message VariableChoice
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.ListStringCreativeTemplateVariable.VariableChoice, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VariableChoice to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VariableChoice
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a LongCreativeTemplateVariable. */
+ interface ILongCreativeTemplateVariable {
+
+ /** LongCreativeTemplateVariable defaultValue */
+ defaultValue?: (number|Long|string|null);
+
+ /** LongCreativeTemplateVariable sampleValue */
+ sampleValue?: (number|Long|string|null);
+ }
+
+ /** Represents a LongCreativeTemplateVariable. */
+ class LongCreativeTemplateVariable implements ILongCreativeTemplateVariable {
+
+ /**
+ * Constructs a new LongCreativeTemplateVariable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable);
+
+ /** LongCreativeTemplateVariable defaultValue. */
+ public defaultValue?: (number|Long|string|null);
+
+ /** LongCreativeTemplateVariable sampleValue. */
+ public sampleValue?: (number|Long|string|null);
+
+ /**
+ * Creates a new LongCreativeTemplateVariable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LongCreativeTemplateVariable instance
+ */
+ public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable;
+
+ /**
* Encodes the specified LongCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable.verify|verify} messages.
* @param message LongCreativeTemplateVariable message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LongCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable.verify|verify} messages.
+ * @param message LongCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LongCreativeTemplateVariable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LongCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable;
+
+ /**
+ * Decodes a LongCreativeTemplateVariable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LongCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable;
+
+ /**
+ * Verifies a LongCreativeTemplateVariable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LongCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LongCreativeTemplateVariable
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable;
+
+ /**
+ * Creates a plain object from a LongCreativeTemplateVariable message. Also converts values to other types if specified.
+ * @param message LongCreativeTemplateVariable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LongCreativeTemplateVariable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LongCreativeTemplateVariable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StringCreativeTemplateVariable. */
+ interface IStringCreativeTemplateVariable {
+
+ /** StringCreativeTemplateVariable defaultValue */
+ defaultValue?: (string|null);
+
+ /** StringCreativeTemplateVariable sampleValue */
+ sampleValue?: (string|null);
+ }
+
+ /** Represents a StringCreativeTemplateVariable. */
+ class StringCreativeTemplateVariable implements IStringCreativeTemplateVariable {
+
+ /**
+ * Constructs a new StringCreativeTemplateVariable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable);
+
+ /** StringCreativeTemplateVariable defaultValue. */
+ public defaultValue?: (string|null);
+
+ /** StringCreativeTemplateVariable sampleValue. */
+ public sampleValue?: (string|null);
+
+ /**
+ * Creates a new StringCreativeTemplateVariable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StringCreativeTemplateVariable instance
+ */
+ public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable;
+
+ /**
+ * Encodes the specified StringCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable.verify|verify} messages.
+ * @param message StringCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StringCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable.verify|verify} messages.
+ * @param message StringCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StringCreativeTemplateVariable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StringCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable;
+
+ /**
+ * Decodes a StringCreativeTemplateVariable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StringCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable;
+
+ /**
+ * Verifies a StringCreativeTemplateVariable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StringCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StringCreativeTemplateVariable
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable;
+
+ /**
+ * Creates a plain object from a StringCreativeTemplateVariable message. Also converts values to other types if specified.
+ * @param message StringCreativeTemplateVariable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StringCreativeTemplateVariable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StringCreativeTemplateVariable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UrlCreativeTemplateVariable. */
+ interface IUrlCreativeTemplateVariable {
+
+ /** UrlCreativeTemplateVariable defaultValue */
+ defaultValue?: (string|null);
+
+ /** UrlCreativeTemplateVariable sampleValue */
+ sampleValue?: (string|null);
+
+ /** UrlCreativeTemplateVariable urlType */
+ urlType?: (google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType|keyof typeof google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType|null);
+ }
+
+ /** Represents an UrlCreativeTemplateVariable. */
+ class UrlCreativeTemplateVariable implements IUrlCreativeTemplateVariable {
+
+ /**
+ * Constructs a new UrlCreativeTemplateVariable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable);
+
+ /** UrlCreativeTemplateVariable defaultValue. */
+ public defaultValue?: (string|null);
+
+ /** UrlCreativeTemplateVariable sampleValue. */
+ public sampleValue?: (string|null);
+
+ /** UrlCreativeTemplateVariable urlType. */
+ public urlType?: (google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType|keyof typeof google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType|null);
+
+ /**
+ * Creates a new UrlCreativeTemplateVariable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UrlCreativeTemplateVariable instance
+ */
+ public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable;
+
+ /**
+ * Encodes the specified UrlCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable.verify|verify} messages.
+ * @param message UrlCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UrlCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable.verify|verify} messages.
+ * @param message UrlCreativeTemplateVariable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UrlCreativeTemplateVariable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UrlCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable;
+
+ /**
+ * Decodes an UrlCreativeTemplateVariable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UrlCreativeTemplateVariable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable;
+
+ /**
+ * Verifies an UrlCreativeTemplateVariable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UrlCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UrlCreativeTemplateVariable
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable;
+
+ /**
+ * Creates a plain object from an UrlCreativeTemplateVariable message. Also converts values to other types if specified.
+ * @param message UrlCreativeTemplateVariable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UrlCreativeTemplateVariable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UrlCreativeTemplateVariable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a CreativeTemplateVariableUrlTypeEnum. */
+ interface ICreativeTemplateVariableUrlTypeEnum {
+ }
+
+ /** Represents a CreativeTemplateVariableUrlTypeEnum. */
+ class CreativeTemplateVariableUrlTypeEnum implements ICreativeTemplateVariableUrlTypeEnum {
+
+ /**
+ * Constructs a new CreativeTemplateVariableUrlTypeEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICreativeTemplateVariableUrlTypeEnum);
+
+ /**
+ * Creates a new CreativeTemplateVariableUrlTypeEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreativeTemplateVariableUrlTypeEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICreativeTemplateVariableUrlTypeEnum): google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum;
+
+ /**
+ * Encodes the specified CreativeTemplateVariableUrlTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.verify|verify} messages.
+ * @param message CreativeTemplateVariableUrlTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICreativeTemplateVariableUrlTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreativeTemplateVariableUrlTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.verify|verify} messages.
+ * @param message CreativeTemplateVariableUrlTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplateVariableUrlTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreativeTemplateVariableUrlTypeEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreativeTemplateVariableUrlTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum;
+
+ /**
+ * Decodes a CreativeTemplateVariableUrlTypeEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreativeTemplateVariableUrlTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum;
+
+ /**
+ * Verifies a CreativeTemplateVariableUrlTypeEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreativeTemplateVariableUrlTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreativeTemplateVariableUrlTypeEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum;
+
+ /**
+ * Creates a plain object from a CreativeTemplateVariableUrlTypeEnum message. Also converts values to other types if specified.
+ * @param message CreativeTemplateVariableUrlTypeEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreativeTemplateVariableUrlTypeEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreativeTemplateVariableUrlTypeEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CreativeTemplateVariableUrlTypeEnum {
+
+ /** CreativeTemplateVariableUrlType enum. */
+ enum CreativeTemplateVariableUrlType {
+ CREATIVE_TEMPLATE_VARIABLE_URL_TYPE_UNSPECIFIED = 0,
+ CLICK_TRACKER = 1,
+ DEEPLINK = 2,
+ IMPRESSION_TRACKER = 3,
+ STANDARD_HTTP = 4
+ }
+ }
+
+ /** Represents a CreativeTemplateService */
+ class CreativeTemplateService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new CreativeTemplateService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new CreativeTemplateService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CreativeTemplateService;
+
+ /**
+ * Calls GetCreativeTemplate.
+ * @param request GetCreativeTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CreativeTemplate
+ */
+ public getCreativeTemplate(request: google.ads.admanager.v1.IGetCreativeTemplateRequest, callback: google.ads.admanager.v1.CreativeTemplateService.GetCreativeTemplateCallback): void;
+
+ /**
+ * Calls GetCreativeTemplate.
+ * @param request GetCreativeTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public getCreativeTemplate(request: google.ads.admanager.v1.IGetCreativeTemplateRequest): Promise;
+
+ /**
+ * Calls ListCreativeTemplates.
+ * @param request ListCreativeTemplatesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListCreativeTemplatesResponse
+ */
+ public listCreativeTemplates(request: google.ads.admanager.v1.IListCreativeTemplatesRequest, callback: google.ads.admanager.v1.CreativeTemplateService.ListCreativeTemplatesCallback): void;
+
+ /**
+ * Calls ListCreativeTemplates.
+ * @param request ListCreativeTemplatesRequest message or plain object
+ * @returns Promise
+ */
+ public listCreativeTemplates(request: google.ads.admanager.v1.IListCreativeTemplatesRequest): Promise;
+ }
+
+ namespace CreativeTemplateService {
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CreativeTemplateService|getCreativeTemplate}.
+ * @param error Error, if any
+ * @param [response] CreativeTemplate
+ */
+ type GetCreativeTemplateCallback = (error: (Error|null), response?: google.ads.admanager.v1.CreativeTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CreativeTemplateService|listCreativeTemplates}.
+ * @param error Error, if any
+ * @param [response] ListCreativeTemplatesResponse
+ */
+ type ListCreativeTemplatesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCreativeTemplatesResponse) => void;
+ }
+
+ /** Properties of a GetCreativeTemplateRequest. */
+ interface IGetCreativeTemplateRequest {
+
+ /** GetCreativeTemplateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetCreativeTemplateRequest. */
+ class GetCreativeTemplateRequest implements IGetCreativeTemplateRequest {
+
+ /**
+ * Constructs a new GetCreativeTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IGetCreativeTemplateRequest);
+
+ /** GetCreativeTemplateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetCreativeTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetCreativeTemplateRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IGetCreativeTemplateRequest): google.ads.admanager.v1.GetCreativeTemplateRequest;
+
+ /**
+ * Encodes the specified GetCreativeTemplateRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCreativeTemplateRequest.verify|verify} messages.
+ * @param message GetCreativeTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IGetCreativeTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetCreativeTemplateRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCreativeTemplateRequest.verify|verify} messages.
+ * @param message GetCreativeTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetCreativeTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetCreativeTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetCreativeTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCreativeTemplateRequest;
+
+ /**
+ * Decodes a GetCreativeTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetCreativeTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCreativeTemplateRequest;
+
+ /**
+ * Verifies a GetCreativeTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetCreativeTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetCreativeTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCreativeTemplateRequest;
+
+ /**
+ * Creates a plain object from a GetCreativeTemplateRequest message. Also converts values to other types if specified.
+ * @param message GetCreativeTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.GetCreativeTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetCreativeTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetCreativeTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListCreativeTemplatesRequest. */
+ interface IListCreativeTemplatesRequest {
+
+ /** ListCreativeTemplatesRequest parent */
+ parent?: (string|null);
+
+ /** ListCreativeTemplatesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListCreativeTemplatesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListCreativeTemplatesRequest filter */
+ filter?: (string|null);
+
+ /** ListCreativeTemplatesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListCreativeTemplatesRequest skip */
+ skip?: (number|null);
+ }
+
+ /** Represents a ListCreativeTemplatesRequest. */
+ class ListCreativeTemplatesRequest implements IListCreativeTemplatesRequest {
+
+ /**
+ * Constructs a new ListCreativeTemplatesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IListCreativeTemplatesRequest);
+
+ /** ListCreativeTemplatesRequest parent. */
+ public parent: string;
+
+ /** ListCreativeTemplatesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListCreativeTemplatesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListCreativeTemplatesRequest filter. */
+ public filter: string;
+
+ /** ListCreativeTemplatesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListCreativeTemplatesRequest skip. */
+ public skip: number;
+
+ /**
+ * Creates a new ListCreativeTemplatesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListCreativeTemplatesRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IListCreativeTemplatesRequest): google.ads.admanager.v1.ListCreativeTemplatesRequest;
+
+ /**
+ * Encodes the specified ListCreativeTemplatesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCreativeTemplatesRequest.verify|verify} messages.
+ * @param message ListCreativeTemplatesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IListCreativeTemplatesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListCreativeTemplatesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCreativeTemplatesRequest.verify|verify} messages.
+ * @param message ListCreativeTemplatesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCreativeTemplatesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListCreativeTemplatesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListCreativeTemplatesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCreativeTemplatesRequest;
+
+ /**
+ * Decodes a ListCreativeTemplatesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListCreativeTemplatesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCreativeTemplatesRequest;
+
+ /**
+ * Verifies a ListCreativeTemplatesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListCreativeTemplatesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListCreativeTemplatesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCreativeTemplatesRequest;
+
+ /**
+ * Creates a plain object from a ListCreativeTemplatesRequest message. Also converts values to other types if specified.
+ * @param message ListCreativeTemplatesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.ListCreativeTemplatesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListCreativeTemplatesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListCreativeTemplatesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListCreativeTemplatesResponse. */
+ interface IListCreativeTemplatesResponse {
+
+ /** ListCreativeTemplatesResponse creativeTemplates */
+ creativeTemplates?: (google.ads.admanager.v1.ICreativeTemplate[]|null);
+
+ /** ListCreativeTemplatesResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListCreativeTemplatesResponse totalSize */
+ totalSize?: (number|null);
+ }
+
+ /** Represents a ListCreativeTemplatesResponse. */
+ class ListCreativeTemplatesResponse implements IListCreativeTemplatesResponse {
- /**
- * Encodes the specified LongCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable.verify|verify} messages.
- * @param message LongCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.ILongCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /**
+ * Constructs a new ListCreativeTemplatesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IListCreativeTemplatesResponse);
- /**
- * Decodes a LongCreativeTemplateVariable message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns LongCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable;
+ /** ListCreativeTemplatesResponse creativeTemplates. */
+ public creativeTemplates: google.ads.admanager.v1.ICreativeTemplate[];
- /**
- * Decodes a LongCreativeTemplateVariable message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns LongCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable;
+ /** ListCreativeTemplatesResponse nextPageToken. */
+ public nextPageToken: string;
- /**
- * Verifies a LongCreativeTemplateVariable message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
+ /** ListCreativeTemplatesResponse totalSize. */
+ public totalSize: number;
- /**
- * Creates a LongCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns LongCreativeTemplateVariable
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable;
+ /**
+ * Creates a new ListCreativeTemplatesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListCreativeTemplatesResponse instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IListCreativeTemplatesResponse): google.ads.admanager.v1.ListCreativeTemplatesResponse;
- /**
- * Creates a plain object from a LongCreativeTemplateVariable message. Also converts values to other types if specified.
- * @param message LongCreativeTemplateVariable
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.LongCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ /**
+ * Encodes the specified ListCreativeTemplatesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCreativeTemplatesResponse.verify|verify} messages.
+ * @param message ListCreativeTemplatesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IListCreativeTemplatesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Converts this LongCreativeTemplateVariable to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
+ /**
+ * Encodes the specified ListCreativeTemplatesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCreativeTemplatesResponse.verify|verify} messages.
+ * @param message ListCreativeTemplatesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCreativeTemplatesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListCreativeTemplatesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListCreativeTemplatesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCreativeTemplatesResponse;
+
+ /**
+ * Decodes a ListCreativeTemplatesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListCreativeTemplatesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCreativeTemplatesResponse;
+
+ /**
+ * Verifies a ListCreativeTemplatesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListCreativeTemplatesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListCreativeTemplatesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCreativeTemplatesResponse;
+
+ /**
+ * Creates a plain object from a ListCreativeTemplatesResponse message. Also converts values to other types if specified.
+ * @param message ListCreativeTemplatesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.ListCreativeTemplatesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListCreativeTemplatesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListCreativeTemplatesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomFieldDataTypeEnum. */
+ interface ICustomFieldDataTypeEnum {
+ }
+
+ /** Represents a CustomFieldDataTypeEnum. */
+ class CustomFieldDataTypeEnum implements ICustomFieldDataTypeEnum {
+
+ /**
+ * Constructs a new CustomFieldDataTypeEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICustomFieldDataTypeEnum);
+
+ /**
+ * Creates a new CustomFieldDataTypeEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomFieldDataTypeEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICustomFieldDataTypeEnum): google.ads.admanager.v1.CustomFieldDataTypeEnum;
+
+ /**
+ * Encodes the specified CustomFieldDataTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldDataTypeEnum.verify|verify} messages.
+ * @param message CustomFieldDataTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICustomFieldDataTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomFieldDataTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldDataTypeEnum.verify|verify} messages.
+ * @param message CustomFieldDataTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldDataTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomFieldDataTypeEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomFieldDataTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldDataTypeEnum;
+
+ /**
+ * Decodes a CustomFieldDataTypeEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomFieldDataTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldDataTypeEnum;
+
+ /**
+ * Verifies a CustomFieldDataTypeEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomFieldDataTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomFieldDataTypeEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldDataTypeEnum;
+
+ /**
+ * Creates a plain object from a CustomFieldDataTypeEnum message. Also converts values to other types if specified.
+ * @param message CustomFieldDataTypeEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CustomFieldDataTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomFieldDataTypeEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomFieldDataTypeEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CustomFieldDataTypeEnum {
+
+ /** CustomFieldDataType enum. */
+ enum CustomFieldDataType {
+ CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED = 0,
+ STRING = 1,
+ NUMBER = 2,
+ TOGGLE = 3,
+ DROP_DOWN = 4
+ }
+ }
+
+ /** Properties of a CustomFieldEntityTypeEnum. */
+ interface ICustomFieldEntityTypeEnum {
+ }
+
+ /** Represents a CustomFieldEntityTypeEnum. */
+ class CustomFieldEntityTypeEnum implements ICustomFieldEntityTypeEnum {
+
+ /**
+ * Constructs a new CustomFieldEntityTypeEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICustomFieldEntityTypeEnum);
+
+ /**
+ * Creates a new CustomFieldEntityTypeEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomFieldEntityTypeEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICustomFieldEntityTypeEnum): google.ads.admanager.v1.CustomFieldEntityTypeEnum;
+
+ /**
+ * Encodes the specified CustomFieldEntityTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldEntityTypeEnum.verify|verify} messages.
+ * @param message CustomFieldEntityTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICustomFieldEntityTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomFieldEntityTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldEntityTypeEnum.verify|verify} messages.
+ * @param message CustomFieldEntityTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldEntityTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomFieldEntityTypeEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomFieldEntityTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldEntityTypeEnum;
+
+ /**
+ * Decodes a CustomFieldEntityTypeEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomFieldEntityTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldEntityTypeEnum;
+
+ /**
+ * Verifies a CustomFieldEntityTypeEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomFieldEntityTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomFieldEntityTypeEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldEntityTypeEnum;
+
+ /**
+ * Creates a plain object from a CustomFieldEntityTypeEnum message. Also converts values to other types if specified.
+ * @param message CustomFieldEntityTypeEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CustomFieldEntityTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomFieldEntityTypeEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomFieldEntityTypeEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CustomFieldEntityTypeEnum {
+
+ /** CustomFieldEntityType enum. */
+ enum CustomFieldEntityType {
+ CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED = 0,
+ LINE_ITEM = 1,
+ ORDER = 2,
+ CREATIVE = 3,
+ PROPOSAL = 4,
+ PROPOSAL_LINE_ITEM = 5
+ }
+ }
+
+ /** Properties of a CustomFieldStatusEnum. */
+ interface ICustomFieldStatusEnum {
+ }
+
+ /** Represents a CustomFieldStatusEnum. */
+ class CustomFieldStatusEnum implements ICustomFieldStatusEnum {
+
+ /**
+ * Constructs a new CustomFieldStatusEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICustomFieldStatusEnum);
+
+ /**
+ * Creates a new CustomFieldStatusEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomFieldStatusEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICustomFieldStatusEnum): google.ads.admanager.v1.CustomFieldStatusEnum;
+
+ /**
+ * Encodes the specified CustomFieldStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldStatusEnum.verify|verify} messages.
+ * @param message CustomFieldStatusEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICustomFieldStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomFieldStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldStatusEnum.verify|verify} messages.
+ * @param message CustomFieldStatusEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomFieldStatusEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomFieldStatusEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldStatusEnum;
+
+ /**
+ * Decodes a CustomFieldStatusEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomFieldStatusEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldStatusEnum;
+
+ /**
+ * Verifies a CustomFieldStatusEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomFieldStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomFieldStatusEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldStatusEnum;
+
+ /**
+ * Creates a plain object from a CustomFieldStatusEnum message. Also converts values to other types if specified.
+ * @param message CustomFieldStatusEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CustomFieldStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomFieldStatusEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomFieldStatusEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CustomFieldStatusEnum {
+
+ /** CustomFieldStatus enum. */
+ enum CustomFieldStatus {
+ CUSTOM_FIELD_STATUS_UNSPECIFIED = 0,
+ ACTIVE = 1,
+ INACTIVE = 2
+ }
+ }
+
+ /** Properties of a CustomFieldVisibilityEnum. */
+ interface ICustomFieldVisibilityEnum {
+ }
+
+ /** Represents a CustomFieldVisibilityEnum. */
+ class CustomFieldVisibilityEnum implements ICustomFieldVisibilityEnum {
+
+ /**
+ * Constructs a new CustomFieldVisibilityEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICustomFieldVisibilityEnum);
+
+ /**
+ * Creates a new CustomFieldVisibilityEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomFieldVisibilityEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICustomFieldVisibilityEnum): google.ads.admanager.v1.CustomFieldVisibilityEnum;
+
+ /**
+ * Encodes the specified CustomFieldVisibilityEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldVisibilityEnum.verify|verify} messages.
+ * @param message CustomFieldVisibilityEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICustomFieldVisibilityEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomFieldVisibilityEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldVisibilityEnum.verify|verify} messages.
+ * @param message CustomFieldVisibilityEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldVisibilityEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomFieldVisibilityEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomFieldVisibilityEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldVisibilityEnum;
+
+ /**
+ * Decodes a CustomFieldVisibilityEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomFieldVisibilityEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldVisibilityEnum;
+
+ /**
+ * Verifies a CustomFieldVisibilityEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomFieldVisibilityEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomFieldVisibilityEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldVisibilityEnum;
- /**
- * Gets the default type url for LongCreativeTemplateVariable
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
+ /**
+ * Creates a plain object from a CustomFieldVisibilityEnum message. Also converts values to other types if specified.
+ * @param message CustomFieldVisibilityEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CustomFieldVisibilityEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /** Properties of a StringCreativeTemplateVariable. */
- interface IStringCreativeTemplateVariable {
+ /**
+ * Converts this CustomFieldVisibilityEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
- /** StringCreativeTemplateVariable defaultValue */
- defaultValue?: (string|null);
+ /**
+ * Gets the default type url for CustomFieldVisibilityEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
- /** StringCreativeTemplateVariable sampleValue */
- sampleValue?: (string|null);
+ namespace CustomFieldVisibilityEnum {
+
+ /** CustomFieldVisibility enum. */
+ enum CustomFieldVisibility {
+ CUSTOM_FIELD_VISIBILITY_UNSPECIFIED = 0,
+ HIDDEN = 1,
+ READ_ONLY = 2,
+ EDITABLE = 3
}
+ }
- /** Represents a StringCreativeTemplateVariable. */
- class StringCreativeTemplateVariable implements IStringCreativeTemplateVariable {
+ /** Properties of a CustomField. */
+ interface ICustomField {
- /**
- * Constructs a new StringCreativeTemplateVariable.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable);
+ /** CustomField name */
+ name?: (string|null);
- /** StringCreativeTemplateVariable defaultValue. */
- public defaultValue?: (string|null);
+ /** CustomField customFieldId */
+ customFieldId?: (number|Long|string|null);
- /** StringCreativeTemplateVariable sampleValue. */
- public sampleValue?: (string|null);
+ /** CustomField displayName */
+ displayName?: (string|null);
- /**
- * Creates a new StringCreativeTemplateVariable instance using the specified properties.
- * @param [properties] Properties to set
- * @returns StringCreativeTemplateVariable instance
- */
- public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable;
+ /** CustomField description */
+ description?: (string|null);
- /**
- * Encodes the specified StringCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable.verify|verify} messages.
- * @param message StringCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /** CustomField status */
+ status?: (google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus|keyof typeof google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus|null);
- /**
- * Encodes the specified StringCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable.verify|verify} messages.
- * @param message StringCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.IStringCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /** CustomField entityType */
+ entityType?: (google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType|keyof typeof google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType|null);
- /**
- * Decodes a StringCreativeTemplateVariable message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns StringCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable;
+ /** CustomField dataType */
+ dataType?: (google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType|keyof typeof google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType|null);
- /**
- * Decodes a StringCreativeTemplateVariable message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns StringCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable;
+ /** CustomField visibility */
+ visibility?: (google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility|keyof typeof google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility|null);
- /**
- * Verifies a StringCreativeTemplateVariable message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
+ /** CustomField options */
+ options?: (google.ads.admanager.v1.ICustomFieldOption[]|null);
+ }
- /**
- * Creates a StringCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns StringCreativeTemplateVariable
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable;
+ /** Represents a CustomField. */
+ class CustomField implements ICustomField {
- /**
- * Creates a plain object from a StringCreativeTemplateVariable message. Also converts values to other types if specified.
- * @param message StringCreativeTemplateVariable
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.StringCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ /**
+ * Constructs a new CustomField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ICustomField);
- /**
- * Converts this StringCreativeTemplateVariable to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
+ /** CustomField name. */
+ public name: string;
- /**
- * Gets the default type url for StringCreativeTemplateVariable
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
+ /** CustomField customFieldId. */
+ public customFieldId?: (number|Long|string|null);
- /** Properties of an UrlCreativeTemplateVariable. */
- interface IUrlCreativeTemplateVariable {
+ /** CustomField displayName. */
+ public displayName?: (string|null);
- /** UrlCreativeTemplateVariable defaultValue */
- defaultValue?: (string|null);
+ /** CustomField description. */
+ public description?: (string|null);
- /** UrlCreativeTemplateVariable sampleValue */
- sampleValue?: (string|null);
+ /** CustomField status. */
+ public status?: (google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus|keyof typeof google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus|null);
- /** UrlCreativeTemplateVariable urlType */
- urlType?: (google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType|keyof typeof google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType|null);
- }
+ /** CustomField entityType. */
+ public entityType?: (google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType|keyof typeof google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType|null);
- /** Represents an UrlCreativeTemplateVariable. */
- class UrlCreativeTemplateVariable implements IUrlCreativeTemplateVariable {
+ /** CustomField dataType. */
+ public dataType?: (google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType|keyof typeof google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType|null);
- /**
- * Constructs a new UrlCreativeTemplateVariable.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable);
+ /** CustomField visibility. */
+ public visibility?: (google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility|keyof typeof google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility|null);
- /** UrlCreativeTemplateVariable defaultValue. */
- public defaultValue?: (string|null);
+ /** CustomField options. */
+ public options: google.ads.admanager.v1.ICustomFieldOption[];
- /** UrlCreativeTemplateVariable sampleValue. */
- public sampleValue?: (string|null);
+ /**
+ * Creates a new CustomField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomField instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ICustomField): google.ads.admanager.v1.CustomField;
- /** UrlCreativeTemplateVariable urlType. */
- public urlType?: (google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType|keyof typeof google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType|null);
+ /**
+ * Encodes the specified CustomField message. Does not implicitly {@link google.ads.admanager.v1.CustomField.verify|verify} messages.
+ * @param message CustomField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ICustomField, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Creates a new UrlCreativeTemplateVariable instance using the specified properties.
- * @param [properties] Properties to set
- * @returns UrlCreativeTemplateVariable instance
- */
- public static create(properties?: google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable): google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable;
+ /**
+ * Encodes the specified CustomField message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomField.verify|verify} messages.
+ * @param message CustomField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomField, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified UrlCreativeTemplateVariable message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable.verify|verify} messages.
- * @param message UrlCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /**
+ * Decodes a CustomField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomField;
- /**
- * Encodes the specified UrlCreativeTemplateVariable message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable.verify|verify} messages.
- * @param message UrlCreativeTemplateVariable message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.CreativeTemplateVariable.IUrlCreativeTemplateVariable, writer?: $protobuf.Writer): $protobuf.Writer;
+ /**
+ * Decodes a CustomField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomField;
- /**
- * Decodes an UrlCreativeTemplateVariable message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns UrlCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable;
+ /**
+ * Verifies a CustomField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
- /**
- * Decodes an UrlCreativeTemplateVariable message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns UrlCreativeTemplateVariable
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable;
+ /**
+ * Creates a CustomField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomField
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomField;
- /**
- * Verifies an UrlCreativeTemplateVariable message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
+ /**
+ * Creates a plain object from a CustomField message. Also converts values to other types if specified.
+ * @param message CustomField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CustomField, options?: $protobuf.IConversionOptions): { [k: string]: any };
- /**
- * Creates an UrlCreativeTemplateVariable message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns UrlCreativeTemplateVariable
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable;
+ /**
+ * Converts this CustomField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
- /**
- * Creates a plain object from an UrlCreativeTemplateVariable message. Also converts values to other types if specified.
- * @param message UrlCreativeTemplateVariable
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariable.UrlCreativeTemplateVariable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ /**
+ * Gets the default type url for CustomField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
- /**
- * Converts this UrlCreativeTemplateVariable to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
+ /** Properties of a CustomFieldOption. */
+ interface ICustomFieldOption {
- /**
- * Gets the default type url for UrlCreativeTemplateVariable
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
- }
+ /** CustomFieldOption customFieldOptionId */
+ customFieldOptionId?: (number|Long|string|null);
- /** Properties of a CreativeTemplateVariableUrlTypeEnum. */
- interface ICreativeTemplateVariableUrlTypeEnum {
+ /** CustomFieldOption displayName */
+ displayName?: (string|null);
}
- /** Represents a CreativeTemplateVariableUrlTypeEnum. */
- class CreativeTemplateVariableUrlTypeEnum implements ICreativeTemplateVariableUrlTypeEnum {
+ /** Represents a CustomFieldOption. */
+ class CustomFieldOption implements ICustomFieldOption {
/**
- * Constructs a new CreativeTemplateVariableUrlTypeEnum.
+ * Constructs a new CustomFieldOption.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICreativeTemplateVariableUrlTypeEnum);
+ constructor(properties?: google.ads.admanager.v1.ICustomFieldOption);
+
+ /** CustomFieldOption customFieldOptionId. */
+ public customFieldOptionId: (number|Long|string);
+
+ /** CustomFieldOption displayName. */
+ public displayName: string;
/**
- * Creates a new CreativeTemplateVariableUrlTypeEnum instance using the specified properties.
+ * Creates a new CustomFieldOption instance using the specified properties.
* @param [properties] Properties to set
- * @returns CreativeTemplateVariableUrlTypeEnum instance
+ * @returns CustomFieldOption instance
*/
- public static create(properties?: google.ads.admanager.v1.ICreativeTemplateVariableUrlTypeEnum): google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum;
+ public static create(properties?: google.ads.admanager.v1.ICustomFieldOption): google.ads.admanager.v1.CustomFieldOption;
/**
- * Encodes the specified CreativeTemplateVariableUrlTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.verify|verify} messages.
- * @param message CreativeTemplateVariableUrlTypeEnum message or plain object to encode
+ * Encodes the specified CustomFieldOption message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldOption.verify|verify} messages.
+ * @param message CustomFieldOption message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICreativeTemplateVariableUrlTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICustomFieldOption, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CreativeTemplateVariableUrlTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.verify|verify} messages.
- * @param message CreativeTemplateVariableUrlTypeEnum message or plain object to encode
+ * Encodes the specified CustomFieldOption message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldOption.verify|verify} messages.
+ * @param message CustomFieldOption message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICreativeTemplateVariableUrlTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldOption, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CreativeTemplateVariableUrlTypeEnum message from the specified reader or buffer.
+ * Decodes a CustomFieldOption message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CreativeTemplateVariableUrlTypeEnum
+ * @returns CustomFieldOption
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldOption;
/**
- * Decodes a CreativeTemplateVariableUrlTypeEnum message from the specified reader or buffer, length delimited.
+ * Decodes a CustomFieldOption message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CreativeTemplateVariableUrlTypeEnum
+ * @returns CustomFieldOption
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldOption;
/**
- * Verifies a CreativeTemplateVariableUrlTypeEnum message.
+ * Verifies a CustomFieldOption message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
- public static verify(message: { [k: string]: any }): (string|null);
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomFieldOption message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomFieldOption
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldOption;
+
+ /**
+ * Creates a plain object from a CustomFieldOption message. Also converts values to other types if specified.
+ * @param message CustomFieldOption
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CustomFieldOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomFieldOption to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomFieldOption
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a CustomFieldService */
+ class CustomFieldService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new CustomFieldService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new CustomFieldService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CustomFieldService;
+
+ /**
+ * Calls GetCustomField.
+ * @param request GetCustomFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CustomField
+ */
+ public getCustomField(request: google.ads.admanager.v1.IGetCustomFieldRequest, callback: google.ads.admanager.v1.CustomFieldService.GetCustomFieldCallback): void;
+
+ /**
+ * Calls GetCustomField.
+ * @param request GetCustomFieldRequest message or plain object
+ * @returns Promise
+ */
+ public getCustomField(request: google.ads.admanager.v1.IGetCustomFieldRequest): Promise;
+
+ /**
+ * Calls ListCustomFields.
+ * @param request ListCustomFieldsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListCustomFieldsResponse
+ */
+ public listCustomFields(request: google.ads.admanager.v1.IListCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.ListCustomFieldsCallback): void;
+
+ /**
+ * Calls ListCustomFields.
+ * @param request ListCustomFieldsRequest message or plain object
+ * @returns Promise
+ */
+ public listCustomFields(request: google.ads.admanager.v1.IListCustomFieldsRequest): Promise;
+
+ /**
+ * Calls CreateCustomField.
+ * @param request CreateCustomFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CustomField
+ */
+ public createCustomField(request: google.ads.admanager.v1.ICreateCustomFieldRequest, callback: google.ads.admanager.v1.CustomFieldService.CreateCustomFieldCallback): void;
+
+ /**
+ * Calls CreateCustomField.
+ * @param request CreateCustomFieldRequest message or plain object
+ * @returns Promise
+ */
+ public createCustomField(request: google.ads.admanager.v1.ICreateCustomFieldRequest): Promise;
+
+ /**
+ * Calls BatchCreateCustomFields.
+ * @param request BatchCreateCustomFieldsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchCreateCustomFieldsResponse
+ */
+ public batchCreateCustomFields(request: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.BatchCreateCustomFieldsCallback): void;
+
+ /**
+ * Calls BatchCreateCustomFields.
+ * @param request BatchCreateCustomFieldsRequest message or plain object
+ * @returns Promise
+ */
+ public batchCreateCustomFields(request: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest): Promise;
+
+ /**
+ * Calls UpdateCustomField.
+ * @param request UpdateCustomFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CustomField
+ */
+ public updateCustomField(request: google.ads.admanager.v1.IUpdateCustomFieldRequest, callback: google.ads.admanager.v1.CustomFieldService.UpdateCustomFieldCallback): void;
+
+ /**
+ * Calls UpdateCustomField.
+ * @param request UpdateCustomFieldRequest message or plain object
+ * @returns Promise
+ */
+ public updateCustomField(request: google.ads.admanager.v1.IUpdateCustomFieldRequest): Promise;
+
+ /**
+ * Calls BatchUpdateCustomFields.
+ * @param request BatchUpdateCustomFieldsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchUpdateCustomFieldsResponse
+ */
+ public batchUpdateCustomFields(request: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.BatchUpdateCustomFieldsCallback): void;
+
+ /**
+ * Calls BatchUpdateCustomFields.
+ * @param request BatchUpdateCustomFieldsRequest message or plain object
+ * @returns Promise
+ */
+ public batchUpdateCustomFields(request: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest): Promise;
/**
- * Creates a CreativeTemplateVariableUrlTypeEnum message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns CreativeTemplateVariableUrlTypeEnum
+ * Calls BatchActivateCustomFields.
+ * @param request BatchActivateCustomFieldsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchActivateCustomFieldsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum;
+ public batchActivateCustomFields(request: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.BatchActivateCustomFieldsCallback): void;
/**
- * Creates a plain object from a CreativeTemplateVariableUrlTypeEnum message. Also converts values to other types if specified.
- * @param message CreativeTemplateVariableUrlTypeEnum
- * @param [options] Conversion options
- * @returns Plain object
+ * Calls BatchActivateCustomFields.
+ * @param request BatchActivateCustomFieldsRequest message or plain object
+ * @returns Promise
*/
- public static toObject(message: google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public batchActivateCustomFields(request: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest): Promise;
/**
- * Converts this CreativeTemplateVariableUrlTypeEnum to JSON.
- * @returns JSON object
+ * Calls BatchDeactivateCustomFields.
+ * @param request BatchDeactivateCustomFieldsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchDeactivateCustomFieldsResponse
*/
- public toJSON(): { [k: string]: any };
+ public batchDeactivateCustomFields(request: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.BatchDeactivateCustomFieldsCallback): void;
/**
- * Gets the default type url for CreativeTemplateVariableUrlTypeEnum
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
+ * Calls BatchDeactivateCustomFields.
+ * @param request BatchDeactivateCustomFieldsRequest message or plain object
+ * @returns Promise
*/
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
-
- namespace CreativeTemplateVariableUrlTypeEnum {
-
- /** CreativeTemplateVariableUrlType enum. */
- enum CreativeTemplateVariableUrlType {
- CREATIVE_TEMPLATE_VARIABLE_URL_TYPE_UNSPECIFIED = 0,
- CLICK_TRACKER = 1,
- DEEPLINK = 2,
- IMPRESSION_TRACKER = 3,
- STANDARD_HTTP = 4
- }
+ public batchDeactivateCustomFields(request: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest): Promise;
}
- /** Represents a CreativeTemplateService */
- class CreativeTemplateService extends $protobuf.rpc.Service {
+ namespace CustomFieldService {
/**
- * Constructs a new CreativeTemplateService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
+ * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|getCustomField}.
+ * @param error Error, if any
+ * @param [response] CustomField
*/
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+ type GetCustomFieldCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomField) => void;
/**
- * Creates new CreativeTemplateService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
+ * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|listCustomFields}.
+ * @param error Error, if any
+ * @param [response] ListCustomFieldsResponse
*/
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CreativeTemplateService;
+ type ListCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCustomFieldsResponse) => void;
/**
- * Calls GetCreativeTemplate.
- * @param request GetCreativeTemplateRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and CreativeTemplate
+ * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|createCustomField}.
+ * @param error Error, if any
+ * @param [response] CustomField
*/
- public getCreativeTemplate(request: google.ads.admanager.v1.IGetCreativeTemplateRequest, callback: google.ads.admanager.v1.CreativeTemplateService.GetCreativeTemplateCallback): void;
+ type CreateCustomFieldCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomField) => void;
/**
- * Calls GetCreativeTemplate.
- * @param request GetCreativeTemplateRequest message or plain object
- * @returns Promise
+ * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|batchCreateCustomFields}.
+ * @param error Error, if any
+ * @param [response] BatchCreateCustomFieldsResponse
*/
- public getCreativeTemplate(request: google.ads.admanager.v1.IGetCreativeTemplateRequest): Promise;
+ type BatchCreateCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchCreateCustomFieldsResponse) => void;
/**
- * Calls ListCreativeTemplates.
- * @param request ListCreativeTemplatesRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListCreativeTemplatesResponse
+ * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|updateCustomField}.
+ * @param error Error, if any
+ * @param [response] CustomField
*/
- public listCreativeTemplates(request: google.ads.admanager.v1.IListCreativeTemplatesRequest, callback: google.ads.admanager.v1.CreativeTemplateService.ListCreativeTemplatesCallback): void;
+ type UpdateCustomFieldCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomField) => void;
/**
- * Calls ListCreativeTemplates.
- * @param request ListCreativeTemplatesRequest message or plain object
- * @returns Promise
+ * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|batchUpdateCustomFields}.
+ * @param error Error, if any
+ * @param [response] BatchUpdateCustomFieldsResponse
*/
- public listCreativeTemplates(request: google.ads.admanager.v1.IListCreativeTemplatesRequest): Promise;
- }
-
- namespace CreativeTemplateService {
+ type BatchUpdateCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchUpdateCustomFieldsResponse) => void;
/**
- * Callback as used by {@link google.ads.admanager.v1.CreativeTemplateService|getCreativeTemplate}.
+ * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|batchActivateCustomFields}.
* @param error Error, if any
- * @param [response] CreativeTemplate
+ * @param [response] BatchActivateCustomFieldsResponse
*/
- type GetCreativeTemplateCallback = (error: (Error|null), response?: google.ads.admanager.v1.CreativeTemplate) => void;
+ type BatchActivateCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchActivateCustomFieldsResponse) => void;
/**
- * Callback as used by {@link google.ads.admanager.v1.CreativeTemplateService|listCreativeTemplates}.
+ * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|batchDeactivateCustomFields}.
* @param error Error, if any
- * @param [response] ListCreativeTemplatesResponse
+ * @param [response] BatchDeactivateCustomFieldsResponse
*/
- type ListCreativeTemplatesCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCreativeTemplatesResponse) => void;
+ type BatchDeactivateCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse) => void;
}
- /** Properties of a GetCreativeTemplateRequest. */
- interface IGetCreativeTemplateRequest {
+ /** Properties of a GetCustomFieldRequest. */
+ interface IGetCustomFieldRequest {
- /** GetCreativeTemplateRequest name */
+ /** GetCustomFieldRequest name */
name?: (string|null);
}
- /** Represents a GetCreativeTemplateRequest. */
- class GetCreativeTemplateRequest implements IGetCreativeTemplateRequest {
+ /** Represents a GetCustomFieldRequest. */
+ class GetCustomFieldRequest implements IGetCustomFieldRequest {
/**
- * Constructs a new GetCreativeTemplateRequest.
+ * Constructs a new GetCustomFieldRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetCreativeTemplateRequest);
+ constructor(properties?: google.ads.admanager.v1.IGetCustomFieldRequest);
- /** GetCreativeTemplateRequest name. */
+ /** GetCustomFieldRequest name. */
public name: string;
/**
- * Creates a new GetCreativeTemplateRequest instance using the specified properties.
+ * Creates a new GetCustomFieldRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetCreativeTemplateRequest instance
+ * @returns GetCustomFieldRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetCreativeTemplateRequest): google.ads.admanager.v1.GetCreativeTemplateRequest;
+ public static create(properties?: google.ads.admanager.v1.IGetCustomFieldRequest): google.ads.admanager.v1.GetCustomFieldRequest;
/**
- * Encodes the specified GetCreativeTemplateRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCreativeTemplateRequest.verify|verify} messages.
- * @param message GetCreativeTemplateRequest message or plain object to encode
+ * Encodes the specified GetCustomFieldRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCustomFieldRequest.verify|verify} messages.
+ * @param message GetCustomFieldRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetCreativeTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetCreativeTemplateRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCreativeTemplateRequest.verify|verify} messages.
- * @param message GetCreativeTemplateRequest message or plain object to encode
+ * Encodes the specified GetCustomFieldRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCustomFieldRequest.verify|verify} messages.
+ * @param message GetCustomFieldRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetCreativeTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetCreativeTemplateRequest message from the specified reader or buffer.
+ * Decodes a GetCustomFieldRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetCreativeTemplateRequest
+ * @returns GetCustomFieldRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCreativeTemplateRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCustomFieldRequest;
/**
- * Decodes a GetCreativeTemplateRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetCustomFieldRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetCreativeTemplateRequest
+ * @returns GetCustomFieldRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCreativeTemplateRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCustomFieldRequest;
/**
- * Verifies a GetCreativeTemplateRequest message.
+ * Verifies a GetCustomFieldRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetCreativeTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetCustomFieldRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetCreativeTemplateRequest
+ * @returns GetCustomFieldRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCreativeTemplateRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCustomFieldRequest;
/**
- * Creates a plain object from a GetCreativeTemplateRequest message. Also converts values to other types if specified.
- * @param message GetCreativeTemplateRequest
+ * Creates a plain object from a GetCustomFieldRequest message. Also converts values to other types if specified.
+ * @param message GetCustomFieldRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetCreativeTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetCustomFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetCreativeTemplateRequest to JSON.
+ * Converts this GetCustomFieldRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetCreativeTemplateRequest
+ * Gets the default type url for GetCustomFieldRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCreativeTemplatesRequest. */
- interface IListCreativeTemplatesRequest {
+ /** Properties of a ListCustomFieldsRequest. */
+ interface IListCustomFieldsRequest {
- /** ListCreativeTemplatesRequest parent */
+ /** ListCustomFieldsRequest parent */
parent?: (string|null);
- /** ListCreativeTemplatesRequest pageSize */
+ /** ListCustomFieldsRequest pageSize */
pageSize?: (number|null);
- /** ListCreativeTemplatesRequest pageToken */
+ /** ListCustomFieldsRequest pageToken */
pageToken?: (string|null);
- /** ListCreativeTemplatesRequest filter */
+ /** ListCustomFieldsRequest filter */
filter?: (string|null);
- /** ListCreativeTemplatesRequest orderBy */
+ /** ListCustomFieldsRequest orderBy */
orderBy?: (string|null);
- /** ListCreativeTemplatesRequest skip */
+ /** ListCustomFieldsRequest skip */
skip?: (number|null);
}
- /** Represents a ListCreativeTemplatesRequest. */
- class ListCreativeTemplatesRequest implements IListCreativeTemplatesRequest {
+ /** Represents a ListCustomFieldsRequest. */
+ class ListCustomFieldsRequest implements IListCustomFieldsRequest {
/**
- * Constructs a new ListCreativeTemplatesRequest.
+ * Constructs a new ListCustomFieldsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCreativeTemplatesRequest);
+ constructor(properties?: google.ads.admanager.v1.IListCustomFieldsRequest);
- /** ListCreativeTemplatesRequest parent. */
+ /** ListCustomFieldsRequest parent. */
public parent: string;
- /** ListCreativeTemplatesRequest pageSize. */
+ /** ListCustomFieldsRequest pageSize. */
public pageSize: number;
- /** ListCreativeTemplatesRequest pageToken. */
+ /** ListCustomFieldsRequest pageToken. */
public pageToken: string;
- /** ListCreativeTemplatesRequest filter. */
+ /** ListCustomFieldsRequest filter. */
public filter: string;
- /** ListCreativeTemplatesRequest orderBy. */
+ /** ListCustomFieldsRequest orderBy. */
public orderBy: string;
- /** ListCreativeTemplatesRequest skip. */
+ /** ListCustomFieldsRequest skip. */
public skip: number;
/**
- * Creates a new ListCreativeTemplatesRequest instance using the specified properties.
+ * Creates a new ListCustomFieldsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCreativeTemplatesRequest instance
+ * @returns ListCustomFieldsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCreativeTemplatesRequest): google.ads.admanager.v1.ListCreativeTemplatesRequest;
+ public static create(properties?: google.ads.admanager.v1.IListCustomFieldsRequest): google.ads.admanager.v1.ListCustomFieldsRequest;
/**
- * Encodes the specified ListCreativeTemplatesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCreativeTemplatesRequest.verify|verify} messages.
- * @param message ListCreativeTemplatesRequest message or plain object to encode
+ * Encodes the specified ListCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCustomFieldsRequest.verify|verify} messages.
+ * @param message ListCustomFieldsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCreativeTemplatesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCreativeTemplatesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCreativeTemplatesRequest.verify|verify} messages.
- * @param message ListCreativeTemplatesRequest message or plain object to encode
+ * Encodes the specified ListCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCustomFieldsRequest.verify|verify} messages.
+ * @param message ListCustomFieldsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCreativeTemplatesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCreativeTemplatesRequest message from the specified reader or buffer.
+ * Decodes a ListCustomFieldsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCreativeTemplatesRequest
+ * @returns ListCustomFieldsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCreativeTemplatesRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCustomFieldsRequest;
/**
- * Decodes a ListCreativeTemplatesRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListCustomFieldsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCreativeTemplatesRequest
+ * @returns ListCustomFieldsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCreativeTemplatesRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCustomFieldsRequest;
/**
- * Verifies a ListCreativeTemplatesRequest message.
+ * Verifies a ListCustomFieldsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCreativeTemplatesRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCreativeTemplatesRequest
+ * @returns ListCustomFieldsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCreativeTemplatesRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCustomFieldsRequest;
/**
- * Creates a plain object from a ListCreativeTemplatesRequest message. Also converts values to other types if specified.
- * @param message ListCreativeTemplatesRequest
+ * Creates a plain object from a ListCustomFieldsRequest message. Also converts values to other types if specified.
+ * @param message ListCustomFieldsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCreativeTemplatesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCreativeTemplatesRequest to JSON.
+ * Converts this ListCustomFieldsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCreativeTemplatesRequest
+ * Gets the default type url for ListCustomFieldsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCreativeTemplatesResponse. */
- interface IListCreativeTemplatesResponse {
+ /** Properties of a ListCustomFieldsResponse. */
+ interface IListCustomFieldsResponse {
- /** ListCreativeTemplatesResponse creativeTemplates */
- creativeTemplates?: (google.ads.admanager.v1.ICreativeTemplate[]|null);
+ /** ListCustomFieldsResponse customFields */
+ customFields?: (google.ads.admanager.v1.ICustomField[]|null);
- /** ListCreativeTemplatesResponse nextPageToken */
+ /** ListCustomFieldsResponse nextPageToken */
nextPageToken?: (string|null);
- /** ListCreativeTemplatesResponse totalSize */
+ /** ListCustomFieldsResponse totalSize */
totalSize?: (number|null);
}
- /** Represents a ListCreativeTemplatesResponse. */
- class ListCreativeTemplatesResponse implements IListCreativeTemplatesResponse {
+ /** Represents a ListCustomFieldsResponse. */
+ class ListCustomFieldsResponse implements IListCustomFieldsResponse {
/**
- * Constructs a new ListCreativeTemplatesResponse.
+ * Constructs a new ListCustomFieldsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCreativeTemplatesResponse);
+ constructor(properties?: google.ads.admanager.v1.IListCustomFieldsResponse);
- /** ListCreativeTemplatesResponse creativeTemplates. */
- public creativeTemplates: google.ads.admanager.v1.ICreativeTemplate[];
+ /** ListCustomFieldsResponse customFields. */
+ public customFields: google.ads.admanager.v1.ICustomField[];
- /** ListCreativeTemplatesResponse nextPageToken. */
+ /** ListCustomFieldsResponse nextPageToken. */
public nextPageToken: string;
- /** ListCreativeTemplatesResponse totalSize. */
+ /** ListCustomFieldsResponse totalSize. */
public totalSize: number;
/**
- * Creates a new ListCreativeTemplatesResponse instance using the specified properties.
+ * Creates a new ListCustomFieldsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCreativeTemplatesResponse instance
+ * @returns ListCustomFieldsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCreativeTemplatesResponse): google.ads.admanager.v1.ListCreativeTemplatesResponse;
+ public static create(properties?: google.ads.admanager.v1.IListCustomFieldsResponse): google.ads.admanager.v1.ListCustomFieldsResponse;
/**
- * Encodes the specified ListCreativeTemplatesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCreativeTemplatesResponse.verify|verify} messages.
- * @param message ListCreativeTemplatesResponse message or plain object to encode
+ * Encodes the specified ListCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCustomFieldsResponse.verify|verify} messages.
+ * @param message ListCustomFieldsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCreativeTemplatesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCreativeTemplatesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCreativeTemplatesResponse.verify|verify} messages.
- * @param message ListCreativeTemplatesResponse message or plain object to encode
+ * Encodes the specified ListCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCustomFieldsResponse.verify|verify} messages.
+ * @param message ListCustomFieldsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCreativeTemplatesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCreativeTemplatesResponse message from the specified reader or buffer.
+ * Decodes a ListCustomFieldsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCreativeTemplatesResponse
+ * @returns ListCustomFieldsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCreativeTemplatesResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCustomFieldsResponse;
/**
- * Decodes a ListCreativeTemplatesResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListCustomFieldsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCreativeTemplatesResponse
+ * @returns ListCustomFieldsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCreativeTemplatesResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCustomFieldsResponse;
/**
- * Verifies a ListCreativeTemplatesResponse message.
+ * Verifies a ListCustomFieldsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCreativeTemplatesResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCreativeTemplatesResponse
+ * @returns ListCustomFieldsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCreativeTemplatesResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCustomFieldsResponse;
/**
- * Creates a plain object from a ListCreativeTemplatesResponse message. Also converts values to other types if specified.
- * @param message ListCreativeTemplatesResponse
+ * Creates a plain object from a ListCustomFieldsResponse message. Also converts values to other types if specified.
+ * @param message ListCustomFieldsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCreativeTemplatesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCreativeTemplatesResponse to JSON.
+ * Converts this ListCustomFieldsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCreativeTemplatesResponse
+ * Gets the default type url for ListCustomFieldsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CustomFieldDataTypeEnum. */
- interface ICustomFieldDataTypeEnum {
+ /** Properties of a CreateCustomFieldRequest. */
+ interface ICreateCustomFieldRequest {
+
+ /** CreateCustomFieldRequest parent */
+ parent?: (string|null);
+
+ /** CreateCustomFieldRequest customField */
+ customField?: (google.ads.admanager.v1.ICustomField|null);
}
- /** Represents a CustomFieldDataTypeEnum. */
- class CustomFieldDataTypeEnum implements ICustomFieldDataTypeEnum {
+ /** Represents a CreateCustomFieldRequest. */
+ class CreateCustomFieldRequest implements ICreateCustomFieldRequest {
/**
- * Constructs a new CustomFieldDataTypeEnum.
+ * Constructs a new CreateCustomFieldRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomFieldDataTypeEnum);
+ constructor(properties?: google.ads.admanager.v1.ICreateCustomFieldRequest);
+
+ /** CreateCustomFieldRequest parent. */
+ public parent: string;
+
+ /** CreateCustomFieldRequest customField. */
+ public customField?: (google.ads.admanager.v1.ICustomField|null);
/**
- * Creates a new CustomFieldDataTypeEnum instance using the specified properties.
+ * Creates a new CreateCustomFieldRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomFieldDataTypeEnum instance
+ * @returns CreateCustomFieldRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomFieldDataTypeEnum): google.ads.admanager.v1.CustomFieldDataTypeEnum;
+ public static create(properties?: google.ads.admanager.v1.ICreateCustomFieldRequest): google.ads.admanager.v1.CreateCustomFieldRequest;
/**
- * Encodes the specified CustomFieldDataTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldDataTypeEnum.verify|verify} messages.
- * @param message CustomFieldDataTypeEnum message or plain object to encode
+ * Encodes the specified CreateCustomFieldRequest message. Does not implicitly {@link google.ads.admanager.v1.CreateCustomFieldRequest.verify|verify} messages.
+ * @param message CreateCustomFieldRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomFieldDataTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICreateCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomFieldDataTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldDataTypeEnum.verify|verify} messages.
- * @param message CustomFieldDataTypeEnum message or plain object to encode
+ * Encodes the specified CreateCustomFieldRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreateCustomFieldRequest.verify|verify} messages.
+ * @param message CreateCustomFieldRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldDataTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreateCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomFieldDataTypeEnum message from the specified reader or buffer.
+ * Decodes a CreateCustomFieldRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomFieldDataTypeEnum
+ * @returns CreateCustomFieldRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldDataTypeEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreateCustomFieldRequest;
/**
- * Decodes a CustomFieldDataTypeEnum message from the specified reader or buffer, length delimited.
+ * Decodes a CreateCustomFieldRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomFieldDataTypeEnum
+ * @returns CreateCustomFieldRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldDataTypeEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreateCustomFieldRequest;
/**
- * Verifies a CustomFieldDataTypeEnum message.
+ * Verifies a CreateCustomFieldRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomFieldDataTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a CreateCustomFieldRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomFieldDataTypeEnum
+ * @returns CreateCustomFieldRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldDataTypeEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreateCustomFieldRequest;
/**
- * Creates a plain object from a CustomFieldDataTypeEnum message. Also converts values to other types if specified.
- * @param message CustomFieldDataTypeEnum
+ * Creates a plain object from a CreateCustomFieldRequest message. Also converts values to other types if specified.
+ * @param message CreateCustomFieldRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomFieldDataTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CreateCustomFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomFieldDataTypeEnum to JSON.
+ * Converts this CreateCustomFieldRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomFieldDataTypeEnum
+ * Gets the default type url for CreateCustomFieldRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CustomFieldDataTypeEnum {
+ /** Properties of a BatchCreateCustomFieldsRequest. */
+ interface IBatchCreateCustomFieldsRequest {
- /** CustomFieldDataType enum. */
- enum CustomFieldDataType {
- CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED = 0,
- STRING = 1,
- NUMBER = 2,
- TOGGLE = 3,
- DROP_DOWN = 4
- }
- }
+ /** BatchCreateCustomFieldsRequest parent */
+ parent?: (string|null);
- /** Properties of a CustomFieldEntityTypeEnum. */
- interface ICustomFieldEntityTypeEnum {
+ /** BatchCreateCustomFieldsRequest requests */
+ requests?: (google.ads.admanager.v1.ICreateCustomFieldRequest[]|null);
}
- /** Represents a CustomFieldEntityTypeEnum. */
- class CustomFieldEntityTypeEnum implements ICustomFieldEntityTypeEnum {
+ /** Represents a BatchCreateCustomFieldsRequest. */
+ class BatchCreateCustomFieldsRequest implements IBatchCreateCustomFieldsRequest {
/**
- * Constructs a new CustomFieldEntityTypeEnum.
+ * Constructs a new BatchCreateCustomFieldsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomFieldEntityTypeEnum);
+ constructor(properties?: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest);
+
+ /** BatchCreateCustomFieldsRequest parent. */
+ public parent: string;
+
+ /** BatchCreateCustomFieldsRequest requests. */
+ public requests: google.ads.admanager.v1.ICreateCustomFieldRequest[];
/**
- * Creates a new CustomFieldEntityTypeEnum instance using the specified properties.
+ * Creates a new BatchCreateCustomFieldsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomFieldEntityTypeEnum instance
+ * @returns BatchCreateCustomFieldsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomFieldEntityTypeEnum): google.ads.admanager.v1.CustomFieldEntityTypeEnum;
+ public static create(properties?: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest): google.ads.admanager.v1.BatchCreateCustomFieldsRequest;
/**
- * Encodes the specified CustomFieldEntityTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldEntityTypeEnum.verify|verify} messages.
- * @param message CustomFieldEntityTypeEnum message or plain object to encode
+ * Encodes the specified BatchCreateCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomFieldsRequest.verify|verify} messages.
+ * @param message BatchCreateCustomFieldsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomFieldEntityTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomFieldEntityTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldEntityTypeEnum.verify|verify} messages.
- * @param message CustomFieldEntityTypeEnum message or plain object to encode
+ * Encodes the specified BatchCreateCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomFieldsRequest.verify|verify} messages.
+ * @param message BatchCreateCustomFieldsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldEntityTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomFieldEntityTypeEnum message from the specified reader or buffer.
+ * Decodes a BatchCreateCustomFieldsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomFieldEntityTypeEnum
+ * @returns BatchCreateCustomFieldsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldEntityTypeEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateCustomFieldsRequest;
/**
- * Decodes a CustomFieldEntityTypeEnum message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateCustomFieldsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomFieldEntityTypeEnum
+ * @returns BatchCreateCustomFieldsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldEntityTypeEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateCustomFieldsRequest;
/**
- * Verifies a CustomFieldEntityTypeEnum message.
+ * Verifies a BatchCreateCustomFieldsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomFieldEntityTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomFieldEntityTypeEnum
+ * @returns BatchCreateCustomFieldsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldEntityTypeEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateCustomFieldsRequest;
/**
- * Creates a plain object from a CustomFieldEntityTypeEnum message. Also converts values to other types if specified.
- * @param message CustomFieldEntityTypeEnum
+ * Creates a plain object from a BatchCreateCustomFieldsRequest message. Also converts values to other types if specified.
+ * @param message BatchCreateCustomFieldsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomFieldEntityTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
-
- /**
- * Converts this CustomFieldEntityTypeEnum to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchCreateCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Gets the default type url for CustomFieldEntityTypeEnum
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
-
- namespace CustomFieldEntityTypeEnum {
-
- /** CustomFieldEntityType enum. */
- enum CustomFieldEntityType {
- CUSTOM_FIELD_ENTITY_TYPE_UNSPECIFIED = 0,
- LINE_ITEM = 1,
- ORDER = 2,
- CREATIVE = 3,
- PROPOSAL = 4,
- PROPOSAL_LINE_ITEM = 5
- }
+ * Converts this BatchCreateCustomFieldsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BatchCreateCustomFieldsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CustomFieldStatusEnum. */
- interface ICustomFieldStatusEnum {
+ /** Properties of a BatchCreateCustomFieldsResponse. */
+ interface IBatchCreateCustomFieldsResponse {
+
+ /** BatchCreateCustomFieldsResponse customFields */
+ customFields?: (google.ads.admanager.v1.ICustomField[]|null);
}
- /** Represents a CustomFieldStatusEnum. */
- class CustomFieldStatusEnum implements ICustomFieldStatusEnum {
+ /** Represents a BatchCreateCustomFieldsResponse. */
+ class BatchCreateCustomFieldsResponse implements IBatchCreateCustomFieldsResponse {
/**
- * Constructs a new CustomFieldStatusEnum.
+ * Constructs a new BatchCreateCustomFieldsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomFieldStatusEnum);
+ constructor(properties?: google.ads.admanager.v1.IBatchCreateCustomFieldsResponse);
+
+ /** BatchCreateCustomFieldsResponse customFields. */
+ public customFields: google.ads.admanager.v1.ICustomField[];
/**
- * Creates a new CustomFieldStatusEnum instance using the specified properties.
+ * Creates a new BatchCreateCustomFieldsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomFieldStatusEnum instance
+ * @returns BatchCreateCustomFieldsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomFieldStatusEnum): google.ads.admanager.v1.CustomFieldStatusEnum;
+ public static create(properties?: google.ads.admanager.v1.IBatchCreateCustomFieldsResponse): google.ads.admanager.v1.BatchCreateCustomFieldsResponse;
/**
- * Encodes the specified CustomFieldStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldStatusEnum.verify|verify} messages.
- * @param message CustomFieldStatusEnum message or plain object to encode
+ * Encodes the specified BatchCreateCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomFieldsResponse.verify|verify} messages.
+ * @param message BatchCreateCustomFieldsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomFieldStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchCreateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomFieldStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldStatusEnum.verify|verify} messages.
- * @param message CustomFieldStatusEnum message or plain object to encode
+ * Encodes the specified BatchCreateCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomFieldsResponse.verify|verify} messages.
+ * @param message BatchCreateCustomFieldsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomFieldStatusEnum message from the specified reader or buffer.
+ * Decodes a BatchCreateCustomFieldsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomFieldStatusEnum
+ * @returns BatchCreateCustomFieldsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldStatusEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateCustomFieldsResponse;
/**
- * Decodes a CustomFieldStatusEnum message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateCustomFieldsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomFieldStatusEnum
+ * @returns BatchCreateCustomFieldsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldStatusEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateCustomFieldsResponse;
/**
- * Verifies a CustomFieldStatusEnum message.
+ * Verifies a BatchCreateCustomFieldsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomFieldStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomFieldStatusEnum
+ * @returns BatchCreateCustomFieldsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldStatusEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateCustomFieldsResponse;
/**
- * Creates a plain object from a CustomFieldStatusEnum message. Also converts values to other types if specified.
- * @param message CustomFieldStatusEnum
+ * Creates a plain object from a BatchCreateCustomFieldsResponse message. Also converts values to other types if specified.
+ * @param message BatchCreateCustomFieldsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomFieldStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchCreateCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomFieldStatusEnum to JSON.
+ * Converts this BatchCreateCustomFieldsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomFieldStatusEnum
+ * Gets the default type url for BatchCreateCustomFieldsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CustomFieldStatusEnum {
+ /** Properties of an UpdateCustomFieldRequest. */
+ interface IUpdateCustomFieldRequest {
- /** CustomFieldStatus enum. */
- enum CustomFieldStatus {
- CUSTOM_FIELD_STATUS_UNSPECIFIED = 0,
- ACTIVE = 1,
- INACTIVE = 2
- }
- }
+ /** UpdateCustomFieldRequest customField */
+ customField?: (google.ads.admanager.v1.ICustomField|null);
- /** Properties of a CustomFieldVisibilityEnum. */
- interface ICustomFieldVisibilityEnum {
+ /** UpdateCustomFieldRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
}
- /** Represents a CustomFieldVisibilityEnum. */
- class CustomFieldVisibilityEnum implements ICustomFieldVisibilityEnum {
+ /** Represents an UpdateCustomFieldRequest. */
+ class UpdateCustomFieldRequest implements IUpdateCustomFieldRequest {
/**
- * Constructs a new CustomFieldVisibilityEnum.
+ * Constructs a new UpdateCustomFieldRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomFieldVisibilityEnum);
+ constructor(properties?: google.ads.admanager.v1.IUpdateCustomFieldRequest);
+
+ /** UpdateCustomFieldRequest customField. */
+ public customField?: (google.ads.admanager.v1.ICustomField|null);
+
+ /** UpdateCustomFieldRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
/**
- * Creates a new CustomFieldVisibilityEnum instance using the specified properties.
+ * Creates a new UpdateCustomFieldRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomFieldVisibilityEnum instance
+ * @returns UpdateCustomFieldRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomFieldVisibilityEnum): google.ads.admanager.v1.CustomFieldVisibilityEnum;
+ public static create(properties?: google.ads.admanager.v1.IUpdateCustomFieldRequest): google.ads.admanager.v1.UpdateCustomFieldRequest;
/**
- * Encodes the specified CustomFieldVisibilityEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldVisibilityEnum.verify|verify} messages.
- * @param message CustomFieldVisibilityEnum message or plain object to encode
+ * Encodes the specified UpdateCustomFieldRequest message. Does not implicitly {@link google.ads.admanager.v1.UpdateCustomFieldRequest.verify|verify} messages.
+ * @param message UpdateCustomFieldRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomFieldVisibilityEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IUpdateCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomFieldVisibilityEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldVisibilityEnum.verify|verify} messages.
- * @param message CustomFieldVisibilityEnum message or plain object to encode
+ * Encodes the specified UpdateCustomFieldRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.UpdateCustomFieldRequest.verify|verify} messages.
+ * @param message UpdateCustomFieldRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldVisibilityEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IUpdateCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomFieldVisibilityEnum message from the specified reader or buffer.
+ * Decodes an UpdateCustomFieldRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomFieldVisibilityEnum
+ * @returns UpdateCustomFieldRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldVisibilityEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.UpdateCustomFieldRequest;
/**
- * Decodes a CustomFieldVisibilityEnum message from the specified reader or buffer, length delimited.
+ * Decodes an UpdateCustomFieldRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomFieldVisibilityEnum
+ * @returns UpdateCustomFieldRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldVisibilityEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.UpdateCustomFieldRequest;
/**
- * Verifies a CustomFieldVisibilityEnum message.
+ * Verifies an UpdateCustomFieldRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomFieldVisibilityEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates an UpdateCustomFieldRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomFieldVisibilityEnum
+ * @returns UpdateCustomFieldRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldVisibilityEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.UpdateCustomFieldRequest;
/**
- * Creates a plain object from a CustomFieldVisibilityEnum message. Also converts values to other types if specified.
- * @param message CustomFieldVisibilityEnum
+ * Creates a plain object from an UpdateCustomFieldRequest message. Also converts values to other types if specified.
+ * @param message UpdateCustomFieldRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomFieldVisibilityEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.UpdateCustomFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomFieldVisibilityEnum to JSON.
+ * Converts this UpdateCustomFieldRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomFieldVisibilityEnum
+ * Gets the default type url for UpdateCustomFieldRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CustomFieldVisibilityEnum {
-
- /** CustomFieldVisibility enum. */
- enum CustomFieldVisibility {
- CUSTOM_FIELD_VISIBILITY_UNSPECIFIED = 0,
- HIDDEN = 1,
- READ_ONLY = 2,
- EDITABLE = 3
- }
- }
-
- /** Properties of a CustomField. */
- interface ICustomField {
-
- /** CustomField name */
- name?: (string|null);
-
- /** CustomField customFieldId */
- customFieldId?: (number|Long|string|null);
-
- /** CustomField displayName */
- displayName?: (string|null);
-
- /** CustomField description */
- description?: (string|null);
-
- /** CustomField status */
- status?: (google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus|keyof typeof google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus|null);
-
- /** CustomField entityType */
- entityType?: (google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType|keyof typeof google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType|null);
-
- /** CustomField dataType */
- dataType?: (google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType|keyof typeof google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType|null);
+ /** Properties of a BatchUpdateCustomFieldsRequest. */
+ interface IBatchUpdateCustomFieldsRequest {
- /** CustomField visibility */
- visibility?: (google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility|keyof typeof google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility|null);
+ /** BatchUpdateCustomFieldsRequest parent */
+ parent?: (string|null);
- /** CustomField options */
- options?: (google.ads.admanager.v1.ICustomFieldOption[]|null);
+ /** BatchUpdateCustomFieldsRequest requests */
+ requests?: (google.ads.admanager.v1.IUpdateCustomFieldRequest[]|null);
}
- /** Represents a CustomField. */
- class CustomField implements ICustomField {
+ /** Represents a BatchUpdateCustomFieldsRequest. */
+ class BatchUpdateCustomFieldsRequest implements IBatchUpdateCustomFieldsRequest {
/**
- * Constructs a new CustomField.
+ * Constructs a new BatchUpdateCustomFieldsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomField);
-
- /** CustomField name. */
- public name: string;
-
- /** CustomField customFieldId. */
- public customFieldId?: (number|Long|string|null);
-
- /** CustomField displayName. */
- public displayName?: (string|null);
-
- /** CustomField description. */
- public description?: (string|null);
-
- /** CustomField status. */
- public status?: (google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus|keyof typeof google.ads.admanager.v1.CustomFieldStatusEnum.CustomFieldStatus|null);
-
- /** CustomField entityType. */
- public entityType?: (google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType|keyof typeof google.ads.admanager.v1.CustomFieldEntityTypeEnum.CustomFieldEntityType|null);
-
- /** CustomField dataType. */
- public dataType?: (google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType|keyof typeof google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType|null);
+ constructor(properties?: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest);
- /** CustomField visibility. */
- public visibility?: (google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility|keyof typeof google.ads.admanager.v1.CustomFieldVisibilityEnum.CustomFieldVisibility|null);
+ /** BatchUpdateCustomFieldsRequest parent. */
+ public parent: string;
- /** CustomField options. */
- public options: google.ads.admanager.v1.ICustomFieldOption[];
+ /** BatchUpdateCustomFieldsRequest requests. */
+ public requests: google.ads.admanager.v1.IUpdateCustomFieldRequest[];
/**
- * Creates a new CustomField instance using the specified properties.
+ * Creates a new BatchUpdateCustomFieldsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomField instance
+ * @returns BatchUpdateCustomFieldsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomField): google.ads.admanager.v1.CustomField;
+ public static create(properties?: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest): google.ads.admanager.v1.BatchUpdateCustomFieldsRequest;
/**
- * Encodes the specified CustomField message. Does not implicitly {@link google.ads.admanager.v1.CustomField.verify|verify} messages.
- * @param message CustomField message or plain object to encode
+ * Encodes the specified BatchUpdateCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomFieldsRequest.verify|verify} messages.
+ * @param message BatchUpdateCustomFieldsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomField, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomField message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomField.verify|verify} messages.
- * @param message CustomField message or plain object to encode
+ * Encodes the specified BatchUpdateCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomFieldsRequest.verify|verify} messages.
+ * @param message BatchUpdateCustomFieldsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomField, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomField message from the specified reader or buffer.
+ * Decodes a BatchUpdateCustomFieldsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomField
+ * @returns BatchUpdateCustomFieldsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomField;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateCustomFieldsRequest;
/**
- * Decodes a CustomField message from the specified reader or buffer, length delimited.
+ * Decodes a BatchUpdateCustomFieldsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomField
+ * @returns BatchUpdateCustomFieldsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomField;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateCustomFieldsRequest;
/**
- * Verifies a CustomField message.
+ * Verifies a BatchUpdateCustomFieldsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomField message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchUpdateCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomField
+ * @returns BatchUpdateCustomFieldsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomField;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateCustomFieldsRequest;
/**
- * Creates a plain object from a CustomField message. Also converts values to other types if specified.
- * @param message CustomField
+ * Creates a plain object from a BatchUpdateCustomFieldsRequest message. Also converts values to other types if specified.
+ * @param message BatchUpdateCustomFieldsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchUpdateCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomField to JSON.
+ * Converts this BatchUpdateCustomFieldsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomField
+ * Gets the default type url for BatchUpdateCustomFieldsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CustomFieldOption. */
- interface ICustomFieldOption {
-
- /** CustomFieldOption customFieldOptionId */
- customFieldOptionId?: (number|Long|string|null);
+ /** Properties of a BatchUpdateCustomFieldsResponse. */
+ interface IBatchUpdateCustomFieldsResponse {
- /** CustomFieldOption displayName */
- displayName?: (string|null);
+ /** BatchUpdateCustomFieldsResponse customFields */
+ customFields?: (google.ads.admanager.v1.ICustomField[]|null);
}
- /** Represents a CustomFieldOption. */
- class CustomFieldOption implements ICustomFieldOption {
+ /** Represents a BatchUpdateCustomFieldsResponse. */
+ class BatchUpdateCustomFieldsResponse implements IBatchUpdateCustomFieldsResponse {
/**
- * Constructs a new CustomFieldOption.
+ * Constructs a new BatchUpdateCustomFieldsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomFieldOption);
-
- /** CustomFieldOption customFieldOptionId. */
- public customFieldOptionId: (number|Long|string);
+ constructor(properties?: google.ads.admanager.v1.IBatchUpdateCustomFieldsResponse);
- /** CustomFieldOption displayName. */
- public displayName: string;
+ /** BatchUpdateCustomFieldsResponse customFields. */
+ public customFields: google.ads.admanager.v1.ICustomField[];
/**
- * Creates a new CustomFieldOption instance using the specified properties.
+ * Creates a new BatchUpdateCustomFieldsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomFieldOption instance
+ * @returns BatchUpdateCustomFieldsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomFieldOption): google.ads.admanager.v1.CustomFieldOption;
+ public static create(properties?: google.ads.admanager.v1.IBatchUpdateCustomFieldsResponse): google.ads.admanager.v1.BatchUpdateCustomFieldsResponse;
/**
- * Encodes the specified CustomFieldOption message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldOption.verify|verify} messages.
- * @param message CustomFieldOption message or plain object to encode
+ * Encodes the specified BatchUpdateCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomFieldsResponse.verify|verify} messages.
+ * @param message BatchUpdateCustomFieldsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomFieldOption, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchUpdateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomFieldOption message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldOption.verify|verify} messages.
- * @param message CustomFieldOption message or plain object to encode
+ * Encodes the specified BatchUpdateCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomFieldsResponse.verify|verify} messages.
+ * @param message BatchUpdateCustomFieldsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldOption, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomFieldOption message from the specified reader or buffer.
+ * Decodes a BatchUpdateCustomFieldsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomFieldOption
+ * @returns BatchUpdateCustomFieldsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldOption;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateCustomFieldsResponse;
/**
- * Decodes a CustomFieldOption message from the specified reader or buffer, length delimited.
+ * Decodes a BatchUpdateCustomFieldsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomFieldOption
+ * @returns BatchUpdateCustomFieldsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldOption;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateCustomFieldsResponse;
/**
- * Verifies a CustomFieldOption message.
+ * Verifies a BatchUpdateCustomFieldsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomFieldOption message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchUpdateCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomFieldOption
+ * @returns BatchUpdateCustomFieldsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldOption;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateCustomFieldsResponse;
/**
- * Creates a plain object from a CustomFieldOption message. Also converts values to other types if specified.
- * @param message CustomFieldOption
+ * Creates a plain object from a BatchUpdateCustomFieldsResponse message. Also converts values to other types if specified.
+ * @param message BatchUpdateCustomFieldsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomFieldOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchUpdateCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomFieldOption to JSON.
+ * Converts this BatchUpdateCustomFieldsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomFieldOption
+ * Gets the default type url for BatchUpdateCustomFieldsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a CustomFieldService */
- class CustomFieldService extends $protobuf.rpc.Service {
+ /** Properties of a BatchActivateCustomFieldsRequest. */
+ interface IBatchActivateCustomFieldsRequest {
- /**
- * Constructs a new CustomFieldService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- */
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+ /** BatchActivateCustomFieldsRequest parent */
+ parent?: (string|null);
- /**
- * Creates new CustomFieldService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
- */
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CustomFieldService;
+ /** BatchActivateCustomFieldsRequest names */
+ names?: (string[]|null);
+ }
- /**
- * Calls GetCustomField.
- * @param request GetCustomFieldRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and CustomField
- */
- public getCustomField(request: google.ads.admanager.v1.IGetCustomFieldRequest, callback: google.ads.admanager.v1.CustomFieldService.GetCustomFieldCallback): void;
+ /** Represents a BatchActivateCustomFieldsRequest. */
+ class BatchActivateCustomFieldsRequest implements IBatchActivateCustomFieldsRequest {
/**
- * Calls GetCustomField.
- * @param request GetCustomFieldRequest message or plain object
- * @returns Promise
+ * Constructs a new BatchActivateCustomFieldsRequest.
+ * @param [properties] Properties to set
*/
- public getCustomField(request: google.ads.admanager.v1.IGetCustomFieldRequest): Promise;
+ constructor(properties?: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest);
- /**
- * Calls ListCustomFields.
- * @param request ListCustomFieldsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListCustomFieldsResponse
- */
- public listCustomFields(request: google.ads.admanager.v1.IListCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.ListCustomFieldsCallback): void;
+ /** BatchActivateCustomFieldsRequest parent. */
+ public parent: string;
- /**
- * Calls ListCustomFields.
- * @param request ListCustomFieldsRequest message or plain object
- * @returns Promise
- */
- public listCustomFields(request: google.ads.admanager.v1.IListCustomFieldsRequest): Promise;
+ /** BatchActivateCustomFieldsRequest names. */
+ public names: string[];
/**
- * Calls CreateCustomField.
- * @param request CreateCustomFieldRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and CustomField
+ * Creates a new BatchActivateCustomFieldsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BatchActivateCustomFieldsRequest instance
*/
- public createCustomField(request: google.ads.admanager.v1.ICreateCustomFieldRequest, callback: google.ads.admanager.v1.CustomFieldService.CreateCustomFieldCallback): void;
+ public static create(properties?: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest): google.ads.admanager.v1.BatchActivateCustomFieldsRequest;
/**
- * Calls CreateCustomField.
- * @param request CreateCustomFieldRequest message or plain object
- * @returns Promise
+ * Encodes the specified BatchActivateCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomFieldsRequest.verify|verify} messages.
+ * @param message BatchActivateCustomFieldsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public createCustomField(request: google.ads.admanager.v1.ICreateCustomFieldRequest): Promise;
+ public static encode(message: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls BatchCreateCustomFields.
- * @param request BatchCreateCustomFieldsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and BatchCreateCustomFieldsResponse
+ * Encodes the specified BatchActivateCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomFieldsRequest.verify|verify} messages.
+ * @param message BatchActivateCustomFieldsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- public batchCreateCustomFields(request: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.BatchCreateCustomFieldsCallback): void;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Calls BatchCreateCustomFields.
- * @param request BatchCreateCustomFieldsRequest message or plain object
- * @returns Promise
+ * Decodes a BatchActivateCustomFieldsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BatchActivateCustomFieldsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public batchCreateCustomFields(request: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest): Promise;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchActivateCustomFieldsRequest;
/**
- * Calls UpdateCustomField.
- * @param request UpdateCustomFieldRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and CustomField
+ * Decodes a BatchActivateCustomFieldsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BatchActivateCustomFieldsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public updateCustomField(request: google.ads.admanager.v1.IUpdateCustomFieldRequest, callback: google.ads.admanager.v1.CustomFieldService.UpdateCustomFieldCallback): void;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchActivateCustomFieldsRequest;
/**
- * Calls UpdateCustomField.
- * @param request UpdateCustomFieldRequest message or plain object
- * @returns Promise
+ * Verifies a BatchActivateCustomFieldsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
*/
- public updateCustomField(request: google.ads.admanager.v1.IUpdateCustomFieldRequest): Promise;
+ public static verify(message: { [k: string]: any }): (string|null);
/**
- * Calls BatchUpdateCustomFields.
- * @param request BatchUpdateCustomFieldsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and BatchUpdateCustomFieldsResponse
+ * Creates a BatchActivateCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BatchActivateCustomFieldsRequest
*/
- public batchUpdateCustomFields(request: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.BatchUpdateCustomFieldsCallback): void;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchActivateCustomFieldsRequest;
/**
- * Calls BatchUpdateCustomFields.
- * @param request BatchUpdateCustomFieldsRequest message or plain object
- * @returns Promise
+ * Creates a plain object from a BatchActivateCustomFieldsRequest message. Also converts values to other types if specified.
+ * @param message BatchActivateCustomFieldsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
*/
- public batchUpdateCustomFields(request: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest): Promise;
+ public static toObject(message: google.ads.admanager.v1.BatchActivateCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Calls BatchActivateCustomFields.
- * @param request BatchActivateCustomFieldsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and BatchActivateCustomFieldsResponse
+ * Converts this BatchActivateCustomFieldsRequest to JSON.
+ * @returns JSON object
*/
- public batchActivateCustomFields(request: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.BatchActivateCustomFieldsCallback): void;
+ public toJSON(): { [k: string]: any };
/**
- * Calls BatchActivateCustomFields.
- * @param request BatchActivateCustomFieldsRequest message or plain object
- * @returns Promise
+ * Gets the default type url for BatchActivateCustomFieldsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
*/
- public batchActivateCustomFields(request: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest): Promise;
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BatchActivateCustomFieldsResponse. */
+ interface IBatchActivateCustomFieldsResponse {
+ }
+
+ /** Represents a BatchActivateCustomFieldsResponse. */
+ class BatchActivateCustomFieldsResponse implements IBatchActivateCustomFieldsResponse {
/**
- * Calls BatchDeactivateCustomFields.
- * @param request BatchDeactivateCustomFieldsRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and BatchDeactivateCustomFieldsResponse
+ * Constructs a new BatchActivateCustomFieldsResponse.
+ * @param [properties] Properties to set
*/
- public batchDeactivateCustomFields(request: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest, callback: google.ads.admanager.v1.CustomFieldService.BatchDeactivateCustomFieldsCallback): void;
+ constructor(properties?: google.ads.admanager.v1.IBatchActivateCustomFieldsResponse);
/**
- * Calls BatchDeactivateCustomFields.
- * @param request BatchDeactivateCustomFieldsRequest message or plain object
- * @returns Promise
+ * Creates a new BatchActivateCustomFieldsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BatchActivateCustomFieldsResponse instance
*/
- public batchDeactivateCustomFields(request: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest): Promise;
- }
+ public static create(properties?: google.ads.admanager.v1.IBatchActivateCustomFieldsResponse): google.ads.admanager.v1.BatchActivateCustomFieldsResponse;
- namespace CustomFieldService {
+ /**
+ * Encodes the specified BatchActivateCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomFieldsResponse.verify|verify} messages.
+ * @param message BatchActivateCustomFieldsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IBatchActivateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|getCustomField}.
- * @param error Error, if any
- * @param [response] CustomField
+ * Encodes the specified BatchActivateCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomFieldsResponse.verify|verify} messages.
+ * @param message BatchActivateCustomFieldsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
*/
- type GetCustomFieldCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomField) => void;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchActivateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|listCustomFields}.
- * @param error Error, if any
- * @param [response] ListCustomFieldsResponse
+ * Decodes a BatchActivateCustomFieldsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BatchActivateCustomFieldsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- type ListCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCustomFieldsResponse) => void;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchActivateCustomFieldsResponse;
/**
- * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|createCustomField}.
- * @param error Error, if any
- * @param [response] CustomField
+ * Decodes a BatchActivateCustomFieldsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BatchActivateCustomFieldsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- type CreateCustomFieldCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomField) => void;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchActivateCustomFieldsResponse;
/**
- * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|batchCreateCustomFields}.
- * @param error Error, if any
- * @param [response] BatchCreateCustomFieldsResponse
+ * Verifies a BatchActivateCustomFieldsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
*/
- type BatchCreateCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchCreateCustomFieldsResponse) => void;
+ public static verify(message: { [k: string]: any }): (string|null);
/**
- * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|updateCustomField}.
- * @param error Error, if any
- * @param [response] CustomField
+ * Creates a BatchActivateCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BatchActivateCustomFieldsResponse
*/
- type UpdateCustomFieldCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomField) => void;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchActivateCustomFieldsResponse;
/**
- * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|batchUpdateCustomFields}.
- * @param error Error, if any
- * @param [response] BatchUpdateCustomFieldsResponse
+ * Creates a plain object from a BatchActivateCustomFieldsResponse message. Also converts values to other types if specified.
+ * @param message BatchActivateCustomFieldsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
*/
- type BatchUpdateCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchUpdateCustomFieldsResponse) => void;
+ public static toObject(message: google.ads.admanager.v1.BatchActivateCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|batchActivateCustomFields}.
- * @param error Error, if any
- * @param [response] BatchActivateCustomFieldsResponse
+ * Converts this BatchActivateCustomFieldsResponse to JSON.
+ * @returns JSON object
*/
- type BatchActivateCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchActivateCustomFieldsResponse) => void;
+ public toJSON(): { [k: string]: any };
/**
- * Callback as used by {@link google.ads.admanager.v1.CustomFieldService|batchDeactivateCustomFields}.
- * @param error Error, if any
- * @param [response] BatchDeactivateCustomFieldsResponse
+ * Gets the default type url for BatchActivateCustomFieldsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
*/
- type BatchDeactivateCustomFieldsCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse) => void;
+ public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a GetCustomFieldRequest. */
- interface IGetCustomFieldRequest {
+ /** Properties of a BatchDeactivateCustomFieldsRequest. */
+ interface IBatchDeactivateCustomFieldsRequest {
- /** GetCustomFieldRequest name */
- name?: (string|null);
+ /** BatchDeactivateCustomFieldsRequest parent */
+ parent?: (string|null);
+
+ /** BatchDeactivateCustomFieldsRequest names */
+ names?: (string[]|null);
}
- /** Represents a GetCustomFieldRequest. */
- class GetCustomFieldRequest implements IGetCustomFieldRequest {
+ /** Represents a BatchDeactivateCustomFieldsRequest. */
+ class BatchDeactivateCustomFieldsRequest implements IBatchDeactivateCustomFieldsRequest {
/**
- * Constructs a new GetCustomFieldRequest.
+ * Constructs a new BatchDeactivateCustomFieldsRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetCustomFieldRequest);
+ constructor(properties?: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest);
- /** GetCustomFieldRequest name. */
- public name: string;
+ /** BatchDeactivateCustomFieldsRequest parent. */
+ public parent: string;
+
+ /** BatchDeactivateCustomFieldsRequest names. */
+ public names: string[];
/**
- * Creates a new GetCustomFieldRequest instance using the specified properties.
+ * Creates a new BatchDeactivateCustomFieldsRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetCustomFieldRequest instance
+ * @returns BatchDeactivateCustomFieldsRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetCustomFieldRequest): google.ads.admanager.v1.GetCustomFieldRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest): google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest;
/**
- * Encodes the specified GetCustomFieldRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCustomFieldRequest.verify|verify} messages.
- * @param message GetCustomFieldRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest.verify|verify} messages.
+ * @param message BatchDeactivateCustomFieldsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetCustomFieldRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCustomFieldRequest.verify|verify} messages.
- * @param message GetCustomFieldRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest.verify|verify} messages.
+ * @param message BatchDeactivateCustomFieldsRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetCustomFieldRequest message from the specified reader or buffer.
+ * Decodes a BatchDeactivateCustomFieldsRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetCustomFieldRequest
+ * @returns BatchDeactivateCustomFieldsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCustomFieldRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest;
/**
- * Decodes a GetCustomFieldRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchDeactivateCustomFieldsRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetCustomFieldRequest
+ * @returns BatchDeactivateCustomFieldsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCustomFieldRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest;
/**
- * Verifies a GetCustomFieldRequest message.
+ * Verifies a BatchDeactivateCustomFieldsRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetCustomFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchDeactivateCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetCustomFieldRequest
+ * @returns BatchDeactivateCustomFieldsRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCustomFieldRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest;
/**
- * Creates a plain object from a GetCustomFieldRequest message. Also converts values to other types if specified.
- * @param message GetCustomFieldRequest
+ * Creates a plain object from a BatchDeactivateCustomFieldsRequest message. Also converts values to other types if specified.
+ * @param message BatchDeactivateCustomFieldsRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetCustomFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetCustomFieldRequest to JSON.
+ * Converts this BatchDeactivateCustomFieldsRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetCustomFieldRequest
+ * Gets the default type url for BatchDeactivateCustomFieldsRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCustomFieldsRequest. */
- interface IListCustomFieldsRequest {
-
- /** ListCustomFieldsRequest parent */
- parent?: (string|null);
-
- /** ListCustomFieldsRequest pageSize */
- pageSize?: (number|null);
-
- /** ListCustomFieldsRequest pageToken */
- pageToken?: (string|null);
-
- /** ListCustomFieldsRequest filter */
- filter?: (string|null);
-
- /** ListCustomFieldsRequest orderBy */
- orderBy?: (string|null);
-
- /** ListCustomFieldsRequest skip */
- skip?: (number|null);
+ /** Properties of a BatchDeactivateCustomFieldsResponse. */
+ interface IBatchDeactivateCustomFieldsResponse {
}
- /** Represents a ListCustomFieldsRequest. */
- class ListCustomFieldsRequest implements IListCustomFieldsRequest {
+ /** Represents a BatchDeactivateCustomFieldsResponse. */
+ class BatchDeactivateCustomFieldsResponse implements IBatchDeactivateCustomFieldsResponse {
/**
- * Constructs a new ListCustomFieldsRequest.
+ * Constructs a new BatchDeactivateCustomFieldsResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCustomFieldsRequest);
-
- /** ListCustomFieldsRequest parent. */
- public parent: string;
-
- /** ListCustomFieldsRequest pageSize. */
- public pageSize: number;
-
- /** ListCustomFieldsRequest pageToken. */
- public pageToken: string;
-
- /** ListCustomFieldsRequest filter. */
- public filter: string;
-
- /** ListCustomFieldsRequest orderBy. */
- public orderBy: string;
-
- /** ListCustomFieldsRequest skip. */
- public skip: number;
+ constructor(properties?: google.ads.admanager.v1.IBatchDeactivateCustomFieldsResponse);
/**
- * Creates a new ListCustomFieldsRequest instance using the specified properties.
+ * Creates a new BatchDeactivateCustomFieldsResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCustomFieldsRequest instance
+ * @returns BatchDeactivateCustomFieldsResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCustomFieldsRequest): google.ads.admanager.v1.ListCustomFieldsRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchDeactivateCustomFieldsResponse): google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse;
/**
- * Encodes the specified ListCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCustomFieldsRequest.verify|verify} messages.
- * @param message ListCustomFieldsRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse.verify|verify} messages.
+ * @param message BatchDeactivateCustomFieldsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchDeactivateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCustomFieldsRequest.verify|verify} messages.
- * @param message ListCustomFieldsRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse.verify|verify} messages.
+ * @param message BatchDeactivateCustomFieldsResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchDeactivateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCustomFieldsRequest message from the specified reader or buffer.
+ * Decodes a BatchDeactivateCustomFieldsResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCustomFieldsRequest
+ * @returns BatchDeactivateCustomFieldsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCustomFieldsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse;
/**
- * Decodes a ListCustomFieldsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchDeactivateCustomFieldsResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCustomFieldsRequest
+ * @returns BatchDeactivateCustomFieldsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCustomFieldsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse;
/**
- * Verifies a ListCustomFieldsRequest message.
+ * Verifies a BatchDeactivateCustomFieldsResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchDeactivateCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCustomFieldsRequest
+ * @returns BatchDeactivateCustomFieldsResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCustomFieldsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse;
/**
- * Creates a plain object from a ListCustomFieldsRequest message. Also converts values to other types if specified.
- * @param message ListCustomFieldsRequest
+ * Creates a plain object from a BatchDeactivateCustomFieldsResponse message. Also converts values to other types if specified.
+ * @param message BatchDeactivateCustomFieldsResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCustomFieldsRequest to JSON.
+ * Converts this BatchDeactivateCustomFieldsResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCustomFieldsRequest
+ * Gets the default type url for BatchDeactivateCustomFieldsResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCustomFieldsResponse. */
- interface IListCustomFieldsResponse {
-
- /** ListCustomFieldsResponse customFields */
- customFields?: (google.ads.admanager.v1.ICustomField[]|null);
+ /** Properties of a CustomFieldValue. */
+ interface ICustomFieldValue {
- /** ListCustomFieldsResponse nextPageToken */
- nextPageToken?: (string|null);
+ /** CustomFieldValue customField */
+ customField?: (string|null);
- /** ListCustomFieldsResponse totalSize */
- totalSize?: (number|null);
+ /** CustomFieldValue value */
+ value?: (google.ads.admanager.v1.CustomFieldValue.IValue|null);
}
- /** Represents a ListCustomFieldsResponse. */
- class ListCustomFieldsResponse implements IListCustomFieldsResponse {
+ /** Represents a CustomFieldValue. */
+ class CustomFieldValue implements ICustomFieldValue {
/**
- * Constructs a new ListCustomFieldsResponse.
+ * Constructs a new CustomFieldValue.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCustomFieldsResponse);
-
- /** ListCustomFieldsResponse customFields. */
- public customFields: google.ads.admanager.v1.ICustomField[];
+ constructor(properties?: google.ads.admanager.v1.ICustomFieldValue);
- /** ListCustomFieldsResponse nextPageToken. */
- public nextPageToken: string;
+ /** CustomFieldValue customField. */
+ public customField: string;
- /** ListCustomFieldsResponse totalSize. */
- public totalSize: number;
+ /** CustomFieldValue value. */
+ public value?: (google.ads.admanager.v1.CustomFieldValue.IValue|null);
/**
- * Creates a new ListCustomFieldsResponse instance using the specified properties.
+ * Creates a new CustomFieldValue instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCustomFieldsResponse instance
+ * @returns CustomFieldValue instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCustomFieldsResponse): google.ads.admanager.v1.ListCustomFieldsResponse;
+ public static create(properties?: google.ads.admanager.v1.ICustomFieldValue): google.ads.admanager.v1.CustomFieldValue;
/**
- * Encodes the specified ListCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCustomFieldsResponse.verify|verify} messages.
- * @param message ListCustomFieldsResponse message or plain object to encode
+ * Encodes the specified CustomFieldValue message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldValue.verify|verify} messages.
+ * @param message CustomFieldValue message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICustomFieldValue, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCustomFieldsResponse.verify|verify} messages.
- * @param message ListCustomFieldsResponse message or plain object to encode
+ * Encodes the specified CustomFieldValue message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldValue.verify|verify} messages.
+ * @param message CustomFieldValue message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldValue, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCustomFieldsResponse message from the specified reader or buffer.
+ * Decodes a CustomFieldValue message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCustomFieldsResponse
+ * @returns CustomFieldValue
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCustomFieldsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldValue;
/**
- * Decodes a ListCustomFieldsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a CustomFieldValue message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCustomFieldsResponse
+ * @returns CustomFieldValue
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCustomFieldsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldValue;
/**
- * Verifies a ListCustomFieldsResponse message.
+ * Verifies a CustomFieldValue message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a CustomFieldValue message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCustomFieldsResponse
+ * @returns CustomFieldValue
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCustomFieldsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldValue;
/**
- * Creates a plain object from a ListCustomFieldsResponse message. Also converts values to other types if specified.
- * @param message ListCustomFieldsResponse
+ * Creates a plain object from a CustomFieldValue message. Also converts values to other types if specified.
+ * @param message CustomFieldValue
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CustomFieldValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCustomFieldsResponse to JSON.
+ * Converts this CustomFieldValue to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCustomFieldsResponse
+ * Gets the default type url for CustomFieldValue
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CreateCustomFieldRequest. */
- interface ICreateCustomFieldRequest {
+ namespace CustomFieldValue {
- /** CreateCustomFieldRequest parent */
- parent?: (string|null);
+ /** Properties of a Value. */
+ interface IValue {
- /** CreateCustomFieldRequest customField */
- customField?: (google.ads.admanager.v1.ICustomField|null);
+ /** Value dropdownValue */
+ dropdownValue?: (number|Long|string|null);
+
+ /** Value stringValue */
+ stringValue?: (string|null);
+
+ /** Value numberValue */
+ numberValue?: (number|null);
+
+ /** Value toggleValue */
+ toggleValue?: (boolean|null);
+ }
+
+ /** Represents a Value. */
+ class Value implements IValue {
+
+ /**
+ * Constructs a new Value.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.CustomFieldValue.IValue);
+
+ /** Value dropdownValue. */
+ public dropdownValue?: (number|Long|string|null);
+
+ /** Value stringValue. */
+ public stringValue?: (string|null);
+
+ /** Value numberValue. */
+ public numberValue?: (number|null);
+
+ /** Value toggleValue. */
+ public toggleValue?: (boolean|null);
+
+ /** Value value. */
+ public value?: ("dropdownValue"|"stringValue"|"numberValue"|"toggleValue");
+
+ /**
+ * Creates a new Value instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Value instance
+ */
+ public static create(properties?: google.ads.admanager.v1.CustomFieldValue.IValue): google.ads.admanager.v1.CustomFieldValue.Value;
+
+ /**
+ * Encodes the specified Value message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldValue.Value.verify|verify} messages.
+ * @param message Value message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.CustomFieldValue.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Value message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldValue.Value.verify|verify} messages.
+ * @param message Value message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.CustomFieldValue.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Value message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Value
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldValue.Value;
+
+ /**
+ * Decodes a Value message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Value
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldValue.Value;
+
+ /**
+ * Verifies a Value message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Value message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Value
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldValue.Value;
+
+ /**
+ * Creates a plain object from a Value message. Also converts values to other types if specified.
+ * @param message Value
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.CustomFieldValue.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Value to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Value
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
}
- /** Represents a CreateCustomFieldRequest. */
- class CreateCustomFieldRequest implements ICreateCustomFieldRequest {
+ /** Properties of a CustomTargetingKeyStatusEnum. */
+ interface ICustomTargetingKeyStatusEnum {
+ }
+
+ /** Represents a CustomTargetingKeyStatusEnum. */
+ class CustomTargetingKeyStatusEnum implements ICustomTargetingKeyStatusEnum {
/**
- * Constructs a new CreateCustomFieldRequest.
+ * Constructs a new CustomTargetingKeyStatusEnum.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICreateCustomFieldRequest);
-
- /** CreateCustomFieldRequest parent. */
- public parent: string;
-
- /** CreateCustomFieldRequest customField. */
- public customField?: (google.ads.admanager.v1.ICustomField|null);
+ constructor(properties?: google.ads.admanager.v1.ICustomTargetingKeyStatusEnum);
/**
- * Creates a new CreateCustomFieldRequest instance using the specified properties.
+ * Creates a new CustomTargetingKeyStatusEnum instance using the specified properties.
* @param [properties] Properties to set
- * @returns CreateCustomFieldRequest instance
+ * @returns CustomTargetingKeyStatusEnum instance
*/
- public static create(properties?: google.ads.admanager.v1.ICreateCustomFieldRequest): google.ads.admanager.v1.CreateCustomFieldRequest;
+ public static create(properties?: google.ads.admanager.v1.ICustomTargetingKeyStatusEnum): google.ads.admanager.v1.CustomTargetingKeyStatusEnum;
/**
- * Encodes the specified CreateCustomFieldRequest message. Does not implicitly {@link google.ads.admanager.v1.CreateCustomFieldRequest.verify|verify} messages.
- * @param message CreateCustomFieldRequest message or plain object to encode
+ * Encodes the specified CustomTargetingKeyStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyStatusEnum.verify|verify} messages.
+ * @param message CustomTargetingKeyStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICreateCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICustomTargetingKeyStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CreateCustomFieldRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreateCustomFieldRequest.verify|verify} messages.
- * @param message CreateCustomFieldRequest message or plain object to encode
+ * Encodes the specified CustomTargetingKeyStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyStatusEnum.verify|verify} messages.
+ * @param message CustomTargetingKeyStatusEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICreateCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomTargetingKeyStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CreateCustomFieldRequest message from the specified reader or buffer.
+ * Decodes a CustomTargetingKeyStatusEnum message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CreateCustomFieldRequest
+ * @returns CustomTargetingKeyStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreateCustomFieldRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomTargetingKeyStatusEnum;
/**
- * Decodes a CreateCustomFieldRequest message from the specified reader or buffer, length delimited.
+ * Decodes a CustomTargetingKeyStatusEnum message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CreateCustomFieldRequest
+ * @returns CustomTargetingKeyStatusEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreateCustomFieldRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomTargetingKeyStatusEnum;
/**
- * Verifies a CreateCustomFieldRequest message.
+ * Verifies a CustomTargetingKeyStatusEnum message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CreateCustomFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a CustomTargetingKeyStatusEnum message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CreateCustomFieldRequest
+ * @returns CustomTargetingKeyStatusEnum
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreateCustomFieldRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomTargetingKeyStatusEnum;
/**
- * Creates a plain object from a CreateCustomFieldRequest message. Also converts values to other types if specified.
- * @param message CreateCustomFieldRequest
+ * Creates a plain object from a CustomTargetingKeyStatusEnum message. Also converts values to other types if specified.
+ * @param message CustomTargetingKeyStatusEnum
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CreateCustomFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CustomTargetingKeyStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CreateCustomFieldRequest to JSON.
+ * Converts this CustomTargetingKeyStatusEnum to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CreateCustomFieldRequest
+ * Gets the default type url for CustomTargetingKeyStatusEnum
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchCreateCustomFieldsRequest. */
- interface IBatchCreateCustomFieldsRequest {
+ namespace CustomTargetingKeyStatusEnum {
- /** BatchCreateCustomFieldsRequest parent */
- parent?: (string|null);
+ /** CustomTargetingKeyStatus enum. */
+ enum CustomTargetingKeyStatus {
+ CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED = 0,
+ ACTIVE = 1,
+ INACTIVE = 2
+ }
+ }
- /** BatchCreateCustomFieldsRequest requests */
- requests?: (google.ads.admanager.v1.ICreateCustomFieldRequest[]|null);
+ /** Properties of a CustomTargetingKeyTypeEnum. */
+ interface ICustomTargetingKeyTypeEnum {
}
- /** Represents a BatchCreateCustomFieldsRequest. */
- class BatchCreateCustomFieldsRequest implements IBatchCreateCustomFieldsRequest {
+ /** Represents a CustomTargetingKeyTypeEnum. */
+ class CustomTargetingKeyTypeEnum implements ICustomTargetingKeyTypeEnum {
/**
- * Constructs a new BatchCreateCustomFieldsRequest.
+ * Constructs a new CustomTargetingKeyTypeEnum.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest);
-
- /** BatchCreateCustomFieldsRequest parent. */
- public parent: string;
-
- /** BatchCreateCustomFieldsRequest requests. */
- public requests: google.ads.admanager.v1.ICreateCustomFieldRequest[];
+ constructor(properties?: google.ads.admanager.v1.ICustomTargetingKeyTypeEnum);
/**
- * Creates a new BatchCreateCustomFieldsRequest instance using the specified properties.
+ * Creates a new CustomTargetingKeyTypeEnum instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchCreateCustomFieldsRequest instance
+ * @returns CustomTargetingKeyTypeEnum instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest): google.ads.admanager.v1.BatchCreateCustomFieldsRequest;
+ public static create(properties?: google.ads.admanager.v1.ICustomTargetingKeyTypeEnum): google.ads.admanager.v1.CustomTargetingKeyTypeEnum;
/**
- * Encodes the specified BatchCreateCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomFieldsRequest.verify|verify} messages.
- * @param message BatchCreateCustomFieldsRequest message or plain object to encode
+ * Encodes the specified CustomTargetingKeyTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyTypeEnum.verify|verify} messages.
+ * @param message CustomTargetingKeyTypeEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICustomTargetingKeyTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchCreateCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomFieldsRequest.verify|verify} messages.
- * @param message BatchCreateCustomFieldsRequest message or plain object to encode
+ * Encodes the specified CustomTargetingKeyTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyTypeEnum.verify|verify} messages.
+ * @param message CustomTargetingKeyTypeEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomTargetingKeyTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchCreateCustomFieldsRequest message from the specified reader or buffer.
+ * Decodes a CustomTargetingKeyTypeEnum message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchCreateCustomFieldsRequest
+ * @returns CustomTargetingKeyTypeEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateCustomFieldsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomTargetingKeyTypeEnum;
/**
- * Decodes a BatchCreateCustomFieldsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a CustomTargetingKeyTypeEnum message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchCreateCustomFieldsRequest
+ * @returns CustomTargetingKeyTypeEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateCustomFieldsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomTargetingKeyTypeEnum;
/**
- * Verifies a BatchCreateCustomFieldsRequest message.
+ * Verifies a CustomTargetingKeyTypeEnum message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchCreateCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a CustomTargetingKeyTypeEnum message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchCreateCustomFieldsRequest
+ * @returns CustomTargetingKeyTypeEnum
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateCustomFieldsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomTargetingKeyTypeEnum;
/**
- * Creates a plain object from a BatchCreateCustomFieldsRequest message. Also converts values to other types if specified.
- * @param message BatchCreateCustomFieldsRequest
+ * Creates a plain object from a CustomTargetingKeyTypeEnum message. Also converts values to other types if specified.
+ * @param message CustomTargetingKeyTypeEnum
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchCreateCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CustomTargetingKeyTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchCreateCustomFieldsRequest to JSON.
+ * Converts this CustomTargetingKeyTypeEnum to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchCreateCustomFieldsRequest
+ * Gets the default type url for CustomTargetingKeyTypeEnum
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchCreateCustomFieldsResponse. */
- interface IBatchCreateCustomFieldsResponse {
+ namespace CustomTargetingKeyTypeEnum {
- /** BatchCreateCustomFieldsResponse customFields */
- customFields?: (google.ads.admanager.v1.ICustomField[]|null);
+ /** CustomTargetingKeyType enum. */
+ enum CustomTargetingKeyType {
+ CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED = 0,
+ PREDEFINED = 1,
+ FREEFORM = 2
+ }
}
- /** Represents a BatchCreateCustomFieldsResponse. */
- class BatchCreateCustomFieldsResponse implements IBatchCreateCustomFieldsResponse {
+ /** Properties of a CustomTargetingKeyReportableTypeEnum. */
+ interface ICustomTargetingKeyReportableTypeEnum {
+ }
+
+ /** Represents a CustomTargetingKeyReportableTypeEnum. */
+ class CustomTargetingKeyReportableTypeEnum implements ICustomTargetingKeyReportableTypeEnum {
/**
- * Constructs a new BatchCreateCustomFieldsResponse.
+ * Constructs a new CustomTargetingKeyReportableTypeEnum.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchCreateCustomFieldsResponse);
-
- /** BatchCreateCustomFieldsResponse customFields. */
- public customFields: google.ads.admanager.v1.ICustomField[];
+ constructor(properties?: google.ads.admanager.v1.ICustomTargetingKeyReportableTypeEnum);
/**
- * Creates a new BatchCreateCustomFieldsResponse instance using the specified properties.
+ * Creates a new CustomTargetingKeyReportableTypeEnum instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchCreateCustomFieldsResponse instance
+ * @returns CustomTargetingKeyReportableTypeEnum instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchCreateCustomFieldsResponse): google.ads.admanager.v1.BatchCreateCustomFieldsResponse;
+ public static create(properties?: google.ads.admanager.v1.ICustomTargetingKeyReportableTypeEnum): google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum;
/**
- * Encodes the specified BatchCreateCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomFieldsResponse.verify|verify} messages.
- * @param message BatchCreateCustomFieldsResponse message or plain object to encode
+ * Encodes the specified CustomTargetingKeyReportableTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.verify|verify} messages.
+ * @param message CustomTargetingKeyReportableTypeEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchCreateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICustomTargetingKeyReportableTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchCreateCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomFieldsResponse.verify|verify} messages.
- * @param message BatchCreateCustomFieldsResponse message or plain object to encode
+ * Encodes the specified CustomTargetingKeyReportableTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.verify|verify} messages.
+ * @param message CustomTargetingKeyReportableTypeEnum message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomTargetingKeyReportableTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchCreateCustomFieldsResponse message from the specified reader or buffer.
+ * Decodes a CustomTargetingKeyReportableTypeEnum message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchCreateCustomFieldsResponse
+ * @returns CustomTargetingKeyReportableTypeEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateCustomFieldsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum;
/**
- * Decodes a BatchCreateCustomFieldsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a CustomTargetingKeyReportableTypeEnum message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchCreateCustomFieldsResponse
+ * @returns CustomTargetingKeyReportableTypeEnum
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateCustomFieldsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum;
/**
- * Verifies a BatchCreateCustomFieldsResponse message.
+ * Verifies a CustomTargetingKeyReportableTypeEnum message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchCreateCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a CustomTargetingKeyReportableTypeEnum message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchCreateCustomFieldsResponse
+ * @returns CustomTargetingKeyReportableTypeEnum
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateCustomFieldsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum;
/**
- * Creates a plain object from a BatchCreateCustomFieldsResponse message. Also converts values to other types if specified.
- * @param message BatchCreateCustomFieldsResponse
+ * Creates a plain object from a CustomTargetingKeyReportableTypeEnum message. Also converts values to other types if specified.
+ * @param message CustomTargetingKeyReportableTypeEnum
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchCreateCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchCreateCustomFieldsResponse to JSON.
+ * Converts this CustomTargetingKeyReportableTypeEnum to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchCreateCustomFieldsResponse
+ * Gets the default type url for CustomTargetingKeyReportableTypeEnum
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of an UpdateCustomFieldRequest. */
- interface IUpdateCustomFieldRequest {
+ namespace CustomTargetingKeyReportableTypeEnum {
- /** UpdateCustomFieldRequest customField */
- customField?: (google.ads.admanager.v1.ICustomField|null);
+ /** CustomTargetingKeyReportableType enum. */
+ enum CustomTargetingKeyReportableType {
+ CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED = 0,
+ OFF = 1,
+ ON = 2,
+ CUSTOM_DIMENSION = 3
+ }
+ }
- /** UpdateCustomFieldRequest updateMask */
- updateMask?: (google.protobuf.IFieldMask|null);
+ /** Properties of a CustomTargetingKey. */
+ interface ICustomTargetingKey {
+
+ /** CustomTargetingKey name */
+ name?: (string|null);
+
+ /** CustomTargetingKey customTargetingKeyId */
+ customTargetingKeyId?: (number|Long|string|null);
+
+ /** CustomTargetingKey adTagName */
+ adTagName?: (string|null);
+
+ /** CustomTargetingKey displayName */
+ displayName?: (string|null);
+
+ /** CustomTargetingKey type */
+ type?: (google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType|keyof typeof google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType|null);
+
+ /** CustomTargetingKey status */
+ status?: (google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus|keyof typeof google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus|null);
+
+ /** CustomTargetingKey reportableType */
+ reportableType?: (google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType|keyof typeof google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType|null);
}
- /** Represents an UpdateCustomFieldRequest. */
- class UpdateCustomFieldRequest implements IUpdateCustomFieldRequest {
+ /** Represents a CustomTargetingKey. */
+ class CustomTargetingKey implements ICustomTargetingKey {
/**
- * Constructs a new UpdateCustomFieldRequest.
+ * Constructs a new CustomTargetingKey.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IUpdateCustomFieldRequest);
+ constructor(properties?: google.ads.admanager.v1.ICustomTargetingKey);
- /** UpdateCustomFieldRequest customField. */
- public customField?: (google.ads.admanager.v1.ICustomField|null);
+ /** CustomTargetingKey name. */
+ public name: string;
- /** UpdateCustomFieldRequest updateMask. */
- public updateMask?: (google.protobuf.IFieldMask|null);
+ /** CustomTargetingKey customTargetingKeyId. */
+ public customTargetingKeyId?: (number|Long|string|null);
+
+ /** CustomTargetingKey adTagName. */
+ public adTagName?: (string|null);
+
+ /** CustomTargetingKey displayName. */
+ public displayName?: (string|null);
+
+ /** CustomTargetingKey type. */
+ public type?: (google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType|keyof typeof google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType|null);
+
+ /** CustomTargetingKey status. */
+ public status?: (google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus|keyof typeof google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus|null);
+
+ /** CustomTargetingKey reportableType. */
+ public reportableType?: (google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType|keyof typeof google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType|null);
/**
- * Creates a new UpdateCustomFieldRequest instance using the specified properties.
+ * Creates a new CustomTargetingKey instance using the specified properties.
* @param [properties] Properties to set
- * @returns UpdateCustomFieldRequest instance
+ * @returns CustomTargetingKey instance
*/
- public static create(properties?: google.ads.admanager.v1.IUpdateCustomFieldRequest): google.ads.admanager.v1.UpdateCustomFieldRequest;
+ public static create(properties?: google.ads.admanager.v1.ICustomTargetingKey): google.ads.admanager.v1.CustomTargetingKey;
/**
- * Encodes the specified UpdateCustomFieldRequest message. Does not implicitly {@link google.ads.admanager.v1.UpdateCustomFieldRequest.verify|verify} messages.
- * @param message UpdateCustomFieldRequest message or plain object to encode
+ * Encodes the specified CustomTargetingKey message. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKey.verify|verify} messages.
+ * @param message CustomTargetingKey message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IUpdateCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICustomTargetingKey, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified UpdateCustomFieldRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.UpdateCustomFieldRequest.verify|verify} messages.
- * @param message UpdateCustomFieldRequest message or plain object to encode
+ * Encodes the specified CustomTargetingKey message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKey.verify|verify} messages.
+ * @param message CustomTargetingKey message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IUpdateCustomFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICustomTargetingKey, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes an UpdateCustomFieldRequest message from the specified reader or buffer.
+ * Decodes a CustomTargetingKey message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns UpdateCustomFieldRequest
+ * @returns CustomTargetingKey
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.UpdateCustomFieldRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomTargetingKey;
/**
- * Decodes an UpdateCustomFieldRequest message from the specified reader or buffer, length delimited.
+ * Decodes a CustomTargetingKey message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns UpdateCustomFieldRequest
+ * @returns CustomTargetingKey
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.UpdateCustomFieldRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomTargetingKey;
/**
- * Verifies an UpdateCustomFieldRequest message.
+ * Verifies a CustomTargetingKey message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates an UpdateCustomFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a CustomTargetingKey message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns UpdateCustomFieldRequest
+ * @returns CustomTargetingKey
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.UpdateCustomFieldRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomTargetingKey;
/**
- * Creates a plain object from an UpdateCustomFieldRequest message. Also converts values to other types if specified.
- * @param message UpdateCustomFieldRequest
+ * Creates a plain object from a CustomTargetingKey message. Also converts values to other types if specified.
+ * @param message CustomTargetingKey
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.UpdateCustomFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CustomTargetingKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this UpdateCustomFieldRequest to JSON.
+ * Converts this CustomTargetingKey to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for UpdateCustomFieldRequest
+ * Gets the default type url for CustomTargetingKey
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchUpdateCustomFieldsRequest. */
- interface IBatchUpdateCustomFieldsRequest {
+ /** Represents a CustomTargetingKeyService */
+ class CustomTargetingKeyService extends $protobuf.rpc.Service {
- /** BatchUpdateCustomFieldsRequest parent */
- parent?: (string|null);
+ /**
+ * Constructs a new CustomTargetingKeyService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
- /** BatchUpdateCustomFieldsRequest requests */
- requests?: (google.ads.admanager.v1.IUpdateCustomFieldRequest[]|null);
- }
+ /**
+ * Creates new CustomTargetingKeyService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CustomTargetingKeyService;
- /** Represents a BatchUpdateCustomFieldsRequest. */
- class BatchUpdateCustomFieldsRequest implements IBatchUpdateCustomFieldsRequest {
+ /**
+ * Calls GetCustomTargetingKey.
+ * @param request GetCustomTargetingKeyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CustomTargetingKey
+ */
+ public getCustomTargetingKey(request: google.ads.admanager.v1.IGetCustomTargetingKeyRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.GetCustomTargetingKeyCallback): void;
/**
- * Constructs a new BatchUpdateCustomFieldsRequest.
- * @param [properties] Properties to set
+ * Calls GetCustomTargetingKey.
+ * @param request GetCustomTargetingKeyRequest message or plain object
+ * @returns Promise
*/
- constructor(properties?: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest);
+ public getCustomTargetingKey(request: google.ads.admanager.v1.IGetCustomTargetingKeyRequest): Promise;
- /** BatchUpdateCustomFieldsRequest parent. */
- public parent: string;
+ /**
+ * Calls ListCustomTargetingKeys.
+ * @param request ListCustomTargetingKeysRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListCustomTargetingKeysResponse
+ */
+ public listCustomTargetingKeys(request: google.ads.admanager.v1.IListCustomTargetingKeysRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.ListCustomTargetingKeysCallback): void;
- /** BatchUpdateCustomFieldsRequest requests. */
- public requests: google.ads.admanager.v1.IUpdateCustomFieldRequest[];
+ /**
+ * Calls ListCustomTargetingKeys.
+ * @param request ListCustomTargetingKeysRequest message or plain object
+ * @returns Promise
+ */
+ public listCustomTargetingKeys(request: google.ads.admanager.v1.IListCustomTargetingKeysRequest): Promise;
/**
- * Creates a new BatchUpdateCustomFieldsRequest instance using the specified properties.
- * @param [properties] Properties to set
- * @returns BatchUpdateCustomFieldsRequest instance
+ * Calls CreateCustomTargetingKey.
+ * @param request CreateCustomTargetingKeyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CustomTargetingKey
*/
- public static create(properties?: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest): google.ads.admanager.v1.BatchUpdateCustomFieldsRequest;
+ public createCustomTargetingKey(request: google.ads.admanager.v1.ICreateCustomTargetingKeyRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.CreateCustomTargetingKeyCallback): void;
/**
- * Encodes the specified BatchUpdateCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomFieldsRequest.verify|verify} messages.
- * @param message BatchUpdateCustomFieldsRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
+ * Calls CreateCustomTargetingKey.
+ * @param request CreateCustomTargetingKeyRequest message or plain object
+ * @returns Promise
*/
- public static encode(message: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public createCustomTargetingKey(request: google.ads.admanager.v1.ICreateCustomTargetingKeyRequest): Promise;
/**
- * Encodes the specified BatchUpdateCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomFieldsRequest.verify|verify} messages.
- * @param message BatchUpdateCustomFieldsRequest message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
+ * Calls BatchCreateCustomTargetingKeys.
+ * @param request BatchCreateCustomTargetingKeysRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchCreateCustomTargetingKeysResponse
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public batchCreateCustomTargetingKeys(request: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.BatchCreateCustomTargetingKeysCallback): void;
/**
- * Decodes a BatchUpdateCustomFieldsRequest message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns BatchUpdateCustomFieldsRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ * Calls BatchCreateCustomTargetingKeys.
+ * @param request BatchCreateCustomTargetingKeysRequest message or plain object
+ * @returns Promise
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateCustomFieldsRequest;
+ public batchCreateCustomTargetingKeys(request: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysRequest): Promise;
/**
- * Decodes a BatchUpdateCustomFieldsRequest message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns BatchUpdateCustomFieldsRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ * Calls UpdateCustomTargetingKey.
+ * @param request UpdateCustomTargetingKeyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CustomTargetingKey
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateCustomFieldsRequest;
+ public updateCustomTargetingKey(request: google.ads.admanager.v1.IUpdateCustomTargetingKeyRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.UpdateCustomTargetingKeyCallback): void;
/**
- * Verifies a BatchUpdateCustomFieldsRequest message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
+ * Calls UpdateCustomTargetingKey.
+ * @param request UpdateCustomTargetingKeyRequest message or plain object
+ * @returns Promise
*/
- public static verify(message: { [k: string]: any }): (string|null);
+ public updateCustomTargetingKey(request: google.ads.admanager.v1.IUpdateCustomTargetingKeyRequest): Promise;
/**
- * Creates a BatchUpdateCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns BatchUpdateCustomFieldsRequest
+ * Calls BatchUpdateCustomTargetingKeys.
+ * @param request BatchUpdateCustomTargetingKeysRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchUpdateCustomTargetingKeysResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateCustomFieldsRequest;
+ public batchUpdateCustomTargetingKeys(request: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.BatchUpdateCustomTargetingKeysCallback): void;
/**
- * Creates a plain object from a BatchUpdateCustomFieldsRequest message. Also converts values to other types if specified.
- * @param message BatchUpdateCustomFieldsRequest
- * @param [options] Conversion options
- * @returns Plain object
+ * Calls BatchUpdateCustomTargetingKeys.
+ * @param request BatchUpdateCustomTargetingKeysRequest message or plain object
+ * @returns Promise
*/
- public static toObject(message: google.ads.admanager.v1.BatchUpdateCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public batchUpdateCustomTargetingKeys(request: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysRequest): Promise;
/**
- * Converts this BatchUpdateCustomFieldsRequest to JSON.
- * @returns JSON object
+ * Calls BatchActivateCustomTargetingKeys.
+ * @param request BatchActivateCustomTargetingKeysRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchActivateCustomTargetingKeysResponse
*/
- public toJSON(): { [k: string]: any };
+ public batchActivateCustomTargetingKeys(request: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.BatchActivateCustomTargetingKeysCallback): void;
/**
- * Gets the default type url for BatchUpdateCustomFieldsRequest
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
+ * Calls BatchActivateCustomTargetingKeys.
+ * @param request BatchActivateCustomTargetingKeysRequest message or plain object
+ * @returns Promise
*/
- public static getTypeUrl(typeUrlPrefix?: string): string;
+ public batchActivateCustomTargetingKeys(request: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysRequest): Promise;
+
+ /**
+ * Calls BatchDeactivateCustomTargetingKeys.
+ * @param request BatchDeactivateCustomTargetingKeysRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and BatchDeactivateCustomTargetingKeysResponse
+ */
+ public batchDeactivateCustomTargetingKeys(request: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.BatchDeactivateCustomTargetingKeysCallback): void;
+
+ /**
+ * Calls BatchDeactivateCustomTargetingKeys.
+ * @param request BatchDeactivateCustomTargetingKeysRequest message or plain object
+ * @returns Promise
+ */
+ public batchDeactivateCustomTargetingKeys(request: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysRequest): Promise;
}
- /** Properties of a BatchUpdateCustomFieldsResponse. */
- interface IBatchUpdateCustomFieldsResponse {
+ namespace CustomTargetingKeyService {
- /** BatchUpdateCustomFieldsResponse customFields */
- customFields?: (google.ads.admanager.v1.ICustomField[]|null);
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|getCustomTargetingKey}.
+ * @param error Error, if any
+ * @param [response] CustomTargetingKey
+ */
+ type GetCustomTargetingKeyCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomTargetingKey) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|listCustomTargetingKeys}.
+ * @param error Error, if any
+ * @param [response] ListCustomTargetingKeysResponse
+ */
+ type ListCustomTargetingKeysCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCustomTargetingKeysResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|createCustomTargetingKey}.
+ * @param error Error, if any
+ * @param [response] CustomTargetingKey
+ */
+ type CreateCustomTargetingKeyCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomTargetingKey) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|batchCreateCustomTargetingKeys}.
+ * @param error Error, if any
+ * @param [response] BatchCreateCustomTargetingKeysResponse
+ */
+ type BatchCreateCustomTargetingKeysCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|updateCustomTargetingKey}.
+ * @param error Error, if any
+ * @param [response] CustomTargetingKey
+ */
+ type UpdateCustomTargetingKeyCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomTargetingKey) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|batchUpdateCustomTargetingKeys}.
+ * @param error Error, if any
+ * @param [response] BatchUpdateCustomTargetingKeysResponse
+ */
+ type BatchUpdateCustomTargetingKeysCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|batchActivateCustomTargetingKeys}.
+ * @param error Error, if any
+ * @param [response] BatchActivateCustomTargetingKeysResponse
+ */
+ type BatchActivateCustomTargetingKeysCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|batchDeactivateCustomTargetingKeys}.
+ * @param error Error, if any
+ * @param [response] BatchDeactivateCustomTargetingKeysResponse
+ */
+ type BatchDeactivateCustomTargetingKeysCallback = (error: (Error|null), response?: google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse) => void;
}
- /** Represents a BatchUpdateCustomFieldsResponse. */
- class BatchUpdateCustomFieldsResponse implements IBatchUpdateCustomFieldsResponse {
+ /** Properties of a GetCustomTargetingKeyRequest. */
+ interface IGetCustomTargetingKeyRequest {
+
+ /** GetCustomTargetingKeyRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetCustomTargetingKeyRequest. */
+ class GetCustomTargetingKeyRequest implements IGetCustomTargetingKeyRequest {
/**
- * Constructs a new BatchUpdateCustomFieldsResponse.
+ * Constructs a new GetCustomTargetingKeyRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchUpdateCustomFieldsResponse);
+ constructor(properties?: google.ads.admanager.v1.IGetCustomTargetingKeyRequest);
- /** BatchUpdateCustomFieldsResponse customFields. */
- public customFields: google.ads.admanager.v1.ICustomField[];
+ /** GetCustomTargetingKeyRequest name. */
+ public name: string;
/**
- * Creates a new BatchUpdateCustomFieldsResponse instance using the specified properties.
+ * Creates a new GetCustomTargetingKeyRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchUpdateCustomFieldsResponse instance
+ * @returns GetCustomTargetingKeyRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchUpdateCustomFieldsResponse): google.ads.admanager.v1.BatchUpdateCustomFieldsResponse;
+ public static create(properties?: google.ads.admanager.v1.IGetCustomTargetingKeyRequest): google.ads.admanager.v1.GetCustomTargetingKeyRequest;
/**
- * Encodes the specified BatchUpdateCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomFieldsResponse.verify|verify} messages.
- * @param message BatchUpdateCustomFieldsResponse message or plain object to encode
+ * Encodes the specified GetCustomTargetingKeyRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCustomTargetingKeyRequest.verify|verify} messages.
+ * @param message GetCustomTargetingKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchUpdateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IGetCustomTargetingKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchUpdateCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomFieldsResponse.verify|verify} messages.
- * @param message BatchUpdateCustomFieldsResponse message or plain object to encode
+ * Encodes the specified GetCustomTargetingKeyRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCustomTargetingKeyRequest.verify|verify} messages.
+ * @param message GetCustomTargetingKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetCustomTargetingKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchUpdateCustomFieldsResponse message from the specified reader or buffer.
+ * Decodes a GetCustomTargetingKeyRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchUpdateCustomFieldsResponse
+ * @returns GetCustomTargetingKeyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateCustomFieldsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCustomTargetingKeyRequest;
/**
- * Decodes a BatchUpdateCustomFieldsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a GetCustomTargetingKeyRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchUpdateCustomFieldsResponse
+ * @returns GetCustomTargetingKeyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateCustomFieldsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCustomTargetingKeyRequest;
/**
- * Verifies a BatchUpdateCustomFieldsResponse message.
+ * Verifies a GetCustomTargetingKeyRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchUpdateCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetCustomTargetingKeyRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchUpdateCustomFieldsResponse
+ * @returns GetCustomTargetingKeyRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateCustomFieldsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCustomTargetingKeyRequest;
/**
- * Creates a plain object from a BatchUpdateCustomFieldsResponse message. Also converts values to other types if specified.
- * @param message BatchUpdateCustomFieldsResponse
+ * Creates a plain object from a GetCustomTargetingKeyRequest message. Also converts values to other types if specified.
+ * @param message GetCustomTargetingKeyRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchUpdateCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.GetCustomTargetingKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchUpdateCustomFieldsResponse to JSON.
+ * Converts this GetCustomTargetingKeyRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchUpdateCustomFieldsResponse
+ * Gets the default type url for GetCustomTargetingKeyRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchActivateCustomFieldsRequest. */
- interface IBatchActivateCustomFieldsRequest {
+ /** Properties of a ListCustomTargetingKeysRequest. */
+ interface IListCustomTargetingKeysRequest {
- /** BatchActivateCustomFieldsRequest parent */
+ /** ListCustomTargetingKeysRequest parent */
parent?: (string|null);
- /** BatchActivateCustomFieldsRequest names */
- names?: (string[]|null);
+ /** ListCustomTargetingKeysRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListCustomTargetingKeysRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListCustomTargetingKeysRequest filter */
+ filter?: (string|null);
+
+ /** ListCustomTargetingKeysRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListCustomTargetingKeysRequest skip */
+ skip?: (number|null);
}
- /** Represents a BatchActivateCustomFieldsRequest. */
- class BatchActivateCustomFieldsRequest implements IBatchActivateCustomFieldsRequest {
+ /** Represents a ListCustomTargetingKeysRequest. */
+ class ListCustomTargetingKeysRequest implements IListCustomTargetingKeysRequest {
/**
- * Constructs a new BatchActivateCustomFieldsRequest.
+ * Constructs a new ListCustomTargetingKeysRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest);
+ constructor(properties?: google.ads.admanager.v1.IListCustomTargetingKeysRequest);
- /** BatchActivateCustomFieldsRequest parent. */
+ /** ListCustomTargetingKeysRequest parent. */
public parent: string;
- /** BatchActivateCustomFieldsRequest names. */
- public names: string[];
+ /** ListCustomTargetingKeysRequest pageSize. */
+ public pageSize: number;
+
+ /** ListCustomTargetingKeysRequest pageToken. */
+ public pageToken: string;
+
+ /** ListCustomTargetingKeysRequest filter. */
+ public filter: string;
+
+ /** ListCustomTargetingKeysRequest orderBy. */
+ public orderBy: string;
+
+ /** ListCustomTargetingKeysRequest skip. */
+ public skip: number;
/**
- * Creates a new BatchActivateCustomFieldsRequest instance using the specified properties.
+ * Creates a new ListCustomTargetingKeysRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchActivateCustomFieldsRequest instance
+ * @returns ListCustomTargetingKeysRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest): google.ads.admanager.v1.BatchActivateCustomFieldsRequest;
+ public static create(properties?: google.ads.admanager.v1.IListCustomTargetingKeysRequest): google.ads.admanager.v1.ListCustomTargetingKeysRequest;
/**
- * Encodes the specified BatchActivateCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomFieldsRequest.verify|verify} messages.
- * @param message BatchActivateCustomFieldsRequest message or plain object to encode
+ * Encodes the specified ListCustomTargetingKeysRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message ListCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchActivateCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomFieldsRequest.verify|verify} messages.
- * @param message BatchActivateCustomFieldsRequest message or plain object to encode
+ * Encodes the specified ListCustomTargetingKeysRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message ListCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchActivateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchActivateCustomFieldsRequest message from the specified reader or buffer.
+ * Decodes a ListCustomTargetingKeysRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchActivateCustomFieldsRequest
+ * @returns ListCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchActivateCustomFieldsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCustomTargetingKeysRequest;
/**
- * Decodes a BatchActivateCustomFieldsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListCustomTargetingKeysRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchActivateCustomFieldsRequest
+ * @returns ListCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchActivateCustomFieldsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCustomTargetingKeysRequest;
/**
- * Verifies a BatchActivateCustomFieldsRequest message.
+ * Verifies a ListCustomTargetingKeysRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchActivateCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCustomTargetingKeysRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchActivateCustomFieldsRequest
+ * @returns ListCustomTargetingKeysRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchActivateCustomFieldsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCustomTargetingKeysRequest;
/**
- * Creates a plain object from a BatchActivateCustomFieldsRequest message. Also converts values to other types if specified.
- * @param message BatchActivateCustomFieldsRequest
+ * Creates a plain object from a ListCustomTargetingKeysRequest message. Also converts values to other types if specified.
+ * @param message ListCustomTargetingKeysRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchActivateCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCustomTargetingKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchActivateCustomFieldsRequest to JSON.
+ * Converts this ListCustomTargetingKeysRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchActivateCustomFieldsRequest
+ * Gets the default type url for ListCustomTargetingKeysRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchActivateCustomFieldsResponse. */
- interface IBatchActivateCustomFieldsResponse {
+ /** Properties of a ListCustomTargetingKeysResponse. */
+ interface IListCustomTargetingKeysResponse {
+
+ /** ListCustomTargetingKeysResponse customTargetingKeys */
+ customTargetingKeys?: (google.ads.admanager.v1.ICustomTargetingKey[]|null);
+
+ /** ListCustomTargetingKeysResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListCustomTargetingKeysResponse totalSize */
+ totalSize?: (number|null);
}
- /** Represents a BatchActivateCustomFieldsResponse. */
- class BatchActivateCustomFieldsResponse implements IBatchActivateCustomFieldsResponse {
+ /** Represents a ListCustomTargetingKeysResponse. */
+ class ListCustomTargetingKeysResponse implements IListCustomTargetingKeysResponse {
/**
- * Constructs a new BatchActivateCustomFieldsResponse.
+ * Constructs a new ListCustomTargetingKeysResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchActivateCustomFieldsResponse);
+ constructor(properties?: google.ads.admanager.v1.IListCustomTargetingKeysResponse);
+
+ /** ListCustomTargetingKeysResponse customTargetingKeys. */
+ public customTargetingKeys: google.ads.admanager.v1.ICustomTargetingKey[];
+
+ /** ListCustomTargetingKeysResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListCustomTargetingKeysResponse totalSize. */
+ public totalSize: number;
/**
- * Creates a new BatchActivateCustomFieldsResponse instance using the specified properties.
+ * Creates a new ListCustomTargetingKeysResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchActivateCustomFieldsResponse instance
+ * @returns ListCustomTargetingKeysResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchActivateCustomFieldsResponse): google.ads.admanager.v1.BatchActivateCustomFieldsResponse;
+ public static create(properties?: google.ads.admanager.v1.IListCustomTargetingKeysResponse): google.ads.admanager.v1.ListCustomTargetingKeysResponse;
/**
- * Encodes the specified BatchActivateCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomFieldsResponse.verify|verify} messages.
- * @param message BatchActivateCustomFieldsResponse message or plain object to encode
+ * Encodes the specified ListCustomTargetingKeysResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message ListCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchActivateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IListCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchActivateCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomFieldsResponse.verify|verify} messages.
- * @param message BatchActivateCustomFieldsResponse message or plain object to encode
+ * Encodes the specified ListCustomTargetingKeysResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message ListCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchActivateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IListCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchActivateCustomFieldsResponse message from the specified reader or buffer.
+ * Decodes a ListCustomTargetingKeysResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchActivateCustomFieldsResponse
+ * @returns ListCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchActivateCustomFieldsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCustomTargetingKeysResponse;
/**
- * Decodes a BatchActivateCustomFieldsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListCustomTargetingKeysResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchActivateCustomFieldsResponse
+ * @returns ListCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchActivateCustomFieldsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCustomTargetingKeysResponse;
/**
- * Verifies a BatchActivateCustomFieldsResponse message.
+ * Verifies a ListCustomTargetingKeysResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchActivateCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListCustomTargetingKeysResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchActivateCustomFieldsResponse
+ * @returns ListCustomTargetingKeysResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchActivateCustomFieldsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCustomTargetingKeysResponse;
/**
- * Creates a plain object from a BatchActivateCustomFieldsResponse message. Also converts values to other types if specified.
- * @param message BatchActivateCustomFieldsResponse
+ * Creates a plain object from a ListCustomTargetingKeysResponse message. Also converts values to other types if specified.
+ * @param message ListCustomTargetingKeysResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchActivateCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.ListCustomTargetingKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchActivateCustomFieldsResponse to JSON.
+ * Converts this ListCustomTargetingKeysResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchActivateCustomFieldsResponse
+ * Gets the default type url for ListCustomTargetingKeysResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchDeactivateCustomFieldsRequest. */
- interface IBatchDeactivateCustomFieldsRequest {
+ /** Properties of a CreateCustomTargetingKeyRequest. */
+ interface ICreateCustomTargetingKeyRequest {
- /** BatchDeactivateCustomFieldsRequest parent */
+ /** CreateCustomTargetingKeyRequest parent */
parent?: (string|null);
- /** BatchDeactivateCustomFieldsRequest names */
- names?: (string[]|null);
+ /** CreateCustomTargetingKeyRequest customTargetingKey */
+ customTargetingKey?: (google.ads.admanager.v1.ICustomTargetingKey|null);
}
- /** Represents a BatchDeactivateCustomFieldsRequest. */
- class BatchDeactivateCustomFieldsRequest implements IBatchDeactivateCustomFieldsRequest {
+ /** Represents a CreateCustomTargetingKeyRequest. */
+ class CreateCustomTargetingKeyRequest implements ICreateCustomTargetingKeyRequest {
/**
- * Constructs a new BatchDeactivateCustomFieldsRequest.
+ * Constructs a new CreateCustomTargetingKeyRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest);
+ constructor(properties?: google.ads.admanager.v1.ICreateCustomTargetingKeyRequest);
- /** BatchDeactivateCustomFieldsRequest parent. */
+ /** CreateCustomTargetingKeyRequest parent. */
public parent: string;
- /** BatchDeactivateCustomFieldsRequest names. */
- public names: string[];
+ /** CreateCustomTargetingKeyRequest customTargetingKey. */
+ public customTargetingKey?: (google.ads.admanager.v1.ICustomTargetingKey|null);
/**
- * Creates a new BatchDeactivateCustomFieldsRequest instance using the specified properties.
+ * Creates a new CreateCustomTargetingKeyRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchDeactivateCustomFieldsRequest instance
+ * @returns CreateCustomTargetingKeyRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest): google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest;
+ public static create(properties?: google.ads.admanager.v1.ICreateCustomTargetingKeyRequest): google.ads.admanager.v1.CreateCustomTargetingKeyRequest;
/**
- * Encodes the specified BatchDeactivateCustomFieldsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest.verify|verify} messages.
- * @param message BatchDeactivateCustomFieldsRequest message or plain object to encode
+ * Encodes the specified CreateCustomTargetingKeyRequest message. Does not implicitly {@link google.ads.admanager.v1.CreateCustomTargetingKeyRequest.verify|verify} messages.
+ * @param message CreateCustomTargetingKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.ICreateCustomTargetingKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchDeactivateCustomFieldsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest.verify|verify} messages.
- * @param message BatchDeactivateCustomFieldsRequest message or plain object to encode
+ * Encodes the specified CreateCustomTargetingKeyRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreateCustomTargetingKeyRequest.verify|verify} messages.
+ * @param message CreateCustomTargetingKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchDeactivateCustomFieldsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.ICreateCustomTargetingKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchDeactivateCustomFieldsRequest message from the specified reader or buffer.
+ * Decodes a CreateCustomTargetingKeyRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchDeactivateCustomFieldsRequest
+ * @returns CreateCustomTargetingKeyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CreateCustomTargetingKeyRequest;
/**
- * Decodes a BatchDeactivateCustomFieldsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a CreateCustomTargetingKeyRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchDeactivateCustomFieldsRequest
+ * @returns CreateCustomTargetingKeyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CreateCustomTargetingKeyRequest;
/**
- * Verifies a BatchDeactivateCustomFieldsRequest message.
+ * Verifies a CreateCustomTargetingKeyRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchDeactivateCustomFieldsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a CreateCustomTargetingKeyRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchDeactivateCustomFieldsRequest
+ * @returns CreateCustomTargetingKeyRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CreateCustomTargetingKeyRequest;
/**
- * Creates a plain object from a BatchDeactivateCustomFieldsRequest message. Also converts values to other types if specified.
- * @param message BatchDeactivateCustomFieldsRequest
+ * Creates a plain object from a CreateCustomTargetingKeyRequest message. Also converts values to other types if specified.
+ * @param message CreateCustomTargetingKeyRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchDeactivateCustomFieldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.CreateCustomTargetingKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchDeactivateCustomFieldsRequest to JSON.
+ * Converts this CreateCustomTargetingKeyRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchDeactivateCustomFieldsRequest
+ * Gets the default type url for CreateCustomTargetingKeyRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a BatchDeactivateCustomFieldsResponse. */
- interface IBatchDeactivateCustomFieldsResponse {
+ /** Properties of a BatchCreateCustomTargetingKeysRequest. */
+ interface IBatchCreateCustomTargetingKeysRequest {
+
+ /** BatchCreateCustomTargetingKeysRequest parent */
+ parent?: (string|null);
+
+ /** BatchCreateCustomTargetingKeysRequest requests */
+ requests?: (google.ads.admanager.v1.ICreateCustomTargetingKeyRequest[]|null);
}
- /** Represents a BatchDeactivateCustomFieldsResponse. */
- class BatchDeactivateCustomFieldsResponse implements IBatchDeactivateCustomFieldsResponse {
+ /** Represents a BatchCreateCustomTargetingKeysRequest. */
+ class BatchCreateCustomTargetingKeysRequest implements IBatchCreateCustomTargetingKeysRequest {
/**
- * Constructs a new BatchDeactivateCustomFieldsResponse.
+ * Constructs a new BatchCreateCustomTargetingKeysRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IBatchDeactivateCustomFieldsResponse);
+ constructor(properties?: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysRequest);
+
+ /** BatchCreateCustomTargetingKeysRequest parent. */
+ public parent: string;
+
+ /** BatchCreateCustomTargetingKeysRequest requests. */
+ public requests: google.ads.admanager.v1.ICreateCustomTargetingKeyRequest[];
/**
- * Creates a new BatchDeactivateCustomFieldsResponse instance using the specified properties.
+ * Creates a new BatchCreateCustomTargetingKeysRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns BatchDeactivateCustomFieldsResponse instance
+ * @returns BatchCreateCustomTargetingKeysRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IBatchDeactivateCustomFieldsResponse): google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse;
+ public static create(properties?: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysRequest): google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest;
/**
- * Encodes the specified BatchDeactivateCustomFieldsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse.verify|verify} messages.
- * @param message BatchDeactivateCustomFieldsResponse message or plain object to encode
+ * Encodes the specified BatchCreateCustomTargetingKeysRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message BatchCreateCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IBatchDeactivateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified BatchDeactivateCustomFieldsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse.verify|verify} messages.
- * @param message BatchDeactivateCustomFieldsResponse message or plain object to encode
+ * Encodes the specified BatchCreateCustomTargetingKeysRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message BatchCreateCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IBatchDeactivateCustomFieldsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a BatchDeactivateCustomFieldsResponse message from the specified reader or buffer.
+ * Decodes a BatchCreateCustomTargetingKeysRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns BatchDeactivateCustomFieldsResponse
+ * @returns BatchCreateCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest;
/**
- * Decodes a BatchDeactivateCustomFieldsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateCustomTargetingKeysRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns BatchDeactivateCustomFieldsResponse
+ * @returns BatchCreateCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest;
/**
- * Verifies a BatchDeactivateCustomFieldsResponse message.
+ * Verifies a BatchCreateCustomTargetingKeysRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a BatchDeactivateCustomFieldsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateCustomTargetingKeysRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns BatchDeactivateCustomFieldsResponse
+ * @returns BatchCreateCustomTargetingKeysRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest;
/**
- * Creates a plain object from a BatchDeactivateCustomFieldsResponse message. Also converts values to other types if specified.
- * @param message BatchDeactivateCustomFieldsResponse
+ * Creates a plain object from a BatchCreateCustomTargetingKeysRequest message. Also converts values to other types if specified.
+ * @param message BatchCreateCustomTargetingKeysRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.BatchDeactivateCustomFieldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchCreateCustomTargetingKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this BatchDeactivateCustomFieldsResponse to JSON.
+ * Converts this BatchCreateCustomTargetingKeysRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for BatchDeactivateCustomFieldsResponse
+ * Gets the default type url for BatchCreateCustomTargetingKeysRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a CustomFieldValue. */
- interface ICustomFieldValue {
-
- /** CustomFieldValue customField */
- customField?: (string|null);
+ /** Properties of a BatchCreateCustomTargetingKeysResponse. */
+ interface IBatchCreateCustomTargetingKeysResponse {
- /** CustomFieldValue value */
- value?: (google.ads.admanager.v1.CustomFieldValue.IValue|null);
+ /** BatchCreateCustomTargetingKeysResponse customTargetingKeys */
+ customTargetingKeys?: (google.ads.admanager.v1.ICustomTargetingKey[]|null);
}
- /** Represents a CustomFieldValue. */
- class CustomFieldValue implements ICustomFieldValue {
+ /** Represents a BatchCreateCustomTargetingKeysResponse. */
+ class BatchCreateCustomTargetingKeysResponse implements IBatchCreateCustomTargetingKeysResponse {
/**
- * Constructs a new CustomFieldValue.
+ * Constructs a new BatchCreateCustomTargetingKeysResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomFieldValue);
+ constructor(properties?: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysResponse);
- /** CustomFieldValue customField. */
- public customField: string;
-
- /** CustomFieldValue value. */
- public value?: (google.ads.admanager.v1.CustomFieldValue.IValue|null);
+ /** BatchCreateCustomTargetingKeysResponse customTargetingKeys. */
+ public customTargetingKeys: google.ads.admanager.v1.ICustomTargetingKey[];
/**
- * Creates a new CustomFieldValue instance using the specified properties.
+ * Creates a new BatchCreateCustomTargetingKeysResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomFieldValue instance
+ * @returns BatchCreateCustomTargetingKeysResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomFieldValue): google.ads.admanager.v1.CustomFieldValue;
+ public static create(properties?: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysResponse): google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse;
/**
- * Encodes the specified CustomFieldValue message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldValue.verify|verify} messages.
- * @param message CustomFieldValue message or plain object to encode
+ * Encodes the specified BatchCreateCustomTargetingKeysResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message BatchCreateCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomFieldValue, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomFieldValue message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldValue.verify|verify} messages.
- * @param message CustomFieldValue message or plain object to encode
+ * Encodes the specified BatchCreateCustomTargetingKeysResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message BatchCreateCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomFieldValue, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchCreateCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomFieldValue message from the specified reader or buffer.
+ * Decodes a BatchCreateCustomTargetingKeysResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomFieldValue
+ * @returns BatchCreateCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldValue;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse;
/**
- * Decodes a CustomFieldValue message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateCustomTargetingKeysResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomFieldValue
+ * @returns BatchCreateCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldValue;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse;
/**
- * Verifies a CustomFieldValue message.
+ * Verifies a BatchCreateCustomTargetingKeysResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomFieldValue message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateCustomTargetingKeysResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomFieldValue
+ * @returns BatchCreateCustomTargetingKeysResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldValue;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse;
/**
- * Creates a plain object from a CustomFieldValue message. Also converts values to other types if specified.
- * @param message CustomFieldValue
+ * Creates a plain object from a BatchCreateCustomTargetingKeysResponse message. Also converts values to other types if specified.
+ * @param message BatchCreateCustomTargetingKeysResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomFieldValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomFieldValue to JSON.
+ * Converts this BatchCreateCustomTargetingKeysResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomFieldValue
+ * Gets the default type url for BatchCreateCustomTargetingKeysResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CustomFieldValue {
-
- /** Properties of a Value. */
- interface IValue {
-
- /** Value dropdownValue */
- dropdownValue?: (number|Long|string|null);
-
- /** Value stringValue */
- stringValue?: (string|null);
-
- /** Value numberValue */
- numberValue?: (number|null);
-
- /** Value toggleValue */
- toggleValue?: (boolean|null);
- }
-
- /** Represents a Value. */
- class Value implements IValue {
-
- /**
- * Constructs a new Value.
- * @param [properties] Properties to set
- */
- constructor(properties?: google.ads.admanager.v1.CustomFieldValue.IValue);
-
- /** Value dropdownValue. */
- public dropdownValue?: (number|Long|string|null);
-
- /** Value stringValue. */
- public stringValue?: (string|null);
-
- /** Value numberValue. */
- public numberValue?: (number|null);
-
- /** Value toggleValue. */
- public toggleValue?: (boolean|null);
-
- /** Value value. */
- public value?: ("dropdownValue"|"stringValue"|"numberValue"|"toggleValue");
-
- /**
- * Creates a new Value instance using the specified properties.
- * @param [properties] Properties to set
- * @returns Value instance
- */
- public static create(properties?: google.ads.admanager.v1.CustomFieldValue.IValue): google.ads.admanager.v1.CustomFieldValue.Value;
-
- /**
- * Encodes the specified Value message. Does not implicitly {@link google.ads.admanager.v1.CustomFieldValue.Value.verify|verify} messages.
- * @param message Value message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: google.ads.admanager.v1.CustomFieldValue.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
-
- /**
- * Encodes the specified Value message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomFieldValue.Value.verify|verify} messages.
- * @param message Value message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: google.ads.admanager.v1.CustomFieldValue.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
-
- /**
- * Decodes a Value message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns Value
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomFieldValue.Value;
-
- /**
- * Decodes a Value message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns Value
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomFieldValue.Value;
-
- /**
- * Verifies a Value message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
-
- /**
- * Creates a Value message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns Value
- */
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomFieldValue.Value;
-
- /**
- * Creates a plain object from a Value message. Also converts values to other types if specified.
- * @param message Value
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: google.ads.admanager.v1.CustomFieldValue.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
-
- /**
- * Converts this Value to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
+ /** Properties of an UpdateCustomTargetingKeyRequest. */
+ interface IUpdateCustomTargetingKeyRequest {
- /**
- * Gets the default type url for Value
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns The default type url
- */
- public static getTypeUrl(typeUrlPrefix?: string): string;
- }
- }
+ /** UpdateCustomTargetingKeyRequest customTargetingKey */
+ customTargetingKey?: (google.ads.admanager.v1.ICustomTargetingKey|null);
- /** Properties of a CustomTargetingKeyStatusEnum. */
- interface ICustomTargetingKeyStatusEnum {
+ /** UpdateCustomTargetingKeyRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
}
- /** Represents a CustomTargetingKeyStatusEnum. */
- class CustomTargetingKeyStatusEnum implements ICustomTargetingKeyStatusEnum {
+ /** Represents an UpdateCustomTargetingKeyRequest. */
+ class UpdateCustomTargetingKeyRequest implements IUpdateCustomTargetingKeyRequest {
/**
- * Constructs a new CustomTargetingKeyStatusEnum.
+ * Constructs a new UpdateCustomTargetingKeyRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomTargetingKeyStatusEnum);
+ constructor(properties?: google.ads.admanager.v1.IUpdateCustomTargetingKeyRequest);
+
+ /** UpdateCustomTargetingKeyRequest customTargetingKey. */
+ public customTargetingKey?: (google.ads.admanager.v1.ICustomTargetingKey|null);
+
+ /** UpdateCustomTargetingKeyRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
/**
- * Creates a new CustomTargetingKeyStatusEnum instance using the specified properties.
+ * Creates a new UpdateCustomTargetingKeyRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomTargetingKeyStatusEnum instance
+ * @returns UpdateCustomTargetingKeyRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomTargetingKeyStatusEnum): google.ads.admanager.v1.CustomTargetingKeyStatusEnum;
+ public static create(properties?: google.ads.admanager.v1.IUpdateCustomTargetingKeyRequest): google.ads.admanager.v1.UpdateCustomTargetingKeyRequest;
/**
- * Encodes the specified CustomTargetingKeyStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyStatusEnum.verify|verify} messages.
- * @param message CustomTargetingKeyStatusEnum message or plain object to encode
+ * Encodes the specified UpdateCustomTargetingKeyRequest message. Does not implicitly {@link google.ads.admanager.v1.UpdateCustomTargetingKeyRequest.verify|verify} messages.
+ * @param message UpdateCustomTargetingKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomTargetingKeyStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IUpdateCustomTargetingKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomTargetingKeyStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyStatusEnum.verify|verify} messages.
- * @param message CustomTargetingKeyStatusEnum message or plain object to encode
+ * Encodes the specified UpdateCustomTargetingKeyRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.UpdateCustomTargetingKeyRequest.verify|verify} messages.
+ * @param message UpdateCustomTargetingKeyRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomTargetingKeyStatusEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IUpdateCustomTargetingKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomTargetingKeyStatusEnum message from the specified reader or buffer.
+ * Decodes an UpdateCustomTargetingKeyRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomTargetingKeyStatusEnum
+ * @returns UpdateCustomTargetingKeyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomTargetingKeyStatusEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.UpdateCustomTargetingKeyRequest;
/**
- * Decodes a CustomTargetingKeyStatusEnum message from the specified reader or buffer, length delimited.
+ * Decodes an UpdateCustomTargetingKeyRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomTargetingKeyStatusEnum
+ * @returns UpdateCustomTargetingKeyRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomTargetingKeyStatusEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.UpdateCustomTargetingKeyRequest;
/**
- * Verifies a CustomTargetingKeyStatusEnum message.
+ * Verifies an UpdateCustomTargetingKeyRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomTargetingKeyStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates an UpdateCustomTargetingKeyRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomTargetingKeyStatusEnum
+ * @returns UpdateCustomTargetingKeyRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomTargetingKeyStatusEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.UpdateCustomTargetingKeyRequest;
/**
- * Creates a plain object from a CustomTargetingKeyStatusEnum message. Also converts values to other types if specified.
- * @param message CustomTargetingKeyStatusEnum
+ * Creates a plain object from an UpdateCustomTargetingKeyRequest message. Also converts values to other types if specified.
+ * @param message UpdateCustomTargetingKeyRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomTargetingKeyStatusEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.UpdateCustomTargetingKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomTargetingKeyStatusEnum to JSON.
+ * Converts this UpdateCustomTargetingKeyRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomTargetingKeyStatusEnum
+ * Gets the default type url for UpdateCustomTargetingKeyRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CustomTargetingKeyStatusEnum {
+ /** Properties of a BatchUpdateCustomTargetingKeysRequest. */
+ interface IBatchUpdateCustomTargetingKeysRequest {
- /** CustomTargetingKeyStatus enum. */
- enum CustomTargetingKeyStatus {
- CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED = 0,
- ACTIVE = 1,
- INACTIVE = 2
- }
- }
+ /** BatchUpdateCustomTargetingKeysRequest parent */
+ parent?: (string|null);
- /** Properties of a CustomTargetingKeyTypeEnum. */
- interface ICustomTargetingKeyTypeEnum {
+ /** BatchUpdateCustomTargetingKeysRequest requests */
+ requests?: (google.ads.admanager.v1.IUpdateCustomTargetingKeyRequest[]|null);
}
- /** Represents a CustomTargetingKeyTypeEnum. */
- class CustomTargetingKeyTypeEnum implements ICustomTargetingKeyTypeEnum {
+ /** Represents a BatchUpdateCustomTargetingKeysRequest. */
+ class BatchUpdateCustomTargetingKeysRequest implements IBatchUpdateCustomTargetingKeysRequest {
/**
- * Constructs a new CustomTargetingKeyTypeEnum.
+ * Constructs a new BatchUpdateCustomTargetingKeysRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomTargetingKeyTypeEnum);
+ constructor(properties?: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysRequest);
+
+ /** BatchUpdateCustomTargetingKeysRequest parent. */
+ public parent: string;
+
+ /** BatchUpdateCustomTargetingKeysRequest requests. */
+ public requests: google.ads.admanager.v1.IUpdateCustomTargetingKeyRequest[];
/**
- * Creates a new CustomTargetingKeyTypeEnum instance using the specified properties.
+ * Creates a new BatchUpdateCustomTargetingKeysRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomTargetingKeyTypeEnum instance
+ * @returns BatchUpdateCustomTargetingKeysRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomTargetingKeyTypeEnum): google.ads.admanager.v1.CustomTargetingKeyTypeEnum;
+ public static create(properties?: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysRequest): google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest;
/**
- * Encodes the specified CustomTargetingKeyTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyTypeEnum.verify|verify} messages.
- * @param message CustomTargetingKeyTypeEnum message or plain object to encode
+ * Encodes the specified BatchUpdateCustomTargetingKeysRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message BatchUpdateCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomTargetingKeyTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomTargetingKeyTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyTypeEnum.verify|verify} messages.
- * @param message CustomTargetingKeyTypeEnum message or plain object to encode
+ * Encodes the specified BatchUpdateCustomTargetingKeysRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message BatchUpdateCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomTargetingKeyTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomTargetingKeyTypeEnum message from the specified reader or buffer.
+ * Decodes a BatchUpdateCustomTargetingKeysRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomTargetingKeyTypeEnum
+ * @returns BatchUpdateCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomTargetingKeyTypeEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest;
/**
- * Decodes a CustomTargetingKeyTypeEnum message from the specified reader or buffer, length delimited.
+ * Decodes a BatchUpdateCustomTargetingKeysRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomTargetingKeyTypeEnum
+ * @returns BatchUpdateCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomTargetingKeyTypeEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest;
/**
- * Verifies a CustomTargetingKeyTypeEnum message.
+ * Verifies a BatchUpdateCustomTargetingKeysRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomTargetingKeyTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchUpdateCustomTargetingKeysRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomTargetingKeyTypeEnum
+ * @returns BatchUpdateCustomTargetingKeysRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomTargetingKeyTypeEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest;
/**
- * Creates a plain object from a CustomTargetingKeyTypeEnum message. Also converts values to other types if specified.
- * @param message CustomTargetingKeyTypeEnum
+ * Creates a plain object from a BatchUpdateCustomTargetingKeysRequest message. Also converts values to other types if specified.
+ * @param message BatchUpdateCustomTargetingKeysRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomTargetingKeyTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchUpdateCustomTargetingKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomTargetingKeyTypeEnum to JSON.
+ * Converts this BatchUpdateCustomTargetingKeysRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomTargetingKeyTypeEnum
+ * Gets the default type url for BatchUpdateCustomTargetingKeysRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CustomTargetingKeyTypeEnum {
-
- /** CustomTargetingKeyType enum. */
- enum CustomTargetingKeyType {
- CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED = 0,
- PREDEFINED = 1,
- FREEFORM = 2
- }
- }
+ /** Properties of a BatchUpdateCustomTargetingKeysResponse. */
+ interface IBatchUpdateCustomTargetingKeysResponse {
- /** Properties of a CustomTargetingKeyReportableTypeEnum. */
- interface ICustomTargetingKeyReportableTypeEnum {
+ /** BatchUpdateCustomTargetingKeysResponse customTargetingKeys */
+ customTargetingKeys?: (google.ads.admanager.v1.ICustomTargetingKey[]|null);
}
- /** Represents a CustomTargetingKeyReportableTypeEnum. */
- class CustomTargetingKeyReportableTypeEnum implements ICustomTargetingKeyReportableTypeEnum {
+ /** Represents a BatchUpdateCustomTargetingKeysResponse. */
+ class BatchUpdateCustomTargetingKeysResponse implements IBatchUpdateCustomTargetingKeysResponse {
/**
- * Constructs a new CustomTargetingKeyReportableTypeEnum.
+ * Constructs a new BatchUpdateCustomTargetingKeysResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomTargetingKeyReportableTypeEnum);
+ constructor(properties?: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysResponse);
+
+ /** BatchUpdateCustomTargetingKeysResponse customTargetingKeys. */
+ public customTargetingKeys: google.ads.admanager.v1.ICustomTargetingKey[];
/**
- * Creates a new CustomTargetingKeyReportableTypeEnum instance using the specified properties.
+ * Creates a new BatchUpdateCustomTargetingKeysResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomTargetingKeyReportableTypeEnum instance
+ * @returns BatchUpdateCustomTargetingKeysResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomTargetingKeyReportableTypeEnum): google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum;
+ public static create(properties?: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysResponse): google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse;
/**
- * Encodes the specified CustomTargetingKeyReportableTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.verify|verify} messages.
- * @param message CustomTargetingKeyReportableTypeEnum message or plain object to encode
+ * Encodes the specified BatchUpdateCustomTargetingKeysResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message BatchUpdateCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomTargetingKeyReportableTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
- /**
- * Encodes the specified CustomTargetingKeyReportableTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.verify|verify} messages.
- * @param message CustomTargetingKeyReportableTypeEnum message or plain object to encode
+ /**
+ * Encodes the specified BatchUpdateCustomTargetingKeysResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message BatchUpdateCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomTargetingKeyReportableTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchUpdateCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomTargetingKeyReportableTypeEnum message from the specified reader or buffer.
+ * Decodes a BatchUpdateCustomTargetingKeysResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomTargetingKeyReportableTypeEnum
+ * @returns BatchUpdateCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse;
/**
- * Decodes a CustomTargetingKeyReportableTypeEnum message from the specified reader or buffer, length delimited.
+ * Decodes a BatchUpdateCustomTargetingKeysResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomTargetingKeyReportableTypeEnum
+ * @returns BatchUpdateCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse;
/**
- * Verifies a CustomTargetingKeyReportableTypeEnum message.
+ * Verifies a BatchUpdateCustomTargetingKeysResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomTargetingKeyReportableTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchUpdateCustomTargetingKeysResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomTargetingKeyReportableTypeEnum
+ * @returns BatchUpdateCustomTargetingKeysResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse;
/**
- * Creates a plain object from a CustomTargetingKeyReportableTypeEnum message. Also converts values to other types if specified.
- * @param message CustomTargetingKeyReportableTypeEnum
+ * Creates a plain object from a BatchUpdateCustomTargetingKeysResponse message. Also converts values to other types if specified.
+ * @param message BatchUpdateCustomTargetingKeysResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchUpdateCustomTargetingKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomTargetingKeyReportableTypeEnum to JSON.
+ * Converts this BatchUpdateCustomTargetingKeysResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomTargetingKeyReportableTypeEnum
+ * Gets the default type url for BatchUpdateCustomTargetingKeysResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- namespace CustomTargetingKeyReportableTypeEnum {
-
- /** CustomTargetingKeyReportableType enum. */
- enum CustomTargetingKeyReportableType {
- CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED = 0,
- OFF = 1,
- ON = 2,
- CUSTOM_DIMENSION = 3
- }
- }
-
- /** Properties of a CustomTargetingKey. */
- interface ICustomTargetingKey {
-
- /** CustomTargetingKey name */
- name?: (string|null);
-
- /** CustomTargetingKey customTargetingKeyId */
- customTargetingKeyId?: (number|Long|string|null);
-
- /** CustomTargetingKey adTagName */
- adTagName?: (string|null);
-
- /** CustomTargetingKey displayName */
- displayName?: (string|null);
-
- /** CustomTargetingKey type */
- type?: (google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType|keyof typeof google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType|null);
+ /** Properties of a BatchActivateCustomTargetingKeysRequest. */
+ interface IBatchActivateCustomTargetingKeysRequest {
- /** CustomTargetingKey status */
- status?: (google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus|keyof typeof google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus|null);
+ /** BatchActivateCustomTargetingKeysRequest parent */
+ parent?: (string|null);
- /** CustomTargetingKey reportableType */
- reportableType?: (google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType|keyof typeof google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType|null);
+ /** BatchActivateCustomTargetingKeysRequest names */
+ names?: (string[]|null);
}
- /** Represents a CustomTargetingKey. */
- class CustomTargetingKey implements ICustomTargetingKey {
+ /** Represents a BatchActivateCustomTargetingKeysRequest. */
+ class BatchActivateCustomTargetingKeysRequest implements IBatchActivateCustomTargetingKeysRequest {
/**
- * Constructs a new CustomTargetingKey.
+ * Constructs a new BatchActivateCustomTargetingKeysRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.ICustomTargetingKey);
-
- /** CustomTargetingKey name. */
- public name: string;
-
- /** CustomTargetingKey customTargetingKeyId. */
- public customTargetingKeyId?: (number|Long|string|null);
-
- /** CustomTargetingKey adTagName. */
- public adTagName?: (string|null);
+ constructor(properties?: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysRequest);
- /** CustomTargetingKey displayName. */
- public displayName?: (string|null);
-
- /** CustomTargetingKey type. */
- public type?: (google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType|keyof typeof google.ads.admanager.v1.CustomTargetingKeyTypeEnum.CustomTargetingKeyType|null);
-
- /** CustomTargetingKey status. */
- public status?: (google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus|keyof typeof google.ads.admanager.v1.CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus|null);
+ /** BatchActivateCustomTargetingKeysRequest parent. */
+ public parent: string;
- /** CustomTargetingKey reportableType. */
- public reportableType?: (google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType|keyof typeof google.ads.admanager.v1.CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType|null);
+ /** BatchActivateCustomTargetingKeysRequest names. */
+ public names: string[];
/**
- * Creates a new CustomTargetingKey instance using the specified properties.
+ * Creates a new BatchActivateCustomTargetingKeysRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns CustomTargetingKey instance
+ * @returns BatchActivateCustomTargetingKeysRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.ICustomTargetingKey): google.ads.admanager.v1.CustomTargetingKey;
+ public static create(properties?: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysRequest): google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest;
/**
- * Encodes the specified CustomTargetingKey message. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKey.verify|verify} messages.
- * @param message CustomTargetingKey message or plain object to encode
+ * Encodes the specified BatchActivateCustomTargetingKeysRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message BatchActivateCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.ICustomTargetingKey, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified CustomTargetingKey message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CustomTargetingKey.verify|verify} messages.
- * @param message CustomTargetingKey message or plain object to encode
+ * Encodes the specified BatchActivateCustomTargetingKeysRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message BatchActivateCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.ICustomTargetingKey, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a CustomTargetingKey message from the specified reader or buffer.
+ * Decodes a BatchActivateCustomTargetingKeysRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns CustomTargetingKey
+ * @returns BatchActivateCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.CustomTargetingKey;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest;
/**
- * Decodes a CustomTargetingKey message from the specified reader or buffer, length delimited.
+ * Decodes a BatchActivateCustomTargetingKeysRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns CustomTargetingKey
+ * @returns BatchActivateCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.CustomTargetingKey;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest;
/**
- * Verifies a CustomTargetingKey message.
+ * Verifies a BatchActivateCustomTargetingKeysRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a CustomTargetingKey message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchActivateCustomTargetingKeysRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns CustomTargetingKey
+ * @returns BatchActivateCustomTargetingKeysRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.CustomTargetingKey;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest;
/**
- * Creates a plain object from a CustomTargetingKey message. Also converts values to other types if specified.
- * @param message CustomTargetingKey
+ * Creates a plain object from a BatchActivateCustomTargetingKeysRequest message. Also converts values to other types if specified.
+ * @param message BatchActivateCustomTargetingKeysRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.CustomTargetingKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchActivateCustomTargetingKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this CustomTargetingKey to JSON.
+ * Converts this BatchActivateCustomTargetingKeysRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for CustomTargetingKey
+ * Gets the default type url for BatchActivateCustomTargetingKeysRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Represents a CustomTargetingKeyService */
- class CustomTargetingKeyService extends $protobuf.rpc.Service {
-
- /**
- * Constructs a new CustomTargetingKeyService service.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- */
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
-
- /**
- * Creates new CustomTargetingKeyService service using the specified rpc implementation.
- * @param rpcImpl RPC implementation
- * @param [requestDelimited=false] Whether requests are length-delimited
- * @param [responseDelimited=false] Whether responses are length-delimited
- * @returns RPC service. Useful where requests and/or responses are streamed.
- */
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CustomTargetingKeyService;
-
- /**
- * Calls GetCustomTargetingKey.
- * @param request GetCustomTargetingKeyRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and CustomTargetingKey
- */
- public getCustomTargetingKey(request: google.ads.admanager.v1.IGetCustomTargetingKeyRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.GetCustomTargetingKeyCallback): void;
-
- /**
- * Calls GetCustomTargetingKey.
- * @param request GetCustomTargetingKeyRequest message or plain object
- * @returns Promise
- */
- public getCustomTargetingKey(request: google.ads.admanager.v1.IGetCustomTargetingKeyRequest): Promise;
-
- /**
- * Calls ListCustomTargetingKeys.
- * @param request ListCustomTargetingKeysRequest message or plain object
- * @param callback Node-style callback called with the error, if any, and ListCustomTargetingKeysResponse
- */
- public listCustomTargetingKeys(request: google.ads.admanager.v1.IListCustomTargetingKeysRequest, callback: google.ads.admanager.v1.CustomTargetingKeyService.ListCustomTargetingKeysCallback): void;
-
- /**
- * Calls ListCustomTargetingKeys.
- * @param request ListCustomTargetingKeysRequest message or plain object
- * @returns Promise
- */
- public listCustomTargetingKeys(request: google.ads.admanager.v1.IListCustomTargetingKeysRequest): Promise;
- }
-
- namespace CustomTargetingKeyService {
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|getCustomTargetingKey}.
- * @param error Error, if any
- * @param [response] CustomTargetingKey
- */
- type GetCustomTargetingKeyCallback = (error: (Error|null), response?: google.ads.admanager.v1.CustomTargetingKey) => void;
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.CustomTargetingKeyService|listCustomTargetingKeys}.
- * @param error Error, if any
- * @param [response] ListCustomTargetingKeysResponse
- */
- type ListCustomTargetingKeysCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListCustomTargetingKeysResponse) => void;
- }
-
- /** Properties of a GetCustomTargetingKeyRequest. */
- interface IGetCustomTargetingKeyRequest {
-
- /** GetCustomTargetingKeyRequest name */
- name?: (string|null);
+ /** Properties of a BatchActivateCustomTargetingKeysResponse. */
+ interface IBatchActivateCustomTargetingKeysResponse {
}
- /** Represents a GetCustomTargetingKeyRequest. */
- class GetCustomTargetingKeyRequest implements IGetCustomTargetingKeyRequest {
+ /** Represents a BatchActivateCustomTargetingKeysResponse. */
+ class BatchActivateCustomTargetingKeysResponse implements IBatchActivateCustomTargetingKeysResponse {
/**
- * Constructs a new GetCustomTargetingKeyRequest.
+ * Constructs a new BatchActivateCustomTargetingKeysResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IGetCustomTargetingKeyRequest);
-
- /** GetCustomTargetingKeyRequest name. */
- public name: string;
+ constructor(properties?: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysResponse);
/**
- * Creates a new GetCustomTargetingKeyRequest instance using the specified properties.
+ * Creates a new BatchActivateCustomTargetingKeysResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns GetCustomTargetingKeyRequest instance
+ * @returns BatchActivateCustomTargetingKeysResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IGetCustomTargetingKeyRequest): google.ads.admanager.v1.GetCustomTargetingKeyRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysResponse): google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse;
/**
- * Encodes the specified GetCustomTargetingKeyRequest message. Does not implicitly {@link google.ads.admanager.v1.GetCustomTargetingKeyRequest.verify|verify} messages.
- * @param message GetCustomTargetingKeyRequest message or plain object to encode
+ * Encodes the specified BatchActivateCustomTargetingKeysResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message BatchActivateCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IGetCustomTargetingKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified GetCustomTargetingKeyRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetCustomTargetingKeyRequest.verify|verify} messages.
- * @param message GetCustomTargetingKeyRequest message or plain object to encode
+ * Encodes the specified BatchActivateCustomTargetingKeysResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message BatchActivateCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IGetCustomTargetingKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchActivateCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a GetCustomTargetingKeyRequest message from the specified reader or buffer.
+ * Decodes a BatchActivateCustomTargetingKeysResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns GetCustomTargetingKeyRequest
+ * @returns BatchActivateCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetCustomTargetingKeyRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse;
/**
- * Decodes a GetCustomTargetingKeyRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchActivateCustomTargetingKeysResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns GetCustomTargetingKeyRequest
+ * @returns BatchActivateCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetCustomTargetingKeyRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse;
/**
- * Verifies a GetCustomTargetingKeyRequest message.
+ * Verifies a BatchActivateCustomTargetingKeysResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a GetCustomTargetingKeyRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchActivateCustomTargetingKeysResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns GetCustomTargetingKeyRequest
+ * @returns BatchActivateCustomTargetingKeysResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetCustomTargetingKeyRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse;
/**
- * Creates a plain object from a GetCustomTargetingKeyRequest message. Also converts values to other types if specified.
- * @param message GetCustomTargetingKeyRequest
+ * Creates a plain object from a BatchActivateCustomTargetingKeysResponse message. Also converts values to other types if specified.
+ * @param message BatchActivateCustomTargetingKeysResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.GetCustomTargetingKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchActivateCustomTargetingKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this GetCustomTargetingKeyRequest to JSON.
+ * Converts this BatchActivateCustomTargetingKeysResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for GetCustomTargetingKeyRequest
+ * Gets the default type url for BatchActivateCustomTargetingKeysResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCustomTargetingKeysRequest. */
- interface IListCustomTargetingKeysRequest {
+ /** Properties of a BatchDeactivateCustomTargetingKeysRequest. */
+ interface IBatchDeactivateCustomTargetingKeysRequest {
- /** ListCustomTargetingKeysRequest parent */
+ /** BatchDeactivateCustomTargetingKeysRequest parent */
parent?: (string|null);
- /** ListCustomTargetingKeysRequest pageSize */
- pageSize?: (number|null);
-
- /** ListCustomTargetingKeysRequest pageToken */
- pageToken?: (string|null);
-
- /** ListCustomTargetingKeysRequest filter */
- filter?: (string|null);
-
- /** ListCustomTargetingKeysRequest orderBy */
- orderBy?: (string|null);
-
- /** ListCustomTargetingKeysRequest skip */
- skip?: (number|null);
+ /** BatchDeactivateCustomTargetingKeysRequest names */
+ names?: (string[]|null);
}
- /** Represents a ListCustomTargetingKeysRequest. */
- class ListCustomTargetingKeysRequest implements IListCustomTargetingKeysRequest {
+ /** Represents a BatchDeactivateCustomTargetingKeysRequest. */
+ class BatchDeactivateCustomTargetingKeysRequest implements IBatchDeactivateCustomTargetingKeysRequest {
/**
- * Constructs a new ListCustomTargetingKeysRequest.
+ * Constructs a new BatchDeactivateCustomTargetingKeysRequest.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCustomTargetingKeysRequest);
+ constructor(properties?: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysRequest);
- /** ListCustomTargetingKeysRequest parent. */
+ /** BatchDeactivateCustomTargetingKeysRequest parent. */
public parent: string;
- /** ListCustomTargetingKeysRequest pageSize. */
- public pageSize: number;
-
- /** ListCustomTargetingKeysRequest pageToken. */
- public pageToken: string;
-
- /** ListCustomTargetingKeysRequest filter. */
- public filter: string;
-
- /** ListCustomTargetingKeysRequest orderBy. */
- public orderBy: string;
-
- /** ListCustomTargetingKeysRequest skip. */
- public skip: number;
+ /** BatchDeactivateCustomTargetingKeysRequest names. */
+ public names: string[];
/**
- * Creates a new ListCustomTargetingKeysRequest instance using the specified properties.
+ * Creates a new BatchDeactivateCustomTargetingKeysRequest instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCustomTargetingKeysRequest instance
+ * @returns BatchDeactivateCustomTargetingKeysRequest instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCustomTargetingKeysRequest): google.ads.admanager.v1.ListCustomTargetingKeysRequest;
+ public static create(properties?: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysRequest): google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest;
/**
- * Encodes the specified ListCustomTargetingKeysRequest message. Does not implicitly {@link google.ads.admanager.v1.ListCustomTargetingKeysRequest.verify|verify} messages.
- * @param message ListCustomTargetingKeysRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateCustomTargetingKeysRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message BatchDeactivateCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCustomTargetingKeysRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCustomTargetingKeysRequest.verify|verify} messages.
- * @param message ListCustomTargetingKeysRequest message or plain object to encode
+ * Encodes the specified BatchDeactivateCustomTargetingKeysRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest.verify|verify} messages.
+ * @param message BatchDeactivateCustomTargetingKeysRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCustomTargetingKeysRequest message from the specified reader or buffer.
+ * Decodes a BatchDeactivateCustomTargetingKeysRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCustomTargetingKeysRequest
+ * @returns BatchDeactivateCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCustomTargetingKeysRequest;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest;
/**
- * Decodes a ListCustomTargetingKeysRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchDeactivateCustomTargetingKeysRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCustomTargetingKeysRequest
+ * @returns BatchDeactivateCustomTargetingKeysRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCustomTargetingKeysRequest;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest;
/**
- * Verifies a ListCustomTargetingKeysRequest message.
+ * Verifies a BatchDeactivateCustomTargetingKeysRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCustomTargetingKeysRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchDeactivateCustomTargetingKeysRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCustomTargetingKeysRequest
+ * @returns BatchDeactivateCustomTargetingKeysRequest
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCustomTargetingKeysRequest;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest;
/**
- * Creates a plain object from a ListCustomTargetingKeysRequest message. Also converts values to other types if specified.
- * @param message ListCustomTargetingKeysRequest
+ * Creates a plain object from a BatchDeactivateCustomTargetingKeysRequest message. Also converts values to other types if specified.
+ * @param message BatchDeactivateCustomTargetingKeysRequest
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCustomTargetingKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCustomTargetingKeysRequest to JSON.
+ * Converts this BatchDeactivateCustomTargetingKeysRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCustomTargetingKeysRequest
+ * Gets the default type url for BatchDeactivateCustomTargetingKeysRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
- /** Properties of a ListCustomTargetingKeysResponse. */
- interface IListCustomTargetingKeysResponse {
-
- /** ListCustomTargetingKeysResponse customTargetingKeys */
- customTargetingKeys?: (google.ads.admanager.v1.ICustomTargetingKey[]|null);
-
- /** ListCustomTargetingKeysResponse nextPageToken */
- nextPageToken?: (string|null);
-
- /** ListCustomTargetingKeysResponse totalSize */
- totalSize?: (number|null);
+ /** Properties of a BatchDeactivateCustomTargetingKeysResponse. */
+ interface IBatchDeactivateCustomTargetingKeysResponse {
}
- /** Represents a ListCustomTargetingKeysResponse. */
- class ListCustomTargetingKeysResponse implements IListCustomTargetingKeysResponse {
+ /** Represents a BatchDeactivateCustomTargetingKeysResponse. */
+ class BatchDeactivateCustomTargetingKeysResponse implements IBatchDeactivateCustomTargetingKeysResponse {
/**
- * Constructs a new ListCustomTargetingKeysResponse.
+ * Constructs a new BatchDeactivateCustomTargetingKeysResponse.
* @param [properties] Properties to set
*/
- constructor(properties?: google.ads.admanager.v1.IListCustomTargetingKeysResponse);
-
- /** ListCustomTargetingKeysResponse customTargetingKeys. */
- public customTargetingKeys: google.ads.admanager.v1.ICustomTargetingKey[];
-
- /** ListCustomTargetingKeysResponse nextPageToken. */
- public nextPageToken: string;
-
- /** ListCustomTargetingKeysResponse totalSize. */
- public totalSize: number;
+ constructor(properties?: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysResponse);
/**
- * Creates a new ListCustomTargetingKeysResponse instance using the specified properties.
+ * Creates a new BatchDeactivateCustomTargetingKeysResponse instance using the specified properties.
* @param [properties] Properties to set
- * @returns ListCustomTargetingKeysResponse instance
+ * @returns BatchDeactivateCustomTargetingKeysResponse instance
*/
- public static create(properties?: google.ads.admanager.v1.IListCustomTargetingKeysResponse): google.ads.admanager.v1.ListCustomTargetingKeysResponse;
+ public static create(properties?: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysResponse): google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse;
/**
- * Encodes the specified ListCustomTargetingKeysResponse message. Does not implicitly {@link google.ads.admanager.v1.ListCustomTargetingKeysResponse.verify|verify} messages.
- * @param message ListCustomTargetingKeysResponse message or plain object to encode
+ * Encodes the specified BatchDeactivateCustomTargetingKeysResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message BatchDeactivateCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encode(message: google.ads.admanager.v1.IListCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encode(message: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Encodes the specified ListCustomTargetingKeysResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListCustomTargetingKeysResponse.verify|verify} messages.
- * @param message ListCustomTargetingKeysResponse message or plain object to encode
+ * Encodes the specified BatchDeactivateCustomTargetingKeysResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse.verify|verify} messages.
+ * @param message BatchDeactivateCustomTargetingKeysResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
- public static encodeDelimited(message: google.ads.admanager.v1.IListCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+ public static encodeDelimited(message: google.ads.admanager.v1.IBatchDeactivateCustomTargetingKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
- * Decodes a ListCustomTargetingKeysResponse message from the specified reader or buffer.
+ * Decodes a BatchDeactivateCustomTargetingKeysResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
- * @returns ListCustomTargetingKeysResponse
+ * @returns BatchDeactivateCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListCustomTargetingKeysResponse;
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse;
/**
- * Decodes a ListCustomTargetingKeysResponse message from the specified reader or buffer, length delimited.
+ * Decodes a BatchDeactivateCustomTargetingKeysResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
- * @returns ListCustomTargetingKeysResponse
+ * @returns BatchDeactivateCustomTargetingKeysResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListCustomTargetingKeysResponse;
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse;
/**
- * Verifies a ListCustomTargetingKeysResponse message.
+ * Verifies a BatchDeactivateCustomTargetingKeysResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
- * Creates a ListCustomTargetingKeysResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchDeactivateCustomTargetingKeysResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
- * @returns ListCustomTargetingKeysResponse
+ * @returns BatchDeactivateCustomTargetingKeysResponse
*/
- public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListCustomTargetingKeysResponse;
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse;
/**
- * Creates a plain object from a ListCustomTargetingKeysResponse message. Also converts values to other types if specified.
- * @param message ListCustomTargetingKeysResponse
+ * Creates a plain object from a BatchDeactivateCustomTargetingKeysResponse message. Also converts values to other types if specified.
+ * @param message BatchDeactivateCustomTargetingKeysResponse
* @param [options] Conversion options
* @returns Plain object
*/
- public static toObject(message: google.ads.admanager.v1.ListCustomTargetingKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+ public static toObject(message: google.ads.admanager.v1.BatchDeactivateCustomTargetingKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
- * Converts this ListCustomTargetingKeysResponse to JSON.
+ * Converts this BatchDeactivateCustomTargetingKeysResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
- * Gets the default type url for ListCustomTargetingKeysResponse
+ * Gets the default type url for BatchDeactivateCustomTargetingKeysResponse
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
@@ -20857,6 +23312,323 @@ export namespace google {
public static getTypeUrl(typeUrlPrefix?: string): string;
}
+ /** Properties of a Goal. */
+ interface IGoal {
+
+ /** Goal goalType */
+ goalType?: (google.ads.admanager.v1.GoalTypeEnum.GoalType|keyof typeof google.ads.admanager.v1.GoalTypeEnum.GoalType|null);
+
+ /** Goal unitType */
+ unitType?: (google.ads.admanager.v1.UnitTypeEnum.UnitType|keyof typeof google.ads.admanager.v1.UnitTypeEnum.UnitType|null);
+
+ /** Goal units */
+ units?: (number|Long|string|null);
+ }
+
+ /** Represents a Goal. */
+ class Goal implements IGoal {
+
+ /**
+ * Constructs a new Goal.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IGoal);
+
+ /** Goal goalType. */
+ public goalType?: (google.ads.admanager.v1.GoalTypeEnum.GoalType|keyof typeof google.ads.admanager.v1.GoalTypeEnum.GoalType|null);
+
+ /** Goal unitType. */
+ public unitType?: (google.ads.admanager.v1.UnitTypeEnum.UnitType|keyof typeof google.ads.admanager.v1.UnitTypeEnum.UnitType|null);
+
+ /** Goal units. */
+ public units?: (number|Long|string|null);
+
+ /**
+ * Creates a new Goal instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Goal instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IGoal): google.ads.admanager.v1.Goal;
+
+ /**
+ * Encodes the specified Goal message. Does not implicitly {@link google.ads.admanager.v1.Goal.verify|verify} messages.
+ * @param message Goal message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IGoal, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Goal message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Goal.verify|verify} messages.
+ * @param message Goal message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IGoal, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Goal message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Goal
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.Goal;
+
+ /**
+ * Decodes a Goal message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Goal
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.Goal;
+
+ /**
+ * Verifies a Goal message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Goal message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Goal
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.Goal;
+
+ /**
+ * Creates a plain object from a Goal message. Also converts values to other types if specified.
+ * @param message Goal
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.Goal, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Goal to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Goal
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GoalTypeEnum. */
+ interface IGoalTypeEnum {
+ }
+
+ /** Represents a GoalTypeEnum. */
+ class GoalTypeEnum implements IGoalTypeEnum {
+
+ /**
+ * Constructs a new GoalTypeEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IGoalTypeEnum);
+
+ /**
+ * Creates a new GoalTypeEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GoalTypeEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IGoalTypeEnum): google.ads.admanager.v1.GoalTypeEnum;
+
+ /**
+ * Encodes the specified GoalTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.GoalTypeEnum.verify|verify} messages.
+ * @param message GoalTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IGoalTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GoalTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GoalTypeEnum.verify|verify} messages.
+ * @param message GoalTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IGoalTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GoalTypeEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GoalTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GoalTypeEnum;
+
+ /**
+ * Decodes a GoalTypeEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GoalTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GoalTypeEnum;
+
+ /**
+ * Verifies a GoalTypeEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GoalTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GoalTypeEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GoalTypeEnum;
+
+ /**
+ * Creates a plain object from a GoalTypeEnum message. Also converts values to other types if specified.
+ * @param message GoalTypeEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.GoalTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GoalTypeEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GoalTypeEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GoalTypeEnum {
+
+ /** GoalType enum. */
+ enum GoalType {
+ GOAL_TYPE_UNSPECIFIED = 0,
+ NONE = 1,
+ LIFETIME = 2,
+ DAILY = 3
+ }
+ }
+
+ /** Properties of an UnitTypeEnum. */
+ interface IUnitTypeEnum {
+ }
+
+ /** Represents an UnitTypeEnum. */
+ class UnitTypeEnum implements IUnitTypeEnum {
+
+ /**
+ * Constructs a new UnitTypeEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IUnitTypeEnum);
+
+ /**
+ * Creates a new UnitTypeEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UnitTypeEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IUnitTypeEnum): google.ads.admanager.v1.UnitTypeEnum;
+
+ /**
+ * Encodes the specified UnitTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.UnitTypeEnum.verify|verify} messages.
+ * @param message UnitTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IUnitTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UnitTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.UnitTypeEnum.verify|verify} messages.
+ * @param message UnitTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IUnitTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UnitTypeEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UnitTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.UnitTypeEnum;
+
+ /**
+ * Decodes an UnitTypeEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UnitTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.UnitTypeEnum;
+
+ /**
+ * Verifies an UnitTypeEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UnitTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UnitTypeEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.UnitTypeEnum;
+
+ /**
+ * Creates a plain object from an UnitTypeEnum message. Also converts values to other types if specified.
+ * @param message UnitTypeEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.UnitTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UnitTypeEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UnitTypeEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace UnitTypeEnum {
+
+ /** UnitType enum. */
+ enum UnitType {
+ UNIT_TYPE_UNSPECIFIED = 0,
+ IMPRESSIONS = 1,
+ CLICKS = 2,
+ CLICK_THROUGH_CPA_CONVERSIONS = 3,
+ VIEW_THROUGH_CPA_CONVERSIONS = 4,
+ TOTAL_CPA_CONVERSIONS = 5,
+ VIEWABLE_IMPRESSIONS = 6,
+ IN_TARGET_IMPRESSIONS = 7
+ }
+ }
+
/** Properties of a Label. */
interface ILabel {
@@ -20954,6 +23726,667 @@ export namespace google {
public static getTypeUrl(typeUrlPrefix?: string): string;
}
+ /** Properties of a LineItemTypeEnum. */
+ interface ILineItemTypeEnum {
+ }
+
+ /** Represents a LineItemTypeEnum. */
+ class LineItemTypeEnum implements ILineItemTypeEnum {
+
+ /**
+ * Constructs a new LineItemTypeEnum.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ILineItemTypeEnum);
+
+ /**
+ * Creates a new LineItemTypeEnum instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LineItemTypeEnum instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ILineItemTypeEnum): google.ads.admanager.v1.LineItemTypeEnum;
+
+ /**
+ * Encodes the specified LineItemTypeEnum message. Does not implicitly {@link google.ads.admanager.v1.LineItemTypeEnum.verify|verify} messages.
+ * @param message LineItemTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ILineItemTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LineItemTypeEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.LineItemTypeEnum.verify|verify} messages.
+ * @param message LineItemTypeEnum message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ILineItemTypeEnum, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LineItemTypeEnum message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LineItemTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.LineItemTypeEnum;
+
+ /**
+ * Decodes a LineItemTypeEnum message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LineItemTypeEnum
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.LineItemTypeEnum;
+
+ /**
+ * Verifies a LineItemTypeEnum message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LineItemTypeEnum message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LineItemTypeEnum
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.LineItemTypeEnum;
+
+ /**
+ * Creates a plain object from a LineItemTypeEnum message. Also converts values to other types if specified.
+ * @param message LineItemTypeEnum
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.LineItemTypeEnum, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LineItemTypeEnum to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LineItemTypeEnum
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace LineItemTypeEnum {
+
+ /** LineItemType enum. */
+ enum LineItemType {
+ LINE_ITEM_TYPE_UNSPECIFIED = 0,
+ SPONSORSHIP = 12,
+ STANDARD = 13,
+ NETWORK = 9,
+ BULK = 4,
+ PRICE_PRIORITY = 11,
+ HOUSE = 7,
+ CLICK_TRACKING = 6,
+ ADSENSE = 2,
+ AD_EXCHANGE = 3,
+ BUMPER = 5,
+ PREFERRED_DEAL = 10,
+ AUDIENCE_EXTENSION = 14
+ }
+ }
+
+ /** Properties of a LineItem. */
+ interface ILineItem {
+
+ /** LineItem name */
+ name?: (string|null);
+
+ /** LineItem order */
+ order?: (string|null);
+
+ /** LineItem displayName */
+ displayName?: (string|null);
+
+ /** LineItem startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** LineItem endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** LineItem lineItemType */
+ lineItemType?: (google.ads.admanager.v1.LineItemTypeEnum.LineItemType|keyof typeof google.ads.admanager.v1.LineItemTypeEnum.LineItemType|null);
+
+ /** LineItem rate */
+ rate?: (google.type.IMoney|null);
+
+ /** LineItem budget */
+ budget?: (google.type.IMoney|null);
+
+ /** LineItem customFieldValues */
+ customFieldValues?: (google.ads.admanager.v1.ICustomFieldValue[]|null);
+
+ /** LineItem goal */
+ goal?: (google.ads.admanager.v1.IGoal|null);
+ }
+
+ /** Represents a LineItem. */
+ class LineItem implements ILineItem {
+
+ /**
+ * Constructs a new LineItem.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.ILineItem);
+
+ /** LineItem name. */
+ public name: string;
+
+ /** LineItem order. */
+ public order?: (string|null);
+
+ /** LineItem displayName. */
+ public displayName?: (string|null);
+
+ /** LineItem startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** LineItem endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** LineItem lineItemType. */
+ public lineItemType?: (google.ads.admanager.v1.LineItemTypeEnum.LineItemType|keyof typeof google.ads.admanager.v1.LineItemTypeEnum.LineItemType|null);
+
+ /** LineItem rate. */
+ public rate?: (google.type.IMoney|null);
+
+ /** LineItem budget. */
+ public budget?: (google.type.IMoney|null);
+
+ /** LineItem customFieldValues. */
+ public customFieldValues: google.ads.admanager.v1.ICustomFieldValue[];
+
+ /** LineItem goal. */
+ public goal?: (google.ads.admanager.v1.IGoal|null);
+
+ /**
+ * Creates a new LineItem instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LineItem instance
+ */
+ public static create(properties?: google.ads.admanager.v1.ILineItem): google.ads.admanager.v1.LineItem;
+
+ /**
+ * Encodes the specified LineItem message. Does not implicitly {@link google.ads.admanager.v1.LineItem.verify|verify} messages.
+ * @param message LineItem message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.ILineItem, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LineItem message, length delimited. Does not implicitly {@link google.ads.admanager.v1.LineItem.verify|verify} messages.
+ * @param message LineItem message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.ILineItem, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LineItem message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LineItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.LineItem;
+
+ /**
+ * Decodes a LineItem message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LineItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.LineItem;
+
+ /**
+ * Verifies a LineItem message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LineItem message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LineItem
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.LineItem;
+
+ /**
+ * Creates a plain object from a LineItem message. Also converts values to other types if specified.
+ * @param message LineItem
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.LineItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LineItem to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LineItem
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a LineItemService */
+ class LineItemService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new LineItemService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new LineItemService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): LineItemService;
+
+ /**
+ * Calls GetLineItem.
+ * @param request GetLineItemRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and LineItem
+ */
+ public getLineItem(request: google.ads.admanager.v1.IGetLineItemRequest, callback: google.ads.admanager.v1.LineItemService.GetLineItemCallback): void;
+
+ /**
+ * Calls GetLineItem.
+ * @param request GetLineItemRequest message or plain object
+ * @returns Promise
+ */
+ public getLineItem(request: google.ads.admanager.v1.IGetLineItemRequest): Promise;
+
+ /**
+ * Calls ListLineItems.
+ * @param request ListLineItemsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListLineItemsResponse
+ */
+ public listLineItems(request: google.ads.admanager.v1.IListLineItemsRequest, callback: google.ads.admanager.v1.LineItemService.ListLineItemsCallback): void;
+
+ /**
+ * Calls ListLineItems.
+ * @param request ListLineItemsRequest message or plain object
+ * @returns Promise
+ */
+ public listLineItems(request: google.ads.admanager.v1.IListLineItemsRequest): Promise;
+ }
+
+ namespace LineItemService {
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.LineItemService|getLineItem}.
+ * @param error Error, if any
+ * @param [response] LineItem
+ */
+ type GetLineItemCallback = (error: (Error|null), response?: google.ads.admanager.v1.LineItem) => void;
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.LineItemService|listLineItems}.
+ * @param error Error, if any
+ * @param [response] ListLineItemsResponse
+ */
+ type ListLineItemsCallback = (error: (Error|null), response?: google.ads.admanager.v1.ListLineItemsResponse) => void;
+ }
+
+ /** Properties of a GetLineItemRequest. */
+ interface IGetLineItemRequest {
+
+ /** GetLineItemRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetLineItemRequest. */
+ class GetLineItemRequest implements IGetLineItemRequest {
+
+ /**
+ * Constructs a new GetLineItemRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IGetLineItemRequest);
+
+ /** GetLineItemRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetLineItemRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetLineItemRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IGetLineItemRequest): google.ads.admanager.v1.GetLineItemRequest;
+
+ /**
+ * Encodes the specified GetLineItemRequest message. Does not implicitly {@link google.ads.admanager.v1.GetLineItemRequest.verify|verify} messages.
+ * @param message GetLineItemRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IGetLineItemRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetLineItemRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetLineItemRequest.verify|verify} messages.
+ * @param message GetLineItemRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IGetLineItemRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetLineItemRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetLineItemRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.GetLineItemRequest;
+
+ /**
+ * Decodes a GetLineItemRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetLineItemRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.GetLineItemRequest;
+
+ /**
+ * Verifies a GetLineItemRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetLineItemRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetLineItemRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.GetLineItemRequest;
+
+ /**
+ * Creates a plain object from a GetLineItemRequest message. Also converts values to other types if specified.
+ * @param message GetLineItemRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.GetLineItemRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetLineItemRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetLineItemRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListLineItemsRequest. */
+ interface IListLineItemsRequest {
+
+ /** ListLineItemsRequest parent */
+ parent?: (string|null);
+
+ /** ListLineItemsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListLineItemsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListLineItemsRequest filter */
+ filter?: (string|null);
+
+ /** ListLineItemsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListLineItemsRequest skip */
+ skip?: (number|null);
+ }
+
+ /** Represents a ListLineItemsRequest. */
+ class ListLineItemsRequest implements IListLineItemsRequest {
+
+ /**
+ * Constructs a new ListLineItemsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IListLineItemsRequest);
+
+ /** ListLineItemsRequest parent. */
+ public parent: string;
+
+ /** ListLineItemsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListLineItemsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListLineItemsRequest filter. */
+ public filter: string;
+
+ /** ListLineItemsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListLineItemsRequest skip. */
+ public skip: number;
+
+ /**
+ * Creates a new ListLineItemsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListLineItemsRequest instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IListLineItemsRequest): google.ads.admanager.v1.ListLineItemsRequest;
+
+ /**
+ * Encodes the specified ListLineItemsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListLineItemsRequest.verify|verify} messages.
+ * @param message ListLineItemsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IListLineItemsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListLineItemsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListLineItemsRequest.verify|verify} messages.
+ * @param message ListLineItemsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IListLineItemsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListLineItemsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListLineItemsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListLineItemsRequest;
+
+ /**
+ * Decodes a ListLineItemsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListLineItemsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListLineItemsRequest;
+
+ /**
+ * Verifies a ListLineItemsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListLineItemsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListLineItemsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListLineItemsRequest;
+
+ /**
+ * Creates a plain object from a ListLineItemsRequest message. Also converts values to other types if specified.
+ * @param message ListLineItemsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.ListLineItemsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListLineItemsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListLineItemsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListLineItemsResponse. */
+ interface IListLineItemsResponse {
+
+ /** ListLineItemsResponse lineItems */
+ lineItems?: (google.ads.admanager.v1.ILineItem[]|null);
+
+ /** ListLineItemsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListLineItemsResponse totalSize */
+ totalSize?: (number|null);
+ }
+
+ /** Represents a ListLineItemsResponse. */
+ class ListLineItemsResponse implements IListLineItemsResponse {
+
+ /**
+ * Constructs a new ListLineItemsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.ads.admanager.v1.IListLineItemsResponse);
+
+ /** ListLineItemsResponse lineItems. */
+ public lineItems: google.ads.admanager.v1.ILineItem[];
+
+ /** ListLineItemsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListLineItemsResponse totalSize. */
+ public totalSize: number;
+
+ /**
+ * Creates a new ListLineItemsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListLineItemsResponse instance
+ */
+ public static create(properties?: google.ads.admanager.v1.IListLineItemsResponse): google.ads.admanager.v1.ListLineItemsResponse;
+
+ /**
+ * Encodes the specified ListLineItemsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListLineItemsResponse.verify|verify} messages.
+ * @param message ListLineItemsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.ads.admanager.v1.IListLineItemsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListLineItemsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListLineItemsResponse.verify|verify} messages.
+ * @param message ListLineItemsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.ads.admanager.v1.IListLineItemsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListLineItemsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListLineItemsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.admanager.v1.ListLineItemsResponse;
+
+ /**
+ * Decodes a ListLineItemsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListLineItemsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.admanager.v1.ListLineItemsResponse;
+
+ /**
+ * Verifies a ListLineItemsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListLineItemsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListLineItemsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.ads.admanager.v1.ListLineItemsResponse;
+
+ /**
+ * Creates a plain object from a ListLineItemsResponse message. Also converts values to other types if specified.
+ * @param message ListLineItemsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.ads.admanager.v1.ListLineItemsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListLineItemsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListLineItemsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
/** Properties of a LiveStreamEvent. */
interface ILiveStreamEvent {
@@ -22622,31 +26055,31 @@ export namespace google {
public name: string;
/** Network displayName. */
- public displayName: string;
+ public displayName?: (string|null);
/** Network networkCode. */
- public networkCode: string;
+ public networkCode?: (string|null);
/** Network propertyCode. */
- public propertyCode: string;
+ public propertyCode?: (string|null);
/** Network timeZone. */
- public timeZone: string;
+ public timeZone?: (string|null);
/** Network currencyCode. */
- public currencyCode: string;
+ public currencyCode?: (string|null);
/** Network secondaryCurrencyCodes. */
public secondaryCurrencyCodes: string[];
/** Network effectiveRootAdUnit. */
- public effectiveRootAdUnit: string;
+ public effectiveRootAdUnit?: (string|null);
/** Network testNetwork. */
- public testNetwork: boolean;
+ public testNetwork?: (boolean|null);
/** Network networkId. */
- public networkId: (number|Long|string);
+ public networkId?: (number|Long|string|null);
/**
* Creates a new Network instance using the specified properties.
@@ -22891,6 +26324,15 @@ export namespace google {
/** Properties of a ListNetworksRequest. */
interface IListNetworksRequest {
+
+ /** ListNetworksRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListNetworksRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListNetworksRequest skip */
+ skip?: (number|null);
}
/** Represents a ListNetworksRequest. */
@@ -22902,6 +26344,15 @@ export namespace google {
*/
constructor(properties?: google.ads.admanager.v1.IListNetworksRequest);
+ /** ListNetworksRequest pageSize. */
+ public pageSize: number;
+
+ /** ListNetworksRequest pageToken. */
+ public pageToken: string;
+
+ /** ListNetworksRequest skip. */
+ public skip: number;
+
/**
* Creates a new ListNetworksRequest instance using the specified properties.
* @param [properties] Properties to set
@@ -22985,6 +26436,12 @@ export namespace google {
/** ListNetworksResponse networks */
networks?: (google.ads.admanager.v1.INetwork[]|null);
+
+ /** ListNetworksResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListNetworksResponse totalSize */
+ totalSize?: (number|null);
}
/** Represents a ListNetworksResponse. */
@@ -22999,6 +26456,12 @@ export namespace google {
/** ListNetworksResponse networks. */
public networks: google.ads.admanager.v1.INetwork[];
+ /** ListNetworksResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListNetworksResponse totalSize. */
+ public totalSize: number;
+
/**
* Creates a new ListNetworksResponse instance using the specified properties.
* @param [properties] Properties to set
@@ -32851,6 +36314,7 @@ export namespace google {
THIS_YEAR = 6,
THIS_YEAR_TO_DATE = 28,
LAST_WEEK = 7,
+ LAST_WEEK_STARTING_SUNDAY = 39,
LAST_MONTH = 8,
LAST_QUARTER = 9,
LAST_YEAR = 10,
@@ -32858,6 +36322,7 @@ export namespace google {
LAST_30_DAYS = 12,
LAST_60_DAYS = 13,
LAST_90_DAYS = 14,
+ LAST_93_DAYS = 38,
LAST_180_DAYS = 15,
LAST_360_DAYS = 16,
LAST_365_DAYS = 17,
@@ -33571,6 +37036,8 @@ export namespace google {
HISTORICAL = 1,
REACH = 5,
PRIVACY_AND_MESSAGING = 6,
+ REVENUE_VERIFICATION = 7,
+ PARTNER_FINANCE = 8,
AD_SPEED = 13
}
@@ -33599,6 +37066,7 @@ export namespace google {
AD_EXPERIENCES_TYPE_NAME = 642,
AD_LOCATION = 390,
AD_LOCATION_NAME = 391,
+ AD_REQUEST_SIZES = 541,
AD_TECHNOLOGY_PROVIDER_DOMAIN = 620,
AD_TECHNOLOGY_PROVIDER_ID = 621,
AD_TECHNOLOGY_PROVIDER_NAME = 622,
@@ -33671,13 +37139,33 @@ export namespace google {
AGENCY_LEVEL_3_NAME = 570,
AGE_BRACKET = 508,
AGE_BRACKET_NAME = 582,
+ ANALYTICS_PROPERTY_ID = 733,
+ ANALYTICS_PROPERTY_NAME = 767,
APP_TRACKING_TRANSPARENCY_CONSENT_STATUS = 442,
APP_TRACKING_TRANSPARENCY_CONSENT_STATUS_NAME = 443,
APP_VERSION = 392,
AUCTION_PACKAGE_DEAL = 579,
AUCTION_PACKAGE_DEAL_ID = 571,
+ AUDIENCE_SEGMENT_BILLABLE = 594,
+ AUDIENCE_SEGMENT_DATA_PROVIDER_ID = 613,
+ AUDIENCE_SEGMENT_DATA_PROVIDER_NAME = 614,
+ AUDIENCE_SEGMENT_ID_BILLABLE = 595,
AUDIENCE_SEGMENT_ID_TARGETED = 584,
AUDIENCE_SEGMENT_TARGETED = 585,
+ AUDIENCE_SEGMENT_TARGETED_AD_ID_USER_SIZE = 605,
+ AUDIENCE_SEGMENT_TARGETED_AMAZON_FIRE_USER_SIZE = 606,
+ AUDIENCE_SEGMENT_TARGETED_ANDROID_TV_USER_SIZE = 607,
+ AUDIENCE_SEGMENT_TARGETED_APPLE_TV_USER_SIZE = 608,
+ AUDIENCE_SEGMENT_TARGETED_IDFA_USER_SIZE = 609,
+ AUDIENCE_SEGMENT_TARGETED_MOBILE_WEB_USER_SIZE = 610,
+ AUDIENCE_SEGMENT_TARGETED_PLAYSTATION_USER_SIZE = 611,
+ AUDIENCE_SEGMENT_TARGETED_PPID_USER_SIZE = 612,
+ AUDIENCE_SEGMENT_TARGETED_ROKU_USER_SIZE = 615,
+ AUDIENCE_SEGMENT_TARGETED_SAMSUNG_TV_USER_SIZE = 616,
+ AUDIENCE_SEGMENT_TARGETED_SIZE = 618,
+ AUDIENCE_SEGMENT_TARGETED_STATUS = 628,
+ AUDIENCE_SEGMENT_TARGETED_STATUS_NAME = 617,
+ AUDIENCE_SEGMENT_TARGETED_XBOX_USER_SIZE = 619,
AUTO_REFRESHED_TRAFFIC = 421,
AUTO_REFRESHED_TRAFFIC_NAME = 422,
BIDDER_ENCRYPTED_ID = 493,
@@ -33707,6 +37195,10 @@ export namespace google {
CLASSIFIED_ADVERTISER_NAME = 134,
CLASSIFIED_BRAND_ID = 243,
CLASSIFIED_BRAND_NAME = 244,
+ CONTENT_BUNDLE_ID = 460,
+ CONTENT_BUNDLE_NAME = 461,
+ CONTENT_CMS_METADATA_KV_NAMESPACE_ID = 462,
+ CONTENT_CMS_METADATA_KV_NAMESPACE_NAME = 463,
CONTENT_CMS_NAME = 643,
CONTENT_CMS_VIDEO_ID = 644,
CONTENT_ID = 246,
@@ -33816,6 +37308,7 @@ export namespace google {
IS_FIRST_LOOK_DEAL = 401,
KEY_VALUES_ID = 214,
KEY_VALUES_NAME = 215,
+ KEY_VALUES_SET = 713,
LINE_ITEM_AGENCY = 663,
LINE_ITEM_ARCHIVED = 188,
LINE_ITEM_COMPANION_DELIVERY_OPTION = 204,
@@ -33942,6 +37435,10 @@ export namespace google {
PAGE_PATH = 511,
PAGE_TITLE_AND_SCREEN_CLASS = 512,
PAGE_TITLE_AND_SCREEN_NAME = 513,
+ PARTNER_MANAGEMENT_ASSIGNMENT_ID = 657,
+ PARTNER_MANAGEMENT_ASSIGNMENT_NAME = 658,
+ PARTNER_MANAGEMENT_PARTNER_ID = 655,
+ PARTNER_MANAGEMENT_PARTNER_NAME = 656,
PLACEMENT_ID = 113,
PLACEMENT_ID_ALL = 144,
PLACEMENT_NAME = 114,
@@ -33988,6 +37485,7 @@ export namespace google {
REQUESTED_AD_SIZES = 352,
REQUEST_TYPE = 146,
REQUEST_TYPE_NAME = 147,
+ REVENUE_VERIFICATION_ID = 645,
SERVER_SIDE_UNWRAPPING_ELIGIBLE = 597,
SERVING_RESTRICTION = 631,
SERVING_RESTRICTION_NAME = 632,
@@ -34007,6 +37505,8 @@ export namespace google {
UNIFIED_PRICING_RULE_NAME = 394,
URL = 506,
URL_ID = 507,
+ USER_MESSAGES_CHOICE = 702,
+ USER_MESSAGES_CHOICE_NAME = 703,
USER_MESSAGES_ENTITLEMENT_SOURCE = 635,
USER_MESSAGES_ENTITLEMENT_SOURCE_NAME = 636,
USER_MESSAGES_OPERATING_SYSTEM_CRITERIA_ID = 637,
@@ -34028,6 +37528,12 @@ export namespace google {
VIDEO_CONTINUOUS_PLAY_TYPE = 721,
VIDEO_CONTINUOUS_PLAY_TYPE_NAME = 722,
VIDEO_FALLBACK_POSITION = 530,
+ VIDEO_LIVE_STREAM_EVENT_AD_BREAK_DURATION = 547,
+ VIDEO_LIVE_STREAM_EVENT_AD_BREAK_ID = 548,
+ VIDEO_LIVE_STREAM_EVENT_AD_BREAK_NAME = 549,
+ VIDEO_LIVE_STREAM_EVENT_AD_BREAK_TIME = 550,
+ VIDEO_LIVE_STREAM_EVENT_ID = 551,
+ VIDEO_LIVE_STREAM_EVENT_NAME = 552,
VIDEO_MEASUREMENT_SOURCE = 601,
VIDEO_MEASUREMENT_SOURCE_NAME = 602,
VIDEO_PLCMT = 172,
@@ -34038,6 +37544,7 @@ export namespace google {
VIDEO_SDK_VERSION_NAME = 441,
VIDEO_STITCHER_TYPE = 752,
VIDEO_STITCHER_TYPE_NAME = 753,
+ WEB_PROPERTY_CODE = 730,
WEEK = 5,
YIELD_GROUP_BUYER_NAME = 184,
YIELD_GROUP_BUYER_TAG_NAME = 627,
@@ -34366,6 +37873,8 @@ export namespace google {
AD_SERVER_IMPRESSIONS = 6,
AD_SERVER_IMPRESSIONS_WITH_COMPANION = 222,
AD_SERVER_INACTIVE_BEGIN_TO_RENDER_IMPRESSIONS = 338,
+ AD_SERVER_OPPORTUNITIES_FROM_ERRORS = 461,
+ AD_SERVER_OPPORTUNITIES_FROM_IMPRESSIONS = 462,
AD_SERVER_PERCENT_CLICKS = 12,
AD_SERVER_PERCENT_IMPRESSIONS = 11,
AD_SERVER_PERCENT_REVENUE = 35,
@@ -34439,6 +37948,7 @@ export namespace google {
ATN_TOTAL_LOADED_ADS = 387,
ATN_VALID_AD_REQUESTS = 389,
ATN_YIELD_GROUP_MEDIATION_PASSBACKS = 390,
+ AUDIENCE_SEGMENT_COST = 558,
AVERAGE_ECPM = 37,
AVERAGE_ECPM_WITHOUT_CPD = 5,
AVERAGE_ENGAGEMENT_SECONDS_PER_SESSION = 224,
@@ -34511,6 +38021,21 @@ export namespace google {
MUTE_ELIGIBLE_IMPRESSIONS = 409,
OPPORTUNITIES = 463,
OVERDELIVERED_IMPRESSIONS = 432,
+ PARTNER_FINANCE_GROSS_REVENUE = 648,
+ PARTNER_FINANCE_HOST_ECPM = 649,
+ PARTNER_FINANCE_HOST_IMPRESSIONS = 650,
+ PARTNER_FINANCE_HOST_REVENUE = 651,
+ PARTNER_FINANCE_PARTNER_ECPM = 652,
+ PARTNER_FINANCE_PARTNER_REVENUE = 653,
+ PARTNER_MANAGEMENT_GROSS_REVENUE = 533,
+ PARTNER_MANAGEMENT_HOST_CLICKS = 534,
+ PARTNER_MANAGEMENT_HOST_CTR = 535,
+ PARTNER_MANAGEMENT_HOST_IMPRESSIONS = 536,
+ PARTNER_MANAGEMENT_PARTNER_CLICKS = 537,
+ PARTNER_MANAGEMENT_PARTNER_CTR = 538,
+ PARTNER_MANAGEMENT_PARTNER_IMPRESSIONS = 539,
+ PARTNER_MANAGEMENT_TOTAL_CONTENT_VIEWS = 540,
+ PARTNER_MANAGEMENT_UNFILLED_IMPRESSIONS = 541,
PARTNER_SALES_FILLED_POD_REQUESTS = 135,
PARTNER_SALES_FILL_RATE = 136,
PARTNER_SALES_PARTNER_MATCH_RATE = 137,
@@ -34528,6 +38053,11 @@ export namespace google {
RETENTION = 238,
REVENUE = 36,
REVENUE_PAID_THROUGH_MCM_AUTOPAYMENT = 214,
+ REVENUE_VERIFICATION_CPD_REVENUE = 560,
+ REVENUE_VERIFICATION_GROSS_CPD_REVENUE = 559,
+ REVENUE_VERIFICATION_GROSS_REVENUE_WITHOUT_CPD = 561,
+ REVENUE_VERIFICATION_IMPRESSIONS = 564,
+ REVENUE_VERIFICATION_REVENUE_WITHOUT_CPD = 567,
REVENUE_WITHOUT_CPD = 4,
REWARDS_GRANTED = 413,
RICH_MEDIA_AVERAGE_DISPLAY_TIME = 587,
@@ -34590,7 +38120,6 @@ export namespace google {
USER_MESSAGES_AD_BLOCKING_RECOVERY_ALLOWLISTED_COUNT = 487,
USER_MESSAGES_AD_BLOCKING_RECOVERY_MESSAGES_SHOWN = 488,
USER_MESSAGES_ALLOW_ADS_PAGEVIEWS = 489,
- USER_MESSAGES_CCPA_MESSAGES_SHOWN = 490,
USER_MESSAGES_IDFA_ATT_ALERTS_SHOWN = 491,
USER_MESSAGES_IDFA_ATT_CONSENT = 492,
USER_MESSAGES_IDFA_ATT_CONSENT_RATE = 493,
@@ -34605,6 +38134,8 @@ export namespace google {
USER_MESSAGES_TOTAL_ESTIMATED_REVENUE = 500,
USER_MESSAGES_UPTC_MESSAGES_SHOWN = 501,
USER_MESSAGES_UPTC_PERSONALIZATION_OPT_OUT_RATIO = 502,
+ USER_MESSAGES_US_STATES_MESSAGES_SHOWN = 490,
+ USER_MESSAGES_US_STATES_OPT_OUT_SELECTIONS = 586,
VIDEO_ERROR_100_COUNT = 180,
VIDEO_ERROR_101_COUNT = 181,
VIDEO_ERROR_102_COUNT = 182,
@@ -34686,6 +38217,16 @@ export namespace google {
VIDEO_REAL_TIME_TOTAL_ERROR_COUNT = 175,
VIDEO_REAL_TIME_TOTAL_QUERIES = 142,
VIDEO_REAL_TIME_UNMATCHED_QUERIES = 141,
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_END = 279,
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_BREAK_START = 280,
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_CAPPED_OPPORTUNITIES_ADBREAK = 281,
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_DURATION_ADBREAK = 283,
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_DURATION_ADBREAK = 285,
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_MATCHED_OPPORTUNITIES_ADBREAK = 287,
+ VIDEO_TRUE_OPPORTUNITIES_TOTAL_VIEWED_OPPORTUNITIES_ADBREAK = 289,
+ VIDEO_TRUE_VIEWS = 392,
+ VIDEO_TRUE_VIEW_SKIP_RATE = 393,
+ VIDEO_TRUE_VIEW_VIEW_THROUGH_RATE = 394,
VIDEO_VIEWERSHIP_AUTO_PLAYS = 103,
VIDEO_VIEWERSHIP_AVERAGE_VIEW_RATE = 104,
VIDEO_VIEWERSHIP_AVERAGE_VIEW_TIME = 105,
@@ -35333,7 +38874,8 @@ export namespace google {
enum Visibility {
HIDDEN = 0,
DRAFT = 1,
- SAVED = 2
+ SAVED = 2,
+ VISIBLE = 2
}
}
diff --git a/packages/google-ads-admanager/protos/protos.js b/packages/google-ads-admanager/protos/protos.js
index 5020e2aab7d..4e97fd9d1c6 100644
--- a/packages/google-ads-admanager/protos/protos.js
+++ b/packages/google-ads-admanager/protos/protos.js
@@ -1,4 +1,4 @@
-// Copyright 2025 Google LLC
+// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -9518,6 +9518,237 @@
* @variation 2
*/
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|createAdUnit}.
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @typedef CreateAdUnitCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.AdUnit} [response] AdUnit
+ */
+
+ /**
+ * Calls CreateAdUnit.
+ * @function createAdUnit
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.ICreateAdUnitRequest} request CreateAdUnitRequest message or plain object
+ * @param {google.ads.admanager.v1.AdUnitService.CreateAdUnitCallback} callback Node-style callback called with the error, if any, and AdUnit
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AdUnitService.prototype.createAdUnit = function createAdUnit(request, callback) {
+ return this.rpcCall(createAdUnit, $root.google.ads.admanager.v1.CreateAdUnitRequest, $root.google.ads.admanager.v1.AdUnit, request, callback);
+ }, "name", { value: "CreateAdUnit" });
+
+ /**
+ * Calls CreateAdUnit.
+ * @function createAdUnit
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.ICreateAdUnitRequest} request CreateAdUnitRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|updateAdUnit}.
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @typedef UpdateAdUnitCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.AdUnit} [response] AdUnit
+ */
+
+ /**
+ * Calls UpdateAdUnit.
+ * @function updateAdUnit
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IUpdateAdUnitRequest} request UpdateAdUnitRequest message or plain object
+ * @param {google.ads.admanager.v1.AdUnitService.UpdateAdUnitCallback} callback Node-style callback called with the error, if any, and AdUnit
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AdUnitService.prototype.updateAdUnit = function updateAdUnit(request, callback) {
+ return this.rpcCall(updateAdUnit, $root.google.ads.admanager.v1.UpdateAdUnitRequest, $root.google.ads.admanager.v1.AdUnit, request, callback);
+ }, "name", { value: "UpdateAdUnit" });
+
+ /**
+ * Calls UpdateAdUnit.
+ * @function updateAdUnit
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IUpdateAdUnitRequest} request UpdateAdUnitRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchCreateAdUnits}.
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @typedef BatchCreateAdUnitsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.BatchCreateAdUnitsResponse} [response] BatchCreateAdUnitsResponse
+ */
+
+ /**
+ * Calls BatchCreateAdUnits.
+ * @function batchCreateAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsRequest} request BatchCreateAdUnitsRequest message or plain object
+ * @param {google.ads.admanager.v1.AdUnitService.BatchCreateAdUnitsCallback} callback Node-style callback called with the error, if any, and BatchCreateAdUnitsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AdUnitService.prototype.batchCreateAdUnits = function batchCreateAdUnits(request, callback) {
+ return this.rpcCall(batchCreateAdUnits, $root.google.ads.admanager.v1.BatchCreateAdUnitsRequest, $root.google.ads.admanager.v1.BatchCreateAdUnitsResponse, request, callback);
+ }, "name", { value: "BatchCreateAdUnits" });
+
+ /**
+ * Calls BatchCreateAdUnits.
+ * @function batchCreateAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsRequest} request BatchCreateAdUnitsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchUpdateAdUnits}.
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @typedef BatchUpdateAdUnitsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.BatchUpdateAdUnitsResponse} [response] BatchUpdateAdUnitsResponse
+ */
+
+ /**
+ * Calls BatchUpdateAdUnits.
+ * @function batchUpdateAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsRequest} request BatchUpdateAdUnitsRequest message or plain object
+ * @param {google.ads.admanager.v1.AdUnitService.BatchUpdateAdUnitsCallback} callback Node-style callback called with the error, if any, and BatchUpdateAdUnitsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AdUnitService.prototype.batchUpdateAdUnits = function batchUpdateAdUnits(request, callback) {
+ return this.rpcCall(batchUpdateAdUnits, $root.google.ads.admanager.v1.BatchUpdateAdUnitsRequest, $root.google.ads.admanager.v1.BatchUpdateAdUnitsResponse, request, callback);
+ }, "name", { value: "BatchUpdateAdUnits" });
+
+ /**
+ * Calls BatchUpdateAdUnits.
+ * @function batchUpdateAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsRequest} request BatchUpdateAdUnitsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchActivateAdUnits}.
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @typedef BatchActivateAdUnitsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.BatchActivateAdUnitsResponse} [response] BatchActivateAdUnitsResponse
+ */
+
+ /**
+ * Calls BatchActivateAdUnits.
+ * @function batchActivateAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsRequest} request BatchActivateAdUnitsRequest message or plain object
+ * @param {google.ads.admanager.v1.AdUnitService.BatchActivateAdUnitsCallback} callback Node-style callback called with the error, if any, and BatchActivateAdUnitsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AdUnitService.prototype.batchActivateAdUnits = function batchActivateAdUnits(request, callback) {
+ return this.rpcCall(batchActivateAdUnits, $root.google.ads.admanager.v1.BatchActivateAdUnitsRequest, $root.google.ads.admanager.v1.BatchActivateAdUnitsResponse, request, callback);
+ }, "name", { value: "BatchActivateAdUnits" });
+
+ /**
+ * Calls BatchActivateAdUnits.
+ * @function batchActivateAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsRequest} request BatchActivateAdUnitsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchDeactivateAdUnits}.
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @typedef BatchDeactivateAdUnitsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.BatchDeactivateAdUnitsResponse} [response] BatchDeactivateAdUnitsResponse
+ */
+
+ /**
+ * Calls BatchDeactivateAdUnits.
+ * @function batchDeactivateAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest} request BatchDeactivateAdUnitsRequest message or plain object
+ * @param {google.ads.admanager.v1.AdUnitService.BatchDeactivateAdUnitsCallback} callback Node-style callback called with the error, if any, and BatchDeactivateAdUnitsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AdUnitService.prototype.batchDeactivateAdUnits = function batchDeactivateAdUnits(request, callback) {
+ return this.rpcCall(batchDeactivateAdUnits, $root.google.ads.admanager.v1.BatchDeactivateAdUnitsRequest, $root.google.ads.admanager.v1.BatchDeactivateAdUnitsResponse, request, callback);
+ }, "name", { value: "BatchDeactivateAdUnits" });
+
+ /**
+ * Calls BatchDeactivateAdUnits.
+ * @function batchDeactivateAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest} request BatchDeactivateAdUnitsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.AdUnitService|batchArchiveAdUnits}.
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @typedef BatchArchiveAdUnitsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.BatchArchiveAdUnitsResponse} [response] BatchArchiveAdUnitsResponse
+ */
+
+ /**
+ * Calls BatchArchiveAdUnits.
+ * @function batchArchiveAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsRequest} request BatchArchiveAdUnitsRequest message or plain object
+ * @param {google.ads.admanager.v1.AdUnitService.BatchArchiveAdUnitsCallback} callback Node-style callback called with the error, if any, and BatchArchiveAdUnitsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(AdUnitService.prototype.batchArchiveAdUnits = function batchArchiveAdUnits(request, callback) {
+ return this.rpcCall(batchArchiveAdUnits, $root.google.ads.admanager.v1.BatchArchiveAdUnitsRequest, $root.google.ads.admanager.v1.BatchArchiveAdUnitsResponse, request, callback);
+ }, "name", { value: "BatchArchiveAdUnits" });
+
+ /**
+ * Calls BatchArchiveAdUnits.
+ * @function batchArchiveAdUnits
+ * @memberof google.ads.admanager.v1.AdUnitService
+ * @instance
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsRequest} request BatchArchiveAdUnitsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
return AdUnitService;
})();
@@ -10321,29 +10552,25 @@
return ListAdUnitsResponse;
})();
- v1.ListAdUnitSizesRequest = (function() {
+ v1.CreateAdUnitRequest = (function() {
/**
- * Properties of a ListAdUnitSizesRequest.
+ * Properties of a CreateAdUnitRequest.
* @memberof google.ads.admanager.v1
- * @interface IListAdUnitSizesRequest
- * @property {string|null} [parent] ListAdUnitSizesRequest parent
- * @property {number|null} [pageSize] ListAdUnitSizesRequest pageSize
- * @property {string|null} [pageToken] ListAdUnitSizesRequest pageToken
- * @property {string|null} [filter] ListAdUnitSizesRequest filter
- * @property {string|null} [orderBy] ListAdUnitSizesRequest orderBy
- * @property {number|null} [skip] ListAdUnitSizesRequest skip
+ * @interface ICreateAdUnitRequest
+ * @property {string|null} [parent] CreateAdUnitRequest parent
+ * @property {google.ads.admanager.v1.IAdUnit|null} [adUnit] CreateAdUnitRequest adUnit
*/
/**
- * Constructs a new ListAdUnitSizesRequest.
+ * Constructs a new CreateAdUnitRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListAdUnitSizesRequest.
- * @implements IListAdUnitSizesRequest
+ * @classdesc Represents a CreateAdUnitRequest.
+ * @implements ICreateAdUnitRequest
* @constructor
- * @param {google.ads.admanager.v1.IListAdUnitSizesRequest=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.ICreateAdUnitRequest=} [properties] Properties to set
*/
- function ListAdUnitSizesRequest(properties) {
+ function CreateAdUnitRequest(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -10351,120 +10578,80 @@
}
/**
- * ListAdUnitSizesRequest parent.
+ * CreateAdUnitRequest parent.
* @member {string} parent
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
- * @instance
- */
- ListAdUnitSizesRequest.prototype.parent = "";
-
- /**
- * ListAdUnitSizesRequest pageSize.
- * @member {number} pageSize
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
- * @instance
- */
- ListAdUnitSizesRequest.prototype.pageSize = 0;
-
- /**
- * ListAdUnitSizesRequest pageToken.
- * @member {string} pageToken
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
- * @instance
- */
- ListAdUnitSizesRequest.prototype.pageToken = "";
-
- /**
- * ListAdUnitSizesRequest filter.
- * @member {string} filter
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
- * @instance
- */
- ListAdUnitSizesRequest.prototype.filter = "";
-
- /**
- * ListAdUnitSizesRequest orderBy.
- * @member {string} orderBy
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @instance
*/
- ListAdUnitSizesRequest.prototype.orderBy = "";
+ CreateAdUnitRequest.prototype.parent = "";
/**
- * ListAdUnitSizesRequest skip.
- * @member {number} skip
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * CreateAdUnitRequest adUnit.
+ * @member {google.ads.admanager.v1.IAdUnit|null|undefined} adUnit
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @instance
*/
- ListAdUnitSizesRequest.prototype.skip = 0;
+ CreateAdUnitRequest.prototype.adUnit = null;
/**
- * Creates a new ListAdUnitSizesRequest instance using the specified properties.
+ * Creates a new CreateAdUnitRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
- * @param {google.ads.admanager.v1.IListAdUnitSizesRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListAdUnitSizesRequest} ListAdUnitSizesRequest instance
+ * @param {google.ads.admanager.v1.ICreateAdUnitRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.CreateAdUnitRequest} CreateAdUnitRequest instance
*/
- ListAdUnitSizesRequest.create = function create(properties) {
- return new ListAdUnitSizesRequest(properties);
+ CreateAdUnitRequest.create = function create(properties) {
+ return new CreateAdUnitRequest(properties);
};
/**
- * Encodes the specified ListAdUnitSizesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesRequest.verify|verify} messages.
+ * Encodes the specified CreateAdUnitRequest message. Does not implicitly {@link google.ads.admanager.v1.CreateAdUnitRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
- * @param {google.ads.admanager.v1.IListAdUnitSizesRequest} message ListAdUnitSizesRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.ICreateAdUnitRequest} message CreateAdUnitRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListAdUnitSizesRequest.encode = function encode(message, writer) {
+ CreateAdUnitRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
- if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
- if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
- if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
- if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
- if (message.skip != null && Object.hasOwnProperty.call(message, "skip"))
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.skip);
+ if (message.adUnit != null && Object.hasOwnProperty.call(message, "adUnit"))
+ $root.google.ads.admanager.v1.AdUnit.encode(message.adUnit, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified ListAdUnitSizesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesRequest.verify|verify} messages.
+ * Encodes the specified CreateAdUnitRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CreateAdUnitRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
- * @param {google.ads.admanager.v1.IListAdUnitSizesRequest} message ListAdUnitSizesRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.ICreateAdUnitRequest} message CreateAdUnitRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListAdUnitSizesRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ CreateAdUnitRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListAdUnitSizesRequest message from the specified reader or buffer.
+ * Decodes a CreateAdUnitRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListAdUnitSizesRequest} ListAdUnitSizesRequest
+ * @returns {google.ads.admanager.v1.CreateAdUnitRequest} CreateAdUnitRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListAdUnitSizesRequest.decode = function decode(reader, length, error) {
+ CreateAdUnitRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListAdUnitSizesRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.CreateAdUnitRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
@@ -10475,23 +10662,7 @@
break;
}
case 2: {
- message.pageSize = reader.int32();
- break;
- }
- case 3: {
- message.pageToken = reader.string();
- break;
- }
- case 4: {
- message.filter = reader.string();
- break;
- }
- case 5: {
- message.orderBy = reader.string();
- break;
- }
- case 6: {
- message.skip = reader.int32();
+ message.adUnit = $root.google.ads.admanager.v1.AdUnit.decode(reader, reader.uint32());
break;
}
default:
@@ -10503,166 +10674,137 @@
};
/**
- * Decodes a ListAdUnitSizesRequest message from the specified reader or buffer, length delimited.
+ * Decodes a CreateAdUnitRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListAdUnitSizesRequest} ListAdUnitSizesRequest
+ * @returns {google.ads.admanager.v1.CreateAdUnitRequest} CreateAdUnitRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListAdUnitSizesRequest.decodeDelimited = function decodeDelimited(reader) {
+ CreateAdUnitRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListAdUnitSizesRequest message.
+ * Verifies a CreateAdUnitRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListAdUnitSizesRequest.verify = function verify(message) {
+ CreateAdUnitRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.parent != null && message.hasOwnProperty("parent"))
if (!$util.isString(message.parent))
return "parent: string expected";
- if (message.pageSize != null && message.hasOwnProperty("pageSize"))
- if (!$util.isInteger(message.pageSize))
- return "pageSize: integer expected";
- if (message.pageToken != null && message.hasOwnProperty("pageToken"))
- if (!$util.isString(message.pageToken))
- return "pageToken: string expected";
- if (message.filter != null && message.hasOwnProperty("filter"))
- if (!$util.isString(message.filter))
- return "filter: string expected";
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- if (!$util.isString(message.orderBy))
- return "orderBy: string expected";
- if (message.skip != null && message.hasOwnProperty("skip"))
- if (!$util.isInteger(message.skip))
- return "skip: integer expected";
+ if (message.adUnit != null && message.hasOwnProperty("adUnit")) {
+ var error = $root.google.ads.admanager.v1.AdUnit.verify(message.adUnit);
+ if (error)
+ return "adUnit." + error;
+ }
return null;
};
/**
- * Creates a ListAdUnitSizesRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a CreateAdUnitRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListAdUnitSizesRequest} ListAdUnitSizesRequest
+ * @returns {google.ads.admanager.v1.CreateAdUnitRequest} CreateAdUnitRequest
*/
- ListAdUnitSizesRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListAdUnitSizesRequest)
+ CreateAdUnitRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.CreateAdUnitRequest)
return object;
- var message = new $root.google.ads.admanager.v1.ListAdUnitSizesRequest();
+ var message = new $root.google.ads.admanager.v1.CreateAdUnitRequest();
if (object.parent != null)
message.parent = String(object.parent);
- if (object.pageSize != null)
- message.pageSize = object.pageSize | 0;
- if (object.pageToken != null)
- message.pageToken = String(object.pageToken);
- if (object.filter != null)
- message.filter = String(object.filter);
- if (object.orderBy != null)
- message.orderBy = String(object.orderBy);
- if (object.skip != null)
- message.skip = object.skip | 0;
+ if (object.adUnit != null) {
+ if (typeof object.adUnit !== "object")
+ throw TypeError(".google.ads.admanager.v1.CreateAdUnitRequest.adUnit: object expected");
+ message.adUnit = $root.google.ads.admanager.v1.AdUnit.fromObject(object.adUnit);
+ }
return message;
};
/**
- * Creates a plain object from a ListAdUnitSizesRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a CreateAdUnitRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
- * @param {google.ads.admanager.v1.ListAdUnitSizesRequest} message ListAdUnitSizesRequest
+ * @param {google.ads.admanager.v1.CreateAdUnitRequest} message CreateAdUnitRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListAdUnitSizesRequest.toObject = function toObject(message, options) {
+ CreateAdUnitRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.defaults) {
object.parent = "";
- object.pageSize = 0;
- object.pageToken = "";
- object.filter = "";
- object.orderBy = "";
- object.skip = 0;
+ object.adUnit = null;
}
if (message.parent != null && message.hasOwnProperty("parent"))
object.parent = message.parent;
- if (message.pageSize != null && message.hasOwnProperty("pageSize"))
- object.pageSize = message.pageSize;
- if (message.pageToken != null && message.hasOwnProperty("pageToken"))
- object.pageToken = message.pageToken;
- if (message.filter != null && message.hasOwnProperty("filter"))
- object.filter = message.filter;
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- object.orderBy = message.orderBy;
- if (message.skip != null && message.hasOwnProperty("skip"))
- object.skip = message.skip;
+ if (message.adUnit != null && message.hasOwnProperty("adUnit"))
+ object.adUnit = $root.google.ads.admanager.v1.AdUnit.toObject(message.adUnit, options);
return object;
};
/**
- * Converts this ListAdUnitSizesRequest to JSON.
+ * Converts this CreateAdUnitRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @instance
* @returns {Object.} JSON object
*/
- ListAdUnitSizesRequest.prototype.toJSON = function toJSON() {
+ CreateAdUnitRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListAdUnitSizesRequest
+ * Gets the default type url for CreateAdUnitRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
+ * @memberof google.ads.admanager.v1.CreateAdUnitRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListAdUnitSizesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ CreateAdUnitRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListAdUnitSizesRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.CreateAdUnitRequest";
};
- return ListAdUnitSizesRequest;
+ return CreateAdUnitRequest;
})();
- v1.ListAdUnitSizesResponse = (function() {
+ v1.UpdateAdUnitRequest = (function() {
/**
- * Properties of a ListAdUnitSizesResponse.
+ * Properties of an UpdateAdUnitRequest.
* @memberof google.ads.admanager.v1
- * @interface IListAdUnitSizesResponse
- * @property {Array.|null} [adUnitSizes] ListAdUnitSizesResponse adUnitSizes
- * @property {string|null} [nextPageToken] ListAdUnitSizesResponse nextPageToken
- * @property {number|null} [totalSize] ListAdUnitSizesResponse totalSize
+ * @interface IUpdateAdUnitRequest
+ * @property {google.ads.admanager.v1.IAdUnit|null} [adUnit] UpdateAdUnitRequest adUnit
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateAdUnitRequest updateMask
*/
/**
- * Constructs a new ListAdUnitSizesResponse.
+ * Constructs a new UpdateAdUnitRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListAdUnitSizesResponse.
- * @implements IListAdUnitSizesResponse
+ * @classdesc Represents an UpdateAdUnitRequest.
+ * @implements IUpdateAdUnitRequest
* @constructor
- * @param {google.ads.admanager.v1.IListAdUnitSizesResponse=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IUpdateAdUnitRequest=} [properties] Properties to set
*/
- function ListAdUnitSizesResponse(properties) {
- this.adUnitSizes = [];
+ function UpdateAdUnitRequest(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -10670,108 +10812,91 @@
}
/**
- * ListAdUnitSizesResponse adUnitSizes.
- * @member {Array.} adUnitSizes
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
- * @instance
- */
- ListAdUnitSizesResponse.prototype.adUnitSizes = $util.emptyArray;
-
- /**
- * ListAdUnitSizesResponse nextPageToken.
- * @member {string} nextPageToken
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * UpdateAdUnitRequest adUnit.
+ * @member {google.ads.admanager.v1.IAdUnit|null|undefined} adUnit
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @instance
*/
- ListAdUnitSizesResponse.prototype.nextPageToken = "";
+ UpdateAdUnitRequest.prototype.adUnit = null;
/**
- * ListAdUnitSizesResponse totalSize.
- * @member {number} totalSize
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * UpdateAdUnitRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @instance
*/
- ListAdUnitSizesResponse.prototype.totalSize = 0;
+ UpdateAdUnitRequest.prototype.updateMask = null;
/**
- * Creates a new ListAdUnitSizesResponse instance using the specified properties.
+ * Creates a new UpdateAdUnitRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
- * @param {google.ads.admanager.v1.IListAdUnitSizesResponse=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListAdUnitSizesResponse} ListAdUnitSizesResponse instance
+ * @param {google.ads.admanager.v1.IUpdateAdUnitRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.UpdateAdUnitRequest} UpdateAdUnitRequest instance
*/
- ListAdUnitSizesResponse.create = function create(properties) {
- return new ListAdUnitSizesResponse(properties);
+ UpdateAdUnitRequest.create = function create(properties) {
+ return new UpdateAdUnitRequest(properties);
};
/**
- * Encodes the specified ListAdUnitSizesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesResponse.verify|verify} messages.
+ * Encodes the specified UpdateAdUnitRequest message. Does not implicitly {@link google.ads.admanager.v1.UpdateAdUnitRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
- * @param {google.ads.admanager.v1.IListAdUnitSizesResponse} message ListAdUnitSizesResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IUpdateAdUnitRequest} message UpdateAdUnitRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListAdUnitSizesResponse.encode = function encode(message, writer) {
+ UpdateAdUnitRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.adUnitSizes != null && message.adUnitSizes.length)
- for (var i = 0; i < message.adUnitSizes.length; ++i)
- $root.google.ads.admanager.v1.AdUnitSize.encode(message.adUnitSizes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
- if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
- if (message.totalSize != null && Object.hasOwnProperty.call(message, "totalSize"))
- writer.uint32(/* id 3, wireType 0 =*/24).int32(message.totalSize);
+ if (message.adUnit != null && Object.hasOwnProperty.call(message, "adUnit"))
+ $root.google.ads.admanager.v1.AdUnit.encode(message.adUnit, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified ListAdUnitSizesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesResponse.verify|verify} messages.
+ * Encodes the specified UpdateAdUnitRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.UpdateAdUnitRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
- * @param {google.ads.admanager.v1.IListAdUnitSizesResponse} message ListAdUnitSizesResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IUpdateAdUnitRequest} message UpdateAdUnitRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListAdUnitSizesResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ UpdateAdUnitRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListAdUnitSizesResponse message from the specified reader or buffer.
+ * Decodes an UpdateAdUnitRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListAdUnitSizesResponse} ListAdUnitSizesResponse
+ * @returns {google.ads.admanager.v1.UpdateAdUnitRequest} UpdateAdUnitRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListAdUnitSizesResponse.decode = function decode(reader, length, error) {
+ UpdateAdUnitRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListAdUnitSizesResponse();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.UpdateAdUnitRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- if (!(message.adUnitSizes && message.adUnitSizes.length))
- message.adUnitSizes = [];
- message.adUnitSizes.push($root.google.ads.admanager.v1.AdUnitSize.decode(reader, reader.uint32()));
+ message.adUnit = $root.google.ads.admanager.v1.AdUnit.decode(reader, reader.uint32());
break;
}
case 2: {
- message.nextPageToken = reader.string();
- break;
- }
- case 3: {
- message.totalSize = reader.int32();
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
break;
}
default:
@@ -10783,163 +10908,143 @@
};
/**
- * Decodes a ListAdUnitSizesResponse message from the specified reader or buffer, length delimited.
+ * Decodes an UpdateAdUnitRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListAdUnitSizesResponse} ListAdUnitSizesResponse
+ * @returns {google.ads.admanager.v1.UpdateAdUnitRequest} UpdateAdUnitRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListAdUnitSizesResponse.decodeDelimited = function decodeDelimited(reader) {
+ UpdateAdUnitRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListAdUnitSizesResponse message.
+ * Verifies an UpdateAdUnitRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListAdUnitSizesResponse.verify = function verify(message) {
+ UpdateAdUnitRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.adUnitSizes != null && message.hasOwnProperty("adUnitSizes")) {
- if (!Array.isArray(message.adUnitSizes))
- return "adUnitSizes: array expected";
- for (var i = 0; i < message.adUnitSizes.length; ++i) {
- var error = $root.google.ads.admanager.v1.AdUnitSize.verify(message.adUnitSizes[i]);
- if (error)
- return "adUnitSizes." + error;
- }
+ if (message.adUnit != null && message.hasOwnProperty("adUnit")) {
+ var error = $root.google.ads.admanager.v1.AdUnit.verify(message.adUnit);
+ if (error)
+ return "adUnit." + error;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
}
- if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
- if (!$util.isString(message.nextPageToken))
- return "nextPageToken: string expected";
- if (message.totalSize != null && message.hasOwnProperty("totalSize"))
- if (!$util.isInteger(message.totalSize))
- return "totalSize: integer expected";
return null;
};
/**
- * Creates a ListAdUnitSizesResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates an UpdateAdUnitRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListAdUnitSizesResponse} ListAdUnitSizesResponse
+ * @returns {google.ads.admanager.v1.UpdateAdUnitRequest} UpdateAdUnitRequest
*/
- ListAdUnitSizesResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListAdUnitSizesResponse)
+ UpdateAdUnitRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.UpdateAdUnitRequest)
return object;
- var message = new $root.google.ads.admanager.v1.ListAdUnitSizesResponse();
- if (object.adUnitSizes) {
- if (!Array.isArray(object.adUnitSizes))
- throw TypeError(".google.ads.admanager.v1.ListAdUnitSizesResponse.adUnitSizes: array expected");
- message.adUnitSizes = [];
- for (var i = 0; i < object.adUnitSizes.length; ++i) {
- if (typeof object.adUnitSizes[i] !== "object")
- throw TypeError(".google.ads.admanager.v1.ListAdUnitSizesResponse.adUnitSizes: object expected");
- message.adUnitSizes[i] = $root.google.ads.admanager.v1.AdUnitSize.fromObject(object.adUnitSizes[i]);
- }
+ var message = new $root.google.ads.admanager.v1.UpdateAdUnitRequest();
+ if (object.adUnit != null) {
+ if (typeof object.adUnit !== "object")
+ throw TypeError(".google.ads.admanager.v1.UpdateAdUnitRequest.adUnit: object expected");
+ message.adUnit = $root.google.ads.admanager.v1.AdUnit.fromObject(object.adUnit);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.ads.admanager.v1.UpdateAdUnitRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
}
- if (object.nextPageToken != null)
- message.nextPageToken = String(object.nextPageToken);
- if (object.totalSize != null)
- message.totalSize = object.totalSize | 0;
return message;
};
/**
- * Creates a plain object from a ListAdUnitSizesResponse message. Also converts values to other types if specified.
+ * Creates a plain object from an UpdateAdUnitRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
- * @param {google.ads.admanager.v1.ListAdUnitSizesResponse} message ListAdUnitSizesResponse
+ * @param {google.ads.admanager.v1.UpdateAdUnitRequest} message UpdateAdUnitRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListAdUnitSizesResponse.toObject = function toObject(message, options) {
+ UpdateAdUnitRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
- if (options.arrays || options.defaults)
- object.adUnitSizes = [];
if (options.defaults) {
- object.nextPageToken = "";
- object.totalSize = 0;
- }
- if (message.adUnitSizes && message.adUnitSizes.length) {
- object.adUnitSizes = [];
- for (var j = 0; j < message.adUnitSizes.length; ++j)
- object.adUnitSizes[j] = $root.google.ads.admanager.v1.AdUnitSize.toObject(message.adUnitSizes[j], options);
+ object.adUnit = null;
+ object.updateMask = null;
}
- if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
- object.nextPageToken = message.nextPageToken;
- if (message.totalSize != null && message.hasOwnProperty("totalSize"))
- object.totalSize = message.totalSize;
+ if (message.adUnit != null && message.hasOwnProperty("adUnit"))
+ object.adUnit = $root.google.ads.admanager.v1.AdUnit.toObject(message.adUnit, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
return object;
};
/**
- * Converts this ListAdUnitSizesResponse to JSON.
+ * Converts this UpdateAdUnitRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @instance
* @returns {Object.} JSON object
*/
- ListAdUnitSizesResponse.prototype.toJSON = function toJSON() {
+ UpdateAdUnitRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListAdUnitSizesResponse
+ * Gets the default type url for UpdateAdUnitRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
+ * @memberof google.ads.admanager.v1.UpdateAdUnitRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListAdUnitSizesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ UpdateAdUnitRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListAdUnitSizesResponse";
+ return typeUrlPrefix + "/google.ads.admanager.v1.UpdateAdUnitRequest";
};
- return ListAdUnitSizesResponse;
+ return UpdateAdUnitRequest;
})();
- v1.AdManagerError = (function() {
+ v1.BatchCreateAdUnitsRequest = (function() {
/**
- * Properties of an AdManagerError.
+ * Properties of a BatchCreateAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @interface IAdManagerError
- * @property {string|null} [errorCode] AdManagerError errorCode
- * @property {string|null} [message] AdManagerError message
- * @property {string|null} [fieldPath] AdManagerError fieldPath
- * @property {string|null} [trigger] AdManagerError trigger
- * @property {string|null} [stackTrace] AdManagerError stackTrace
- * @property {Array.|null} [details] AdManagerError details
+ * @interface IBatchCreateAdUnitsRequest
+ * @property {string|null} [parent] BatchCreateAdUnitsRequest parent
+ * @property {Array.|null} [requests] BatchCreateAdUnitsRequest requests
*/
/**
- * Constructs a new AdManagerError.
+ * Constructs a new BatchCreateAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents an AdManagerError.
- * @implements IAdManagerError
+ * @classdesc Represents a BatchCreateAdUnitsRequest.
+ * @implements IBatchCreateAdUnitsRequest
* @constructor
- * @param {google.ads.admanager.v1.IAdManagerError=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsRequest=} [properties] Properties to set
*/
- function AdManagerError(properties) {
- this.details = [];
+ function BatchCreateAdUnitsRequest(properties) {
+ this.requests = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -10947,150 +11052,94 @@
}
/**
- * AdManagerError errorCode.
- * @member {string} errorCode
- * @memberof google.ads.admanager.v1.AdManagerError
+ * BatchCreateAdUnitsRequest parent.
+ * @member {string} parent
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @instance
*/
- AdManagerError.prototype.errorCode = "";
+ BatchCreateAdUnitsRequest.prototype.parent = "";
/**
- * AdManagerError message.
- * @member {string} message
- * @memberof google.ads.admanager.v1.AdManagerError
+ * BatchCreateAdUnitsRequest requests.
+ * @member {Array.} requests
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @instance
*/
- AdManagerError.prototype.message = "";
+ BatchCreateAdUnitsRequest.prototype.requests = $util.emptyArray;
/**
- * AdManagerError fieldPath.
- * @member {string} fieldPath
- * @memberof google.ads.admanager.v1.AdManagerError
- * @instance
+ * Creates a new BatchCreateAdUnitsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
+ * @static
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchCreateAdUnitsRequest} BatchCreateAdUnitsRequest instance
*/
- AdManagerError.prototype.fieldPath = "";
+ BatchCreateAdUnitsRequest.create = function create(properties) {
+ return new BatchCreateAdUnitsRequest(properties);
+ };
/**
- * AdManagerError trigger.
- * @member {string} trigger
- * @memberof google.ads.admanager.v1.AdManagerError
- * @instance
+ * Encodes the specified BatchCreateAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateAdUnitsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
+ * @static
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsRequest} message BatchCreateAdUnitsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
*/
- AdManagerError.prototype.trigger = "";
+ BatchCreateAdUnitsRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.requests != null && message.requests.length)
+ for (var i = 0; i < message.requests.length; ++i)
+ $root.google.ads.admanager.v1.CreateAdUnitRequest.encode(message.requests[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
/**
- * AdManagerError stackTrace.
- * @member {string} stackTrace
- * @memberof google.ads.admanager.v1.AdManagerError
- * @instance
+ * Encodes the specified BatchCreateAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateAdUnitsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
+ * @static
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsRequest} message BatchCreateAdUnitsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
*/
- AdManagerError.prototype.stackTrace = "";
-
- /**
- * AdManagerError details.
- * @member {Array.} details
- * @memberof google.ads.admanager.v1.AdManagerError
- * @instance
- */
- AdManagerError.prototype.details = $util.emptyArray;
-
- /**
- * Creates a new AdManagerError instance using the specified properties.
- * @function create
- * @memberof google.ads.admanager.v1.AdManagerError
- * @static
- * @param {google.ads.admanager.v1.IAdManagerError=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.AdManagerError} AdManagerError instance
- */
- AdManagerError.create = function create(properties) {
- return new AdManagerError(properties);
- };
-
- /**
- * Encodes the specified AdManagerError message. Does not implicitly {@link google.ads.admanager.v1.AdManagerError.verify|verify} messages.
- * @function encode
- * @memberof google.ads.admanager.v1.AdManagerError
- * @static
- * @param {google.ads.admanager.v1.IAdManagerError} message AdManagerError message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- AdManagerError.encode = function encode(message, writer) {
- if (!writer)
- writer = $Writer.create();
- if (message.errorCode != null && Object.hasOwnProperty.call(message, "errorCode"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.errorCode);
- if (message.message != null && Object.hasOwnProperty.call(message, "message"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
- if (message.fieldPath != null && Object.hasOwnProperty.call(message, "fieldPath"))
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.fieldPath);
- if (message.trigger != null && Object.hasOwnProperty.call(message, "trigger"))
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.trigger);
- if (message.stackTrace != null && Object.hasOwnProperty.call(message, "stackTrace"))
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.stackTrace);
- if (message.details != null && message.details.length)
- for (var i = 0; i < message.details.length; ++i)
- $root.google.protobuf.Any.encode(message.details[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
- return writer;
- };
-
- /**
- * Encodes the specified AdManagerError message, length delimited. Does not implicitly {@link google.ads.admanager.v1.AdManagerError.verify|verify} messages.
- * @function encodeDelimited
- * @memberof google.ads.admanager.v1.AdManagerError
- * @static
- * @param {google.ads.admanager.v1.IAdManagerError} message AdManagerError message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- AdManagerError.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchCreateAdUnitsRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes an AdManagerError message from the specified reader or buffer.
+ * Decodes a BatchCreateAdUnitsRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.AdManagerError
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.AdManagerError} AdManagerError
+ * @returns {google.ads.admanager.v1.BatchCreateAdUnitsRequest} BatchCreateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- AdManagerError.decode = function decode(reader, length, error) {
+ BatchCreateAdUnitsRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.AdManagerError();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchCreateAdUnitsRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- message.errorCode = reader.string();
+ message.parent = reader.string();
break;
}
case 2: {
- message.message = reader.string();
- break;
- }
- case 3: {
- message.fieldPath = reader.string();
- break;
- }
- case 4: {
- message.trigger = reader.string();
- break;
- }
- case 5: {
- message.stackTrace = reader.string();
- break;
- }
- case 6: {
- if (!(message.details && message.details.length))
- message.details = [];
- message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32()));
+ if (!(message.requests && message.requests.length))
+ message.requests = [];
+ message.requests.push($root.google.ads.admanager.v1.CreateAdUnitRequest.decode(reader, reader.uint32()));
break;
}
default:
@@ -11102,182 +11151,149 @@
};
/**
- * Decodes an AdManagerError message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateAdUnitsRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.AdManagerError
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.AdManagerError} AdManagerError
+ * @returns {google.ads.admanager.v1.BatchCreateAdUnitsRequest} BatchCreateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- AdManagerError.decodeDelimited = function decodeDelimited(reader) {
+ BatchCreateAdUnitsRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies an AdManagerError message.
+ * Verifies a BatchCreateAdUnitsRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.AdManagerError
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- AdManagerError.verify = function verify(message) {
+ BatchCreateAdUnitsRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.errorCode != null && message.hasOwnProperty("errorCode"))
- if (!$util.isString(message.errorCode))
- return "errorCode: string expected";
- if (message.message != null && message.hasOwnProperty("message"))
- if (!$util.isString(message.message))
- return "message: string expected";
- if (message.fieldPath != null && message.hasOwnProperty("fieldPath"))
- if (!$util.isString(message.fieldPath))
- return "fieldPath: string expected";
- if (message.trigger != null && message.hasOwnProperty("trigger"))
- if (!$util.isString(message.trigger))
- return "trigger: string expected";
- if (message.stackTrace != null && message.hasOwnProperty("stackTrace"))
- if (!$util.isString(message.stackTrace))
- return "stackTrace: string expected";
- if (message.details != null && message.hasOwnProperty("details")) {
- if (!Array.isArray(message.details))
- return "details: array expected";
- for (var i = 0; i < message.details.length; ++i) {
- var error = $root.google.protobuf.Any.verify(message.details[i]);
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.requests != null && message.hasOwnProperty("requests")) {
+ if (!Array.isArray(message.requests))
+ return "requests: array expected";
+ for (var i = 0; i < message.requests.length; ++i) {
+ var error = $root.google.ads.admanager.v1.CreateAdUnitRequest.verify(message.requests[i]);
if (error)
- return "details." + error;
+ return "requests." + error;
}
}
return null;
};
/**
- * Creates an AdManagerError message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.AdManagerError
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.AdManagerError} AdManagerError
+ * @returns {google.ads.admanager.v1.BatchCreateAdUnitsRequest} BatchCreateAdUnitsRequest
*/
- AdManagerError.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.AdManagerError)
+ BatchCreateAdUnitsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchCreateAdUnitsRequest)
return object;
- var message = new $root.google.ads.admanager.v1.AdManagerError();
- if (object.errorCode != null)
- message.errorCode = String(object.errorCode);
- if (object.message != null)
- message.message = String(object.message);
- if (object.fieldPath != null)
- message.fieldPath = String(object.fieldPath);
- if (object.trigger != null)
- message.trigger = String(object.trigger);
- if (object.stackTrace != null)
- message.stackTrace = String(object.stackTrace);
- if (object.details) {
- if (!Array.isArray(object.details))
- throw TypeError(".google.ads.admanager.v1.AdManagerError.details: array expected");
- message.details = [];
- for (var i = 0; i < object.details.length; ++i) {
- if (typeof object.details[i] !== "object")
- throw TypeError(".google.ads.admanager.v1.AdManagerError.details: object expected");
- message.details[i] = $root.google.protobuf.Any.fromObject(object.details[i]);
+ var message = new $root.google.ads.admanager.v1.BatchCreateAdUnitsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.requests) {
+ if (!Array.isArray(object.requests))
+ throw TypeError(".google.ads.admanager.v1.BatchCreateAdUnitsRequest.requests: array expected");
+ message.requests = [];
+ for (var i = 0; i < object.requests.length; ++i) {
+ if (typeof object.requests[i] !== "object")
+ throw TypeError(".google.ads.admanager.v1.BatchCreateAdUnitsRequest.requests: object expected");
+ message.requests[i] = $root.google.ads.admanager.v1.CreateAdUnitRequest.fromObject(object.requests[i]);
}
}
return message;
};
/**
- * Creates a plain object from an AdManagerError message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchCreateAdUnitsRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.AdManagerError
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.AdManagerError} message AdManagerError
+ * @param {google.ads.admanager.v1.BatchCreateAdUnitsRequest} message BatchCreateAdUnitsRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- AdManagerError.toObject = function toObject(message, options) {
+ BatchCreateAdUnitsRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.arrays || options.defaults)
- object.details = [];
- if (options.defaults) {
- object.errorCode = "";
- object.message = "";
- object.fieldPath = "";
- object.trigger = "";
- object.stackTrace = "";
- }
- if (message.errorCode != null && message.hasOwnProperty("errorCode"))
- object.errorCode = message.errorCode;
- if (message.message != null && message.hasOwnProperty("message"))
- object.message = message.message;
- if (message.fieldPath != null && message.hasOwnProperty("fieldPath"))
- object.fieldPath = message.fieldPath;
- if (message.trigger != null && message.hasOwnProperty("trigger"))
- object.trigger = message.trigger;
- if (message.stackTrace != null && message.hasOwnProperty("stackTrace"))
- object.stackTrace = message.stackTrace;
- if (message.details && message.details.length) {
- object.details = [];
- for (var j = 0; j < message.details.length; ++j)
- object.details[j] = $root.google.protobuf.Any.toObject(message.details[j], options);
+ object.requests = [];
+ if (options.defaults)
+ object.parent = "";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.requests && message.requests.length) {
+ object.requests = [];
+ for (var j = 0; j < message.requests.length; ++j)
+ object.requests[j] = $root.google.ads.admanager.v1.CreateAdUnitRequest.toObject(message.requests[j], options);
}
return object;
};
/**
- * Converts this AdManagerError to JSON.
+ * Converts this BatchCreateAdUnitsRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.AdManagerError
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @instance
* @returns {Object.} JSON object
*/
- AdManagerError.prototype.toJSON = function toJSON() {
+ BatchCreateAdUnitsRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for AdManagerError
+ * Gets the default type url for BatchCreateAdUnitsRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.AdManagerError
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- AdManagerError.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchCreateAdUnitsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.AdManagerError";
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchCreateAdUnitsRequest";
};
- return AdManagerError;
+ return BatchCreateAdUnitsRequest;
})();
- v1.Application = (function() {
+ v1.BatchCreateAdUnitsResponse = (function() {
/**
- * Properties of an Application.
+ * Properties of a BatchCreateAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @interface IApplication
- * @property {string|null} [name] Application name
- * @property {string|null} [displayName] Application displayName
+ * @interface IBatchCreateAdUnitsResponse
+ * @property {Array.|null} [adUnits] BatchCreateAdUnitsResponse adUnits
*/
/**
- * Constructs a new Application.
+ * Constructs a new BatchCreateAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @classdesc Represents an Application.
- * @implements IApplication
+ * @classdesc Represents a BatchCreateAdUnitsResponse.
+ * @implements IBatchCreateAdUnitsResponse
* @constructor
- * @param {google.ads.admanager.v1.IApplication=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsResponse=} [properties] Properties to set
*/
- function Application(properties) {
+ function BatchCreateAdUnitsResponse(properties) {
+ this.adUnits = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -11285,100 +11301,80 @@
}
/**
- * Application name.
- * @member {string} name
- * @memberof google.ads.admanager.v1.Application
- * @instance
- */
- Application.prototype.name = "";
-
- /**
- * Application displayName.
- * @member {string|null|undefined} displayName
- * @memberof google.ads.admanager.v1.Application
+ * BatchCreateAdUnitsResponse adUnits.
+ * @member {Array.} adUnits
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @instance
*/
- Application.prototype.displayName = null;
-
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
-
- // Virtual OneOf for proto3 optional field
- Object.defineProperty(Application.prototype, "_displayName", {
- get: $util.oneOfGetter($oneOfFields = ["displayName"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ BatchCreateAdUnitsResponse.prototype.adUnits = $util.emptyArray;
/**
- * Creates a new Application instance using the specified properties.
+ * Creates a new BatchCreateAdUnitsResponse instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IApplication=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.Application} Application instance
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsResponse=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchCreateAdUnitsResponse} BatchCreateAdUnitsResponse instance
*/
- Application.create = function create(properties) {
- return new Application(properties);
+ BatchCreateAdUnitsResponse.create = function create(properties) {
+ return new BatchCreateAdUnitsResponse(properties);
};
/**
- * Encodes the specified Application message. Does not implicitly {@link google.ads.admanager.v1.Application.verify|verify} messages.
+ * Encodes the specified BatchCreateAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchCreateAdUnitsResponse.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IApplication} message Application message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsResponse} message BatchCreateAdUnitsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- Application.encode = function encode(message, writer) {
+ BatchCreateAdUnitsResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
- if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.displayName);
+ if (message.adUnits != null && message.adUnits.length)
+ for (var i = 0; i < message.adUnits.length; ++i)
+ $root.google.ads.admanager.v1.AdUnit.encode(message.adUnits[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified Application message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Application.verify|verify} messages.
+ * Encodes the specified BatchCreateAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchCreateAdUnitsResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IApplication} message Application message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchCreateAdUnitsResponse} message BatchCreateAdUnitsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- Application.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchCreateAdUnitsResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes an Application message from the specified reader or buffer.
+ * Decodes a BatchCreateAdUnitsResponse message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.Application} Application
+ * @returns {google.ads.admanager.v1.BatchCreateAdUnitsResponse} BatchCreateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- Application.decode = function decode(reader, length, error) {
+ BatchCreateAdUnitsResponse.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.Application();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchCreateAdUnitsResponse();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- message.name = reader.string();
- break;
- }
- case 4: {
- message.displayName = reader.string();
+ if (!(message.adUnits && message.adUnits.length))
+ message.adUnits = [];
+ message.adUnits.push($root.google.ads.admanager.v1.AdUnit.decode(reader, reader.uint32()));
break;
}
default:
@@ -11390,236 +11386,141 @@
};
/**
- * Decodes an Application message from the specified reader or buffer, length delimited.
+ * Decodes a BatchCreateAdUnitsResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.Application} Application
+ * @returns {google.ads.admanager.v1.BatchCreateAdUnitsResponse} BatchCreateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- Application.decodeDelimited = function decodeDelimited(reader) {
+ BatchCreateAdUnitsResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies an Application message.
+ * Verifies a BatchCreateAdUnitsResponse message.
* @function verify
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- Application.verify = function verify(message) {
+ BatchCreateAdUnitsResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- var properties = {};
- if (message.name != null && message.hasOwnProperty("name"))
- if (!$util.isString(message.name))
- return "name: string expected";
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- properties._displayName = 1;
- if (!$util.isString(message.displayName))
- return "displayName: string expected";
+ if (message.adUnits != null && message.hasOwnProperty("adUnits")) {
+ if (!Array.isArray(message.adUnits))
+ return "adUnits: array expected";
+ for (var i = 0; i < message.adUnits.length; ++i) {
+ var error = $root.google.ads.admanager.v1.AdUnit.verify(message.adUnits[i]);
+ if (error)
+ return "adUnits." + error;
+ }
}
return null;
};
/**
- * Creates an Application message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchCreateAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.Application} Application
+ * @returns {google.ads.admanager.v1.BatchCreateAdUnitsResponse} BatchCreateAdUnitsResponse
*/
- Application.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.Application)
+ BatchCreateAdUnitsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchCreateAdUnitsResponse)
return object;
- var message = new $root.google.ads.admanager.v1.Application();
- if (object.name != null)
- message.name = String(object.name);
- if (object.displayName != null)
- message.displayName = String(object.displayName);
+ var message = new $root.google.ads.admanager.v1.BatchCreateAdUnitsResponse();
+ if (object.adUnits) {
+ if (!Array.isArray(object.adUnits))
+ throw TypeError(".google.ads.admanager.v1.BatchCreateAdUnitsResponse.adUnits: array expected");
+ message.adUnits = [];
+ for (var i = 0; i < object.adUnits.length; ++i) {
+ if (typeof object.adUnits[i] !== "object")
+ throw TypeError(".google.ads.admanager.v1.BatchCreateAdUnitsResponse.adUnits: object expected");
+ message.adUnits[i] = $root.google.ads.admanager.v1.AdUnit.fromObject(object.adUnits[i]);
+ }
+ }
return message;
};
/**
- * Creates a plain object from an Application message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchCreateAdUnitsResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.Application} message Application
+ * @param {google.ads.admanager.v1.BatchCreateAdUnitsResponse} message BatchCreateAdUnitsResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- Application.toObject = function toObject(message, options) {
+ BatchCreateAdUnitsResponse.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
- if (options.defaults)
- object.name = "";
- if (message.name != null && message.hasOwnProperty("name"))
- object.name = message.name;
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- object.displayName = message.displayName;
- if (options.oneofs)
- object._displayName = "displayName";
+ if (options.arrays || options.defaults)
+ object.adUnits = [];
+ if (message.adUnits && message.adUnits.length) {
+ object.adUnits = [];
+ for (var j = 0; j < message.adUnits.length; ++j)
+ object.adUnits[j] = $root.google.ads.admanager.v1.AdUnit.toObject(message.adUnits[j], options);
}
return object;
};
/**
- * Converts this Application to JSON.
+ * Converts this BatchCreateAdUnitsResponse to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @instance
* @returns {Object.} JSON object
*/
- Application.prototype.toJSON = function toJSON() {
+ BatchCreateAdUnitsResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for Application
+ * Gets the default type url for BatchCreateAdUnitsResponse
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.Application
+ * @memberof google.ads.admanager.v1.BatchCreateAdUnitsResponse
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- Application.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchCreateAdUnitsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.Application";
- };
-
- return Application;
- })();
-
- v1.ApplicationService = (function() {
-
- /**
- * Constructs a new ApplicationService service.
- * @memberof google.ads.admanager.v1
- * @classdesc Represents an ApplicationService
- * @extends $protobuf.rpc.Service
- * @constructor
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- */
- function ApplicationService(rpcImpl, requestDelimited, responseDelimited) {
- $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
- }
-
- (ApplicationService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ApplicationService;
-
- /**
- * Creates new ApplicationService service using the specified rpc implementation.
- * @function create
- * @memberof google.ads.admanager.v1.ApplicationService
- * @static
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- * @returns {ApplicationService} RPC service. Useful where requests and/or responses are streamed.
- */
- ApplicationService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
- return new this(rpcImpl, requestDelimited, responseDelimited);
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchCreateAdUnitsResponse";
};
- /**
- * Callback as used by {@link google.ads.admanager.v1.ApplicationService|getApplication}.
- * @memberof google.ads.admanager.v1.ApplicationService
- * @typedef GetApplicationCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.Application} [response] Application
- */
-
- /**
- * Calls GetApplication.
- * @function getApplication
- * @memberof google.ads.admanager.v1.ApplicationService
- * @instance
- * @param {google.ads.admanager.v1.IGetApplicationRequest} request GetApplicationRequest message or plain object
- * @param {google.ads.admanager.v1.ApplicationService.GetApplicationCallback} callback Node-style callback called with the error, if any, and Application
- * @returns {undefined}
- * @variation 1
- */
- Object.defineProperty(ApplicationService.prototype.getApplication = function getApplication(request, callback) {
- return this.rpcCall(getApplication, $root.google.ads.admanager.v1.GetApplicationRequest, $root.google.ads.admanager.v1.Application, request, callback);
- }, "name", { value: "GetApplication" });
-
- /**
- * Calls GetApplication.
- * @function getApplication
- * @memberof google.ads.admanager.v1.ApplicationService
- * @instance
- * @param {google.ads.admanager.v1.IGetApplicationRequest} request GetApplicationRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.ApplicationService|listApplications}.
- * @memberof google.ads.admanager.v1.ApplicationService
- * @typedef ListApplicationsCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.ListApplicationsResponse} [response] ListApplicationsResponse
- */
-
- /**
- * Calls ListApplications.
- * @function listApplications
- * @memberof google.ads.admanager.v1.ApplicationService
- * @instance
- * @param {google.ads.admanager.v1.IListApplicationsRequest} request ListApplicationsRequest message or plain object
- * @param {google.ads.admanager.v1.ApplicationService.ListApplicationsCallback} callback Node-style callback called with the error, if any, and ListApplicationsResponse
- * @returns {undefined}
- * @variation 1
- */
- Object.defineProperty(ApplicationService.prototype.listApplications = function listApplications(request, callback) {
- return this.rpcCall(listApplications, $root.google.ads.admanager.v1.ListApplicationsRequest, $root.google.ads.admanager.v1.ListApplicationsResponse, request, callback);
- }, "name", { value: "ListApplications" });
-
- /**
- * Calls ListApplications.
- * @function listApplications
- * @memberof google.ads.admanager.v1.ApplicationService
- * @instance
- * @param {google.ads.admanager.v1.IListApplicationsRequest} request ListApplicationsRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
- return ApplicationService;
+ return BatchCreateAdUnitsResponse;
})();
- v1.GetApplicationRequest = (function() {
+ v1.BatchUpdateAdUnitsRequest = (function() {
/**
- * Properties of a GetApplicationRequest.
+ * Properties of a BatchUpdateAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @interface IGetApplicationRequest
- * @property {string|null} [name] GetApplicationRequest name
+ * @interface IBatchUpdateAdUnitsRequest
+ * @property {string|null} [parent] BatchUpdateAdUnitsRequest parent
+ * @property {Array.|null} [requests] BatchUpdateAdUnitsRequest requests
*/
/**
- * Constructs a new GetApplicationRequest.
+ * Constructs a new BatchUpdateAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a GetApplicationRequest.
- * @implements IGetApplicationRequest
+ * @classdesc Represents a BatchUpdateAdUnitsRequest.
+ * @implements IBatchUpdateAdUnitsRequest
* @constructor
- * @param {google.ads.admanager.v1.IGetApplicationRequest=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsRequest=} [properties] Properties to set
*/
- function GetApplicationRequest(properties) {
+ function BatchUpdateAdUnitsRequest(properties) {
+ this.requests = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -11627,77 +11528,94 @@
}
/**
- * GetApplicationRequest name.
- * @member {string} name
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * BatchUpdateAdUnitsRequest parent.
+ * @member {string} parent
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @instance
*/
- GetApplicationRequest.prototype.name = "";
+ BatchUpdateAdUnitsRequest.prototype.parent = "";
/**
- * Creates a new GetApplicationRequest instance using the specified properties.
+ * BatchUpdateAdUnitsRequest requests.
+ * @member {Array.} requests
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
+ * @instance
+ */
+ BatchUpdateAdUnitsRequest.prototype.requests = $util.emptyArray;
+
+ /**
+ * Creates a new BatchUpdateAdUnitsRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IGetApplicationRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.GetApplicationRequest} GetApplicationRequest instance
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchUpdateAdUnitsRequest} BatchUpdateAdUnitsRequest instance
*/
- GetApplicationRequest.create = function create(properties) {
- return new GetApplicationRequest(properties);
+ BatchUpdateAdUnitsRequest.create = function create(properties) {
+ return new BatchUpdateAdUnitsRequest(properties);
};
/**
- * Encodes the specified GetApplicationRequest message. Does not implicitly {@link google.ads.admanager.v1.GetApplicationRequest.verify|verify} messages.
+ * Encodes the specified BatchUpdateAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateAdUnitsRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IGetApplicationRequest} message GetApplicationRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsRequest} message BatchUpdateAdUnitsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetApplicationRequest.encode = function encode(message, writer) {
+ BatchUpdateAdUnitsRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.requests != null && message.requests.length)
+ for (var i = 0; i < message.requests.length; ++i)
+ $root.google.ads.admanager.v1.UpdateAdUnitRequest.encode(message.requests[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified GetApplicationRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetApplicationRequest.verify|verify} messages.
+ * Encodes the specified BatchUpdateAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateAdUnitsRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IGetApplicationRequest} message GetApplicationRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsRequest} message BatchUpdateAdUnitsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetApplicationRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchUpdateAdUnitsRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetApplicationRequest message from the specified reader or buffer.
+ * Decodes a BatchUpdateAdUnitsRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.GetApplicationRequest} GetApplicationRequest
+ * @returns {google.ads.admanager.v1.BatchUpdateAdUnitsRequest} BatchUpdateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetApplicationRequest.decode = function decode(reader, length, error) {
+ BatchUpdateAdUnitsRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.GetApplicationRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchUpdateAdUnitsRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- message.name = reader.string();
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ if (!(message.requests && message.requests.length))
+ message.requests = [];
+ message.requests.push($root.google.ads.admanager.v1.UpdateAdUnitRequest.decode(reader, reader.uint32()));
break;
}
default:
@@ -11709,127 +11627,149 @@
};
/**
- * Decodes a GetApplicationRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchUpdateAdUnitsRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.GetApplicationRequest} GetApplicationRequest
+ * @returns {google.ads.admanager.v1.BatchUpdateAdUnitsRequest} BatchUpdateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetApplicationRequest.decodeDelimited = function decodeDelimited(reader) {
+ BatchUpdateAdUnitsRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetApplicationRequest message.
+ * Verifies a BatchUpdateAdUnitsRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetApplicationRequest.verify = function verify(message) {
+ BatchUpdateAdUnitsRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.name != null && message.hasOwnProperty("name"))
- if (!$util.isString(message.name))
- return "name: string expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.requests != null && message.hasOwnProperty("requests")) {
+ if (!Array.isArray(message.requests))
+ return "requests: array expected";
+ for (var i = 0; i < message.requests.length; ++i) {
+ var error = $root.google.ads.admanager.v1.UpdateAdUnitRequest.verify(message.requests[i]);
+ if (error)
+ return "requests." + error;
+ }
+ }
return null;
};
/**
- * Creates a GetApplicationRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchUpdateAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.GetApplicationRequest} GetApplicationRequest
+ * @returns {google.ads.admanager.v1.BatchUpdateAdUnitsRequest} BatchUpdateAdUnitsRequest
*/
- GetApplicationRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.GetApplicationRequest)
+ BatchUpdateAdUnitsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchUpdateAdUnitsRequest)
return object;
- var message = new $root.google.ads.admanager.v1.GetApplicationRequest();
- if (object.name != null)
- message.name = String(object.name);
- return message;
- };
+ var message = new $root.google.ads.admanager.v1.BatchUpdateAdUnitsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.requests) {
+ if (!Array.isArray(object.requests))
+ throw TypeError(".google.ads.admanager.v1.BatchUpdateAdUnitsRequest.requests: array expected");
+ message.requests = [];
+ for (var i = 0; i < object.requests.length; ++i) {
+ if (typeof object.requests[i] !== "object")
+ throw TypeError(".google.ads.admanager.v1.BatchUpdateAdUnitsRequest.requests: object expected");
+ message.requests[i] = $root.google.ads.admanager.v1.UpdateAdUnitRequest.fromObject(object.requests[i]);
+ }
+ }
+ return message;
+ };
/**
- * Creates a plain object from a GetApplicationRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchUpdateAdUnitsRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.GetApplicationRequest} message GetApplicationRequest
+ * @param {google.ads.admanager.v1.BatchUpdateAdUnitsRequest} message BatchUpdateAdUnitsRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetApplicationRequest.toObject = function toObject(message, options) {
+ BatchUpdateAdUnitsRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
+ if (options.arrays || options.defaults)
+ object.requests = [];
if (options.defaults)
- object.name = "";
- if (message.name != null && message.hasOwnProperty("name"))
- object.name = message.name;
+ object.parent = "";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.requests && message.requests.length) {
+ object.requests = [];
+ for (var j = 0; j < message.requests.length; ++j)
+ object.requests[j] = $root.google.ads.admanager.v1.UpdateAdUnitRequest.toObject(message.requests[j], options);
+ }
return object;
};
/**
- * Converts this GetApplicationRequest to JSON.
+ * Converts this BatchUpdateAdUnitsRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @instance
* @returns {Object.} JSON object
*/
- GetApplicationRequest.prototype.toJSON = function toJSON() {
+ BatchUpdateAdUnitsRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for GetApplicationRequest
+ * Gets the default type url for BatchUpdateAdUnitsRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.GetApplicationRequest
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- GetApplicationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchUpdateAdUnitsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.GetApplicationRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchUpdateAdUnitsRequest";
};
- return GetApplicationRequest;
+ return BatchUpdateAdUnitsRequest;
})();
- v1.ListApplicationsRequest = (function() {
+ v1.BatchUpdateAdUnitsResponse = (function() {
/**
- * Properties of a ListApplicationsRequest.
+ * Properties of a BatchUpdateAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @interface IListApplicationsRequest
- * @property {string|null} [parent] ListApplicationsRequest parent
- * @property {number|null} [pageSize] ListApplicationsRequest pageSize
- * @property {string|null} [pageToken] ListApplicationsRequest pageToken
- * @property {string|null} [filter] ListApplicationsRequest filter
- * @property {string|null} [orderBy] ListApplicationsRequest orderBy
- * @property {number|null} [skip] ListApplicationsRequest skip
+ * @interface IBatchUpdateAdUnitsResponse
+ * @property {Array.|null} [adUnits] BatchUpdateAdUnitsResponse adUnits
*/
/**
- * Constructs a new ListApplicationsRequest.
+ * Constructs a new BatchUpdateAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListApplicationsRequest.
- * @implements IListApplicationsRequest
+ * @classdesc Represents a BatchUpdateAdUnitsResponse.
+ * @implements IBatchUpdateAdUnitsResponse
* @constructor
- * @param {google.ads.admanager.v1.IListApplicationsRequest=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsResponse=} [properties] Properties to set
*/
- function ListApplicationsRequest(properties) {
+ function BatchUpdateAdUnitsResponse(properties) {
+ this.adUnits = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -11837,75 +11777,305 @@
}
/**
- * ListApplicationsRequest parent.
+ * BatchUpdateAdUnitsResponse adUnits.
+ * @member {Array.} adUnits
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @instance
+ */
+ BatchUpdateAdUnitsResponse.prototype.adUnits = $util.emptyArray;
+
+ /**
+ * Creates a new BatchUpdateAdUnitsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsResponse=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchUpdateAdUnitsResponse} BatchUpdateAdUnitsResponse instance
+ */
+ BatchUpdateAdUnitsResponse.create = function create(properties) {
+ return new BatchUpdateAdUnitsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified BatchUpdateAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateAdUnitsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsResponse} message BatchUpdateAdUnitsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BatchUpdateAdUnitsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.adUnits != null && message.adUnits.length)
+ for (var i = 0; i < message.adUnits.length; ++i)
+ $root.google.ads.admanager.v1.AdUnit.encode(message.adUnits[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified BatchUpdateAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchUpdateAdUnitsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {google.ads.admanager.v1.IBatchUpdateAdUnitsResponse} message BatchUpdateAdUnitsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BatchUpdateAdUnitsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a BatchUpdateAdUnitsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.ads.admanager.v1.BatchUpdateAdUnitsResponse} BatchUpdateAdUnitsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BatchUpdateAdUnitsResponse.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchUpdateAdUnitsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.adUnits && message.adUnits.length))
+ message.adUnits = [];
+ message.adUnits.push($root.google.ads.admanager.v1.AdUnit.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a BatchUpdateAdUnitsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.ads.admanager.v1.BatchUpdateAdUnitsResponse} BatchUpdateAdUnitsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BatchUpdateAdUnitsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a BatchUpdateAdUnitsResponse message.
+ * @function verify
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ BatchUpdateAdUnitsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.adUnits != null && message.hasOwnProperty("adUnits")) {
+ if (!Array.isArray(message.adUnits))
+ return "adUnits: array expected";
+ for (var i = 0; i < message.adUnits.length; ++i) {
+ var error = $root.google.ads.admanager.v1.AdUnit.verify(message.adUnits[i]);
+ if (error)
+ return "adUnits." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a BatchUpdateAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.ads.admanager.v1.BatchUpdateAdUnitsResponse} BatchUpdateAdUnitsResponse
+ */
+ BatchUpdateAdUnitsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchUpdateAdUnitsResponse)
+ return object;
+ var message = new $root.google.ads.admanager.v1.BatchUpdateAdUnitsResponse();
+ if (object.adUnits) {
+ if (!Array.isArray(object.adUnits))
+ throw TypeError(".google.ads.admanager.v1.BatchUpdateAdUnitsResponse.adUnits: array expected");
+ message.adUnits = [];
+ for (var i = 0; i < object.adUnits.length; ++i) {
+ if (typeof object.adUnits[i] !== "object")
+ throw TypeError(".google.ads.admanager.v1.BatchUpdateAdUnitsResponse.adUnits: object expected");
+ message.adUnits[i] = $root.google.ads.admanager.v1.AdUnit.fromObject(object.adUnits[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a BatchUpdateAdUnitsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {google.ads.admanager.v1.BatchUpdateAdUnitsResponse} message BatchUpdateAdUnitsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ BatchUpdateAdUnitsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.adUnits = [];
+ if (message.adUnits && message.adUnits.length) {
+ object.adUnits = [];
+ for (var j = 0; j < message.adUnits.length; ++j)
+ object.adUnits[j] = $root.google.ads.admanager.v1.AdUnit.toObject(message.adUnits[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this BatchUpdateAdUnitsResponse to JSON.
+ * @function toJSON
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ BatchUpdateAdUnitsResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for BatchUpdateAdUnitsResponse
+ * @function getTypeUrl
+ * @memberof google.ads.admanager.v1.BatchUpdateAdUnitsResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ BatchUpdateAdUnitsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchUpdateAdUnitsResponse";
+ };
+
+ return BatchUpdateAdUnitsResponse;
+ })();
+
+ v1.ListAdUnitSizesRequest = (function() {
+
+ /**
+ * Properties of a ListAdUnitSizesRequest.
+ * @memberof google.ads.admanager.v1
+ * @interface IListAdUnitSizesRequest
+ * @property {string|null} [parent] ListAdUnitSizesRequest parent
+ * @property {number|null} [pageSize] ListAdUnitSizesRequest pageSize
+ * @property {string|null} [pageToken] ListAdUnitSizesRequest pageToken
+ * @property {string|null} [filter] ListAdUnitSizesRequest filter
+ * @property {string|null} [orderBy] ListAdUnitSizesRequest orderBy
+ * @property {number|null} [skip] ListAdUnitSizesRequest skip
+ */
+
+ /**
+ * Constructs a new ListAdUnitSizesRequest.
+ * @memberof google.ads.admanager.v1
+ * @classdesc Represents a ListAdUnitSizesRequest.
+ * @implements IListAdUnitSizesRequest
+ * @constructor
+ * @param {google.ads.admanager.v1.IListAdUnitSizesRequest=} [properties] Properties to set
+ */
+ function ListAdUnitSizesRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ListAdUnitSizesRequest parent.
* @member {string} parent
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @instance
*/
- ListApplicationsRequest.prototype.parent = "";
+ ListAdUnitSizesRequest.prototype.parent = "";
/**
- * ListApplicationsRequest pageSize.
+ * ListAdUnitSizesRequest pageSize.
* @member {number} pageSize
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @instance
*/
- ListApplicationsRequest.prototype.pageSize = 0;
+ ListAdUnitSizesRequest.prototype.pageSize = 0;
/**
- * ListApplicationsRequest pageToken.
+ * ListAdUnitSizesRequest pageToken.
* @member {string} pageToken
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @instance
*/
- ListApplicationsRequest.prototype.pageToken = "";
+ ListAdUnitSizesRequest.prototype.pageToken = "";
/**
- * ListApplicationsRequest filter.
+ * ListAdUnitSizesRequest filter.
* @member {string} filter
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @instance
*/
- ListApplicationsRequest.prototype.filter = "";
+ ListAdUnitSizesRequest.prototype.filter = "";
/**
- * ListApplicationsRequest orderBy.
+ * ListAdUnitSizesRequest orderBy.
* @member {string} orderBy
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @instance
*/
- ListApplicationsRequest.prototype.orderBy = "";
+ ListAdUnitSizesRequest.prototype.orderBy = "";
/**
- * ListApplicationsRequest skip.
+ * ListAdUnitSizesRequest skip.
* @member {number} skip
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @instance
*/
- ListApplicationsRequest.prototype.skip = 0;
+ ListAdUnitSizesRequest.prototype.skip = 0;
/**
- * Creates a new ListApplicationsRequest instance using the specified properties.
+ * Creates a new ListAdUnitSizesRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
- * @param {google.ads.admanager.v1.IListApplicationsRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListApplicationsRequest} ListApplicationsRequest instance
+ * @param {google.ads.admanager.v1.IListAdUnitSizesRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.ListAdUnitSizesRequest} ListAdUnitSizesRequest instance
*/
- ListApplicationsRequest.create = function create(properties) {
- return new ListApplicationsRequest(properties);
+ ListAdUnitSizesRequest.create = function create(properties) {
+ return new ListAdUnitSizesRequest(properties);
};
/**
- * Encodes the specified ListApplicationsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsRequest.verify|verify} messages.
+ * Encodes the specified ListAdUnitSizesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
- * @param {google.ads.admanager.v1.IListApplicationsRequest} message ListApplicationsRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IListAdUnitSizesRequest} message ListAdUnitSizesRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListApplicationsRequest.encode = function encode(message, writer) {
+ ListAdUnitSizesRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
@@ -11924,33 +12094,33 @@
};
/**
- * Encodes the specified ListApplicationsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsRequest.verify|verify} messages.
+ * Encodes the specified ListAdUnitSizesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
- * @param {google.ads.admanager.v1.IListApplicationsRequest} message ListApplicationsRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IListAdUnitSizesRequest} message ListAdUnitSizesRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListApplicationsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ ListAdUnitSizesRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListApplicationsRequest message from the specified reader or buffer.
+ * Decodes a ListAdUnitSizesRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListApplicationsRequest} ListApplicationsRequest
+ * @returns {google.ads.admanager.v1.ListAdUnitSizesRequest} ListAdUnitSizesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListApplicationsRequest.decode = function decode(reader, length, error) {
+ ListAdUnitSizesRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListApplicationsRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListAdUnitSizesRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
@@ -11989,30 +12159,30 @@
};
/**
- * Decodes a ListApplicationsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListAdUnitSizesRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListApplicationsRequest} ListApplicationsRequest
+ * @returns {google.ads.admanager.v1.ListAdUnitSizesRequest} ListAdUnitSizesRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListApplicationsRequest.decodeDelimited = function decodeDelimited(reader) {
+ ListAdUnitSizesRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListApplicationsRequest message.
+ * Verifies a ListAdUnitSizesRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListApplicationsRequest.verify = function verify(message) {
+ ListAdUnitSizesRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.parent != null && message.hasOwnProperty("parent"))
@@ -12037,17 +12207,17 @@
};
/**
- * Creates a ListApplicationsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListAdUnitSizesRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListApplicationsRequest} ListApplicationsRequest
+ * @returns {google.ads.admanager.v1.ListAdUnitSizesRequest} ListAdUnitSizesRequest
*/
- ListApplicationsRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListApplicationsRequest)
+ ListAdUnitSizesRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.ListAdUnitSizesRequest)
return object;
- var message = new $root.google.ads.admanager.v1.ListApplicationsRequest();
+ var message = new $root.google.ads.admanager.v1.ListAdUnitSizesRequest();
if (object.parent != null)
message.parent = String(object.parent);
if (object.pageSize != null)
@@ -12064,15 +12234,15 @@
};
/**
- * Creates a plain object from a ListApplicationsRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a ListAdUnitSizesRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
- * @param {google.ads.admanager.v1.ListApplicationsRequest} message ListApplicationsRequest
+ * @param {google.ads.admanager.v1.ListAdUnitSizesRequest} message ListAdUnitSizesRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListApplicationsRequest.toObject = function toObject(message, options) {
+ ListAdUnitSizesRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
@@ -12100,55 +12270,55 @@
};
/**
- * Converts this ListApplicationsRequest to JSON.
+ * Converts this ListAdUnitSizesRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @instance
* @returns {Object.} JSON object
*/
- ListApplicationsRequest.prototype.toJSON = function toJSON() {
+ ListAdUnitSizesRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListApplicationsRequest
+ * Gets the default type url for ListAdUnitSizesRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListApplicationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ ListAdUnitSizesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListApplicationsRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.ListAdUnitSizesRequest";
};
- return ListApplicationsRequest;
+ return ListAdUnitSizesRequest;
})();
- v1.ListApplicationsResponse = (function() {
+ v1.ListAdUnitSizesResponse = (function() {
/**
- * Properties of a ListApplicationsResponse.
+ * Properties of a ListAdUnitSizesResponse.
* @memberof google.ads.admanager.v1
- * @interface IListApplicationsResponse
- * @property {Array.|null} [applications] ListApplicationsResponse applications
- * @property {string|null} [nextPageToken] ListApplicationsResponse nextPageToken
- * @property {number|null} [totalSize] ListApplicationsResponse totalSize
+ * @interface IListAdUnitSizesResponse
+ * @property {Array.|null} [adUnitSizes] ListAdUnitSizesResponse adUnitSizes
+ * @property {string|null} [nextPageToken] ListAdUnitSizesResponse nextPageToken
+ * @property {number|null} [totalSize] ListAdUnitSizesResponse totalSize
*/
/**
- * Constructs a new ListApplicationsResponse.
+ * Constructs a new ListAdUnitSizesResponse.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListApplicationsResponse.
- * @implements IListApplicationsResponse
+ * @classdesc Represents a ListAdUnitSizesResponse.
+ * @implements IListAdUnitSizesResponse
* @constructor
- * @param {google.ads.admanager.v1.IListApplicationsResponse=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IListAdUnitSizesResponse=} [properties] Properties to set
*/
- function ListApplicationsResponse(properties) {
- this.applications = [];
+ function ListAdUnitSizesResponse(properties) {
+ this.adUnitSizes = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -12156,56 +12326,56 @@
}
/**
- * ListApplicationsResponse applications.
- * @member {Array.} applications
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * ListAdUnitSizesResponse adUnitSizes.
+ * @member {Array.} adUnitSizes
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @instance
*/
- ListApplicationsResponse.prototype.applications = $util.emptyArray;
+ ListAdUnitSizesResponse.prototype.adUnitSizes = $util.emptyArray;
/**
- * ListApplicationsResponse nextPageToken.
+ * ListAdUnitSizesResponse nextPageToken.
* @member {string} nextPageToken
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @instance
*/
- ListApplicationsResponse.prototype.nextPageToken = "";
+ ListAdUnitSizesResponse.prototype.nextPageToken = "";
/**
- * ListApplicationsResponse totalSize.
+ * ListAdUnitSizesResponse totalSize.
* @member {number} totalSize
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @instance
*/
- ListApplicationsResponse.prototype.totalSize = 0;
+ ListAdUnitSizesResponse.prototype.totalSize = 0;
/**
- * Creates a new ListApplicationsResponse instance using the specified properties.
+ * Creates a new ListAdUnitSizesResponse instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
- * @param {google.ads.admanager.v1.IListApplicationsResponse=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListApplicationsResponse} ListApplicationsResponse instance
+ * @param {google.ads.admanager.v1.IListAdUnitSizesResponse=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.ListAdUnitSizesResponse} ListAdUnitSizesResponse instance
*/
- ListApplicationsResponse.create = function create(properties) {
- return new ListApplicationsResponse(properties);
+ ListAdUnitSizesResponse.create = function create(properties) {
+ return new ListAdUnitSizesResponse(properties);
};
/**
- * Encodes the specified ListApplicationsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsResponse.verify|verify} messages.
+ * Encodes the specified ListAdUnitSizesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesResponse.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
- * @param {google.ads.admanager.v1.IListApplicationsResponse} message ListApplicationsResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IListAdUnitSizesResponse} message ListAdUnitSizesResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListApplicationsResponse.encode = function encode(message, writer) {
+ ListAdUnitSizesResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.applications != null && message.applications.length)
- for (var i = 0; i < message.applications.length; ++i)
- $root.google.ads.admanager.v1.Application.encode(message.applications[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.adUnitSizes != null && message.adUnitSizes.length)
+ for (var i = 0; i < message.adUnitSizes.length; ++i)
+ $root.google.ads.admanager.v1.AdUnitSize.encode(message.adUnitSizes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
if (message.totalSize != null && Object.hasOwnProperty.call(message, "totalSize"))
@@ -12214,42 +12384,42 @@
};
/**
- * Encodes the specified ListApplicationsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsResponse.verify|verify} messages.
+ * Encodes the specified ListAdUnitSizesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAdUnitSizesResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
- * @param {google.ads.admanager.v1.IListApplicationsResponse} message ListApplicationsResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IListAdUnitSizesResponse} message ListAdUnitSizesResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListApplicationsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ ListAdUnitSizesResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListApplicationsResponse message from the specified reader or buffer.
+ * Decodes a ListAdUnitSizesResponse message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListApplicationsResponse} ListApplicationsResponse
+ * @returns {google.ads.admanager.v1.ListAdUnitSizesResponse} ListAdUnitSizesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListApplicationsResponse.decode = function decode(reader, length, error) {
+ ListAdUnitSizesResponse.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListApplicationsResponse();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListAdUnitSizesResponse();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- if (!(message.applications && message.applications.length))
- message.applications = [];
- message.applications.push($root.google.ads.admanager.v1.Application.decode(reader, reader.uint32()));
+ if (!(message.adUnitSizes && message.adUnitSizes.length))
+ message.adUnitSizes = [];
+ message.adUnitSizes.push($root.google.ads.admanager.v1.AdUnitSize.decode(reader, reader.uint32()));
break;
}
case 2: {
@@ -12269,39 +12439,39 @@
};
/**
- * Decodes a ListApplicationsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListAdUnitSizesResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListApplicationsResponse} ListApplicationsResponse
+ * @returns {google.ads.admanager.v1.ListAdUnitSizesResponse} ListAdUnitSizesResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListApplicationsResponse.decodeDelimited = function decodeDelimited(reader) {
+ ListAdUnitSizesResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListApplicationsResponse message.
+ * Verifies a ListAdUnitSizesResponse message.
* @function verify
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListApplicationsResponse.verify = function verify(message) {
+ ListAdUnitSizesResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.applications != null && message.hasOwnProperty("applications")) {
- if (!Array.isArray(message.applications))
- return "applications: array expected";
- for (var i = 0; i < message.applications.length; ++i) {
- var error = $root.google.ads.admanager.v1.Application.verify(message.applications[i]);
+ if (message.adUnitSizes != null && message.hasOwnProperty("adUnitSizes")) {
+ if (!Array.isArray(message.adUnitSizes))
+ return "adUnitSizes: array expected";
+ for (var i = 0; i < message.adUnitSizes.length; ++i) {
+ var error = $root.google.ads.admanager.v1.AdUnitSize.verify(message.adUnitSizes[i]);
if (error)
- return "applications." + error;
+ return "adUnitSizes." + error;
}
}
if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
@@ -12314,25 +12484,25 @@
};
/**
- * Creates a ListApplicationsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListAdUnitSizesResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListApplicationsResponse} ListApplicationsResponse
+ * @returns {google.ads.admanager.v1.ListAdUnitSizesResponse} ListAdUnitSizesResponse
*/
- ListApplicationsResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListApplicationsResponse)
+ ListAdUnitSizesResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.ListAdUnitSizesResponse)
return object;
- var message = new $root.google.ads.admanager.v1.ListApplicationsResponse();
- if (object.applications) {
- if (!Array.isArray(object.applications))
- throw TypeError(".google.ads.admanager.v1.ListApplicationsResponse.applications: array expected");
- message.applications = [];
- for (var i = 0; i < object.applications.length; ++i) {
- if (typeof object.applications[i] !== "object")
- throw TypeError(".google.ads.admanager.v1.ListApplicationsResponse.applications: object expected");
- message.applications[i] = $root.google.ads.admanager.v1.Application.fromObject(object.applications[i]);
+ var message = new $root.google.ads.admanager.v1.ListAdUnitSizesResponse();
+ if (object.adUnitSizes) {
+ if (!Array.isArray(object.adUnitSizes))
+ throw TypeError(".google.ads.admanager.v1.ListAdUnitSizesResponse.adUnitSizes: array expected");
+ message.adUnitSizes = [];
+ for (var i = 0; i < object.adUnitSizes.length; ++i) {
+ if (typeof object.adUnitSizes[i] !== "object")
+ throw TypeError(".google.ads.admanager.v1.ListAdUnitSizesResponse.adUnitSizes: object expected");
+ message.adUnitSizes[i] = $root.google.ads.admanager.v1.AdUnitSize.fromObject(object.adUnitSizes[i]);
}
}
if (object.nextPageToken != null)
@@ -12343,28 +12513,28 @@
};
/**
- * Creates a plain object from a ListApplicationsResponse message. Also converts values to other types if specified.
+ * Creates a plain object from a ListAdUnitSizesResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
- * @param {google.ads.admanager.v1.ListApplicationsResponse} message ListApplicationsResponse
+ * @param {google.ads.admanager.v1.ListAdUnitSizesResponse} message ListAdUnitSizesResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListApplicationsResponse.toObject = function toObject(message, options) {
+ ListAdUnitSizesResponse.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.arrays || options.defaults)
- object.applications = [];
+ object.adUnitSizes = [];
if (options.defaults) {
object.nextPageToken = "";
object.totalSize = 0;
}
- if (message.applications && message.applications.length) {
- object.applications = [];
- for (var j = 0; j < message.applications.length; ++j)
- object.applications[j] = $root.google.ads.admanager.v1.Application.toObject(message.applications[j], options);
+ if (message.adUnitSizes && message.adUnitSizes.length) {
+ object.adUnitSizes = [];
+ for (var j = 0; j < message.adUnitSizes.length; ++j)
+ object.adUnitSizes[j] = $root.google.ads.admanager.v1.AdUnitSize.toObject(message.adUnitSizes[j], options);
}
if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
object.nextPageToken = message.nextPageToken;
@@ -12374,53 +12544,54 @@
};
/**
- * Converts this ListApplicationsResponse to JSON.
+ * Converts this ListAdUnitSizesResponse to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @instance
* @returns {Object.} JSON object
*/
- ListApplicationsResponse.prototype.toJSON = function toJSON() {
+ ListAdUnitSizesResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListApplicationsResponse
+ * Gets the default type url for ListAdUnitSizesResponse
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListApplicationsResponse
+ * @memberof google.ads.admanager.v1.ListAdUnitSizesResponse
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListApplicationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ ListAdUnitSizesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListApplicationsResponse";
+ return typeUrlPrefix + "/google.ads.admanager.v1.ListAdUnitSizesResponse";
};
- return ListApplicationsResponse;
+ return ListAdUnitSizesResponse;
})();
- v1.AudienceSegment = (function() {
+ v1.BatchActivateAdUnitsRequest = (function() {
/**
- * Properties of an AudienceSegment.
+ * Properties of a BatchActivateAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @interface IAudienceSegment
- * @property {string|null} [name] AudienceSegment name
- * @property {string|null} [displayName] AudienceSegment displayName
+ * @interface IBatchActivateAdUnitsRequest
+ * @property {string|null} [parent] BatchActivateAdUnitsRequest parent
+ * @property {Array.|null} [names] BatchActivateAdUnitsRequest names
*/
/**
- * Constructs a new AudienceSegment.
+ * Constructs a new BatchActivateAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents an AudienceSegment.
- * @implements IAudienceSegment
+ * @classdesc Represents a BatchActivateAdUnitsRequest.
+ * @implements IBatchActivateAdUnitsRequest
* @constructor
- * @param {google.ads.admanager.v1.IAudienceSegment=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsRequest=} [properties] Properties to set
*/
- function AudienceSegment(properties) {
+ function BatchActivateAdUnitsRequest(properties) {
+ this.names = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -12428,100 +12599,94 @@
}
/**
- * AudienceSegment name.
- * @member {string} name
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * BatchActivateAdUnitsRequest parent.
+ * @member {string} parent
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @instance
*/
- AudienceSegment.prototype.name = "";
+ BatchActivateAdUnitsRequest.prototype.parent = "";
/**
- * AudienceSegment displayName.
- * @member {string|null|undefined} displayName
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * BatchActivateAdUnitsRequest names.
+ * @member {Array.} names
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @instance
*/
- AudienceSegment.prototype.displayName = null;
-
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
-
- // Virtual OneOf for proto3 optional field
- Object.defineProperty(AudienceSegment.prototype, "_displayName", {
- get: $util.oneOfGetter($oneOfFields = ["displayName"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ BatchActivateAdUnitsRequest.prototype.names = $util.emptyArray;
/**
- * Creates a new AudienceSegment instance using the specified properties.
+ * Creates a new BatchActivateAdUnitsRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IAudienceSegment=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.AudienceSegment} AudienceSegment instance
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchActivateAdUnitsRequest} BatchActivateAdUnitsRequest instance
*/
- AudienceSegment.create = function create(properties) {
- return new AudienceSegment(properties);
+ BatchActivateAdUnitsRequest.create = function create(properties) {
+ return new BatchActivateAdUnitsRequest(properties);
};
/**
- * Encodes the specified AudienceSegment message. Does not implicitly {@link google.ads.admanager.v1.AudienceSegment.verify|verify} messages.
+ * Encodes the specified BatchActivateAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateAdUnitsRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IAudienceSegment} message AudienceSegment message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsRequest} message BatchActivateAdUnitsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- AudienceSegment.encode = function encode(message, writer) {
+ BatchActivateAdUnitsRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
- if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.names != null && message.names.length)
+ for (var i = 0; i < message.names.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.names[i]);
return writer;
};
/**
- * Encodes the specified AudienceSegment message, length delimited. Does not implicitly {@link google.ads.admanager.v1.AudienceSegment.verify|verify} messages.
+ * Encodes the specified BatchActivateAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateAdUnitsRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IAudienceSegment} message AudienceSegment message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsRequest} message BatchActivateAdUnitsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- AudienceSegment.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchActivateAdUnitsRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes an AudienceSegment message from the specified reader or buffer.
+ * Decodes a BatchActivateAdUnitsRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.AudienceSegment} AudienceSegment
+ * @returns {google.ads.admanager.v1.BatchActivateAdUnitsRequest} BatchActivateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- AudienceSegment.decode = function decode(reader, length, error) {
+ BatchActivateAdUnitsRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.AudienceSegment();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchActivateAdUnitsRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- message.name = reader.string();
+ message.parent = reader.string();
break;
}
case 2: {
- message.displayName = reader.string();
+ if (!(message.names && message.names.length))
+ message.names = [];
+ message.names.push(reader.string());
break;
}
default:
@@ -12533,236 +12698,142 @@
};
/**
- * Decodes an AudienceSegment message from the specified reader or buffer, length delimited.
+ * Decodes a BatchActivateAdUnitsRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.AudienceSegment} AudienceSegment
+ * @returns {google.ads.admanager.v1.BatchActivateAdUnitsRequest} BatchActivateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- AudienceSegment.decodeDelimited = function decodeDelimited(reader) {
+ BatchActivateAdUnitsRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies an AudienceSegment message.
+ * Verifies a BatchActivateAdUnitsRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- AudienceSegment.verify = function verify(message) {
+ BatchActivateAdUnitsRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- var properties = {};
- if (message.name != null && message.hasOwnProperty("name"))
- if (!$util.isString(message.name))
- return "name: string expected";
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- properties._displayName = 1;
- if (!$util.isString(message.displayName))
- return "displayName: string expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.names != null && message.hasOwnProperty("names")) {
+ if (!Array.isArray(message.names))
+ return "names: array expected";
+ for (var i = 0; i < message.names.length; ++i)
+ if (!$util.isString(message.names[i]))
+ return "names: string[] expected";
}
return null;
};
/**
- * Creates an AudienceSegment message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchActivateAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.AudienceSegment} AudienceSegment
+ * @returns {google.ads.admanager.v1.BatchActivateAdUnitsRequest} BatchActivateAdUnitsRequest
*/
- AudienceSegment.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.AudienceSegment)
+ BatchActivateAdUnitsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchActivateAdUnitsRequest)
return object;
- var message = new $root.google.ads.admanager.v1.AudienceSegment();
- if (object.name != null)
- message.name = String(object.name);
- if (object.displayName != null)
- message.displayName = String(object.displayName);
+ var message = new $root.google.ads.admanager.v1.BatchActivateAdUnitsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.names) {
+ if (!Array.isArray(object.names))
+ throw TypeError(".google.ads.admanager.v1.BatchActivateAdUnitsRequest.names: array expected");
+ message.names = [];
+ for (var i = 0; i < object.names.length; ++i)
+ message.names[i] = String(object.names[i]);
+ }
return message;
};
/**
- * Creates a plain object from an AudienceSegment message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchActivateAdUnitsRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.AudienceSegment} message AudienceSegment
+ * @param {google.ads.admanager.v1.BatchActivateAdUnitsRequest} message BatchActivateAdUnitsRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- AudienceSegment.toObject = function toObject(message, options) {
+ BatchActivateAdUnitsRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
+ if (options.arrays || options.defaults)
+ object.names = [];
if (options.defaults)
- object.name = "";
- if (message.name != null && message.hasOwnProperty("name"))
- object.name = message.name;
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- object.displayName = message.displayName;
- if (options.oneofs)
- object._displayName = "displayName";
+ object.parent = "";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.names && message.names.length) {
+ object.names = [];
+ for (var j = 0; j < message.names.length; ++j)
+ object.names[j] = message.names[j];
}
return object;
};
/**
- * Converts this AudienceSegment to JSON.
+ * Converts this BatchActivateAdUnitsRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @instance
* @returns {Object.} JSON object
*/
- AudienceSegment.prototype.toJSON = function toJSON() {
+ BatchActivateAdUnitsRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for AudienceSegment
+ * Gets the default type url for BatchActivateAdUnitsRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.AudienceSegment
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- AudienceSegment.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchActivateAdUnitsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.AudienceSegment";
- };
-
- return AudienceSegment;
- })();
-
- v1.AudienceSegmentService = (function() {
-
- /**
- * Constructs a new AudienceSegmentService service.
- * @memberof google.ads.admanager.v1
- * @classdesc Represents an AudienceSegmentService
- * @extends $protobuf.rpc.Service
- * @constructor
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- */
- function AudienceSegmentService(rpcImpl, requestDelimited, responseDelimited) {
- $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
- }
-
- (AudienceSegmentService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AudienceSegmentService;
-
- /**
- * Creates new AudienceSegmentService service using the specified rpc implementation.
- * @function create
- * @memberof google.ads.admanager.v1.AudienceSegmentService
- * @static
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- * @returns {AudienceSegmentService} RPC service. Useful where requests and/or responses are streamed.
- */
- AudienceSegmentService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
- return new this(rpcImpl, requestDelimited, responseDelimited);
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchActivateAdUnitsRequest";
};
- /**
- * Callback as used by {@link google.ads.admanager.v1.AudienceSegmentService|getAudienceSegment}.
- * @memberof google.ads.admanager.v1.AudienceSegmentService
- * @typedef GetAudienceSegmentCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.AudienceSegment} [response] AudienceSegment
- */
-
- /**
- * Calls GetAudienceSegment.
- * @function getAudienceSegment
- * @memberof google.ads.admanager.v1.AudienceSegmentService
- * @instance
- * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest} request GetAudienceSegmentRequest message or plain object
- * @param {google.ads.admanager.v1.AudienceSegmentService.GetAudienceSegmentCallback} callback Node-style callback called with the error, if any, and AudienceSegment
- * @returns {undefined}
- * @variation 1
- */
- Object.defineProperty(AudienceSegmentService.prototype.getAudienceSegment = function getAudienceSegment(request, callback) {
- return this.rpcCall(getAudienceSegment, $root.google.ads.admanager.v1.GetAudienceSegmentRequest, $root.google.ads.admanager.v1.AudienceSegment, request, callback);
- }, "name", { value: "GetAudienceSegment" });
-
- /**
- * Calls GetAudienceSegment.
- * @function getAudienceSegment
- * @memberof google.ads.admanager.v1.AudienceSegmentService
- * @instance
- * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest} request GetAudienceSegmentRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.AudienceSegmentService|listAudienceSegments}.
- * @memberof google.ads.admanager.v1.AudienceSegmentService
- * @typedef ListAudienceSegmentsCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.ListAudienceSegmentsResponse} [response] ListAudienceSegmentsResponse
- */
-
- /**
- * Calls ListAudienceSegments.
- * @function listAudienceSegments
- * @memberof google.ads.admanager.v1.AudienceSegmentService
- * @instance
- * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest} request ListAudienceSegmentsRequest message or plain object
- * @param {google.ads.admanager.v1.AudienceSegmentService.ListAudienceSegmentsCallback} callback Node-style callback called with the error, if any, and ListAudienceSegmentsResponse
- * @returns {undefined}
- * @variation 1
- */
- Object.defineProperty(AudienceSegmentService.prototype.listAudienceSegments = function listAudienceSegments(request, callback) {
- return this.rpcCall(listAudienceSegments, $root.google.ads.admanager.v1.ListAudienceSegmentsRequest, $root.google.ads.admanager.v1.ListAudienceSegmentsResponse, request, callback);
- }, "name", { value: "ListAudienceSegments" });
-
- /**
- * Calls ListAudienceSegments.
- * @function listAudienceSegments
- * @memberof google.ads.admanager.v1.AudienceSegmentService
- * @instance
- * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest} request ListAudienceSegmentsRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
- return AudienceSegmentService;
+ return BatchActivateAdUnitsRequest;
})();
- v1.GetAudienceSegmentRequest = (function() {
+ v1.BatchActivateAdUnitsResponse = (function() {
/**
- * Properties of a GetAudienceSegmentRequest.
+ * Properties of a BatchActivateAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @interface IGetAudienceSegmentRequest
- * @property {string|null} [name] GetAudienceSegmentRequest name
+ * @interface IBatchActivateAdUnitsResponse
*/
/**
- * Constructs a new GetAudienceSegmentRequest.
+ * Constructs a new BatchActivateAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a GetAudienceSegmentRequest.
- * @implements IGetAudienceSegmentRequest
+ * @classdesc Represents a BatchActivateAdUnitsResponse.
+ * @implements IBatchActivateAdUnitsResponse
* @constructor
- * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsResponse=} [properties] Properties to set
*/
- function GetAudienceSegmentRequest(properties) {
+ function BatchActivateAdUnitsResponse(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -12770,79 +12841,65 @@
}
/**
- * GetAudienceSegmentRequest name.
- * @member {string} name
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
- * @instance
- */
- GetAudienceSegmentRequest.prototype.name = "";
-
- /**
- * Creates a new GetAudienceSegmentRequest instance using the specified properties.
+ * Creates a new BatchActivateAdUnitsResponse instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.GetAudienceSegmentRequest} GetAudienceSegmentRequest instance
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsResponse=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchActivateAdUnitsResponse} BatchActivateAdUnitsResponse instance
*/
- GetAudienceSegmentRequest.create = function create(properties) {
- return new GetAudienceSegmentRequest(properties);
+ BatchActivateAdUnitsResponse.create = function create(properties) {
+ return new BatchActivateAdUnitsResponse(properties);
};
/**
- * Encodes the specified GetAudienceSegmentRequest message. Does not implicitly {@link google.ads.admanager.v1.GetAudienceSegmentRequest.verify|verify} messages.
+ * Encodes the specified BatchActivateAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchActivateAdUnitsResponse.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest} message GetAudienceSegmentRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsResponse} message BatchActivateAdUnitsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetAudienceSegmentRequest.encode = function encode(message, writer) {
+ BatchActivateAdUnitsResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
return writer;
};
/**
- * Encodes the specified GetAudienceSegmentRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetAudienceSegmentRequest.verify|verify} messages.
+ * Encodes the specified BatchActivateAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchActivateAdUnitsResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest} message GetAudienceSegmentRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchActivateAdUnitsResponse} message BatchActivateAdUnitsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetAudienceSegmentRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchActivateAdUnitsResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetAudienceSegmentRequest message from the specified reader or buffer.
+ * Decodes a BatchActivateAdUnitsResponse message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.GetAudienceSegmentRequest} GetAudienceSegmentRequest
+ * @returns {google.ads.admanager.v1.BatchActivateAdUnitsResponse} BatchActivateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetAudienceSegmentRequest.decode = function decode(reader, length, error) {
+ BatchActivateAdUnitsResponse.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.GetAudienceSegmentRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchActivateAdUnitsResponse();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
- case 1: {
- message.name = reader.string();
- break;
- }
default:
reader.skipType(tag & 7);
break;
@@ -12852,127 +12909,111 @@
};
/**
- * Decodes a GetAudienceSegmentRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchActivateAdUnitsResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.GetAudienceSegmentRequest} GetAudienceSegmentRequest
+ * @returns {google.ads.admanager.v1.BatchActivateAdUnitsResponse} BatchActivateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetAudienceSegmentRequest.decodeDelimited = function decodeDelimited(reader) {
+ BatchActivateAdUnitsResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetAudienceSegmentRequest message.
+ * Verifies a BatchActivateAdUnitsResponse message.
* @function verify
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetAudienceSegmentRequest.verify = function verify(message) {
+ BatchActivateAdUnitsResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.name != null && message.hasOwnProperty("name"))
- if (!$util.isString(message.name))
- return "name: string expected";
return null;
};
/**
- * Creates a GetAudienceSegmentRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchActivateAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.GetAudienceSegmentRequest} GetAudienceSegmentRequest
+ * @returns {google.ads.admanager.v1.BatchActivateAdUnitsResponse} BatchActivateAdUnitsResponse
*/
- GetAudienceSegmentRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.GetAudienceSegmentRequest)
+ BatchActivateAdUnitsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchActivateAdUnitsResponse)
return object;
- var message = new $root.google.ads.admanager.v1.GetAudienceSegmentRequest();
- if (object.name != null)
- message.name = String(object.name);
- return message;
+ return new $root.google.ads.admanager.v1.BatchActivateAdUnitsResponse();
};
/**
- * Creates a plain object from a GetAudienceSegmentRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchActivateAdUnitsResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.GetAudienceSegmentRequest} message GetAudienceSegmentRequest
+ * @param {google.ads.admanager.v1.BatchActivateAdUnitsResponse} message BatchActivateAdUnitsResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetAudienceSegmentRequest.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (options.defaults)
- object.name = "";
- if (message.name != null && message.hasOwnProperty("name"))
- object.name = message.name;
- return object;
+ BatchActivateAdUnitsResponse.toObject = function toObject() {
+ return {};
};
/**
- * Converts this GetAudienceSegmentRequest to JSON.
+ * Converts this BatchActivateAdUnitsResponse to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @instance
* @returns {Object.} JSON object
*/
- GetAudienceSegmentRequest.prototype.toJSON = function toJSON() {
+ BatchActivateAdUnitsResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for GetAudienceSegmentRequest
+ * Gets the default type url for BatchActivateAdUnitsResponse
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @memberof google.ads.admanager.v1.BatchActivateAdUnitsResponse
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- GetAudienceSegmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchActivateAdUnitsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.GetAudienceSegmentRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchActivateAdUnitsResponse";
};
- return GetAudienceSegmentRequest;
+ return BatchActivateAdUnitsResponse;
})();
- v1.ListAudienceSegmentsRequest = (function() {
+ v1.BatchDeactivateAdUnitsRequest = (function() {
/**
- * Properties of a ListAudienceSegmentsRequest.
+ * Properties of a BatchDeactivateAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @interface IListAudienceSegmentsRequest
- * @property {string|null} [parent] ListAudienceSegmentsRequest parent
- * @property {number|null} [pageSize] ListAudienceSegmentsRequest pageSize
- * @property {string|null} [pageToken] ListAudienceSegmentsRequest pageToken
- * @property {string|null} [filter] ListAudienceSegmentsRequest filter
- * @property {string|null} [orderBy] ListAudienceSegmentsRequest orderBy
- * @property {number|null} [skip] ListAudienceSegmentsRequest skip
+ * @interface IBatchDeactivateAdUnitsRequest
+ * @property {string|null} [parent] BatchDeactivateAdUnitsRequest parent
+ * @property {Array.|null} [names] BatchDeactivateAdUnitsRequest names
*/
/**
- * Constructs a new ListAudienceSegmentsRequest.
+ * Constructs a new BatchDeactivateAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListAudienceSegmentsRequest.
- * @implements IListAudienceSegmentsRequest
+ * @classdesc Represents a BatchDeactivateAdUnitsRequest.
+ * @implements IBatchDeactivateAdUnitsRequest
* @constructor
- * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest=} [properties] Properties to set
*/
- function ListAudienceSegmentsRequest(properties) {
+ function BatchDeactivateAdUnitsRequest(properties) {
+ this.names = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -12980,120 +13021,81 @@
}
/**
- * ListAudienceSegmentsRequest parent.
+ * BatchDeactivateAdUnitsRequest parent.
* @member {string} parent
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
- * @instance
- */
- ListAudienceSegmentsRequest.prototype.parent = "";
-
- /**
- * ListAudienceSegmentsRequest pageSize.
- * @member {number} pageSize
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
- * @instance
- */
- ListAudienceSegmentsRequest.prototype.pageSize = 0;
-
- /**
- * ListAudienceSegmentsRequest pageToken.
- * @member {string} pageToken
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
- * @instance
- */
- ListAudienceSegmentsRequest.prototype.pageToken = "";
-
- /**
- * ListAudienceSegmentsRequest filter.
- * @member {string} filter
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
- * @instance
- */
- ListAudienceSegmentsRequest.prototype.filter = "";
-
- /**
- * ListAudienceSegmentsRequest orderBy.
- * @member {string} orderBy
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @instance
*/
- ListAudienceSegmentsRequest.prototype.orderBy = "";
+ BatchDeactivateAdUnitsRequest.prototype.parent = "";
/**
- * ListAudienceSegmentsRequest skip.
- * @member {number} skip
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * BatchDeactivateAdUnitsRequest names.
+ * @member {Array.} names
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @instance
*/
- ListAudienceSegmentsRequest.prototype.skip = 0;
+ BatchDeactivateAdUnitsRequest.prototype.names = $util.emptyArray;
/**
- * Creates a new ListAudienceSegmentsRequest instance using the specified properties.
+ * Creates a new BatchDeactivateAdUnitsRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListAudienceSegmentsRequest} ListAudienceSegmentsRequest instance
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchDeactivateAdUnitsRequest} BatchDeactivateAdUnitsRequest instance
*/
- ListAudienceSegmentsRequest.create = function create(properties) {
- return new ListAudienceSegmentsRequest(properties);
+ BatchDeactivateAdUnitsRequest.create = function create(properties) {
+ return new BatchDeactivateAdUnitsRequest(properties);
};
/**
- * Encodes the specified ListAudienceSegmentsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsRequest.verify|verify} messages.
+ * Encodes the specified BatchDeactivateAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateAdUnitsRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest} message ListAudienceSegmentsRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest} message BatchDeactivateAdUnitsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListAudienceSegmentsRequest.encode = function encode(message, writer) {
+ BatchDeactivateAdUnitsRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
- if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
- if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
- if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
- if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
- if (message.skip != null && Object.hasOwnProperty.call(message, "skip"))
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.skip);
+ if (message.names != null && message.names.length)
+ for (var i = 0; i < message.names.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.names[i]);
return writer;
};
/**
- * Encodes the specified ListAudienceSegmentsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsRequest.verify|verify} messages.
+ * Encodes the specified BatchDeactivateAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateAdUnitsRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest} message ListAudienceSegmentsRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest} message BatchDeactivateAdUnitsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListAudienceSegmentsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchDeactivateAdUnitsRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListAudienceSegmentsRequest message from the specified reader or buffer.
+ * Decodes a BatchDeactivateAdUnitsRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListAudienceSegmentsRequest} ListAudienceSegmentsRequest
+ * @returns {google.ads.admanager.v1.BatchDeactivateAdUnitsRequest} BatchDeactivateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListAudienceSegmentsRequest.decode = function decode(reader, length, error) {
+ BatchDeactivateAdUnitsRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListAudienceSegmentsRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchDeactivateAdUnitsRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
@@ -13104,23 +13106,9 @@
break;
}
case 2: {
- message.pageSize = reader.int32();
- break;
- }
- case 3: {
- message.pageToken = reader.string();
- break;
- }
- case 4: {
- message.filter = reader.string();
- break;
- }
- case 5: {
- message.orderBy = reader.string();
- break;
- }
- case 6: {
- message.skip = reader.int32();
+ if (!(message.names && message.names.length))
+ message.names = [];
+ message.names.push(reader.string());
break;
}
default:
@@ -13132,166 +13120,142 @@
};
/**
- * Decodes a ListAudienceSegmentsRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchDeactivateAdUnitsRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListAudienceSegmentsRequest} ListAudienceSegmentsRequest
+ * @returns {google.ads.admanager.v1.BatchDeactivateAdUnitsRequest} BatchDeactivateAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListAudienceSegmentsRequest.decodeDelimited = function decodeDelimited(reader) {
+ BatchDeactivateAdUnitsRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListAudienceSegmentsRequest message.
+ * Verifies a BatchDeactivateAdUnitsRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListAudienceSegmentsRequest.verify = function verify(message) {
+ BatchDeactivateAdUnitsRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.parent != null && message.hasOwnProperty("parent"))
if (!$util.isString(message.parent))
return "parent: string expected";
- if (message.pageSize != null && message.hasOwnProperty("pageSize"))
- if (!$util.isInteger(message.pageSize))
- return "pageSize: integer expected";
- if (message.pageToken != null && message.hasOwnProperty("pageToken"))
- if (!$util.isString(message.pageToken))
- return "pageToken: string expected";
- if (message.filter != null && message.hasOwnProperty("filter"))
- if (!$util.isString(message.filter))
- return "filter: string expected";
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- if (!$util.isString(message.orderBy))
- return "orderBy: string expected";
- if (message.skip != null && message.hasOwnProperty("skip"))
- if (!$util.isInteger(message.skip))
- return "skip: integer expected";
+ if (message.names != null && message.hasOwnProperty("names")) {
+ if (!Array.isArray(message.names))
+ return "names: array expected";
+ for (var i = 0; i < message.names.length; ++i)
+ if (!$util.isString(message.names[i]))
+ return "names: string[] expected";
+ }
return null;
};
/**
- * Creates a ListAudienceSegmentsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchDeactivateAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListAudienceSegmentsRequest} ListAudienceSegmentsRequest
+ * @returns {google.ads.admanager.v1.BatchDeactivateAdUnitsRequest} BatchDeactivateAdUnitsRequest
*/
- ListAudienceSegmentsRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListAudienceSegmentsRequest)
+ BatchDeactivateAdUnitsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchDeactivateAdUnitsRequest)
return object;
- var message = new $root.google.ads.admanager.v1.ListAudienceSegmentsRequest();
+ var message = new $root.google.ads.admanager.v1.BatchDeactivateAdUnitsRequest();
if (object.parent != null)
message.parent = String(object.parent);
- if (object.pageSize != null)
- message.pageSize = object.pageSize | 0;
- if (object.pageToken != null)
- message.pageToken = String(object.pageToken);
- if (object.filter != null)
- message.filter = String(object.filter);
- if (object.orderBy != null)
- message.orderBy = String(object.orderBy);
- if (object.skip != null)
- message.skip = object.skip | 0;
+ if (object.names) {
+ if (!Array.isArray(object.names))
+ throw TypeError(".google.ads.admanager.v1.BatchDeactivateAdUnitsRequest.names: array expected");
+ message.names = [];
+ for (var i = 0; i < object.names.length; ++i)
+ message.names[i] = String(object.names[i]);
+ }
return message;
};
/**
- * Creates a plain object from a ListAudienceSegmentsRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchDeactivateAdUnitsRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.ListAudienceSegmentsRequest} message ListAudienceSegmentsRequest
+ * @param {google.ads.admanager.v1.BatchDeactivateAdUnitsRequest} message BatchDeactivateAdUnitsRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListAudienceSegmentsRequest.toObject = function toObject(message, options) {
+ BatchDeactivateAdUnitsRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
- if (options.defaults) {
+ if (options.arrays || options.defaults)
+ object.names = [];
+ if (options.defaults)
object.parent = "";
- object.pageSize = 0;
- object.pageToken = "";
- object.filter = "";
- object.orderBy = "";
- object.skip = 0;
- }
if (message.parent != null && message.hasOwnProperty("parent"))
object.parent = message.parent;
- if (message.pageSize != null && message.hasOwnProperty("pageSize"))
- object.pageSize = message.pageSize;
- if (message.pageToken != null && message.hasOwnProperty("pageToken"))
- object.pageToken = message.pageToken;
- if (message.filter != null && message.hasOwnProperty("filter"))
- object.filter = message.filter;
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- object.orderBy = message.orderBy;
- if (message.skip != null && message.hasOwnProperty("skip"))
- object.skip = message.skip;
+ if (message.names && message.names.length) {
+ object.names = [];
+ for (var j = 0; j < message.names.length; ++j)
+ object.names[j] = message.names[j];
+ }
return object;
};
/**
- * Converts this ListAudienceSegmentsRequest to JSON.
+ * Converts this BatchDeactivateAdUnitsRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @instance
* @returns {Object.} JSON object
*/
- ListAudienceSegmentsRequest.prototype.toJSON = function toJSON() {
+ BatchDeactivateAdUnitsRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListAudienceSegmentsRequest
+ * Gets the default type url for BatchDeactivateAdUnitsRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListAudienceSegmentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchDeactivateAdUnitsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListAudienceSegmentsRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchDeactivateAdUnitsRequest";
};
- return ListAudienceSegmentsRequest;
+ return BatchDeactivateAdUnitsRequest;
})();
- v1.ListAudienceSegmentsResponse = (function() {
+ v1.BatchDeactivateAdUnitsResponse = (function() {
/**
- * Properties of a ListAudienceSegmentsResponse.
+ * Properties of a BatchDeactivateAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @interface IListAudienceSegmentsResponse
- * @property {Array.|null} [audienceSegments] ListAudienceSegmentsResponse audienceSegments
- * @property {string|null} [nextPageToken] ListAudienceSegmentsResponse nextPageToken
- * @property {number|null} [totalSize] ListAudienceSegmentsResponse totalSize
+ * @interface IBatchDeactivateAdUnitsResponse
*/
/**
- * Constructs a new ListAudienceSegmentsResponse.
+ * Constructs a new BatchDeactivateAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListAudienceSegmentsResponse.
- * @implements IListAudienceSegmentsResponse
+ * @classdesc Represents a BatchDeactivateAdUnitsResponse.
+ * @implements IBatchDeactivateAdUnitsResponse
* @constructor
- * @param {google.ads.admanager.v1.IListAudienceSegmentsResponse=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse=} [properties] Properties to set
*/
- function ListAudienceSegmentsResponse(properties) {
- this.audienceSegments = [];
+ function BatchDeactivateAdUnitsResponse(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -13299,110 +13263,65 @@
}
/**
- * ListAudienceSegmentsResponse audienceSegments.
- * @member {Array.} audienceSegments
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
- * @instance
- */
- ListAudienceSegmentsResponse.prototype.audienceSegments = $util.emptyArray;
-
- /**
- * ListAudienceSegmentsResponse nextPageToken.
- * @member {string} nextPageToken
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
- * @instance
- */
- ListAudienceSegmentsResponse.prototype.nextPageToken = "";
-
- /**
- * ListAudienceSegmentsResponse totalSize.
- * @member {number} totalSize
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
- * @instance
- */
- ListAudienceSegmentsResponse.prototype.totalSize = 0;
-
- /**
- * Creates a new ListAudienceSegmentsResponse instance using the specified properties.
+ * Creates a new BatchDeactivateAdUnitsResponse instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IListAudienceSegmentsResponse=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListAudienceSegmentsResponse} ListAudienceSegmentsResponse instance
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchDeactivateAdUnitsResponse} BatchDeactivateAdUnitsResponse instance
*/
- ListAudienceSegmentsResponse.create = function create(properties) {
- return new ListAudienceSegmentsResponse(properties);
+ BatchDeactivateAdUnitsResponse.create = function create(properties) {
+ return new BatchDeactivateAdUnitsResponse(properties);
};
/**
- * Encodes the specified ListAudienceSegmentsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsResponse.verify|verify} messages.
+ * Encodes the specified BatchDeactivateAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateAdUnitsResponse.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IListAudienceSegmentsResponse} message ListAudienceSegmentsResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse} message BatchDeactivateAdUnitsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListAudienceSegmentsResponse.encode = function encode(message, writer) {
+ BatchDeactivateAdUnitsResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.audienceSegments != null && message.audienceSegments.length)
- for (var i = 0; i < message.audienceSegments.length; ++i)
- $root.google.ads.admanager.v1.AudienceSegment.encode(message.audienceSegments[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
- if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
- if (message.totalSize != null && Object.hasOwnProperty.call(message, "totalSize"))
- writer.uint32(/* id 3, wireType 0 =*/24).int32(message.totalSize);
return writer;
};
/**
- * Encodes the specified ListAudienceSegmentsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsResponse.verify|verify} messages.
+ * Encodes the specified BatchDeactivateAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchDeactivateAdUnitsResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IListAudienceSegmentsResponse} message ListAudienceSegmentsResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse} message BatchDeactivateAdUnitsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListAudienceSegmentsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchDeactivateAdUnitsResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListAudienceSegmentsResponse message from the specified reader or buffer.
+ * Decodes a BatchDeactivateAdUnitsResponse message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListAudienceSegmentsResponse} ListAudienceSegmentsResponse
+ * @returns {google.ads.admanager.v1.BatchDeactivateAdUnitsResponse} BatchDeactivateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListAudienceSegmentsResponse.decode = function decode(reader, length, error) {
+ BatchDeactivateAdUnitsResponse.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListAudienceSegmentsResponse();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchDeactivateAdUnitsResponse();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
- case 1: {
- if (!(message.audienceSegments && message.audienceSegments.length))
- message.audienceSegments = [];
- message.audienceSegments.push($root.google.ads.admanager.v1.AudienceSegment.decode(reader, reader.uint32()));
- break;
- }
- case 2: {
- message.nextPageToken = reader.string();
- break;
- }
- case 3: {
- message.totalSize = reader.int32();
- break;
- }
default:
reader.skipType(tag & 7);
break;
@@ -13412,158 +13331,111 @@
};
/**
- * Decodes a ListAudienceSegmentsResponse message from the specified reader or buffer, length delimited.
+ * Decodes a BatchDeactivateAdUnitsResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListAudienceSegmentsResponse} ListAudienceSegmentsResponse
+ * @returns {google.ads.admanager.v1.BatchDeactivateAdUnitsResponse} BatchDeactivateAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListAudienceSegmentsResponse.decodeDelimited = function decodeDelimited(reader) {
+ BatchDeactivateAdUnitsResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListAudienceSegmentsResponse message.
+ * Verifies a BatchDeactivateAdUnitsResponse message.
* @function verify
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListAudienceSegmentsResponse.verify = function verify(message) {
+ BatchDeactivateAdUnitsResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.audienceSegments != null && message.hasOwnProperty("audienceSegments")) {
- if (!Array.isArray(message.audienceSegments))
- return "audienceSegments: array expected";
- for (var i = 0; i < message.audienceSegments.length; ++i) {
- var error = $root.google.ads.admanager.v1.AudienceSegment.verify(message.audienceSegments[i]);
- if (error)
- return "audienceSegments." + error;
- }
- }
- if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
- if (!$util.isString(message.nextPageToken))
- return "nextPageToken: string expected";
- if (message.totalSize != null && message.hasOwnProperty("totalSize"))
- if (!$util.isInteger(message.totalSize))
- return "totalSize: integer expected";
return null;
};
/**
- * Creates a ListAudienceSegmentsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchDeactivateAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListAudienceSegmentsResponse} ListAudienceSegmentsResponse
+ * @returns {google.ads.admanager.v1.BatchDeactivateAdUnitsResponse} BatchDeactivateAdUnitsResponse
*/
- ListAudienceSegmentsResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListAudienceSegmentsResponse)
+ BatchDeactivateAdUnitsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchDeactivateAdUnitsResponse)
return object;
- var message = new $root.google.ads.admanager.v1.ListAudienceSegmentsResponse();
- if (object.audienceSegments) {
- if (!Array.isArray(object.audienceSegments))
- throw TypeError(".google.ads.admanager.v1.ListAudienceSegmentsResponse.audienceSegments: array expected");
- message.audienceSegments = [];
- for (var i = 0; i < object.audienceSegments.length; ++i) {
- if (typeof object.audienceSegments[i] !== "object")
- throw TypeError(".google.ads.admanager.v1.ListAudienceSegmentsResponse.audienceSegments: object expected");
- message.audienceSegments[i] = $root.google.ads.admanager.v1.AudienceSegment.fromObject(object.audienceSegments[i]);
- }
- }
- if (object.nextPageToken != null)
- message.nextPageToken = String(object.nextPageToken);
- if (object.totalSize != null)
- message.totalSize = object.totalSize | 0;
- return message;
+ return new $root.google.ads.admanager.v1.BatchDeactivateAdUnitsResponse();
};
/**
- * Creates a plain object from a ListAudienceSegmentsResponse message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchDeactivateAdUnitsResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.ListAudienceSegmentsResponse} message ListAudienceSegmentsResponse
+ * @param {google.ads.admanager.v1.BatchDeactivateAdUnitsResponse} message BatchDeactivateAdUnitsResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListAudienceSegmentsResponse.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (options.arrays || options.defaults)
- object.audienceSegments = [];
- if (options.defaults) {
- object.nextPageToken = "";
- object.totalSize = 0;
- }
- if (message.audienceSegments && message.audienceSegments.length) {
- object.audienceSegments = [];
- for (var j = 0; j < message.audienceSegments.length; ++j)
- object.audienceSegments[j] = $root.google.ads.admanager.v1.AudienceSegment.toObject(message.audienceSegments[j], options);
- }
- if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
- object.nextPageToken = message.nextPageToken;
- if (message.totalSize != null && message.hasOwnProperty("totalSize"))
- object.totalSize = message.totalSize;
- return object;
+ BatchDeactivateAdUnitsResponse.toObject = function toObject() {
+ return {};
};
/**
- * Converts this ListAudienceSegmentsResponse to JSON.
+ * Converts this BatchDeactivateAdUnitsResponse to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @instance
* @returns {Object.} JSON object
*/
- ListAudienceSegmentsResponse.prototype.toJSON = function toJSON() {
+ BatchDeactivateAdUnitsResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListAudienceSegmentsResponse
+ * Gets the default type url for BatchDeactivateAdUnitsResponse
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
+ * @memberof google.ads.admanager.v1.BatchDeactivateAdUnitsResponse
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListAudienceSegmentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchDeactivateAdUnitsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListAudienceSegmentsResponse";
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchDeactivateAdUnitsResponse";
};
- return ListAudienceSegmentsResponse;
+ return BatchDeactivateAdUnitsResponse;
})();
- v1.BandwidthGroup = (function() {
+ v1.BatchArchiveAdUnitsRequest = (function() {
/**
- * Properties of a BandwidthGroup.
+ * Properties of a BatchArchiveAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @interface IBandwidthGroup
- * @property {string|null} [name] BandwidthGroup name
- * @property {string|null} [displayName] BandwidthGroup displayName
+ * @interface IBatchArchiveAdUnitsRequest
+ * @property {string|null} [parent] BatchArchiveAdUnitsRequest parent
+ * @property {Array.|null} [names] BatchArchiveAdUnitsRequest names
*/
/**
- * Constructs a new BandwidthGroup.
+ * Constructs a new BatchArchiveAdUnitsRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a BandwidthGroup.
- * @implements IBandwidthGroup
+ * @classdesc Represents a BatchArchiveAdUnitsRequest.
+ * @implements IBatchArchiveAdUnitsRequest
* @constructor
- * @param {google.ads.admanager.v1.IBandwidthGroup=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsRequest=} [properties] Properties to set
*/
- function BandwidthGroup(properties) {
+ function BatchArchiveAdUnitsRequest(properties) {
+ this.names = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -13571,106 +13443,94 @@
}
/**
- * BandwidthGroup name.
- * @member {string|null|undefined} name
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * BatchArchiveAdUnitsRequest parent.
+ * @member {string} parent
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @instance
*/
- BandwidthGroup.prototype.name = null;
+ BatchArchiveAdUnitsRequest.prototype.parent = "";
/**
- * BandwidthGroup displayName.
- * @member {string|null|undefined} displayName
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * BatchArchiveAdUnitsRequest names.
+ * @member {Array.} names
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @instance
*/
- BandwidthGroup.prototype.displayName = null;
-
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
-
- // Virtual OneOf for proto3 optional field
- Object.defineProperty(BandwidthGroup.prototype, "_name", {
- get: $util.oneOfGetter($oneOfFields = ["name"]),
- set: $util.oneOfSetter($oneOfFields)
- });
-
- // Virtual OneOf for proto3 optional field
- Object.defineProperty(BandwidthGroup.prototype, "_displayName", {
- get: $util.oneOfGetter($oneOfFields = ["displayName"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ BatchArchiveAdUnitsRequest.prototype.names = $util.emptyArray;
/**
- * Creates a new BandwidthGroup instance using the specified properties.
+ * Creates a new BatchArchiveAdUnitsRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IBandwidthGroup=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.BandwidthGroup} BandwidthGroup instance
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchArchiveAdUnitsRequest} BatchArchiveAdUnitsRequest instance
*/
- BandwidthGroup.create = function create(properties) {
- return new BandwidthGroup(properties);
+ BatchArchiveAdUnitsRequest.create = function create(properties) {
+ return new BatchArchiveAdUnitsRequest(properties);
};
/**
- * Encodes the specified BandwidthGroup message. Does not implicitly {@link google.ads.admanager.v1.BandwidthGroup.verify|verify} messages.
+ * Encodes the specified BatchArchiveAdUnitsRequest message. Does not implicitly {@link google.ads.admanager.v1.BatchArchiveAdUnitsRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IBandwidthGroup} message BandwidthGroup message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsRequest} message BatchArchiveAdUnitsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- BandwidthGroup.encode = function encode(message, writer) {
+ BatchArchiveAdUnitsRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
- if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.names != null && message.names.length)
+ for (var i = 0; i < message.names.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.names[i]);
return writer;
};
/**
- * Encodes the specified BandwidthGroup message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BandwidthGroup.verify|verify} messages.
+ * Encodes the specified BatchArchiveAdUnitsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchArchiveAdUnitsRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.IBandwidthGroup} message BandwidthGroup message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsRequest} message BatchArchiveAdUnitsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- BandwidthGroup.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchArchiveAdUnitsRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a BandwidthGroup message from the specified reader or buffer.
+ * Decodes a BatchArchiveAdUnitsRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.BandwidthGroup} BandwidthGroup
+ * @returns {google.ads.admanager.v1.BatchArchiveAdUnitsRequest} BatchArchiveAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- BandwidthGroup.decode = function decode(reader, length, error) {
+ BatchArchiveAdUnitsRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BandwidthGroup();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchArchiveAdUnitsRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- message.name = reader.string();
+ message.parent = reader.string();
break;
}
case 2: {
- message.displayName = reader.string();
+ if (!(message.names && message.names.length))
+ message.names = [];
+ message.names.push(reader.string());
break;
}
default:
@@ -13682,239 +13542,142 @@
};
/**
- * Decodes a BandwidthGroup message from the specified reader or buffer, length delimited.
+ * Decodes a BatchArchiveAdUnitsRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.BandwidthGroup} BandwidthGroup
+ * @returns {google.ads.admanager.v1.BatchArchiveAdUnitsRequest} BatchArchiveAdUnitsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- BandwidthGroup.decodeDelimited = function decodeDelimited(reader) {
+ BatchArchiveAdUnitsRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a BandwidthGroup message.
+ * Verifies a BatchArchiveAdUnitsRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- BandwidthGroup.verify = function verify(message) {
+ BatchArchiveAdUnitsRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- var properties = {};
- if (message.name != null && message.hasOwnProperty("name")) {
- properties._name = 1;
- if (!$util.isString(message.name))
- return "name: string expected";
- }
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- properties._displayName = 1;
- if (!$util.isString(message.displayName))
- return "displayName: string expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.names != null && message.hasOwnProperty("names")) {
+ if (!Array.isArray(message.names))
+ return "names: array expected";
+ for (var i = 0; i < message.names.length; ++i)
+ if (!$util.isString(message.names[i]))
+ return "names: string[] expected";
}
return null;
};
/**
- * Creates a BandwidthGroup message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchArchiveAdUnitsRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.BandwidthGroup} BandwidthGroup
+ * @returns {google.ads.admanager.v1.BatchArchiveAdUnitsRequest} BatchArchiveAdUnitsRequest
*/
- BandwidthGroup.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.BandwidthGroup)
+ BatchArchiveAdUnitsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchArchiveAdUnitsRequest)
return object;
- var message = new $root.google.ads.admanager.v1.BandwidthGroup();
- if (object.name != null)
- message.name = String(object.name);
- if (object.displayName != null)
- message.displayName = String(object.displayName);
+ var message = new $root.google.ads.admanager.v1.BatchArchiveAdUnitsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.names) {
+ if (!Array.isArray(object.names))
+ throw TypeError(".google.ads.admanager.v1.BatchArchiveAdUnitsRequest.names: array expected");
+ message.names = [];
+ for (var i = 0; i < object.names.length; ++i)
+ message.names[i] = String(object.names[i]);
+ }
return message;
};
/**
- * Creates a plain object from a BandwidthGroup message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchArchiveAdUnitsRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
- * @param {google.ads.admanager.v1.BandwidthGroup} message BandwidthGroup
+ * @param {google.ads.admanager.v1.BatchArchiveAdUnitsRequest} message BatchArchiveAdUnitsRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- BandwidthGroup.toObject = function toObject(message, options) {
+ BatchArchiveAdUnitsRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
- if (message.name != null && message.hasOwnProperty("name")) {
- object.name = message.name;
- if (options.oneofs)
- object._name = "name";
- }
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- object.displayName = message.displayName;
- if (options.oneofs)
- object._displayName = "displayName";
+ if (options.arrays || options.defaults)
+ object.names = [];
+ if (options.defaults)
+ object.parent = "";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.names && message.names.length) {
+ object.names = [];
+ for (var j = 0; j < message.names.length; ++j)
+ object.names[j] = message.names[j];
}
return object;
};
/**
- * Converts this BandwidthGroup to JSON.
+ * Converts this BatchArchiveAdUnitsRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @instance
* @returns {Object.} JSON object
*/
- BandwidthGroup.prototype.toJSON = function toJSON() {
+ BatchArchiveAdUnitsRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for BandwidthGroup
+ * Gets the default type url for BatchArchiveAdUnitsRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- BandwidthGroup.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchArchiveAdUnitsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.BandwidthGroup";
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchArchiveAdUnitsRequest";
};
- return BandwidthGroup;
- })();
-
- v1.BandwidthGroupService = (function() {
-
- /**
- * Constructs a new BandwidthGroupService service.
- * @memberof google.ads.admanager.v1
- * @classdesc Represents a BandwidthGroupService
- * @extends $protobuf.rpc.Service
- * @constructor
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- */
- function BandwidthGroupService(rpcImpl, requestDelimited, responseDelimited) {
- $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
- }
-
- (BandwidthGroupService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = BandwidthGroupService;
-
- /**
- * Creates new BandwidthGroupService service using the specified rpc implementation.
- * @function create
- * @memberof google.ads.admanager.v1.BandwidthGroupService
- * @static
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- * @returns {BandwidthGroupService} RPC service. Useful where requests and/or responses are streamed.
- */
- BandwidthGroupService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
- return new this(rpcImpl, requestDelimited, responseDelimited);
- };
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.BandwidthGroupService|getBandwidthGroup}.
- * @memberof google.ads.admanager.v1.BandwidthGroupService
- * @typedef GetBandwidthGroupCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.BandwidthGroup} [response] BandwidthGroup
- */
-
- /**
- * Calls GetBandwidthGroup.
- * @function getBandwidthGroup
- * @memberof google.ads.admanager.v1.BandwidthGroupService
- * @instance
- * @param {google.ads.admanager.v1.IGetBandwidthGroupRequest} request GetBandwidthGroupRequest message or plain object
- * @param {google.ads.admanager.v1.BandwidthGroupService.GetBandwidthGroupCallback} callback Node-style callback called with the error, if any, and BandwidthGroup
- * @returns {undefined}
- * @variation 1
- */
- Object.defineProperty(BandwidthGroupService.prototype.getBandwidthGroup = function getBandwidthGroup(request, callback) {
- return this.rpcCall(getBandwidthGroup, $root.google.ads.admanager.v1.GetBandwidthGroupRequest, $root.google.ads.admanager.v1.BandwidthGroup, request, callback);
- }, "name", { value: "GetBandwidthGroup" });
-
- /**
- * Calls GetBandwidthGroup.
- * @function getBandwidthGroup
- * @memberof google.ads.admanager.v1.BandwidthGroupService
- * @instance
- * @param {google.ads.admanager.v1.IGetBandwidthGroupRequest} request GetBandwidthGroupRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.BandwidthGroupService|listBandwidthGroups}.
- * @memberof google.ads.admanager.v1.BandwidthGroupService
- * @typedef ListBandwidthGroupsCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.ListBandwidthGroupsResponse} [response] ListBandwidthGroupsResponse
- */
-
- /**
- * Calls ListBandwidthGroups.
- * @function listBandwidthGroups
- * @memberof google.ads.admanager.v1.BandwidthGroupService
- * @instance
- * @param {google.ads.admanager.v1.IListBandwidthGroupsRequest} request ListBandwidthGroupsRequest message or plain object
- * @param {google.ads.admanager.v1.BandwidthGroupService.ListBandwidthGroupsCallback} callback Node-style callback called with the error, if any, and ListBandwidthGroupsResponse
- * @returns {undefined}
- * @variation 1
- */
- Object.defineProperty(BandwidthGroupService.prototype.listBandwidthGroups = function listBandwidthGroups(request, callback) {
- return this.rpcCall(listBandwidthGroups, $root.google.ads.admanager.v1.ListBandwidthGroupsRequest, $root.google.ads.admanager.v1.ListBandwidthGroupsResponse, request, callback);
- }, "name", { value: "ListBandwidthGroups" });
-
- /**
- * Calls ListBandwidthGroups.
- * @function listBandwidthGroups
- * @memberof google.ads.admanager.v1.BandwidthGroupService
- * @instance
- * @param {google.ads.admanager.v1.IListBandwidthGroupsRequest} request ListBandwidthGroupsRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
- return BandwidthGroupService;
+ return BatchArchiveAdUnitsRequest;
})();
- v1.GetBandwidthGroupRequest = (function() {
+ v1.BatchArchiveAdUnitsResponse = (function() {
/**
- * Properties of a GetBandwidthGroupRequest.
+ * Properties of a BatchArchiveAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @interface IGetBandwidthGroupRequest
- * @property {string|null} [name] GetBandwidthGroupRequest name
+ * @interface IBatchArchiveAdUnitsResponse
*/
/**
- * Constructs a new GetBandwidthGroupRequest.
+ * Constructs a new BatchArchiveAdUnitsResponse.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a GetBandwidthGroupRequest.
- * @implements IGetBandwidthGroupRequest
+ * @classdesc Represents a BatchArchiveAdUnitsResponse.
+ * @implements IBatchArchiveAdUnitsResponse
* @constructor
- * @param {google.ads.admanager.v1.IGetBandwidthGroupRequest=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsResponse=} [properties] Properties to set
*/
- function GetBandwidthGroupRequest(properties) {
+ function BatchArchiveAdUnitsResponse(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -13922,79 +13685,65 @@
}
/**
- * GetBandwidthGroupRequest name.
- * @member {string} name
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
- * @instance
- */
- GetBandwidthGroupRequest.prototype.name = "";
-
- /**
- * Creates a new GetBandwidthGroupRequest instance using the specified properties.
+ * Creates a new BatchArchiveAdUnitsResponse instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IGetBandwidthGroupRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.GetBandwidthGroupRequest} GetBandwidthGroupRequest instance
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsResponse=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BatchArchiveAdUnitsResponse} BatchArchiveAdUnitsResponse instance
*/
- GetBandwidthGroupRequest.create = function create(properties) {
- return new GetBandwidthGroupRequest(properties);
+ BatchArchiveAdUnitsResponse.create = function create(properties) {
+ return new BatchArchiveAdUnitsResponse(properties);
};
/**
- * Encodes the specified GetBandwidthGroupRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBandwidthGroupRequest.verify|verify} messages.
+ * Encodes the specified BatchArchiveAdUnitsResponse message. Does not implicitly {@link google.ads.admanager.v1.BatchArchiveAdUnitsResponse.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IGetBandwidthGroupRequest} message GetBandwidthGroupRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsResponse} message BatchArchiveAdUnitsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetBandwidthGroupRequest.encode = function encode(message, writer) {
+ BatchArchiveAdUnitsResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
return writer;
};
/**
- * Encodes the specified GetBandwidthGroupRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBandwidthGroupRequest.verify|verify} messages.
+ * Encodes the specified BatchArchiveAdUnitsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BatchArchiveAdUnitsResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.IGetBandwidthGroupRequest} message GetBandwidthGroupRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IBatchArchiveAdUnitsResponse} message BatchArchiveAdUnitsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetBandwidthGroupRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ BatchArchiveAdUnitsResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetBandwidthGroupRequest message from the specified reader or buffer.
+ * Decodes a BatchArchiveAdUnitsResponse message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.GetBandwidthGroupRequest} GetBandwidthGroupRequest
+ * @returns {google.ads.admanager.v1.BatchArchiveAdUnitsResponse} BatchArchiveAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetBandwidthGroupRequest.decode = function decode(reader, length, error) {
+ BatchArchiveAdUnitsResponse.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.GetBandwidthGroupRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BatchArchiveAdUnitsResponse();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
- case 1: {
- message.name = reader.string();
- break;
- }
default:
reader.skipType(tag & 7);
break;
@@ -14004,127 +13753,115 @@
};
/**
- * Decodes a GetBandwidthGroupRequest message from the specified reader or buffer, length delimited.
+ * Decodes a BatchArchiveAdUnitsResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.GetBandwidthGroupRequest} GetBandwidthGroupRequest
+ * @returns {google.ads.admanager.v1.BatchArchiveAdUnitsResponse} BatchArchiveAdUnitsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetBandwidthGroupRequest.decodeDelimited = function decodeDelimited(reader) {
+ BatchArchiveAdUnitsResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetBandwidthGroupRequest message.
+ * Verifies a BatchArchiveAdUnitsResponse message.
* @function verify
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetBandwidthGroupRequest.verify = function verify(message) {
+ BatchArchiveAdUnitsResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.name != null && message.hasOwnProperty("name"))
- if (!$util.isString(message.name))
- return "name: string expected";
return null;
};
/**
- * Creates a GetBandwidthGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a BatchArchiveAdUnitsResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.GetBandwidthGroupRequest} GetBandwidthGroupRequest
+ * @returns {google.ads.admanager.v1.BatchArchiveAdUnitsResponse} BatchArchiveAdUnitsResponse
*/
- GetBandwidthGroupRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.GetBandwidthGroupRequest)
+ BatchArchiveAdUnitsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BatchArchiveAdUnitsResponse)
return object;
- var message = new $root.google.ads.admanager.v1.GetBandwidthGroupRequest();
- if (object.name != null)
- message.name = String(object.name);
- return message;
+ return new $root.google.ads.admanager.v1.BatchArchiveAdUnitsResponse();
};
/**
- * Creates a plain object from a GetBandwidthGroupRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a BatchArchiveAdUnitsResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
- * @param {google.ads.admanager.v1.GetBandwidthGroupRequest} message GetBandwidthGroupRequest
+ * @param {google.ads.admanager.v1.BatchArchiveAdUnitsResponse} message BatchArchiveAdUnitsResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetBandwidthGroupRequest.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (options.defaults)
- object.name = "";
- if (message.name != null && message.hasOwnProperty("name"))
- object.name = message.name;
- return object;
+ BatchArchiveAdUnitsResponse.toObject = function toObject() {
+ return {};
};
/**
- * Converts this GetBandwidthGroupRequest to JSON.
+ * Converts this BatchArchiveAdUnitsResponse to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @instance
* @returns {Object.} JSON object
*/
- GetBandwidthGroupRequest.prototype.toJSON = function toJSON() {
+ BatchArchiveAdUnitsResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for GetBandwidthGroupRequest
+ * Gets the default type url for BatchArchiveAdUnitsResponse
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.GetBandwidthGroupRequest
+ * @memberof google.ads.admanager.v1.BatchArchiveAdUnitsResponse
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- GetBandwidthGroupRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ BatchArchiveAdUnitsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.GetBandwidthGroupRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.BatchArchiveAdUnitsResponse";
};
- return GetBandwidthGroupRequest;
+ return BatchArchiveAdUnitsResponse;
})();
- v1.ListBandwidthGroupsRequest = (function() {
+ v1.AdManagerError = (function() {
/**
- * Properties of a ListBandwidthGroupsRequest.
+ * Properties of an AdManagerError.
* @memberof google.ads.admanager.v1
- * @interface IListBandwidthGroupsRequest
- * @property {string|null} [parent] ListBandwidthGroupsRequest parent
- * @property {number|null} [pageSize] ListBandwidthGroupsRequest pageSize
- * @property {string|null} [pageToken] ListBandwidthGroupsRequest pageToken
- * @property {string|null} [filter] ListBandwidthGroupsRequest filter
- * @property {string|null} [orderBy] ListBandwidthGroupsRequest orderBy
- * @property {number|null} [skip] ListBandwidthGroupsRequest skip
+ * @interface IAdManagerError
+ * @property {string|null} [errorCode] AdManagerError errorCode
+ * @property {string|null} [message] AdManagerError message
+ * @property {string|null} [fieldPath] AdManagerError fieldPath
+ * @property {string|null} [trigger] AdManagerError trigger
+ * @property {string|null} [stackTrace] AdManagerError stackTrace
+ * @property {Array.|null} [details] AdManagerError details
*/
/**
- * Constructs a new ListBandwidthGroupsRequest.
+ * Constructs a new AdManagerError.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListBandwidthGroupsRequest.
- * @implements IListBandwidthGroupsRequest
+ * @classdesc Represents an AdManagerError.
+ * @implements IAdManagerError
* @constructor
- * @param {google.ads.admanager.v1.IListBandwidthGroupsRequest=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IAdManagerError=} [properties] Properties to set
*/
- function ListBandwidthGroupsRequest(properties) {
+ function AdManagerError(properties) {
+ this.details = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -14132,147 +13869,150 @@
}
/**
- * ListBandwidthGroupsRequest parent.
- * @member {string} parent
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * AdManagerError errorCode.
+ * @member {string} errorCode
+ * @memberof google.ads.admanager.v1.AdManagerError
* @instance
*/
- ListBandwidthGroupsRequest.prototype.parent = "";
+ AdManagerError.prototype.errorCode = "";
/**
- * ListBandwidthGroupsRequest pageSize.
- * @member {number} pageSize
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * AdManagerError message.
+ * @member {string} message
+ * @memberof google.ads.admanager.v1.AdManagerError
* @instance
*/
- ListBandwidthGroupsRequest.prototype.pageSize = 0;
+ AdManagerError.prototype.message = "";
/**
- * ListBandwidthGroupsRequest pageToken.
- * @member {string} pageToken
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * AdManagerError fieldPath.
+ * @member {string} fieldPath
+ * @memberof google.ads.admanager.v1.AdManagerError
* @instance
*/
- ListBandwidthGroupsRequest.prototype.pageToken = "";
+ AdManagerError.prototype.fieldPath = "";
/**
- * ListBandwidthGroupsRequest filter.
- * @member {string} filter
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * AdManagerError trigger.
+ * @member {string} trigger
+ * @memberof google.ads.admanager.v1.AdManagerError
* @instance
*/
- ListBandwidthGroupsRequest.prototype.filter = "";
+ AdManagerError.prototype.trigger = "";
/**
- * ListBandwidthGroupsRequest orderBy.
- * @member {string} orderBy
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * AdManagerError stackTrace.
+ * @member {string} stackTrace
+ * @memberof google.ads.admanager.v1.AdManagerError
* @instance
*/
- ListBandwidthGroupsRequest.prototype.orderBy = "";
+ AdManagerError.prototype.stackTrace = "";
/**
- * ListBandwidthGroupsRequest skip.
- * @member {number} skip
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * AdManagerError details.
+ * @member {Array.} details
+ * @memberof google.ads.admanager.v1.AdManagerError
* @instance
*/
- ListBandwidthGroupsRequest.prototype.skip = 0;
+ AdManagerError.prototype.details = $util.emptyArray;
/**
- * Creates a new ListBandwidthGroupsRequest instance using the specified properties.
+ * Creates a new AdManagerError instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
- * @param {google.ads.admanager.v1.IListBandwidthGroupsRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListBandwidthGroupsRequest} ListBandwidthGroupsRequest instance
+ * @param {google.ads.admanager.v1.IAdManagerError=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.AdManagerError} AdManagerError instance
*/
- ListBandwidthGroupsRequest.create = function create(properties) {
- return new ListBandwidthGroupsRequest(properties);
+ AdManagerError.create = function create(properties) {
+ return new AdManagerError(properties);
};
/**
- * Encodes the specified ListBandwidthGroupsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsRequest.verify|verify} messages.
+ * Encodes the specified AdManagerError message. Does not implicitly {@link google.ads.admanager.v1.AdManagerError.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
- * @param {google.ads.admanager.v1.IListBandwidthGroupsRequest} message ListBandwidthGroupsRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IAdManagerError} message AdManagerError message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBandwidthGroupsRequest.encode = function encode(message, writer) {
+ AdManagerError.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
- if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
- if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
- if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
- if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
- if (message.skip != null && Object.hasOwnProperty.call(message, "skip"))
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.skip);
+ if (message.errorCode != null && Object.hasOwnProperty.call(message, "errorCode"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.errorCode);
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
+ if (message.fieldPath != null && Object.hasOwnProperty.call(message, "fieldPath"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.fieldPath);
+ if (message.trigger != null && Object.hasOwnProperty.call(message, "trigger"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.trigger);
+ if (message.stackTrace != null && Object.hasOwnProperty.call(message, "stackTrace"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.stackTrace);
+ if (message.details != null && message.details.length)
+ for (var i = 0; i < message.details.length; ++i)
+ $root.google.protobuf.Any.encode(message.details[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified ListBandwidthGroupsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsRequest.verify|verify} messages.
+ * Encodes the specified AdManagerError message, length delimited. Does not implicitly {@link google.ads.admanager.v1.AdManagerError.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
- * @param {google.ads.admanager.v1.IListBandwidthGroupsRequest} message ListBandwidthGroupsRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IAdManagerError} message AdManagerError message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBandwidthGroupsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ AdManagerError.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListBandwidthGroupsRequest message from the specified reader or buffer.
+ * Decodes an AdManagerError message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListBandwidthGroupsRequest} ListBandwidthGroupsRequest
+ * @returns {google.ads.admanager.v1.AdManagerError} AdManagerError
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBandwidthGroupsRequest.decode = function decode(reader, length, error) {
+ AdManagerError.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListBandwidthGroupsRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.AdManagerError();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- message.parent = reader.string();
+ message.errorCode = reader.string();
break;
}
case 2: {
- message.pageSize = reader.int32();
+ message.message = reader.string();
break;
}
case 3: {
- message.pageToken = reader.string();
+ message.fieldPath = reader.string();
break;
}
case 4: {
- message.filter = reader.string();
+ message.trigger = reader.string();
break;
}
case 5: {
- message.orderBy = reader.string();
+ message.stackTrace = reader.string();
break;
}
case 6: {
- message.skip = reader.int32();
+ if (!(message.details && message.details.length))
+ message.details = [];
+ message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32()));
break;
}
default:
@@ -14284,166 +14024,182 @@
};
/**
- * Decodes a ListBandwidthGroupsRequest message from the specified reader or buffer, length delimited.
+ * Decodes an AdManagerError message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListBandwidthGroupsRequest} ListBandwidthGroupsRequest
+ * @returns {google.ads.admanager.v1.AdManagerError} AdManagerError
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBandwidthGroupsRequest.decodeDelimited = function decodeDelimited(reader) {
+ AdManagerError.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListBandwidthGroupsRequest message.
+ * Verifies an AdManagerError message.
* @function verify
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListBandwidthGroupsRequest.verify = function verify(message) {
+ AdManagerError.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.parent != null && message.hasOwnProperty("parent"))
- if (!$util.isString(message.parent))
- return "parent: string expected";
- if (message.pageSize != null && message.hasOwnProperty("pageSize"))
- if (!$util.isInteger(message.pageSize))
- return "pageSize: integer expected";
- if (message.pageToken != null && message.hasOwnProperty("pageToken"))
- if (!$util.isString(message.pageToken))
- return "pageToken: string expected";
- if (message.filter != null && message.hasOwnProperty("filter"))
- if (!$util.isString(message.filter))
- return "filter: string expected";
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- if (!$util.isString(message.orderBy))
- return "orderBy: string expected";
- if (message.skip != null && message.hasOwnProperty("skip"))
- if (!$util.isInteger(message.skip))
- return "skip: integer expected";
+ if (message.errorCode != null && message.hasOwnProperty("errorCode"))
+ if (!$util.isString(message.errorCode))
+ return "errorCode: string expected";
+ if (message.message != null && message.hasOwnProperty("message"))
+ if (!$util.isString(message.message))
+ return "message: string expected";
+ if (message.fieldPath != null && message.hasOwnProperty("fieldPath"))
+ if (!$util.isString(message.fieldPath))
+ return "fieldPath: string expected";
+ if (message.trigger != null && message.hasOwnProperty("trigger"))
+ if (!$util.isString(message.trigger))
+ return "trigger: string expected";
+ if (message.stackTrace != null && message.hasOwnProperty("stackTrace"))
+ if (!$util.isString(message.stackTrace))
+ return "stackTrace: string expected";
+ if (message.details != null && message.hasOwnProperty("details")) {
+ if (!Array.isArray(message.details))
+ return "details: array expected";
+ for (var i = 0; i < message.details.length; ++i) {
+ var error = $root.google.protobuf.Any.verify(message.details[i]);
+ if (error)
+ return "details." + error;
+ }
+ }
return null;
};
/**
- * Creates a ListBandwidthGroupsRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates an AdManagerError message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListBandwidthGroupsRequest} ListBandwidthGroupsRequest
+ * @returns {google.ads.admanager.v1.AdManagerError} AdManagerError
*/
- ListBandwidthGroupsRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListBandwidthGroupsRequest)
+ AdManagerError.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.AdManagerError)
return object;
- var message = new $root.google.ads.admanager.v1.ListBandwidthGroupsRequest();
- if (object.parent != null)
- message.parent = String(object.parent);
- if (object.pageSize != null)
- message.pageSize = object.pageSize | 0;
- if (object.pageToken != null)
- message.pageToken = String(object.pageToken);
- if (object.filter != null)
- message.filter = String(object.filter);
- if (object.orderBy != null)
- message.orderBy = String(object.orderBy);
- if (object.skip != null)
- message.skip = object.skip | 0;
+ var message = new $root.google.ads.admanager.v1.AdManagerError();
+ if (object.errorCode != null)
+ message.errorCode = String(object.errorCode);
+ if (object.message != null)
+ message.message = String(object.message);
+ if (object.fieldPath != null)
+ message.fieldPath = String(object.fieldPath);
+ if (object.trigger != null)
+ message.trigger = String(object.trigger);
+ if (object.stackTrace != null)
+ message.stackTrace = String(object.stackTrace);
+ if (object.details) {
+ if (!Array.isArray(object.details))
+ throw TypeError(".google.ads.admanager.v1.AdManagerError.details: array expected");
+ message.details = [];
+ for (var i = 0; i < object.details.length; ++i) {
+ if (typeof object.details[i] !== "object")
+ throw TypeError(".google.ads.admanager.v1.AdManagerError.details: object expected");
+ message.details[i] = $root.google.protobuf.Any.fromObject(object.details[i]);
+ }
+ }
return message;
};
/**
- * Creates a plain object from a ListBandwidthGroupsRequest message. Also converts values to other types if specified.
+ * Creates a plain object from an AdManagerError message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
- * @param {google.ads.admanager.v1.ListBandwidthGroupsRequest} message ListBandwidthGroupsRequest
+ * @param {google.ads.admanager.v1.AdManagerError} message AdManagerError
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListBandwidthGroupsRequest.toObject = function toObject(message, options) {
+ AdManagerError.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
+ if (options.arrays || options.defaults)
+ object.details = [];
if (options.defaults) {
- object.parent = "";
- object.pageSize = 0;
- object.pageToken = "";
- object.filter = "";
- object.orderBy = "";
- object.skip = 0;
+ object.errorCode = "";
+ object.message = "";
+ object.fieldPath = "";
+ object.trigger = "";
+ object.stackTrace = "";
+ }
+ if (message.errorCode != null && message.hasOwnProperty("errorCode"))
+ object.errorCode = message.errorCode;
+ if (message.message != null && message.hasOwnProperty("message"))
+ object.message = message.message;
+ if (message.fieldPath != null && message.hasOwnProperty("fieldPath"))
+ object.fieldPath = message.fieldPath;
+ if (message.trigger != null && message.hasOwnProperty("trigger"))
+ object.trigger = message.trigger;
+ if (message.stackTrace != null && message.hasOwnProperty("stackTrace"))
+ object.stackTrace = message.stackTrace;
+ if (message.details && message.details.length) {
+ object.details = [];
+ for (var j = 0; j < message.details.length; ++j)
+ object.details[j] = $root.google.protobuf.Any.toObject(message.details[j], options);
}
- if (message.parent != null && message.hasOwnProperty("parent"))
- object.parent = message.parent;
- if (message.pageSize != null && message.hasOwnProperty("pageSize"))
- object.pageSize = message.pageSize;
- if (message.pageToken != null && message.hasOwnProperty("pageToken"))
- object.pageToken = message.pageToken;
- if (message.filter != null && message.hasOwnProperty("filter"))
- object.filter = message.filter;
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- object.orderBy = message.orderBy;
- if (message.skip != null && message.hasOwnProperty("skip"))
- object.skip = message.skip;
return object;
};
/**
- * Converts this ListBandwidthGroupsRequest to JSON.
+ * Converts this AdManagerError to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @instance
* @returns {Object.} JSON object
*/
- ListBandwidthGroupsRequest.prototype.toJSON = function toJSON() {
+ AdManagerError.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListBandwidthGroupsRequest
+ * Gets the default type url for AdManagerError
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsRequest
+ * @memberof google.ads.admanager.v1.AdManagerError
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListBandwidthGroupsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ AdManagerError.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListBandwidthGroupsRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.AdManagerError";
};
- return ListBandwidthGroupsRequest;
+ return AdManagerError;
})();
- v1.ListBandwidthGroupsResponse = (function() {
+ v1.Application = (function() {
/**
- * Properties of a ListBandwidthGroupsResponse.
+ * Properties of an Application.
* @memberof google.ads.admanager.v1
- * @interface IListBandwidthGroupsResponse
- * @property {Array.|null} [bandwidthGroups] ListBandwidthGroupsResponse bandwidthGroups
- * @property {string|null} [nextPageToken] ListBandwidthGroupsResponse nextPageToken
- * @property {number|null} [totalSize] ListBandwidthGroupsResponse totalSize
+ * @interface IApplication
+ * @property {string|null} [name] Application name
+ * @property {string|null} [displayName] Application displayName
*/
/**
- * Constructs a new ListBandwidthGroupsResponse.
+ * Constructs a new Application.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListBandwidthGroupsResponse.
- * @implements IListBandwidthGroupsResponse
+ * @classdesc Represents an Application.
+ * @implements IApplication
* @constructor
- * @param {google.ads.admanager.v1.IListBandwidthGroupsResponse=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IApplication=} [properties] Properties to set
*/
- function ListBandwidthGroupsResponse(properties) {
- this.bandwidthGroups = [];
+ function Application(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -14451,108 +14207,100 @@
}
/**
- * ListBandwidthGroupsResponse bandwidthGroups.
- * @member {Array.} bandwidthGroups
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * Application name.
+ * @member {string} name
+ * @memberof google.ads.admanager.v1.Application
* @instance
*/
- ListBandwidthGroupsResponse.prototype.bandwidthGroups = $util.emptyArray;
+ Application.prototype.name = "";
/**
- * ListBandwidthGroupsResponse nextPageToken.
- * @member {string} nextPageToken
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * Application displayName.
+ * @member {string|null|undefined} displayName
+ * @memberof google.ads.admanager.v1.Application
* @instance
*/
- ListBandwidthGroupsResponse.prototype.nextPageToken = "";
+ Application.prototype.displayName = null;
- /**
- * ListBandwidthGroupsResponse totalSize.
- * @member {number} totalSize
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
- * @instance
- */
- ListBandwidthGroupsResponse.prototype.totalSize = 0;
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ // Virtual OneOf for proto3 optional field
+ Object.defineProperty(Application.prototype, "_displayName", {
+ get: $util.oneOfGetter($oneOfFields = ["displayName"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
/**
- * Creates a new ListBandwidthGroupsResponse instance using the specified properties.
+ * Creates a new Application instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
- * @param {google.ads.admanager.v1.IListBandwidthGroupsResponse=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListBandwidthGroupsResponse} ListBandwidthGroupsResponse instance
+ * @param {google.ads.admanager.v1.IApplication=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.Application} Application instance
*/
- ListBandwidthGroupsResponse.create = function create(properties) {
- return new ListBandwidthGroupsResponse(properties);
+ Application.create = function create(properties) {
+ return new Application(properties);
};
/**
- * Encodes the specified ListBandwidthGroupsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsResponse.verify|verify} messages.
+ * Encodes the specified Application message. Does not implicitly {@link google.ads.admanager.v1.Application.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
- * @param {google.ads.admanager.v1.IListBandwidthGroupsResponse} message ListBandwidthGroupsResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IApplication} message Application message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBandwidthGroupsResponse.encode = function encode(message, writer) {
+ Application.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.bandwidthGroups != null && message.bandwidthGroups.length)
- for (var i = 0; i < message.bandwidthGroups.length; ++i)
- $root.google.ads.admanager.v1.BandwidthGroup.encode(message.bandwidthGroups[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
- if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
- if (message.totalSize != null && Object.hasOwnProperty.call(message, "totalSize"))
- writer.uint32(/* id 3, wireType 0 =*/24).int32(message.totalSize);
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.displayName);
return writer;
};
/**
- * Encodes the specified ListBandwidthGroupsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBandwidthGroupsResponse.verify|verify} messages.
+ * Encodes the specified Application message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Application.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
- * @param {google.ads.admanager.v1.IListBandwidthGroupsResponse} message ListBandwidthGroupsResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IApplication} message Application message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBandwidthGroupsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ Application.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListBandwidthGroupsResponse message from the specified reader or buffer.
+ * Decodes an Application message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListBandwidthGroupsResponse} ListBandwidthGroupsResponse
+ * @returns {google.ads.admanager.v1.Application} Application
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBandwidthGroupsResponse.decode = function decode(reader, length, error) {
+ Application.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListBandwidthGroupsResponse();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.Application();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- if (!(message.bandwidthGroups && message.bandwidthGroups.length))
- message.bandwidthGroups = [];
- message.bandwidthGroups.push($root.google.ads.admanager.v1.BandwidthGroup.decode(reader, reader.uint32()));
- break;
- }
- case 2: {
- message.nextPageToken = reader.string();
+ message.name = reader.string();
break;
}
- case 3: {
- message.totalSize = reader.int32();
+ case 4: {
+ message.displayName = reader.string();
break;
}
default:
@@ -14564,158 +14312,236 @@
};
/**
- * Decodes a ListBandwidthGroupsResponse message from the specified reader or buffer, length delimited.
+ * Decodes an Application message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListBandwidthGroupsResponse} ListBandwidthGroupsResponse
+ * @returns {google.ads.admanager.v1.Application} Application
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBandwidthGroupsResponse.decodeDelimited = function decodeDelimited(reader) {
+ Application.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListBandwidthGroupsResponse message.
+ * Verifies an Application message.
* @function verify
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListBandwidthGroupsResponse.verify = function verify(message) {
+ Application.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.bandwidthGroups != null && message.hasOwnProperty("bandwidthGroups")) {
- if (!Array.isArray(message.bandwidthGroups))
- return "bandwidthGroups: array expected";
- for (var i = 0; i < message.bandwidthGroups.length; ++i) {
- var error = $root.google.ads.admanager.v1.BandwidthGroup.verify(message.bandwidthGroups[i]);
- if (error)
- return "bandwidthGroups." + error;
- }
+ var properties = {};
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.displayName != null && message.hasOwnProperty("displayName")) {
+ properties._displayName = 1;
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
}
- if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
- if (!$util.isString(message.nextPageToken))
- return "nextPageToken: string expected";
- if (message.totalSize != null && message.hasOwnProperty("totalSize"))
- if (!$util.isInteger(message.totalSize))
- return "totalSize: integer expected";
return null;
};
/**
- * Creates a ListBandwidthGroupsResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates an Application message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListBandwidthGroupsResponse} ListBandwidthGroupsResponse
+ * @returns {google.ads.admanager.v1.Application} Application
*/
- ListBandwidthGroupsResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListBandwidthGroupsResponse)
+ Application.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.Application)
return object;
- var message = new $root.google.ads.admanager.v1.ListBandwidthGroupsResponse();
- if (object.bandwidthGroups) {
- if (!Array.isArray(object.bandwidthGroups))
- throw TypeError(".google.ads.admanager.v1.ListBandwidthGroupsResponse.bandwidthGroups: array expected");
- message.bandwidthGroups = [];
- for (var i = 0; i < object.bandwidthGroups.length; ++i) {
- if (typeof object.bandwidthGroups[i] !== "object")
- throw TypeError(".google.ads.admanager.v1.ListBandwidthGroupsResponse.bandwidthGroups: object expected");
- message.bandwidthGroups[i] = $root.google.ads.admanager.v1.BandwidthGroup.fromObject(object.bandwidthGroups[i]);
- }
- }
- if (object.nextPageToken != null)
- message.nextPageToken = String(object.nextPageToken);
- if (object.totalSize != null)
- message.totalSize = object.totalSize | 0;
+ var message = new $root.google.ads.admanager.v1.Application();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
return message;
};
/**
- * Creates a plain object from a ListBandwidthGroupsResponse message. Also converts values to other types if specified.
+ * Creates a plain object from an Application message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
- * @param {google.ads.admanager.v1.ListBandwidthGroupsResponse} message ListBandwidthGroupsResponse
+ * @param {google.ads.admanager.v1.Application} message Application
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListBandwidthGroupsResponse.toObject = function toObject(message, options) {
+ Application.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
- if (options.arrays || options.defaults)
- object.bandwidthGroups = [];
- if (options.defaults) {
- object.nextPageToken = "";
- object.totalSize = 0;
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.displayName != null && message.hasOwnProperty("displayName")) {
+ object.displayName = message.displayName;
+ if (options.oneofs)
+ object._displayName = "displayName";
}
- if (message.bandwidthGroups && message.bandwidthGroups.length) {
- object.bandwidthGroups = [];
- for (var j = 0; j < message.bandwidthGroups.length; ++j)
- object.bandwidthGroups[j] = $root.google.ads.admanager.v1.BandwidthGroup.toObject(message.bandwidthGroups[j], options);
- }
- if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
- object.nextPageToken = message.nextPageToken;
- if (message.totalSize != null && message.hasOwnProperty("totalSize"))
- object.totalSize = message.totalSize;
return object;
};
/**
- * Converts this ListBandwidthGroupsResponse to JSON.
+ * Converts this Application to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @instance
* @returns {Object.} JSON object
*/
- ListBandwidthGroupsResponse.prototype.toJSON = function toJSON() {
+ Application.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListBandwidthGroupsResponse
+ * Gets the default type url for Application
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListBandwidthGroupsResponse
+ * @memberof google.ads.admanager.v1.Application
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListBandwidthGroupsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ Application.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListBandwidthGroupsResponse";
+ return typeUrlPrefix + "/google.ads.admanager.v1.Application";
};
- return ListBandwidthGroupsResponse;
+ return Application;
})();
- v1.BrowserLanguage = (function() {
+ v1.ApplicationService = (function() {
/**
- * Properties of a BrowserLanguage.
+ * Constructs a new ApplicationService service.
* @memberof google.ads.admanager.v1
- * @interface IBrowserLanguage
- * @property {string|null} [name] BrowserLanguage name
- * @property {string|null} [displayName] BrowserLanguage displayName
+ * @classdesc Represents an ApplicationService
+ * @extends $protobuf.rpc.Service
+ * @constructor
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
*/
+ function ApplicationService(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (ApplicationService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ApplicationService;
/**
- * Constructs a new BrowserLanguage.
+ * Creates new ApplicationService service using the specified rpc implementation.
+ * @function create
+ * @memberof google.ads.admanager.v1.ApplicationService
+ * @static
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ * @returns {ApplicationService} RPC service. Useful where requests and/or responses are streamed.
+ */
+ ApplicationService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ApplicationService|getApplication}.
+ * @memberof google.ads.admanager.v1.ApplicationService
+ * @typedef GetApplicationCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.Application} [response] Application
+ */
+
+ /**
+ * Calls GetApplication.
+ * @function getApplication
+ * @memberof google.ads.admanager.v1.ApplicationService
+ * @instance
+ * @param {google.ads.admanager.v1.IGetApplicationRequest} request GetApplicationRequest message or plain object
+ * @param {google.ads.admanager.v1.ApplicationService.GetApplicationCallback} callback Node-style callback called with the error, if any, and Application
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ApplicationService.prototype.getApplication = function getApplication(request, callback) {
+ return this.rpcCall(getApplication, $root.google.ads.admanager.v1.GetApplicationRequest, $root.google.ads.admanager.v1.Application, request, callback);
+ }, "name", { value: "GetApplication" });
+
+ /**
+ * Calls GetApplication.
+ * @function getApplication
+ * @memberof google.ads.admanager.v1.ApplicationService
+ * @instance
+ * @param {google.ads.admanager.v1.IGetApplicationRequest} request GetApplicationRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.ads.admanager.v1.ApplicationService|listApplications}.
+ * @memberof google.ads.admanager.v1.ApplicationService
+ * @typedef ListApplicationsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.ListApplicationsResponse} [response] ListApplicationsResponse
+ */
+
+ /**
+ * Calls ListApplications.
+ * @function listApplications
+ * @memberof google.ads.admanager.v1.ApplicationService
+ * @instance
+ * @param {google.ads.admanager.v1.IListApplicationsRequest} request ListApplicationsRequest message or plain object
+ * @param {google.ads.admanager.v1.ApplicationService.ListApplicationsCallback} callback Node-style callback called with the error, if any, and ListApplicationsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ApplicationService.prototype.listApplications = function listApplications(request, callback) {
+ return this.rpcCall(listApplications, $root.google.ads.admanager.v1.ListApplicationsRequest, $root.google.ads.admanager.v1.ListApplicationsResponse, request, callback);
+ }, "name", { value: "ListApplications" });
+
+ /**
+ * Calls ListApplications.
+ * @function listApplications
+ * @memberof google.ads.admanager.v1.ApplicationService
+ * @instance
+ * @param {google.ads.admanager.v1.IListApplicationsRequest} request ListApplicationsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return ApplicationService;
+ })();
+
+ v1.GetApplicationRequest = (function() {
+
+ /**
+ * Properties of a GetApplicationRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a BrowserLanguage.
- * @implements IBrowserLanguage
+ * @interface IGetApplicationRequest
+ * @property {string|null} [name] GetApplicationRequest name
+ */
+
+ /**
+ * Constructs a new GetApplicationRequest.
+ * @memberof google.ads.admanager.v1
+ * @classdesc Represents a GetApplicationRequest.
+ * @implements IGetApplicationRequest
* @constructor
- * @param {google.ads.admanager.v1.IBrowserLanguage=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IGetApplicationRequest=} [properties] Properties to set
*/
- function BrowserLanguage(properties) {
+ function GetApplicationRequest(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -14723,89 +14549,70 @@
}
/**
- * BrowserLanguage name.
+ * GetApplicationRequest name.
* @member {string} name
- * @memberof google.ads.admanager.v1.BrowserLanguage
- * @instance
- */
- BrowserLanguage.prototype.name = "";
-
- /**
- * BrowserLanguage displayName.
- * @member {string|null|undefined} displayName
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @instance
*/
- BrowserLanguage.prototype.displayName = null;
-
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
-
- // Virtual OneOf for proto3 optional field
- Object.defineProperty(BrowserLanguage.prototype, "_displayName", {
- get: $util.oneOfGetter($oneOfFields = ["displayName"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ GetApplicationRequest.prototype.name = "";
/**
- * Creates a new BrowserLanguage instance using the specified properties.
+ * Creates a new GetApplicationRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
- * @param {google.ads.admanager.v1.IBrowserLanguage=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.BrowserLanguage} BrowserLanguage instance
+ * @param {google.ads.admanager.v1.IGetApplicationRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.GetApplicationRequest} GetApplicationRequest instance
*/
- BrowserLanguage.create = function create(properties) {
- return new BrowserLanguage(properties);
+ GetApplicationRequest.create = function create(properties) {
+ return new GetApplicationRequest(properties);
};
/**
- * Encodes the specified BrowserLanguage message. Does not implicitly {@link google.ads.admanager.v1.BrowserLanguage.verify|verify} messages.
+ * Encodes the specified GetApplicationRequest message. Does not implicitly {@link google.ads.admanager.v1.GetApplicationRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
- * @param {google.ads.admanager.v1.IBrowserLanguage} message BrowserLanguage message or plain object to encode
+ * @param {google.ads.admanager.v1.IGetApplicationRequest} message GetApplicationRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- BrowserLanguage.encode = function encode(message, writer) {
+ GetApplicationRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
- if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
return writer;
};
/**
- * Encodes the specified BrowserLanguage message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BrowserLanguage.verify|verify} messages.
+ * Encodes the specified GetApplicationRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetApplicationRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
- * @param {google.ads.admanager.v1.IBrowserLanguage} message BrowserLanguage message or plain object to encode
+ * @param {google.ads.admanager.v1.IGetApplicationRequest} message GetApplicationRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- BrowserLanguage.encodeDelimited = function encodeDelimited(message, writer) {
+ GetApplicationRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a BrowserLanguage message from the specified reader or buffer.
+ * Decodes a GetApplicationRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.BrowserLanguage} BrowserLanguage
+ * @returns {google.ads.admanager.v1.GetApplicationRequest} GetApplicationRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- BrowserLanguage.decode = function decode(reader, length, error) {
+ GetApplicationRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BrowserLanguage();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.GetApplicationRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
@@ -14815,10 +14622,6 @@
message.name = reader.string();
break;
}
- case 2: {
- message.displayName = reader.string();
- break;
- }
default:
reader.skipType(tag & 7);
break;
@@ -14828,73 +14631,65 @@
};
/**
- * Decodes a BrowserLanguage message from the specified reader or buffer, length delimited.
+ * Decodes a GetApplicationRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.BrowserLanguage} BrowserLanguage
+ * @returns {google.ads.admanager.v1.GetApplicationRequest} GetApplicationRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- BrowserLanguage.decodeDelimited = function decodeDelimited(reader) {
+ GetApplicationRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a BrowserLanguage message.
+ * Verifies a GetApplicationRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- BrowserLanguage.verify = function verify(message) {
+ GetApplicationRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- var properties = {};
if (message.name != null && message.hasOwnProperty("name"))
if (!$util.isString(message.name))
return "name: string expected";
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- properties._displayName = 1;
- if (!$util.isString(message.displayName))
- return "displayName: string expected";
- }
return null;
};
/**
- * Creates a BrowserLanguage message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetApplicationRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.BrowserLanguage} BrowserLanguage
+ * @returns {google.ads.admanager.v1.GetApplicationRequest} GetApplicationRequest
*/
- BrowserLanguage.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.BrowserLanguage)
+ GetApplicationRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.GetApplicationRequest)
return object;
- var message = new $root.google.ads.admanager.v1.BrowserLanguage();
+ var message = new $root.google.ads.admanager.v1.GetApplicationRequest();
if (object.name != null)
message.name = String(object.name);
- if (object.displayName != null)
- message.displayName = String(object.displayName);
return message;
};
/**
- * Creates a plain object from a BrowserLanguage message. Also converts values to other types if specified.
+ * Creates a plain object from a GetApplicationRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
- * @param {google.ads.admanager.v1.BrowserLanguage} message BrowserLanguage
+ * @param {google.ads.admanager.v1.GetApplicationRequest} message GetApplicationRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- BrowserLanguage.toObject = function toObject(message, options) {
+ GetApplicationRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
@@ -14902,240 +14697,209 @@
object.name = "";
if (message.name != null && message.hasOwnProperty("name"))
object.name = message.name;
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- object.displayName = message.displayName;
- if (options.oneofs)
- object._displayName = "displayName";
- }
return object;
};
/**
- * Converts this BrowserLanguage to JSON.
+ * Converts this GetApplicationRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @instance
* @returns {Object.} JSON object
*/
- BrowserLanguage.prototype.toJSON = function toJSON() {
+ GetApplicationRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for BrowserLanguage
+ * Gets the default type url for GetApplicationRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.BrowserLanguage
+ * @memberof google.ads.admanager.v1.GetApplicationRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- BrowserLanguage.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ GetApplicationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.BrowserLanguage";
+ return typeUrlPrefix + "/google.ads.admanager.v1.GetApplicationRequest";
};
- return BrowserLanguage;
+ return GetApplicationRequest;
})();
- v1.BrowserLanguageService = (function() {
+ v1.ListApplicationsRequest = (function() {
/**
- * Constructs a new BrowserLanguageService service.
+ * Properties of a ListApplicationsRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a BrowserLanguageService
- * @extends $protobuf.rpc.Service
- * @constructor
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- */
- function BrowserLanguageService(rpcImpl, requestDelimited, responseDelimited) {
- $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
- }
-
- (BrowserLanguageService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = BrowserLanguageService;
-
- /**
- * Creates new BrowserLanguageService service using the specified rpc implementation.
- * @function create
- * @memberof google.ads.admanager.v1.BrowserLanguageService
- * @static
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- * @returns {BrowserLanguageService} RPC service. Useful where requests and/or responses are streamed.
+ * @interface IListApplicationsRequest
+ * @property {string|null} [parent] ListApplicationsRequest parent
+ * @property {number|null} [pageSize] ListApplicationsRequest pageSize
+ * @property {string|null} [pageToken] ListApplicationsRequest pageToken
+ * @property {string|null} [filter] ListApplicationsRequest filter
+ * @property {string|null} [orderBy] ListApplicationsRequest orderBy
+ * @property {number|null} [skip] ListApplicationsRequest skip
*/
- BrowserLanguageService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
- return new this(rpcImpl, requestDelimited, responseDelimited);
- };
/**
- * Callback as used by {@link google.ads.admanager.v1.BrowserLanguageService|getBrowserLanguage}.
- * @memberof google.ads.admanager.v1.BrowserLanguageService
- * @typedef GetBrowserLanguageCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.BrowserLanguage} [response] BrowserLanguage
+ * Constructs a new ListApplicationsRequest.
+ * @memberof google.ads.admanager.v1
+ * @classdesc Represents a ListApplicationsRequest.
+ * @implements IListApplicationsRequest
+ * @constructor
+ * @param {google.ads.admanager.v1.IListApplicationsRequest=} [properties] Properties to set
*/
+ function ListApplicationsRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
/**
- * Calls GetBrowserLanguage.
- * @function getBrowserLanguage
- * @memberof google.ads.admanager.v1.BrowserLanguageService
+ * ListApplicationsRequest parent.
+ * @member {string} parent
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @instance
- * @param {google.ads.admanager.v1.IGetBrowserLanguageRequest} request GetBrowserLanguageRequest message or plain object
- * @param {google.ads.admanager.v1.BrowserLanguageService.GetBrowserLanguageCallback} callback Node-style callback called with the error, if any, and BrowserLanguage
- * @returns {undefined}
- * @variation 1
*/
- Object.defineProperty(BrowserLanguageService.prototype.getBrowserLanguage = function getBrowserLanguage(request, callback) {
- return this.rpcCall(getBrowserLanguage, $root.google.ads.admanager.v1.GetBrowserLanguageRequest, $root.google.ads.admanager.v1.BrowserLanguage, request, callback);
- }, "name", { value: "GetBrowserLanguage" });
+ ListApplicationsRequest.prototype.parent = "";
/**
- * Calls GetBrowserLanguage.
- * @function getBrowserLanguage
- * @memberof google.ads.admanager.v1.BrowserLanguageService
+ * ListApplicationsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @instance
- * @param {google.ads.admanager.v1.IGetBrowserLanguageRequest} request GetBrowserLanguageRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
- /**
- * Callback as used by {@link google.ads.admanager.v1.BrowserLanguageService|listBrowserLanguages}.
- * @memberof google.ads.admanager.v1.BrowserLanguageService
- * @typedef ListBrowserLanguagesCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.ListBrowserLanguagesResponse} [response] ListBrowserLanguagesResponse
*/
+ ListApplicationsRequest.prototype.pageSize = 0;
/**
- * Calls ListBrowserLanguages.
- * @function listBrowserLanguages
- * @memberof google.ads.admanager.v1.BrowserLanguageService
+ * ListApplicationsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @instance
- * @param {google.ads.admanager.v1.IListBrowserLanguagesRequest} request ListBrowserLanguagesRequest message or plain object
- * @param {google.ads.admanager.v1.BrowserLanguageService.ListBrowserLanguagesCallback} callback Node-style callback called with the error, if any, and ListBrowserLanguagesResponse
- * @returns {undefined}
- * @variation 1
*/
- Object.defineProperty(BrowserLanguageService.prototype.listBrowserLanguages = function listBrowserLanguages(request, callback) {
- return this.rpcCall(listBrowserLanguages, $root.google.ads.admanager.v1.ListBrowserLanguagesRequest, $root.google.ads.admanager.v1.ListBrowserLanguagesResponse, request, callback);
- }, "name", { value: "ListBrowserLanguages" });
+ ListApplicationsRequest.prototype.pageToken = "";
/**
- * Calls ListBrowserLanguages.
- * @function listBrowserLanguages
- * @memberof google.ads.admanager.v1.BrowserLanguageService
+ * ListApplicationsRequest filter.
+ * @member {string} filter
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @instance
- * @param {google.ads.admanager.v1.IListBrowserLanguagesRequest} request ListBrowserLanguagesRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
- return BrowserLanguageService;
- })();
-
- v1.GetBrowserLanguageRequest = (function() {
-
- /**
- * Properties of a GetBrowserLanguageRequest.
- * @memberof google.ads.admanager.v1
- * @interface IGetBrowserLanguageRequest
- * @property {string|null} [name] GetBrowserLanguageRequest name
*/
+ ListApplicationsRequest.prototype.filter = "";
/**
- * Constructs a new GetBrowserLanguageRequest.
- * @memberof google.ads.admanager.v1
- * @classdesc Represents a GetBrowserLanguageRequest.
- * @implements IGetBrowserLanguageRequest
- * @constructor
- * @param {google.ads.admanager.v1.IGetBrowserLanguageRequest=} [properties] Properties to set
+ * ListApplicationsRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
+ * @instance
*/
- function GetBrowserLanguageRequest(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
+ ListApplicationsRequest.prototype.orderBy = "";
/**
- * GetBrowserLanguageRequest name.
- * @member {string} name
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * ListApplicationsRequest skip.
+ * @member {number} skip
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @instance
*/
- GetBrowserLanguageRequest.prototype.name = "";
+ ListApplicationsRequest.prototype.skip = 0;
/**
- * Creates a new GetBrowserLanguageRequest instance using the specified properties.
+ * Creates a new ListApplicationsRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
- * @param {google.ads.admanager.v1.IGetBrowserLanguageRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.GetBrowserLanguageRequest} GetBrowserLanguageRequest instance
+ * @param {google.ads.admanager.v1.IListApplicationsRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.ListApplicationsRequest} ListApplicationsRequest instance
*/
- GetBrowserLanguageRequest.create = function create(properties) {
- return new GetBrowserLanguageRequest(properties);
+ ListApplicationsRequest.create = function create(properties) {
+ return new ListApplicationsRequest(properties);
};
/**
- * Encodes the specified GetBrowserLanguageRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBrowserLanguageRequest.verify|verify} messages.
+ * Encodes the specified ListApplicationsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
- * @param {google.ads.admanager.v1.IGetBrowserLanguageRequest} message GetBrowserLanguageRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IListApplicationsRequest} message ListApplicationsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetBrowserLanguageRequest.encode = function encode(message, writer) {
+ ListApplicationsRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
+ if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
+ if (message.skip != null && Object.hasOwnProperty.call(message, "skip"))
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.skip);
return writer;
};
/**
- * Encodes the specified GetBrowserLanguageRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBrowserLanguageRequest.verify|verify} messages.
+ * Encodes the specified ListApplicationsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
- * @param {google.ads.admanager.v1.IGetBrowserLanguageRequest} message GetBrowserLanguageRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IListApplicationsRequest} message ListApplicationsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetBrowserLanguageRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ ListApplicationsRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetBrowserLanguageRequest message from the specified reader or buffer.
+ * Decodes a ListApplicationsRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.GetBrowserLanguageRequest} GetBrowserLanguageRequest
+ * @returns {google.ads.admanager.v1.ListApplicationsRequest} ListApplicationsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetBrowserLanguageRequest.decode = function decode(reader, length, error) {
+ ListApplicationsRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.GetBrowserLanguageRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListApplicationsRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- message.name = reader.string();
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 4: {
+ message.filter = reader.string();
+ break;
+ }
+ case 5: {
+ message.orderBy = reader.string();
+ break;
+ }
+ case 6: {
+ message.skip = reader.int32();
break;
}
default:
@@ -15147,127 +14911,166 @@
};
/**
- * Decodes a GetBrowserLanguageRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListApplicationsRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.GetBrowserLanguageRequest} GetBrowserLanguageRequest
+ * @returns {google.ads.admanager.v1.ListApplicationsRequest} ListApplicationsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetBrowserLanguageRequest.decodeDelimited = function decodeDelimited(reader) {
+ ListApplicationsRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetBrowserLanguageRequest message.
+ * Verifies a ListApplicationsRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetBrowserLanguageRequest.verify = function verify(message) {
+ ListApplicationsRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.name != null && message.hasOwnProperty("name"))
- if (!$util.isString(message.name))
- return "name: string expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ if (!$util.isString(message.orderBy))
+ return "orderBy: string expected";
+ if (message.skip != null && message.hasOwnProperty("skip"))
+ if (!$util.isInteger(message.skip))
+ return "skip: integer expected";
return null;
};
/**
- * Creates a GetBrowserLanguageRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListApplicationsRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.GetBrowserLanguageRequest} GetBrowserLanguageRequest
+ * @returns {google.ads.admanager.v1.ListApplicationsRequest} ListApplicationsRequest
*/
- GetBrowserLanguageRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.GetBrowserLanguageRequest)
+ ListApplicationsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.ListApplicationsRequest)
return object;
- var message = new $root.google.ads.admanager.v1.GetBrowserLanguageRequest();
- if (object.name != null)
- message.name = String(object.name);
+ var message = new $root.google.ads.admanager.v1.ListApplicationsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ if (object.orderBy != null)
+ message.orderBy = String(object.orderBy);
+ if (object.skip != null)
+ message.skip = object.skip | 0;
return message;
};
/**
- * Creates a plain object from a GetBrowserLanguageRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a ListApplicationsRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
- * @param {google.ads.admanager.v1.GetBrowserLanguageRequest} message GetBrowserLanguageRequest
+ * @param {google.ads.admanager.v1.ListApplicationsRequest} message ListApplicationsRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetBrowserLanguageRequest.toObject = function toObject(message, options) {
+ ListApplicationsRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
- if (options.defaults)
- object.name = "";
- if (message.name != null && message.hasOwnProperty("name"))
- object.name = message.name;
+ if (options.defaults) {
+ object.parent = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.filter = "";
+ object.orderBy = "";
+ object.skip = 0;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ object.orderBy = message.orderBy;
+ if (message.skip != null && message.hasOwnProperty("skip"))
+ object.skip = message.skip;
return object;
};
/**
- * Converts this GetBrowserLanguageRequest to JSON.
+ * Converts this ListApplicationsRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @instance
* @returns {Object.} JSON object
*/
- GetBrowserLanguageRequest.prototype.toJSON = function toJSON() {
+ ListApplicationsRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for GetBrowserLanguageRequest
+ * Gets the default type url for ListApplicationsRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.GetBrowserLanguageRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- GetBrowserLanguageRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ ListApplicationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.GetBrowserLanguageRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.ListApplicationsRequest";
};
- return GetBrowserLanguageRequest;
+ return ListApplicationsRequest;
})();
- v1.ListBrowserLanguagesRequest = (function() {
+ v1.ListApplicationsResponse = (function() {
/**
- * Properties of a ListBrowserLanguagesRequest.
+ * Properties of a ListApplicationsResponse.
* @memberof google.ads.admanager.v1
- * @interface IListBrowserLanguagesRequest
- * @property {string|null} [parent] ListBrowserLanguagesRequest parent
- * @property {number|null} [pageSize] ListBrowserLanguagesRequest pageSize
- * @property {string|null} [pageToken] ListBrowserLanguagesRequest pageToken
- * @property {string|null} [filter] ListBrowserLanguagesRequest filter
- * @property {string|null} [orderBy] ListBrowserLanguagesRequest orderBy
- * @property {number|null} [skip] ListBrowserLanguagesRequest skip
+ * @interface IListApplicationsResponse
+ * @property {Array.|null} [applications] ListApplicationsResponse applications
+ * @property {string|null} [nextPageToken] ListApplicationsResponse nextPageToken
+ * @property {number|null} [totalSize] ListApplicationsResponse totalSize
*/
/**
- * Constructs a new ListBrowserLanguagesRequest.
+ * Constructs a new ListApplicationsResponse.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListBrowserLanguagesRequest.
- * @implements IListBrowserLanguagesRequest
+ * @classdesc Represents a ListApplicationsResponse.
+ * @implements IListApplicationsResponse
* @constructor
- * @param {google.ads.admanager.v1.IListBrowserLanguagesRequest=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IListApplicationsResponse=} [properties] Properties to set
*/
- function ListBrowserLanguagesRequest(properties) {
+ function ListApplicationsResponse(properties) {
+ this.applications = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -15275,147 +15078,108 @@
}
/**
- * ListBrowserLanguagesRequest parent.
- * @member {string} parent
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
- * @instance
- */
- ListBrowserLanguagesRequest.prototype.parent = "";
-
- /**
- * ListBrowserLanguagesRequest pageSize.
- * @member {number} pageSize
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
- * @instance
- */
- ListBrowserLanguagesRequest.prototype.pageSize = 0;
-
- /**
- * ListBrowserLanguagesRequest pageToken.
- * @member {string} pageToken
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
- * @instance
- */
- ListBrowserLanguagesRequest.prototype.pageToken = "";
-
- /**
- * ListBrowserLanguagesRequest filter.
- * @member {string} filter
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * ListApplicationsResponse applications.
+ * @member {Array.} applications
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @instance
*/
- ListBrowserLanguagesRequest.prototype.filter = "";
+ ListApplicationsResponse.prototype.applications = $util.emptyArray;
/**
- * ListBrowserLanguagesRequest orderBy.
- * @member {string} orderBy
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * ListApplicationsResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @instance
*/
- ListBrowserLanguagesRequest.prototype.orderBy = "";
+ ListApplicationsResponse.prototype.nextPageToken = "";
/**
- * ListBrowserLanguagesRequest skip.
- * @member {number} skip
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * ListApplicationsResponse totalSize.
+ * @member {number} totalSize
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @instance
*/
- ListBrowserLanguagesRequest.prototype.skip = 0;
+ ListApplicationsResponse.prototype.totalSize = 0;
/**
- * Creates a new ListBrowserLanguagesRequest instance using the specified properties.
+ * Creates a new ListApplicationsResponse instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
- * @param {google.ads.admanager.v1.IListBrowserLanguagesRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListBrowserLanguagesRequest} ListBrowserLanguagesRequest instance
+ * @param {google.ads.admanager.v1.IListApplicationsResponse=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.ListApplicationsResponse} ListApplicationsResponse instance
*/
- ListBrowserLanguagesRequest.create = function create(properties) {
- return new ListBrowserLanguagesRequest(properties);
+ ListApplicationsResponse.create = function create(properties) {
+ return new ListApplicationsResponse(properties);
};
/**
- * Encodes the specified ListBrowserLanguagesRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesRequest.verify|verify} messages.
+ * Encodes the specified ListApplicationsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsResponse.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
- * @param {google.ads.admanager.v1.IListBrowserLanguagesRequest} message ListBrowserLanguagesRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IListApplicationsResponse} message ListApplicationsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBrowserLanguagesRequest.encode = function encode(message, writer) {
+ ListApplicationsResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
- if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
- if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
- if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
- if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
- if (message.skip != null && Object.hasOwnProperty.call(message, "skip"))
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.skip);
+ if (message.applications != null && message.applications.length)
+ for (var i = 0; i < message.applications.length; ++i)
+ $root.google.ads.admanager.v1.Application.encode(message.applications[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ if (message.totalSize != null && Object.hasOwnProperty.call(message, "totalSize"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.totalSize);
return writer;
};
/**
- * Encodes the specified ListBrowserLanguagesRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesRequest.verify|verify} messages.
+ * Encodes the specified ListApplicationsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListApplicationsResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
- * @param {google.ads.admanager.v1.IListBrowserLanguagesRequest} message ListBrowserLanguagesRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IListApplicationsResponse} message ListApplicationsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBrowserLanguagesRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ ListApplicationsResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListBrowserLanguagesRequest message from the specified reader or buffer.
+ * Decodes a ListApplicationsResponse message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListBrowserLanguagesRequest} ListBrowserLanguagesRequest
+ * @returns {google.ads.admanager.v1.ListApplicationsResponse} ListApplicationsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBrowserLanguagesRequest.decode = function decode(reader, length, error) {
+ ListApplicationsResponse.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListBrowserLanguagesRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListApplicationsResponse();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- message.parent = reader.string();
+ if (!(message.applications && message.applications.length))
+ message.applications = [];
+ message.applications.push($root.google.ads.admanager.v1.Application.decode(reader, reader.uint32()));
break;
}
case 2: {
- message.pageSize = reader.int32();
+ message.nextPageToken = reader.string();
break;
}
case 3: {
- message.pageToken = reader.string();
- break;
- }
- case 4: {
- message.filter = reader.string();
- break;
- }
- case 5: {
- message.orderBy = reader.string();
- break;
- }
- case 6: {
- message.skip = reader.int32();
+ message.totalSize = reader.int32();
break;
}
default:
@@ -15427,166 +15191,158 @@
};
/**
- * Decodes a ListBrowserLanguagesRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListApplicationsResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListBrowserLanguagesRequest} ListBrowserLanguagesRequest
+ * @returns {google.ads.admanager.v1.ListApplicationsResponse} ListApplicationsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBrowserLanguagesRequest.decodeDelimited = function decodeDelimited(reader) {
+ ListApplicationsResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListBrowserLanguagesRequest message.
+ * Verifies a ListApplicationsResponse message.
* @function verify
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListBrowserLanguagesRequest.verify = function verify(message) {
+ ListApplicationsResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.parent != null && message.hasOwnProperty("parent"))
- if (!$util.isString(message.parent))
- return "parent: string expected";
- if (message.pageSize != null && message.hasOwnProperty("pageSize"))
- if (!$util.isInteger(message.pageSize))
- return "pageSize: integer expected";
- if (message.pageToken != null && message.hasOwnProperty("pageToken"))
- if (!$util.isString(message.pageToken))
- return "pageToken: string expected";
- if (message.filter != null && message.hasOwnProperty("filter"))
- if (!$util.isString(message.filter))
- return "filter: string expected";
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- if (!$util.isString(message.orderBy))
- return "orderBy: string expected";
- if (message.skip != null && message.hasOwnProperty("skip"))
- if (!$util.isInteger(message.skip))
- return "skip: integer expected";
+ if (message.applications != null && message.hasOwnProperty("applications")) {
+ if (!Array.isArray(message.applications))
+ return "applications: array expected";
+ for (var i = 0; i < message.applications.length; ++i) {
+ var error = $root.google.ads.admanager.v1.Application.verify(message.applications[i]);
+ if (error)
+ return "applications." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ if (message.totalSize != null && message.hasOwnProperty("totalSize"))
+ if (!$util.isInteger(message.totalSize))
+ return "totalSize: integer expected";
return null;
};
/**
- * Creates a ListBrowserLanguagesRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListApplicationsResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListBrowserLanguagesRequest} ListBrowserLanguagesRequest
+ * @returns {google.ads.admanager.v1.ListApplicationsResponse} ListApplicationsResponse
*/
- ListBrowserLanguagesRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListBrowserLanguagesRequest)
+ ListApplicationsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.ListApplicationsResponse)
return object;
- var message = new $root.google.ads.admanager.v1.ListBrowserLanguagesRequest();
- if (object.parent != null)
- message.parent = String(object.parent);
- if (object.pageSize != null)
- message.pageSize = object.pageSize | 0;
- if (object.pageToken != null)
- message.pageToken = String(object.pageToken);
- if (object.filter != null)
- message.filter = String(object.filter);
- if (object.orderBy != null)
- message.orderBy = String(object.orderBy);
- if (object.skip != null)
- message.skip = object.skip | 0;
+ var message = new $root.google.ads.admanager.v1.ListApplicationsResponse();
+ if (object.applications) {
+ if (!Array.isArray(object.applications))
+ throw TypeError(".google.ads.admanager.v1.ListApplicationsResponse.applications: array expected");
+ message.applications = [];
+ for (var i = 0; i < object.applications.length; ++i) {
+ if (typeof object.applications[i] !== "object")
+ throw TypeError(".google.ads.admanager.v1.ListApplicationsResponse.applications: object expected");
+ message.applications[i] = $root.google.ads.admanager.v1.Application.fromObject(object.applications[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.totalSize != null)
+ message.totalSize = object.totalSize | 0;
return message;
};
/**
- * Creates a plain object from a ListBrowserLanguagesRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a ListApplicationsResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
- * @param {google.ads.admanager.v1.ListBrowserLanguagesRequest} message ListBrowserLanguagesRequest
+ * @param {google.ads.admanager.v1.ListApplicationsResponse} message ListApplicationsResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListBrowserLanguagesRequest.toObject = function toObject(message, options) {
+ ListApplicationsResponse.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
+ if (options.arrays || options.defaults)
+ object.applications = [];
if (options.defaults) {
- object.parent = "";
- object.pageSize = 0;
- object.pageToken = "";
- object.filter = "";
- object.orderBy = "";
- object.skip = 0;
+ object.nextPageToken = "";
+ object.totalSize = 0;
}
- if (message.parent != null && message.hasOwnProperty("parent"))
- object.parent = message.parent;
- if (message.pageSize != null && message.hasOwnProperty("pageSize"))
- object.pageSize = message.pageSize;
- if (message.pageToken != null && message.hasOwnProperty("pageToken"))
- object.pageToken = message.pageToken;
- if (message.filter != null && message.hasOwnProperty("filter"))
- object.filter = message.filter;
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- object.orderBy = message.orderBy;
- if (message.skip != null && message.hasOwnProperty("skip"))
- object.skip = message.skip;
+ if (message.applications && message.applications.length) {
+ object.applications = [];
+ for (var j = 0; j < message.applications.length; ++j)
+ object.applications[j] = $root.google.ads.admanager.v1.Application.toObject(message.applications[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ if (message.totalSize != null && message.hasOwnProperty("totalSize"))
+ object.totalSize = message.totalSize;
return object;
};
/**
- * Converts this ListBrowserLanguagesRequest to JSON.
+ * Converts this ListApplicationsResponse to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @instance
* @returns {Object.} JSON object
*/
- ListBrowserLanguagesRequest.prototype.toJSON = function toJSON() {
+ ListApplicationsResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListBrowserLanguagesRequest
+ * Gets the default type url for ListApplicationsResponse
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesRequest
+ * @memberof google.ads.admanager.v1.ListApplicationsResponse
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListBrowserLanguagesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ ListApplicationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListBrowserLanguagesRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.ListApplicationsResponse";
};
- return ListBrowserLanguagesRequest;
+ return ListApplicationsResponse;
})();
- v1.ListBrowserLanguagesResponse = (function() {
+ v1.AudienceSegment = (function() {
/**
- * Properties of a ListBrowserLanguagesResponse.
+ * Properties of an AudienceSegment.
* @memberof google.ads.admanager.v1
- * @interface IListBrowserLanguagesResponse
- * @property {Array.|null} [browserLanguages] ListBrowserLanguagesResponse browserLanguages
- * @property {string|null} [nextPageToken] ListBrowserLanguagesResponse nextPageToken
- * @property {number|null} [totalSize] ListBrowserLanguagesResponse totalSize
+ * @interface IAudienceSegment
+ * @property {string|null} [name] AudienceSegment name
+ * @property {string|null} [displayName] AudienceSegment displayName
*/
/**
- * Constructs a new ListBrowserLanguagesResponse.
+ * Constructs a new AudienceSegment.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListBrowserLanguagesResponse.
- * @implements IListBrowserLanguagesResponse
+ * @classdesc Represents an AudienceSegment.
+ * @implements IAudienceSegment
* @constructor
- * @param {google.ads.admanager.v1.IListBrowserLanguagesResponse=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IAudienceSegment=} [properties] Properties to set
*/
- function ListBrowserLanguagesResponse(properties) {
- this.browserLanguages = [];
+ function AudienceSegment(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -15594,108 +15350,100 @@
}
/**
- * ListBrowserLanguagesResponse browserLanguages.
- * @member {Array.} browserLanguages
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * AudienceSegment name.
+ * @member {string} name
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @instance
*/
- ListBrowserLanguagesResponse.prototype.browserLanguages = $util.emptyArray;
+ AudienceSegment.prototype.name = "";
/**
- * ListBrowserLanguagesResponse nextPageToken.
- * @member {string} nextPageToken
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * AudienceSegment displayName.
+ * @member {string|null|undefined} displayName
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @instance
*/
- ListBrowserLanguagesResponse.prototype.nextPageToken = "";
+ AudienceSegment.prototype.displayName = null;
- /**
- * ListBrowserLanguagesResponse totalSize.
- * @member {number} totalSize
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
- * @instance
- */
- ListBrowserLanguagesResponse.prototype.totalSize = 0;
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ // Virtual OneOf for proto3 optional field
+ Object.defineProperty(AudienceSegment.prototype, "_displayName", {
+ get: $util.oneOfGetter($oneOfFields = ["displayName"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
/**
- * Creates a new ListBrowserLanguagesResponse instance using the specified properties.
+ * Creates a new AudienceSegment instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
- * @param {google.ads.admanager.v1.IListBrowserLanguagesResponse=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListBrowserLanguagesResponse} ListBrowserLanguagesResponse instance
+ * @param {google.ads.admanager.v1.IAudienceSegment=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.AudienceSegment} AudienceSegment instance
*/
- ListBrowserLanguagesResponse.create = function create(properties) {
- return new ListBrowserLanguagesResponse(properties);
+ AudienceSegment.create = function create(properties) {
+ return new AudienceSegment(properties);
};
/**
- * Encodes the specified ListBrowserLanguagesResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesResponse.verify|verify} messages.
+ * Encodes the specified AudienceSegment message. Does not implicitly {@link google.ads.admanager.v1.AudienceSegment.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
- * @param {google.ads.admanager.v1.IListBrowserLanguagesResponse} message ListBrowserLanguagesResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IAudienceSegment} message AudienceSegment message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBrowserLanguagesResponse.encode = function encode(message, writer) {
+ AudienceSegment.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.browserLanguages != null && message.browserLanguages.length)
- for (var i = 0; i < message.browserLanguages.length; ++i)
- $root.google.ads.admanager.v1.BrowserLanguage.encode(message.browserLanguages[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
- if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
- if (message.totalSize != null && Object.hasOwnProperty.call(message, "totalSize"))
- writer.uint32(/* id 3, wireType 0 =*/24).int32(message.totalSize);
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
return writer;
};
/**
- * Encodes the specified ListBrowserLanguagesResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowserLanguagesResponse.verify|verify} messages.
+ * Encodes the specified AudienceSegment message, length delimited. Does not implicitly {@link google.ads.admanager.v1.AudienceSegment.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
- * @param {google.ads.admanager.v1.IListBrowserLanguagesResponse} message ListBrowserLanguagesResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IAudienceSegment} message AudienceSegment message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBrowserLanguagesResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ AudienceSegment.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListBrowserLanguagesResponse message from the specified reader or buffer.
+ * Decodes an AudienceSegment message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListBrowserLanguagesResponse} ListBrowserLanguagesResponse
+ * @returns {google.ads.admanager.v1.AudienceSegment} AudienceSegment
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBrowserLanguagesResponse.decode = function decode(reader, length, error) {
+ AudienceSegment.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListBrowserLanguagesResponse();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.AudienceSegment();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- if (!(message.browserLanguages && message.browserLanguages.length))
- message.browserLanguages = [];
- message.browserLanguages.push($root.google.ads.admanager.v1.BrowserLanguage.decode(reader, reader.uint32()));
+ message.name = reader.string();
break;
}
case 2: {
- message.nextPageToken = reader.string();
- break;
- }
- case 3: {
- message.totalSize = reader.int32();
+ message.displayName = reader.string();
break;
}
default:
@@ -15707,282 +15455,307 @@
};
/**
- * Decodes a ListBrowserLanguagesResponse message from the specified reader or buffer, length delimited.
+ * Decodes an AudienceSegment message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListBrowserLanguagesResponse} ListBrowserLanguagesResponse
+ * @returns {google.ads.admanager.v1.AudienceSegment} AudienceSegment
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBrowserLanguagesResponse.decodeDelimited = function decodeDelimited(reader) {
+ AudienceSegment.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListBrowserLanguagesResponse message.
+ * Verifies an AudienceSegment message.
* @function verify
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListBrowserLanguagesResponse.verify = function verify(message) {
+ AudienceSegment.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.browserLanguages != null && message.hasOwnProperty("browserLanguages")) {
- if (!Array.isArray(message.browserLanguages))
- return "browserLanguages: array expected";
- for (var i = 0; i < message.browserLanguages.length; ++i) {
- var error = $root.google.ads.admanager.v1.BrowserLanguage.verify(message.browserLanguages[i]);
- if (error)
- return "browserLanguages." + error;
- }
+ var properties = {};
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.displayName != null && message.hasOwnProperty("displayName")) {
+ properties._displayName = 1;
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
}
- if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
- if (!$util.isString(message.nextPageToken))
- return "nextPageToken: string expected";
- if (message.totalSize != null && message.hasOwnProperty("totalSize"))
- if (!$util.isInteger(message.totalSize))
- return "totalSize: integer expected";
return null;
};
/**
- * Creates a ListBrowserLanguagesResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates an AudienceSegment message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListBrowserLanguagesResponse} ListBrowserLanguagesResponse
+ * @returns {google.ads.admanager.v1.AudienceSegment} AudienceSegment
*/
- ListBrowserLanguagesResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListBrowserLanguagesResponse)
+ AudienceSegment.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.AudienceSegment)
return object;
- var message = new $root.google.ads.admanager.v1.ListBrowserLanguagesResponse();
- if (object.browserLanguages) {
- if (!Array.isArray(object.browserLanguages))
- throw TypeError(".google.ads.admanager.v1.ListBrowserLanguagesResponse.browserLanguages: array expected");
- message.browserLanguages = [];
- for (var i = 0; i < object.browserLanguages.length; ++i) {
- if (typeof object.browserLanguages[i] !== "object")
- throw TypeError(".google.ads.admanager.v1.ListBrowserLanguagesResponse.browserLanguages: object expected");
- message.browserLanguages[i] = $root.google.ads.admanager.v1.BrowserLanguage.fromObject(object.browserLanguages[i]);
- }
- }
- if (object.nextPageToken != null)
- message.nextPageToken = String(object.nextPageToken);
- if (object.totalSize != null)
- message.totalSize = object.totalSize | 0;
+ var message = new $root.google.ads.admanager.v1.AudienceSegment();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
return message;
};
/**
- * Creates a plain object from a ListBrowserLanguagesResponse message. Also converts values to other types if specified.
+ * Creates a plain object from an AudienceSegment message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
- * @param {google.ads.admanager.v1.ListBrowserLanguagesResponse} message ListBrowserLanguagesResponse
+ * @param {google.ads.admanager.v1.AudienceSegment} message AudienceSegment
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListBrowserLanguagesResponse.toObject = function toObject(message, options) {
+ AudienceSegment.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
- if (options.arrays || options.defaults)
- object.browserLanguages = [];
- if (options.defaults) {
- object.nextPageToken = "";
- object.totalSize = 0;
- }
- if (message.browserLanguages && message.browserLanguages.length) {
- object.browserLanguages = [];
- for (var j = 0; j < message.browserLanguages.length; ++j)
- object.browserLanguages[j] = $root.google.ads.admanager.v1.BrowserLanguage.toObject(message.browserLanguages[j], options);
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.displayName != null && message.hasOwnProperty("displayName")) {
+ object.displayName = message.displayName;
+ if (options.oneofs)
+ object._displayName = "displayName";
}
- if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
- object.nextPageToken = message.nextPageToken;
- if (message.totalSize != null && message.hasOwnProperty("totalSize"))
- object.totalSize = message.totalSize;
return object;
};
/**
- * Converts this ListBrowserLanguagesResponse to JSON.
+ * Converts this AudienceSegment to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @instance
* @returns {Object.} JSON object
*/
- ListBrowserLanguagesResponse.prototype.toJSON = function toJSON() {
+ AudienceSegment.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListBrowserLanguagesResponse
+ * Gets the default type url for AudienceSegment
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListBrowserLanguagesResponse
+ * @memberof google.ads.admanager.v1.AudienceSegment
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListBrowserLanguagesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ AudienceSegment.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListBrowserLanguagesResponse";
+ return typeUrlPrefix + "/google.ads.admanager.v1.AudienceSegment";
};
- return ListBrowserLanguagesResponse;
+ return AudienceSegment;
})();
- v1.Browser = (function() {
+ v1.AudienceSegmentService = (function() {
/**
- * Properties of a Browser.
+ * Constructs a new AudienceSegmentService service.
* @memberof google.ads.admanager.v1
- * @interface IBrowser
- * @property {string|null} [name] Browser name
- * @property {string|null} [displayName] Browser displayName
- * @property {string|null} [majorVersion] Browser majorVersion
- * @property {string|null} [minorVersion] Browser minorVersion
+ * @classdesc Represents an AudienceSegmentService
+ * @extends $protobuf.rpc.Service
+ * @constructor
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
*/
+ function AudienceSegmentService(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (AudienceSegmentService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AudienceSegmentService;
/**
- * Constructs a new Browser.
- * @memberof google.ads.admanager.v1
- * @classdesc Represents a Browser.
- * @implements IBrowser
- * @constructor
- * @param {google.ads.admanager.v1.IBrowser=} [properties] Properties to set
+ * Creates new AudienceSegmentService service using the specified rpc implementation.
+ * @function create
+ * @memberof google.ads.admanager.v1.AudienceSegmentService
+ * @static
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ * @returns {AudienceSegmentService} RPC service. Useful where requests and/or responses are streamed.
*/
- function Browser(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
+ AudienceSegmentService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
/**
- * Browser name.
- * @member {string} name
- * @memberof google.ads.admanager.v1.Browser
+ * Callback as used by {@link google.ads.admanager.v1.AudienceSegmentService|getAudienceSegment}.
+ * @memberof google.ads.admanager.v1.AudienceSegmentService
+ * @typedef GetAudienceSegmentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.AudienceSegment} [response] AudienceSegment
+ */
+
+ /**
+ * Calls GetAudienceSegment.
+ * @function getAudienceSegment
+ * @memberof google.ads.admanager.v1.AudienceSegmentService
* @instance
+ * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest} request GetAudienceSegmentRequest message or plain object
+ * @param {google.ads.admanager.v1.AudienceSegmentService.GetAudienceSegmentCallback} callback Node-style callback called with the error, if any, and AudienceSegment
+ * @returns {undefined}
+ * @variation 1
*/
- Browser.prototype.name = "";
+ Object.defineProperty(AudienceSegmentService.prototype.getAudienceSegment = function getAudienceSegment(request, callback) {
+ return this.rpcCall(getAudienceSegment, $root.google.ads.admanager.v1.GetAudienceSegmentRequest, $root.google.ads.admanager.v1.AudienceSegment, request, callback);
+ }, "name", { value: "GetAudienceSegment" });
/**
- * Browser displayName.
- * @member {string|null|undefined} displayName
- * @memberof google.ads.admanager.v1.Browser
+ * Calls GetAudienceSegment.
+ * @function getAudienceSegment
+ * @memberof google.ads.admanager.v1.AudienceSegmentService
* @instance
+ * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest} request GetAudienceSegmentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
*/
- Browser.prototype.displayName = null;
/**
- * Browser majorVersion.
- * @member {string|null|undefined} majorVersion
- * @memberof google.ads.admanager.v1.Browser
+ * Callback as used by {@link google.ads.admanager.v1.AudienceSegmentService|listAudienceSegments}.
+ * @memberof google.ads.admanager.v1.AudienceSegmentService
+ * @typedef ListAudienceSegmentsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.ads.admanager.v1.ListAudienceSegmentsResponse} [response] ListAudienceSegmentsResponse
+ */
+
+ /**
+ * Calls ListAudienceSegments.
+ * @function listAudienceSegments
+ * @memberof google.ads.admanager.v1.AudienceSegmentService
* @instance
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest} request ListAudienceSegmentsRequest message or plain object
+ * @param {google.ads.admanager.v1.AudienceSegmentService.ListAudienceSegmentsCallback} callback Node-style callback called with the error, if any, and ListAudienceSegmentsResponse
+ * @returns {undefined}
+ * @variation 1
*/
- Browser.prototype.majorVersion = null;
+ Object.defineProperty(AudienceSegmentService.prototype.listAudienceSegments = function listAudienceSegments(request, callback) {
+ return this.rpcCall(listAudienceSegments, $root.google.ads.admanager.v1.ListAudienceSegmentsRequest, $root.google.ads.admanager.v1.ListAudienceSegmentsResponse, request, callback);
+ }, "name", { value: "ListAudienceSegments" });
/**
- * Browser minorVersion.
- * @member {string|null|undefined} minorVersion
- * @memberof google.ads.admanager.v1.Browser
+ * Calls ListAudienceSegments.
+ * @function listAudienceSegments
+ * @memberof google.ads.admanager.v1.AudienceSegmentService
* @instance
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest} request ListAudienceSegmentsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
*/
- Browser.prototype.minorVersion = null;
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
+ return AudienceSegmentService;
+ })();
- // Virtual OneOf for proto3 optional field
- Object.defineProperty(Browser.prototype, "_displayName", {
- get: $util.oneOfGetter($oneOfFields = ["displayName"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ v1.GetAudienceSegmentRequest = (function() {
- // Virtual OneOf for proto3 optional field
- Object.defineProperty(Browser.prototype, "_majorVersion", {
- get: $util.oneOfGetter($oneOfFields = ["majorVersion"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ /**
+ * Properties of a GetAudienceSegmentRequest.
+ * @memberof google.ads.admanager.v1
+ * @interface IGetAudienceSegmentRequest
+ * @property {string|null} [name] GetAudienceSegmentRequest name
+ */
- // Virtual OneOf for proto3 optional field
- Object.defineProperty(Browser.prototype, "_minorVersion", {
- get: $util.oneOfGetter($oneOfFields = ["minorVersion"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ /**
+ * Constructs a new GetAudienceSegmentRequest.
+ * @memberof google.ads.admanager.v1
+ * @classdesc Represents a GetAudienceSegmentRequest.
+ * @implements IGetAudienceSegmentRequest
+ * @constructor
+ * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest=} [properties] Properties to set
+ */
+ function GetAudienceSegmentRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
/**
- * Creates a new Browser instance using the specified properties.
+ * GetAudienceSegmentRequest name.
+ * @member {string} name
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
+ * @instance
+ */
+ GetAudienceSegmentRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetAudienceSegmentRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
- * @param {google.ads.admanager.v1.IBrowser=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.Browser} Browser instance
+ * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.GetAudienceSegmentRequest} GetAudienceSegmentRequest instance
*/
- Browser.create = function create(properties) {
- return new Browser(properties);
+ GetAudienceSegmentRequest.create = function create(properties) {
+ return new GetAudienceSegmentRequest(properties);
};
/**
- * Encodes the specified Browser message. Does not implicitly {@link google.ads.admanager.v1.Browser.verify|verify} messages.
+ * Encodes the specified GetAudienceSegmentRequest message. Does not implicitly {@link google.ads.admanager.v1.GetAudienceSegmentRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
- * @param {google.ads.admanager.v1.IBrowser} message Browser message or plain object to encode
+ * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest} message GetAudienceSegmentRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- Browser.encode = function encode(message, writer) {
+ GetAudienceSegmentRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
- if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
- if (message.majorVersion != null && Object.hasOwnProperty.call(message, "majorVersion"))
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.majorVersion);
- if (message.minorVersion != null && Object.hasOwnProperty.call(message, "minorVersion"))
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.minorVersion);
return writer;
};
/**
- * Encodes the specified Browser message, length delimited. Does not implicitly {@link google.ads.admanager.v1.Browser.verify|verify} messages.
+ * Encodes the specified GetAudienceSegmentRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetAudienceSegmentRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
- * @param {google.ads.admanager.v1.IBrowser} message Browser message or plain object to encode
+ * @param {google.ads.admanager.v1.IGetAudienceSegmentRequest} message GetAudienceSegmentRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- Browser.encodeDelimited = function encodeDelimited(message, writer) {
+ GetAudienceSegmentRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a Browser message from the specified reader or buffer.
+ * Decodes a GetAudienceSegmentRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.Browser} Browser
+ * @returns {google.ads.admanager.v1.GetAudienceSegmentRequest} GetAudienceSegmentRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- Browser.decode = function decode(reader, length, error) {
+ GetAudienceSegmentRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.Browser();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.GetAudienceSegmentRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
@@ -15992,18 +15765,6 @@
message.name = reader.string();
break;
}
- case 2: {
- message.displayName = reader.string();
- break;
- }
- case 4: {
- message.majorVersion = reader.string();
- break;
- }
- case 5: {
- message.minorVersion = reader.string();
- break;
- }
default:
reader.skipType(tag & 7);
break;
@@ -16013,87 +15774,65 @@
};
/**
- * Decodes a Browser message from the specified reader or buffer, length delimited.
+ * Decodes a GetAudienceSegmentRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.Browser} Browser
+ * @returns {google.ads.admanager.v1.GetAudienceSegmentRequest} GetAudienceSegmentRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- Browser.decodeDelimited = function decodeDelimited(reader) {
+ GetAudienceSegmentRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a Browser message.
+ * Verifies a GetAudienceSegmentRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- Browser.verify = function verify(message) {
+ GetAudienceSegmentRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- var properties = {};
if (message.name != null && message.hasOwnProperty("name"))
if (!$util.isString(message.name))
return "name: string expected";
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- properties._displayName = 1;
- if (!$util.isString(message.displayName))
- return "displayName: string expected";
- }
- if (message.majorVersion != null && message.hasOwnProperty("majorVersion")) {
- properties._majorVersion = 1;
- if (!$util.isString(message.majorVersion))
- return "majorVersion: string expected";
- }
- if (message.minorVersion != null && message.hasOwnProperty("minorVersion")) {
- properties._minorVersion = 1;
- if (!$util.isString(message.minorVersion))
- return "minorVersion: string expected";
- }
return null;
};
/**
- * Creates a Browser message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetAudienceSegmentRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.Browser} Browser
+ * @returns {google.ads.admanager.v1.GetAudienceSegmentRequest} GetAudienceSegmentRequest
*/
- Browser.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.Browser)
+ GetAudienceSegmentRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.GetAudienceSegmentRequest)
return object;
- var message = new $root.google.ads.admanager.v1.Browser();
+ var message = new $root.google.ads.admanager.v1.GetAudienceSegmentRequest();
if (object.name != null)
message.name = String(object.name);
- if (object.displayName != null)
- message.displayName = String(object.displayName);
- if (object.majorVersion != null)
- message.majorVersion = String(object.majorVersion);
- if (object.minorVersion != null)
- message.minorVersion = String(object.minorVersion);
return message;
};
/**
- * Creates a plain object from a Browser message. Also converts values to other types if specified.
+ * Creates a plain object from a GetAudienceSegmentRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
- * @param {google.ads.admanager.v1.Browser} message Browser
+ * @param {google.ads.admanager.v1.GetAudienceSegmentRequest} message GetAudienceSegmentRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- Browser.toObject = function toObject(message, options) {
+ GetAudienceSegmentRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
@@ -16101,458 +15840,137 @@
object.name = "";
if (message.name != null && message.hasOwnProperty("name"))
object.name = message.name;
- if (message.displayName != null && message.hasOwnProperty("displayName")) {
- object.displayName = message.displayName;
- if (options.oneofs)
- object._displayName = "displayName";
- }
- if (message.majorVersion != null && message.hasOwnProperty("majorVersion")) {
- object.majorVersion = message.majorVersion;
- if (options.oneofs)
- object._majorVersion = "majorVersion";
- }
- if (message.minorVersion != null && message.hasOwnProperty("minorVersion")) {
- object.minorVersion = message.minorVersion;
- if (options.oneofs)
- object._minorVersion = "minorVersion";
- }
return object;
};
/**
- * Converts this Browser to JSON.
+ * Converts this GetAudienceSegmentRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @instance
* @returns {Object.} JSON object
*/
- Browser.prototype.toJSON = function toJSON() {
+ GetAudienceSegmentRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for Browser
+ * Gets the default type url for GetAudienceSegmentRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.Browser
+ * @memberof google.ads.admanager.v1.GetAudienceSegmentRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- Browser.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ GetAudienceSegmentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.Browser";
+ return typeUrlPrefix + "/google.ads.admanager.v1.GetAudienceSegmentRequest";
};
- return Browser;
+ return GetAudienceSegmentRequest;
})();
- v1.BrowserService = (function() {
+ v1.ListAudienceSegmentsRequest = (function() {
/**
- * Constructs a new BrowserService service.
+ * Properties of a ListAudienceSegmentsRequest.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a BrowserService
- * @extends $protobuf.rpc.Service
- * @constructor
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ * @interface IListAudienceSegmentsRequest
+ * @property {string|null} [parent] ListAudienceSegmentsRequest parent
+ * @property {number|null} [pageSize] ListAudienceSegmentsRequest pageSize
+ * @property {string|null} [pageToken] ListAudienceSegmentsRequest pageToken
+ * @property {string|null} [filter] ListAudienceSegmentsRequest filter
+ * @property {string|null} [orderBy] ListAudienceSegmentsRequest orderBy
+ * @property {number|null} [skip] ListAudienceSegmentsRequest skip
*/
- function BrowserService(rpcImpl, requestDelimited, responseDelimited) {
- $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
- }
-
- (BrowserService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = BrowserService;
/**
- * Creates new BrowserService service using the specified rpc implementation.
- * @function create
- * @memberof google.ads.admanager.v1.BrowserService
- * @static
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
- * @returns {BrowserService} RPC service. Useful where requests and/or responses are streamed.
+ * Constructs a new ListAudienceSegmentsRequest.
+ * @memberof google.ads.admanager.v1
+ * @classdesc Represents a ListAudienceSegmentsRequest.
+ * @implements IListAudienceSegmentsRequest
+ * @constructor
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest=} [properties] Properties to set
*/
- BrowserService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
- return new this(rpcImpl, requestDelimited, responseDelimited);
- };
+ function ListAudienceSegmentsRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
/**
- * Callback as used by {@link google.ads.admanager.v1.BrowserService|getBrowser}.
- * @memberof google.ads.admanager.v1.BrowserService
- * @typedef GetBrowserCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.Browser} [response] Browser
+ * ListAudienceSegmentsRequest parent.
+ * @member {string} parent
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @instance
*/
+ ListAudienceSegmentsRequest.prototype.parent = "";
/**
- * Calls GetBrowser.
- * @function getBrowser
- * @memberof google.ads.admanager.v1.BrowserService
+ * ListAudienceSegmentsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @instance
- * @param {google.ads.admanager.v1.IGetBrowserRequest} request GetBrowserRequest message or plain object
- * @param {google.ads.admanager.v1.BrowserService.GetBrowserCallback} callback Node-style callback called with the error, if any, and Browser
- * @returns {undefined}
- * @variation 1
*/
- Object.defineProperty(BrowserService.prototype.getBrowser = function getBrowser(request, callback) {
- return this.rpcCall(getBrowser, $root.google.ads.admanager.v1.GetBrowserRequest, $root.google.ads.admanager.v1.Browser, request, callback);
- }, "name", { value: "GetBrowser" });
+ ListAudienceSegmentsRequest.prototype.pageSize = 0;
/**
- * Calls GetBrowser.
- * @function getBrowser
- * @memberof google.ads.admanager.v1.BrowserService
+ * ListAudienceSegmentsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @instance
- * @param {google.ads.admanager.v1.IGetBrowserRequest} request GetBrowserRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
*/
+ ListAudienceSegmentsRequest.prototype.pageToken = "";
/**
- * Callback as used by {@link google.ads.admanager.v1.BrowserService|listBrowsers}.
- * @memberof google.ads.admanager.v1.BrowserService
- * @typedef ListBrowsersCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {google.ads.admanager.v1.ListBrowsersResponse} [response] ListBrowsersResponse
+ * ListAudienceSegmentsRequest filter.
+ * @member {string} filter
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
+ * @instance
*/
+ ListAudienceSegmentsRequest.prototype.filter = "";
/**
- * Calls ListBrowsers.
- * @function listBrowsers
- * @memberof google.ads.admanager.v1.BrowserService
+ * ListAudienceSegmentsRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @instance
- * @param {google.ads.admanager.v1.IListBrowsersRequest} request ListBrowsersRequest message or plain object
- * @param {google.ads.admanager.v1.BrowserService.ListBrowsersCallback} callback Node-style callback called with the error, if any, and ListBrowsersResponse
- * @returns {undefined}
- * @variation 1
*/
- Object.defineProperty(BrowserService.prototype.listBrowsers = function listBrowsers(request, callback) {
- return this.rpcCall(listBrowsers, $root.google.ads.admanager.v1.ListBrowsersRequest, $root.google.ads.admanager.v1.ListBrowsersResponse, request, callback);
- }, "name", { value: "ListBrowsers" });
+ ListAudienceSegmentsRequest.prototype.orderBy = "";
/**
- * Calls ListBrowsers.
- * @function listBrowsers
- * @memberof google.ads.admanager.v1.BrowserService
+ * ListAudienceSegmentsRequest skip.
+ * @member {number} skip
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @instance
- * @param {google.ads.admanager.v1.IListBrowsersRequest} request ListBrowsersRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
*/
-
- return BrowserService;
- })();
-
- v1.GetBrowserRequest = (function() {
-
- /**
- * Properties of a GetBrowserRequest.
- * @memberof google.ads.admanager.v1
- * @interface IGetBrowserRequest
- * @property {string|null} [name] GetBrowserRequest name
- */
-
- /**
- * Constructs a new GetBrowserRequest.
- * @memberof google.ads.admanager.v1
- * @classdesc Represents a GetBrowserRequest.
- * @implements IGetBrowserRequest
- * @constructor
- * @param {google.ads.admanager.v1.IGetBrowserRequest=} [properties] Properties to set
- */
- function GetBrowserRequest(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
-
- /**
- * GetBrowserRequest name.
- * @member {string} name
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @instance
- */
- GetBrowserRequest.prototype.name = "";
-
- /**
- * Creates a new GetBrowserRequest instance using the specified properties.
- * @function create
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {google.ads.admanager.v1.IGetBrowserRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.GetBrowserRequest} GetBrowserRequest instance
- */
- GetBrowserRequest.create = function create(properties) {
- return new GetBrowserRequest(properties);
- };
-
- /**
- * Encodes the specified GetBrowserRequest message. Does not implicitly {@link google.ads.admanager.v1.GetBrowserRequest.verify|verify} messages.
- * @function encode
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {google.ads.admanager.v1.IGetBrowserRequest} message GetBrowserRequest message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- GetBrowserRequest.encode = function encode(message, writer) {
- if (!writer)
- writer = $Writer.create();
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
- return writer;
- };
-
- /**
- * Encodes the specified GetBrowserRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.GetBrowserRequest.verify|verify} messages.
- * @function encodeDelimited
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {google.ads.admanager.v1.IGetBrowserRequest} message GetBrowserRequest message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- GetBrowserRequest.encodeDelimited = function encodeDelimited(message, writer) {
- return this.encode(message, writer).ldelim();
- };
-
- /**
- * Decodes a GetBrowserRequest message from the specified reader or buffer.
- * @function decode
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.GetBrowserRequest} GetBrowserRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- GetBrowserRequest.decode = function decode(reader, length, error) {
- if (!(reader instanceof $Reader))
- reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.GetBrowserRequest();
- while (reader.pos < end) {
- var tag = reader.uint32();
- if (tag === error)
- break;
- switch (tag >>> 3) {
- case 1: {
- message.name = reader.string();
- break;
- }
- default:
- reader.skipType(tag & 7);
- break;
- }
- }
- return message;
- };
-
- /**
- * Decodes a GetBrowserRequest message from the specified reader or buffer, length delimited.
- * @function decodeDelimited
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.GetBrowserRequest} GetBrowserRequest
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- GetBrowserRequest.decodeDelimited = function decodeDelimited(reader) {
- if (!(reader instanceof $Reader))
- reader = new $Reader(reader);
- return this.decode(reader, reader.uint32());
- };
-
- /**
- * Verifies a GetBrowserRequest message.
- * @function verify
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {Object.} message Plain object to verify
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
- */
- GetBrowserRequest.verify = function verify(message) {
- if (typeof message !== "object" || message === null)
- return "object expected";
- if (message.name != null && message.hasOwnProperty("name"))
- if (!$util.isString(message.name))
- return "name: string expected";
- return null;
- };
-
- /**
- * Creates a GetBrowserRequest message from a plain object. Also converts values to their respective internal types.
- * @function fromObject
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.GetBrowserRequest} GetBrowserRequest
- */
- GetBrowserRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.GetBrowserRequest)
- return object;
- var message = new $root.google.ads.admanager.v1.GetBrowserRequest();
- if (object.name != null)
- message.name = String(object.name);
- return message;
- };
-
- /**
- * Creates a plain object from a GetBrowserRequest message. Also converts values to other types if specified.
- * @function toObject
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {google.ads.admanager.v1.GetBrowserRequest} message GetBrowserRequest
- * @param {$protobuf.IConversionOptions} [options] Conversion options
- * @returns {Object.} Plain object
- */
- GetBrowserRequest.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (options.defaults)
- object.name = "";
- if (message.name != null && message.hasOwnProperty("name"))
- object.name = message.name;
- return object;
- };
-
- /**
- * Converts this GetBrowserRequest to JSON.
- * @function toJSON
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @instance
- * @returns {Object.} JSON object
- */
- GetBrowserRequest.prototype.toJSON = function toJSON() {
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
- };
-
- /**
- * Gets the default type url for GetBrowserRequest
- * @function getTypeUrl
- * @memberof google.ads.admanager.v1.GetBrowserRequest
- * @static
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
- * @returns {string} The default type url
- */
- GetBrowserRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
- if (typeUrlPrefix === undefined) {
- typeUrlPrefix = "type.googleapis.com";
- }
- return typeUrlPrefix + "/google.ads.admanager.v1.GetBrowserRequest";
- };
-
- return GetBrowserRequest;
- })();
-
- v1.ListBrowsersRequest = (function() {
-
- /**
- * Properties of a ListBrowsersRequest.
- * @memberof google.ads.admanager.v1
- * @interface IListBrowsersRequest
- * @property {string|null} [parent] ListBrowsersRequest parent
- * @property {number|null} [pageSize] ListBrowsersRequest pageSize
- * @property {string|null} [pageToken] ListBrowsersRequest pageToken
- * @property {string|null} [filter] ListBrowsersRequest filter
- * @property {string|null} [orderBy] ListBrowsersRequest orderBy
- * @property {number|null} [skip] ListBrowsersRequest skip
- */
-
- /**
- * Constructs a new ListBrowsersRequest.
- * @memberof google.ads.admanager.v1
- * @classdesc Represents a ListBrowsersRequest.
- * @implements IListBrowsersRequest
- * @constructor
- * @param {google.ads.admanager.v1.IListBrowsersRequest=} [properties] Properties to set
- */
- function ListBrowsersRequest(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
-
- /**
- * ListBrowsersRequest parent.
- * @member {string} parent
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
- * @instance
- */
- ListBrowsersRequest.prototype.parent = "";
-
- /**
- * ListBrowsersRequest pageSize.
- * @member {number} pageSize
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
- * @instance
- */
- ListBrowsersRequest.prototype.pageSize = 0;
-
- /**
- * ListBrowsersRequest pageToken.
- * @member {string} pageToken
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
- * @instance
- */
- ListBrowsersRequest.prototype.pageToken = "";
-
- /**
- * ListBrowsersRequest filter.
- * @member {string} filter
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
- * @instance
- */
- ListBrowsersRequest.prototype.filter = "";
-
- /**
- * ListBrowsersRequest orderBy.
- * @member {string} orderBy
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
- * @instance
- */
- ListBrowsersRequest.prototype.orderBy = "";
-
- /**
- * ListBrowsersRequest skip.
- * @member {number} skip
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
- * @instance
- */
- ListBrowsersRequest.prototype.skip = 0;
+ ListAudienceSegmentsRequest.prototype.skip = 0;
/**
- * Creates a new ListBrowsersRequest instance using the specified properties.
+ * Creates a new ListAudienceSegmentsRequest instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
- * @param {google.ads.admanager.v1.IListBrowsersRequest=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListBrowsersRequest} ListBrowsersRequest instance
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.ListAudienceSegmentsRequest} ListAudienceSegmentsRequest instance
*/
- ListBrowsersRequest.create = function create(properties) {
- return new ListBrowsersRequest(properties);
+ ListAudienceSegmentsRequest.create = function create(properties) {
+ return new ListAudienceSegmentsRequest(properties);
};
/**
- * Encodes the specified ListBrowsersRequest message. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersRequest.verify|verify} messages.
+ * Encodes the specified ListAudienceSegmentsRequest message. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsRequest.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
- * @param {google.ads.admanager.v1.IListBrowsersRequest} message ListBrowsersRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest} message ListAudienceSegmentsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBrowsersRequest.encode = function encode(message, writer) {
+ ListAudienceSegmentsRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
@@ -16571,33 +15989,33 @@
};
/**
- * Encodes the specified ListBrowsersRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersRequest.verify|verify} messages.
+ * Encodes the specified ListAudienceSegmentsRequest message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
- * @param {google.ads.admanager.v1.IListBrowsersRequest} message ListBrowsersRequest message or plain object to encode
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsRequest} message ListAudienceSegmentsRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBrowsersRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ ListAudienceSegmentsRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListBrowsersRequest message from the specified reader or buffer.
+ * Decodes a ListAudienceSegmentsRequest message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListBrowsersRequest} ListBrowsersRequest
+ * @returns {google.ads.admanager.v1.ListAudienceSegmentsRequest} ListAudienceSegmentsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBrowsersRequest.decode = function decode(reader, length, error) {
+ ListAudienceSegmentsRequest.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListBrowsersRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListAudienceSegmentsRequest();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
@@ -16636,30 +16054,30 @@
};
/**
- * Decodes a ListBrowsersRequest message from the specified reader or buffer, length delimited.
+ * Decodes a ListAudienceSegmentsRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListBrowsersRequest} ListBrowsersRequest
+ * @returns {google.ads.admanager.v1.ListAudienceSegmentsRequest} ListAudienceSegmentsRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBrowsersRequest.decodeDelimited = function decodeDelimited(reader) {
+ ListAudienceSegmentsRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListBrowsersRequest message.
+ * Verifies a ListAudienceSegmentsRequest message.
* @function verify
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListBrowsersRequest.verify = function verify(message) {
+ ListAudienceSegmentsRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.parent != null && message.hasOwnProperty("parent"))
@@ -16684,17 +16102,17 @@
};
/**
- * Creates a ListBrowsersRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListAudienceSegmentsRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListBrowsersRequest} ListBrowsersRequest
+ * @returns {google.ads.admanager.v1.ListAudienceSegmentsRequest} ListAudienceSegmentsRequest
*/
- ListBrowsersRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListBrowsersRequest)
+ ListAudienceSegmentsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.ListAudienceSegmentsRequest)
return object;
- var message = new $root.google.ads.admanager.v1.ListBrowsersRequest();
+ var message = new $root.google.ads.admanager.v1.ListAudienceSegmentsRequest();
if (object.parent != null)
message.parent = String(object.parent);
if (object.pageSize != null)
@@ -16711,15 +16129,15 @@
};
/**
- * Creates a plain object from a ListBrowsersRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a ListAudienceSegmentsRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
- * @param {google.ads.admanager.v1.ListBrowsersRequest} message ListBrowsersRequest
+ * @param {google.ads.admanager.v1.ListAudienceSegmentsRequest} message ListAudienceSegmentsRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListBrowsersRequest.toObject = function toObject(message, options) {
+ ListAudienceSegmentsRequest.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
@@ -16747,55 +16165,55 @@
};
/**
- * Converts this ListBrowsersRequest to JSON.
+ * Converts this ListAudienceSegmentsRequest to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @instance
* @returns {Object.} JSON object
*/
- ListBrowsersRequest.prototype.toJSON = function toJSON() {
+ ListAudienceSegmentsRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListBrowsersRequest
+ * Gets the default type url for ListAudienceSegmentsRequest
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListBrowsersRequest
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsRequest
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListBrowsersRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ ListAudienceSegmentsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListBrowsersRequest";
+ return typeUrlPrefix + "/google.ads.admanager.v1.ListAudienceSegmentsRequest";
};
- return ListBrowsersRequest;
+ return ListAudienceSegmentsRequest;
})();
- v1.ListBrowsersResponse = (function() {
+ v1.ListAudienceSegmentsResponse = (function() {
/**
- * Properties of a ListBrowsersResponse.
+ * Properties of a ListAudienceSegmentsResponse.
* @memberof google.ads.admanager.v1
- * @interface IListBrowsersResponse
- * @property {Array.|null} [browsers] ListBrowsersResponse browsers
- * @property {string|null} [nextPageToken] ListBrowsersResponse nextPageToken
- * @property {number|null} [totalSize] ListBrowsersResponse totalSize
+ * @interface IListAudienceSegmentsResponse
+ * @property {Array.|null} [audienceSegments] ListAudienceSegmentsResponse audienceSegments
+ * @property {string|null} [nextPageToken] ListAudienceSegmentsResponse nextPageToken
+ * @property {number|null} [totalSize] ListAudienceSegmentsResponse totalSize
*/
/**
- * Constructs a new ListBrowsersResponse.
+ * Constructs a new ListAudienceSegmentsResponse.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a ListBrowsersResponse.
- * @implements IListBrowsersResponse
+ * @classdesc Represents a ListAudienceSegmentsResponse.
+ * @implements IListAudienceSegmentsResponse
* @constructor
- * @param {google.ads.admanager.v1.IListBrowsersResponse=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsResponse=} [properties] Properties to set
*/
- function ListBrowsersResponse(properties) {
- this.browsers = [];
+ function ListAudienceSegmentsResponse(properties) {
+ this.audienceSegments = [];
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -16803,56 +16221,56 @@
}
/**
- * ListBrowsersResponse browsers.
- * @member {Array.} browsers
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * ListAudienceSegmentsResponse audienceSegments.
+ * @member {Array.} audienceSegments
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @instance
*/
- ListBrowsersResponse.prototype.browsers = $util.emptyArray;
+ ListAudienceSegmentsResponse.prototype.audienceSegments = $util.emptyArray;
/**
- * ListBrowsersResponse nextPageToken.
+ * ListAudienceSegmentsResponse nextPageToken.
* @member {string} nextPageToken
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @instance
*/
- ListBrowsersResponse.prototype.nextPageToken = "";
+ ListAudienceSegmentsResponse.prototype.nextPageToken = "";
/**
- * ListBrowsersResponse totalSize.
+ * ListAudienceSegmentsResponse totalSize.
* @member {number} totalSize
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @instance
*/
- ListBrowsersResponse.prototype.totalSize = 0;
+ ListAudienceSegmentsResponse.prototype.totalSize = 0;
/**
- * Creates a new ListBrowsersResponse instance using the specified properties.
+ * Creates a new ListAudienceSegmentsResponse instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
- * @param {google.ads.admanager.v1.IListBrowsersResponse=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.ListBrowsersResponse} ListBrowsersResponse instance
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsResponse=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.ListAudienceSegmentsResponse} ListAudienceSegmentsResponse instance
*/
- ListBrowsersResponse.create = function create(properties) {
- return new ListBrowsersResponse(properties);
+ ListAudienceSegmentsResponse.create = function create(properties) {
+ return new ListAudienceSegmentsResponse(properties);
};
/**
- * Encodes the specified ListBrowsersResponse message. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersResponse.verify|verify} messages.
+ * Encodes the specified ListAudienceSegmentsResponse message. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsResponse.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
- * @param {google.ads.admanager.v1.IListBrowsersResponse} message ListBrowsersResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsResponse} message ListAudienceSegmentsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBrowsersResponse.encode = function encode(message, writer) {
+ ListAudienceSegmentsResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.browsers != null && message.browsers.length)
- for (var i = 0; i < message.browsers.length; ++i)
- $root.google.ads.admanager.v1.Browser.encode(message.browsers[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.audienceSegments != null && message.audienceSegments.length)
+ for (var i = 0; i < message.audienceSegments.length; ++i)
+ $root.google.ads.admanager.v1.AudienceSegment.encode(message.audienceSegments[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
if (message.totalSize != null && Object.hasOwnProperty.call(message, "totalSize"))
@@ -16861,42 +16279,42 @@
};
/**
- * Encodes the specified ListBrowsersResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListBrowsersResponse.verify|verify} messages.
+ * Encodes the specified ListAudienceSegmentsResponse message, length delimited. Does not implicitly {@link google.ads.admanager.v1.ListAudienceSegmentsResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
- * @param {google.ads.admanager.v1.IListBrowsersResponse} message ListBrowsersResponse message or plain object to encode
+ * @param {google.ads.admanager.v1.IListAudienceSegmentsResponse} message ListAudienceSegmentsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- ListBrowsersResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ ListAudienceSegmentsResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a ListBrowsersResponse message from the specified reader or buffer.
+ * Decodes a ListAudienceSegmentsResponse message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.ListBrowsersResponse} ListBrowsersResponse
+ * @returns {google.ads.admanager.v1.ListAudienceSegmentsResponse} ListAudienceSegmentsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBrowsersResponse.decode = function decode(reader, length, error) {
+ ListAudienceSegmentsResponse.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListBrowsersResponse();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.ListAudienceSegmentsResponse();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
- if (!(message.browsers && message.browsers.length))
- message.browsers = [];
- message.browsers.push($root.google.ads.admanager.v1.Browser.decode(reader, reader.uint32()));
+ if (!(message.audienceSegments && message.audienceSegments.length))
+ message.audienceSegments = [];
+ message.audienceSegments.push($root.google.ads.admanager.v1.AudienceSegment.decode(reader, reader.uint32()));
break;
}
case 2: {
@@ -16916,39 +16334,39 @@
};
/**
- * Decodes a ListBrowsersResponse message from the specified reader or buffer, length delimited.
+ * Decodes a ListAudienceSegmentsResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.ListBrowsersResponse} ListBrowsersResponse
+ * @returns {google.ads.admanager.v1.ListAudienceSegmentsResponse} ListAudienceSegmentsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- ListBrowsersResponse.decodeDelimited = function decodeDelimited(reader) {
+ ListAudienceSegmentsResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a ListBrowsersResponse message.
+ * Verifies a ListAudienceSegmentsResponse message.
* @function verify
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- ListBrowsersResponse.verify = function verify(message) {
+ ListAudienceSegmentsResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.browsers != null && message.hasOwnProperty("browsers")) {
- if (!Array.isArray(message.browsers))
- return "browsers: array expected";
- for (var i = 0; i < message.browsers.length; ++i) {
- var error = $root.google.ads.admanager.v1.Browser.verify(message.browsers[i]);
+ if (message.audienceSegments != null && message.hasOwnProperty("audienceSegments")) {
+ if (!Array.isArray(message.audienceSegments))
+ return "audienceSegments: array expected";
+ for (var i = 0; i < message.audienceSegments.length; ++i) {
+ var error = $root.google.ads.admanager.v1.AudienceSegment.verify(message.audienceSegments[i]);
if (error)
- return "browsers." + error;
+ return "audienceSegments." + error;
}
}
if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
@@ -16961,26 +16379,26 @@
};
/**
- * Creates a ListBrowsersResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a ListAudienceSegmentsResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.ListBrowsersResponse} ListBrowsersResponse
+ * @returns {google.ads.admanager.v1.ListAudienceSegmentsResponse} ListAudienceSegmentsResponse
*/
- ListBrowsersResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.ListBrowsersResponse)
+ ListAudienceSegmentsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.ListAudienceSegmentsResponse)
return object;
- var message = new $root.google.ads.admanager.v1.ListBrowsersResponse();
- if (object.browsers) {
- if (!Array.isArray(object.browsers))
- throw TypeError(".google.ads.admanager.v1.ListBrowsersResponse.browsers: array expected");
- message.browsers = [];
- for (var i = 0; i < object.browsers.length; ++i) {
- if (typeof object.browsers[i] !== "object")
- throw TypeError(".google.ads.admanager.v1.ListBrowsersResponse.browsers: object expected");
- message.browsers[i] = $root.google.ads.admanager.v1.Browser.fromObject(object.browsers[i]);
- }
+ var message = new $root.google.ads.admanager.v1.ListAudienceSegmentsResponse();
+ if (object.audienceSegments) {
+ if (!Array.isArray(object.audienceSegments))
+ throw TypeError(".google.ads.admanager.v1.ListAudienceSegmentsResponse.audienceSegments: array expected");
+ message.audienceSegments = [];
+ for (var i = 0; i < object.audienceSegments.length; ++i) {
+ if (typeof object.audienceSegments[i] !== "object")
+ throw TypeError(".google.ads.admanager.v1.ListAudienceSegmentsResponse.audienceSegments: object expected");
+ message.audienceSegments[i] = $root.google.ads.admanager.v1.AudienceSegment.fromObject(object.audienceSegments[i]);
+ }
}
if (object.nextPageToken != null)
message.nextPageToken = String(object.nextPageToken);
@@ -16990,28 +16408,28 @@
};
/**
- * Creates a plain object from a ListBrowsersResponse message. Also converts values to other types if specified.
+ * Creates a plain object from a ListAudienceSegmentsResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
- * @param {google.ads.admanager.v1.ListBrowsersResponse} message ListBrowsersResponse
+ * @param {google.ads.admanager.v1.ListAudienceSegmentsResponse} message ListAudienceSegmentsResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- ListBrowsersResponse.toObject = function toObject(message, options) {
+ ListAudienceSegmentsResponse.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.arrays || options.defaults)
- object.browsers = [];
+ object.audienceSegments = [];
if (options.defaults) {
object.nextPageToken = "";
object.totalSize = 0;
}
- if (message.browsers && message.browsers.length) {
- object.browsers = [];
- for (var j = 0; j < message.browsers.length; ++j)
- object.browsers[j] = $root.google.ads.admanager.v1.Browser.toObject(message.browsers[j], options);
+ if (message.audienceSegments && message.audienceSegments.length) {
+ object.audienceSegments = [];
+ for (var j = 0; j < message.audienceSegments.length; ++j)
+ object.audienceSegments[j] = $root.google.ads.admanager.v1.AudienceSegment.toObject(message.audienceSegments[j], options);
}
if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
object.nextPageToken = message.nextPageToken;
@@ -17021,51 +16439,53 @@
};
/**
- * Converts this ListBrowsersResponse to JSON.
+ * Converts this ListAudienceSegmentsResponse to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @instance
* @returns {Object.} JSON object
*/
- ListBrowsersResponse.prototype.toJSON = function toJSON() {
+ ListAudienceSegmentsResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
- * Gets the default type url for ListBrowsersResponse
+ * Gets the default type url for ListAudienceSegmentsResponse
* @function getTypeUrl
- * @memberof google.ads.admanager.v1.ListBrowsersResponse
+ * @memberof google.ads.admanager.v1.ListAudienceSegmentsResponse
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
- ListBrowsersResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ ListAudienceSegmentsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
- return typeUrlPrefix + "/google.ads.admanager.v1.ListBrowsersResponse";
+ return typeUrlPrefix + "/google.ads.admanager.v1.ListAudienceSegmentsResponse";
};
- return ListBrowsersResponse;
+ return ListAudienceSegmentsResponse;
})();
- v1.CmsMetadataKeyStatusEnum = (function() {
+ v1.BandwidthGroup = (function() {
/**
- * Properties of a CmsMetadataKeyStatusEnum.
+ * Properties of a BandwidthGroup.
* @memberof google.ads.admanager.v1
- * @interface ICmsMetadataKeyStatusEnum
+ * @interface IBandwidthGroup
+ * @property {string|null} [name] BandwidthGroup name
+ * @property {string|null} [displayName] BandwidthGroup displayName
*/
/**
- * Constructs a new CmsMetadataKeyStatusEnum.
+ * Constructs a new BandwidthGroup.
* @memberof google.ads.admanager.v1
- * @classdesc Represents a CmsMetadataKeyStatusEnum.
- * @implements ICmsMetadataKeyStatusEnum
+ * @classdesc Represents a BandwidthGroup.
+ * @implements IBandwidthGroup
* @constructor
- * @param {google.ads.admanager.v1.ICmsMetadataKeyStatusEnum=} [properties] Properties to set
+ * @param {google.ads.admanager.v1.IBandwidthGroup=} [properties] Properties to set
*/
- function CmsMetadataKeyStatusEnum(properties) {
+ function BandwidthGroup(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -17073,65 +16493,108 @@
}
/**
- * Creates a new CmsMetadataKeyStatusEnum instance using the specified properties.
+ * BandwidthGroup name.
+ * @member {string|null|undefined} name
+ * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @instance
+ */
+ BandwidthGroup.prototype.name = null;
+
+ /**
+ * BandwidthGroup displayName.
+ * @member {string|null|undefined} displayName
+ * @memberof google.ads.admanager.v1.BandwidthGroup
+ * @instance
+ */
+ BandwidthGroup.prototype.displayName = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ // Virtual OneOf for proto3 optional field
+ Object.defineProperty(BandwidthGroup.prototype, "_name", {
+ get: $util.oneOfGetter($oneOfFields = ["name"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ // Virtual OneOf for proto3 optional field
+ Object.defineProperty(BandwidthGroup.prototype, "_displayName", {
+ get: $util.oneOfGetter($oneOfFields = ["displayName"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new BandwidthGroup instance using the specified properties.
* @function create
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @static
- * @param {google.ads.admanager.v1.ICmsMetadataKeyStatusEnum=} [properties] Properties to set
- * @returns {google.ads.admanager.v1.CmsMetadataKeyStatusEnum} CmsMetadataKeyStatusEnum instance
+ * @param {google.ads.admanager.v1.IBandwidthGroup=} [properties] Properties to set
+ * @returns {google.ads.admanager.v1.BandwidthGroup} BandwidthGroup instance
*/
- CmsMetadataKeyStatusEnum.create = function create(properties) {
- return new CmsMetadataKeyStatusEnum(properties);
+ BandwidthGroup.create = function create(properties) {
+ return new BandwidthGroup(properties);
};
/**
- * Encodes the specified CmsMetadataKeyStatusEnum message. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKeyStatusEnum.verify|verify} messages.
+ * Encodes the specified BandwidthGroup message. Does not implicitly {@link google.ads.admanager.v1.BandwidthGroup.verify|verify} messages.
* @function encode
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @static
- * @param {google.ads.admanager.v1.ICmsMetadataKeyStatusEnum} message CmsMetadataKeyStatusEnum message or plain object to encode
+ * @param {google.ads.admanager.v1.IBandwidthGroup} message BandwidthGroup message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- CmsMetadataKeyStatusEnum.encode = function encode(message, writer) {
+ BandwidthGroup.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
return writer;
};
/**
- * Encodes the specified CmsMetadataKeyStatusEnum message, length delimited. Does not implicitly {@link google.ads.admanager.v1.CmsMetadataKeyStatusEnum.verify|verify} messages.
+ * Encodes the specified BandwidthGroup message, length delimited. Does not implicitly {@link google.ads.admanager.v1.BandwidthGroup.verify|verify} messages.
* @function encodeDelimited
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @static
- * @param {google.ads.admanager.v1.ICmsMetadataKeyStatusEnum} message CmsMetadataKeyStatusEnum message or plain object to encode
+ * @param {google.ads.admanager.v1.IBandwidthGroup} message BandwidthGroup message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- CmsMetadataKeyStatusEnum.encodeDelimited = function encodeDelimited(message, writer) {
+ BandwidthGroup.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a CmsMetadataKeyStatusEnum message from the specified reader or buffer.
+ * Decodes a BandwidthGroup message from the specified reader or buffer.
* @function decode
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {google.ads.admanager.v1.CmsMetadataKeyStatusEnum} CmsMetadataKeyStatusEnum
+ * @returns {google.ads.admanager.v1.BandwidthGroup} BandwidthGroup
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- CmsMetadataKeyStatusEnum.decode = function decode(reader, length, error) {
+ BandwidthGroup.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.CmsMetadataKeyStatusEnum();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.ads.admanager.v1.BandwidthGroup();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.displayName = reader.string();
+ break;
+ }
default:
reader.skipType(tag & 7);
break;
@@ -17141,127 +16604,239 @@
};
/**
- * Decodes a CmsMetadataKeyStatusEnum message from the specified reader or buffer, length delimited.
+ * Decodes a BandwidthGroup message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {google.ads.admanager.v1.CmsMetadataKeyStatusEnum} CmsMetadataKeyStatusEnum
+ * @returns {google.ads.admanager.v1.BandwidthGroup} BandwidthGroup
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- CmsMetadataKeyStatusEnum.decodeDelimited = function decodeDelimited(reader) {
+ BandwidthGroup.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a CmsMetadataKeyStatusEnum message.
+ * Verifies a BandwidthGroup message.
* @function verify
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- CmsMetadataKeyStatusEnum.verify = function verify(message) {
+ BandwidthGroup.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
+ var properties = {};
+ if (message.name != null && message.hasOwnProperty("name")) {
+ properties._name = 1;
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName")) {
+ properties._displayName = 1;
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ }
return null;
};
/**
- * Creates a CmsMetadataKeyStatusEnum message from a plain object. Also converts values to their respective internal types.
+ * Creates a BandwidthGroup message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @static
* @param {Object.} object Plain object
- * @returns {google.ads.admanager.v1.CmsMetadataKeyStatusEnum} CmsMetadataKeyStatusEnum
+ * @returns {google.ads.admanager.v1.BandwidthGroup} BandwidthGroup
*/
- CmsMetadataKeyStatusEnum.fromObject = function fromObject(object) {
- if (object instanceof $root.google.ads.admanager.v1.CmsMetadataKeyStatusEnum)
+ BandwidthGroup.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.ads.admanager.v1.BandwidthGroup)
return object;
- return new $root.google.ads.admanager.v1.CmsMetadataKeyStatusEnum();
+ var message = new $root.google.ads.admanager.v1.BandwidthGroup();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ return message;
};
/**
- * Creates a plain object from a CmsMetadataKeyStatusEnum message. Also converts values to other types if specified.
+ * Creates a plain object from a BandwidthGroup message. Also converts values to other types if specified.
* @function toObject
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @static
- * @param {google.ads.admanager.v1.CmsMetadataKeyStatusEnum} message CmsMetadataKeyStatusEnum
+ * @param {google.ads.admanager.v1.BandwidthGroup} message BandwidthGroup
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- CmsMetadataKeyStatusEnum.toObject = function toObject() {
- return {};
+ BandwidthGroup.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.name != null && message.hasOwnProperty("name")) {
+ object.name = message.name;
+ if (options.oneofs)
+ object._name = "name";
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName")) {
+ object.displayName = message.displayName;
+ if (options.oneofs)
+ object._displayName = "displayName";
+ }
+ return object;
};
/**
- * Converts this CmsMetadataKeyStatusEnum to JSON.
+ * Converts this BandwidthGroup to JSON.
* @function toJSON
- * @memberof google.ads.admanager.v1.CmsMetadataKeyStatusEnum
+ * @memberof google.ads.admanager.v1.BandwidthGroup
* @instance
* @returns {Object.