@google-ads/admanager 0.4.1 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -0
- package/build/protos/google/ads/admanager/v1/ad_break_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +62 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +238 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -7
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +222 -6
- package/build/protos/google/ads/admanager/v1/application_messages.proto +47 -0
- package/build/protos/google/ads/admanager/v1/application_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +49 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/browser_language_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/browser_messages.proto +51 -0
- package/build/protos/google/ads/admanager/v1/browser_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +41 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +50 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +61 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/company_messages.proto +14 -12
- package/build/protos/google/ads/admanager/v1/company_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/contact_enums.proto +57 -0
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +45 -2
- package/build/protos/google/ads/admanager/v1/contact_service.proto +244 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +53 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_label_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_label_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +63 -0
- package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +253 -0
- package/build/protos/google/ads/admanager/v1/creative_template_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +5 -2
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +185 -3
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +7 -6
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +191 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +9 -9
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/device_capability_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +46 -0
- package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +131 -0
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/goal.proto +57 -0
- package/build/protos/google/ads/admanager/v1/goal_enums.proto +129 -0
- package/build/protos/google/ads/admanager/v1/line_item_enums.proto +86 -0
- package/build/protos/google/ads/admanager/v1/line_item_messages.proto +93 -0
- package/build/protos/google/ads/admanager/v1/line_item_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +48 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
- package/build/protos/google/ads/admanager/v1/network_messages.proto +8 -8
- package/build/protos/google/ads/admanager/v1/network_service.proto +32 -1
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/order_messages.proto +11 -10
- package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/report_definition.proto +13347 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +124 -3411
- package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
- package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
- package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
- package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
- package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
- package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
- package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
- package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
- package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
- package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
- package/build/protos/protos.d.ts +34075 -11179
- package/build/protos/protos.js +102857 -43311
- package/build/protos/protos.json +11142 -3881
- package/build/src/index.d.ts +61 -1
- package/build/src/index.js +43 -3
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +465 -0
- package/build/src/v1/ad_break_service_client.js +659 -1
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +54 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +1634 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +2327 -0
- package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
- package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
- package/build/src/v1/ad_review_center_ad_service_proto_list.json +127 -0
- package/build/src/v1/ad_unit_service_client.d.ts +667 -12
- package/build/src/v1/ad_unit_service_client.js +966 -56
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_client_config.json +28 -0
- package/build/src/v1/ad_unit_service_proto_list.json +54 -1
- package/build/src/v1/application_service_client.d.ts +1369 -0
- package/build/src/v1/application_service_client.js +2027 -0
- package/build/src/v1/application_service_client.js.map +1 -0
- package/build/src/v1/application_service_client_config.json +34 -0
- package/build/src/v1/application_service_proto_list.json +127 -0
- package/build/src/v1/audience_segment_service_client.d.ts +1369 -0
- package/build/src/v1/audience_segment_service_client.js +2027 -0
- package/build/src/v1/audience_segment_service_client.js.map +1 -0
- package/build/src/v1/audience_segment_service_client_config.json +34 -0
- package/build/src/v1/audience_segment_service_proto_list.json +127 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +471 -6
- package/build/src/v1/bandwidth_group_service_client.js +663 -5
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +54 -1
- package/build/src/v1/browser_language_service_client.d.ts +1369 -0
- package/build/src/v1/browser_language_service_client.js +2027 -0
- package/build/src/v1/browser_language_service_client.js.map +1 -0
- package/build/src/v1/browser_language_service_client_config.json +34 -0
- package/build/src/v1/browser_language_service_proto_list.json +127 -0
- package/build/src/v1/browser_service_client.d.ts +1369 -0
- package/build/src/v1/browser_service_client.js +2027 -0
- package/build/src/v1/browser_service_client.js.map +1 -0
- package/build/src/v1/browser_service_client_config.json +34 -0
- package/build/src/v1/browser_service_proto_list.json +127 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +1369 -0
- package/build/src/v1/cms_metadata_key_service_client.js +2027 -0
- package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_key_service_proto_list.json +127 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +1369 -0
- package/build/src/v1/cms_metadata_value_service_client.js +2027 -0
- package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_value_service_proto_list.json +127 -0
- package/build/src/v1/company_service_client.d.ts +471 -6
- package/build/src/v1/company_service_client.js +663 -5
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +54 -1
- package/build/src/v1/contact_service_client.d.ts +1480 -0
- package/build/src/v1/contact_service_client.js +2171 -0
- package/build/src/v1/contact_service_client.js.map +1 -0
- package/build/src/v1/contact_service_client_config.json +50 -0
- package/build/src/v1/contact_service_proto_list.json +127 -0
- package/build/src/v1/content_bundle_service_client.d.ts +1369 -0
- package/build/src/v1/content_bundle_service_client.js +2027 -0
- package/build/src/v1/content_bundle_service_client.js.map +1 -0
- package/build/src/v1/content_bundle_service_client_config.json +34 -0
- package/build/src/v1/content_bundle_service_proto_list.json +127 -0
- package/build/src/v1/content_label_service_client.d.ts +1369 -0
- package/build/src/v1/content_label_service_client.js +2027 -0
- package/build/src/v1/content_label_service_client.js.map +1 -0
- package/build/src/v1/content_label_service_client_config.json +34 -0
- package/build/src/v1/content_label_service_proto_list.json +127 -0
- package/build/src/v1/content_service_client.d.ts +1369 -0
- package/build/src/v1/content_service_client.js +2027 -0
- package/build/src/v1/content_service_client.js.map +1 -0
- package/build/src/v1/content_service_client_config.json +34 -0
- package/build/src/v1/content_service_proto_list.json +127 -0
- package/build/src/v1/creative_template_service_client.d.ts +1369 -0
- package/build/src/v1/creative_template_service_client.js +2027 -0
- package/build/src/v1/creative_template_service_client.js.map +1 -0
- package/build/src/v1/creative_template_service_client_config.json +34 -0
- package/build/src/v1/creative_template_service_proto_list.json +127 -0
- package/build/src/v1/custom_field_service_client.d.ts +634 -6
- package/build/src/v1/custom_field_service_client.js +880 -6
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_client_config.json +24 -0
- package/build/src/v1/custom_field_service_proto_list.json +54 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +631 -0
- package/build/src/v1/custom_targeting_key_service_client.js +876 -2
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_client_config.json +24 -0
- package/build/src/v1/custom_targeting_key_service_proto_list.json +54 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +465 -0
- package/build/src/v1/custom_targeting_value_service_client.js +659 -1
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +54 -1
- package/build/src/v1/device_capability_service_client.d.ts +1369 -0
- package/build/src/v1/device_capability_service_client.js +2027 -0
- package/build/src/v1/device_capability_service_client.js.map +1 -0
- package/build/src/v1/device_capability_service_client_config.json +34 -0
- package/build/src/v1/device_capability_service_proto_list.json +127 -0
- package/build/src/v1/device_category_service_client.d.ts +468 -3
- package/build/src/v1/device_category_service_client.js +661 -3
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +54 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +1370 -0
- package/build/src/v1/device_manufacturer_service_client.js +2027 -0
- package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
- package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
- package/build/src/v1/device_manufacturer_service_proto_list.json +127 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +465 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +659 -1
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +54 -1
- package/build/src/v1/gapic_metadata.json +1200 -6
- package/build/src/v1/geo_target_service_client.d.ts +471 -6
- package/build/src/v1/geo_target_service_client.js +663 -5
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +54 -1
- package/build/src/v1/index.d.ts +20 -0
- package/build/src/v1/index.js +42 -2
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/line_item_service_client.d.ts +1369 -0
- package/build/src/v1/line_item_service_client.js +2027 -0
- package/build/src/v1/line_item_service_client.js.map +1 -0
- package/build/src/v1/line_item_service_client_config.json +34 -0
- package/build/src/v1/line_item_service_proto_list.json +127 -0
- package/build/src/v1/mobile_carrier_service_client.d.ts +1369 -0
- package/build/src/v1/mobile_carrier_service_client.js +2027 -0
- package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
- package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
- package/build/src/v1/mobile_carrier_service_proto_list.json +127 -0
- package/build/src/v1/mobile_device_service_client.d.ts +1369 -0
- package/build/src/v1/mobile_device_service_client.js +2027 -0
- package/build/src/v1/mobile_device_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_service_proto_list.json +127 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +1376 -0
- package/build/src/v1/mobile_device_submodel_service_client.js +2031 -0
- package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_submodel_service_proto_list.json +127 -0
- package/build/src/v1/network_service_client.d.ts +555 -12
- package/build/src/v1/network_service_client.js +757 -16
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +54 -1
- package/build/src/v1/operating_system_service_client.d.ts +468 -3
- package/build/src/v1/operating_system_service_client.js +661 -3
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +54 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +468 -3
- package/build/src/v1/operating_system_version_service_client.js +661 -3
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +54 -1
- package/build/src/v1/order_service_client.d.ts +471 -6
- package/build/src/v1/order_service_client.js +663 -5
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +54 -1
- package/build/src/v1/placement_service_client.d.ts +662 -6
- package/build/src/v1/placement_service_client.js +962 -52
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_client_config.json +28 -0
- package/build/src/v1/placement_service_proto_list.json +54 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +468 -3
- package/build/src/v1/private_auction_deal_service_client.js +661 -3
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +54 -1
- package/build/src/v1/private_auction_service_client.d.ts +468 -3
- package/build/src/v1/private_auction_service_client.js +661 -3
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +54 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +465 -0
- package/build/src/v1/programmatic_buyer_service_client.js +659 -1
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +54 -1
- package/build/src/v1/report_service_client.d.ts +485 -17
- package/build/src/v1/report_service_client.js +669 -9
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +54 -1
- package/build/src/v1/role_service_client.d.ts +471 -3
- package/build/src/v1/role_service_client.js +663 -3
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +54 -1
- package/build/src/v1/site_service_client.d.ts +1530 -0
- package/build/src/v1/site_service_client.js +2243 -0
- package/build/src/v1/site_service_client.js.map +1 -0
- package/build/src/v1/site_service_client_config.json +58 -0
- package/build/src/v1/site_service_proto_list.json +127 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +465 -0
- package/build/src/v1/taxonomy_category_service_client.js +659 -1
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +54 -1
- package/build/src/v1/team_service_client.d.ts +1532 -0
- package/build/src/v1/team_service_client.js +2243 -0
- package/build/src/v1/team_service_client.js.map +1 -0
- package/build/src/v1/team_service_client_config.json +58 -0
- package/build/src/v1/team_service_proto_list.json +127 -0
- package/build/src/v1/user_service_client.d.ts +465 -0
- package/build/src/v1/user_service_client.js +659 -1
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +54 -1
- package/package.json +10 -2
- package/LICENSE +0 -202
|
@@ -139,6 +139,196 @@ export declare class AdUnitServiceClient {
|
|
|
139
139
|
]>;
|
|
140
140
|
getAdUnit(request: protos.google.ads.admanager.v1.IGetAdUnitRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IAdUnit, protos.google.ads.admanager.v1.IGetAdUnitRequest | null | undefined, {} | null | undefined>): void;
|
|
141
141
|
getAdUnit(request: protos.google.ads.admanager.v1.IGetAdUnitRequest, callback: Callback<protos.google.ads.admanager.v1.IAdUnit, protos.google.ads.admanager.v1.IGetAdUnitRequest | null | undefined, {} | null | undefined>): void;
|
|
142
|
+
/**
|
|
143
|
+
* API to create an `AdUnit` object.
|
|
144
|
+
*
|
|
145
|
+
* @param {Object} request
|
|
146
|
+
* The request object that will be sent.
|
|
147
|
+
* @param {string} request.parent
|
|
148
|
+
* Required. The parent resource where this `AdUnit` will be created.
|
|
149
|
+
* Format: `networks/{network_code}`
|
|
150
|
+
* @param {google.ads.admanager.v1.AdUnit} request.adUnit
|
|
151
|
+
* Required. The `AdUnit` to create.
|
|
152
|
+
* @param {object} [options]
|
|
153
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
154
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
155
|
+
* The first element of the array is an object representing {@link protos.google.ads.admanager.v1.AdUnit|AdUnit}.
|
|
156
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
157
|
+
* for more details and examples.
|
|
158
|
+
* @example <caption>include:samples/generated/v1/ad_unit_service.create_ad_unit.js</caption>
|
|
159
|
+
* region_tag:admanager_v1_generated_AdUnitService_CreateAdUnit_async
|
|
160
|
+
*/
|
|
161
|
+
createAdUnit(request?: protos.google.ads.admanager.v1.ICreateAdUnitRequest, options?: CallOptions): Promise<[
|
|
162
|
+
protos.google.ads.admanager.v1.IAdUnit,
|
|
163
|
+
protos.google.ads.admanager.v1.ICreateAdUnitRequest | undefined,
|
|
164
|
+
{} | undefined
|
|
165
|
+
]>;
|
|
166
|
+
createAdUnit(request: protos.google.ads.admanager.v1.ICreateAdUnitRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IAdUnit, protos.google.ads.admanager.v1.ICreateAdUnitRequest | null | undefined, {} | null | undefined>): void;
|
|
167
|
+
createAdUnit(request: protos.google.ads.admanager.v1.ICreateAdUnitRequest, callback: Callback<protos.google.ads.admanager.v1.IAdUnit, protos.google.ads.admanager.v1.ICreateAdUnitRequest | null | undefined, {} | null | undefined>): void;
|
|
168
|
+
/**
|
|
169
|
+
* API to update an `AdUnit` object.
|
|
170
|
+
*
|
|
171
|
+
* @param {Object} request
|
|
172
|
+
* The request object that will be sent.
|
|
173
|
+
* @param {google.ads.admanager.v1.AdUnit} request.adUnit
|
|
174
|
+
* Required. The `AdUnit` to update.
|
|
175
|
+
*
|
|
176
|
+
* The `AdUnit`'s name is used to identify the `AdUnit` to update. Format:
|
|
177
|
+
* `networks/{network_code}/adUnits/{ad_unit_id}`
|
|
178
|
+
* @param {google.protobuf.FieldMask} request.updateMask
|
|
179
|
+
* Required. The list of fields to update.
|
|
180
|
+
* @param {object} [options]
|
|
181
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
182
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
183
|
+
* The first element of the array is an object representing {@link protos.google.ads.admanager.v1.AdUnit|AdUnit}.
|
|
184
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
185
|
+
* for more details and examples.
|
|
186
|
+
* @example <caption>include:samples/generated/v1/ad_unit_service.update_ad_unit.js</caption>
|
|
187
|
+
* region_tag:admanager_v1_generated_AdUnitService_UpdateAdUnit_async
|
|
188
|
+
*/
|
|
189
|
+
updateAdUnit(request?: protos.google.ads.admanager.v1.IUpdateAdUnitRequest, options?: CallOptions): Promise<[
|
|
190
|
+
protos.google.ads.admanager.v1.IAdUnit,
|
|
191
|
+
protos.google.ads.admanager.v1.IUpdateAdUnitRequest | undefined,
|
|
192
|
+
{} | undefined
|
|
193
|
+
]>;
|
|
194
|
+
updateAdUnit(request: protos.google.ads.admanager.v1.IUpdateAdUnitRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IAdUnit, protos.google.ads.admanager.v1.IUpdateAdUnitRequest | null | undefined, {} | null | undefined>): void;
|
|
195
|
+
updateAdUnit(request: protos.google.ads.admanager.v1.IUpdateAdUnitRequest, callback: Callback<protos.google.ads.admanager.v1.IAdUnit, protos.google.ads.admanager.v1.IUpdateAdUnitRequest | null | undefined, {} | null | undefined>): void;
|
|
196
|
+
/**
|
|
197
|
+
* API to batch create `AdUnit` objects.
|
|
198
|
+
*
|
|
199
|
+
* @param {Object} request
|
|
200
|
+
* The request object that will be sent.
|
|
201
|
+
* @param {string} request.parent
|
|
202
|
+
* Required. The parent resource where `AdUnits` will be created.
|
|
203
|
+
* Format: `networks/{network_code}`
|
|
204
|
+
* The parent field in the CreateAdUnitRequest must match this
|
|
205
|
+
* field.
|
|
206
|
+
* @param {number[]} request.requests
|
|
207
|
+
* Required. The `AdUnit` objects to create.
|
|
208
|
+
* A maximum of 100 objects can be created in a batch.
|
|
209
|
+
* @param {object} [options]
|
|
210
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
211
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
212
|
+
* The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchCreateAdUnitsResponse|BatchCreateAdUnitsResponse}.
|
|
213
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
214
|
+
* for more details and examples.
|
|
215
|
+
* @example <caption>include:samples/generated/v1/ad_unit_service.batch_create_ad_units.js</caption>
|
|
216
|
+
* region_tag:admanager_v1_generated_AdUnitService_BatchCreateAdUnits_async
|
|
217
|
+
*/
|
|
218
|
+
batchCreateAdUnits(request?: protos.google.ads.admanager.v1.IBatchCreateAdUnitsRequest, options?: CallOptions): Promise<[
|
|
219
|
+
protos.google.ads.admanager.v1.IBatchCreateAdUnitsResponse,
|
|
220
|
+
protos.google.ads.admanager.v1.IBatchCreateAdUnitsRequest | undefined,
|
|
221
|
+
{} | undefined
|
|
222
|
+
]>;
|
|
223
|
+
batchCreateAdUnits(request: protos.google.ads.admanager.v1.IBatchCreateAdUnitsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchCreateAdUnitsResponse, protos.google.ads.admanager.v1.IBatchCreateAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
224
|
+
batchCreateAdUnits(request: protos.google.ads.admanager.v1.IBatchCreateAdUnitsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchCreateAdUnitsResponse, protos.google.ads.admanager.v1.IBatchCreateAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
225
|
+
/**
|
|
226
|
+
* API to batch update `AdUnit` objects.
|
|
227
|
+
*
|
|
228
|
+
* @param {Object} request
|
|
229
|
+
* The request object that will be sent.
|
|
230
|
+
* @param {string} request.parent
|
|
231
|
+
* Required. The parent resource where `AdUnits` will be updated.
|
|
232
|
+
* Format: `networks/{network_code}`
|
|
233
|
+
* The parent field in the UpdateAdUnitRequest must match this
|
|
234
|
+
* field.
|
|
235
|
+
* @param {number[]} request.requests
|
|
236
|
+
* Required. The `AdUnit` objects to update.
|
|
237
|
+
* A maximum of 100 objects can be updated in a batch.
|
|
238
|
+
* @param {object} [options]
|
|
239
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
240
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
241
|
+
* The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchUpdateAdUnitsResponse|BatchUpdateAdUnitsResponse}.
|
|
242
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
243
|
+
* for more details and examples.
|
|
244
|
+
* @example <caption>include:samples/generated/v1/ad_unit_service.batch_update_ad_units.js</caption>
|
|
245
|
+
* region_tag:admanager_v1_generated_AdUnitService_BatchUpdateAdUnits_async
|
|
246
|
+
*/
|
|
247
|
+
batchUpdateAdUnits(request?: protos.google.ads.admanager.v1.IBatchUpdateAdUnitsRequest, options?: CallOptions): Promise<[
|
|
248
|
+
protos.google.ads.admanager.v1.IBatchUpdateAdUnitsResponse,
|
|
249
|
+
protos.google.ads.admanager.v1.IBatchUpdateAdUnitsRequest | undefined,
|
|
250
|
+
{} | undefined
|
|
251
|
+
]>;
|
|
252
|
+
batchUpdateAdUnits(request: protos.google.ads.admanager.v1.IBatchUpdateAdUnitsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchUpdateAdUnitsResponse, protos.google.ads.admanager.v1.IBatchUpdateAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
253
|
+
batchUpdateAdUnits(request: protos.google.ads.admanager.v1.IBatchUpdateAdUnitsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchUpdateAdUnitsResponse, protos.google.ads.admanager.v1.IBatchUpdateAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
254
|
+
/**
|
|
255
|
+
* API to batch activate `AdUnit` objects.
|
|
256
|
+
*
|
|
257
|
+
* @param {Object} request
|
|
258
|
+
* The request object that will be sent.
|
|
259
|
+
* @param {string} request.parent
|
|
260
|
+
* Required. Format: `networks/{network_code}`
|
|
261
|
+
* @param {string[]} request.names
|
|
262
|
+
* Required. The resource names of the `AdUnit`s to activate.
|
|
263
|
+
* Format: `networks/{network_code}/adUnits/{ad_unit_id}`
|
|
264
|
+
* @param {object} [options]
|
|
265
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
266
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
267
|
+
* The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchActivateAdUnitsResponse|BatchActivateAdUnitsResponse}.
|
|
268
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
269
|
+
* for more details and examples.
|
|
270
|
+
* @example <caption>include:samples/generated/v1/ad_unit_service.batch_activate_ad_units.js</caption>
|
|
271
|
+
* region_tag:admanager_v1_generated_AdUnitService_BatchActivateAdUnits_async
|
|
272
|
+
*/
|
|
273
|
+
batchActivateAdUnits(request?: protos.google.ads.admanager.v1.IBatchActivateAdUnitsRequest, options?: CallOptions): Promise<[
|
|
274
|
+
protos.google.ads.admanager.v1.IBatchActivateAdUnitsResponse,
|
|
275
|
+
protos.google.ads.admanager.v1.IBatchActivateAdUnitsRequest | undefined,
|
|
276
|
+
{} | undefined
|
|
277
|
+
]>;
|
|
278
|
+
batchActivateAdUnits(request: protos.google.ads.admanager.v1.IBatchActivateAdUnitsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchActivateAdUnitsResponse, protos.google.ads.admanager.v1.IBatchActivateAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
279
|
+
batchActivateAdUnits(request: protos.google.ads.admanager.v1.IBatchActivateAdUnitsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchActivateAdUnitsResponse, protos.google.ads.admanager.v1.IBatchActivateAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
280
|
+
/**
|
|
281
|
+
* Deactivates a list of `AdUnit` objects.
|
|
282
|
+
*
|
|
283
|
+
* @param {Object} request
|
|
284
|
+
* The request object that will be sent.
|
|
285
|
+
* @param {string} request.parent
|
|
286
|
+
* Required. Format: `networks/{network_code}`
|
|
287
|
+
* @param {string[]} request.names
|
|
288
|
+
* Required. The resource names of the `AdUnit`s to deactivate.
|
|
289
|
+
* Format: `networks/{network_code}/adUnits/{ad_unit_id}`
|
|
290
|
+
* @param {object} [options]
|
|
291
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
292
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
293
|
+
* The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchDeactivateAdUnitsResponse|BatchDeactivateAdUnitsResponse}.
|
|
294
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
295
|
+
* for more details and examples.
|
|
296
|
+
* @example <caption>include:samples/generated/v1/ad_unit_service.batch_deactivate_ad_units.js</caption>
|
|
297
|
+
* region_tag:admanager_v1_generated_AdUnitService_BatchDeactivateAdUnits_async
|
|
298
|
+
*/
|
|
299
|
+
batchDeactivateAdUnits(request?: protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest, options?: CallOptions): Promise<[
|
|
300
|
+
protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse,
|
|
301
|
+
protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest | undefined,
|
|
302
|
+
{} | undefined
|
|
303
|
+
]>;
|
|
304
|
+
batchDeactivateAdUnits(request: protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse, protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
305
|
+
batchDeactivateAdUnits(request: protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsResponse, protos.google.ads.admanager.v1.IBatchDeactivateAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
306
|
+
/**
|
|
307
|
+
* Archives a list of `AdUnit` objects.
|
|
308
|
+
*
|
|
309
|
+
* @param {Object} request
|
|
310
|
+
* The request object that will be sent.
|
|
311
|
+
* @param {string} request.parent
|
|
312
|
+
* Required. Format: `networks/{network_code}`
|
|
313
|
+
* @param {string[]} request.names
|
|
314
|
+
* Required. The resource names of the `AdUnit`s to archive.
|
|
315
|
+
* Format: `networks/{network_code}/adUnits/{ad_unit_id}`
|
|
316
|
+
* @param {object} [options]
|
|
317
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
318
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
319
|
+
* The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchArchiveAdUnitsResponse|BatchArchiveAdUnitsResponse}.
|
|
320
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
321
|
+
* for more details and examples.
|
|
322
|
+
* @example <caption>include:samples/generated/v1/ad_unit_service.batch_archive_ad_units.js</caption>
|
|
323
|
+
* region_tag:admanager_v1_generated_AdUnitService_BatchArchiveAdUnits_async
|
|
324
|
+
*/
|
|
325
|
+
batchArchiveAdUnits(request?: protos.google.ads.admanager.v1.IBatchArchiveAdUnitsRequest, options?: CallOptions): Promise<[
|
|
326
|
+
protos.google.ads.admanager.v1.IBatchArchiveAdUnitsResponse,
|
|
327
|
+
protos.google.ads.admanager.v1.IBatchArchiveAdUnitsRequest | undefined,
|
|
328
|
+
{} | undefined
|
|
329
|
+
]>;
|
|
330
|
+
batchArchiveAdUnits(request: protos.google.ads.admanager.v1.IBatchArchiveAdUnitsRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchArchiveAdUnitsResponse, protos.google.ads.admanager.v1.IBatchArchiveAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
331
|
+
batchArchiveAdUnits(request: protos.google.ads.admanager.v1.IBatchArchiveAdUnitsRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchArchiveAdUnitsResponse, protos.google.ads.admanager.v1.IBatchArchiveAdUnitsRequest | null | undefined, {} | null | undefined>): void;
|
|
142
332
|
/**
|
|
143
333
|
* API to retrieve a list of AdUnit objects.
|
|
144
334
|
*
|
|
@@ -150,8 +340,8 @@ export declare class AdUnitServiceClient {
|
|
|
150
340
|
* @param {number} [request.pageSize]
|
|
151
341
|
* Optional. The maximum number of AdUnits to return. The service may return
|
|
152
342
|
* fewer than this value. If unspecified, at most 50 ad units will be
|
|
153
|
-
* returned. The maximum value is 1000; values
|
|
154
|
-
* 1000.
|
|
343
|
+
* returned. The maximum value is 1000; values greater than 1000 will be
|
|
344
|
+
* coerced to 1000.
|
|
155
345
|
* @param {string} [request.pageToken]
|
|
156
346
|
* Optional. A page token, received from a previous `ListAdUnits` call.
|
|
157
347
|
* Provide this to retrieve the subsequent page.
|
|
@@ -197,8 +387,8 @@ export declare class AdUnitServiceClient {
|
|
|
197
387
|
* @param {number} [request.pageSize]
|
|
198
388
|
* Optional. The maximum number of AdUnits to return. The service may return
|
|
199
389
|
* fewer than this value. If unspecified, at most 50 ad units will be
|
|
200
|
-
* returned. The maximum value is 1000; values
|
|
201
|
-
* 1000.
|
|
390
|
+
* returned. The maximum value is 1000; values greater than 1000 will be
|
|
391
|
+
* coerced to 1000.
|
|
202
392
|
* @param {string} [request.pageToken]
|
|
203
393
|
* Optional. A page token, received from a previous `ListAdUnits` call.
|
|
204
394
|
* Provide this to retrieve the subsequent page.
|
|
@@ -239,8 +429,8 @@ export declare class AdUnitServiceClient {
|
|
|
239
429
|
* @param {number} [request.pageSize]
|
|
240
430
|
* Optional. The maximum number of AdUnits to return. The service may return
|
|
241
431
|
* fewer than this value. If unspecified, at most 50 ad units will be
|
|
242
|
-
* returned. The maximum value is 1000; values
|
|
243
|
-
* 1000.
|
|
432
|
+
* returned. The maximum value is 1000; values greater than 1000 will be
|
|
433
|
+
* coerced to 1000.
|
|
244
434
|
* @param {string} [request.pageToken]
|
|
245
435
|
* Optional. A page token, received from a previous `ListAdUnits` call.
|
|
246
436
|
* Provide this to retrieve the subsequent page.
|
|
@@ -281,8 +471,8 @@ export declare class AdUnitServiceClient {
|
|
|
281
471
|
* @param {number} [request.pageSize]
|
|
282
472
|
* Optional. The maximum number of AdUnitSizes to return. The service may
|
|
283
473
|
* return fewer than this value. If unspecified, at most 50 ad unit sizes will
|
|
284
|
-
* be returned. The maximum value is 1000; values
|
|
285
|
-
* to 1000.
|
|
474
|
+
* be returned. The maximum value is 1000; values greater than 1000 will be
|
|
475
|
+
* coerced to 1000.
|
|
286
476
|
* @param {string} [request.pageToken]
|
|
287
477
|
* Optional. A page token, received from a previous `ListAdUnitSizes` call.
|
|
288
478
|
* Provide this to retrieve the subsequent page.
|
|
@@ -328,8 +518,8 @@ export declare class AdUnitServiceClient {
|
|
|
328
518
|
* @param {number} [request.pageSize]
|
|
329
519
|
* Optional. The maximum number of AdUnitSizes to return. The service may
|
|
330
520
|
* return fewer than this value. If unspecified, at most 50 ad unit sizes will
|
|
331
|
-
* be returned. The maximum value is 1000; values
|
|
332
|
-
* to 1000.
|
|
521
|
+
* be returned. The maximum value is 1000; values greater than 1000 will be
|
|
522
|
+
* coerced to 1000.
|
|
333
523
|
* @param {string} [request.pageToken]
|
|
334
524
|
* Optional. A page token, received from a previous `ListAdUnitSizes` call.
|
|
335
525
|
* Provide this to retrieve the subsequent page.
|
|
@@ -370,8 +560,8 @@ export declare class AdUnitServiceClient {
|
|
|
370
560
|
* @param {number} [request.pageSize]
|
|
371
561
|
* Optional. The maximum number of AdUnitSizes to return. The service may
|
|
372
562
|
* return fewer than this value. If unspecified, at most 50 ad unit sizes will
|
|
373
|
-
* be returned. The maximum value is 1000; values
|
|
374
|
-
* to 1000.
|
|
563
|
+
* be returned. The maximum value is 1000; values greater than 1000 will be
|
|
564
|
+
* coerced to 1000.
|
|
375
565
|
* @param {string} [request.pageToken]
|
|
376
566
|
* Optional. A page token, received from a previous `ListAdUnitSizes` call.
|
|
377
567
|
* Provide this to retrieve the subsequent page.
|
|
@@ -434,6 +624,39 @@ export declare class AdUnitServiceClient {
|
|
|
434
624
|
* @returns {string} A string representing the ad_break.
|
|
435
625
|
*/
|
|
436
626
|
matchAdBreakFromAdBreakName(adBreakName: string): string | number;
|
|
627
|
+
/**
|
|
628
|
+
* Return a fully-qualified adReviewCenterAd resource name string.
|
|
629
|
+
*
|
|
630
|
+
* @param {string} network_code
|
|
631
|
+
* @param {string} web_property_code
|
|
632
|
+
* @param {string} ad_review_center_ad
|
|
633
|
+
* @returns {string} Resource name string.
|
|
634
|
+
*/
|
|
635
|
+
adReviewCenterAdPath(networkCode: string, webPropertyCode: string, adReviewCenterAd: string): string;
|
|
636
|
+
/**
|
|
637
|
+
* Parse the network_code from AdReviewCenterAd resource.
|
|
638
|
+
*
|
|
639
|
+
* @param {string} adReviewCenterAdName
|
|
640
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
641
|
+
* @returns {string} A string representing the network_code.
|
|
642
|
+
*/
|
|
643
|
+
matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName: string): string | number;
|
|
644
|
+
/**
|
|
645
|
+
* Parse the web_property_code from AdReviewCenterAd resource.
|
|
646
|
+
*
|
|
647
|
+
* @param {string} adReviewCenterAdName
|
|
648
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
649
|
+
* @returns {string} A string representing the web_property_code.
|
|
650
|
+
*/
|
|
651
|
+
matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName: string): string | number;
|
|
652
|
+
/**
|
|
653
|
+
* Parse the ad_review_center_ad from AdReviewCenterAd resource.
|
|
654
|
+
*
|
|
655
|
+
* @param {string} adReviewCenterAdName
|
|
656
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
657
|
+
* @returns {string} A string representing the ad_review_center_ad.
|
|
658
|
+
*/
|
|
659
|
+
matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName: string): string | number;
|
|
437
660
|
/**
|
|
438
661
|
* Return a fully-qualified adUnit resource name string.
|
|
439
662
|
*
|
|
@@ -458,6 +681,54 @@ export declare class AdUnitServiceClient {
|
|
|
458
681
|
* @returns {string} A string representing the ad_unit.
|
|
459
682
|
*/
|
|
460
683
|
matchAdUnitFromAdUnitName(adUnitName: string): string | number;
|
|
684
|
+
/**
|
|
685
|
+
* Return a fully-qualified application resource name string.
|
|
686
|
+
*
|
|
687
|
+
* @param {string} network_code
|
|
688
|
+
* @param {string} application
|
|
689
|
+
* @returns {string} Resource name string.
|
|
690
|
+
*/
|
|
691
|
+
applicationPath(networkCode: string, application: string): string;
|
|
692
|
+
/**
|
|
693
|
+
* Parse the network_code from Application resource.
|
|
694
|
+
*
|
|
695
|
+
* @param {string} applicationName
|
|
696
|
+
* A fully-qualified path representing Application resource.
|
|
697
|
+
* @returns {string} A string representing the network_code.
|
|
698
|
+
*/
|
|
699
|
+
matchNetworkCodeFromApplicationName(applicationName: string): string | number;
|
|
700
|
+
/**
|
|
701
|
+
* Parse the application from Application resource.
|
|
702
|
+
*
|
|
703
|
+
* @param {string} applicationName
|
|
704
|
+
* A fully-qualified path representing Application resource.
|
|
705
|
+
* @returns {string} A string representing the application.
|
|
706
|
+
*/
|
|
707
|
+
matchApplicationFromApplicationName(applicationName: string): string | number;
|
|
708
|
+
/**
|
|
709
|
+
* Return a fully-qualified audienceSegment resource name string.
|
|
710
|
+
*
|
|
711
|
+
* @param {string} network_code
|
|
712
|
+
* @param {string} audience_segment
|
|
713
|
+
* @returns {string} Resource name string.
|
|
714
|
+
*/
|
|
715
|
+
audienceSegmentPath(networkCode: string, audienceSegment: string): string;
|
|
716
|
+
/**
|
|
717
|
+
* Parse the network_code from AudienceSegment resource.
|
|
718
|
+
*
|
|
719
|
+
* @param {string} audienceSegmentName
|
|
720
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
721
|
+
* @returns {string} A string representing the network_code.
|
|
722
|
+
*/
|
|
723
|
+
matchNetworkCodeFromAudienceSegmentName(audienceSegmentName: string): string | number;
|
|
724
|
+
/**
|
|
725
|
+
* Parse the audience_segment from AudienceSegment resource.
|
|
726
|
+
*
|
|
727
|
+
* @param {string} audienceSegmentName
|
|
728
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
729
|
+
* @returns {string} A string representing the audience_segment.
|
|
730
|
+
*/
|
|
731
|
+
matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName: string): string | number;
|
|
461
732
|
/**
|
|
462
733
|
* Return a fully-qualified bandwidthGroup resource name string.
|
|
463
734
|
*
|
|
@@ -482,6 +753,102 @@ export declare class AdUnitServiceClient {
|
|
|
482
753
|
* @returns {string} A string representing the bandwidth_group.
|
|
483
754
|
*/
|
|
484
755
|
matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName: string): string | number;
|
|
756
|
+
/**
|
|
757
|
+
* Return a fully-qualified browser resource name string.
|
|
758
|
+
*
|
|
759
|
+
* @param {string} network_code
|
|
760
|
+
* @param {string} browser
|
|
761
|
+
* @returns {string} Resource name string.
|
|
762
|
+
*/
|
|
763
|
+
browserPath(networkCode: string, browser: string): string;
|
|
764
|
+
/**
|
|
765
|
+
* Parse the network_code from Browser resource.
|
|
766
|
+
*
|
|
767
|
+
* @param {string} browserName
|
|
768
|
+
* A fully-qualified path representing Browser resource.
|
|
769
|
+
* @returns {string} A string representing the network_code.
|
|
770
|
+
*/
|
|
771
|
+
matchNetworkCodeFromBrowserName(browserName: string): string | number;
|
|
772
|
+
/**
|
|
773
|
+
* Parse the browser from Browser resource.
|
|
774
|
+
*
|
|
775
|
+
* @param {string} browserName
|
|
776
|
+
* A fully-qualified path representing Browser resource.
|
|
777
|
+
* @returns {string} A string representing the browser.
|
|
778
|
+
*/
|
|
779
|
+
matchBrowserFromBrowserName(browserName: string): string | number;
|
|
780
|
+
/**
|
|
781
|
+
* Return a fully-qualified browserLanguage resource name string.
|
|
782
|
+
*
|
|
783
|
+
* @param {string} network_code
|
|
784
|
+
* @param {string} browser_language
|
|
785
|
+
* @returns {string} Resource name string.
|
|
786
|
+
*/
|
|
787
|
+
browserLanguagePath(networkCode: string, browserLanguage: string): string;
|
|
788
|
+
/**
|
|
789
|
+
* Parse the network_code from BrowserLanguage resource.
|
|
790
|
+
*
|
|
791
|
+
* @param {string} browserLanguageName
|
|
792
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
793
|
+
* @returns {string} A string representing the network_code.
|
|
794
|
+
*/
|
|
795
|
+
matchNetworkCodeFromBrowserLanguageName(browserLanguageName: string): string | number;
|
|
796
|
+
/**
|
|
797
|
+
* Parse the browser_language from BrowserLanguage resource.
|
|
798
|
+
*
|
|
799
|
+
* @param {string} browserLanguageName
|
|
800
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
801
|
+
* @returns {string} A string representing the browser_language.
|
|
802
|
+
*/
|
|
803
|
+
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName: string): string | number;
|
|
804
|
+
/**
|
|
805
|
+
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
806
|
+
*
|
|
807
|
+
* @param {string} network_code
|
|
808
|
+
* @param {string} cms_metadata_key
|
|
809
|
+
* @returns {string} Resource name string.
|
|
810
|
+
*/
|
|
811
|
+
cmsMetadataKeyPath(networkCode: string, cmsMetadataKey: string): string;
|
|
812
|
+
/**
|
|
813
|
+
* Parse the network_code from CmsMetadataKey resource.
|
|
814
|
+
*
|
|
815
|
+
* @param {string} cmsMetadataKeyName
|
|
816
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
817
|
+
* @returns {string} A string representing the network_code.
|
|
818
|
+
*/
|
|
819
|
+
matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName: string): string | number;
|
|
820
|
+
/**
|
|
821
|
+
* Parse the cms_metadata_key from CmsMetadataKey resource.
|
|
822
|
+
*
|
|
823
|
+
* @param {string} cmsMetadataKeyName
|
|
824
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
825
|
+
* @returns {string} A string representing the cms_metadata_key.
|
|
826
|
+
*/
|
|
827
|
+
matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName: string): string | number;
|
|
828
|
+
/**
|
|
829
|
+
* Return a fully-qualified cmsMetadataValue resource name string.
|
|
830
|
+
*
|
|
831
|
+
* @param {string} network_code
|
|
832
|
+
* @param {string} cms_metadata_value
|
|
833
|
+
* @returns {string} Resource name string.
|
|
834
|
+
*/
|
|
835
|
+
cmsMetadataValuePath(networkCode: string, cmsMetadataValue: string): string;
|
|
836
|
+
/**
|
|
837
|
+
* Parse the network_code from CmsMetadataValue resource.
|
|
838
|
+
*
|
|
839
|
+
* @param {string} cmsMetadataValueName
|
|
840
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
841
|
+
* @returns {string} A string representing the network_code.
|
|
842
|
+
*/
|
|
843
|
+
matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName: string): string | number;
|
|
844
|
+
/**
|
|
845
|
+
* Parse the cms_metadata_value from CmsMetadataValue resource.
|
|
846
|
+
*
|
|
847
|
+
* @param {string} cmsMetadataValueName
|
|
848
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
849
|
+
* @returns {string} A string representing the cms_metadata_value.
|
|
850
|
+
*/
|
|
851
|
+
matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName: string): string | number;
|
|
485
852
|
/**
|
|
486
853
|
* Return a fully-qualified company resource name string.
|
|
487
854
|
*
|
|
@@ -530,6 +897,102 @@ export declare class AdUnitServiceClient {
|
|
|
530
897
|
* @returns {string} A string representing the contact.
|
|
531
898
|
*/
|
|
532
899
|
matchContactFromContactName(contactName: string): string | number;
|
|
900
|
+
/**
|
|
901
|
+
* Return a fully-qualified content resource name string.
|
|
902
|
+
*
|
|
903
|
+
* @param {string} network_code
|
|
904
|
+
* @param {string} content
|
|
905
|
+
* @returns {string} Resource name string.
|
|
906
|
+
*/
|
|
907
|
+
contentPath(networkCode: string, content: string): string;
|
|
908
|
+
/**
|
|
909
|
+
* Parse the network_code from Content resource.
|
|
910
|
+
*
|
|
911
|
+
* @param {string} contentName
|
|
912
|
+
* A fully-qualified path representing Content resource.
|
|
913
|
+
* @returns {string} A string representing the network_code.
|
|
914
|
+
*/
|
|
915
|
+
matchNetworkCodeFromContentName(contentName: string): string | number;
|
|
916
|
+
/**
|
|
917
|
+
* Parse the content from Content resource.
|
|
918
|
+
*
|
|
919
|
+
* @param {string} contentName
|
|
920
|
+
* A fully-qualified path representing Content resource.
|
|
921
|
+
* @returns {string} A string representing the content.
|
|
922
|
+
*/
|
|
923
|
+
matchContentFromContentName(contentName: string): string | number;
|
|
924
|
+
/**
|
|
925
|
+
* Return a fully-qualified contentBundle resource name string.
|
|
926
|
+
*
|
|
927
|
+
* @param {string} network_code
|
|
928
|
+
* @param {string} content_bundle
|
|
929
|
+
* @returns {string} Resource name string.
|
|
930
|
+
*/
|
|
931
|
+
contentBundlePath(networkCode: string, contentBundle: string): string;
|
|
932
|
+
/**
|
|
933
|
+
* Parse the network_code from ContentBundle resource.
|
|
934
|
+
*
|
|
935
|
+
* @param {string} contentBundleName
|
|
936
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
937
|
+
* @returns {string} A string representing the network_code.
|
|
938
|
+
*/
|
|
939
|
+
matchNetworkCodeFromContentBundleName(contentBundleName: string): string | number;
|
|
940
|
+
/**
|
|
941
|
+
* Parse the content_bundle from ContentBundle resource.
|
|
942
|
+
*
|
|
943
|
+
* @param {string} contentBundleName
|
|
944
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
945
|
+
* @returns {string} A string representing the content_bundle.
|
|
946
|
+
*/
|
|
947
|
+
matchContentBundleFromContentBundleName(contentBundleName: string): string | number;
|
|
948
|
+
/**
|
|
949
|
+
* Return a fully-qualified contentLabel resource name string.
|
|
950
|
+
*
|
|
951
|
+
* @param {string} network_code
|
|
952
|
+
* @param {string} content_label
|
|
953
|
+
* @returns {string} Resource name string.
|
|
954
|
+
*/
|
|
955
|
+
contentLabelPath(networkCode: string, contentLabel: string): string;
|
|
956
|
+
/**
|
|
957
|
+
* Parse the network_code from ContentLabel resource.
|
|
958
|
+
*
|
|
959
|
+
* @param {string} contentLabelName
|
|
960
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
961
|
+
* @returns {string} A string representing the network_code.
|
|
962
|
+
*/
|
|
963
|
+
matchNetworkCodeFromContentLabelName(contentLabelName: string): string | number;
|
|
964
|
+
/**
|
|
965
|
+
* Parse the content_label from ContentLabel resource.
|
|
966
|
+
*
|
|
967
|
+
* @param {string} contentLabelName
|
|
968
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
969
|
+
* @returns {string} A string representing the content_label.
|
|
970
|
+
*/
|
|
971
|
+
matchContentLabelFromContentLabelName(contentLabelName: string): string | number;
|
|
972
|
+
/**
|
|
973
|
+
* Return a fully-qualified creativeTemplate resource name string.
|
|
974
|
+
*
|
|
975
|
+
* @param {string} network_code
|
|
976
|
+
* @param {string} creative_template
|
|
977
|
+
* @returns {string} Resource name string.
|
|
978
|
+
*/
|
|
979
|
+
creativeTemplatePath(networkCode: string, creativeTemplate: string): string;
|
|
980
|
+
/**
|
|
981
|
+
* Parse the network_code from CreativeTemplate resource.
|
|
982
|
+
*
|
|
983
|
+
* @param {string} creativeTemplateName
|
|
984
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
985
|
+
* @returns {string} A string representing the network_code.
|
|
986
|
+
*/
|
|
987
|
+
matchNetworkCodeFromCreativeTemplateName(creativeTemplateName: string): string | number;
|
|
988
|
+
/**
|
|
989
|
+
* Parse the creative_template from CreativeTemplate resource.
|
|
990
|
+
*
|
|
991
|
+
* @param {string} creativeTemplateName
|
|
992
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
993
|
+
* @returns {string} A string representing the creative_template.
|
|
994
|
+
*/
|
|
995
|
+
matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName: string): string | number;
|
|
533
996
|
/**
|
|
534
997
|
* Return a fully-qualified customField resource name string.
|
|
535
998
|
*
|
|
@@ -602,6 +1065,30 @@ export declare class AdUnitServiceClient {
|
|
|
602
1065
|
* @returns {string} A string representing the custom_targeting_value.
|
|
603
1066
|
*/
|
|
604
1067
|
matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName: string): string | number;
|
|
1068
|
+
/**
|
|
1069
|
+
* Return a fully-qualified deviceCapability resource name string.
|
|
1070
|
+
*
|
|
1071
|
+
* @param {string} network_code
|
|
1072
|
+
* @param {string} device_capability
|
|
1073
|
+
* @returns {string} Resource name string.
|
|
1074
|
+
*/
|
|
1075
|
+
deviceCapabilityPath(networkCode: string, deviceCapability: string): string;
|
|
1076
|
+
/**
|
|
1077
|
+
* Parse the network_code from DeviceCapability resource.
|
|
1078
|
+
*
|
|
1079
|
+
* @param {string} deviceCapabilityName
|
|
1080
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1081
|
+
* @returns {string} A string representing the network_code.
|
|
1082
|
+
*/
|
|
1083
|
+
matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName: string): string | number;
|
|
1084
|
+
/**
|
|
1085
|
+
* Parse the device_capability from DeviceCapability resource.
|
|
1086
|
+
*
|
|
1087
|
+
* @param {string} deviceCapabilityName
|
|
1088
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1089
|
+
* @returns {string} A string representing the device_capability.
|
|
1090
|
+
*/
|
|
1091
|
+
matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName: string): string | number;
|
|
605
1092
|
/**
|
|
606
1093
|
* Return a fully-qualified deviceCategory resource name string.
|
|
607
1094
|
*
|
|
@@ -626,6 +1113,30 @@ export declare class AdUnitServiceClient {
|
|
|
626
1113
|
* @returns {string} A string representing the device_category.
|
|
627
1114
|
*/
|
|
628
1115
|
matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName: string): string | number;
|
|
1116
|
+
/**
|
|
1117
|
+
* Return a fully-qualified deviceManufacturer resource name string.
|
|
1118
|
+
*
|
|
1119
|
+
* @param {string} network_code
|
|
1120
|
+
* @param {string} device_manufacturer
|
|
1121
|
+
* @returns {string} Resource name string.
|
|
1122
|
+
*/
|
|
1123
|
+
deviceManufacturerPath(networkCode: string, deviceManufacturer: string): string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Parse the network_code from DeviceManufacturer resource.
|
|
1126
|
+
*
|
|
1127
|
+
* @param {string} deviceManufacturerName
|
|
1128
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1129
|
+
* @returns {string} A string representing the network_code.
|
|
1130
|
+
*/
|
|
1131
|
+
matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName: string): string | number;
|
|
1132
|
+
/**
|
|
1133
|
+
* Parse the device_manufacturer from DeviceManufacturer resource.
|
|
1134
|
+
*
|
|
1135
|
+
* @param {string} deviceManufacturerName
|
|
1136
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1137
|
+
* @returns {string} A string representing the device_manufacturer.
|
|
1138
|
+
*/
|
|
1139
|
+
matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName: string): string | number;
|
|
629
1140
|
/**
|
|
630
1141
|
* Return a fully-qualified entitySignalsMapping resource name string.
|
|
631
1142
|
*
|
|
@@ -698,6 +1209,30 @@ export declare class AdUnitServiceClient {
|
|
|
698
1209
|
* @returns {string} A string representing the label.
|
|
699
1210
|
*/
|
|
700
1211
|
matchLabelFromLabelName(labelName: string): string | number;
|
|
1212
|
+
/**
|
|
1213
|
+
* Return a fully-qualified lineItem resource name string.
|
|
1214
|
+
*
|
|
1215
|
+
* @param {string} network_code
|
|
1216
|
+
* @param {string} line_item
|
|
1217
|
+
* @returns {string} Resource name string.
|
|
1218
|
+
*/
|
|
1219
|
+
lineItemPath(networkCode: string, lineItem: string): string;
|
|
1220
|
+
/**
|
|
1221
|
+
* Parse the network_code from LineItem resource.
|
|
1222
|
+
*
|
|
1223
|
+
* @param {string} lineItemName
|
|
1224
|
+
* A fully-qualified path representing LineItem resource.
|
|
1225
|
+
* @returns {string} A string representing the network_code.
|
|
1226
|
+
*/
|
|
1227
|
+
matchNetworkCodeFromLineItemName(lineItemName: string): string | number;
|
|
1228
|
+
/**
|
|
1229
|
+
* Parse the line_item from LineItem resource.
|
|
1230
|
+
*
|
|
1231
|
+
* @param {string} lineItemName
|
|
1232
|
+
* A fully-qualified path representing LineItem resource.
|
|
1233
|
+
* @returns {string} A string representing the line_item.
|
|
1234
|
+
*/
|
|
1235
|
+
matchLineItemFromLineItemName(lineItemName: string): string | number;
|
|
701
1236
|
/**
|
|
702
1237
|
* Return a fully-qualified liveStreamEvent resource name string.
|
|
703
1238
|
*
|
|
@@ -722,6 +1257,78 @@ export declare class AdUnitServiceClient {
|
|
|
722
1257
|
* @returns {string} A string representing the live_stream_event.
|
|
723
1258
|
*/
|
|
724
1259
|
matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName: string): string | number;
|
|
1260
|
+
/**
|
|
1261
|
+
* Return a fully-qualified mobileCarrier resource name string.
|
|
1262
|
+
*
|
|
1263
|
+
* @param {string} network_code
|
|
1264
|
+
* @param {string} mobile_carrier
|
|
1265
|
+
* @returns {string} Resource name string.
|
|
1266
|
+
*/
|
|
1267
|
+
mobileCarrierPath(networkCode: string, mobileCarrier: string): string;
|
|
1268
|
+
/**
|
|
1269
|
+
* Parse the network_code from MobileCarrier resource.
|
|
1270
|
+
*
|
|
1271
|
+
* @param {string} mobileCarrierName
|
|
1272
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1273
|
+
* @returns {string} A string representing the network_code.
|
|
1274
|
+
*/
|
|
1275
|
+
matchNetworkCodeFromMobileCarrierName(mobileCarrierName: string): string | number;
|
|
1276
|
+
/**
|
|
1277
|
+
* Parse the mobile_carrier from MobileCarrier resource.
|
|
1278
|
+
*
|
|
1279
|
+
* @param {string} mobileCarrierName
|
|
1280
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1281
|
+
* @returns {string} A string representing the mobile_carrier.
|
|
1282
|
+
*/
|
|
1283
|
+
matchMobileCarrierFromMobileCarrierName(mobileCarrierName: string): string | number;
|
|
1284
|
+
/**
|
|
1285
|
+
* Return a fully-qualified mobileDevice resource name string.
|
|
1286
|
+
*
|
|
1287
|
+
* @param {string} network_code
|
|
1288
|
+
* @param {string} mobile_device
|
|
1289
|
+
* @returns {string} Resource name string.
|
|
1290
|
+
*/
|
|
1291
|
+
mobileDevicePath(networkCode: string, mobileDevice: string): string;
|
|
1292
|
+
/**
|
|
1293
|
+
* Parse the network_code from MobileDevice resource.
|
|
1294
|
+
*
|
|
1295
|
+
* @param {string} mobileDeviceName
|
|
1296
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1297
|
+
* @returns {string} A string representing the network_code.
|
|
1298
|
+
*/
|
|
1299
|
+
matchNetworkCodeFromMobileDeviceName(mobileDeviceName: string): string | number;
|
|
1300
|
+
/**
|
|
1301
|
+
* Parse the mobile_device from MobileDevice resource.
|
|
1302
|
+
*
|
|
1303
|
+
* @param {string} mobileDeviceName
|
|
1304
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1305
|
+
* @returns {string} A string representing the mobile_device.
|
|
1306
|
+
*/
|
|
1307
|
+
matchMobileDeviceFromMobileDeviceName(mobileDeviceName: string): string | number;
|
|
1308
|
+
/**
|
|
1309
|
+
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
1310
|
+
*
|
|
1311
|
+
* @param {string} network_code
|
|
1312
|
+
* @param {string} mobile_device_submodel
|
|
1313
|
+
* @returns {string} Resource name string.
|
|
1314
|
+
*/
|
|
1315
|
+
mobileDeviceSubmodelPath(networkCode: string, mobileDeviceSubmodel: string): string;
|
|
1316
|
+
/**
|
|
1317
|
+
* Parse the network_code from MobileDeviceSubmodel resource.
|
|
1318
|
+
*
|
|
1319
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1320
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1321
|
+
* @returns {string} A string representing the network_code.
|
|
1322
|
+
*/
|
|
1323
|
+
matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName: string): string | number;
|
|
1324
|
+
/**
|
|
1325
|
+
* Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
|
|
1326
|
+
*
|
|
1327
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1328
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1329
|
+
* @returns {string} A string representing the mobile_device_submodel.
|
|
1330
|
+
*/
|
|
1331
|
+
matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName: string): string | number;
|
|
725
1332
|
/**
|
|
726
1333
|
* Return a fully-qualified network resource name string.
|
|
727
1334
|
*
|
|
@@ -953,6 +1560,30 @@ export declare class AdUnitServiceClient {
|
|
|
953
1560
|
* @returns {string} A string representing the role.
|
|
954
1561
|
*/
|
|
955
1562
|
matchRoleFromRoleName(roleName: string): string | number;
|
|
1563
|
+
/**
|
|
1564
|
+
* Return a fully-qualified site resource name string.
|
|
1565
|
+
*
|
|
1566
|
+
* @param {string} network_code
|
|
1567
|
+
* @param {string} site
|
|
1568
|
+
* @returns {string} Resource name string.
|
|
1569
|
+
*/
|
|
1570
|
+
sitePath(networkCode: string, site: string): string;
|
|
1571
|
+
/**
|
|
1572
|
+
* Parse the network_code from Site resource.
|
|
1573
|
+
*
|
|
1574
|
+
* @param {string} siteName
|
|
1575
|
+
* A fully-qualified path representing Site resource.
|
|
1576
|
+
* @returns {string} A string representing the network_code.
|
|
1577
|
+
*/
|
|
1578
|
+
matchNetworkCodeFromSiteName(siteName: string): string | number;
|
|
1579
|
+
/**
|
|
1580
|
+
* Parse the site from Site resource.
|
|
1581
|
+
*
|
|
1582
|
+
* @param {string} siteName
|
|
1583
|
+
* A fully-qualified path representing Site resource.
|
|
1584
|
+
* @returns {string} A string representing the site.
|
|
1585
|
+
*/
|
|
1586
|
+
matchSiteFromSiteName(siteName: string): string | number;
|
|
956
1587
|
/**
|
|
957
1588
|
* Return a fully-qualified taxonomyCategory resource name string.
|
|
958
1589
|
*
|
|
@@ -1025,6 +1656,30 @@ export declare class AdUnitServiceClient {
|
|
|
1025
1656
|
* @returns {string} A string representing the user.
|
|
1026
1657
|
*/
|
|
1027
1658
|
matchUserFromUserName(userName: string): string | number;
|
|
1659
|
+
/**
|
|
1660
|
+
* Return a fully-qualified webProperty resource name string.
|
|
1661
|
+
*
|
|
1662
|
+
* @param {string} network_code
|
|
1663
|
+
* @param {string} web_property
|
|
1664
|
+
* @returns {string} Resource name string.
|
|
1665
|
+
*/
|
|
1666
|
+
webPropertyPath(networkCode: string, webProperty: string): string;
|
|
1667
|
+
/**
|
|
1668
|
+
* Parse the network_code from WebProperty resource.
|
|
1669
|
+
*
|
|
1670
|
+
* @param {string} webPropertyName
|
|
1671
|
+
* A fully-qualified path representing WebProperty resource.
|
|
1672
|
+
* @returns {string} A string representing the network_code.
|
|
1673
|
+
*/
|
|
1674
|
+
matchNetworkCodeFromWebPropertyName(webPropertyName: string): string | number;
|
|
1675
|
+
/**
|
|
1676
|
+
* Parse the web_property from WebProperty resource.
|
|
1677
|
+
*
|
|
1678
|
+
* @param {string} webPropertyName
|
|
1679
|
+
* A fully-qualified path representing WebProperty resource.
|
|
1680
|
+
* @returns {string} A string representing the web_property.
|
|
1681
|
+
*/
|
|
1682
|
+
matchWebPropertyFromWebPropertyName(webPropertyName: string): string | number;
|
|
1028
1683
|
/**
|
|
1029
1684
|
* Terminate the gRPC channel and close the client.
|
|
1030
1685
|
*
|