@google-ads/admanager 0.4.1 → 0.5.1
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 +83 -0
- 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 +238 -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 +222 -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 +191 -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/goal.proto +57 -0
- package/build/protos/google/ads/admanager/v1/goal_enums.proto +129 -0
- package/build/protos/google/ads/admanager/v1/line_item_enums.proto +86 -0
- package/build/protos/google/ads/admanager/v1/line_item_messages.proto +93 -0
- package/build/protos/google/ads/admanager/v1/line_item_service.proto +128 -0
- 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/network_messages.proto +8 -8
- package/build/protos/google/ads/admanager/v1/network_service.proto +32 -1
- 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 +11 -10
- 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 +13347 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +124 -3411
- 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 +34075 -11179
- package/build/protos/protos.js +102857 -43311
- package/build/protos/protos.json +11142 -3881
- package/build/src/index.d.ts +61 -1
- package/build/src/index.js +43 -3
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +465 -0
- package/build/src/v1/ad_break_service_client.js +659 -1
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +54 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +1634 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +2327 -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 +127 -0
- package/build/src/v1/ad_unit_service_client.d.ts +667 -12
- package/build/src/v1/ad_unit_service_client.js +966 -56
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_client_config.json +28 -0
- package/build/src/v1/ad_unit_service_proto_list.json +54 -1
- package/build/src/v1/application_service_client.d.ts +1369 -0
- package/build/src/v1/application_service_client.js +2027 -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 +127 -0
- package/build/src/v1/audience_segment_service_client.d.ts +1369 -0
- package/build/src/v1/audience_segment_service_client.js +2027 -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 +127 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +471 -6
- package/build/src/v1/bandwidth_group_service_client.js +663 -5
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +54 -1
- package/build/src/v1/browser_language_service_client.d.ts +1369 -0
- package/build/src/v1/browser_language_service_client.js +2027 -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 +127 -0
- package/build/src/v1/browser_service_client.d.ts +1369 -0
- package/build/src/v1/browser_service_client.js +2027 -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 +127 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +1369 -0
- package/build/src/v1/cms_metadata_key_service_client.js +2027 -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 +127 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +1369 -0
- package/build/src/v1/cms_metadata_value_service_client.js +2027 -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 +127 -0
- package/build/src/v1/company_service_client.d.ts +471 -6
- package/build/src/v1/company_service_client.js +663 -5
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +54 -1
- package/build/src/v1/contact_service_client.d.ts +1480 -0
- package/build/src/v1/contact_service_client.js +2171 -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 +127 -0
- package/build/src/v1/content_bundle_service_client.d.ts +1369 -0
- package/build/src/v1/content_bundle_service_client.js +2027 -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 +127 -0
- package/build/src/v1/content_label_service_client.d.ts +1369 -0
- package/build/src/v1/content_label_service_client.js +2027 -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 +127 -0
- package/build/src/v1/content_service_client.d.ts +1369 -0
- package/build/src/v1/content_service_client.js +2027 -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 +127 -0
- package/build/src/v1/creative_template_service_client.d.ts +1369 -0
- package/build/src/v1/creative_template_service_client.js +2027 -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 +127 -0
- package/build/src/v1/custom_field_service_client.d.ts +634 -6
- package/build/src/v1/custom_field_service_client.js +880 -6
- 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 +54 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +631 -0
- package/build/src/v1/custom_targeting_key_service_client.js +876 -2
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_client_config.json +24 -0
- package/build/src/v1/custom_targeting_key_service_proto_list.json +54 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +465 -0
- package/build/src/v1/custom_targeting_value_service_client.js +659 -1
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +54 -1
- package/build/src/v1/device_capability_service_client.d.ts +1369 -0
- package/build/src/v1/device_capability_service_client.js +2027 -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 +127 -0
- package/build/src/v1/device_category_service_client.d.ts +468 -3
- package/build/src/v1/device_category_service_client.js +661 -3
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +54 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +1370 -0
- package/build/src/v1/device_manufacturer_service_client.js +2027 -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 +127 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +465 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +659 -1
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +54 -1
- package/build/src/v1/gapic_metadata.json +1200 -6
- package/build/src/v1/geo_target_service_client.d.ts +471 -6
- package/build/src/v1/geo_target_service_client.js +663 -5
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +54 -1
- package/build/src/v1/index.d.ts +20 -0
- package/build/src/v1/index.js +42 -2
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/line_item_service_client.d.ts +1369 -0
- package/build/src/v1/line_item_service_client.js +2027 -0
- package/build/src/v1/line_item_service_client.js.map +1 -0
- package/build/src/v1/line_item_service_client_config.json +34 -0
- package/build/src/v1/line_item_service_proto_list.json +127 -0
- package/build/src/v1/mobile_carrier_service_client.d.ts +1369 -0
- package/build/src/v1/mobile_carrier_service_client.js +2027 -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 +127 -0
- package/build/src/v1/mobile_device_service_client.d.ts +1369 -0
- package/build/src/v1/mobile_device_service_client.js +2027 -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 +127 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +1376 -0
- package/build/src/v1/mobile_device_submodel_service_client.js +2031 -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 +127 -0
- package/build/src/v1/network_service_client.d.ts +555 -12
- package/build/src/v1/network_service_client.js +757 -16
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +54 -1
- package/build/src/v1/operating_system_service_client.d.ts +468 -3
- package/build/src/v1/operating_system_service_client.js +661 -3
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +54 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +468 -3
- package/build/src/v1/operating_system_version_service_client.js +661 -3
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +54 -1
- package/build/src/v1/order_service_client.d.ts +471 -6
- package/build/src/v1/order_service_client.js +663 -5
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +54 -1
- package/build/src/v1/placement_service_client.d.ts +662 -6
- package/build/src/v1/placement_service_client.js +962 -52
- 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 +54 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +468 -3
- package/build/src/v1/private_auction_deal_service_client.js +661 -3
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +54 -1
- package/build/src/v1/private_auction_service_client.d.ts +468 -3
- package/build/src/v1/private_auction_service_client.js +661 -3
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +54 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +465 -0
- package/build/src/v1/programmatic_buyer_service_client.js +659 -1
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +54 -1
- package/build/src/v1/report_service_client.d.ts +485 -17
- package/build/src/v1/report_service_client.js +669 -9
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +54 -1
- package/build/src/v1/role_service_client.d.ts +471 -3
- package/build/src/v1/role_service_client.js +663 -3
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +54 -1
- package/build/src/v1/site_service_client.d.ts +1530 -0
- package/build/src/v1/site_service_client.js +2243 -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 +127 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +465 -0
- package/build/src/v1/taxonomy_category_service_client.js +659 -1
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +54 -1
- package/build/src/v1/team_service_client.d.ts +1532 -0
- package/build/src/v1/team_service_client.js +2243 -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 +127 -0
- package/build/src/v1/user_service_client.d.ts +465 -0
- package/build/src/v1/user_service_client.js +659 -1
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +54 -1
- package/package.json +10 -2
- package/LICENSE +0 -202
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2026 Google LLC
|
|
3
3
|
//
|
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
// you may not use this file except in compliance with the License.
|
|
@@ -169,18 +169,35 @@ class ReportServiceClient {
|
|
|
169
169
|
// Create useful helper objects for these.
|
|
170
170
|
this.pathTemplates = {
|
|
171
171
|
adBreakPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}'),
|
|
172
|
+
adReviewCenterAdPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}'),
|
|
172
173
|
adUnitPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adUnits/{ad_unit}'),
|
|
174
|
+
applicationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/applications/{application}'),
|
|
175
|
+
audienceSegmentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/audienceSegments/{audience_segment}'),
|
|
173
176
|
bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
|
|
177
|
+
browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
|
|
178
|
+
browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
|
|
179
|
+
cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
|
|
180
|
+
cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
|
|
174
181
|
companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
|
|
175
182
|
contactPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contacts/{contact}'),
|
|
183
|
+
contentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/content/{content}'),
|
|
184
|
+
contentBundlePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentBundles/{content_bundle}'),
|
|
185
|
+
contentLabelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentLabels/{content_label}'),
|
|
186
|
+
creativeTemplatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeTemplates/{creative_template}'),
|
|
176
187
|
customFieldPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customFields/{custom_field}'),
|
|
177
188
|
customTargetingKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingKeys/{custom_targeting_key}'),
|
|
178
189
|
customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
|
|
190
|
+
deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
|
|
179
191
|
deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
|
|
192
|
+
deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
|
|
180
193
|
entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
|
|
181
194
|
geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
|
|
182
195
|
labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
|
|
196
|
+
lineItemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/lineItems/{line_item}'),
|
|
183
197
|
liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
|
|
198
|
+
mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
|
|
199
|
+
mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
|
|
200
|
+
mobileDeviceSubmodelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}'),
|
|
184
201
|
networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
|
|
185
202
|
operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
|
|
186
203
|
operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
|
|
@@ -191,9 +208,11 @@ class ReportServiceClient {
|
|
|
191
208
|
programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
|
|
192
209
|
reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
|
|
193
210
|
rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
|
|
211
|
+
sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
|
|
194
212
|
taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
|
|
195
213
|
teamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/teams/{team}'),
|
|
196
214
|
userPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/users/{user}'),
|
|
215
|
+
webPropertyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property}'),
|
|
197
216
|
};
|
|
198
217
|
// Some of the methods on this service return "paged" results,
|
|
199
218
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
|
@@ -529,8 +548,8 @@ class ReportServiceClient {
|
|
|
529
548
|
* @param {number} [request.pageSize]
|
|
530
549
|
* Optional. The maximum number of `Reports` to return. The service may return
|
|
531
550
|
* fewer than this value. If unspecified, at most 50 `Reports` will be
|
|
532
|
-
* returned. The maximum value is 1000; values
|
|
533
|
-
* 1000.
|
|
551
|
+
* returned. The maximum value is 1000; values greater than 1000 will be
|
|
552
|
+
* coerced to 1000.
|
|
534
553
|
* @param {string} [request.pageToken]
|
|
535
554
|
* Optional. A page token, received from a previous `ListReports` call.
|
|
536
555
|
* Provide this to retrieve the subsequent page.
|
|
@@ -584,8 +603,8 @@ class ReportServiceClient {
|
|
|
584
603
|
* @param {number} [request.pageSize]
|
|
585
604
|
* Optional. The maximum number of `Reports` to return. The service may return
|
|
586
605
|
* fewer than this value. If unspecified, at most 50 `Reports` will be
|
|
587
|
-
* returned. The maximum value is 1000; values
|
|
588
|
-
* 1000.
|
|
606
|
+
* returned. The maximum value is 1000; values greater than 1000 will be
|
|
607
|
+
* coerced to 1000.
|
|
589
608
|
* @param {string} [request.pageToken]
|
|
590
609
|
* Optional. A page token, received from a previous `ListReports` call.
|
|
591
610
|
* Provide this to retrieve the subsequent page.
|
|
@@ -670,14 +689,15 @@ class ReportServiceClient {
|
|
|
670
689
|
* @param {number} [request.pageSize]
|
|
671
690
|
* Optional. The maximum number of rows to return. The service may return
|
|
672
691
|
* fewer than this value. If unspecified, at most 1,000 rows will be returned.
|
|
673
|
-
* The maximum value is 10,000; values
|
|
692
|
+
* The maximum value is 10,000; values greater than 10,000 will be reduced to
|
|
693
|
+
* 10,000.
|
|
674
694
|
* @param {string} [request.pageToken]
|
|
675
695
|
* Optional. A page token, received from a previous `FetchReportResultRows`
|
|
676
696
|
* call. Provide this to retrieve the second and subsequent batches of rows.
|
|
677
697
|
* @param {object} [options]
|
|
678
698
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
679
699
|
* @returns {Stream}
|
|
680
|
-
* An object stream which emits an object representing {@link protos.google.ads.admanager.v1.
|
|
700
|
+
* An object stream which emits an object representing {@link protos.google.ads.admanager.v1.ReportDataTable.Row|Row} on 'data' event.
|
|
681
701
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
682
702
|
* times as needed. Note that it can affect your quota.
|
|
683
703
|
* We recommend using `fetchReportResultRowsAsync()`
|
|
@@ -712,7 +732,8 @@ class ReportServiceClient {
|
|
|
712
732
|
* @param {number} [request.pageSize]
|
|
713
733
|
* Optional. The maximum number of rows to return. The service may return
|
|
714
734
|
* fewer than this value. If unspecified, at most 1,000 rows will be returned.
|
|
715
|
-
* The maximum value is 10,000; values
|
|
735
|
+
* The maximum value is 10,000; values greater than 10,000 will be reduced to
|
|
736
|
+
* 10,000.
|
|
716
737
|
* @param {string} [request.pageToken]
|
|
717
738
|
* Optional. A page token, received from a previous `FetchReportResultRows`
|
|
718
739
|
* call. Provide this to retrieve the second and subsequent batches of rows.
|
|
@@ -721,7 +742,7 @@ class ReportServiceClient {
|
|
|
721
742
|
* @returns {Object}
|
|
722
743
|
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
723
744
|
* When you iterate the returned iterable, each element will be an object representing
|
|
724
|
-
* {@link protos.google.ads.admanager.v1.
|
|
745
|
+
* {@link protos.google.ads.admanager.v1.ReportDataTable.Row|Row}. The API will be called under the hood as needed, once per the page,
|
|
725
746
|
* so you can stop the iteration when you don't need more results.
|
|
726
747
|
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
727
748
|
* for more details and examples.
|
|
@@ -970,6 +991,51 @@ class ReportServiceClient {
|
|
|
970
991
|
matchAdBreakFromAdBreakName(adBreakName) {
|
|
971
992
|
return this.pathTemplates.adBreakPathTemplate.match(adBreakName).ad_break;
|
|
972
993
|
}
|
|
994
|
+
/**
|
|
995
|
+
* Return a fully-qualified adReviewCenterAd resource name string.
|
|
996
|
+
*
|
|
997
|
+
* @param {string} network_code
|
|
998
|
+
* @param {string} web_property_code
|
|
999
|
+
* @param {string} ad_review_center_ad
|
|
1000
|
+
* @returns {string} Resource name string.
|
|
1001
|
+
*/
|
|
1002
|
+
adReviewCenterAdPath(networkCode, webPropertyCode, adReviewCenterAd) {
|
|
1003
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.render({
|
|
1004
|
+
network_code: networkCode,
|
|
1005
|
+
web_property_code: webPropertyCode,
|
|
1006
|
+
ad_review_center_ad: adReviewCenterAd,
|
|
1007
|
+
});
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* Parse the network_code from AdReviewCenterAd resource.
|
|
1011
|
+
*
|
|
1012
|
+
* @param {string} adReviewCenterAdName
|
|
1013
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
1014
|
+
* @returns {string} A string representing the network_code.
|
|
1015
|
+
*/
|
|
1016
|
+
matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
1017
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).network_code;
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* Parse the web_property_code from AdReviewCenterAd resource.
|
|
1021
|
+
*
|
|
1022
|
+
* @param {string} adReviewCenterAdName
|
|
1023
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
1024
|
+
* @returns {string} A string representing the web_property_code.
|
|
1025
|
+
*/
|
|
1026
|
+
matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
1027
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).web_property_code;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Parse the ad_review_center_ad from AdReviewCenterAd resource.
|
|
1031
|
+
*
|
|
1032
|
+
* @param {string} adReviewCenterAdName
|
|
1033
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
1034
|
+
* @returns {string} A string representing the ad_review_center_ad.
|
|
1035
|
+
*/
|
|
1036
|
+
matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
1037
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).ad_review_center_ad;
|
|
1038
|
+
}
|
|
973
1039
|
/**
|
|
974
1040
|
* Return a fully-qualified adUnit resource name string.
|
|
975
1041
|
*
|
|
@@ -1003,6 +1069,72 @@ class ReportServiceClient {
|
|
|
1003
1069
|
matchAdUnitFromAdUnitName(adUnitName) {
|
|
1004
1070
|
return this.pathTemplates.adUnitPathTemplate.match(adUnitName).ad_unit;
|
|
1005
1071
|
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Return a fully-qualified application resource name string.
|
|
1074
|
+
*
|
|
1075
|
+
* @param {string} network_code
|
|
1076
|
+
* @param {string} application
|
|
1077
|
+
* @returns {string} Resource name string.
|
|
1078
|
+
*/
|
|
1079
|
+
applicationPath(networkCode, application) {
|
|
1080
|
+
return this.pathTemplates.applicationPathTemplate.render({
|
|
1081
|
+
network_code: networkCode,
|
|
1082
|
+
application: application,
|
|
1083
|
+
});
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* Parse the network_code from Application resource.
|
|
1087
|
+
*
|
|
1088
|
+
* @param {string} applicationName
|
|
1089
|
+
* A fully-qualified path representing Application resource.
|
|
1090
|
+
* @returns {string} A string representing the network_code.
|
|
1091
|
+
*/
|
|
1092
|
+
matchNetworkCodeFromApplicationName(applicationName) {
|
|
1093
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Parse the application from Application resource.
|
|
1097
|
+
*
|
|
1098
|
+
* @param {string} applicationName
|
|
1099
|
+
* A fully-qualified path representing Application resource.
|
|
1100
|
+
* @returns {string} A string representing the application.
|
|
1101
|
+
*/
|
|
1102
|
+
matchApplicationFromApplicationName(applicationName) {
|
|
1103
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Return a fully-qualified audienceSegment resource name string.
|
|
1107
|
+
*
|
|
1108
|
+
* @param {string} network_code
|
|
1109
|
+
* @param {string} audience_segment
|
|
1110
|
+
* @returns {string} Resource name string.
|
|
1111
|
+
*/
|
|
1112
|
+
audienceSegmentPath(networkCode, audienceSegment) {
|
|
1113
|
+
return this.pathTemplates.audienceSegmentPathTemplate.render({
|
|
1114
|
+
network_code: networkCode,
|
|
1115
|
+
audience_segment: audienceSegment,
|
|
1116
|
+
});
|
|
1117
|
+
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Parse the network_code from AudienceSegment resource.
|
|
1120
|
+
*
|
|
1121
|
+
* @param {string} audienceSegmentName
|
|
1122
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
1123
|
+
* @returns {string} A string representing the network_code.
|
|
1124
|
+
*/
|
|
1125
|
+
matchNetworkCodeFromAudienceSegmentName(audienceSegmentName) {
|
|
1126
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).network_code;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Parse the audience_segment from AudienceSegment resource.
|
|
1130
|
+
*
|
|
1131
|
+
* @param {string} audienceSegmentName
|
|
1132
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
1133
|
+
* @returns {string} A string representing the audience_segment.
|
|
1134
|
+
*/
|
|
1135
|
+
matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName) {
|
|
1136
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).audience_segment;
|
|
1137
|
+
}
|
|
1006
1138
|
/**
|
|
1007
1139
|
* Return a fully-qualified bandwidthGroup resource name string.
|
|
1008
1140
|
*
|
|
@@ -1036,6 +1168,138 @@ class ReportServiceClient {
|
|
|
1036
1168
|
matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName) {
|
|
1037
1169
|
return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).bandwidth_group;
|
|
1038
1170
|
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Return a fully-qualified browser resource name string.
|
|
1173
|
+
*
|
|
1174
|
+
* @param {string} network_code
|
|
1175
|
+
* @param {string} browser
|
|
1176
|
+
* @returns {string} Resource name string.
|
|
1177
|
+
*/
|
|
1178
|
+
browserPath(networkCode, browser) {
|
|
1179
|
+
return this.pathTemplates.browserPathTemplate.render({
|
|
1180
|
+
network_code: networkCode,
|
|
1181
|
+
browser: browser,
|
|
1182
|
+
});
|
|
1183
|
+
}
|
|
1184
|
+
/**
|
|
1185
|
+
* Parse the network_code from Browser resource.
|
|
1186
|
+
*
|
|
1187
|
+
* @param {string} browserName
|
|
1188
|
+
* A fully-qualified path representing Browser resource.
|
|
1189
|
+
* @returns {string} A string representing the network_code.
|
|
1190
|
+
*/
|
|
1191
|
+
matchNetworkCodeFromBrowserName(browserName) {
|
|
1192
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* Parse the browser from Browser resource.
|
|
1196
|
+
*
|
|
1197
|
+
* @param {string} browserName
|
|
1198
|
+
* A fully-qualified path representing Browser resource.
|
|
1199
|
+
* @returns {string} A string representing the browser.
|
|
1200
|
+
*/
|
|
1201
|
+
matchBrowserFromBrowserName(browserName) {
|
|
1202
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).browser;
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
* Return a fully-qualified browserLanguage resource name string.
|
|
1206
|
+
*
|
|
1207
|
+
* @param {string} network_code
|
|
1208
|
+
* @param {string} browser_language
|
|
1209
|
+
* @returns {string} Resource name string.
|
|
1210
|
+
*/
|
|
1211
|
+
browserLanguagePath(networkCode, browserLanguage) {
|
|
1212
|
+
return this.pathTemplates.browserLanguagePathTemplate.render({
|
|
1213
|
+
network_code: networkCode,
|
|
1214
|
+
browser_language: browserLanguage,
|
|
1215
|
+
});
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* Parse the network_code from BrowserLanguage resource.
|
|
1219
|
+
*
|
|
1220
|
+
* @param {string} browserLanguageName
|
|
1221
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
1222
|
+
* @returns {string} A string representing the network_code.
|
|
1223
|
+
*/
|
|
1224
|
+
matchNetworkCodeFromBrowserLanguageName(browserLanguageName) {
|
|
1225
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).network_code;
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* Parse the browser_language from BrowserLanguage resource.
|
|
1229
|
+
*
|
|
1230
|
+
* @param {string} browserLanguageName
|
|
1231
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
1232
|
+
* @returns {string} A string representing the browser_language.
|
|
1233
|
+
*/
|
|
1234
|
+
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
|
|
1235
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
1239
|
+
*
|
|
1240
|
+
* @param {string} network_code
|
|
1241
|
+
* @param {string} cms_metadata_key
|
|
1242
|
+
* @returns {string} Resource name string.
|
|
1243
|
+
*/
|
|
1244
|
+
cmsMetadataKeyPath(networkCode, cmsMetadataKey) {
|
|
1245
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.render({
|
|
1246
|
+
network_code: networkCode,
|
|
1247
|
+
cms_metadata_key: cmsMetadataKey,
|
|
1248
|
+
});
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* Parse the network_code from CmsMetadataKey resource.
|
|
1252
|
+
*
|
|
1253
|
+
* @param {string} cmsMetadataKeyName
|
|
1254
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
1255
|
+
* @returns {string} A string representing the network_code.
|
|
1256
|
+
*/
|
|
1257
|
+
matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
1258
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).network_code;
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
* Parse the cms_metadata_key from CmsMetadataKey resource.
|
|
1262
|
+
*
|
|
1263
|
+
* @param {string} cmsMetadataKeyName
|
|
1264
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
1265
|
+
* @returns {string} A string representing the cms_metadata_key.
|
|
1266
|
+
*/
|
|
1267
|
+
matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
1268
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).cms_metadata_key;
|
|
1269
|
+
}
|
|
1270
|
+
/**
|
|
1271
|
+
* Return a fully-qualified cmsMetadataValue resource name string.
|
|
1272
|
+
*
|
|
1273
|
+
* @param {string} network_code
|
|
1274
|
+
* @param {string} cms_metadata_value
|
|
1275
|
+
* @returns {string} Resource name string.
|
|
1276
|
+
*/
|
|
1277
|
+
cmsMetadataValuePath(networkCode, cmsMetadataValue) {
|
|
1278
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.render({
|
|
1279
|
+
network_code: networkCode,
|
|
1280
|
+
cms_metadata_value: cmsMetadataValue,
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
/**
|
|
1284
|
+
* Parse the network_code from CmsMetadataValue resource.
|
|
1285
|
+
*
|
|
1286
|
+
* @param {string} cmsMetadataValueName
|
|
1287
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
1288
|
+
* @returns {string} A string representing the network_code.
|
|
1289
|
+
*/
|
|
1290
|
+
matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
1291
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).network_code;
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* Parse the cms_metadata_value from CmsMetadataValue resource.
|
|
1295
|
+
*
|
|
1296
|
+
* @param {string} cmsMetadataValueName
|
|
1297
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
1298
|
+
* @returns {string} A string representing the cms_metadata_value.
|
|
1299
|
+
*/
|
|
1300
|
+
matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
1301
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).cms_metadata_value;
|
|
1302
|
+
}
|
|
1039
1303
|
/**
|
|
1040
1304
|
* Return a fully-qualified company resource name string.
|
|
1041
1305
|
*
|
|
@@ -1102,6 +1366,138 @@ class ReportServiceClient {
|
|
|
1102
1366
|
matchContactFromContactName(contactName) {
|
|
1103
1367
|
return this.pathTemplates.contactPathTemplate.match(contactName).contact;
|
|
1104
1368
|
}
|
|
1369
|
+
/**
|
|
1370
|
+
* Return a fully-qualified content resource name string.
|
|
1371
|
+
*
|
|
1372
|
+
* @param {string} network_code
|
|
1373
|
+
* @param {string} content
|
|
1374
|
+
* @returns {string} Resource name string.
|
|
1375
|
+
*/
|
|
1376
|
+
contentPath(networkCode, content) {
|
|
1377
|
+
return this.pathTemplates.contentPathTemplate.render({
|
|
1378
|
+
network_code: networkCode,
|
|
1379
|
+
content: content,
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1382
|
+
/**
|
|
1383
|
+
* Parse the network_code from Content resource.
|
|
1384
|
+
*
|
|
1385
|
+
* @param {string} contentName
|
|
1386
|
+
* A fully-qualified path representing Content resource.
|
|
1387
|
+
* @returns {string} A string representing the network_code.
|
|
1388
|
+
*/
|
|
1389
|
+
matchNetworkCodeFromContentName(contentName) {
|
|
1390
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* Parse the content from Content resource.
|
|
1394
|
+
*
|
|
1395
|
+
* @param {string} contentName
|
|
1396
|
+
* A fully-qualified path representing Content resource.
|
|
1397
|
+
* @returns {string} A string representing the content.
|
|
1398
|
+
*/
|
|
1399
|
+
matchContentFromContentName(contentName) {
|
|
1400
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).content;
|
|
1401
|
+
}
|
|
1402
|
+
/**
|
|
1403
|
+
* Return a fully-qualified contentBundle resource name string.
|
|
1404
|
+
*
|
|
1405
|
+
* @param {string} network_code
|
|
1406
|
+
* @param {string} content_bundle
|
|
1407
|
+
* @returns {string} Resource name string.
|
|
1408
|
+
*/
|
|
1409
|
+
contentBundlePath(networkCode, contentBundle) {
|
|
1410
|
+
return this.pathTemplates.contentBundlePathTemplate.render({
|
|
1411
|
+
network_code: networkCode,
|
|
1412
|
+
content_bundle: contentBundle,
|
|
1413
|
+
});
|
|
1414
|
+
}
|
|
1415
|
+
/**
|
|
1416
|
+
* Parse the network_code from ContentBundle resource.
|
|
1417
|
+
*
|
|
1418
|
+
* @param {string} contentBundleName
|
|
1419
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
1420
|
+
* @returns {string} A string representing the network_code.
|
|
1421
|
+
*/
|
|
1422
|
+
matchNetworkCodeFromContentBundleName(contentBundleName) {
|
|
1423
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Parse the content_bundle from ContentBundle resource.
|
|
1427
|
+
*
|
|
1428
|
+
* @param {string} contentBundleName
|
|
1429
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
1430
|
+
* @returns {string} A string representing the content_bundle.
|
|
1431
|
+
*/
|
|
1432
|
+
matchContentBundleFromContentBundleName(contentBundleName) {
|
|
1433
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* Return a fully-qualified contentLabel resource name string.
|
|
1437
|
+
*
|
|
1438
|
+
* @param {string} network_code
|
|
1439
|
+
* @param {string} content_label
|
|
1440
|
+
* @returns {string} Resource name string.
|
|
1441
|
+
*/
|
|
1442
|
+
contentLabelPath(networkCode, contentLabel) {
|
|
1443
|
+
return this.pathTemplates.contentLabelPathTemplate.render({
|
|
1444
|
+
network_code: networkCode,
|
|
1445
|
+
content_label: contentLabel,
|
|
1446
|
+
});
|
|
1447
|
+
}
|
|
1448
|
+
/**
|
|
1449
|
+
* Parse the network_code from ContentLabel resource.
|
|
1450
|
+
*
|
|
1451
|
+
* @param {string} contentLabelName
|
|
1452
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
1453
|
+
* @returns {string} A string representing the network_code.
|
|
1454
|
+
*/
|
|
1455
|
+
matchNetworkCodeFromContentLabelName(contentLabelName) {
|
|
1456
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
* Parse the content_label from ContentLabel resource.
|
|
1460
|
+
*
|
|
1461
|
+
* @param {string} contentLabelName
|
|
1462
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
1463
|
+
* @returns {string} A string representing the content_label.
|
|
1464
|
+
*/
|
|
1465
|
+
matchContentLabelFromContentLabelName(contentLabelName) {
|
|
1466
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
* Return a fully-qualified creativeTemplate resource name string.
|
|
1470
|
+
*
|
|
1471
|
+
* @param {string} network_code
|
|
1472
|
+
* @param {string} creative_template
|
|
1473
|
+
* @returns {string} Resource name string.
|
|
1474
|
+
*/
|
|
1475
|
+
creativeTemplatePath(networkCode, creativeTemplate) {
|
|
1476
|
+
return this.pathTemplates.creativeTemplatePathTemplate.render({
|
|
1477
|
+
network_code: networkCode,
|
|
1478
|
+
creative_template: creativeTemplate,
|
|
1479
|
+
});
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* Parse the network_code from CreativeTemplate resource.
|
|
1483
|
+
*
|
|
1484
|
+
* @param {string} creativeTemplateName
|
|
1485
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
1486
|
+
* @returns {string} A string representing the network_code.
|
|
1487
|
+
*/
|
|
1488
|
+
matchNetworkCodeFromCreativeTemplateName(creativeTemplateName) {
|
|
1489
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).network_code;
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
* Parse the creative_template from CreativeTemplate resource.
|
|
1493
|
+
*
|
|
1494
|
+
* @param {string} creativeTemplateName
|
|
1495
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
1496
|
+
* @returns {string} A string representing the creative_template.
|
|
1497
|
+
*/
|
|
1498
|
+
matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
|
|
1499
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
|
|
1500
|
+
}
|
|
1105
1501
|
/**
|
|
1106
1502
|
* Return a fully-qualified customField resource name string.
|
|
1107
1503
|
*
|
|
@@ -1201,6 +1597,39 @@ class ReportServiceClient {
|
|
|
1201
1597
|
matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
|
|
1202
1598
|
return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
|
|
1203
1599
|
}
|
|
1600
|
+
/**
|
|
1601
|
+
* Return a fully-qualified deviceCapability resource name string.
|
|
1602
|
+
*
|
|
1603
|
+
* @param {string} network_code
|
|
1604
|
+
* @param {string} device_capability
|
|
1605
|
+
* @returns {string} Resource name string.
|
|
1606
|
+
*/
|
|
1607
|
+
deviceCapabilityPath(networkCode, deviceCapability) {
|
|
1608
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.render({
|
|
1609
|
+
network_code: networkCode,
|
|
1610
|
+
device_capability: deviceCapability,
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
/**
|
|
1614
|
+
* Parse the network_code from DeviceCapability resource.
|
|
1615
|
+
*
|
|
1616
|
+
* @param {string} deviceCapabilityName
|
|
1617
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1618
|
+
* @returns {string} A string representing the network_code.
|
|
1619
|
+
*/
|
|
1620
|
+
matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1621
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).network_code;
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
* Parse the device_capability from DeviceCapability resource.
|
|
1625
|
+
*
|
|
1626
|
+
* @param {string} deviceCapabilityName
|
|
1627
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1628
|
+
* @returns {string} A string representing the device_capability.
|
|
1629
|
+
*/
|
|
1630
|
+
matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1631
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).device_capability;
|
|
1632
|
+
}
|
|
1204
1633
|
/**
|
|
1205
1634
|
* Return a fully-qualified deviceCategory resource name string.
|
|
1206
1635
|
*
|
|
@@ -1234,6 +1663,39 @@ class ReportServiceClient {
|
|
|
1234
1663
|
matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName) {
|
|
1235
1664
|
return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).device_category;
|
|
1236
1665
|
}
|
|
1666
|
+
/**
|
|
1667
|
+
* Return a fully-qualified deviceManufacturer resource name string.
|
|
1668
|
+
*
|
|
1669
|
+
* @param {string} network_code
|
|
1670
|
+
* @param {string} device_manufacturer
|
|
1671
|
+
* @returns {string} Resource name string.
|
|
1672
|
+
*/
|
|
1673
|
+
deviceManufacturerPath(networkCode, deviceManufacturer) {
|
|
1674
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.render({
|
|
1675
|
+
network_code: networkCode,
|
|
1676
|
+
device_manufacturer: deviceManufacturer,
|
|
1677
|
+
});
|
|
1678
|
+
}
|
|
1679
|
+
/**
|
|
1680
|
+
* Parse the network_code from DeviceManufacturer resource.
|
|
1681
|
+
*
|
|
1682
|
+
* @param {string} deviceManufacturerName
|
|
1683
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1684
|
+
* @returns {string} A string representing the network_code.
|
|
1685
|
+
*/
|
|
1686
|
+
matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1687
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).network_code;
|
|
1688
|
+
}
|
|
1689
|
+
/**
|
|
1690
|
+
* Parse the device_manufacturer from DeviceManufacturer resource.
|
|
1691
|
+
*
|
|
1692
|
+
* @param {string} deviceManufacturerName
|
|
1693
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1694
|
+
* @returns {string} A string representing the device_manufacturer.
|
|
1695
|
+
*/
|
|
1696
|
+
matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1697
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).device_manufacturer;
|
|
1698
|
+
}
|
|
1237
1699
|
/**
|
|
1238
1700
|
* Return a fully-qualified entitySignalsMapping resource name string.
|
|
1239
1701
|
*
|
|
@@ -1333,6 +1795,39 @@ class ReportServiceClient {
|
|
|
1333
1795
|
matchLabelFromLabelName(labelName) {
|
|
1334
1796
|
return this.pathTemplates.labelPathTemplate.match(labelName).label;
|
|
1335
1797
|
}
|
|
1798
|
+
/**
|
|
1799
|
+
* Return a fully-qualified lineItem resource name string.
|
|
1800
|
+
*
|
|
1801
|
+
* @param {string} network_code
|
|
1802
|
+
* @param {string} line_item
|
|
1803
|
+
* @returns {string} Resource name string.
|
|
1804
|
+
*/
|
|
1805
|
+
lineItemPath(networkCode, lineItem) {
|
|
1806
|
+
return this.pathTemplates.lineItemPathTemplate.render({
|
|
1807
|
+
network_code: networkCode,
|
|
1808
|
+
line_item: lineItem,
|
|
1809
|
+
});
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* Parse the network_code from LineItem resource.
|
|
1813
|
+
*
|
|
1814
|
+
* @param {string} lineItemName
|
|
1815
|
+
* A fully-qualified path representing LineItem resource.
|
|
1816
|
+
* @returns {string} A string representing the network_code.
|
|
1817
|
+
*/
|
|
1818
|
+
matchNetworkCodeFromLineItemName(lineItemName) {
|
|
1819
|
+
return this.pathTemplates.lineItemPathTemplate.match(lineItemName).network_code;
|
|
1820
|
+
}
|
|
1821
|
+
/**
|
|
1822
|
+
* Parse the line_item from LineItem resource.
|
|
1823
|
+
*
|
|
1824
|
+
* @param {string} lineItemName
|
|
1825
|
+
* A fully-qualified path representing LineItem resource.
|
|
1826
|
+
* @returns {string} A string representing the line_item.
|
|
1827
|
+
*/
|
|
1828
|
+
matchLineItemFromLineItemName(lineItemName) {
|
|
1829
|
+
return this.pathTemplates.lineItemPathTemplate.match(lineItemName).line_item;
|
|
1830
|
+
}
|
|
1336
1831
|
/**
|
|
1337
1832
|
* Return a fully-qualified liveStreamEvent resource name string.
|
|
1338
1833
|
*
|
|
@@ -1366,6 +1861,105 @@ class ReportServiceClient {
|
|
|
1366
1861
|
matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName) {
|
|
1367
1862
|
return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).live_stream_event;
|
|
1368
1863
|
}
|
|
1864
|
+
/**
|
|
1865
|
+
* Return a fully-qualified mobileCarrier resource name string.
|
|
1866
|
+
*
|
|
1867
|
+
* @param {string} network_code
|
|
1868
|
+
* @param {string} mobile_carrier
|
|
1869
|
+
* @returns {string} Resource name string.
|
|
1870
|
+
*/
|
|
1871
|
+
mobileCarrierPath(networkCode, mobileCarrier) {
|
|
1872
|
+
return this.pathTemplates.mobileCarrierPathTemplate.render({
|
|
1873
|
+
network_code: networkCode,
|
|
1874
|
+
mobile_carrier: mobileCarrier,
|
|
1875
|
+
});
|
|
1876
|
+
}
|
|
1877
|
+
/**
|
|
1878
|
+
* Parse the network_code from MobileCarrier resource.
|
|
1879
|
+
*
|
|
1880
|
+
* @param {string} mobileCarrierName
|
|
1881
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1882
|
+
* @returns {string} A string representing the network_code.
|
|
1883
|
+
*/
|
|
1884
|
+
matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
|
|
1885
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
|
|
1886
|
+
}
|
|
1887
|
+
/**
|
|
1888
|
+
* Parse the mobile_carrier from MobileCarrier resource.
|
|
1889
|
+
*
|
|
1890
|
+
* @param {string} mobileCarrierName
|
|
1891
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1892
|
+
* @returns {string} A string representing the mobile_carrier.
|
|
1893
|
+
*/
|
|
1894
|
+
matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
|
|
1895
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
|
|
1896
|
+
}
|
|
1897
|
+
/**
|
|
1898
|
+
* Return a fully-qualified mobileDevice resource name string.
|
|
1899
|
+
*
|
|
1900
|
+
* @param {string} network_code
|
|
1901
|
+
* @param {string} mobile_device
|
|
1902
|
+
* @returns {string} Resource name string.
|
|
1903
|
+
*/
|
|
1904
|
+
mobileDevicePath(networkCode, mobileDevice) {
|
|
1905
|
+
return this.pathTemplates.mobileDevicePathTemplate.render({
|
|
1906
|
+
network_code: networkCode,
|
|
1907
|
+
mobile_device: mobileDevice,
|
|
1908
|
+
});
|
|
1909
|
+
}
|
|
1910
|
+
/**
|
|
1911
|
+
* Parse the network_code from MobileDevice resource.
|
|
1912
|
+
*
|
|
1913
|
+
* @param {string} mobileDeviceName
|
|
1914
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1915
|
+
* @returns {string} A string representing the network_code.
|
|
1916
|
+
*/
|
|
1917
|
+
matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
|
|
1918
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
|
|
1919
|
+
}
|
|
1920
|
+
/**
|
|
1921
|
+
* Parse the mobile_device from MobileDevice resource.
|
|
1922
|
+
*
|
|
1923
|
+
* @param {string} mobileDeviceName
|
|
1924
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1925
|
+
* @returns {string} A string representing the mobile_device.
|
|
1926
|
+
*/
|
|
1927
|
+
matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
|
|
1928
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
|
|
1929
|
+
}
|
|
1930
|
+
/**
|
|
1931
|
+
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
1932
|
+
*
|
|
1933
|
+
* @param {string} network_code
|
|
1934
|
+
* @param {string} mobile_device_submodel
|
|
1935
|
+
* @returns {string} Resource name string.
|
|
1936
|
+
*/
|
|
1937
|
+
mobileDeviceSubmodelPath(networkCode, mobileDeviceSubmodel) {
|
|
1938
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.render({
|
|
1939
|
+
network_code: networkCode,
|
|
1940
|
+
mobile_device_submodel: mobileDeviceSubmodel,
|
|
1941
|
+
});
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* Parse the network_code from MobileDeviceSubmodel resource.
|
|
1945
|
+
*
|
|
1946
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1947
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1948
|
+
* @returns {string} A string representing the network_code.
|
|
1949
|
+
*/
|
|
1950
|
+
matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1951
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).network_code;
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
|
|
1955
|
+
*
|
|
1956
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1957
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1958
|
+
* @returns {string} A string representing the mobile_device_submodel.
|
|
1959
|
+
*/
|
|
1960
|
+
matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1961
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
|
|
1962
|
+
}
|
|
1369
1963
|
/**
|
|
1370
1964
|
* Return a fully-qualified network resource name string.
|
|
1371
1965
|
*
|
|
@@ -1684,6 +2278,39 @@ class ReportServiceClient {
|
|
|
1684
2278
|
matchRoleFromRoleName(roleName) {
|
|
1685
2279
|
return this.pathTemplates.rolePathTemplate.match(roleName).role;
|
|
1686
2280
|
}
|
|
2281
|
+
/**
|
|
2282
|
+
* Return a fully-qualified site resource name string.
|
|
2283
|
+
*
|
|
2284
|
+
* @param {string} network_code
|
|
2285
|
+
* @param {string} site
|
|
2286
|
+
* @returns {string} Resource name string.
|
|
2287
|
+
*/
|
|
2288
|
+
sitePath(networkCode, site) {
|
|
2289
|
+
return this.pathTemplates.sitePathTemplate.render({
|
|
2290
|
+
network_code: networkCode,
|
|
2291
|
+
site: site,
|
|
2292
|
+
});
|
|
2293
|
+
}
|
|
2294
|
+
/**
|
|
2295
|
+
* Parse the network_code from Site resource.
|
|
2296
|
+
*
|
|
2297
|
+
* @param {string} siteName
|
|
2298
|
+
* A fully-qualified path representing Site resource.
|
|
2299
|
+
* @returns {string} A string representing the network_code.
|
|
2300
|
+
*/
|
|
2301
|
+
matchNetworkCodeFromSiteName(siteName) {
|
|
2302
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).network_code;
|
|
2303
|
+
}
|
|
2304
|
+
/**
|
|
2305
|
+
* Parse the site from Site resource.
|
|
2306
|
+
*
|
|
2307
|
+
* @param {string} siteName
|
|
2308
|
+
* A fully-qualified path representing Site resource.
|
|
2309
|
+
* @returns {string} A string representing the site.
|
|
2310
|
+
*/
|
|
2311
|
+
matchSiteFromSiteName(siteName) {
|
|
2312
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).site;
|
|
2313
|
+
}
|
|
1687
2314
|
/**
|
|
1688
2315
|
* Return a fully-qualified taxonomyCategory resource name string.
|
|
1689
2316
|
*
|
|
@@ -1783,6 +2410,39 @@ class ReportServiceClient {
|
|
|
1783
2410
|
matchUserFromUserName(userName) {
|
|
1784
2411
|
return this.pathTemplates.userPathTemplate.match(userName).user;
|
|
1785
2412
|
}
|
|
2413
|
+
/**
|
|
2414
|
+
* Return a fully-qualified webProperty resource name string.
|
|
2415
|
+
*
|
|
2416
|
+
* @param {string} network_code
|
|
2417
|
+
* @param {string} web_property
|
|
2418
|
+
* @returns {string} Resource name string.
|
|
2419
|
+
*/
|
|
2420
|
+
webPropertyPath(networkCode, webProperty) {
|
|
2421
|
+
return this.pathTemplates.webPropertyPathTemplate.render({
|
|
2422
|
+
network_code: networkCode,
|
|
2423
|
+
web_property: webProperty,
|
|
2424
|
+
});
|
|
2425
|
+
}
|
|
2426
|
+
/**
|
|
2427
|
+
* Parse the network_code from WebProperty resource.
|
|
2428
|
+
*
|
|
2429
|
+
* @param {string} webPropertyName
|
|
2430
|
+
* A fully-qualified path representing WebProperty resource.
|
|
2431
|
+
* @returns {string} A string representing the network_code.
|
|
2432
|
+
*/
|
|
2433
|
+
matchNetworkCodeFromWebPropertyName(webPropertyName) {
|
|
2434
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
|
|
2435
|
+
}
|
|
2436
|
+
/**
|
|
2437
|
+
* Parse the web_property from WebProperty resource.
|
|
2438
|
+
*
|
|
2439
|
+
* @param {string} webPropertyName
|
|
2440
|
+
* A fully-qualified path representing WebProperty resource.
|
|
2441
|
+
* @returns {string} A string representing the web_property.
|
|
2442
|
+
*/
|
|
2443
|
+
matchWebPropertyFromWebPropertyName(webPropertyName) {
|
|
2444
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
|
|
2445
|
+
}
|
|
1786
2446
|
/**
|
|
1787
2447
|
* Terminate the gRPC channel and close the client.
|
|
1788
2448
|
*
|