@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.
|
|
@@ -168,18 +168,35 @@ class UserServiceClient {
|
|
|
168
168
|
// Create useful helper objects for these.
|
|
169
169
|
this.pathTemplates = {
|
|
170
170
|
adBreakPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}'),
|
|
171
|
+
adReviewCenterAdPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}'),
|
|
171
172
|
adUnitPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adUnits/{ad_unit}'),
|
|
173
|
+
applicationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/applications/{application}'),
|
|
174
|
+
audienceSegmentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/audienceSegments/{audience_segment}'),
|
|
172
175
|
bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
|
|
176
|
+
browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
|
|
177
|
+
browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
|
|
178
|
+
cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
|
|
179
|
+
cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
|
|
173
180
|
companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
|
|
174
181
|
contactPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contacts/{contact}'),
|
|
182
|
+
contentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/content/{content}'),
|
|
183
|
+
contentBundlePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentBundles/{content_bundle}'),
|
|
184
|
+
contentLabelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentLabels/{content_label}'),
|
|
185
|
+
creativeTemplatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeTemplates/{creative_template}'),
|
|
175
186
|
customFieldPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customFields/{custom_field}'),
|
|
176
187
|
customTargetingKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingKeys/{custom_targeting_key}'),
|
|
177
188
|
customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
|
|
189
|
+
deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
|
|
178
190
|
deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
|
|
191
|
+
deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
|
|
179
192
|
entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
|
|
180
193
|
geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
|
|
181
194
|
labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
|
|
195
|
+
lineItemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/lineItems/{line_item}'),
|
|
182
196
|
liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
|
|
197
|
+
mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
|
|
198
|
+
mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
|
|
199
|
+
mobileDeviceSubmodelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}'),
|
|
183
200
|
networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
|
|
184
201
|
operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
|
|
185
202
|
operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
|
|
@@ -190,9 +207,11 @@ class UserServiceClient {
|
|
|
190
207
|
programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
|
|
191
208
|
reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
|
|
192
209
|
rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
|
|
210
|
+
sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
|
|
193
211
|
taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
|
|
194
212
|
teamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/teams/{team}'),
|
|
195
213
|
userPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/users/{user}'),
|
|
214
|
+
webPropertyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property}'),
|
|
196
215
|
};
|
|
197
216
|
// Put together the default options sent with requests.
|
|
198
217
|
this._defaults = this._gaxGrpc.constructSettings('google.ads.admanager.v1.UserService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
|
@@ -388,6 +407,51 @@ class UserServiceClient {
|
|
|
388
407
|
matchAdBreakFromAdBreakName(adBreakName) {
|
|
389
408
|
return this.pathTemplates.adBreakPathTemplate.match(adBreakName).ad_break;
|
|
390
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* Return a fully-qualified adReviewCenterAd resource name string.
|
|
412
|
+
*
|
|
413
|
+
* @param {string} network_code
|
|
414
|
+
* @param {string} web_property_code
|
|
415
|
+
* @param {string} ad_review_center_ad
|
|
416
|
+
* @returns {string} Resource name string.
|
|
417
|
+
*/
|
|
418
|
+
adReviewCenterAdPath(networkCode, webPropertyCode, adReviewCenterAd) {
|
|
419
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.render({
|
|
420
|
+
network_code: networkCode,
|
|
421
|
+
web_property_code: webPropertyCode,
|
|
422
|
+
ad_review_center_ad: adReviewCenterAd,
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Parse the network_code from AdReviewCenterAd resource.
|
|
427
|
+
*
|
|
428
|
+
* @param {string} adReviewCenterAdName
|
|
429
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
430
|
+
* @returns {string} A string representing the network_code.
|
|
431
|
+
*/
|
|
432
|
+
matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
433
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).network_code;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Parse the web_property_code from AdReviewCenterAd resource.
|
|
437
|
+
*
|
|
438
|
+
* @param {string} adReviewCenterAdName
|
|
439
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
440
|
+
* @returns {string} A string representing the web_property_code.
|
|
441
|
+
*/
|
|
442
|
+
matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
443
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).web_property_code;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Parse the ad_review_center_ad from AdReviewCenterAd resource.
|
|
447
|
+
*
|
|
448
|
+
* @param {string} adReviewCenterAdName
|
|
449
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
450
|
+
* @returns {string} A string representing the ad_review_center_ad.
|
|
451
|
+
*/
|
|
452
|
+
matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
453
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).ad_review_center_ad;
|
|
454
|
+
}
|
|
391
455
|
/**
|
|
392
456
|
* Return a fully-qualified adUnit resource name string.
|
|
393
457
|
*
|
|
@@ -421,6 +485,72 @@ class UserServiceClient {
|
|
|
421
485
|
matchAdUnitFromAdUnitName(adUnitName) {
|
|
422
486
|
return this.pathTemplates.adUnitPathTemplate.match(adUnitName).ad_unit;
|
|
423
487
|
}
|
|
488
|
+
/**
|
|
489
|
+
* Return a fully-qualified application resource name string.
|
|
490
|
+
*
|
|
491
|
+
* @param {string} network_code
|
|
492
|
+
* @param {string} application
|
|
493
|
+
* @returns {string} Resource name string.
|
|
494
|
+
*/
|
|
495
|
+
applicationPath(networkCode, application) {
|
|
496
|
+
return this.pathTemplates.applicationPathTemplate.render({
|
|
497
|
+
network_code: networkCode,
|
|
498
|
+
application: application,
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* Parse the network_code from Application resource.
|
|
503
|
+
*
|
|
504
|
+
* @param {string} applicationName
|
|
505
|
+
* A fully-qualified path representing Application resource.
|
|
506
|
+
* @returns {string} A string representing the network_code.
|
|
507
|
+
*/
|
|
508
|
+
matchNetworkCodeFromApplicationName(applicationName) {
|
|
509
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Parse the application from Application resource.
|
|
513
|
+
*
|
|
514
|
+
* @param {string} applicationName
|
|
515
|
+
* A fully-qualified path representing Application resource.
|
|
516
|
+
* @returns {string} A string representing the application.
|
|
517
|
+
*/
|
|
518
|
+
matchApplicationFromApplicationName(applicationName) {
|
|
519
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Return a fully-qualified audienceSegment resource name string.
|
|
523
|
+
*
|
|
524
|
+
* @param {string} network_code
|
|
525
|
+
* @param {string} audience_segment
|
|
526
|
+
* @returns {string} Resource name string.
|
|
527
|
+
*/
|
|
528
|
+
audienceSegmentPath(networkCode, audienceSegment) {
|
|
529
|
+
return this.pathTemplates.audienceSegmentPathTemplate.render({
|
|
530
|
+
network_code: networkCode,
|
|
531
|
+
audience_segment: audienceSegment,
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* Parse the network_code from AudienceSegment resource.
|
|
536
|
+
*
|
|
537
|
+
* @param {string} audienceSegmentName
|
|
538
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
539
|
+
* @returns {string} A string representing the network_code.
|
|
540
|
+
*/
|
|
541
|
+
matchNetworkCodeFromAudienceSegmentName(audienceSegmentName) {
|
|
542
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).network_code;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* Parse the audience_segment from AudienceSegment resource.
|
|
546
|
+
*
|
|
547
|
+
* @param {string} audienceSegmentName
|
|
548
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
549
|
+
* @returns {string} A string representing the audience_segment.
|
|
550
|
+
*/
|
|
551
|
+
matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName) {
|
|
552
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).audience_segment;
|
|
553
|
+
}
|
|
424
554
|
/**
|
|
425
555
|
* Return a fully-qualified bandwidthGroup resource name string.
|
|
426
556
|
*
|
|
@@ -454,6 +584,138 @@ class UserServiceClient {
|
|
|
454
584
|
matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName) {
|
|
455
585
|
return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).bandwidth_group;
|
|
456
586
|
}
|
|
587
|
+
/**
|
|
588
|
+
* Return a fully-qualified browser resource name string.
|
|
589
|
+
*
|
|
590
|
+
* @param {string} network_code
|
|
591
|
+
* @param {string} browser
|
|
592
|
+
* @returns {string} Resource name string.
|
|
593
|
+
*/
|
|
594
|
+
browserPath(networkCode, browser) {
|
|
595
|
+
return this.pathTemplates.browserPathTemplate.render({
|
|
596
|
+
network_code: networkCode,
|
|
597
|
+
browser: browser,
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Parse the network_code from Browser resource.
|
|
602
|
+
*
|
|
603
|
+
* @param {string} browserName
|
|
604
|
+
* A fully-qualified path representing Browser resource.
|
|
605
|
+
* @returns {string} A string representing the network_code.
|
|
606
|
+
*/
|
|
607
|
+
matchNetworkCodeFromBrowserName(browserName) {
|
|
608
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* Parse the browser from Browser resource.
|
|
612
|
+
*
|
|
613
|
+
* @param {string} browserName
|
|
614
|
+
* A fully-qualified path representing Browser resource.
|
|
615
|
+
* @returns {string} A string representing the browser.
|
|
616
|
+
*/
|
|
617
|
+
matchBrowserFromBrowserName(browserName) {
|
|
618
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).browser;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* Return a fully-qualified browserLanguage resource name string.
|
|
622
|
+
*
|
|
623
|
+
* @param {string} network_code
|
|
624
|
+
* @param {string} browser_language
|
|
625
|
+
* @returns {string} Resource name string.
|
|
626
|
+
*/
|
|
627
|
+
browserLanguagePath(networkCode, browserLanguage) {
|
|
628
|
+
return this.pathTemplates.browserLanguagePathTemplate.render({
|
|
629
|
+
network_code: networkCode,
|
|
630
|
+
browser_language: browserLanguage,
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* Parse the network_code from BrowserLanguage resource.
|
|
635
|
+
*
|
|
636
|
+
* @param {string} browserLanguageName
|
|
637
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
638
|
+
* @returns {string} A string representing the network_code.
|
|
639
|
+
*/
|
|
640
|
+
matchNetworkCodeFromBrowserLanguageName(browserLanguageName) {
|
|
641
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).network_code;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* Parse the browser_language from BrowserLanguage resource.
|
|
645
|
+
*
|
|
646
|
+
* @param {string} browserLanguageName
|
|
647
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
648
|
+
* @returns {string} A string representing the browser_language.
|
|
649
|
+
*/
|
|
650
|
+
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
|
|
651
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
655
|
+
*
|
|
656
|
+
* @param {string} network_code
|
|
657
|
+
* @param {string} cms_metadata_key
|
|
658
|
+
* @returns {string} Resource name string.
|
|
659
|
+
*/
|
|
660
|
+
cmsMetadataKeyPath(networkCode, cmsMetadataKey) {
|
|
661
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.render({
|
|
662
|
+
network_code: networkCode,
|
|
663
|
+
cms_metadata_key: cmsMetadataKey,
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* Parse the network_code from CmsMetadataKey resource.
|
|
668
|
+
*
|
|
669
|
+
* @param {string} cmsMetadataKeyName
|
|
670
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
671
|
+
* @returns {string} A string representing the network_code.
|
|
672
|
+
*/
|
|
673
|
+
matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
674
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).network_code;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* Parse the cms_metadata_key from CmsMetadataKey resource.
|
|
678
|
+
*
|
|
679
|
+
* @param {string} cmsMetadataKeyName
|
|
680
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
681
|
+
* @returns {string} A string representing the cms_metadata_key.
|
|
682
|
+
*/
|
|
683
|
+
matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
684
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).cms_metadata_key;
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* Return a fully-qualified cmsMetadataValue resource name string.
|
|
688
|
+
*
|
|
689
|
+
* @param {string} network_code
|
|
690
|
+
* @param {string} cms_metadata_value
|
|
691
|
+
* @returns {string} Resource name string.
|
|
692
|
+
*/
|
|
693
|
+
cmsMetadataValuePath(networkCode, cmsMetadataValue) {
|
|
694
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.render({
|
|
695
|
+
network_code: networkCode,
|
|
696
|
+
cms_metadata_value: cmsMetadataValue,
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* Parse the network_code from CmsMetadataValue resource.
|
|
701
|
+
*
|
|
702
|
+
* @param {string} cmsMetadataValueName
|
|
703
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
704
|
+
* @returns {string} A string representing the network_code.
|
|
705
|
+
*/
|
|
706
|
+
matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
707
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).network_code;
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* Parse the cms_metadata_value from CmsMetadataValue resource.
|
|
711
|
+
*
|
|
712
|
+
* @param {string} cmsMetadataValueName
|
|
713
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
714
|
+
* @returns {string} A string representing the cms_metadata_value.
|
|
715
|
+
*/
|
|
716
|
+
matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
717
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).cms_metadata_value;
|
|
718
|
+
}
|
|
457
719
|
/**
|
|
458
720
|
* Return a fully-qualified company resource name string.
|
|
459
721
|
*
|
|
@@ -520,6 +782,138 @@ class UserServiceClient {
|
|
|
520
782
|
matchContactFromContactName(contactName) {
|
|
521
783
|
return this.pathTemplates.contactPathTemplate.match(contactName).contact;
|
|
522
784
|
}
|
|
785
|
+
/**
|
|
786
|
+
* Return a fully-qualified content resource name string.
|
|
787
|
+
*
|
|
788
|
+
* @param {string} network_code
|
|
789
|
+
* @param {string} content
|
|
790
|
+
* @returns {string} Resource name string.
|
|
791
|
+
*/
|
|
792
|
+
contentPath(networkCode, content) {
|
|
793
|
+
return this.pathTemplates.contentPathTemplate.render({
|
|
794
|
+
network_code: networkCode,
|
|
795
|
+
content: content,
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* Parse the network_code from Content resource.
|
|
800
|
+
*
|
|
801
|
+
* @param {string} contentName
|
|
802
|
+
* A fully-qualified path representing Content resource.
|
|
803
|
+
* @returns {string} A string representing the network_code.
|
|
804
|
+
*/
|
|
805
|
+
matchNetworkCodeFromContentName(contentName) {
|
|
806
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Parse the content from Content resource.
|
|
810
|
+
*
|
|
811
|
+
* @param {string} contentName
|
|
812
|
+
* A fully-qualified path representing Content resource.
|
|
813
|
+
* @returns {string} A string representing the content.
|
|
814
|
+
*/
|
|
815
|
+
matchContentFromContentName(contentName) {
|
|
816
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).content;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Return a fully-qualified contentBundle resource name string.
|
|
820
|
+
*
|
|
821
|
+
* @param {string} network_code
|
|
822
|
+
* @param {string} content_bundle
|
|
823
|
+
* @returns {string} Resource name string.
|
|
824
|
+
*/
|
|
825
|
+
contentBundlePath(networkCode, contentBundle) {
|
|
826
|
+
return this.pathTemplates.contentBundlePathTemplate.render({
|
|
827
|
+
network_code: networkCode,
|
|
828
|
+
content_bundle: contentBundle,
|
|
829
|
+
});
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* Parse the network_code from ContentBundle resource.
|
|
833
|
+
*
|
|
834
|
+
* @param {string} contentBundleName
|
|
835
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
836
|
+
* @returns {string} A string representing the network_code.
|
|
837
|
+
*/
|
|
838
|
+
matchNetworkCodeFromContentBundleName(contentBundleName) {
|
|
839
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Parse the content_bundle from ContentBundle resource.
|
|
843
|
+
*
|
|
844
|
+
* @param {string} contentBundleName
|
|
845
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
846
|
+
* @returns {string} A string representing the content_bundle.
|
|
847
|
+
*/
|
|
848
|
+
matchContentBundleFromContentBundleName(contentBundleName) {
|
|
849
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* Return a fully-qualified contentLabel resource name string.
|
|
853
|
+
*
|
|
854
|
+
* @param {string} network_code
|
|
855
|
+
* @param {string} content_label
|
|
856
|
+
* @returns {string} Resource name string.
|
|
857
|
+
*/
|
|
858
|
+
contentLabelPath(networkCode, contentLabel) {
|
|
859
|
+
return this.pathTemplates.contentLabelPathTemplate.render({
|
|
860
|
+
network_code: networkCode,
|
|
861
|
+
content_label: contentLabel,
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Parse the network_code from ContentLabel resource.
|
|
866
|
+
*
|
|
867
|
+
* @param {string} contentLabelName
|
|
868
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
869
|
+
* @returns {string} A string representing the network_code.
|
|
870
|
+
*/
|
|
871
|
+
matchNetworkCodeFromContentLabelName(contentLabelName) {
|
|
872
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* Parse the content_label from ContentLabel resource.
|
|
876
|
+
*
|
|
877
|
+
* @param {string} contentLabelName
|
|
878
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
879
|
+
* @returns {string} A string representing the content_label.
|
|
880
|
+
*/
|
|
881
|
+
matchContentLabelFromContentLabelName(contentLabelName) {
|
|
882
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Return a fully-qualified creativeTemplate resource name string.
|
|
886
|
+
*
|
|
887
|
+
* @param {string} network_code
|
|
888
|
+
* @param {string} creative_template
|
|
889
|
+
* @returns {string} Resource name string.
|
|
890
|
+
*/
|
|
891
|
+
creativeTemplatePath(networkCode, creativeTemplate) {
|
|
892
|
+
return this.pathTemplates.creativeTemplatePathTemplate.render({
|
|
893
|
+
network_code: networkCode,
|
|
894
|
+
creative_template: creativeTemplate,
|
|
895
|
+
});
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* Parse the network_code from CreativeTemplate resource.
|
|
899
|
+
*
|
|
900
|
+
* @param {string} creativeTemplateName
|
|
901
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
902
|
+
* @returns {string} A string representing the network_code.
|
|
903
|
+
*/
|
|
904
|
+
matchNetworkCodeFromCreativeTemplateName(creativeTemplateName) {
|
|
905
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).network_code;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Parse the creative_template from CreativeTemplate resource.
|
|
909
|
+
*
|
|
910
|
+
* @param {string} creativeTemplateName
|
|
911
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
912
|
+
* @returns {string} A string representing the creative_template.
|
|
913
|
+
*/
|
|
914
|
+
matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
|
|
915
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
|
|
916
|
+
}
|
|
523
917
|
/**
|
|
524
918
|
* Return a fully-qualified customField resource name string.
|
|
525
919
|
*
|
|
@@ -619,6 +1013,39 @@ class UserServiceClient {
|
|
|
619
1013
|
matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
|
|
620
1014
|
return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
|
|
621
1015
|
}
|
|
1016
|
+
/**
|
|
1017
|
+
* Return a fully-qualified deviceCapability resource name string.
|
|
1018
|
+
*
|
|
1019
|
+
* @param {string} network_code
|
|
1020
|
+
* @param {string} device_capability
|
|
1021
|
+
* @returns {string} Resource name string.
|
|
1022
|
+
*/
|
|
1023
|
+
deviceCapabilityPath(networkCode, deviceCapability) {
|
|
1024
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.render({
|
|
1025
|
+
network_code: networkCode,
|
|
1026
|
+
device_capability: deviceCapability,
|
|
1027
|
+
});
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Parse the network_code from DeviceCapability resource.
|
|
1031
|
+
*
|
|
1032
|
+
* @param {string} deviceCapabilityName
|
|
1033
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1034
|
+
* @returns {string} A string representing the network_code.
|
|
1035
|
+
*/
|
|
1036
|
+
matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1037
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).network_code;
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* Parse the device_capability from DeviceCapability resource.
|
|
1041
|
+
*
|
|
1042
|
+
* @param {string} deviceCapabilityName
|
|
1043
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1044
|
+
* @returns {string} A string representing the device_capability.
|
|
1045
|
+
*/
|
|
1046
|
+
matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1047
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).device_capability;
|
|
1048
|
+
}
|
|
622
1049
|
/**
|
|
623
1050
|
* Return a fully-qualified deviceCategory resource name string.
|
|
624
1051
|
*
|
|
@@ -652,6 +1079,39 @@ class UserServiceClient {
|
|
|
652
1079
|
matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName) {
|
|
653
1080
|
return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).device_category;
|
|
654
1081
|
}
|
|
1082
|
+
/**
|
|
1083
|
+
* Return a fully-qualified deviceManufacturer resource name string.
|
|
1084
|
+
*
|
|
1085
|
+
* @param {string} network_code
|
|
1086
|
+
* @param {string} device_manufacturer
|
|
1087
|
+
* @returns {string} Resource name string.
|
|
1088
|
+
*/
|
|
1089
|
+
deviceManufacturerPath(networkCode, deviceManufacturer) {
|
|
1090
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.render({
|
|
1091
|
+
network_code: networkCode,
|
|
1092
|
+
device_manufacturer: deviceManufacturer,
|
|
1093
|
+
});
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Parse the network_code from DeviceManufacturer resource.
|
|
1097
|
+
*
|
|
1098
|
+
* @param {string} deviceManufacturerName
|
|
1099
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1100
|
+
* @returns {string} A string representing the network_code.
|
|
1101
|
+
*/
|
|
1102
|
+
matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1103
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).network_code;
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Parse the device_manufacturer from DeviceManufacturer resource.
|
|
1107
|
+
*
|
|
1108
|
+
* @param {string} deviceManufacturerName
|
|
1109
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1110
|
+
* @returns {string} A string representing the device_manufacturer.
|
|
1111
|
+
*/
|
|
1112
|
+
matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1113
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).device_manufacturer;
|
|
1114
|
+
}
|
|
655
1115
|
/**
|
|
656
1116
|
* Return a fully-qualified entitySignalsMapping resource name string.
|
|
657
1117
|
*
|
|
@@ -751,6 +1211,39 @@ class UserServiceClient {
|
|
|
751
1211
|
matchLabelFromLabelName(labelName) {
|
|
752
1212
|
return this.pathTemplates.labelPathTemplate.match(labelName).label;
|
|
753
1213
|
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Return a fully-qualified lineItem resource name string.
|
|
1216
|
+
*
|
|
1217
|
+
* @param {string} network_code
|
|
1218
|
+
* @param {string} line_item
|
|
1219
|
+
* @returns {string} Resource name string.
|
|
1220
|
+
*/
|
|
1221
|
+
lineItemPath(networkCode, lineItem) {
|
|
1222
|
+
return this.pathTemplates.lineItemPathTemplate.render({
|
|
1223
|
+
network_code: networkCode,
|
|
1224
|
+
line_item: lineItem,
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* Parse the network_code from LineItem resource.
|
|
1229
|
+
*
|
|
1230
|
+
* @param {string} lineItemName
|
|
1231
|
+
* A fully-qualified path representing LineItem resource.
|
|
1232
|
+
* @returns {string} A string representing the network_code.
|
|
1233
|
+
*/
|
|
1234
|
+
matchNetworkCodeFromLineItemName(lineItemName) {
|
|
1235
|
+
return this.pathTemplates.lineItemPathTemplate.match(lineItemName).network_code;
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Parse the line_item from LineItem resource.
|
|
1239
|
+
*
|
|
1240
|
+
* @param {string} lineItemName
|
|
1241
|
+
* A fully-qualified path representing LineItem resource.
|
|
1242
|
+
* @returns {string} A string representing the line_item.
|
|
1243
|
+
*/
|
|
1244
|
+
matchLineItemFromLineItemName(lineItemName) {
|
|
1245
|
+
return this.pathTemplates.lineItemPathTemplate.match(lineItemName).line_item;
|
|
1246
|
+
}
|
|
754
1247
|
/**
|
|
755
1248
|
* Return a fully-qualified liveStreamEvent resource name string.
|
|
756
1249
|
*
|
|
@@ -784,6 +1277,105 @@ class UserServiceClient {
|
|
|
784
1277
|
matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName) {
|
|
785
1278
|
return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).live_stream_event;
|
|
786
1279
|
}
|
|
1280
|
+
/**
|
|
1281
|
+
* Return a fully-qualified mobileCarrier resource name string.
|
|
1282
|
+
*
|
|
1283
|
+
* @param {string} network_code
|
|
1284
|
+
* @param {string} mobile_carrier
|
|
1285
|
+
* @returns {string} Resource name string.
|
|
1286
|
+
*/
|
|
1287
|
+
mobileCarrierPath(networkCode, mobileCarrier) {
|
|
1288
|
+
return this.pathTemplates.mobileCarrierPathTemplate.render({
|
|
1289
|
+
network_code: networkCode,
|
|
1290
|
+
mobile_carrier: mobileCarrier,
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* Parse the network_code from MobileCarrier resource.
|
|
1295
|
+
*
|
|
1296
|
+
* @param {string} mobileCarrierName
|
|
1297
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1298
|
+
* @returns {string} A string representing the network_code.
|
|
1299
|
+
*/
|
|
1300
|
+
matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
|
|
1301
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
* Parse the mobile_carrier from MobileCarrier resource.
|
|
1305
|
+
*
|
|
1306
|
+
* @param {string} mobileCarrierName
|
|
1307
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1308
|
+
* @returns {string} A string representing the mobile_carrier.
|
|
1309
|
+
*/
|
|
1310
|
+
matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
|
|
1311
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
* Return a fully-qualified mobileDevice resource name string.
|
|
1315
|
+
*
|
|
1316
|
+
* @param {string} network_code
|
|
1317
|
+
* @param {string} mobile_device
|
|
1318
|
+
* @returns {string} Resource name string.
|
|
1319
|
+
*/
|
|
1320
|
+
mobileDevicePath(networkCode, mobileDevice) {
|
|
1321
|
+
return this.pathTemplates.mobileDevicePathTemplate.render({
|
|
1322
|
+
network_code: networkCode,
|
|
1323
|
+
mobile_device: mobileDevice,
|
|
1324
|
+
});
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* Parse the network_code from MobileDevice resource.
|
|
1328
|
+
*
|
|
1329
|
+
* @param {string} mobileDeviceName
|
|
1330
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1331
|
+
* @returns {string} A string representing the network_code.
|
|
1332
|
+
*/
|
|
1333
|
+
matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
|
|
1334
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* Parse the mobile_device from MobileDevice resource.
|
|
1338
|
+
*
|
|
1339
|
+
* @param {string} mobileDeviceName
|
|
1340
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1341
|
+
* @returns {string} A string representing the mobile_device.
|
|
1342
|
+
*/
|
|
1343
|
+
matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
|
|
1344
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
|
|
1345
|
+
}
|
|
1346
|
+
/**
|
|
1347
|
+
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
1348
|
+
*
|
|
1349
|
+
* @param {string} network_code
|
|
1350
|
+
* @param {string} mobile_device_submodel
|
|
1351
|
+
* @returns {string} Resource name string.
|
|
1352
|
+
*/
|
|
1353
|
+
mobileDeviceSubmodelPath(networkCode, mobileDeviceSubmodel) {
|
|
1354
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.render({
|
|
1355
|
+
network_code: networkCode,
|
|
1356
|
+
mobile_device_submodel: mobileDeviceSubmodel,
|
|
1357
|
+
});
|
|
1358
|
+
}
|
|
1359
|
+
/**
|
|
1360
|
+
* Parse the network_code from MobileDeviceSubmodel resource.
|
|
1361
|
+
*
|
|
1362
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1363
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1364
|
+
* @returns {string} A string representing the network_code.
|
|
1365
|
+
*/
|
|
1366
|
+
matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1367
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).network_code;
|
|
1368
|
+
}
|
|
1369
|
+
/**
|
|
1370
|
+
* Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
|
|
1371
|
+
*
|
|
1372
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1373
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1374
|
+
* @returns {string} A string representing the mobile_device_submodel.
|
|
1375
|
+
*/
|
|
1376
|
+
matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1377
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
|
|
1378
|
+
}
|
|
787
1379
|
/**
|
|
788
1380
|
* Return a fully-qualified network resource name string.
|
|
789
1381
|
*
|
|
@@ -1102,6 +1694,39 @@ class UserServiceClient {
|
|
|
1102
1694
|
matchRoleFromRoleName(roleName) {
|
|
1103
1695
|
return this.pathTemplates.rolePathTemplate.match(roleName).role;
|
|
1104
1696
|
}
|
|
1697
|
+
/**
|
|
1698
|
+
* Return a fully-qualified site resource name string.
|
|
1699
|
+
*
|
|
1700
|
+
* @param {string} network_code
|
|
1701
|
+
* @param {string} site
|
|
1702
|
+
* @returns {string} Resource name string.
|
|
1703
|
+
*/
|
|
1704
|
+
sitePath(networkCode, site) {
|
|
1705
|
+
return this.pathTemplates.sitePathTemplate.render({
|
|
1706
|
+
network_code: networkCode,
|
|
1707
|
+
site: site,
|
|
1708
|
+
});
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* Parse the network_code from Site resource.
|
|
1712
|
+
*
|
|
1713
|
+
* @param {string} siteName
|
|
1714
|
+
* A fully-qualified path representing Site resource.
|
|
1715
|
+
* @returns {string} A string representing the network_code.
|
|
1716
|
+
*/
|
|
1717
|
+
matchNetworkCodeFromSiteName(siteName) {
|
|
1718
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).network_code;
|
|
1719
|
+
}
|
|
1720
|
+
/**
|
|
1721
|
+
* Parse the site from Site resource.
|
|
1722
|
+
*
|
|
1723
|
+
* @param {string} siteName
|
|
1724
|
+
* A fully-qualified path representing Site resource.
|
|
1725
|
+
* @returns {string} A string representing the site.
|
|
1726
|
+
*/
|
|
1727
|
+
matchSiteFromSiteName(siteName) {
|
|
1728
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).site;
|
|
1729
|
+
}
|
|
1105
1730
|
/**
|
|
1106
1731
|
* Return a fully-qualified taxonomyCategory resource name string.
|
|
1107
1732
|
*
|
|
@@ -1201,6 +1826,39 @@ class UserServiceClient {
|
|
|
1201
1826
|
matchUserFromUserName(userName) {
|
|
1202
1827
|
return this.pathTemplates.userPathTemplate.match(userName).user;
|
|
1203
1828
|
}
|
|
1829
|
+
/**
|
|
1830
|
+
* Return a fully-qualified webProperty resource name string.
|
|
1831
|
+
*
|
|
1832
|
+
* @param {string} network_code
|
|
1833
|
+
* @param {string} web_property
|
|
1834
|
+
* @returns {string} Resource name string.
|
|
1835
|
+
*/
|
|
1836
|
+
webPropertyPath(networkCode, webProperty) {
|
|
1837
|
+
return this.pathTemplates.webPropertyPathTemplate.render({
|
|
1838
|
+
network_code: networkCode,
|
|
1839
|
+
web_property: webProperty,
|
|
1840
|
+
});
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Parse the network_code from WebProperty resource.
|
|
1844
|
+
*
|
|
1845
|
+
* @param {string} webPropertyName
|
|
1846
|
+
* A fully-qualified path representing WebProperty resource.
|
|
1847
|
+
* @returns {string} A string representing the network_code.
|
|
1848
|
+
*/
|
|
1849
|
+
matchNetworkCodeFromWebPropertyName(webPropertyName) {
|
|
1850
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
|
|
1851
|
+
}
|
|
1852
|
+
/**
|
|
1853
|
+
* Parse the web_property from WebProperty resource.
|
|
1854
|
+
*
|
|
1855
|
+
* @param {string} webPropertyName
|
|
1856
|
+
* A fully-qualified path representing WebProperty resource.
|
|
1857
|
+
* @returns {string} A string representing the web_property.
|
|
1858
|
+
*/
|
|
1859
|
+
matchWebPropertyFromWebPropertyName(webPropertyName) {
|
|
1860
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
|
|
1861
|
+
}
|
|
1204
1862
|
/**
|
|
1205
1863
|
* Terminate the gRPC channel and close the client.
|
|
1206
1864
|
*
|