@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 NetworkServiceClient {
|
|
|
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 NetworkServiceClient {
|
|
|
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.NetworkService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
|
@@ -421,6 +439,51 @@ class NetworkServiceClient {
|
|
|
421
439
|
matchAdBreakFromAdBreakName(adBreakName) {
|
|
422
440
|
return this.pathTemplates.adBreakPathTemplate.match(adBreakName).ad_break;
|
|
423
441
|
}
|
|
442
|
+
/**
|
|
443
|
+
* Return a fully-qualified adReviewCenterAd resource name string.
|
|
444
|
+
*
|
|
445
|
+
* @param {string} network_code
|
|
446
|
+
* @param {string} web_property_code
|
|
447
|
+
* @param {string} ad_review_center_ad
|
|
448
|
+
* @returns {string} Resource name string.
|
|
449
|
+
*/
|
|
450
|
+
adReviewCenterAdPath(networkCode, webPropertyCode, adReviewCenterAd) {
|
|
451
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.render({
|
|
452
|
+
network_code: networkCode,
|
|
453
|
+
web_property_code: webPropertyCode,
|
|
454
|
+
ad_review_center_ad: adReviewCenterAd,
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Parse the network_code from AdReviewCenterAd resource.
|
|
459
|
+
*
|
|
460
|
+
* @param {string} adReviewCenterAdName
|
|
461
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
462
|
+
* @returns {string} A string representing the network_code.
|
|
463
|
+
*/
|
|
464
|
+
matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
465
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).network_code;
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* Parse the web_property_code from AdReviewCenterAd resource.
|
|
469
|
+
*
|
|
470
|
+
* @param {string} adReviewCenterAdName
|
|
471
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
472
|
+
* @returns {string} A string representing the web_property_code.
|
|
473
|
+
*/
|
|
474
|
+
matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
475
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).web_property_code;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Parse the ad_review_center_ad from AdReviewCenterAd resource.
|
|
479
|
+
*
|
|
480
|
+
* @param {string} adReviewCenterAdName
|
|
481
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
482
|
+
* @returns {string} A string representing the ad_review_center_ad.
|
|
483
|
+
*/
|
|
484
|
+
matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
485
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).ad_review_center_ad;
|
|
486
|
+
}
|
|
424
487
|
/**
|
|
425
488
|
* Return a fully-qualified adUnit resource name string.
|
|
426
489
|
*
|
|
@@ -454,6 +517,72 @@ class NetworkServiceClient {
|
|
|
454
517
|
matchAdUnitFromAdUnitName(adUnitName) {
|
|
455
518
|
return this.pathTemplates.adUnitPathTemplate.match(adUnitName).ad_unit;
|
|
456
519
|
}
|
|
520
|
+
/**
|
|
521
|
+
* Return a fully-qualified application resource name string.
|
|
522
|
+
*
|
|
523
|
+
* @param {string} network_code
|
|
524
|
+
* @param {string} application
|
|
525
|
+
* @returns {string} Resource name string.
|
|
526
|
+
*/
|
|
527
|
+
applicationPath(networkCode, application) {
|
|
528
|
+
return this.pathTemplates.applicationPathTemplate.render({
|
|
529
|
+
network_code: networkCode,
|
|
530
|
+
application: application,
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Parse the network_code from Application resource.
|
|
535
|
+
*
|
|
536
|
+
* @param {string} applicationName
|
|
537
|
+
* A fully-qualified path representing Application resource.
|
|
538
|
+
* @returns {string} A string representing the network_code.
|
|
539
|
+
*/
|
|
540
|
+
matchNetworkCodeFromApplicationName(applicationName) {
|
|
541
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Parse the application from Application resource.
|
|
545
|
+
*
|
|
546
|
+
* @param {string} applicationName
|
|
547
|
+
* A fully-qualified path representing Application resource.
|
|
548
|
+
* @returns {string} A string representing the application.
|
|
549
|
+
*/
|
|
550
|
+
matchApplicationFromApplicationName(applicationName) {
|
|
551
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* Return a fully-qualified audienceSegment resource name string.
|
|
555
|
+
*
|
|
556
|
+
* @param {string} network_code
|
|
557
|
+
* @param {string} audience_segment
|
|
558
|
+
* @returns {string} Resource name string.
|
|
559
|
+
*/
|
|
560
|
+
audienceSegmentPath(networkCode, audienceSegment) {
|
|
561
|
+
return this.pathTemplates.audienceSegmentPathTemplate.render({
|
|
562
|
+
network_code: networkCode,
|
|
563
|
+
audience_segment: audienceSegment,
|
|
564
|
+
});
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* Parse the network_code from AudienceSegment resource.
|
|
568
|
+
*
|
|
569
|
+
* @param {string} audienceSegmentName
|
|
570
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
571
|
+
* @returns {string} A string representing the network_code.
|
|
572
|
+
*/
|
|
573
|
+
matchNetworkCodeFromAudienceSegmentName(audienceSegmentName) {
|
|
574
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).network_code;
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Parse the audience_segment from AudienceSegment resource.
|
|
578
|
+
*
|
|
579
|
+
* @param {string} audienceSegmentName
|
|
580
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
581
|
+
* @returns {string} A string representing the audience_segment.
|
|
582
|
+
*/
|
|
583
|
+
matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName) {
|
|
584
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).audience_segment;
|
|
585
|
+
}
|
|
457
586
|
/**
|
|
458
587
|
* Return a fully-qualified bandwidthGroup resource name string.
|
|
459
588
|
*
|
|
@@ -487,6 +616,138 @@ class NetworkServiceClient {
|
|
|
487
616
|
matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName) {
|
|
488
617
|
return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).bandwidth_group;
|
|
489
618
|
}
|
|
619
|
+
/**
|
|
620
|
+
* Return a fully-qualified browser resource name string.
|
|
621
|
+
*
|
|
622
|
+
* @param {string} network_code
|
|
623
|
+
* @param {string} browser
|
|
624
|
+
* @returns {string} Resource name string.
|
|
625
|
+
*/
|
|
626
|
+
browserPath(networkCode, browser) {
|
|
627
|
+
return this.pathTemplates.browserPathTemplate.render({
|
|
628
|
+
network_code: networkCode,
|
|
629
|
+
browser: browser,
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Parse the network_code from Browser resource.
|
|
634
|
+
*
|
|
635
|
+
* @param {string} browserName
|
|
636
|
+
* A fully-qualified path representing Browser resource.
|
|
637
|
+
* @returns {string} A string representing the network_code.
|
|
638
|
+
*/
|
|
639
|
+
matchNetworkCodeFromBrowserName(browserName) {
|
|
640
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Parse the browser from Browser resource.
|
|
644
|
+
*
|
|
645
|
+
* @param {string} browserName
|
|
646
|
+
* A fully-qualified path representing Browser resource.
|
|
647
|
+
* @returns {string} A string representing the browser.
|
|
648
|
+
*/
|
|
649
|
+
matchBrowserFromBrowserName(browserName) {
|
|
650
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).browser;
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Return a fully-qualified browserLanguage resource name string.
|
|
654
|
+
*
|
|
655
|
+
* @param {string} network_code
|
|
656
|
+
* @param {string} browser_language
|
|
657
|
+
* @returns {string} Resource name string.
|
|
658
|
+
*/
|
|
659
|
+
browserLanguagePath(networkCode, browserLanguage) {
|
|
660
|
+
return this.pathTemplates.browserLanguagePathTemplate.render({
|
|
661
|
+
network_code: networkCode,
|
|
662
|
+
browser_language: browserLanguage,
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Parse the network_code from BrowserLanguage resource.
|
|
667
|
+
*
|
|
668
|
+
* @param {string} browserLanguageName
|
|
669
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
670
|
+
* @returns {string} A string representing the network_code.
|
|
671
|
+
*/
|
|
672
|
+
matchNetworkCodeFromBrowserLanguageName(browserLanguageName) {
|
|
673
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).network_code;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Parse the browser_language from BrowserLanguage resource.
|
|
677
|
+
*
|
|
678
|
+
* @param {string} browserLanguageName
|
|
679
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
680
|
+
* @returns {string} A string representing the browser_language.
|
|
681
|
+
*/
|
|
682
|
+
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
|
|
683
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
687
|
+
*
|
|
688
|
+
* @param {string} network_code
|
|
689
|
+
* @param {string} cms_metadata_key
|
|
690
|
+
* @returns {string} Resource name string.
|
|
691
|
+
*/
|
|
692
|
+
cmsMetadataKeyPath(networkCode, cmsMetadataKey) {
|
|
693
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.render({
|
|
694
|
+
network_code: networkCode,
|
|
695
|
+
cms_metadata_key: cmsMetadataKey,
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Parse the network_code from CmsMetadataKey resource.
|
|
700
|
+
*
|
|
701
|
+
* @param {string} cmsMetadataKeyName
|
|
702
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
703
|
+
* @returns {string} A string representing the network_code.
|
|
704
|
+
*/
|
|
705
|
+
matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
706
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).network_code;
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* Parse the cms_metadata_key from CmsMetadataKey resource.
|
|
710
|
+
*
|
|
711
|
+
* @param {string} cmsMetadataKeyName
|
|
712
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
713
|
+
* @returns {string} A string representing the cms_metadata_key.
|
|
714
|
+
*/
|
|
715
|
+
matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
716
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).cms_metadata_key;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* Return a fully-qualified cmsMetadataValue resource name string.
|
|
720
|
+
*
|
|
721
|
+
* @param {string} network_code
|
|
722
|
+
* @param {string} cms_metadata_value
|
|
723
|
+
* @returns {string} Resource name string.
|
|
724
|
+
*/
|
|
725
|
+
cmsMetadataValuePath(networkCode, cmsMetadataValue) {
|
|
726
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.render({
|
|
727
|
+
network_code: networkCode,
|
|
728
|
+
cms_metadata_value: cmsMetadataValue,
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* Parse the network_code from CmsMetadataValue resource.
|
|
733
|
+
*
|
|
734
|
+
* @param {string} cmsMetadataValueName
|
|
735
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
736
|
+
* @returns {string} A string representing the network_code.
|
|
737
|
+
*/
|
|
738
|
+
matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
739
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).network_code;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* Parse the cms_metadata_value from CmsMetadataValue resource.
|
|
743
|
+
*
|
|
744
|
+
* @param {string} cmsMetadataValueName
|
|
745
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
746
|
+
* @returns {string} A string representing the cms_metadata_value.
|
|
747
|
+
*/
|
|
748
|
+
matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
749
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).cms_metadata_value;
|
|
750
|
+
}
|
|
490
751
|
/**
|
|
491
752
|
* Return a fully-qualified company resource name string.
|
|
492
753
|
*
|
|
@@ -553,6 +814,138 @@ class NetworkServiceClient {
|
|
|
553
814
|
matchContactFromContactName(contactName) {
|
|
554
815
|
return this.pathTemplates.contactPathTemplate.match(contactName).contact;
|
|
555
816
|
}
|
|
817
|
+
/**
|
|
818
|
+
* Return a fully-qualified content resource name string.
|
|
819
|
+
*
|
|
820
|
+
* @param {string} network_code
|
|
821
|
+
* @param {string} content
|
|
822
|
+
* @returns {string} Resource name string.
|
|
823
|
+
*/
|
|
824
|
+
contentPath(networkCode, content) {
|
|
825
|
+
return this.pathTemplates.contentPathTemplate.render({
|
|
826
|
+
network_code: networkCode,
|
|
827
|
+
content: content,
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* Parse the network_code from Content resource.
|
|
832
|
+
*
|
|
833
|
+
* @param {string} contentName
|
|
834
|
+
* A fully-qualified path representing Content resource.
|
|
835
|
+
* @returns {string} A string representing the network_code.
|
|
836
|
+
*/
|
|
837
|
+
matchNetworkCodeFromContentName(contentName) {
|
|
838
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* Parse the content from Content resource.
|
|
842
|
+
*
|
|
843
|
+
* @param {string} contentName
|
|
844
|
+
* A fully-qualified path representing Content resource.
|
|
845
|
+
* @returns {string} A string representing the content.
|
|
846
|
+
*/
|
|
847
|
+
matchContentFromContentName(contentName) {
|
|
848
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).content;
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* Return a fully-qualified contentBundle resource name string.
|
|
852
|
+
*
|
|
853
|
+
* @param {string} network_code
|
|
854
|
+
* @param {string} content_bundle
|
|
855
|
+
* @returns {string} Resource name string.
|
|
856
|
+
*/
|
|
857
|
+
contentBundlePath(networkCode, contentBundle) {
|
|
858
|
+
return this.pathTemplates.contentBundlePathTemplate.render({
|
|
859
|
+
network_code: networkCode,
|
|
860
|
+
content_bundle: contentBundle,
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* Parse the network_code from ContentBundle resource.
|
|
865
|
+
*
|
|
866
|
+
* @param {string} contentBundleName
|
|
867
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
868
|
+
* @returns {string} A string representing the network_code.
|
|
869
|
+
*/
|
|
870
|
+
matchNetworkCodeFromContentBundleName(contentBundleName) {
|
|
871
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* Parse the content_bundle from ContentBundle resource.
|
|
875
|
+
*
|
|
876
|
+
* @param {string} contentBundleName
|
|
877
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
878
|
+
* @returns {string} A string representing the content_bundle.
|
|
879
|
+
*/
|
|
880
|
+
matchContentBundleFromContentBundleName(contentBundleName) {
|
|
881
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* Return a fully-qualified contentLabel resource name string.
|
|
885
|
+
*
|
|
886
|
+
* @param {string} network_code
|
|
887
|
+
* @param {string} content_label
|
|
888
|
+
* @returns {string} Resource name string.
|
|
889
|
+
*/
|
|
890
|
+
contentLabelPath(networkCode, contentLabel) {
|
|
891
|
+
return this.pathTemplates.contentLabelPathTemplate.render({
|
|
892
|
+
network_code: networkCode,
|
|
893
|
+
content_label: contentLabel,
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* Parse the network_code from ContentLabel resource.
|
|
898
|
+
*
|
|
899
|
+
* @param {string} contentLabelName
|
|
900
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
901
|
+
* @returns {string} A string representing the network_code.
|
|
902
|
+
*/
|
|
903
|
+
matchNetworkCodeFromContentLabelName(contentLabelName) {
|
|
904
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Parse the content_label from ContentLabel resource.
|
|
908
|
+
*
|
|
909
|
+
* @param {string} contentLabelName
|
|
910
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
911
|
+
* @returns {string} A string representing the content_label.
|
|
912
|
+
*/
|
|
913
|
+
matchContentLabelFromContentLabelName(contentLabelName) {
|
|
914
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* Return a fully-qualified creativeTemplate resource name string.
|
|
918
|
+
*
|
|
919
|
+
* @param {string} network_code
|
|
920
|
+
* @param {string} creative_template
|
|
921
|
+
* @returns {string} Resource name string.
|
|
922
|
+
*/
|
|
923
|
+
creativeTemplatePath(networkCode, creativeTemplate) {
|
|
924
|
+
return this.pathTemplates.creativeTemplatePathTemplate.render({
|
|
925
|
+
network_code: networkCode,
|
|
926
|
+
creative_template: creativeTemplate,
|
|
927
|
+
});
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* Parse the network_code from CreativeTemplate resource.
|
|
931
|
+
*
|
|
932
|
+
* @param {string} creativeTemplateName
|
|
933
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
934
|
+
* @returns {string} A string representing the network_code.
|
|
935
|
+
*/
|
|
936
|
+
matchNetworkCodeFromCreativeTemplateName(creativeTemplateName) {
|
|
937
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).network_code;
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
* Parse the creative_template from CreativeTemplate resource.
|
|
941
|
+
*
|
|
942
|
+
* @param {string} creativeTemplateName
|
|
943
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
944
|
+
* @returns {string} A string representing the creative_template.
|
|
945
|
+
*/
|
|
946
|
+
matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
|
|
947
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
|
|
948
|
+
}
|
|
556
949
|
/**
|
|
557
950
|
* Return a fully-qualified customField resource name string.
|
|
558
951
|
*
|
|
@@ -652,6 +1045,39 @@ class NetworkServiceClient {
|
|
|
652
1045
|
matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
|
|
653
1046
|
return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
|
|
654
1047
|
}
|
|
1048
|
+
/**
|
|
1049
|
+
* Return a fully-qualified deviceCapability resource name string.
|
|
1050
|
+
*
|
|
1051
|
+
* @param {string} network_code
|
|
1052
|
+
* @param {string} device_capability
|
|
1053
|
+
* @returns {string} Resource name string.
|
|
1054
|
+
*/
|
|
1055
|
+
deviceCapabilityPath(networkCode, deviceCapability) {
|
|
1056
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.render({
|
|
1057
|
+
network_code: networkCode,
|
|
1058
|
+
device_capability: deviceCapability,
|
|
1059
|
+
});
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* Parse the network_code from DeviceCapability resource.
|
|
1063
|
+
*
|
|
1064
|
+
* @param {string} deviceCapabilityName
|
|
1065
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1066
|
+
* @returns {string} A string representing the network_code.
|
|
1067
|
+
*/
|
|
1068
|
+
matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1069
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).network_code;
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Parse the device_capability from DeviceCapability resource.
|
|
1073
|
+
*
|
|
1074
|
+
* @param {string} deviceCapabilityName
|
|
1075
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1076
|
+
* @returns {string} A string representing the device_capability.
|
|
1077
|
+
*/
|
|
1078
|
+
matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1079
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).device_capability;
|
|
1080
|
+
}
|
|
655
1081
|
/**
|
|
656
1082
|
* Return a fully-qualified deviceCategory resource name string.
|
|
657
1083
|
*
|
|
@@ -685,6 +1111,39 @@ class NetworkServiceClient {
|
|
|
685
1111
|
matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName) {
|
|
686
1112
|
return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).device_category;
|
|
687
1113
|
}
|
|
1114
|
+
/**
|
|
1115
|
+
* Return a fully-qualified deviceManufacturer resource name string.
|
|
1116
|
+
*
|
|
1117
|
+
* @param {string} network_code
|
|
1118
|
+
* @param {string} device_manufacturer
|
|
1119
|
+
* @returns {string} Resource name string.
|
|
1120
|
+
*/
|
|
1121
|
+
deviceManufacturerPath(networkCode, deviceManufacturer) {
|
|
1122
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.render({
|
|
1123
|
+
network_code: networkCode,
|
|
1124
|
+
device_manufacturer: deviceManufacturer,
|
|
1125
|
+
});
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* Parse the network_code from DeviceManufacturer resource.
|
|
1129
|
+
*
|
|
1130
|
+
* @param {string} deviceManufacturerName
|
|
1131
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1132
|
+
* @returns {string} A string representing the network_code.
|
|
1133
|
+
*/
|
|
1134
|
+
matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1135
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).network_code;
|
|
1136
|
+
}
|
|
1137
|
+
/**
|
|
1138
|
+
* Parse the device_manufacturer from DeviceManufacturer resource.
|
|
1139
|
+
*
|
|
1140
|
+
* @param {string} deviceManufacturerName
|
|
1141
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1142
|
+
* @returns {string} A string representing the device_manufacturer.
|
|
1143
|
+
*/
|
|
1144
|
+
matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1145
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).device_manufacturer;
|
|
1146
|
+
}
|
|
688
1147
|
/**
|
|
689
1148
|
* Return a fully-qualified entitySignalsMapping resource name string.
|
|
690
1149
|
*
|
|
@@ -817,6 +1276,105 @@ class NetworkServiceClient {
|
|
|
817
1276
|
matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName) {
|
|
818
1277
|
return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).live_stream_event;
|
|
819
1278
|
}
|
|
1279
|
+
/**
|
|
1280
|
+
* Return a fully-qualified mobileCarrier resource name string.
|
|
1281
|
+
*
|
|
1282
|
+
* @param {string} network_code
|
|
1283
|
+
* @param {string} mobile_carrier
|
|
1284
|
+
* @returns {string} Resource name string.
|
|
1285
|
+
*/
|
|
1286
|
+
mobileCarrierPath(networkCode, mobileCarrier) {
|
|
1287
|
+
return this.pathTemplates.mobileCarrierPathTemplate.render({
|
|
1288
|
+
network_code: networkCode,
|
|
1289
|
+
mobile_carrier: mobileCarrier,
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* Parse the network_code from MobileCarrier resource.
|
|
1294
|
+
*
|
|
1295
|
+
* @param {string} mobileCarrierName
|
|
1296
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1297
|
+
* @returns {string} A string representing the network_code.
|
|
1298
|
+
*/
|
|
1299
|
+
matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
|
|
1300
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
|
|
1301
|
+
}
|
|
1302
|
+
/**
|
|
1303
|
+
* Parse the mobile_carrier from MobileCarrier resource.
|
|
1304
|
+
*
|
|
1305
|
+
* @param {string} mobileCarrierName
|
|
1306
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1307
|
+
* @returns {string} A string representing the mobile_carrier.
|
|
1308
|
+
*/
|
|
1309
|
+
matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
|
|
1310
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
|
|
1311
|
+
}
|
|
1312
|
+
/**
|
|
1313
|
+
* Return a fully-qualified mobileDevice resource name string.
|
|
1314
|
+
*
|
|
1315
|
+
* @param {string} network_code
|
|
1316
|
+
* @param {string} mobile_device
|
|
1317
|
+
* @returns {string} Resource name string.
|
|
1318
|
+
*/
|
|
1319
|
+
mobileDevicePath(networkCode, mobileDevice) {
|
|
1320
|
+
return this.pathTemplates.mobileDevicePathTemplate.render({
|
|
1321
|
+
network_code: networkCode,
|
|
1322
|
+
mobile_device: mobileDevice,
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* Parse the network_code from MobileDevice resource.
|
|
1327
|
+
*
|
|
1328
|
+
* @param {string} mobileDeviceName
|
|
1329
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1330
|
+
* @returns {string} A string representing the network_code.
|
|
1331
|
+
*/
|
|
1332
|
+
matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
|
|
1333
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* Parse the mobile_device from MobileDevice resource.
|
|
1337
|
+
*
|
|
1338
|
+
* @param {string} mobileDeviceName
|
|
1339
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1340
|
+
* @returns {string} A string representing the mobile_device.
|
|
1341
|
+
*/
|
|
1342
|
+
matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
|
|
1343
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
1347
|
+
*
|
|
1348
|
+
* @param {string} network_code
|
|
1349
|
+
* @param {string} mobile_device_submodel
|
|
1350
|
+
* @returns {string} Resource name string.
|
|
1351
|
+
*/
|
|
1352
|
+
mobileDeviceSubmodelPath(networkCode, mobileDeviceSubmodel) {
|
|
1353
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.render({
|
|
1354
|
+
network_code: networkCode,
|
|
1355
|
+
mobile_device_submodel: mobileDeviceSubmodel,
|
|
1356
|
+
});
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* Parse the network_code from MobileDeviceSubmodel resource.
|
|
1360
|
+
*
|
|
1361
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1362
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1363
|
+
* @returns {string} A string representing the network_code.
|
|
1364
|
+
*/
|
|
1365
|
+
matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1366
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).network_code;
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
|
|
1370
|
+
*
|
|
1371
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1372
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1373
|
+
* @returns {string} A string representing the mobile_device_submodel.
|
|
1374
|
+
*/
|
|
1375
|
+
matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1376
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
|
|
1377
|
+
}
|
|
820
1378
|
/**
|
|
821
1379
|
* Return a fully-qualified network resource name string.
|
|
822
1380
|
*
|
|
@@ -1135,6 +1693,39 @@ class NetworkServiceClient {
|
|
|
1135
1693
|
matchRoleFromRoleName(roleName) {
|
|
1136
1694
|
return this.pathTemplates.rolePathTemplate.match(roleName).role;
|
|
1137
1695
|
}
|
|
1696
|
+
/**
|
|
1697
|
+
* Return a fully-qualified site resource name string.
|
|
1698
|
+
*
|
|
1699
|
+
* @param {string} network_code
|
|
1700
|
+
* @param {string} site
|
|
1701
|
+
* @returns {string} Resource name string.
|
|
1702
|
+
*/
|
|
1703
|
+
sitePath(networkCode, site) {
|
|
1704
|
+
return this.pathTemplates.sitePathTemplate.render({
|
|
1705
|
+
network_code: networkCode,
|
|
1706
|
+
site: site,
|
|
1707
|
+
});
|
|
1708
|
+
}
|
|
1709
|
+
/**
|
|
1710
|
+
* Parse the network_code from Site resource.
|
|
1711
|
+
*
|
|
1712
|
+
* @param {string} siteName
|
|
1713
|
+
* A fully-qualified path representing Site resource.
|
|
1714
|
+
* @returns {string} A string representing the network_code.
|
|
1715
|
+
*/
|
|
1716
|
+
matchNetworkCodeFromSiteName(siteName) {
|
|
1717
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).network_code;
|
|
1718
|
+
}
|
|
1719
|
+
/**
|
|
1720
|
+
* Parse the site from Site resource.
|
|
1721
|
+
*
|
|
1722
|
+
* @param {string} siteName
|
|
1723
|
+
* A fully-qualified path representing Site resource.
|
|
1724
|
+
* @returns {string} A string representing the site.
|
|
1725
|
+
*/
|
|
1726
|
+
matchSiteFromSiteName(siteName) {
|
|
1727
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).site;
|
|
1728
|
+
}
|
|
1138
1729
|
/**
|
|
1139
1730
|
* Return a fully-qualified taxonomyCategory resource name string.
|
|
1140
1731
|
*
|
|
@@ -1234,6 +1825,39 @@ class NetworkServiceClient {
|
|
|
1234
1825
|
matchUserFromUserName(userName) {
|
|
1235
1826
|
return this.pathTemplates.userPathTemplate.match(userName).user;
|
|
1236
1827
|
}
|
|
1828
|
+
/**
|
|
1829
|
+
* Return a fully-qualified webProperty resource name string.
|
|
1830
|
+
*
|
|
1831
|
+
* @param {string} network_code
|
|
1832
|
+
* @param {string} web_property
|
|
1833
|
+
* @returns {string} Resource name string.
|
|
1834
|
+
*/
|
|
1835
|
+
webPropertyPath(networkCode, webProperty) {
|
|
1836
|
+
return this.pathTemplates.webPropertyPathTemplate.render({
|
|
1837
|
+
network_code: networkCode,
|
|
1838
|
+
web_property: webProperty,
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
/**
|
|
1842
|
+
* Parse the network_code from WebProperty resource.
|
|
1843
|
+
*
|
|
1844
|
+
* @param {string} webPropertyName
|
|
1845
|
+
* A fully-qualified path representing WebProperty resource.
|
|
1846
|
+
* @returns {string} A string representing the network_code.
|
|
1847
|
+
*/
|
|
1848
|
+
matchNetworkCodeFromWebPropertyName(webPropertyName) {
|
|
1849
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
|
|
1850
|
+
}
|
|
1851
|
+
/**
|
|
1852
|
+
* Parse the web_property from WebProperty resource.
|
|
1853
|
+
*
|
|
1854
|
+
* @param {string} webPropertyName
|
|
1855
|
+
* A fully-qualified path representing WebProperty resource.
|
|
1856
|
+
* @returns {string} A string representing the web_property.
|
|
1857
|
+
*/
|
|
1858
|
+
matchWebPropertyFromWebPropertyName(webPropertyName) {
|
|
1859
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
|
|
1860
|
+
}
|
|
1237
1861
|
/**
|
|
1238
1862
|
* Terminate the gRPC channel and close the client.
|
|
1239
1863
|
*
|