@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.
|
|
@@ -97,11 +97,19 @@ class ReportServiceClient {
|
|
|
97
97
|
constructor(opts, gaxInstance) {
|
|
98
98
|
// Ensure that options include all the required fields.
|
|
99
99
|
const staticMembers = this.constructor;
|
|
100
|
-
if (opts?.universe_domain &&
|
|
100
|
+
if (opts?.universe_domain &&
|
|
101
|
+
opts?.universeDomain &&
|
|
102
|
+
opts?.universe_domain !== opts?.universeDomain) {
|
|
101
103
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
|
102
104
|
}
|
|
103
|
-
const universeDomainEnvVar =
|
|
104
|
-
|
|
105
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
|
106
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
|
107
|
+
: undefined;
|
|
108
|
+
this._universeDomain =
|
|
109
|
+
opts?.universeDomain ??
|
|
110
|
+
opts?.universe_domain ??
|
|
111
|
+
universeDomainEnvVar ??
|
|
112
|
+
'googleapis.com';
|
|
105
113
|
this._servicePath = 'admanager.' + this._universeDomain;
|
|
106
114
|
const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;
|
|
107
115
|
this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint);
|
|
@@ -114,7 +122,8 @@ class ReportServiceClient {
|
|
|
114
122
|
else {
|
|
115
123
|
opts.fallback = opts.fallback ?? true;
|
|
116
124
|
}
|
|
117
|
-
const fallback = opts?.fallback ??
|
|
125
|
+
const fallback = opts?.fallback ??
|
|
126
|
+
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
|
|
118
127
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
|
119
128
|
// Request numeric enum values if REST transport is used.
|
|
120
129
|
opts.numericEnums = true;
|
|
@@ -143,10 +152,7 @@ class ReportServiceClient {
|
|
|
143
152
|
this.auth.defaultScopes = staticMembers.scopes;
|
|
144
153
|
}
|
|
145
154
|
// Determine the client header string.
|
|
146
|
-
const clientHeader = [
|
|
147
|
-
`gax/${this._gaxModule.version}`,
|
|
148
|
-
`gapic/${version}`,
|
|
149
|
-
];
|
|
155
|
+
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
|
150
156
|
if (typeof process === 'object' && 'versions' in process) {
|
|
151
157
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
|
152
158
|
}
|
|
@@ -176,6 +182,7 @@ class ReportServiceClient {
|
|
|
176
182
|
bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
|
|
177
183
|
browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
|
|
178
184
|
browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
|
|
185
|
+
childPublisherPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/childPublishers/{child_publisher}'),
|
|
179
186
|
cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
|
|
180
187
|
cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
|
|
181
188
|
companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
|
|
@@ -193,6 +200,8 @@ class ReportServiceClient {
|
|
|
193
200
|
entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
|
|
194
201
|
geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
|
|
195
202
|
labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
|
|
203
|
+
lineItemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/lineItems/{line_item}'),
|
|
204
|
+
linkedDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/linkedDevices/{linked_device}'),
|
|
196
205
|
liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
|
|
197
206
|
mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
|
|
198
207
|
mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
|
|
@@ -206,6 +215,7 @@ class ReportServiceClient {
|
|
|
206
215
|
privateAuctionDealPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/privateAuctionDeals/{private_auction_deal}'),
|
|
207
216
|
programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
|
|
208
217
|
reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
|
|
218
|
+
richMediaAdsCompanyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company}'),
|
|
209
219
|
rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
|
|
210
220
|
sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
|
|
211
221
|
taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
|
|
@@ -218,7 +228,7 @@ class ReportServiceClient {
|
|
|
218
228
|
// pages). Denote the keys used for pagination and results.
|
|
219
229
|
this.descriptors.page = {
|
|
220
230
|
listReports: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'reports'),
|
|
221
|
-
fetchReportResultRows: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'rows')
|
|
231
|
+
fetchReportResultRows: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'rows'),
|
|
222
232
|
};
|
|
223
233
|
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
|
224
234
|
// This API contains "long-running operations", which return a
|
|
@@ -226,17 +236,28 @@ class ReportServiceClient {
|
|
|
226
236
|
// rather than holding a request open.
|
|
227
237
|
const lroOptions = {
|
|
228
238
|
auth: this.auth,
|
|
229
|
-
grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined
|
|
239
|
+
grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined,
|
|
230
240
|
};
|
|
231
241
|
if (opts.fallback) {
|
|
232
242
|
lroOptions.protoJson = protoFilesRoot;
|
|
233
|
-
lroOptions.httpRules = [
|
|
243
|
+
lroOptions.httpRules = [
|
|
244
|
+
{
|
|
245
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
|
246
|
+
post: '/v1/{name=networks/*/operations/reports/runs/*}:cancel',
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
selector: 'google.longrunning.Operations.GetOperation',
|
|
250
|
+
get: '/v1/{name=networks/*/operations/reports/runs/*}',
|
|
251
|
+
},
|
|
252
|
+
];
|
|
234
253
|
}
|
|
235
|
-
this.operationsClient = this._gaxModule
|
|
254
|
+
this.operationsClient = this._gaxModule
|
|
255
|
+
.lro(lroOptions)
|
|
256
|
+
.operationsClient(opts);
|
|
236
257
|
const runReportResponse = protoFilesRoot.lookup('.google.ads.admanager.v1.RunReportResponse');
|
|
237
258
|
const runReportMetadata = protoFilesRoot.lookup('.google.ads.admanager.v1.RunReportMetadata');
|
|
238
259
|
this.descriptors.longrunning = {
|
|
239
|
-
runReport: new this._gaxModule.LongrunningDescriptor(this.operationsClient, runReportResponse.decode.bind(runReportResponse), runReportMetadata.decode.bind(runReportMetadata))
|
|
260
|
+
runReport: new this._gaxModule.LongrunningDescriptor(this.operationsClient, runReportResponse.decode.bind(runReportResponse), runReportMetadata.decode.bind(runReportMetadata)),
|
|
240
261
|
};
|
|
241
262
|
// Put together the default options sent with requests.
|
|
242
263
|
this._defaults = this._gaxGrpc.constructSettings('google.ads.admanager.v1.ReportService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
|
@@ -265,15 +286,22 @@ class ReportServiceClient {
|
|
|
265
286
|
}
|
|
266
287
|
// Put together the "service stub" for
|
|
267
288
|
// google.ads.admanager.v1.ReportService.
|
|
268
|
-
this.reportServiceStub = this._gaxGrpc.createStub(this._opts.fallback
|
|
269
|
-
this._protos.lookupService('google.ads.admanager.v1.ReportService')
|
|
270
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
271
|
-
|
|
289
|
+
this.reportServiceStub = this._gaxGrpc.createStub(this._opts.fallback
|
|
290
|
+
? this._protos.lookupService('google.ads.admanager.v1.ReportService')
|
|
291
|
+
: // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
292
|
+
this._protos.google.ads.admanager.v1.ReportService, this._opts, this._providedCustomServicePath);
|
|
272
293
|
// Iterate over each of the methods that the service provides
|
|
273
294
|
// and create an API call method for each.
|
|
274
|
-
const reportServiceStubMethods = [
|
|
295
|
+
const reportServiceStubMethods = [
|
|
296
|
+
'getReport',
|
|
297
|
+
'listReports',
|
|
298
|
+
'createReport',
|
|
299
|
+
'updateReport',
|
|
300
|
+
'runReport',
|
|
301
|
+
'fetchReportResultRows',
|
|
302
|
+
];
|
|
275
303
|
for (const methodName of reportServiceStubMethods) {
|
|
276
|
-
const callPromise = this.reportServiceStub.then(stub => (...args) => {
|
|
304
|
+
const callPromise = this.reportServiceStub.then((stub) => (...args) => {
|
|
277
305
|
if (this._terminated) {
|
|
278
306
|
return Promise.reject('The client has already been closed.');
|
|
279
307
|
}
|
|
@@ -296,7 +324,8 @@ class ReportServiceClient {
|
|
|
296
324
|
* @returns {string} The DNS address for this service.
|
|
297
325
|
*/
|
|
298
326
|
static get servicePath() {
|
|
299
|
-
if (typeof process === 'object' &&
|
|
327
|
+
if (typeof process === 'object' &&
|
|
328
|
+
typeof process.emitWarning === 'function') {
|
|
300
329
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
301
330
|
}
|
|
302
331
|
return 'admanager.googleapis.com';
|
|
@@ -307,7 +336,8 @@ class ReportServiceClient {
|
|
|
307
336
|
* @returns {string} The DNS address for this service.
|
|
308
337
|
*/
|
|
309
338
|
static get apiEndpoint() {
|
|
310
|
-
if (typeof process === 'object' &&
|
|
339
|
+
if (typeof process === 'object' &&
|
|
340
|
+
typeof process.emitWarning === 'function') {
|
|
311
341
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
312
342
|
}
|
|
313
343
|
return 'admanager.googleapis.com';
|
|
@@ -336,7 +366,8 @@ class ReportServiceClient {
|
|
|
336
366
|
*/
|
|
337
367
|
static get scopes() {
|
|
338
368
|
return [
|
|
339
|
-
'https://www.googleapis.com/auth/admanager'
|
|
369
|
+
'https://www.googleapis.com/auth/admanager',
|
|
370
|
+
'https://www.googleapis.com/auth/admanager.readonly',
|
|
340
371
|
];
|
|
341
372
|
}
|
|
342
373
|
/**
|
|
@@ -363,10 +394,13 @@ class ReportServiceClient {
|
|
|
363
394
|
options = options || {};
|
|
364
395
|
options.otherArgs = options.otherArgs || {};
|
|
365
396
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
366
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
367
|
-
|
|
397
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
398
|
+
this._gaxModule.routingHeader.fromParams({
|
|
399
|
+
name: request.name ?? '',
|
|
400
|
+
});
|
|
401
|
+
this.initialize().catch((err) => {
|
|
402
|
+
throw err;
|
|
368
403
|
});
|
|
369
|
-
this.initialize().catch(err => { throw err; });
|
|
370
404
|
this._log.info('getReport request %j', request);
|
|
371
405
|
const wrappedCallback = callback
|
|
372
406
|
? (error, response, options, rawResponse) => {
|
|
@@ -374,12 +408,16 @@ class ReportServiceClient {
|
|
|
374
408
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
375
409
|
}
|
|
376
410
|
: undefined;
|
|
377
|
-
return this.innerApiCalls
|
|
411
|
+
return this.innerApiCalls
|
|
412
|
+
.getReport(request, options, wrappedCallback)
|
|
378
413
|
?.then(([response, options, rawResponse]) => {
|
|
379
414
|
this._log.info('getReport response %j', response);
|
|
380
415
|
return [response, options, rawResponse];
|
|
381
|
-
})
|
|
382
|
-
|
|
416
|
+
})
|
|
417
|
+
.catch((error) => {
|
|
418
|
+
if (error &&
|
|
419
|
+
'statusDetails' in error &&
|
|
420
|
+
error.statusDetails instanceof Array) {
|
|
383
421
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
384
422
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
385
423
|
}
|
|
@@ -399,10 +437,13 @@ class ReportServiceClient {
|
|
|
399
437
|
options = options || {};
|
|
400
438
|
options.otherArgs = options.otherArgs || {};
|
|
401
439
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
402
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
403
|
-
|
|
440
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
441
|
+
this._gaxModule.routingHeader.fromParams({
|
|
442
|
+
parent: request.parent ?? '',
|
|
443
|
+
});
|
|
444
|
+
this.initialize().catch((err) => {
|
|
445
|
+
throw err;
|
|
404
446
|
});
|
|
405
|
-
this.initialize().catch(err => { throw err; });
|
|
406
447
|
this._log.info('createReport request %j', request);
|
|
407
448
|
const wrappedCallback = callback
|
|
408
449
|
? (error, response, options, rawResponse) => {
|
|
@@ -410,12 +451,16 @@ class ReportServiceClient {
|
|
|
410
451
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
411
452
|
}
|
|
412
453
|
: undefined;
|
|
413
|
-
return this.innerApiCalls
|
|
454
|
+
return this.innerApiCalls
|
|
455
|
+
.createReport(request, options, wrappedCallback)
|
|
414
456
|
?.then(([response, options, rawResponse]) => {
|
|
415
457
|
this._log.info('createReport response %j', response);
|
|
416
458
|
return [response, options, rawResponse];
|
|
417
|
-
})
|
|
418
|
-
|
|
459
|
+
})
|
|
460
|
+
.catch((error) => {
|
|
461
|
+
if (error &&
|
|
462
|
+
'statusDetails' in error &&
|
|
463
|
+
error.statusDetails instanceof Array) {
|
|
419
464
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
420
465
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
421
466
|
}
|
|
@@ -435,10 +480,13 @@ class ReportServiceClient {
|
|
|
435
480
|
options = options || {};
|
|
436
481
|
options.otherArgs = options.otherArgs || {};
|
|
437
482
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
438
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
439
|
-
|
|
483
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
484
|
+
this._gaxModule.routingHeader.fromParams({
|
|
485
|
+
'report.name': request.report.name ?? '',
|
|
486
|
+
});
|
|
487
|
+
this.initialize().catch((err) => {
|
|
488
|
+
throw err;
|
|
440
489
|
});
|
|
441
|
-
this.initialize().catch(err => { throw err; });
|
|
442
490
|
this._log.info('updateReport request %j', request);
|
|
443
491
|
const wrappedCallback = callback
|
|
444
492
|
? (error, response, options, rawResponse) => {
|
|
@@ -446,12 +494,16 @@ class ReportServiceClient {
|
|
|
446
494
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
447
495
|
}
|
|
448
496
|
: undefined;
|
|
449
|
-
return this.innerApiCalls
|
|
497
|
+
return this.innerApiCalls
|
|
498
|
+
.updateReport(request, options, wrappedCallback)
|
|
450
499
|
?.then(([response, options, rawResponse]) => {
|
|
451
500
|
this._log.info('updateReport response %j', response);
|
|
452
501
|
return [response, options, rawResponse];
|
|
453
|
-
})
|
|
454
|
-
|
|
502
|
+
})
|
|
503
|
+
.catch((error) => {
|
|
504
|
+
if (error &&
|
|
505
|
+
'statusDetails' in error &&
|
|
506
|
+
error.statusDetails instanceof Array) {
|
|
455
507
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
456
508
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
457
509
|
}
|
|
@@ -471,10 +523,13 @@ class ReportServiceClient {
|
|
|
471
523
|
options = options || {};
|
|
472
524
|
options.otherArgs = options.otherArgs || {};
|
|
473
525
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
474
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
475
|
-
|
|
526
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
527
|
+
this._gaxModule.routingHeader.fromParams({
|
|
528
|
+
name: request.name ?? '',
|
|
529
|
+
});
|
|
530
|
+
this.initialize().catch((err) => {
|
|
531
|
+
throw err;
|
|
476
532
|
});
|
|
477
|
-
this.initialize().catch(err => { throw err; });
|
|
478
533
|
const wrappedCallback = callback
|
|
479
534
|
? (error, response, rawResponse, _) => {
|
|
480
535
|
this._log.info('runReport response %j', rawResponse);
|
|
@@ -482,7 +537,8 @@ class ReportServiceClient {
|
|
|
482
537
|
}
|
|
483
538
|
: undefined;
|
|
484
539
|
this._log.info('runReport request %j', request);
|
|
485
|
-
return this.innerApiCalls
|
|
540
|
+
return this.innerApiCalls
|
|
541
|
+
.runReport(request, options, wrappedCallback)
|
|
486
542
|
?.then(([response, rawResponse, _]) => {
|
|
487
543
|
this._log.info('runReport response %j', rawResponse);
|
|
488
544
|
return [response, rawResponse, _];
|
|
@@ -519,10 +575,13 @@ class ReportServiceClient {
|
|
|
519
575
|
options = options || {};
|
|
520
576
|
options.otherArgs = options.otherArgs || {};
|
|
521
577
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
522
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
523
|
-
|
|
578
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
579
|
+
this._gaxModule.routingHeader.fromParams({
|
|
580
|
+
parent: request.parent ?? '',
|
|
581
|
+
});
|
|
582
|
+
this.initialize().catch((err) => {
|
|
583
|
+
throw err;
|
|
524
584
|
});
|
|
525
|
-
this.initialize().catch(err => { throw err; });
|
|
526
585
|
const wrappedCallback = callback
|
|
527
586
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
528
587
|
this._log.info('listReports values %j', values);
|
|
@@ -581,12 +640,15 @@ class ReportServiceClient {
|
|
|
581
640
|
options = options || {};
|
|
582
641
|
options.otherArgs = options.otherArgs || {};
|
|
583
642
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
584
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
585
|
-
|
|
586
|
-
|
|
643
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
644
|
+
this._gaxModule.routingHeader.fromParams({
|
|
645
|
+
parent: request.parent ?? '',
|
|
646
|
+
});
|
|
587
647
|
const defaultCallSettings = this._defaults['listReports'];
|
|
588
648
|
const callSettings = defaultCallSettings.merge(options);
|
|
589
|
-
this.initialize().catch(err => {
|
|
649
|
+
this.initialize().catch((err) => {
|
|
650
|
+
throw err;
|
|
651
|
+
});
|
|
590
652
|
this._log.info('listReports stream %j', request);
|
|
591
653
|
return this.descriptors.page.listReports.createStream(this.innerApiCalls.listReports, request, callSettings);
|
|
592
654
|
}
|
|
@@ -637,12 +699,15 @@ class ReportServiceClient {
|
|
|
637
699
|
options = options || {};
|
|
638
700
|
options.otherArgs = options.otherArgs || {};
|
|
639
701
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
640
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
641
|
-
|
|
642
|
-
|
|
702
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
703
|
+
this._gaxModule.routingHeader.fromParams({
|
|
704
|
+
parent: request.parent ?? '',
|
|
705
|
+
});
|
|
643
706
|
const defaultCallSettings = this._defaults['listReports'];
|
|
644
707
|
const callSettings = defaultCallSettings.merge(options);
|
|
645
|
-
this.initialize().catch(err => {
|
|
708
|
+
this.initialize().catch((err) => {
|
|
709
|
+
throw err;
|
|
710
|
+
});
|
|
646
711
|
this._log.info('listReports iterate %j', request);
|
|
647
712
|
return this.descriptors.page.listReports.asyncIterate(this.innerApiCalls['listReports'], request, callSettings);
|
|
648
713
|
}
|
|
@@ -659,10 +724,13 @@ class ReportServiceClient {
|
|
|
659
724
|
options = options || {};
|
|
660
725
|
options.otherArgs = options.otherArgs || {};
|
|
661
726
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
662
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
663
|
-
|
|
727
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
728
|
+
this._gaxModule.routingHeader.fromParams({
|
|
729
|
+
name: request.name ?? '',
|
|
730
|
+
});
|
|
731
|
+
this.initialize().catch((err) => {
|
|
732
|
+
throw err;
|
|
664
733
|
});
|
|
665
|
-
this.initialize().catch(err => { throw err; });
|
|
666
734
|
const wrappedCallback = callback
|
|
667
735
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
668
736
|
this._log.info('fetchReportResultRows values %j', values);
|
|
@@ -709,12 +777,15 @@ class ReportServiceClient {
|
|
|
709
777
|
options = options || {};
|
|
710
778
|
options.otherArgs = options.otherArgs || {};
|
|
711
779
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
712
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
713
|
-
|
|
714
|
-
|
|
780
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
781
|
+
this._gaxModule.routingHeader.fromParams({
|
|
782
|
+
name: request.name ?? '',
|
|
783
|
+
});
|
|
715
784
|
const defaultCallSettings = this._defaults['fetchReportResultRows'];
|
|
716
785
|
const callSettings = defaultCallSettings.merge(options);
|
|
717
|
-
this.initialize().catch(err => {
|
|
786
|
+
this.initialize().catch((err) => {
|
|
787
|
+
throw err;
|
|
788
|
+
});
|
|
718
789
|
this._log.info('fetchReportResultRows stream %j', request);
|
|
719
790
|
return this.descriptors.page.fetchReportResultRows.createStream(this.innerApiCalls.fetchReportResultRows, request, callSettings);
|
|
720
791
|
}
|
|
@@ -753,45 +824,48 @@ class ReportServiceClient {
|
|
|
753
824
|
options = options || {};
|
|
754
825
|
options.otherArgs = options.otherArgs || {};
|
|
755
826
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
756
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
757
|
-
|
|
758
|
-
|
|
827
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
828
|
+
this._gaxModule.routingHeader.fromParams({
|
|
829
|
+
name: request.name ?? '',
|
|
830
|
+
});
|
|
759
831
|
const defaultCallSettings = this._defaults['fetchReportResultRows'];
|
|
760
832
|
const callSettings = defaultCallSettings.merge(options);
|
|
761
|
-
this.initialize().catch(err => {
|
|
833
|
+
this.initialize().catch((err) => {
|
|
834
|
+
throw err;
|
|
835
|
+
});
|
|
762
836
|
this._log.info('fetchReportResultRows iterate %j', request);
|
|
763
837
|
return this.descriptors.page.fetchReportResultRows.asyncIterate(this.innerApiCalls['fetchReportResultRows'], request, callSettings);
|
|
764
838
|
}
|
|
765
839
|
/**
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
840
|
+
* Gets the latest state of a long-running operation. Clients can use this
|
|
841
|
+
* method to poll the operation result at intervals as recommended by the API
|
|
842
|
+
* service.
|
|
843
|
+
*
|
|
844
|
+
* @param {Object} request - The request object that will be sent.
|
|
845
|
+
* @param {string} request.name - The name of the operation resource.
|
|
846
|
+
* @param {Object=} options
|
|
847
|
+
* Optional parameters. You can override the default settings for this call,
|
|
848
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
|
849
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
|
850
|
+
* for the details.
|
|
851
|
+
* @param {function(?Error, ?Object)=} callback
|
|
852
|
+
* The function which will be called with the result of the API call.
|
|
853
|
+
*
|
|
854
|
+
* The second parameter to the callback is an object representing
|
|
855
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
|
856
|
+
* @return {Promise} - The promise which resolves to an array.
|
|
857
|
+
* The first element of the array is an object representing
|
|
858
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
|
859
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
|
860
|
+
*
|
|
861
|
+
* @example
|
|
862
|
+
* ```
|
|
863
|
+
* const client = longrunning.operationsClient();
|
|
864
|
+
* const name = '';
|
|
865
|
+
* const [response] = await client.getOperation({name});
|
|
866
|
+
* // doThingsWith(response)
|
|
867
|
+
* ```
|
|
868
|
+
*/
|
|
795
869
|
getOperation(request, optionsOrCallback, callback) {
|
|
796
870
|
let options;
|
|
797
871
|
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
@@ -968,7 +1042,8 @@ class ReportServiceClient {
|
|
|
968
1042
|
* @returns {string} A string representing the network_code.
|
|
969
1043
|
*/
|
|
970
1044
|
matchNetworkCodeFromAdBreakName(adBreakName) {
|
|
971
|
-
return this.pathTemplates.adBreakPathTemplate.match(adBreakName)
|
|
1045
|
+
return this.pathTemplates.adBreakPathTemplate.match(adBreakName)
|
|
1046
|
+
.network_code;
|
|
972
1047
|
}
|
|
973
1048
|
/**
|
|
974
1049
|
* Parse the asset_key from AdBreak resource.
|
|
@@ -1089,7 +1164,8 @@ class ReportServiceClient {
|
|
|
1089
1164
|
* @returns {string} A string representing the network_code.
|
|
1090
1165
|
*/
|
|
1091
1166
|
matchNetworkCodeFromApplicationName(applicationName) {
|
|
1092
|
-
return this.pathTemplates.applicationPathTemplate.match(applicationName)
|
|
1167
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName)
|
|
1168
|
+
.network_code;
|
|
1093
1169
|
}
|
|
1094
1170
|
/**
|
|
1095
1171
|
* Parse the application from Application resource.
|
|
@@ -1099,7 +1175,8 @@ class ReportServiceClient {
|
|
|
1099
1175
|
* @returns {string} A string representing the application.
|
|
1100
1176
|
*/
|
|
1101
1177
|
matchApplicationFromApplicationName(applicationName) {
|
|
1102
|
-
return this.pathTemplates.applicationPathTemplate.match(applicationName)
|
|
1178
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName)
|
|
1179
|
+
.application;
|
|
1103
1180
|
}
|
|
1104
1181
|
/**
|
|
1105
1182
|
* Return a fully-qualified audienceSegment resource name string.
|
|
@@ -1188,7 +1265,8 @@ class ReportServiceClient {
|
|
|
1188
1265
|
* @returns {string} A string representing the network_code.
|
|
1189
1266
|
*/
|
|
1190
1267
|
matchNetworkCodeFromBrowserName(browserName) {
|
|
1191
|
-
return this.pathTemplates.browserPathTemplate.match(browserName)
|
|
1268
|
+
return this.pathTemplates.browserPathTemplate.match(browserName)
|
|
1269
|
+
.network_code;
|
|
1192
1270
|
}
|
|
1193
1271
|
/**
|
|
1194
1272
|
* Parse the browser from Browser resource.
|
|
@@ -1233,6 +1311,39 @@ class ReportServiceClient {
|
|
|
1233
1311
|
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
|
|
1234
1312
|
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
|
|
1235
1313
|
}
|
|
1314
|
+
/**
|
|
1315
|
+
* Return a fully-qualified childPublisher resource name string.
|
|
1316
|
+
*
|
|
1317
|
+
* @param {string} network_code
|
|
1318
|
+
* @param {string} child_publisher
|
|
1319
|
+
* @returns {string} Resource name string.
|
|
1320
|
+
*/
|
|
1321
|
+
childPublisherPath(networkCode, childPublisher) {
|
|
1322
|
+
return this.pathTemplates.childPublisherPathTemplate.render({
|
|
1323
|
+
network_code: networkCode,
|
|
1324
|
+
child_publisher: childPublisher,
|
|
1325
|
+
});
|
|
1326
|
+
}
|
|
1327
|
+
/**
|
|
1328
|
+
* Parse the network_code from ChildPublisher resource.
|
|
1329
|
+
*
|
|
1330
|
+
* @param {string} childPublisherName
|
|
1331
|
+
* A fully-qualified path representing ChildPublisher resource.
|
|
1332
|
+
* @returns {string} A string representing the network_code.
|
|
1333
|
+
*/
|
|
1334
|
+
matchNetworkCodeFromChildPublisherName(childPublisherName) {
|
|
1335
|
+
return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).network_code;
|
|
1336
|
+
}
|
|
1337
|
+
/**
|
|
1338
|
+
* Parse the child_publisher from ChildPublisher resource.
|
|
1339
|
+
*
|
|
1340
|
+
* @param {string} childPublisherName
|
|
1341
|
+
* A fully-qualified path representing ChildPublisher resource.
|
|
1342
|
+
* @returns {string} A string representing the child_publisher.
|
|
1343
|
+
*/
|
|
1344
|
+
matchChildPublisherFromChildPublisherName(childPublisherName) {
|
|
1345
|
+
return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).child_publisher;
|
|
1346
|
+
}
|
|
1236
1347
|
/**
|
|
1237
1348
|
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
1238
1349
|
*
|
|
@@ -1320,7 +1431,8 @@ class ReportServiceClient {
|
|
|
1320
1431
|
* @returns {string} A string representing the network_code.
|
|
1321
1432
|
*/
|
|
1322
1433
|
matchNetworkCodeFromCompanyName(companyName) {
|
|
1323
|
-
return this.pathTemplates.companyPathTemplate.match(companyName)
|
|
1434
|
+
return this.pathTemplates.companyPathTemplate.match(companyName)
|
|
1435
|
+
.network_code;
|
|
1324
1436
|
}
|
|
1325
1437
|
/**
|
|
1326
1438
|
* Parse the company from Company resource.
|
|
@@ -1353,7 +1465,8 @@ class ReportServiceClient {
|
|
|
1353
1465
|
* @returns {string} A string representing the network_code.
|
|
1354
1466
|
*/
|
|
1355
1467
|
matchNetworkCodeFromContactName(contactName) {
|
|
1356
|
-
return this.pathTemplates.contactPathTemplate.match(contactName)
|
|
1468
|
+
return this.pathTemplates.contactPathTemplate.match(contactName)
|
|
1469
|
+
.network_code;
|
|
1357
1470
|
}
|
|
1358
1471
|
/**
|
|
1359
1472
|
* Parse the contact from Contact resource.
|
|
@@ -1386,7 +1499,8 @@ class ReportServiceClient {
|
|
|
1386
1499
|
* @returns {string} A string representing the network_code.
|
|
1387
1500
|
*/
|
|
1388
1501
|
matchNetworkCodeFromContentName(contentName) {
|
|
1389
|
-
return this.pathTemplates.contentPathTemplate.match(contentName)
|
|
1502
|
+
return this.pathTemplates.contentPathTemplate.match(contentName)
|
|
1503
|
+
.network_code;
|
|
1390
1504
|
}
|
|
1391
1505
|
/**
|
|
1392
1506
|
* Parse the content from Content resource.
|
|
@@ -1419,7 +1533,8 @@ class ReportServiceClient {
|
|
|
1419
1533
|
* @returns {string} A string representing the network_code.
|
|
1420
1534
|
*/
|
|
1421
1535
|
matchNetworkCodeFromContentBundleName(contentBundleName) {
|
|
1422
|
-
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
|
|
1536
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
|
|
1537
|
+
.network_code;
|
|
1423
1538
|
}
|
|
1424
1539
|
/**
|
|
1425
1540
|
* Parse the content_bundle from ContentBundle resource.
|
|
@@ -1429,7 +1544,8 @@ class ReportServiceClient {
|
|
|
1429
1544
|
* @returns {string} A string representing the content_bundle.
|
|
1430
1545
|
*/
|
|
1431
1546
|
matchContentBundleFromContentBundleName(contentBundleName) {
|
|
1432
|
-
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
|
|
1547
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
|
|
1548
|
+
.content_bundle;
|
|
1433
1549
|
}
|
|
1434
1550
|
/**
|
|
1435
1551
|
* Return a fully-qualified contentLabel resource name string.
|
|
@@ -1452,7 +1568,8 @@ class ReportServiceClient {
|
|
|
1452
1568
|
* @returns {string} A string representing the network_code.
|
|
1453
1569
|
*/
|
|
1454
1570
|
matchNetworkCodeFromContentLabelName(contentLabelName) {
|
|
1455
|
-
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
|
|
1571
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
|
|
1572
|
+
.network_code;
|
|
1456
1573
|
}
|
|
1457
1574
|
/**
|
|
1458
1575
|
* Parse the content_label from ContentLabel resource.
|
|
@@ -1462,7 +1579,8 @@ class ReportServiceClient {
|
|
|
1462
1579
|
* @returns {string} A string representing the content_label.
|
|
1463
1580
|
*/
|
|
1464
1581
|
matchContentLabelFromContentLabelName(contentLabelName) {
|
|
1465
|
-
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
|
|
1582
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
|
|
1583
|
+
.content_label;
|
|
1466
1584
|
}
|
|
1467
1585
|
/**
|
|
1468
1586
|
* Return a fully-qualified creativeTemplate resource name string.
|
|
@@ -1518,7 +1636,8 @@ class ReportServiceClient {
|
|
|
1518
1636
|
* @returns {string} A string representing the network_code.
|
|
1519
1637
|
*/
|
|
1520
1638
|
matchNetworkCodeFromCustomFieldName(customFieldName) {
|
|
1521
|
-
return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
|
|
1639
|
+
return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
|
|
1640
|
+
.network_code;
|
|
1522
1641
|
}
|
|
1523
1642
|
/**
|
|
1524
1643
|
* Parse the custom_field from CustomField resource.
|
|
@@ -1528,7 +1647,8 @@ class ReportServiceClient {
|
|
|
1528
1647
|
* @returns {string} A string representing the custom_field.
|
|
1529
1648
|
*/
|
|
1530
1649
|
matchCustomFieldFromCustomFieldName(customFieldName) {
|
|
1531
|
-
return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
|
|
1650
|
+
return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
|
|
1651
|
+
.custom_field;
|
|
1532
1652
|
}
|
|
1533
1653
|
/**
|
|
1534
1654
|
* Return a fully-qualified customTargetingKey resource name string.
|
|
@@ -1749,7 +1869,8 @@ class ReportServiceClient {
|
|
|
1749
1869
|
* @returns {string} A string representing the network_code.
|
|
1750
1870
|
*/
|
|
1751
1871
|
matchNetworkCodeFromGeoTargetName(geoTargetName) {
|
|
1752
|
-
return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
|
|
1872
|
+
return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
|
|
1873
|
+
.network_code;
|
|
1753
1874
|
}
|
|
1754
1875
|
/**
|
|
1755
1876
|
* Parse the geo_target from GeoTarget resource.
|
|
@@ -1759,7 +1880,8 @@ class ReportServiceClient {
|
|
|
1759
1880
|
* @returns {string} A string representing the geo_target.
|
|
1760
1881
|
*/
|
|
1761
1882
|
matchGeoTargetFromGeoTargetName(geoTargetName) {
|
|
1762
|
-
return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
|
|
1883
|
+
return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
|
|
1884
|
+
.geo_target;
|
|
1763
1885
|
}
|
|
1764
1886
|
/**
|
|
1765
1887
|
* Return a fully-qualified label resource name string.
|
|
@@ -1794,6 +1916,76 @@ class ReportServiceClient {
|
|
|
1794
1916
|
matchLabelFromLabelName(labelName) {
|
|
1795
1917
|
return this.pathTemplates.labelPathTemplate.match(labelName).label;
|
|
1796
1918
|
}
|
|
1919
|
+
/**
|
|
1920
|
+
* Return a fully-qualified lineItem resource name string.
|
|
1921
|
+
*
|
|
1922
|
+
* @param {string} network_code
|
|
1923
|
+
* @param {string} line_item
|
|
1924
|
+
* @returns {string} Resource name string.
|
|
1925
|
+
*/
|
|
1926
|
+
lineItemPath(networkCode, lineItem) {
|
|
1927
|
+
return this.pathTemplates.lineItemPathTemplate.render({
|
|
1928
|
+
network_code: networkCode,
|
|
1929
|
+
line_item: lineItem,
|
|
1930
|
+
});
|
|
1931
|
+
}
|
|
1932
|
+
/**
|
|
1933
|
+
* Parse the network_code from LineItem resource.
|
|
1934
|
+
*
|
|
1935
|
+
* @param {string} lineItemName
|
|
1936
|
+
* A fully-qualified path representing LineItem resource.
|
|
1937
|
+
* @returns {string} A string representing the network_code.
|
|
1938
|
+
*/
|
|
1939
|
+
matchNetworkCodeFromLineItemName(lineItemName) {
|
|
1940
|
+
return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
|
|
1941
|
+
.network_code;
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* Parse the line_item from LineItem resource.
|
|
1945
|
+
*
|
|
1946
|
+
* @param {string} lineItemName
|
|
1947
|
+
* A fully-qualified path representing LineItem resource.
|
|
1948
|
+
* @returns {string} A string representing the line_item.
|
|
1949
|
+
*/
|
|
1950
|
+
matchLineItemFromLineItemName(lineItemName) {
|
|
1951
|
+
return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
|
|
1952
|
+
.line_item;
|
|
1953
|
+
}
|
|
1954
|
+
/**
|
|
1955
|
+
* Return a fully-qualified linkedDevice resource name string.
|
|
1956
|
+
*
|
|
1957
|
+
* @param {string} network_code
|
|
1958
|
+
* @param {string} linked_device
|
|
1959
|
+
* @returns {string} Resource name string.
|
|
1960
|
+
*/
|
|
1961
|
+
linkedDevicePath(networkCode, linkedDevice) {
|
|
1962
|
+
return this.pathTemplates.linkedDevicePathTemplate.render({
|
|
1963
|
+
network_code: networkCode,
|
|
1964
|
+
linked_device: linkedDevice,
|
|
1965
|
+
});
|
|
1966
|
+
}
|
|
1967
|
+
/**
|
|
1968
|
+
* Parse the network_code from LinkedDevice resource.
|
|
1969
|
+
*
|
|
1970
|
+
* @param {string} linkedDeviceName
|
|
1971
|
+
* A fully-qualified path representing LinkedDevice resource.
|
|
1972
|
+
* @returns {string} A string representing the network_code.
|
|
1973
|
+
*/
|
|
1974
|
+
matchNetworkCodeFromLinkedDeviceName(linkedDeviceName) {
|
|
1975
|
+
return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
|
|
1976
|
+
.network_code;
|
|
1977
|
+
}
|
|
1978
|
+
/**
|
|
1979
|
+
* Parse the linked_device from LinkedDevice resource.
|
|
1980
|
+
*
|
|
1981
|
+
* @param {string} linkedDeviceName
|
|
1982
|
+
* A fully-qualified path representing LinkedDevice resource.
|
|
1983
|
+
* @returns {string} A string representing the linked_device.
|
|
1984
|
+
*/
|
|
1985
|
+
matchLinkedDeviceFromLinkedDeviceName(linkedDeviceName) {
|
|
1986
|
+
return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
|
|
1987
|
+
.linked_device;
|
|
1988
|
+
}
|
|
1797
1989
|
/**
|
|
1798
1990
|
* Return a fully-qualified liveStreamEvent resource name string.
|
|
1799
1991
|
*
|
|
@@ -1848,7 +2040,8 @@ class ReportServiceClient {
|
|
|
1848
2040
|
* @returns {string} A string representing the network_code.
|
|
1849
2041
|
*/
|
|
1850
2042
|
matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
|
|
1851
|
-
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
|
|
2043
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
|
|
2044
|
+
.network_code;
|
|
1852
2045
|
}
|
|
1853
2046
|
/**
|
|
1854
2047
|
* Parse the mobile_carrier from MobileCarrier resource.
|
|
@@ -1858,7 +2051,8 @@ class ReportServiceClient {
|
|
|
1858
2051
|
* @returns {string} A string representing the mobile_carrier.
|
|
1859
2052
|
*/
|
|
1860
2053
|
matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
|
|
1861
|
-
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
|
|
2054
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
|
|
2055
|
+
.mobile_carrier;
|
|
1862
2056
|
}
|
|
1863
2057
|
/**
|
|
1864
2058
|
* Return a fully-qualified mobileDevice resource name string.
|
|
@@ -1881,7 +2075,8 @@ class ReportServiceClient {
|
|
|
1881
2075
|
* @returns {string} A string representing the network_code.
|
|
1882
2076
|
*/
|
|
1883
2077
|
matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
|
|
1884
|
-
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
|
|
2078
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
|
|
2079
|
+
.network_code;
|
|
1885
2080
|
}
|
|
1886
2081
|
/**
|
|
1887
2082
|
* Parse the mobile_device from MobileDevice resource.
|
|
@@ -1891,7 +2086,8 @@ class ReportServiceClient {
|
|
|
1891
2086
|
* @returns {string} A string representing the mobile_device.
|
|
1892
2087
|
*/
|
|
1893
2088
|
matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
|
|
1894
|
-
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
|
|
2089
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
|
|
2090
|
+
.mobile_device;
|
|
1895
2091
|
}
|
|
1896
2092
|
/**
|
|
1897
2093
|
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
@@ -1945,7 +2141,8 @@ class ReportServiceClient {
|
|
|
1945
2141
|
* @returns {string} A string representing the network_code.
|
|
1946
2142
|
*/
|
|
1947
2143
|
matchNetworkCodeFromNetworkName(networkName) {
|
|
1948
|
-
return this.pathTemplates.networkPathTemplate.match(networkName)
|
|
2144
|
+
return this.pathTemplates.networkPathTemplate.match(networkName)
|
|
2145
|
+
.network_code;
|
|
1949
2146
|
}
|
|
1950
2147
|
/**
|
|
1951
2148
|
* Return a fully-qualified operatingSystem resource name string.
|
|
@@ -2067,7 +2264,8 @@ class ReportServiceClient {
|
|
|
2067
2264
|
* @returns {string} A string representing the network_code.
|
|
2068
2265
|
*/
|
|
2069
2266
|
matchNetworkCodeFromPlacementName(placementName) {
|
|
2070
|
-
return this.pathTemplates.placementPathTemplate.match(placementName)
|
|
2267
|
+
return this.pathTemplates.placementPathTemplate.match(placementName)
|
|
2268
|
+
.network_code;
|
|
2071
2269
|
}
|
|
2072
2270
|
/**
|
|
2073
2271
|
* Parse the placement from Placement resource.
|
|
@@ -2077,7 +2275,8 @@ class ReportServiceClient {
|
|
|
2077
2275
|
* @returns {string} A string representing the placement.
|
|
2078
2276
|
*/
|
|
2079
2277
|
matchPlacementFromPlacementName(placementName) {
|
|
2080
|
-
return this.pathTemplates.placementPathTemplate.match(placementName)
|
|
2278
|
+
return this.pathTemplates.placementPathTemplate.match(placementName)
|
|
2279
|
+
.placement;
|
|
2081
2280
|
}
|
|
2082
2281
|
/**
|
|
2083
2282
|
* Return a fully-qualified privateAuction resource name string.
|
|
@@ -2211,6 +2410,39 @@ class ReportServiceClient {
|
|
|
2211
2410
|
matchReportFromReportName(reportName) {
|
|
2212
2411
|
return this.pathTemplates.reportPathTemplate.match(reportName).report;
|
|
2213
2412
|
}
|
|
2413
|
+
/**
|
|
2414
|
+
* Return a fully-qualified richMediaAdsCompany resource name string.
|
|
2415
|
+
*
|
|
2416
|
+
* @param {string} network_code
|
|
2417
|
+
* @param {string} rich_media_ads_company
|
|
2418
|
+
* @returns {string} Resource name string.
|
|
2419
|
+
*/
|
|
2420
|
+
richMediaAdsCompanyPath(networkCode, richMediaAdsCompany) {
|
|
2421
|
+
return this.pathTemplates.richMediaAdsCompanyPathTemplate.render({
|
|
2422
|
+
network_code: networkCode,
|
|
2423
|
+
rich_media_ads_company: richMediaAdsCompany,
|
|
2424
|
+
});
|
|
2425
|
+
}
|
|
2426
|
+
/**
|
|
2427
|
+
* Parse the network_code from RichMediaAdsCompany resource.
|
|
2428
|
+
*
|
|
2429
|
+
* @param {string} richMediaAdsCompanyName
|
|
2430
|
+
* A fully-qualified path representing RichMediaAdsCompany resource.
|
|
2431
|
+
* @returns {string} A string representing the network_code.
|
|
2432
|
+
*/
|
|
2433
|
+
matchNetworkCodeFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
|
|
2434
|
+
return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).network_code;
|
|
2435
|
+
}
|
|
2436
|
+
/**
|
|
2437
|
+
* Parse the rich_media_ads_company from RichMediaAdsCompany resource.
|
|
2438
|
+
*
|
|
2439
|
+
* @param {string} richMediaAdsCompanyName
|
|
2440
|
+
* A fully-qualified path representing RichMediaAdsCompany resource.
|
|
2441
|
+
* @returns {string} A string representing the rich_media_ads_company.
|
|
2442
|
+
*/
|
|
2443
|
+
matchRichMediaAdsCompanyFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
|
|
2444
|
+
return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).rich_media_ads_company;
|
|
2445
|
+
}
|
|
2214
2446
|
/**
|
|
2215
2447
|
* Return a fully-qualified role resource name string.
|
|
2216
2448
|
*
|
|
@@ -2397,7 +2629,8 @@ class ReportServiceClient {
|
|
|
2397
2629
|
* @returns {string} A string representing the network_code.
|
|
2398
2630
|
*/
|
|
2399
2631
|
matchNetworkCodeFromWebPropertyName(webPropertyName) {
|
|
2400
|
-
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
|
|
2632
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
|
|
2633
|
+
.network_code;
|
|
2401
2634
|
}
|
|
2402
2635
|
/**
|
|
2403
2636
|
* Parse the web_property from WebProperty resource.
|
|
@@ -2407,7 +2640,8 @@ class ReportServiceClient {
|
|
|
2407
2640
|
* @returns {string} A string representing the web_property.
|
|
2408
2641
|
*/
|
|
2409
2642
|
matchWebPropertyFromWebPropertyName(webPropertyName) {
|
|
2410
|
-
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
|
|
2643
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
|
|
2644
|
+
.web_property;
|
|
2411
2645
|
}
|
|
2412
2646
|
/**
|
|
2413
2647
|
* Terminate the gRPC channel and close the client.
|
|
@@ -2417,7 +2651,7 @@ class ReportServiceClient {
|
|
|
2417
2651
|
*/
|
|
2418
2652
|
close() {
|
|
2419
2653
|
if (this.reportServiceStub && !this._terminated) {
|
|
2420
|
-
return this.reportServiceStub.then(stub => {
|
|
2654
|
+
return this.reportServiceStub.then((stub) => {
|
|
2421
2655
|
this._log.info('ending gRPC channel');
|
|
2422
2656
|
this._terminated = true;
|
|
2423
2657
|
stub.close();
|