@google-ads/admanager 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -2
- package/build/protos/google/ads/admanager/v1/ad_break_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_break_service.proto +5 -4
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +26 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +9 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +22 -9
- package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +4 -3
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +237 -4
- package/build/protos/google/ads/admanager/v1/application_enums.proto +156 -0
- package/build/protos/google/ads/admanager/v1/application_messages.proto +51 -4
- package/build/protos/google/ads/admanager/v1/application_service.proto +198 -4
- package/build/protos/google/ads/admanager/v1/applied_label.proto +1 -1
- package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +10 -4
- package/build/protos/google/ads/admanager/v1/bandwidth_group_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/browser_language_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/browser_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/browser_service.proto +13 -4
- package/build/protos/google/ads/admanager/v1/child_publisher_messages.proto +43 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +81 -4
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +85 -6
- package/build/protos/google/ads/admanager/v1/company_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/company_messages.proto +36 -23
- package/build/protos/google/ads/admanager/v1/company_service.proto +22 -4
- package/build/protos/google/ads/admanager/v1/contact_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/contact_service.proto +22 -6
- package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/content_label_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/content_label_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/content_messages.proto +2 -2
- package/build/protos/google/ads/admanager/v1/content_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/creative_template_service.proto +18 -4
- package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +3 -4
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +20 -6
- package/build/protos/google/ads/admanager/v1/custom_field_value.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +205 -4
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +15 -4
- package/build/protos/google/ads/admanager/v1/deal_buyer_permission_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/device_category_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/early_ad_break_notification_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +5 -4
- package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/frequency_cap.proto +1 -1
- package/build/protos/google/ads/admanager/v1/geo_target_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +14 -4
- package/build/protos/google/ads/admanager/v1/goal.proto +57 -0
- package/build/protos/google/ads/admanager/v1/goal_enums.proto +138 -0
- package/build/protos/google/ads/admanager/v1/label_enums.proto +56 -0
- package/build/protos/google/ads/admanager/v1/label_messages.proto +19 -1
- package/build/protos/google/ads/admanager/v1/label_service.proto +313 -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 +94 -0
- package/build/protos/google/ads/admanager/v1/line_item_service.proto +140 -0
- package/build/protos/google/ads/admanager/v1/{company_type_enum.proto → linked_device_enums.proto} +15 -24
- package/build/protos/google/ads/admanager/v1/linked_device_messages.proto +58 -0
- package/build/protos/google/ads/admanager/v1/linked_device_service.proto +138 -0
- package/build/protos/google/ads/admanager/v1/live_stream_event_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/mcm_earnings_messages.proto +124 -0
- package/build/protos/google/ads/admanager/v1/mcm_earnings_service.proto +115 -0
- package/build/protos/google/ads/admanager/v1/mcm_enums.proto +97 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +12 -4
- package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +12 -4
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +12 -4
- package/build/protos/google/ads/admanager/v1/network_messages.proto +9 -9
- package/build/protos/google/ads/admanager/v1/network_service.proto +35 -3
- package/build/protos/google/ads/admanager/v1/operating_system_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/operating_system_version_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +13 -4
- package/build/protos/google/ads/admanager/v1/order_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/order_messages.proto +9 -7
- package/build/protos/google/ads/admanager/v1/order_service.proto +28 -4
- package/build/protos/google/ads/admanager/v1/placement_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/placement_messages.proto +4 -3
- package/build/protos/google/ads/admanager/v1/placement_service.proto +18 -6
- package/build/protos/google/ads/admanager/v1/private_auction_deal_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +24 -6
- package/build/protos/google/ads/admanager/v1/private_auction_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/private_auction_service.proto +5 -4
- package/build/protos/google/ads/admanager/v1/private_marketplace_enums.proto +4 -1
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +17 -4
- package/build/protos/google/ads/admanager/v1/report_definition.proto +2898 -1001
- package/build/protos/google/ads/admanager/v1/report_messages.proto +10 -3
- package/build/protos/google/ads/admanager/v1/report_service.proto +5 -4
- package/build/protos/google/ads/admanager/v1/report_value.proto +1 -1
- package/build/protos/google/ads/admanager/v1/request_platform_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/rich_media_ads_company_enums.proto +53 -0
- package/build/protos/google/ads/admanager/v1/rich_media_ads_company_messages.proto +57 -0
- package/build/protos/google/ads/admanager/v1/rich_media_ads_company_service.proto +143 -0
- package/build/protos/google/ads/admanager/v1/role_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/role_messages.proto +4 -3
- package/build/protos/google/ads/admanager/v1/role_service.proto +14 -4
- package/build/protos/google/ads/admanager/v1/site_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/site_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/site_service.proto +16 -6
- package/build/protos/google/ads/admanager/v1/size.proto +1 -1
- package/build/protos/google/ads/admanager/v1/size_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/targeted_video_bumper_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/targeting.proto +4 -4
- package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/team_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/team_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/team_service.proto +18 -6
- package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/user_messages.proto +4 -3
- package/build/protos/google/ads/admanager/v1/user_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/video_position_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/web_property.proto +1 -1
- package/build/protos/protos.d.ts +18344 -7945
- package/build/protos/protos.js +50285 -23131
- package/build/protos/protos.json +6302 -3054
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +13 -3
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +145 -49
- package/build/src/v1/ad_break_service_client.js +296 -81
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +18 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +213 -96
- package/build/src/v1/ad_review_center_ad_service_client.js +327 -107
- package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -1
- package/build/src/v1/ad_review_center_ad_service_proto_list.json +18 -1
- package/build/src/v1/ad_unit_service_client.d.ts +418 -84
- package/build/src/v1/ad_unit_service_client.js +619 -78
- 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 +18 -1
- package/build/src/v1/application_service_client.d.ts +340 -44
- package/build/src/v1/application_service_client.js +548 -67
- package/build/src/v1/application_service_client.js.map +1 -1
- package/build/src/v1/application_service_client_config.json +24 -0
- package/build/src/v1/application_service_proto_list.json +18 -1
- package/build/src/v1/audience_segment_service_client.d.ts +155 -44
- package/build/src/v1/audience_segment_service_client.js +270 -68
- package/build/src/v1/audience_segment_service_client.js.map +1 -1
- package/build/src/v1/audience_segment_service_proto_list.json +18 -1
- package/build/src/v1/bandwidth_group_service_client.d.ts +158 -44
- package/build/src/v1/bandwidth_group_service_client.js +272 -68
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +18 -1
- package/build/src/v1/browser_language_service_client.d.ts +158 -44
- package/build/src/v1/browser_language_service_client.js +272 -68
- package/build/src/v1/browser_language_service_client.js.map +1 -1
- package/build/src/v1/browser_language_service_proto_list.json +18 -1
- package/build/src/v1/browser_service_client.d.ts +164 -44
- package/build/src/v1/browser_service_client.js +270 -66
- package/build/src/v1/browser_service_client.js.map +1 -1
- package/build/src/v1/browser_service_proto_list.json +18 -1
- package/build/src/v1/cms_metadata_key_service_client.d.ts +216 -44
- package/build/src/v1/cms_metadata_key_service_client.js +362 -68
- package/build/src/v1/cms_metadata_key_service_client.js.map +1 -1
- package/build/src/v1/cms_metadata_key_service_client_config.json +8 -0
- package/build/src/v1/cms_metadata_key_service_proto_list.json +18 -1
- package/build/src/v1/cms_metadata_value_service_client.d.ts +222 -46
- package/build/src/v1/cms_metadata_value_service_client.js +364 -68
- package/build/src/v1/cms_metadata_value_service_client.js.map +1 -1
- package/build/src/v1/cms_metadata_value_service_client_config.json +8 -0
- package/build/src/v1/cms_metadata_value_service_proto_list.json +18 -1
- package/build/src/v1/company_service_client.d.ts +191 -44
- package/build/src/v1/company_service_client.js +288 -66
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +18 -1
- package/build/src/v1/contact_service_client.d.ts +187 -46
- package/build/src/v1/contact_service_client.js +344 -91
- package/build/src/v1/contact_service_client.js.map +1 -1
- package/build/src/v1/contact_service_proto_list.json +18 -1
- package/build/src/v1/content_bundle_service_client.d.ts +158 -44
- package/build/src/v1/content_bundle_service_client.js +270 -67
- package/build/src/v1/content_bundle_service_client.js.map +1 -1
- package/build/src/v1/content_bundle_service_proto_list.json +18 -1
- package/build/src/v1/content_label_service_client.d.ts +158 -44
- package/build/src/v1/content_label_service_client.js +270 -67
- package/build/src/v1/content_label_service_client.js.map +1 -1
- package/build/src/v1/content_label_service_proto_list.json +18 -1
- package/build/src/v1/content_service_client.d.ts +158 -44
- package/build/src/v1/content_service_client.js +266 -66
- package/build/src/v1/content_service_client.js.map +1 -1
- package/build/src/v1/content_service_proto_list.json +18 -1
- package/build/src/v1/creative_template_service_client.d.ts +179 -44
- package/build/src/v1/creative_template_service_client.js +286 -68
- package/build/src/v1/creative_template_service_client.js.map +1 -1
- package/build/src/v1/creative_template_service_proto_list.json +18 -1
- package/build/src/v1/custom_field_service_client.d.ts +185 -50
- package/build/src/v1/custom_field_service_client.js +368 -103
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_proto_list.json +18 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +336 -44
- package/build/src/v1/custom_targeting_key_service_client.js +545 -68
- 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 +18 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +174 -48
- package/build/src/v1/custom_targeting_value_service_client.js +281 -68
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +18 -1
- package/build/src/v1/device_capability_service_client.d.ts +158 -44
- package/build/src/v1/device_capability_service_client.js +272 -68
- package/build/src/v1/device_capability_service_client.js.map +1 -1
- package/build/src/v1/device_capability_service_proto_list.json +18 -1
- package/build/src/v1/device_category_service_client.d.ts +158 -44
- package/build/src/v1/device_category_service_client.js +272 -68
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +18 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +158 -44
- package/build/src/v1/device_manufacturer_service_client.js +273 -68
- package/build/src/v1/device_manufacturer_service_client.js.map +1 -1
- package/build/src/v1/device_manufacturer_service_proto_list.json +18 -1
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +145 -49
- package/build/src/v1/entity_signals_mapping_service_client.js +313 -88
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +18 -1
- package/build/src/v1/gapic_metadata.json +476 -2
- package/build/src/v1/geo_target_service_client.d.ts +167 -44
- package/build/src/v1/geo_target_service_client.js +272 -66
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +18 -1
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +12 -2
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/label_service_client.d.ts +1631 -0
- package/build/src/v1/label_service_client.js +2466 -0
- package/build/src/v1/label_service_client.js.map +1 -0
- package/build/src/v1/label_service_client_config.json +58 -0
- package/build/src/v1/label_service_proto_list.json +139 -0
- package/build/src/v1/line_item_service_client.d.ts +1474 -0
- package/build/src/v1/line_item_service_client.js +2203 -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 +139 -0
- package/build/src/v1/linked_device_service_client.d.ts +1465 -0
- package/build/src/v1/linked_device_service_client.js +2200 -0
- package/build/src/v1/linked_device_service_client.js.map +1 -0
- package/build/src/v1/linked_device_service_client_config.json +34 -0
- package/build/src/v1/linked_device_service_proto_list.json +139 -0
- package/build/src/v1/mcm_earnings_service_client.d.ts +1426 -0
- package/build/src/v1/mcm_earnings_service_client.js +2144 -0
- package/build/src/v1/mcm_earnings_service_client.js.map +1 -0
- package/build/src/v1/mcm_earnings_service_client_config.json +30 -0
- package/build/src/v1/mcm_earnings_service_proto_list.json +139 -0
- package/build/src/v1/mobile_carrier_service_client.d.ts +161 -44
- package/build/src/v1/mobile_carrier_service_client.js +272 -67
- package/build/src/v1/mobile_carrier_service_client.js.map +1 -1
- package/build/src/v1/mobile_carrier_service_proto_list.json +18 -1
- package/build/src/v1/mobile_device_service_client.d.ts +161 -44
- package/build/src/v1/mobile_device_service_client.js +272 -67
- package/build/src/v1/mobile_device_service_client.js.map +1 -1
- package/build/src/v1/mobile_device_service_proto_list.json +18 -1
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +164 -47
- package/build/src/v1/mobile_device_submodel_service_client.js +275 -68
- package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -1
- package/build/src/v1/mobile_device_submodel_service_proto_list.json +18 -1
- package/build/src/v1/network_service_client.d.ts +184 -10
- package/build/src/v1/network_service_client.js +332 -64
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +18 -1
- package/build/src/v1/operating_system_service_client.d.ts +158 -44
- package/build/src/v1/operating_system_service_client.js +272 -68
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +18 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +167 -47
- package/build/src/v1/operating_system_version_service_client.js +277 -68
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +18 -1
- package/build/src/v1/order_service_client.d.ts +214 -49
- package/build/src/v1/order_service_client.js +300 -66
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +18 -1
- package/build/src/v1/placement_service_client.d.ts +177 -48
- package/build/src/v1/placement_service_client.js +378 -109
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_proto_list.json +18 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +197 -50
- package/build/src/v1/private_auction_deal_service_client.js +323 -80
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +18 -1
- package/build/src/v1/private_auction_service_client.d.ts +139 -43
- package/build/src/v1/private_auction_service_client.js +284 -76
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +18 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +176 -44
- package/build/src/v1/programmatic_buyer_service_client.js +285 -68
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +18 -1
- package/build/src/v1/report_service_client.d.ts +198 -102
- package/build/src/v1/report_service_client.js +355 -121
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +18 -1
- package/build/src/v1/rich_media_ads_company_service_client.d.ts +1475 -0
- package/build/src/v1/rich_media_ads_company_service_client.js +2208 -0
- package/build/src/v1/rich_media_ads_company_service_client.js.map +1 -0
- package/build/src/v1/rich_media_ads_company_service_client_config.json +34 -0
- package/build/src/v1/rich_media_ads_company_service_proto_list.json +139 -0
- package/build/src/v1/role_service_client.d.ts +167 -44
- package/build/src/v1/role_service_client.js +272 -66
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +18 -1
- package/build/src/v1/site_service_client.d.ts +170 -47
- package/build/src/v1/site_service_client.js +360 -103
- package/build/src/v1/site_service_client.js.map +1 -1
- package/build/src/v1/site_service_proto_list.json +18 -1
- package/build/src/v1/taxonomy_category_service_client.d.ts +136 -40
- package/build/src/v1/taxonomy_category_service_client.js +256 -64
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +18 -1
- package/build/src/v1/team_service_client.d.ts +175 -46
- package/build/src/v1/team_service_client.js +364 -103
- package/build/src/v1/team_service_client.js.map +1 -1
- package/build/src/v1/team_service_proto_list.json +18 -1
- package/build/src/v1/user_service_client.d.ts +96 -0
- package/build/src/v1/user_service_client.js +228 -48
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +18 -1
- package/package.json +10 -2
- package/build/protos/google/ads/admanager/v1/company_credit_status_enum.proto +0 -97
|
@@ -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.
|
|
@@ -96,11 +96,19 @@ class AdBreakServiceClient {
|
|
|
96
96
|
constructor(opts, gaxInstance) {
|
|
97
97
|
// Ensure that options include all the required fields.
|
|
98
98
|
const staticMembers = this.constructor;
|
|
99
|
-
if (opts?.universe_domain &&
|
|
99
|
+
if (opts?.universe_domain &&
|
|
100
|
+
opts?.universeDomain &&
|
|
101
|
+
opts?.universe_domain !== opts?.universeDomain) {
|
|
100
102
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
|
101
103
|
}
|
|
102
|
-
const universeDomainEnvVar =
|
|
103
|
-
|
|
104
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
|
105
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
|
106
|
+
: undefined;
|
|
107
|
+
this._universeDomain =
|
|
108
|
+
opts?.universeDomain ??
|
|
109
|
+
opts?.universe_domain ??
|
|
110
|
+
universeDomainEnvVar ??
|
|
111
|
+
'googleapis.com';
|
|
104
112
|
this._servicePath = 'admanager.' + this._universeDomain;
|
|
105
113
|
const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;
|
|
106
114
|
this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint);
|
|
@@ -113,7 +121,8 @@ class AdBreakServiceClient {
|
|
|
113
121
|
else {
|
|
114
122
|
opts.fallback = opts.fallback ?? true;
|
|
115
123
|
}
|
|
116
|
-
const fallback = opts?.fallback ??
|
|
124
|
+
const fallback = opts?.fallback ??
|
|
125
|
+
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
|
|
117
126
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
|
118
127
|
// Request numeric enum values if REST transport is used.
|
|
119
128
|
opts.numericEnums = true;
|
|
@@ -142,10 +151,7 @@ class AdBreakServiceClient {
|
|
|
142
151
|
this.auth.defaultScopes = staticMembers.scopes;
|
|
143
152
|
}
|
|
144
153
|
// Determine the client header string.
|
|
145
|
-
const clientHeader = [
|
|
146
|
-
`gax/${this._gaxModule.version}`,
|
|
147
|
-
`gapic/${version}`,
|
|
148
|
-
];
|
|
154
|
+
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
|
149
155
|
if (typeof process === 'object' && 'versions' in process) {
|
|
150
156
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
|
151
157
|
}
|
|
@@ -175,6 +181,7 @@ class AdBreakServiceClient {
|
|
|
175
181
|
bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
|
|
176
182
|
browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
|
|
177
183
|
browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
|
|
184
|
+
childPublisherPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/childPublishers/{child_publisher}'),
|
|
178
185
|
cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
|
|
179
186
|
cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
|
|
180
187
|
companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
|
|
@@ -192,6 +199,8 @@ class AdBreakServiceClient {
|
|
|
192
199
|
entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
|
|
193
200
|
geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
|
|
194
201
|
labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
|
|
202
|
+
lineItemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/lineItems/{line_item}'),
|
|
203
|
+
linkedDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/linkedDevices/{linked_device}'),
|
|
195
204
|
liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
|
|
196
205
|
mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
|
|
197
206
|
mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
|
|
@@ -205,6 +214,7 @@ class AdBreakServiceClient {
|
|
|
205
214
|
privateAuctionDealPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/privateAuctionDeals/{private_auction_deal}'),
|
|
206
215
|
programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
|
|
207
216
|
reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
|
|
217
|
+
richMediaAdsCompanyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company}'),
|
|
208
218
|
rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
|
|
209
219
|
sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
|
|
210
220
|
taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
|
|
@@ -216,7 +226,7 @@ class AdBreakServiceClient {
|
|
|
216
226
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
|
217
227
|
// pages). Denote the keys used for pagination and results.
|
|
218
228
|
this.descriptors.page = {
|
|
219
|
-
listAdBreaks: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'adBreaks')
|
|
229
|
+
listAdBreaks: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'adBreaks'),
|
|
220
230
|
};
|
|
221
231
|
// Put together the default options sent with requests.
|
|
222
232
|
this._defaults = this._gaxGrpc.constructSettings('google.ads.admanager.v1.AdBreakService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
|
@@ -245,15 +255,21 @@ class AdBreakServiceClient {
|
|
|
245
255
|
}
|
|
246
256
|
// Put together the "service stub" for
|
|
247
257
|
// google.ads.admanager.v1.AdBreakService.
|
|
248
|
-
this.adBreakServiceStub = this._gaxGrpc.createStub(this._opts.fallback
|
|
249
|
-
this._protos.lookupService('google.ads.admanager.v1.AdBreakService')
|
|
250
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
251
|
-
|
|
258
|
+
this.adBreakServiceStub = this._gaxGrpc.createStub(this._opts.fallback
|
|
259
|
+
? this._protos.lookupService('google.ads.admanager.v1.AdBreakService')
|
|
260
|
+
: // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
261
|
+
this._protos.google.ads.admanager.v1.AdBreakService, this._opts, this._providedCustomServicePath);
|
|
252
262
|
// Iterate over each of the methods that the service provides
|
|
253
263
|
// and create an API call method for each.
|
|
254
|
-
const adBreakServiceStubMethods = [
|
|
264
|
+
const adBreakServiceStubMethods = [
|
|
265
|
+
'getAdBreak',
|
|
266
|
+
'listAdBreaks',
|
|
267
|
+
'createAdBreak',
|
|
268
|
+
'updateAdBreak',
|
|
269
|
+
'deleteAdBreak',
|
|
270
|
+
];
|
|
255
271
|
for (const methodName of adBreakServiceStubMethods) {
|
|
256
|
-
const callPromise = this.adBreakServiceStub.then(stub => (...args) => {
|
|
272
|
+
const callPromise = this.adBreakServiceStub.then((stub) => (...args) => {
|
|
257
273
|
if (this._terminated) {
|
|
258
274
|
return Promise.reject('The client has already been closed.');
|
|
259
275
|
}
|
|
@@ -262,8 +278,7 @@ class AdBreakServiceClient {
|
|
|
262
278
|
}, (err) => () => {
|
|
263
279
|
throw err;
|
|
264
280
|
});
|
|
265
|
-
const descriptor = this.descriptors.page[methodName] ||
|
|
266
|
-
undefined;
|
|
281
|
+
const descriptor = this.descriptors.page[methodName] || undefined;
|
|
267
282
|
const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor, this._opts.fallback);
|
|
268
283
|
this.innerApiCalls[methodName] = apiCall;
|
|
269
284
|
}
|
|
@@ -275,7 +290,8 @@ class AdBreakServiceClient {
|
|
|
275
290
|
* @returns {string} The DNS address for this service.
|
|
276
291
|
*/
|
|
277
292
|
static get servicePath() {
|
|
278
|
-
if (typeof process === 'object' &&
|
|
293
|
+
if (typeof process === 'object' &&
|
|
294
|
+
typeof process.emitWarning === 'function') {
|
|
279
295
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
280
296
|
}
|
|
281
297
|
return 'admanager.googleapis.com';
|
|
@@ -286,7 +302,8 @@ class AdBreakServiceClient {
|
|
|
286
302
|
* @returns {string} The DNS address for this service.
|
|
287
303
|
*/
|
|
288
304
|
static get apiEndpoint() {
|
|
289
|
-
if (typeof process === 'object' &&
|
|
305
|
+
if (typeof process === 'object' &&
|
|
306
|
+
typeof process.emitWarning === 'function') {
|
|
290
307
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
291
308
|
}
|
|
292
309
|
return 'admanager.googleapis.com';
|
|
@@ -315,7 +332,8 @@ class AdBreakServiceClient {
|
|
|
315
332
|
*/
|
|
316
333
|
static get scopes() {
|
|
317
334
|
return [
|
|
318
|
-
'https://www.googleapis.com/auth/admanager'
|
|
335
|
+
'https://www.googleapis.com/auth/admanager',
|
|
336
|
+
'https://www.googleapis.com/auth/admanager.readonly',
|
|
319
337
|
];
|
|
320
338
|
}
|
|
321
339
|
/**
|
|
@@ -342,10 +360,13 @@ class AdBreakServiceClient {
|
|
|
342
360
|
options = options || {};
|
|
343
361
|
options.otherArgs = options.otherArgs || {};
|
|
344
362
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
345
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
346
|
-
|
|
363
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
364
|
+
this._gaxModule.routingHeader.fromParams({
|
|
365
|
+
name: request.name ?? '',
|
|
366
|
+
});
|
|
367
|
+
this.initialize().catch((err) => {
|
|
368
|
+
throw err;
|
|
347
369
|
});
|
|
348
|
-
this.initialize().catch(err => { throw err; });
|
|
349
370
|
this._log.info('getAdBreak request %j', request);
|
|
350
371
|
const wrappedCallback = callback
|
|
351
372
|
? (error, response, options, rawResponse) => {
|
|
@@ -353,12 +374,16 @@ class AdBreakServiceClient {
|
|
|
353
374
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
354
375
|
}
|
|
355
376
|
: undefined;
|
|
356
|
-
return this.innerApiCalls
|
|
377
|
+
return this.innerApiCalls
|
|
378
|
+
.getAdBreak(request, options, wrappedCallback)
|
|
357
379
|
?.then(([response, options, rawResponse]) => {
|
|
358
380
|
this._log.info('getAdBreak response %j', response);
|
|
359
381
|
return [response, options, rawResponse];
|
|
360
|
-
})
|
|
361
|
-
|
|
382
|
+
})
|
|
383
|
+
.catch((error) => {
|
|
384
|
+
if (error &&
|
|
385
|
+
'statusDetails' in error &&
|
|
386
|
+
error.statusDetails instanceof Array) {
|
|
362
387
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
363
388
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
364
389
|
}
|
|
@@ -378,10 +403,13 @@ class AdBreakServiceClient {
|
|
|
378
403
|
options = options || {};
|
|
379
404
|
options.otherArgs = options.otherArgs || {};
|
|
380
405
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
381
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
382
|
-
|
|
406
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
407
|
+
this._gaxModule.routingHeader.fromParams({
|
|
408
|
+
parent: request.parent ?? '',
|
|
409
|
+
});
|
|
410
|
+
this.initialize().catch((err) => {
|
|
411
|
+
throw err;
|
|
383
412
|
});
|
|
384
|
-
this.initialize().catch(err => { throw err; });
|
|
385
413
|
this._log.info('createAdBreak request %j', request);
|
|
386
414
|
const wrappedCallback = callback
|
|
387
415
|
? (error, response, options, rawResponse) => {
|
|
@@ -389,12 +417,16 @@ class AdBreakServiceClient {
|
|
|
389
417
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
390
418
|
}
|
|
391
419
|
: undefined;
|
|
392
|
-
return this.innerApiCalls
|
|
420
|
+
return this.innerApiCalls
|
|
421
|
+
.createAdBreak(request, options, wrappedCallback)
|
|
393
422
|
?.then(([response, options, rawResponse]) => {
|
|
394
423
|
this._log.info('createAdBreak response %j', response);
|
|
395
424
|
return [response, options, rawResponse];
|
|
396
|
-
})
|
|
397
|
-
|
|
425
|
+
})
|
|
426
|
+
.catch((error) => {
|
|
427
|
+
if (error &&
|
|
428
|
+
'statusDetails' in error &&
|
|
429
|
+
error.statusDetails instanceof Array) {
|
|
398
430
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
399
431
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
400
432
|
}
|
|
@@ -414,10 +446,13 @@ class AdBreakServiceClient {
|
|
|
414
446
|
options = options || {};
|
|
415
447
|
options.otherArgs = options.otherArgs || {};
|
|
416
448
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
417
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
418
|
-
|
|
449
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
450
|
+
this._gaxModule.routingHeader.fromParams({
|
|
451
|
+
'ad_break.name': request.adBreak.name ?? '',
|
|
452
|
+
});
|
|
453
|
+
this.initialize().catch((err) => {
|
|
454
|
+
throw err;
|
|
419
455
|
});
|
|
420
|
-
this.initialize().catch(err => { throw err; });
|
|
421
456
|
this._log.info('updateAdBreak request %j', request);
|
|
422
457
|
const wrappedCallback = callback
|
|
423
458
|
? (error, response, options, rawResponse) => {
|
|
@@ -425,12 +460,16 @@ class AdBreakServiceClient {
|
|
|
425
460
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
426
461
|
}
|
|
427
462
|
: undefined;
|
|
428
|
-
return this.innerApiCalls
|
|
463
|
+
return this.innerApiCalls
|
|
464
|
+
.updateAdBreak(request, options, wrappedCallback)
|
|
429
465
|
?.then(([response, options, rawResponse]) => {
|
|
430
466
|
this._log.info('updateAdBreak response %j', response);
|
|
431
467
|
return [response, options, rawResponse];
|
|
432
|
-
})
|
|
433
|
-
|
|
468
|
+
})
|
|
469
|
+
.catch((error) => {
|
|
470
|
+
if (error &&
|
|
471
|
+
'statusDetails' in error &&
|
|
472
|
+
error.statusDetails instanceof Array) {
|
|
434
473
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
435
474
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
436
475
|
}
|
|
@@ -450,10 +489,13 @@ class AdBreakServiceClient {
|
|
|
450
489
|
options = options || {};
|
|
451
490
|
options.otherArgs = options.otherArgs || {};
|
|
452
491
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
453
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
454
|
-
|
|
492
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
493
|
+
this._gaxModule.routingHeader.fromParams({
|
|
494
|
+
name: request.name ?? '',
|
|
495
|
+
});
|
|
496
|
+
this.initialize().catch((err) => {
|
|
497
|
+
throw err;
|
|
455
498
|
});
|
|
456
|
-
this.initialize().catch(err => { throw err; });
|
|
457
499
|
this._log.info('deleteAdBreak request %j', request);
|
|
458
500
|
const wrappedCallback = callback
|
|
459
501
|
? (error, response, options, rawResponse) => {
|
|
@@ -461,12 +503,16 @@ class AdBreakServiceClient {
|
|
|
461
503
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
462
504
|
}
|
|
463
505
|
: undefined;
|
|
464
|
-
return this.innerApiCalls
|
|
506
|
+
return this.innerApiCalls
|
|
507
|
+
.deleteAdBreak(request, options, wrappedCallback)
|
|
465
508
|
?.then(([response, options, rawResponse]) => {
|
|
466
509
|
this._log.info('deleteAdBreak response %j', response);
|
|
467
510
|
return [response, options, rawResponse];
|
|
468
|
-
})
|
|
469
|
-
|
|
511
|
+
})
|
|
512
|
+
.catch((error) => {
|
|
513
|
+
if (error &&
|
|
514
|
+
'statusDetails' in error &&
|
|
515
|
+
error.statusDetails instanceof Array) {
|
|
470
516
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
471
517
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
472
518
|
}
|
|
@@ -486,10 +532,13 @@ class AdBreakServiceClient {
|
|
|
486
532
|
options = options || {};
|
|
487
533
|
options.otherArgs = options.otherArgs || {};
|
|
488
534
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
489
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
490
|
-
|
|
535
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
536
|
+
this._gaxModule.routingHeader.fromParams({
|
|
537
|
+
parent: request.parent ?? '',
|
|
538
|
+
});
|
|
539
|
+
this.initialize().catch((err) => {
|
|
540
|
+
throw err;
|
|
491
541
|
});
|
|
492
|
-
this.initialize().catch(err => { throw err; });
|
|
493
542
|
const wrappedCallback = callback
|
|
494
543
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
495
544
|
this._log.info('listAdBreaks values %j', values);
|
|
@@ -551,12 +600,15 @@ class AdBreakServiceClient {
|
|
|
551
600
|
options = options || {};
|
|
552
601
|
options.otherArgs = options.otherArgs || {};
|
|
553
602
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
554
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
555
|
-
|
|
556
|
-
|
|
603
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
604
|
+
this._gaxModule.routingHeader.fromParams({
|
|
605
|
+
parent: request.parent ?? '',
|
|
606
|
+
});
|
|
557
607
|
const defaultCallSettings = this._defaults['listAdBreaks'];
|
|
558
608
|
const callSettings = defaultCallSettings.merge(options);
|
|
559
|
-
this.initialize().catch(err => {
|
|
609
|
+
this.initialize().catch((err) => {
|
|
610
|
+
throw err;
|
|
611
|
+
});
|
|
560
612
|
this._log.info('listAdBreaks stream %j', request);
|
|
561
613
|
return this.descriptors.page.listAdBreaks.createStream(this.innerApiCalls.listAdBreaks, request, callSettings);
|
|
562
614
|
}
|
|
@@ -610,12 +662,15 @@ class AdBreakServiceClient {
|
|
|
610
662
|
options = options || {};
|
|
611
663
|
options.otherArgs = options.otherArgs || {};
|
|
612
664
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
613
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
614
|
-
|
|
615
|
-
|
|
665
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
666
|
+
this._gaxModule.routingHeader.fromParams({
|
|
667
|
+
parent: request.parent ?? '',
|
|
668
|
+
});
|
|
616
669
|
const defaultCallSettings = this._defaults['listAdBreaks'];
|
|
617
670
|
const callSettings = defaultCallSettings.merge(options);
|
|
618
|
-
this.initialize().catch(err => {
|
|
671
|
+
this.initialize().catch((err) => {
|
|
672
|
+
throw err;
|
|
673
|
+
});
|
|
619
674
|
this._log.info('listAdBreaks iterate %j', request);
|
|
620
675
|
return this.descriptors.page.listAdBreaks.asyncIterate(this.innerApiCalls['listAdBreaks'], request, callSettings);
|
|
621
676
|
}
|
|
@@ -645,7 +700,8 @@ class AdBreakServiceClient {
|
|
|
645
700
|
* @returns {string} A string representing the network_code.
|
|
646
701
|
*/
|
|
647
702
|
matchNetworkCodeFromAdBreakName(adBreakName) {
|
|
648
|
-
return this.pathTemplates.adBreakPathTemplate.match(adBreakName)
|
|
703
|
+
return this.pathTemplates.adBreakPathTemplate.match(adBreakName)
|
|
704
|
+
.network_code;
|
|
649
705
|
}
|
|
650
706
|
/**
|
|
651
707
|
* Parse the asset_key from AdBreak resource.
|
|
@@ -766,7 +822,8 @@ class AdBreakServiceClient {
|
|
|
766
822
|
* @returns {string} A string representing the network_code.
|
|
767
823
|
*/
|
|
768
824
|
matchNetworkCodeFromApplicationName(applicationName) {
|
|
769
|
-
return this.pathTemplates.applicationPathTemplate.match(applicationName)
|
|
825
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName)
|
|
826
|
+
.network_code;
|
|
770
827
|
}
|
|
771
828
|
/**
|
|
772
829
|
* Parse the application from Application resource.
|
|
@@ -776,7 +833,8 @@ class AdBreakServiceClient {
|
|
|
776
833
|
* @returns {string} A string representing the application.
|
|
777
834
|
*/
|
|
778
835
|
matchApplicationFromApplicationName(applicationName) {
|
|
779
|
-
return this.pathTemplates.applicationPathTemplate.match(applicationName)
|
|
836
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName)
|
|
837
|
+
.application;
|
|
780
838
|
}
|
|
781
839
|
/**
|
|
782
840
|
* Return a fully-qualified audienceSegment resource name string.
|
|
@@ -865,7 +923,8 @@ class AdBreakServiceClient {
|
|
|
865
923
|
* @returns {string} A string representing the network_code.
|
|
866
924
|
*/
|
|
867
925
|
matchNetworkCodeFromBrowserName(browserName) {
|
|
868
|
-
return this.pathTemplates.browserPathTemplate.match(browserName)
|
|
926
|
+
return this.pathTemplates.browserPathTemplate.match(browserName)
|
|
927
|
+
.network_code;
|
|
869
928
|
}
|
|
870
929
|
/**
|
|
871
930
|
* Parse the browser from Browser resource.
|
|
@@ -910,6 +969,39 @@ class AdBreakServiceClient {
|
|
|
910
969
|
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
|
|
911
970
|
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
|
|
912
971
|
}
|
|
972
|
+
/**
|
|
973
|
+
* Return a fully-qualified childPublisher resource name string.
|
|
974
|
+
*
|
|
975
|
+
* @param {string} network_code
|
|
976
|
+
* @param {string} child_publisher
|
|
977
|
+
* @returns {string} Resource name string.
|
|
978
|
+
*/
|
|
979
|
+
childPublisherPath(networkCode, childPublisher) {
|
|
980
|
+
return this.pathTemplates.childPublisherPathTemplate.render({
|
|
981
|
+
network_code: networkCode,
|
|
982
|
+
child_publisher: childPublisher,
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* Parse the network_code from ChildPublisher resource.
|
|
987
|
+
*
|
|
988
|
+
* @param {string} childPublisherName
|
|
989
|
+
* A fully-qualified path representing ChildPublisher resource.
|
|
990
|
+
* @returns {string} A string representing the network_code.
|
|
991
|
+
*/
|
|
992
|
+
matchNetworkCodeFromChildPublisherName(childPublisherName) {
|
|
993
|
+
return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).network_code;
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* Parse the child_publisher from ChildPublisher resource.
|
|
997
|
+
*
|
|
998
|
+
* @param {string} childPublisherName
|
|
999
|
+
* A fully-qualified path representing ChildPublisher resource.
|
|
1000
|
+
* @returns {string} A string representing the child_publisher.
|
|
1001
|
+
*/
|
|
1002
|
+
matchChildPublisherFromChildPublisherName(childPublisherName) {
|
|
1003
|
+
return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).child_publisher;
|
|
1004
|
+
}
|
|
913
1005
|
/**
|
|
914
1006
|
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
915
1007
|
*
|
|
@@ -997,7 +1089,8 @@ class AdBreakServiceClient {
|
|
|
997
1089
|
* @returns {string} A string representing the network_code.
|
|
998
1090
|
*/
|
|
999
1091
|
matchNetworkCodeFromCompanyName(companyName) {
|
|
1000
|
-
return this.pathTemplates.companyPathTemplate.match(companyName)
|
|
1092
|
+
return this.pathTemplates.companyPathTemplate.match(companyName)
|
|
1093
|
+
.network_code;
|
|
1001
1094
|
}
|
|
1002
1095
|
/**
|
|
1003
1096
|
* Parse the company from Company resource.
|
|
@@ -1030,7 +1123,8 @@ class AdBreakServiceClient {
|
|
|
1030
1123
|
* @returns {string} A string representing the network_code.
|
|
1031
1124
|
*/
|
|
1032
1125
|
matchNetworkCodeFromContactName(contactName) {
|
|
1033
|
-
return this.pathTemplates.contactPathTemplate.match(contactName)
|
|
1126
|
+
return this.pathTemplates.contactPathTemplate.match(contactName)
|
|
1127
|
+
.network_code;
|
|
1034
1128
|
}
|
|
1035
1129
|
/**
|
|
1036
1130
|
* Parse the contact from Contact resource.
|
|
@@ -1063,7 +1157,8 @@ class AdBreakServiceClient {
|
|
|
1063
1157
|
* @returns {string} A string representing the network_code.
|
|
1064
1158
|
*/
|
|
1065
1159
|
matchNetworkCodeFromContentName(contentName) {
|
|
1066
|
-
return this.pathTemplates.contentPathTemplate.match(contentName)
|
|
1160
|
+
return this.pathTemplates.contentPathTemplate.match(contentName)
|
|
1161
|
+
.network_code;
|
|
1067
1162
|
}
|
|
1068
1163
|
/**
|
|
1069
1164
|
* Parse the content from Content resource.
|
|
@@ -1096,7 +1191,8 @@ class AdBreakServiceClient {
|
|
|
1096
1191
|
* @returns {string} A string representing the network_code.
|
|
1097
1192
|
*/
|
|
1098
1193
|
matchNetworkCodeFromContentBundleName(contentBundleName) {
|
|
1099
|
-
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
|
|
1194
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
|
|
1195
|
+
.network_code;
|
|
1100
1196
|
}
|
|
1101
1197
|
/**
|
|
1102
1198
|
* Parse the content_bundle from ContentBundle resource.
|
|
@@ -1106,7 +1202,8 @@ class AdBreakServiceClient {
|
|
|
1106
1202
|
* @returns {string} A string representing the content_bundle.
|
|
1107
1203
|
*/
|
|
1108
1204
|
matchContentBundleFromContentBundleName(contentBundleName) {
|
|
1109
|
-
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
|
|
1205
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
|
|
1206
|
+
.content_bundle;
|
|
1110
1207
|
}
|
|
1111
1208
|
/**
|
|
1112
1209
|
* Return a fully-qualified contentLabel resource name string.
|
|
@@ -1129,7 +1226,8 @@ class AdBreakServiceClient {
|
|
|
1129
1226
|
* @returns {string} A string representing the network_code.
|
|
1130
1227
|
*/
|
|
1131
1228
|
matchNetworkCodeFromContentLabelName(contentLabelName) {
|
|
1132
|
-
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
|
|
1229
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
|
|
1230
|
+
.network_code;
|
|
1133
1231
|
}
|
|
1134
1232
|
/**
|
|
1135
1233
|
* Parse the content_label from ContentLabel resource.
|
|
@@ -1139,7 +1237,8 @@ class AdBreakServiceClient {
|
|
|
1139
1237
|
* @returns {string} A string representing the content_label.
|
|
1140
1238
|
*/
|
|
1141
1239
|
matchContentLabelFromContentLabelName(contentLabelName) {
|
|
1142
|
-
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
|
|
1240
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
|
|
1241
|
+
.content_label;
|
|
1143
1242
|
}
|
|
1144
1243
|
/**
|
|
1145
1244
|
* Return a fully-qualified creativeTemplate resource name string.
|
|
@@ -1195,7 +1294,8 @@ class AdBreakServiceClient {
|
|
|
1195
1294
|
* @returns {string} A string representing the network_code.
|
|
1196
1295
|
*/
|
|
1197
1296
|
matchNetworkCodeFromCustomFieldName(customFieldName) {
|
|
1198
|
-
return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
|
|
1297
|
+
return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
|
|
1298
|
+
.network_code;
|
|
1199
1299
|
}
|
|
1200
1300
|
/**
|
|
1201
1301
|
* Parse the custom_field from CustomField resource.
|
|
@@ -1205,7 +1305,8 @@ class AdBreakServiceClient {
|
|
|
1205
1305
|
* @returns {string} A string representing the custom_field.
|
|
1206
1306
|
*/
|
|
1207
1307
|
matchCustomFieldFromCustomFieldName(customFieldName) {
|
|
1208
|
-
return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
|
|
1308
|
+
return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
|
|
1309
|
+
.custom_field;
|
|
1209
1310
|
}
|
|
1210
1311
|
/**
|
|
1211
1312
|
* Return a fully-qualified customTargetingKey resource name string.
|
|
@@ -1426,7 +1527,8 @@ class AdBreakServiceClient {
|
|
|
1426
1527
|
* @returns {string} A string representing the network_code.
|
|
1427
1528
|
*/
|
|
1428
1529
|
matchNetworkCodeFromGeoTargetName(geoTargetName) {
|
|
1429
|
-
return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
|
|
1530
|
+
return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
|
|
1531
|
+
.network_code;
|
|
1430
1532
|
}
|
|
1431
1533
|
/**
|
|
1432
1534
|
* Parse the geo_target from GeoTarget resource.
|
|
@@ -1436,7 +1538,8 @@ class AdBreakServiceClient {
|
|
|
1436
1538
|
* @returns {string} A string representing the geo_target.
|
|
1437
1539
|
*/
|
|
1438
1540
|
matchGeoTargetFromGeoTargetName(geoTargetName) {
|
|
1439
|
-
return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
|
|
1541
|
+
return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
|
|
1542
|
+
.geo_target;
|
|
1440
1543
|
}
|
|
1441
1544
|
/**
|
|
1442
1545
|
* Return a fully-qualified label resource name string.
|
|
@@ -1471,6 +1574,76 @@ class AdBreakServiceClient {
|
|
|
1471
1574
|
matchLabelFromLabelName(labelName) {
|
|
1472
1575
|
return this.pathTemplates.labelPathTemplate.match(labelName).label;
|
|
1473
1576
|
}
|
|
1577
|
+
/**
|
|
1578
|
+
* Return a fully-qualified lineItem resource name string.
|
|
1579
|
+
*
|
|
1580
|
+
* @param {string} network_code
|
|
1581
|
+
* @param {string} line_item
|
|
1582
|
+
* @returns {string} Resource name string.
|
|
1583
|
+
*/
|
|
1584
|
+
lineItemPath(networkCode, lineItem) {
|
|
1585
|
+
return this.pathTemplates.lineItemPathTemplate.render({
|
|
1586
|
+
network_code: networkCode,
|
|
1587
|
+
line_item: lineItem,
|
|
1588
|
+
});
|
|
1589
|
+
}
|
|
1590
|
+
/**
|
|
1591
|
+
* Parse the network_code from LineItem resource.
|
|
1592
|
+
*
|
|
1593
|
+
* @param {string} lineItemName
|
|
1594
|
+
* A fully-qualified path representing LineItem resource.
|
|
1595
|
+
* @returns {string} A string representing the network_code.
|
|
1596
|
+
*/
|
|
1597
|
+
matchNetworkCodeFromLineItemName(lineItemName) {
|
|
1598
|
+
return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
|
|
1599
|
+
.network_code;
|
|
1600
|
+
}
|
|
1601
|
+
/**
|
|
1602
|
+
* Parse the line_item from LineItem resource.
|
|
1603
|
+
*
|
|
1604
|
+
* @param {string} lineItemName
|
|
1605
|
+
* A fully-qualified path representing LineItem resource.
|
|
1606
|
+
* @returns {string} A string representing the line_item.
|
|
1607
|
+
*/
|
|
1608
|
+
matchLineItemFromLineItemName(lineItemName) {
|
|
1609
|
+
return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
|
|
1610
|
+
.line_item;
|
|
1611
|
+
}
|
|
1612
|
+
/**
|
|
1613
|
+
* Return a fully-qualified linkedDevice resource name string.
|
|
1614
|
+
*
|
|
1615
|
+
* @param {string} network_code
|
|
1616
|
+
* @param {string} linked_device
|
|
1617
|
+
* @returns {string} Resource name string.
|
|
1618
|
+
*/
|
|
1619
|
+
linkedDevicePath(networkCode, linkedDevice) {
|
|
1620
|
+
return this.pathTemplates.linkedDevicePathTemplate.render({
|
|
1621
|
+
network_code: networkCode,
|
|
1622
|
+
linked_device: linkedDevice,
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
/**
|
|
1626
|
+
* Parse the network_code from LinkedDevice resource.
|
|
1627
|
+
*
|
|
1628
|
+
* @param {string} linkedDeviceName
|
|
1629
|
+
* A fully-qualified path representing LinkedDevice resource.
|
|
1630
|
+
* @returns {string} A string representing the network_code.
|
|
1631
|
+
*/
|
|
1632
|
+
matchNetworkCodeFromLinkedDeviceName(linkedDeviceName) {
|
|
1633
|
+
return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
|
|
1634
|
+
.network_code;
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* Parse the linked_device from LinkedDevice resource.
|
|
1638
|
+
*
|
|
1639
|
+
* @param {string} linkedDeviceName
|
|
1640
|
+
* A fully-qualified path representing LinkedDevice resource.
|
|
1641
|
+
* @returns {string} A string representing the linked_device.
|
|
1642
|
+
*/
|
|
1643
|
+
matchLinkedDeviceFromLinkedDeviceName(linkedDeviceName) {
|
|
1644
|
+
return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
|
|
1645
|
+
.linked_device;
|
|
1646
|
+
}
|
|
1474
1647
|
/**
|
|
1475
1648
|
* Return a fully-qualified liveStreamEvent resource name string.
|
|
1476
1649
|
*
|
|
@@ -1525,7 +1698,8 @@ class AdBreakServiceClient {
|
|
|
1525
1698
|
* @returns {string} A string representing the network_code.
|
|
1526
1699
|
*/
|
|
1527
1700
|
matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
|
|
1528
|
-
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
|
|
1701
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
|
|
1702
|
+
.network_code;
|
|
1529
1703
|
}
|
|
1530
1704
|
/**
|
|
1531
1705
|
* Parse the mobile_carrier from MobileCarrier resource.
|
|
@@ -1535,7 +1709,8 @@ class AdBreakServiceClient {
|
|
|
1535
1709
|
* @returns {string} A string representing the mobile_carrier.
|
|
1536
1710
|
*/
|
|
1537
1711
|
matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
|
|
1538
|
-
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
|
|
1712
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
|
|
1713
|
+
.mobile_carrier;
|
|
1539
1714
|
}
|
|
1540
1715
|
/**
|
|
1541
1716
|
* Return a fully-qualified mobileDevice resource name string.
|
|
@@ -1558,7 +1733,8 @@ class AdBreakServiceClient {
|
|
|
1558
1733
|
* @returns {string} A string representing the network_code.
|
|
1559
1734
|
*/
|
|
1560
1735
|
matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
|
|
1561
|
-
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
|
|
1736
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
|
|
1737
|
+
.network_code;
|
|
1562
1738
|
}
|
|
1563
1739
|
/**
|
|
1564
1740
|
* Parse the mobile_device from MobileDevice resource.
|
|
@@ -1568,7 +1744,8 @@ class AdBreakServiceClient {
|
|
|
1568
1744
|
* @returns {string} A string representing the mobile_device.
|
|
1569
1745
|
*/
|
|
1570
1746
|
matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
|
|
1571
|
-
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
|
|
1747
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
|
|
1748
|
+
.mobile_device;
|
|
1572
1749
|
}
|
|
1573
1750
|
/**
|
|
1574
1751
|
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
@@ -1622,7 +1799,8 @@ class AdBreakServiceClient {
|
|
|
1622
1799
|
* @returns {string} A string representing the network_code.
|
|
1623
1800
|
*/
|
|
1624
1801
|
matchNetworkCodeFromNetworkName(networkName) {
|
|
1625
|
-
return this.pathTemplates.networkPathTemplate.match(networkName)
|
|
1802
|
+
return this.pathTemplates.networkPathTemplate.match(networkName)
|
|
1803
|
+
.network_code;
|
|
1626
1804
|
}
|
|
1627
1805
|
/**
|
|
1628
1806
|
* Return a fully-qualified operatingSystem resource name string.
|
|
@@ -1744,7 +1922,8 @@ class AdBreakServiceClient {
|
|
|
1744
1922
|
* @returns {string} A string representing the network_code.
|
|
1745
1923
|
*/
|
|
1746
1924
|
matchNetworkCodeFromPlacementName(placementName) {
|
|
1747
|
-
return this.pathTemplates.placementPathTemplate.match(placementName)
|
|
1925
|
+
return this.pathTemplates.placementPathTemplate.match(placementName)
|
|
1926
|
+
.network_code;
|
|
1748
1927
|
}
|
|
1749
1928
|
/**
|
|
1750
1929
|
* Parse the placement from Placement resource.
|
|
@@ -1754,7 +1933,8 @@ class AdBreakServiceClient {
|
|
|
1754
1933
|
* @returns {string} A string representing the placement.
|
|
1755
1934
|
*/
|
|
1756
1935
|
matchPlacementFromPlacementName(placementName) {
|
|
1757
|
-
return this.pathTemplates.placementPathTemplate.match(placementName)
|
|
1936
|
+
return this.pathTemplates.placementPathTemplate.match(placementName)
|
|
1937
|
+
.placement;
|
|
1758
1938
|
}
|
|
1759
1939
|
/**
|
|
1760
1940
|
* Return a fully-qualified privateAuction resource name string.
|
|
@@ -1888,6 +2068,39 @@ class AdBreakServiceClient {
|
|
|
1888
2068
|
matchReportFromReportName(reportName) {
|
|
1889
2069
|
return this.pathTemplates.reportPathTemplate.match(reportName).report;
|
|
1890
2070
|
}
|
|
2071
|
+
/**
|
|
2072
|
+
* Return a fully-qualified richMediaAdsCompany resource name string.
|
|
2073
|
+
*
|
|
2074
|
+
* @param {string} network_code
|
|
2075
|
+
* @param {string} rich_media_ads_company
|
|
2076
|
+
* @returns {string} Resource name string.
|
|
2077
|
+
*/
|
|
2078
|
+
richMediaAdsCompanyPath(networkCode, richMediaAdsCompany) {
|
|
2079
|
+
return this.pathTemplates.richMediaAdsCompanyPathTemplate.render({
|
|
2080
|
+
network_code: networkCode,
|
|
2081
|
+
rich_media_ads_company: richMediaAdsCompany,
|
|
2082
|
+
});
|
|
2083
|
+
}
|
|
2084
|
+
/**
|
|
2085
|
+
* Parse the network_code from RichMediaAdsCompany resource.
|
|
2086
|
+
*
|
|
2087
|
+
* @param {string} richMediaAdsCompanyName
|
|
2088
|
+
* A fully-qualified path representing RichMediaAdsCompany resource.
|
|
2089
|
+
* @returns {string} A string representing the network_code.
|
|
2090
|
+
*/
|
|
2091
|
+
matchNetworkCodeFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
|
|
2092
|
+
return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).network_code;
|
|
2093
|
+
}
|
|
2094
|
+
/**
|
|
2095
|
+
* Parse the rich_media_ads_company from RichMediaAdsCompany resource.
|
|
2096
|
+
*
|
|
2097
|
+
* @param {string} richMediaAdsCompanyName
|
|
2098
|
+
* A fully-qualified path representing RichMediaAdsCompany resource.
|
|
2099
|
+
* @returns {string} A string representing the rich_media_ads_company.
|
|
2100
|
+
*/
|
|
2101
|
+
matchRichMediaAdsCompanyFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
|
|
2102
|
+
return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).rich_media_ads_company;
|
|
2103
|
+
}
|
|
1891
2104
|
/**
|
|
1892
2105
|
* Return a fully-qualified role resource name string.
|
|
1893
2106
|
*
|
|
@@ -2074,7 +2287,8 @@ class AdBreakServiceClient {
|
|
|
2074
2287
|
* @returns {string} A string representing the network_code.
|
|
2075
2288
|
*/
|
|
2076
2289
|
matchNetworkCodeFromWebPropertyName(webPropertyName) {
|
|
2077
|
-
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
|
|
2290
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
|
|
2291
|
+
.network_code;
|
|
2078
2292
|
}
|
|
2079
2293
|
/**
|
|
2080
2294
|
* Parse the web_property from WebProperty resource.
|
|
@@ -2084,7 +2298,8 @@ class AdBreakServiceClient {
|
|
|
2084
2298
|
* @returns {string} A string representing the web_property.
|
|
2085
2299
|
*/
|
|
2086
2300
|
matchWebPropertyFromWebPropertyName(webPropertyName) {
|
|
2087
|
-
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
|
|
2301
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
|
|
2302
|
+
.web_property;
|
|
2088
2303
|
}
|
|
2089
2304
|
/**
|
|
2090
2305
|
* Terminate the gRPC channel and close the client.
|
|
@@ -2094,7 +2309,7 @@ class AdBreakServiceClient {
|
|
|
2094
2309
|
*/
|
|
2095
2310
|
close() {
|
|
2096
2311
|
if (this.adBreakServiceStub && !this._terminated) {
|
|
2097
|
-
return this.adBreakServiceStub.then(stub => {
|
|
2312
|
+
return this.adBreakServiceStub.then((stub) => {
|
|
2098
2313
|
this._log.info('ending gRPC channel');
|
|
2099
2314
|
this._terminated = true;
|
|
2100
2315
|
stub.close();
|