@google-ads/admanager 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +152 -173
- package/build/protos/google/ads/admanager/v1/ad_break_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +62 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +237 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -7
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +6 -6
- package/build/protos/google/ads/admanager/v1/application_messages.proto +47 -0
- package/build/protos/google/ads/admanager/v1/application_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +49 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/browser_language_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/browser_messages.proto +51 -0
- package/build/protos/google/ads/admanager/v1/browser_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +41 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +50 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +61 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/company_messages.proto +14 -12
- package/build/protos/google/ads/admanager/v1/company_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/contact_enums.proto +57 -0
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +45 -2
- package/build/protos/google/ads/admanager/v1/contact_service.proto +244 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +53 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_label_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_label_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +63 -0
- package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +253 -0
- package/build/protos/google/ads/admanager/v1/creative_template_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +5 -2
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +185 -3
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +7 -6
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +9 -9
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/device_capability_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +46 -0
- package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +131 -0
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +48 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/order_messages.proto +7 -8
- package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/report_definition.proto +12478 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +118 -3410
- package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
- package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
- package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
- package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
- package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
- package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
- package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
- package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
- package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
- package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
- package/build/protos/protos.d.ts +30764 -11410
- package/build/protos/protos.js +93644 -43318
- package/build/protos/protos.json +9909 -3734
- package/build/src/index.d.ts +58 -1
- package/build/src/index.js +40 -2
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +441 -0
- package/build/src/v1/ad_break_service_client.js +624 -0
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +49 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +1607 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +2291 -0
- package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
- package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
- package/build/src/v1/ad_review_center_ad_service_proto_list.json +122 -0
- package/build/src/v1/ad_unit_service_client.d.ts +453 -12
- package/build/src/v1/ad_unit_service_client.js +632 -8
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_proto_list.json +49 -1
- package/build/src/v1/application_service_client.d.ts +1345 -0
- package/build/src/v1/application_service_client.js +1993 -0
- package/build/src/v1/application_service_client.js.map +1 -0
- package/build/src/v1/application_service_client_config.json +34 -0
- package/build/src/v1/application_service_proto_list.json +122 -0
- package/build/src/v1/audience_segment_service_client.d.ts +1345 -0
- package/build/src/v1/audience_segment_service_client.js +1993 -0
- package/build/src/v1/audience_segment_service_client.js.map +1 -0
- package/build/src/v1/audience_segment_service_client_config.json +34 -0
- package/build/src/v1/audience_segment_service_proto_list.json +122 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +447 -6
- package/build/src/v1/bandwidth_group_service_client.js +628 -4
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +49 -1
- package/build/src/v1/browser_language_service_client.d.ts +1345 -0
- package/build/src/v1/browser_language_service_client.js +1993 -0
- package/build/src/v1/browser_language_service_client.js.map +1 -0
- package/build/src/v1/browser_language_service_client_config.json +34 -0
- package/build/src/v1/browser_language_service_proto_list.json +122 -0
- package/build/src/v1/browser_service_client.d.ts +1345 -0
- package/build/src/v1/browser_service_client.js +1993 -0
- package/build/src/v1/browser_service_client.js.map +1 -0
- package/build/src/v1/browser_service_client_config.json +34 -0
- package/build/src/v1/browser_service_proto_list.json +122 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_key_service_client.js +1993 -0
- package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_key_service_proto_list.json +122 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_value_service_client.js +1993 -0
- package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_value_service_proto_list.json +122 -0
- package/build/src/v1/company_service_client.d.ts +447 -6
- package/build/src/v1/company_service_client.js +628 -4
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +49 -1
- package/build/src/v1/contact_service_client.d.ts +1456 -0
- package/build/src/v1/contact_service_client.js +2137 -0
- package/build/src/v1/contact_service_client.js.map +1 -0
- package/build/src/v1/contact_service_client_config.json +50 -0
- package/build/src/v1/contact_service_proto_list.json +122 -0
- package/build/src/v1/content_bundle_service_client.d.ts +1345 -0
- package/build/src/v1/content_bundle_service_client.js +1993 -0
- package/build/src/v1/content_bundle_service_client.js.map +1 -0
- package/build/src/v1/content_bundle_service_client_config.json +34 -0
- package/build/src/v1/content_bundle_service_proto_list.json +122 -0
- package/build/src/v1/content_label_service_client.d.ts +1345 -0
- package/build/src/v1/content_label_service_client.js +1993 -0
- package/build/src/v1/content_label_service_client.js.map +1 -0
- package/build/src/v1/content_label_service_client_config.json +34 -0
- package/build/src/v1/content_label_service_proto_list.json +122 -0
- package/build/src/v1/content_service_client.d.ts +1345 -0
- package/build/src/v1/content_service_client.js +1993 -0
- package/build/src/v1/content_service_client.js.map +1 -0
- package/build/src/v1/content_service_client_config.json +34 -0
- package/build/src/v1/content_service_proto_list.json +122 -0
- package/build/src/v1/creative_template_service_client.d.ts +1345 -0
- package/build/src/v1/creative_template_service_client.js +1993 -0
- package/build/src/v1/creative_template_service_client.js.map +1 -0
- package/build/src/v1/creative_template_service_client_config.json +34 -0
- package/build/src/v1/creative_template_service_proto_list.json +122 -0
- package/build/src/v1/custom_field_service_client.d.ts +610 -6
- package/build/src/v1/custom_field_service_client.js +845 -5
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_client_config.json +24 -0
- package/build/src/v1/custom_field_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_key_service_client.js +624 -0
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_value_service_client.js +624 -0
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +49 -1
- package/build/src/v1/device_capability_service_client.d.ts +1345 -0
- package/build/src/v1/device_capability_service_client.js +1993 -0
- package/build/src/v1/device_capability_service_client.js.map +1 -0
- package/build/src/v1/device_capability_service_client_config.json +34 -0
- package/build/src/v1/device_capability_service_proto_list.json +122 -0
- package/build/src/v1/device_category_service_client.d.ts +444 -3
- package/build/src/v1/device_category_service_client.js +626 -2
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +49 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +1346 -0
- package/build/src/v1/device_manufacturer_service_client.js +1993 -0
- package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
- package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
- package/build/src/v1/device_manufacturer_service_proto_list.json +122 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +441 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +624 -0
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +49 -1
- package/build/src/v1/gapic_metadata.json +1026 -4
- package/build/src/v1/geo_target_service_client.d.ts +447 -6
- package/build/src/v1/geo_target_service_client.js +628 -4
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +49 -1
- package/build/src/v1/index.d.ts +19 -0
- package/build/src/v1/index.js +39 -1
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/mobile_carrier_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_carrier_service_client.js +1993 -0
- package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
- package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
- package/build/src/v1/mobile_carrier_service_proto_list.json +122 -0
- package/build/src/v1/mobile_device_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_device_service_client.js +1993 -0
- package/build/src/v1/mobile_device_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_service_proto_list.json +122 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +1352 -0
- package/build/src/v1/mobile_device_submodel_service_client.js +1997 -0
- package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_submodel_service_proto_list.json +122 -0
- package/build/src/v1/network_service_client.d.ts +441 -0
- package/build/src/v1/network_service_client.js +624 -0
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_service_client.js +626 -2
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_version_service_client.js +626 -2
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +49 -1
- package/build/src/v1/order_service_client.d.ts +447 -6
- package/build/src/v1/order_service_client.js +628 -4
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +49 -1
- package/build/src/v1/placement_service_client.d.ts +638 -6
- package/build/src/v1/placement_service_client.js +937 -61
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_client_config.json +28 -0
- package/build/src/v1/placement_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_deal_service_client.js +626 -2
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_service_client.js +626 -2
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +49 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +441 -0
- package/build/src/v1/programmatic_buyer_service_client.js +624 -0
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +49 -1
- package/build/src/v1/report_service_client.d.ts +461 -17
- package/build/src/v1/report_service_client.js +634 -8
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +49 -1
- package/build/src/v1/role_service_client.d.ts +447 -3
- package/build/src/v1/role_service_client.js +628 -2
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +49 -1
- package/build/src/v1/site_service_client.d.ts +1506 -0
- package/build/src/v1/site_service_client.js +2209 -0
- package/build/src/v1/site_service_client.js.map +1 -0
- package/build/src/v1/site_service_client_config.json +58 -0
- package/build/src/v1/site_service_proto_list.json +122 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +441 -0
- package/build/src/v1/taxonomy_category_service_client.js +624 -0
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +49 -1
- package/build/src/v1/team_service_client.d.ts +1508 -0
- package/build/src/v1/team_service_client.js +2209 -0
- package/build/src/v1/team_service_client.js.map +1 -0
- package/build/src/v1/team_service_client_config.json +58 -0
- package/build/src/v1/team_service_proto_list.json +122 -0
- package/build/src/v1/user_service_client.d.ts +441 -0
- package/build/src/v1/user_service_client.js +624 -0
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +49 -1
- package/package.json +1 -1
|
@@ -168,18 +168,34 @@ class UserServiceClient {
|
|
|
168
168
|
// Create useful helper objects for these.
|
|
169
169
|
this.pathTemplates = {
|
|
170
170
|
adBreakPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}'),
|
|
171
|
+
adReviewCenterAdPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}'),
|
|
171
172
|
adUnitPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adUnits/{ad_unit}'),
|
|
173
|
+
applicationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/applications/{application}'),
|
|
174
|
+
audienceSegmentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/audienceSegments/{audience_segment}'),
|
|
172
175
|
bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
|
|
176
|
+
browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
|
|
177
|
+
browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
|
|
178
|
+
cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
|
|
179
|
+
cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
|
|
173
180
|
companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
|
|
174
181
|
contactPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contacts/{contact}'),
|
|
182
|
+
contentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/content/{content}'),
|
|
183
|
+
contentBundlePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentBundles/{content_bundle}'),
|
|
184
|
+
contentLabelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentLabels/{content_label}'),
|
|
185
|
+
creativeTemplatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeTemplates/{creative_template}'),
|
|
175
186
|
customFieldPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customFields/{custom_field}'),
|
|
176
187
|
customTargetingKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingKeys/{custom_targeting_key}'),
|
|
177
188
|
customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
|
|
189
|
+
deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
|
|
178
190
|
deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
|
|
191
|
+
deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
|
|
179
192
|
entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
|
|
180
193
|
geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
|
|
181
194
|
labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
|
|
182
195
|
liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
|
|
196
|
+
mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
|
|
197
|
+
mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
|
|
198
|
+
mobileDeviceSubmodelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}'),
|
|
183
199
|
networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
|
|
184
200
|
operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
|
|
185
201
|
operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
|
|
@@ -190,9 +206,11 @@ class UserServiceClient {
|
|
|
190
206
|
programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
|
|
191
207
|
reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
|
|
192
208
|
rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
|
|
209
|
+
sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
|
|
193
210
|
taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
|
|
194
211
|
teamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/teams/{team}'),
|
|
195
212
|
userPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/users/{user}'),
|
|
213
|
+
webPropertyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property}'),
|
|
196
214
|
};
|
|
197
215
|
// Put together the default options sent with requests.
|
|
198
216
|
this._defaults = this._gaxGrpc.constructSettings('google.ads.admanager.v1.UserService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
|
@@ -388,6 +406,51 @@ class UserServiceClient {
|
|
|
388
406
|
matchAdBreakFromAdBreakName(adBreakName) {
|
|
389
407
|
return this.pathTemplates.adBreakPathTemplate.match(adBreakName).ad_break;
|
|
390
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* Return a fully-qualified adReviewCenterAd resource name string.
|
|
411
|
+
*
|
|
412
|
+
* @param {string} network_code
|
|
413
|
+
* @param {string} web_property_code
|
|
414
|
+
* @param {string} ad_review_center_ad
|
|
415
|
+
* @returns {string} Resource name string.
|
|
416
|
+
*/
|
|
417
|
+
adReviewCenterAdPath(networkCode, webPropertyCode, adReviewCenterAd) {
|
|
418
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.render({
|
|
419
|
+
network_code: networkCode,
|
|
420
|
+
web_property_code: webPropertyCode,
|
|
421
|
+
ad_review_center_ad: adReviewCenterAd,
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Parse the network_code from AdReviewCenterAd resource.
|
|
426
|
+
*
|
|
427
|
+
* @param {string} adReviewCenterAdName
|
|
428
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
429
|
+
* @returns {string} A string representing the network_code.
|
|
430
|
+
*/
|
|
431
|
+
matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
432
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).network_code;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Parse the web_property_code from AdReviewCenterAd resource.
|
|
436
|
+
*
|
|
437
|
+
* @param {string} adReviewCenterAdName
|
|
438
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
439
|
+
* @returns {string} A string representing the web_property_code.
|
|
440
|
+
*/
|
|
441
|
+
matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
442
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).web_property_code;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Parse the ad_review_center_ad from AdReviewCenterAd resource.
|
|
446
|
+
*
|
|
447
|
+
* @param {string} adReviewCenterAdName
|
|
448
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
449
|
+
* @returns {string} A string representing the ad_review_center_ad.
|
|
450
|
+
*/
|
|
451
|
+
matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
452
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).ad_review_center_ad;
|
|
453
|
+
}
|
|
391
454
|
/**
|
|
392
455
|
* Return a fully-qualified adUnit resource name string.
|
|
393
456
|
*
|
|
@@ -421,6 +484,72 @@ class UserServiceClient {
|
|
|
421
484
|
matchAdUnitFromAdUnitName(adUnitName) {
|
|
422
485
|
return this.pathTemplates.adUnitPathTemplate.match(adUnitName).ad_unit;
|
|
423
486
|
}
|
|
487
|
+
/**
|
|
488
|
+
* Return a fully-qualified application resource name string.
|
|
489
|
+
*
|
|
490
|
+
* @param {string} network_code
|
|
491
|
+
* @param {string} application
|
|
492
|
+
* @returns {string} Resource name string.
|
|
493
|
+
*/
|
|
494
|
+
applicationPath(networkCode, application) {
|
|
495
|
+
return this.pathTemplates.applicationPathTemplate.render({
|
|
496
|
+
network_code: networkCode,
|
|
497
|
+
application: application,
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Parse the network_code from Application resource.
|
|
502
|
+
*
|
|
503
|
+
* @param {string} applicationName
|
|
504
|
+
* A fully-qualified path representing Application resource.
|
|
505
|
+
* @returns {string} A string representing the network_code.
|
|
506
|
+
*/
|
|
507
|
+
matchNetworkCodeFromApplicationName(applicationName) {
|
|
508
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Parse the application from Application resource.
|
|
512
|
+
*
|
|
513
|
+
* @param {string} applicationName
|
|
514
|
+
* A fully-qualified path representing Application resource.
|
|
515
|
+
* @returns {string} A string representing the application.
|
|
516
|
+
*/
|
|
517
|
+
matchApplicationFromApplicationName(applicationName) {
|
|
518
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Return a fully-qualified audienceSegment resource name string.
|
|
522
|
+
*
|
|
523
|
+
* @param {string} network_code
|
|
524
|
+
* @param {string} audience_segment
|
|
525
|
+
* @returns {string} Resource name string.
|
|
526
|
+
*/
|
|
527
|
+
audienceSegmentPath(networkCode, audienceSegment) {
|
|
528
|
+
return this.pathTemplates.audienceSegmentPathTemplate.render({
|
|
529
|
+
network_code: networkCode,
|
|
530
|
+
audience_segment: audienceSegment,
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Parse the network_code from AudienceSegment resource.
|
|
535
|
+
*
|
|
536
|
+
* @param {string} audienceSegmentName
|
|
537
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
538
|
+
* @returns {string} A string representing the network_code.
|
|
539
|
+
*/
|
|
540
|
+
matchNetworkCodeFromAudienceSegmentName(audienceSegmentName) {
|
|
541
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).network_code;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Parse the audience_segment from AudienceSegment resource.
|
|
545
|
+
*
|
|
546
|
+
* @param {string} audienceSegmentName
|
|
547
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
548
|
+
* @returns {string} A string representing the audience_segment.
|
|
549
|
+
*/
|
|
550
|
+
matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName) {
|
|
551
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).audience_segment;
|
|
552
|
+
}
|
|
424
553
|
/**
|
|
425
554
|
* Return a fully-qualified bandwidthGroup resource name string.
|
|
426
555
|
*
|
|
@@ -454,6 +583,138 @@ class UserServiceClient {
|
|
|
454
583
|
matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName) {
|
|
455
584
|
return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).bandwidth_group;
|
|
456
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* Return a fully-qualified browser resource name string.
|
|
588
|
+
*
|
|
589
|
+
* @param {string} network_code
|
|
590
|
+
* @param {string} browser
|
|
591
|
+
* @returns {string} Resource name string.
|
|
592
|
+
*/
|
|
593
|
+
browserPath(networkCode, browser) {
|
|
594
|
+
return this.pathTemplates.browserPathTemplate.render({
|
|
595
|
+
network_code: networkCode,
|
|
596
|
+
browser: browser,
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* Parse the network_code from Browser resource.
|
|
601
|
+
*
|
|
602
|
+
* @param {string} browserName
|
|
603
|
+
* A fully-qualified path representing Browser resource.
|
|
604
|
+
* @returns {string} A string representing the network_code.
|
|
605
|
+
*/
|
|
606
|
+
matchNetworkCodeFromBrowserName(browserName) {
|
|
607
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Parse the browser from Browser resource.
|
|
611
|
+
*
|
|
612
|
+
* @param {string} browserName
|
|
613
|
+
* A fully-qualified path representing Browser resource.
|
|
614
|
+
* @returns {string} A string representing the browser.
|
|
615
|
+
*/
|
|
616
|
+
matchBrowserFromBrowserName(browserName) {
|
|
617
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).browser;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* Return a fully-qualified browserLanguage resource name string.
|
|
621
|
+
*
|
|
622
|
+
* @param {string} network_code
|
|
623
|
+
* @param {string} browser_language
|
|
624
|
+
* @returns {string} Resource name string.
|
|
625
|
+
*/
|
|
626
|
+
browserLanguagePath(networkCode, browserLanguage) {
|
|
627
|
+
return this.pathTemplates.browserLanguagePathTemplate.render({
|
|
628
|
+
network_code: networkCode,
|
|
629
|
+
browser_language: browserLanguage,
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Parse the network_code from BrowserLanguage resource.
|
|
634
|
+
*
|
|
635
|
+
* @param {string} browserLanguageName
|
|
636
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
637
|
+
* @returns {string} A string representing the network_code.
|
|
638
|
+
*/
|
|
639
|
+
matchNetworkCodeFromBrowserLanguageName(browserLanguageName) {
|
|
640
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).network_code;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Parse the browser_language from BrowserLanguage resource.
|
|
644
|
+
*
|
|
645
|
+
* @param {string} browserLanguageName
|
|
646
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
647
|
+
* @returns {string} A string representing the browser_language.
|
|
648
|
+
*/
|
|
649
|
+
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
|
|
650
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
654
|
+
*
|
|
655
|
+
* @param {string} network_code
|
|
656
|
+
* @param {string} cms_metadata_key
|
|
657
|
+
* @returns {string} Resource name string.
|
|
658
|
+
*/
|
|
659
|
+
cmsMetadataKeyPath(networkCode, cmsMetadataKey) {
|
|
660
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.render({
|
|
661
|
+
network_code: networkCode,
|
|
662
|
+
cms_metadata_key: cmsMetadataKey,
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Parse the network_code from CmsMetadataKey resource.
|
|
667
|
+
*
|
|
668
|
+
* @param {string} cmsMetadataKeyName
|
|
669
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
670
|
+
* @returns {string} A string representing the network_code.
|
|
671
|
+
*/
|
|
672
|
+
matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
673
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).network_code;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Parse the cms_metadata_key from CmsMetadataKey resource.
|
|
677
|
+
*
|
|
678
|
+
* @param {string} cmsMetadataKeyName
|
|
679
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
680
|
+
* @returns {string} A string representing the cms_metadata_key.
|
|
681
|
+
*/
|
|
682
|
+
matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
683
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).cms_metadata_key;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* Return a fully-qualified cmsMetadataValue resource name string.
|
|
687
|
+
*
|
|
688
|
+
* @param {string} network_code
|
|
689
|
+
* @param {string} cms_metadata_value
|
|
690
|
+
* @returns {string} Resource name string.
|
|
691
|
+
*/
|
|
692
|
+
cmsMetadataValuePath(networkCode, cmsMetadataValue) {
|
|
693
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.render({
|
|
694
|
+
network_code: networkCode,
|
|
695
|
+
cms_metadata_value: cmsMetadataValue,
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Parse the network_code from CmsMetadataValue resource.
|
|
700
|
+
*
|
|
701
|
+
* @param {string} cmsMetadataValueName
|
|
702
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
703
|
+
* @returns {string} A string representing the network_code.
|
|
704
|
+
*/
|
|
705
|
+
matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
706
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).network_code;
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* Parse the cms_metadata_value from CmsMetadataValue resource.
|
|
710
|
+
*
|
|
711
|
+
* @param {string} cmsMetadataValueName
|
|
712
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
713
|
+
* @returns {string} A string representing the cms_metadata_value.
|
|
714
|
+
*/
|
|
715
|
+
matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
716
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).cms_metadata_value;
|
|
717
|
+
}
|
|
457
718
|
/**
|
|
458
719
|
* Return a fully-qualified company resource name string.
|
|
459
720
|
*
|
|
@@ -520,6 +781,138 @@ class UserServiceClient {
|
|
|
520
781
|
matchContactFromContactName(contactName) {
|
|
521
782
|
return this.pathTemplates.contactPathTemplate.match(contactName).contact;
|
|
522
783
|
}
|
|
784
|
+
/**
|
|
785
|
+
* Return a fully-qualified content resource name string.
|
|
786
|
+
*
|
|
787
|
+
* @param {string} network_code
|
|
788
|
+
* @param {string} content
|
|
789
|
+
* @returns {string} Resource name string.
|
|
790
|
+
*/
|
|
791
|
+
contentPath(networkCode, content) {
|
|
792
|
+
return this.pathTemplates.contentPathTemplate.render({
|
|
793
|
+
network_code: networkCode,
|
|
794
|
+
content: content,
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* Parse the network_code from Content resource.
|
|
799
|
+
*
|
|
800
|
+
* @param {string} contentName
|
|
801
|
+
* A fully-qualified path representing Content resource.
|
|
802
|
+
* @returns {string} A string representing the network_code.
|
|
803
|
+
*/
|
|
804
|
+
matchNetworkCodeFromContentName(contentName) {
|
|
805
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Parse the content from Content resource.
|
|
809
|
+
*
|
|
810
|
+
* @param {string} contentName
|
|
811
|
+
* A fully-qualified path representing Content resource.
|
|
812
|
+
* @returns {string} A string representing the content.
|
|
813
|
+
*/
|
|
814
|
+
matchContentFromContentName(contentName) {
|
|
815
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).content;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* Return a fully-qualified contentBundle resource name string.
|
|
819
|
+
*
|
|
820
|
+
* @param {string} network_code
|
|
821
|
+
* @param {string} content_bundle
|
|
822
|
+
* @returns {string} Resource name string.
|
|
823
|
+
*/
|
|
824
|
+
contentBundlePath(networkCode, contentBundle) {
|
|
825
|
+
return this.pathTemplates.contentBundlePathTemplate.render({
|
|
826
|
+
network_code: networkCode,
|
|
827
|
+
content_bundle: contentBundle,
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* Parse the network_code from ContentBundle resource.
|
|
832
|
+
*
|
|
833
|
+
* @param {string} contentBundleName
|
|
834
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
835
|
+
* @returns {string} A string representing the network_code.
|
|
836
|
+
*/
|
|
837
|
+
matchNetworkCodeFromContentBundleName(contentBundleName) {
|
|
838
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* Parse the content_bundle from ContentBundle resource.
|
|
842
|
+
*
|
|
843
|
+
* @param {string} contentBundleName
|
|
844
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
845
|
+
* @returns {string} A string representing the content_bundle.
|
|
846
|
+
*/
|
|
847
|
+
matchContentBundleFromContentBundleName(contentBundleName) {
|
|
848
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* Return a fully-qualified contentLabel resource name string.
|
|
852
|
+
*
|
|
853
|
+
* @param {string} network_code
|
|
854
|
+
* @param {string} content_label
|
|
855
|
+
* @returns {string} Resource name string.
|
|
856
|
+
*/
|
|
857
|
+
contentLabelPath(networkCode, contentLabel) {
|
|
858
|
+
return this.pathTemplates.contentLabelPathTemplate.render({
|
|
859
|
+
network_code: networkCode,
|
|
860
|
+
content_label: contentLabel,
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* Parse the network_code from ContentLabel resource.
|
|
865
|
+
*
|
|
866
|
+
* @param {string} contentLabelName
|
|
867
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
868
|
+
* @returns {string} A string representing the network_code.
|
|
869
|
+
*/
|
|
870
|
+
matchNetworkCodeFromContentLabelName(contentLabelName) {
|
|
871
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* Parse the content_label from ContentLabel resource.
|
|
875
|
+
*
|
|
876
|
+
* @param {string} contentLabelName
|
|
877
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
878
|
+
* @returns {string} A string representing the content_label.
|
|
879
|
+
*/
|
|
880
|
+
matchContentLabelFromContentLabelName(contentLabelName) {
|
|
881
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* Return a fully-qualified creativeTemplate resource name string.
|
|
885
|
+
*
|
|
886
|
+
* @param {string} network_code
|
|
887
|
+
* @param {string} creative_template
|
|
888
|
+
* @returns {string} Resource name string.
|
|
889
|
+
*/
|
|
890
|
+
creativeTemplatePath(networkCode, creativeTemplate) {
|
|
891
|
+
return this.pathTemplates.creativeTemplatePathTemplate.render({
|
|
892
|
+
network_code: networkCode,
|
|
893
|
+
creative_template: creativeTemplate,
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* Parse the network_code from CreativeTemplate resource.
|
|
898
|
+
*
|
|
899
|
+
* @param {string} creativeTemplateName
|
|
900
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
901
|
+
* @returns {string} A string representing the network_code.
|
|
902
|
+
*/
|
|
903
|
+
matchNetworkCodeFromCreativeTemplateName(creativeTemplateName) {
|
|
904
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).network_code;
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Parse the creative_template from CreativeTemplate resource.
|
|
908
|
+
*
|
|
909
|
+
* @param {string} creativeTemplateName
|
|
910
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
911
|
+
* @returns {string} A string representing the creative_template.
|
|
912
|
+
*/
|
|
913
|
+
matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
|
|
914
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
|
|
915
|
+
}
|
|
523
916
|
/**
|
|
524
917
|
* Return a fully-qualified customField resource name string.
|
|
525
918
|
*
|
|
@@ -619,6 +1012,39 @@ class UserServiceClient {
|
|
|
619
1012
|
matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
|
|
620
1013
|
return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
|
|
621
1014
|
}
|
|
1015
|
+
/**
|
|
1016
|
+
* Return a fully-qualified deviceCapability resource name string.
|
|
1017
|
+
*
|
|
1018
|
+
* @param {string} network_code
|
|
1019
|
+
* @param {string} device_capability
|
|
1020
|
+
* @returns {string} Resource name string.
|
|
1021
|
+
*/
|
|
1022
|
+
deviceCapabilityPath(networkCode, deviceCapability) {
|
|
1023
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.render({
|
|
1024
|
+
network_code: networkCode,
|
|
1025
|
+
device_capability: deviceCapability,
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* Parse the network_code from DeviceCapability resource.
|
|
1030
|
+
*
|
|
1031
|
+
* @param {string} deviceCapabilityName
|
|
1032
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1033
|
+
* @returns {string} A string representing the network_code.
|
|
1034
|
+
*/
|
|
1035
|
+
matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1036
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).network_code;
|
|
1037
|
+
}
|
|
1038
|
+
/**
|
|
1039
|
+
* Parse the device_capability from DeviceCapability resource.
|
|
1040
|
+
*
|
|
1041
|
+
* @param {string} deviceCapabilityName
|
|
1042
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1043
|
+
* @returns {string} A string representing the device_capability.
|
|
1044
|
+
*/
|
|
1045
|
+
matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1046
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).device_capability;
|
|
1047
|
+
}
|
|
622
1048
|
/**
|
|
623
1049
|
* Return a fully-qualified deviceCategory resource name string.
|
|
624
1050
|
*
|
|
@@ -652,6 +1078,39 @@ class UserServiceClient {
|
|
|
652
1078
|
matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName) {
|
|
653
1079
|
return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).device_category;
|
|
654
1080
|
}
|
|
1081
|
+
/**
|
|
1082
|
+
* Return a fully-qualified deviceManufacturer resource name string.
|
|
1083
|
+
*
|
|
1084
|
+
* @param {string} network_code
|
|
1085
|
+
* @param {string} device_manufacturer
|
|
1086
|
+
* @returns {string} Resource name string.
|
|
1087
|
+
*/
|
|
1088
|
+
deviceManufacturerPath(networkCode, deviceManufacturer) {
|
|
1089
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.render({
|
|
1090
|
+
network_code: networkCode,
|
|
1091
|
+
device_manufacturer: deviceManufacturer,
|
|
1092
|
+
});
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* Parse the network_code from DeviceManufacturer resource.
|
|
1096
|
+
*
|
|
1097
|
+
* @param {string} deviceManufacturerName
|
|
1098
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1099
|
+
* @returns {string} A string representing the network_code.
|
|
1100
|
+
*/
|
|
1101
|
+
matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1102
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).network_code;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Parse the device_manufacturer from DeviceManufacturer resource.
|
|
1106
|
+
*
|
|
1107
|
+
* @param {string} deviceManufacturerName
|
|
1108
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1109
|
+
* @returns {string} A string representing the device_manufacturer.
|
|
1110
|
+
*/
|
|
1111
|
+
matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1112
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).device_manufacturer;
|
|
1113
|
+
}
|
|
655
1114
|
/**
|
|
656
1115
|
* Return a fully-qualified entitySignalsMapping resource name string.
|
|
657
1116
|
*
|
|
@@ -784,6 +1243,105 @@ class UserServiceClient {
|
|
|
784
1243
|
matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName) {
|
|
785
1244
|
return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).live_stream_event;
|
|
786
1245
|
}
|
|
1246
|
+
/**
|
|
1247
|
+
* Return a fully-qualified mobileCarrier resource name string.
|
|
1248
|
+
*
|
|
1249
|
+
* @param {string} network_code
|
|
1250
|
+
* @param {string} mobile_carrier
|
|
1251
|
+
* @returns {string} Resource name string.
|
|
1252
|
+
*/
|
|
1253
|
+
mobileCarrierPath(networkCode, mobileCarrier) {
|
|
1254
|
+
return this.pathTemplates.mobileCarrierPathTemplate.render({
|
|
1255
|
+
network_code: networkCode,
|
|
1256
|
+
mobile_carrier: mobileCarrier,
|
|
1257
|
+
});
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Parse the network_code from MobileCarrier resource.
|
|
1261
|
+
*
|
|
1262
|
+
* @param {string} mobileCarrierName
|
|
1263
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1264
|
+
* @returns {string} A string representing the network_code.
|
|
1265
|
+
*/
|
|
1266
|
+
matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
|
|
1267
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Parse the mobile_carrier from MobileCarrier resource.
|
|
1271
|
+
*
|
|
1272
|
+
* @param {string} mobileCarrierName
|
|
1273
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1274
|
+
* @returns {string} A string representing the mobile_carrier.
|
|
1275
|
+
*/
|
|
1276
|
+
matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
|
|
1277
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* Return a fully-qualified mobileDevice resource name string.
|
|
1281
|
+
*
|
|
1282
|
+
* @param {string} network_code
|
|
1283
|
+
* @param {string} mobile_device
|
|
1284
|
+
* @returns {string} Resource name string.
|
|
1285
|
+
*/
|
|
1286
|
+
mobileDevicePath(networkCode, mobileDevice) {
|
|
1287
|
+
return this.pathTemplates.mobileDevicePathTemplate.render({
|
|
1288
|
+
network_code: networkCode,
|
|
1289
|
+
mobile_device: mobileDevice,
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* Parse the network_code from MobileDevice resource.
|
|
1294
|
+
*
|
|
1295
|
+
* @param {string} mobileDeviceName
|
|
1296
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1297
|
+
* @returns {string} A string representing the network_code.
|
|
1298
|
+
*/
|
|
1299
|
+
matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
|
|
1300
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
|
|
1301
|
+
}
|
|
1302
|
+
/**
|
|
1303
|
+
* Parse the mobile_device from MobileDevice resource.
|
|
1304
|
+
*
|
|
1305
|
+
* @param {string} mobileDeviceName
|
|
1306
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1307
|
+
* @returns {string} A string representing the mobile_device.
|
|
1308
|
+
*/
|
|
1309
|
+
matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
|
|
1310
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
|
|
1311
|
+
}
|
|
1312
|
+
/**
|
|
1313
|
+
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
1314
|
+
*
|
|
1315
|
+
* @param {string} network_code
|
|
1316
|
+
* @param {string} mobile_device_submodel
|
|
1317
|
+
* @returns {string} Resource name string.
|
|
1318
|
+
*/
|
|
1319
|
+
mobileDeviceSubmodelPath(networkCode, mobileDeviceSubmodel) {
|
|
1320
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.render({
|
|
1321
|
+
network_code: networkCode,
|
|
1322
|
+
mobile_device_submodel: mobileDeviceSubmodel,
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* Parse the network_code from MobileDeviceSubmodel resource.
|
|
1327
|
+
*
|
|
1328
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1329
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1330
|
+
* @returns {string} A string representing the network_code.
|
|
1331
|
+
*/
|
|
1332
|
+
matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1333
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).network_code;
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
|
|
1337
|
+
*
|
|
1338
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1339
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1340
|
+
* @returns {string} A string representing the mobile_device_submodel.
|
|
1341
|
+
*/
|
|
1342
|
+
matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1343
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
|
|
1344
|
+
}
|
|
787
1345
|
/**
|
|
788
1346
|
* Return a fully-qualified network resource name string.
|
|
789
1347
|
*
|
|
@@ -1102,6 +1660,39 @@ class UserServiceClient {
|
|
|
1102
1660
|
matchRoleFromRoleName(roleName) {
|
|
1103
1661
|
return this.pathTemplates.rolePathTemplate.match(roleName).role;
|
|
1104
1662
|
}
|
|
1663
|
+
/**
|
|
1664
|
+
* Return a fully-qualified site resource name string.
|
|
1665
|
+
*
|
|
1666
|
+
* @param {string} network_code
|
|
1667
|
+
* @param {string} site
|
|
1668
|
+
* @returns {string} Resource name string.
|
|
1669
|
+
*/
|
|
1670
|
+
sitePath(networkCode, site) {
|
|
1671
|
+
return this.pathTemplates.sitePathTemplate.render({
|
|
1672
|
+
network_code: networkCode,
|
|
1673
|
+
site: site,
|
|
1674
|
+
});
|
|
1675
|
+
}
|
|
1676
|
+
/**
|
|
1677
|
+
* Parse the network_code from Site resource.
|
|
1678
|
+
*
|
|
1679
|
+
* @param {string} siteName
|
|
1680
|
+
* A fully-qualified path representing Site resource.
|
|
1681
|
+
* @returns {string} A string representing the network_code.
|
|
1682
|
+
*/
|
|
1683
|
+
matchNetworkCodeFromSiteName(siteName) {
|
|
1684
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).network_code;
|
|
1685
|
+
}
|
|
1686
|
+
/**
|
|
1687
|
+
* Parse the site from Site resource.
|
|
1688
|
+
*
|
|
1689
|
+
* @param {string} siteName
|
|
1690
|
+
* A fully-qualified path representing Site resource.
|
|
1691
|
+
* @returns {string} A string representing the site.
|
|
1692
|
+
*/
|
|
1693
|
+
matchSiteFromSiteName(siteName) {
|
|
1694
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).site;
|
|
1695
|
+
}
|
|
1105
1696
|
/**
|
|
1106
1697
|
* Return a fully-qualified taxonomyCategory resource name string.
|
|
1107
1698
|
*
|
|
@@ -1201,6 +1792,39 @@ class UserServiceClient {
|
|
|
1201
1792
|
matchUserFromUserName(userName) {
|
|
1202
1793
|
return this.pathTemplates.userPathTemplate.match(userName).user;
|
|
1203
1794
|
}
|
|
1795
|
+
/**
|
|
1796
|
+
* Return a fully-qualified webProperty resource name string.
|
|
1797
|
+
*
|
|
1798
|
+
* @param {string} network_code
|
|
1799
|
+
* @param {string} web_property
|
|
1800
|
+
* @returns {string} Resource name string.
|
|
1801
|
+
*/
|
|
1802
|
+
webPropertyPath(networkCode, webProperty) {
|
|
1803
|
+
return this.pathTemplates.webPropertyPathTemplate.render({
|
|
1804
|
+
network_code: networkCode,
|
|
1805
|
+
web_property: webProperty,
|
|
1806
|
+
});
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* Parse the network_code from WebProperty resource.
|
|
1810
|
+
*
|
|
1811
|
+
* @param {string} webPropertyName
|
|
1812
|
+
* A fully-qualified path representing WebProperty resource.
|
|
1813
|
+
* @returns {string} A string representing the network_code.
|
|
1814
|
+
*/
|
|
1815
|
+
matchNetworkCodeFromWebPropertyName(webPropertyName) {
|
|
1816
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
|
|
1817
|
+
}
|
|
1818
|
+
/**
|
|
1819
|
+
* Parse the web_property from WebProperty resource.
|
|
1820
|
+
*
|
|
1821
|
+
* @param {string} webPropertyName
|
|
1822
|
+
* A fully-qualified path representing WebProperty resource.
|
|
1823
|
+
* @returns {string} A string representing the web_property.
|
|
1824
|
+
*/
|
|
1825
|
+
matchWebPropertyFromWebPropertyName(webPropertyName) {
|
|
1826
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
|
|
1827
|
+
}
|
|
1204
1828
|
/**
|
|
1205
1829
|
* Terminate the gRPC channel and close the client.
|
|
1206
1830
|
*
|