@google-ads/admanager 0.9.0 → 0.11.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/build/protos/google/ads/admanager/v1/ad_rule_service.proto +6 -7
- package/build/protos/google/ads/admanager/v1/ad_spot_service.proto +7 -8
- package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +20 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +14 -15
- package/build/protos/google/ads/admanager/v1/application_service.proto +11 -12
- package/build/protos/google/ads/admanager/v1/audience_segment_enums.proto +111 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +164 -1
- package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +199 -6
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +4 -5
- package/build/protos/google/ads/admanager/v1/browser_language_service.proto +4 -5
- package/build/protos/google/ads/admanager/v1/browser_service.proto +6 -7
- package/build/protos/google/ads/admanager/v1/cdn_config_service.proto +7 -8
- package/build/protos/google/ads/admanager/v1/child_publisher_messages.proto +99 -0
- package/build/protos/google/ads/admanager/v1/child_publisher_service.proto +515 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +5 -6
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +6 -7
- package/build/protos/google/ads/admanager/v1/company_service.proto +150 -30
- package/build/protos/google/ads/admanager/v1/contact_service.proto +13 -14
- package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +6 -7
- package/build/protos/google/ads/admanager/v1/content_label_service.proto +4 -5
- package/build/protos/google/ads/admanager/v1/content_service.proto +17 -18
- package/build/protos/google/ads/admanager/v1/conversion_event_enum.proto +123 -0
- package/build/protos/google/ads/admanager/v1/creative_set_service.proto +7 -8
- package/build/protos/google/ads/admanager/v1/creative_template_service.proto +11 -12
- package/build/protos/google/ads/admanager/v1/creative_wrapper_enums.proto +81 -0
- package/build/protos/google/ads/admanager/v1/creative_wrapper_messages.proto +127 -0
- package/build/protos/google/ads/admanager/v1/creative_wrapper_service.proto +324 -0
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +11 -12
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +8 -9
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +8 -9
- package/build/protos/google/ads/admanager/v1/dai_authentication_key_enums.proto +62 -0
- package/build/protos/google/ads/admanager/v1/dai_authentication_key_messages.proto +63 -0
- package/build/protos/google/ads/admanager/v1/dai_authentication_key_service.proto +329 -0
- package/build/protos/google/ads/admanager/v1/dai_encoding_profile_enums.proto +82 -0
- package/build/protos/google/ads/admanager/v1/dai_encoding_profile_messages.proto +117 -0
- package/build/protos/google/ads/admanager/v1/dai_encoding_profile_service.proto +345 -0
- package/build/protos/google/ads/admanager/v1/device_capability_service.proto +4 -5
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +4 -5
- package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +4 -5
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +6 -6
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +7 -8
- package/build/protos/google/ads/admanager/v1/label_service.proto +7 -8
- package/build/protos/google/ads/admanager/v1/line_item_service.proto +36 -37
- package/build/protos/google/ads/admanager/v1/linked_device_service.proto +6 -7
- package/build/protos/google/ads/admanager/v1/live_stream_messages.proto +46 -0
- package/build/protos/google/ads/admanager/v1/live_stream_service.proto +18 -15
- package/build/protos/google/ads/admanager/v1/mcm_enums.proto +245 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +5 -6
- package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +5 -6
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +5 -6
- package/build/protos/google/ads/admanager/v1/native_style_enums.proto +46 -0
- package/build/protos/google/ads/admanager/v1/native_style_messages.proto +79 -0
- package/build/protos/google/ads/admanager/v1/native_style_service.proto +336 -0
- package/build/protos/google/ads/admanager/v1/network_messages.proto +21 -0
- package/build/protos/google/ads/admanager/v1/network_service.proto +69 -0
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +4 -5
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +6 -7
- package/build/protos/google/ads/admanager/v1/order_service.proto +24 -25
- package/build/protos/google/ads/admanager/v1/partner_messages.proto +126 -0
- package/build/protos/google/ads/admanager/v1/partner_service.proto +205 -0
- package/build/protos/google/ads/admanager/v1/placement_service.proto +9 -10
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +15 -16
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +10 -11
- package/build/protos/google/ads/admanager/v1/report_definition.proto +151 -10
- package/build/protos/google/ads/admanager/v1/report_messages.proto +3 -23
- package/build/protos/google/ads/admanager/v1/report_visibility_enum.proto +38 -0
- package/build/protos/google/ads/admanager/v1/rich_media_ads_company_service.proto +7 -8
- package/build/protos/google/ads/admanager/v1/role_service.proto +7 -8
- package/build/protos/google/ads/admanager/v1/site_service.proto +7 -8
- package/build/protos/google/ads/admanager/v1/slate_service.proto +5 -6
- package/build/protos/google/ads/admanager/v1/suggested_ad_unit_service.proto +6 -7
- package/build/protos/google/ads/admanager/v1/targeting_preset_service.proto +5 -6
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/team_service.proto +9 -10
- package/build/protos/google/ads/admanager/v1/third_party_company_service.proto +6 -7
- package/build/protos/google/ads/admanager/v1/third_party_data_declaration.proto +48 -0
- package/build/protos/google/ads/admanager/v1/third_party_data_declaration_type_enum.proto +42 -0
- package/build/protos/google/ads/admanager/v1/video_tracking_url.proto +40 -0
- package/build/protos/google/ads/admanager/v1/viewability_provider_messages.proto +118 -0
- package/build/protos/google/ads/admanager/v1/viewability_provider_service.proto +294 -0
- package/build/protos/protos.d.ts +47012 -29429
- package/build/protos/protos.js +1 -1
- package/build/protos/protos.json +9209 -4108
- package/build/src/index.d.ts +22 -1
- package/build/src/index.js +17 -3
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +159 -0
- package/build/src/v1/ad_break_service_client.js +229 -0
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +23 -0
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +159 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +229 -0
- 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 +23 -0
- package/build/src/v1/ad_rule_service_client.d.ts +177 -21
- package/build/src/v1/ad_rule_service_client.js +241 -14
- package/build/src/v1/ad_rule_service_client.js.map +1 -1
- package/build/src/v1/ad_rule_service_proto_list.json +23 -0
- package/build/src/v1/ad_spot_service_client.d.ts +180 -24
- package/build/src/v1/ad_spot_service_client.js +243 -16
- package/build/src/v1/ad_spot_service_client.js.map +1 -1
- package/build/src/v1/ad_spot_service_proto_list.json +23 -0
- package/build/src/v1/ad_unit_service_client.d.ts +201 -45
- package/build/src/v1/ad_unit_service_client.js +257 -30
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_proto_list.json +23 -0
- package/build/src/v1/application_service_client.d.ts +192 -36
- package/build/src/v1/application_service_client.js +251 -24
- package/build/src/v1/application_service_client.js.map +1 -1
- package/build/src/v1/application_service_proto_list.json +23 -0
- package/build/src/v1/audience_segment_service_client.d.ts +342 -14
- package/build/src/v1/audience_segment_service_client.js +483 -8
- package/build/src/v1/audience_segment_service_client.js.map +1 -1
- package/build/src/v1/audience_segment_service_client_config.json +20 -0
- package/build/src/v1/audience_segment_service_proto_list.json +23 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +171 -15
- package/build/src/v1/bandwidth_group_service_client.js +237 -10
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +23 -0
- package/build/src/v1/browser_language_service_client.d.ts +171 -15
- package/build/src/v1/browser_language_service_client.js +237 -10
- package/build/src/v1/browser_language_service_client.js.map +1 -1
- package/build/src/v1/browser_language_service_proto_list.json +23 -0
- package/build/src/v1/browser_service_client.d.ts +177 -21
- package/build/src/v1/browser_service_client.js +241 -14
- package/build/src/v1/browser_service_client.js.map +1 -1
- package/build/src/v1/browser_service_proto_list.json +23 -0
- package/build/src/v1/cdn_config_service_client.d.ts +180 -24
- package/build/src/v1/cdn_config_service_client.js +243 -16
- package/build/src/v1/cdn_config_service_client.js.map +1 -1
- package/build/src/v1/cdn_config_service_proto_list.json +23 -0
- package/build/src/v1/child_publisher_service_client.d.ts +2163 -0
- package/build/src/v1/child_publisher_service_client.js +3156 -0
- package/build/src/v1/child_publisher_service_client.js.map +1 -0
- package/build/src/v1/child_publisher_service_client_config.json +66 -0
- package/build/src/v1/child_publisher_service_proto_list.json +225 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +174 -18
- package/build/src/v1/cms_metadata_key_service_client.js +239 -12
- package/build/src/v1/cms_metadata_key_service_client.js.map +1 -1
- package/build/src/v1/cms_metadata_key_service_proto_list.json +23 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +177 -21
- package/build/src/v1/cms_metadata_value_service_client.js +241 -14
- package/build/src/v1/cms_metadata_value_service_client.js.map +1 -1
- package/build/src/v1/cms_metadata_value_service_proto_list.json +23 -0
- package/build/src/v1/company_service_client.d.ts +336 -66
- package/build/src/v1/company_service_client.js +451 -44
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_client_config.json +16 -0
- package/build/src/v1/company_service_proto_list.json +23 -0
- package/build/src/v1/contact_service_client.d.ts +198 -42
- package/build/src/v1/contact_service_client.js +255 -28
- package/build/src/v1/contact_service_client.js.map +1 -1
- package/build/src/v1/contact_service_proto_list.json +23 -0
- package/build/src/v1/content_bundle_service_client.d.ts +177 -21
- package/build/src/v1/content_bundle_service_client.js +241 -14
- package/build/src/v1/content_bundle_service_client.js.map +1 -1
- package/build/src/v1/content_bundle_service_proto_list.json +23 -0
- package/build/src/v1/content_label_service_client.d.ts +171 -15
- package/build/src/v1/content_label_service_client.js +237 -10
- package/build/src/v1/content_label_service_client.js.map +1 -1
- package/build/src/v1/content_label_service_proto_list.json +23 -0
- package/build/src/v1/content_service_client.d.ts +210 -54
- package/build/src/v1/content_service_client.js +263 -36
- package/build/src/v1/content_service_client.js.map +1 -1
- package/build/src/v1/content_service_proto_list.json +23 -0
- package/build/src/v1/creative_set_service_client.d.ts +180 -24
- package/build/src/v1/creative_set_service_client.js +243 -16
- package/build/src/v1/creative_set_service_client.js.map +1 -1
- package/build/src/v1/creative_set_service_proto_list.json +23 -0
- package/build/src/v1/creative_template_service_client.d.ts +192 -36
- package/build/src/v1/creative_template_service_client.js +251 -24
- package/build/src/v1/creative_template_service_client.js.map +1 -1
- package/build/src/v1/creative_template_service_proto_list.json +23 -0
- package/build/src/v1/creative_wrapper_service_client.d.ts +2029 -0
- package/build/src/v1/creative_wrapper_service_client.js +3041 -0
- package/build/src/v1/creative_wrapper_service_client.js.map +1 -0
- package/build/src/v1/creative_wrapper_service_client_config.json +58 -0
- package/build/src/v1/creative_wrapper_service_proto_list.json +225 -0
- package/build/src/v1/custom_field_service_client.d.ts +192 -36
- package/build/src/v1/custom_field_service_client.js +251 -24
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_proto_list.json +23 -0
- package/build/src/v1/custom_targeting_key_service_client.d.ts +183 -27
- package/build/src/v1/custom_targeting_key_service_client.js +245 -18
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_proto_list.json +23 -0
- package/build/src/v1/custom_targeting_value_service_client.d.ts +183 -27
- package/build/src/v1/custom_targeting_value_service_client.js +245 -18
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +23 -0
- package/build/src/v1/dai_authentication_key_service_client.d.ts +2029 -0
- package/build/src/v1/dai_authentication_key_service_client.js +3042 -0
- package/build/src/v1/dai_authentication_key_service_client.js.map +1 -0
- package/build/src/v1/dai_authentication_key_service_client_config.json +58 -0
- package/build/src/v1/dai_authentication_key_service_proto_list.json +225 -0
- package/build/src/v1/dai_encoding_profile_service_client.d.ts +2029 -0
- package/build/src/v1/dai_encoding_profile_service_client.js +3042 -0
- package/build/src/v1/dai_encoding_profile_service_client.js.map +1 -0
- package/build/src/v1/dai_encoding_profile_service_client_config.json +58 -0
- package/build/src/v1/dai_encoding_profile_service_proto_list.json +225 -0
- package/build/src/v1/device_capability_service_client.d.ts +171 -15
- package/build/src/v1/device_capability_service_client.js +237 -10
- package/build/src/v1/device_capability_service_client.js.map +1 -1
- package/build/src/v1/device_capability_service_proto_list.json +23 -0
- package/build/src/v1/device_category_service_client.d.ts +171 -15
- package/build/src/v1/device_category_service_client.js +237 -10
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +23 -0
- package/build/src/v1/device_manufacturer_service_client.d.ts +171 -15
- package/build/src/v1/device_manufacturer_service_client.js +237 -10
- package/build/src/v1/device_manufacturer_service_client.js.map +1 -1
- package/build/src/v1/device_manufacturer_service_proto_list.json +23 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +165 -6
- package/build/src/v1/entity_signals_mapping_service_client.js +229 -0
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +23 -0
- package/build/src/v1/gapic_metadata.json +756 -0
- package/build/src/v1/geo_target_service_client.d.ts +180 -24
- package/build/src/v1/geo_target_service_client.js +243 -16
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +23 -0
- package/build/src/v1/index.d.ts +7 -0
- package/build/src/v1/index.js +16 -2
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/label_service_client.d.ts +180 -24
- package/build/src/v1/label_service_client.js +243 -16
- package/build/src/v1/label_service_client.js.map +1 -1
- package/build/src/v1/label_service_proto_list.json +23 -0
- package/build/src/v1/line_item_service_client.d.ts +267 -111
- package/build/src/v1/line_item_service_client.js +301 -74
- package/build/src/v1/line_item_service_client.js.map +1 -1
- package/build/src/v1/line_item_service_proto_list.json +23 -0
- package/build/src/v1/linked_device_service_client.d.ts +177 -21
- package/build/src/v1/linked_device_service_client.js +241 -14
- package/build/src/v1/linked_device_service_client.js.map +1 -1
- package/build/src/v1/linked_device_service_proto_list.json +23 -0
- package/build/src/v1/live_stream_service_client.d.ts +213 -45
- package/build/src/v1/live_stream_service_client.js +265 -30
- package/build/src/v1/live_stream_service_client.js.map +1 -1
- package/build/src/v1/live_stream_service_proto_list.json +23 -0
- package/build/src/v1/mcm_earnings_service_client.d.ts +159 -0
- package/build/src/v1/mcm_earnings_service_client.js +229 -0
- package/build/src/v1/mcm_earnings_service_client.js.map +1 -1
- package/build/src/v1/mcm_earnings_service_proto_list.json +23 -0
- package/build/src/v1/mobile_carrier_service_client.d.ts +174 -18
- package/build/src/v1/mobile_carrier_service_client.js +239 -12
- package/build/src/v1/mobile_carrier_service_client.js.map +1 -1
- package/build/src/v1/mobile_carrier_service_proto_list.json +23 -0
- package/build/src/v1/mobile_device_service_client.d.ts +174 -18
- package/build/src/v1/mobile_device_service_client.js +239 -12
- package/build/src/v1/mobile_device_service_client.js.map +1 -1
- package/build/src/v1/mobile_device_service_proto_list.json +23 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +174 -18
- package/build/src/v1/mobile_device_submodel_service_client.js +239 -12
- package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -1
- package/build/src/v1/mobile_device_submodel_service_proto_list.json +23 -0
- package/build/src/v1/native_style_service_client.d.ts +2001 -0
- package/build/src/v1/native_style_service_client.js +2996 -0
- package/build/src/v1/native_style_service_client.js.map +1 -0
- package/build/src/v1/native_style_service_client_config.json +54 -0
- package/build/src/v1/native_style_service_proto_list.json +225 -0
- package/build/src/v1/network_service_client.d.ts +245 -0
- package/build/src/v1/network_service_client.js +361 -1
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_client_config.json +12 -0
- package/build/src/v1/network_service_proto_list.json +23 -0
- package/build/src/v1/operating_system_service_client.d.ts +171 -15
- package/build/src/v1/operating_system_service_client.js +237 -10
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +23 -0
- package/build/src/v1/operating_system_version_service_client.d.ts +177 -21
- package/build/src/v1/operating_system_version_service_client.js +241 -14
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +23 -0
- package/build/src/v1/order_service_client.d.ts +231 -75
- package/build/src/v1/order_service_client.js +277 -50
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +23 -0
- package/build/src/v1/partner_service_client.d.ts +1939 -0
- package/build/src/v1/partner_service_client.js +2875 -0
- package/build/src/v1/partner_service_client.js.map +1 -0
- package/build/src/v1/partner_service_client_config.json +42 -0
- package/build/src/v1/partner_service_proto_list.json +225 -0
- package/build/src/v1/placement_service_client.d.ts +186 -30
- package/build/src/v1/placement_service_client.js +247 -20
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_proto_list.json +23 -0
- package/build/src/v1/private_auction_deal_service_client.d.ts +204 -48
- package/build/src/v1/private_auction_deal_service_client.js +259 -32
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +23 -0
- package/build/src/v1/private_auction_service_client.d.ts +159 -0
- package/build/src/v1/private_auction_service_client.js +229 -0
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +23 -0
- package/build/src/v1/programmatic_buyer_service_client.d.ts +189 -33
- package/build/src/v1/programmatic_buyer_service_client.js +249 -22
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +23 -0
- package/build/src/v1/report_service_client.d.ts +159 -0
- package/build/src/v1/report_service_client.js +229 -0
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +23 -0
- package/build/src/v1/rich_media_ads_company_service_client.d.ts +180 -24
- package/build/src/v1/rich_media_ads_company_service_client.js +243 -16
- package/build/src/v1/rich_media_ads_company_service_client.js.map +1 -1
- package/build/src/v1/rich_media_ads_company_service_proto_list.json +23 -0
- package/build/src/v1/role_service_client.d.ts +180 -24
- package/build/src/v1/role_service_client.js +243 -16
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +23 -0
- package/build/src/v1/site_service_client.d.ts +180 -24
- package/build/src/v1/site_service_client.js +243 -16
- package/build/src/v1/site_service_client.js.map +1 -1
- package/build/src/v1/site_service_proto_list.json +23 -0
- package/build/src/v1/slate_service_client.d.ts +174 -18
- package/build/src/v1/slate_service_client.js +239 -12
- package/build/src/v1/slate_service_client.js.map +1 -1
- package/build/src/v1/slate_service_proto_list.json +23 -0
- package/build/src/v1/suggested_ad_unit_service_client.d.ts +174 -18
- package/build/src/v1/suggested_ad_unit_service_client.js +239 -12
- package/build/src/v1/suggested_ad_unit_service_client.js.map +1 -1
- package/build/src/v1/suggested_ad_unit_service_proto_list.json +23 -0
- package/build/src/v1/targeting_preset_service_client.d.ts +174 -18
- package/build/src/v1/targeting_preset_service_client.js +239 -12
- package/build/src/v1/targeting_preset_service_client.js.map +1 -1
- package/build/src/v1/targeting_preset_service_proto_list.json +23 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +161 -2
- package/build/src/v1/taxonomy_category_service_client.js +229 -0
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +23 -0
- package/build/src/v1/team_service_client.d.ts +186 -30
- package/build/src/v1/team_service_client.js +247 -20
- package/build/src/v1/team_service_client.js.map +1 -1
- package/build/src/v1/team_service_proto_list.json +23 -0
- package/build/src/v1/third_party_company_service_client.d.ts +177 -21
- package/build/src/v1/third_party_company_service_client.js +241 -14
- package/build/src/v1/third_party_company_service_client.js.map +1 -1
- package/build/src/v1/third_party_company_service_proto_list.json +23 -0
- package/build/src/v1/user_service_client.d.ts +159 -0
- package/build/src/v1/user_service_client.js +229 -0
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +23 -0
- package/build/src/v1/viewability_provider_service_client.d.ts +2032 -0
- package/build/src/v1/viewability_provider_service_client.js +2981 -0
- package/build/src/v1/viewability_provider_service_client.js.map +1 -0
- package/build/src/v1/viewability_provider_service_client_config.json +50 -0
- package/build/src/v1/viewability_provider_service_proto_list.json +225 -0
- package/package.json +1 -1
|
@@ -28,7 +28,8 @@ const google_gax_1 = require("google-gax");
|
|
|
28
28
|
const gapicConfig = require("./company_service_client_config.json");
|
|
29
29
|
const version = require('../../../package.json').version;
|
|
30
30
|
/**
|
|
31
|
-
* Provides methods for handling
|
|
31
|
+
* Provides methods for handling {@link protos.google.ads.admanager.v1.Company|Company}
|
|
32
|
+
* objects.
|
|
32
33
|
* @class
|
|
33
34
|
* @memberof v1
|
|
34
35
|
*/
|
|
@@ -195,9 +196,13 @@ class CompanyServiceClient {
|
|
|
195
196
|
creativePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creatives/{creative}'),
|
|
196
197
|
creativeSetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeSets/{creative_set}'),
|
|
197
198
|
creativeTemplatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeTemplates/{creative_template}'),
|
|
199
|
+
creativeWrapperPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeWrappers/{creative_wrapper}'),
|
|
198
200
|
customFieldPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customFields/{custom_field}'),
|
|
199
201
|
customTargetingKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingKeys/{custom_targeting_key}'),
|
|
200
202
|
customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
|
|
203
|
+
daiAuthenticationKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/daiAuthenticationKeys/{dai_authentication_key}'),
|
|
204
|
+
daiEncodingProfilePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/daiEncodingProfiles/{dai_encoding_profile}'),
|
|
205
|
+
defaultThirdPartyDataDeclarationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/defaultThirdPartyDataDeclaration'),
|
|
201
206
|
deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
|
|
202
207
|
deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
|
|
203
208
|
deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
|
|
@@ -211,10 +216,12 @@ class CompanyServiceClient {
|
|
|
211
216
|
mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
|
|
212
217
|
mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
|
|
213
218
|
mobileDeviceSubmodelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}'),
|
|
219
|
+
nativeStylePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/nativeStyles/{native_style}'),
|
|
214
220
|
networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
|
|
215
221
|
operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
|
|
216
222
|
operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
|
|
217
223
|
orderPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/orders/{order}'),
|
|
224
|
+
partnerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/partners/{partner}'),
|
|
218
225
|
placementPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/placements/{placement}'),
|
|
219
226
|
privateAuctionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/privateAuctions/{private_auction}'),
|
|
220
227
|
privateAuctionDealPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/privateAuctionDeals/{private_auction_deal}'),
|
|
@@ -230,6 +237,7 @@ class CompanyServiceClient {
|
|
|
230
237
|
teamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/teams/{team}'),
|
|
231
238
|
thirdPartyCompanyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/thirdPartyCompanies/{third_party_company}'),
|
|
232
239
|
userPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/users/{user}'),
|
|
240
|
+
viewabilityProviderPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/viewabilityProviders/{viewability_provider}'),
|
|
233
241
|
webPropertyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property}'),
|
|
234
242
|
};
|
|
235
243
|
// Some of the methods on this service return "paged" results,
|
|
@@ -271,7 +279,14 @@ class CompanyServiceClient {
|
|
|
271
279
|
this._protos.google.ads.admanager.v1.CompanyService, this._opts, this._providedCustomServicePath);
|
|
272
280
|
// Iterate over each of the methods that the service provides
|
|
273
281
|
// and create an API call method for each.
|
|
274
|
-
const companyServiceStubMethods = [
|
|
282
|
+
const companyServiceStubMethods = [
|
|
283
|
+
'getCompany',
|
|
284
|
+
'listCompanies',
|
|
285
|
+
'createCompany',
|
|
286
|
+
'batchCreateCompanies',
|
|
287
|
+
'updateCompany',
|
|
288
|
+
'batchUpdateCompanies',
|
|
289
|
+
];
|
|
275
290
|
for (const methodName of companyServiceStubMethods) {
|
|
276
291
|
const callPromise = this.companyServiceStub.then((stub) => (...args) => {
|
|
277
292
|
if (this._terminated) {
|
|
@@ -394,6 +409,178 @@ class CompanyServiceClient {
|
|
|
394
409
|
throw error;
|
|
395
410
|
});
|
|
396
411
|
}
|
|
412
|
+
createCompany(request, optionsOrCallback, callback) {
|
|
413
|
+
request = request || {};
|
|
414
|
+
let options;
|
|
415
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
416
|
+
callback = optionsOrCallback;
|
|
417
|
+
options = {};
|
|
418
|
+
}
|
|
419
|
+
else {
|
|
420
|
+
options = optionsOrCallback;
|
|
421
|
+
}
|
|
422
|
+
options = options || {};
|
|
423
|
+
options.otherArgs = options.otherArgs || {};
|
|
424
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
425
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
426
|
+
this._gaxModule.routingHeader.fromParams({
|
|
427
|
+
parent: request.parent ?? '',
|
|
428
|
+
});
|
|
429
|
+
this.initialize().catch((err) => {
|
|
430
|
+
throw err;
|
|
431
|
+
});
|
|
432
|
+
this._log.info('createCompany request %j', request);
|
|
433
|
+
const wrappedCallback = callback
|
|
434
|
+
? (error, response, options, rawResponse) => {
|
|
435
|
+
this._log.info('createCompany response %j', response);
|
|
436
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
437
|
+
}
|
|
438
|
+
: undefined;
|
|
439
|
+
return this.innerApiCalls
|
|
440
|
+
.createCompany(request, options, wrappedCallback)
|
|
441
|
+
?.then(([response, options, rawResponse]) => {
|
|
442
|
+
this._log.info('createCompany response %j', response);
|
|
443
|
+
return [response, options, rawResponse];
|
|
444
|
+
})
|
|
445
|
+
.catch((error) => {
|
|
446
|
+
if (error &&
|
|
447
|
+
'statusDetails' in error &&
|
|
448
|
+
error.statusDetails instanceof Array) {
|
|
449
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
450
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
451
|
+
}
|
|
452
|
+
throw error;
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
batchCreateCompanies(request, optionsOrCallback, callback) {
|
|
456
|
+
request = request || {};
|
|
457
|
+
let options;
|
|
458
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
459
|
+
callback = optionsOrCallback;
|
|
460
|
+
options = {};
|
|
461
|
+
}
|
|
462
|
+
else {
|
|
463
|
+
options = optionsOrCallback;
|
|
464
|
+
}
|
|
465
|
+
options = options || {};
|
|
466
|
+
options.otherArgs = options.otherArgs || {};
|
|
467
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
468
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
469
|
+
this._gaxModule.routingHeader.fromParams({
|
|
470
|
+
parent: request.parent ?? '',
|
|
471
|
+
});
|
|
472
|
+
this.initialize().catch((err) => {
|
|
473
|
+
throw err;
|
|
474
|
+
});
|
|
475
|
+
this._log.info('batchCreateCompanies request %j', request);
|
|
476
|
+
const wrappedCallback = callback
|
|
477
|
+
? (error, response, options, rawResponse) => {
|
|
478
|
+
this._log.info('batchCreateCompanies response %j', response);
|
|
479
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
480
|
+
}
|
|
481
|
+
: undefined;
|
|
482
|
+
return this.innerApiCalls
|
|
483
|
+
.batchCreateCompanies(request, options, wrappedCallback)
|
|
484
|
+
?.then(([response, options, rawResponse]) => {
|
|
485
|
+
this._log.info('batchCreateCompanies response %j', response);
|
|
486
|
+
return [response, options, rawResponse];
|
|
487
|
+
})
|
|
488
|
+
.catch((error) => {
|
|
489
|
+
if (error &&
|
|
490
|
+
'statusDetails' in error &&
|
|
491
|
+
error.statusDetails instanceof Array) {
|
|
492
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
493
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
494
|
+
}
|
|
495
|
+
throw error;
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
updateCompany(request, optionsOrCallback, callback) {
|
|
499
|
+
request = request || {};
|
|
500
|
+
let options;
|
|
501
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
502
|
+
callback = optionsOrCallback;
|
|
503
|
+
options = {};
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
options = optionsOrCallback;
|
|
507
|
+
}
|
|
508
|
+
options = options || {};
|
|
509
|
+
options.otherArgs = options.otherArgs || {};
|
|
510
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
511
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
512
|
+
this._gaxModule.routingHeader.fromParams({
|
|
513
|
+
'company.name': request.company.name ?? '',
|
|
514
|
+
});
|
|
515
|
+
this.initialize().catch((err) => {
|
|
516
|
+
throw err;
|
|
517
|
+
});
|
|
518
|
+
this._log.info('updateCompany request %j', request);
|
|
519
|
+
const wrappedCallback = callback
|
|
520
|
+
? (error, response, options, rawResponse) => {
|
|
521
|
+
this._log.info('updateCompany response %j', response);
|
|
522
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
523
|
+
}
|
|
524
|
+
: undefined;
|
|
525
|
+
return this.innerApiCalls
|
|
526
|
+
.updateCompany(request, options, wrappedCallback)
|
|
527
|
+
?.then(([response, options, rawResponse]) => {
|
|
528
|
+
this._log.info('updateCompany response %j', response);
|
|
529
|
+
return [response, options, rawResponse];
|
|
530
|
+
})
|
|
531
|
+
.catch((error) => {
|
|
532
|
+
if (error &&
|
|
533
|
+
'statusDetails' in error &&
|
|
534
|
+
error.statusDetails instanceof Array) {
|
|
535
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
536
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
537
|
+
}
|
|
538
|
+
throw error;
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
batchUpdateCompanies(request, optionsOrCallback, callback) {
|
|
542
|
+
request = request || {};
|
|
543
|
+
let options;
|
|
544
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
545
|
+
callback = optionsOrCallback;
|
|
546
|
+
options = {};
|
|
547
|
+
}
|
|
548
|
+
else {
|
|
549
|
+
options = optionsOrCallback;
|
|
550
|
+
}
|
|
551
|
+
options = options || {};
|
|
552
|
+
options.otherArgs = options.otherArgs || {};
|
|
553
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
554
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
555
|
+
this._gaxModule.routingHeader.fromParams({
|
|
556
|
+
parent: request.parent ?? '',
|
|
557
|
+
});
|
|
558
|
+
this.initialize().catch((err) => {
|
|
559
|
+
throw err;
|
|
560
|
+
});
|
|
561
|
+
this._log.info('batchUpdateCompanies request %j', request);
|
|
562
|
+
const wrappedCallback = callback
|
|
563
|
+
? (error, response, options, rawResponse) => {
|
|
564
|
+
this._log.info('batchUpdateCompanies response %j', response);
|
|
565
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
|
566
|
+
}
|
|
567
|
+
: undefined;
|
|
568
|
+
return this.innerApiCalls
|
|
569
|
+
.batchUpdateCompanies(request, options, wrappedCallback)
|
|
570
|
+
?.then(([response, options, rawResponse]) => {
|
|
571
|
+
this._log.info('batchUpdateCompanies response %j', response);
|
|
572
|
+
return [response, options, rawResponse];
|
|
573
|
+
})
|
|
574
|
+
.catch((error) => {
|
|
575
|
+
if (error &&
|
|
576
|
+
'statusDetails' in error &&
|
|
577
|
+
error.statusDetails instanceof Array) {
|
|
578
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
579
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
580
|
+
}
|
|
581
|
+
throw error;
|
|
582
|
+
});
|
|
583
|
+
}
|
|
397
584
|
listCompanies(request, optionsOrCallback, callback) {
|
|
398
585
|
request = request || {};
|
|
399
586
|
let options;
|
|
@@ -433,40 +620,39 @@ class CompanyServiceClient {
|
|
|
433
620
|
* @param {Object} request
|
|
434
621
|
* The request object that will be sent.
|
|
435
622
|
* @param {string} request.parent
|
|
436
|
-
* Required. The parent, which owns this collection of Companies.
|
|
623
|
+
* Required. The parent, which owns this collection of {@link protos.|Companies}.
|
|
437
624
|
* Format: `networks/{network_code}`
|
|
438
625
|
* @param {number} [request.pageSize]
|
|
439
|
-
* Optional. The maximum number of
|
|
440
|
-
* return fewer than this value. If unspecified, at most 50
|
|
626
|
+
* Optional. The maximum number of {@link protos.|Companies} to return. The service may
|
|
627
|
+
* return fewer than this value. If unspecified, at most 50 {@link protos.|Companies} will
|
|
441
628
|
* be returned. The maximum value is 1000; values greater than 1000 will be
|
|
442
629
|
* coerced to 1000.
|
|
443
630
|
* @param {string} [request.pageToken]
|
|
444
|
-
* Optional. A page token, received from a previous
|
|
631
|
+
* Optional. A page token, received from a previous {@link protos.|ListCompanies} call.
|
|
445
632
|
* Provide this to retrieve the subsequent page.
|
|
446
633
|
*
|
|
447
|
-
* When paginating, all other parameters provided to
|
|
634
|
+
* When paginating, all other parameters provided to {@link protos.|ListCompanies} must
|
|
448
635
|
* match the call that provided the page token.
|
|
449
636
|
* @param {string} [request.filter]
|
|
450
637
|
* Optional. Expression to filter the response.
|
|
451
638
|
* See syntax details at
|
|
452
639
|
* https://developers.google.com/ad-manager/api/beta/filters
|
|
453
640
|
*
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
462
|
-
*
|
|
463
|
-
*
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
* </ul>
|
|
641
|
+
* **Filterable fields:**
|
|
642
|
+
*
|
|
643
|
+
* * `address`
|
|
644
|
+
* * `comment`
|
|
645
|
+
* * `companyId`
|
|
646
|
+
* * `creditStatus`
|
|
647
|
+
* * `displayName`
|
|
648
|
+
* * `email`
|
|
649
|
+
* * `externalId`
|
|
650
|
+
* * `fax`
|
|
651
|
+
* * `name`
|
|
652
|
+
* * `phone`
|
|
653
|
+
* * `thirdPartyCompanyId`
|
|
654
|
+
* * `type`
|
|
655
|
+
* * `updateTime`
|
|
470
656
|
* @param {string} [request.orderBy]
|
|
471
657
|
* Optional. Expression to specify sorting order.
|
|
472
658
|
* See syntax details at
|
|
@@ -508,40 +694,39 @@ class CompanyServiceClient {
|
|
|
508
694
|
* @param {Object} request
|
|
509
695
|
* The request object that will be sent.
|
|
510
696
|
* @param {string} request.parent
|
|
511
|
-
* Required. The parent, which owns this collection of Companies.
|
|
697
|
+
* Required. The parent, which owns this collection of {@link protos.|Companies}.
|
|
512
698
|
* Format: `networks/{network_code}`
|
|
513
699
|
* @param {number} [request.pageSize]
|
|
514
|
-
* Optional. The maximum number of
|
|
515
|
-
* return fewer than this value. If unspecified, at most 50
|
|
700
|
+
* Optional. The maximum number of {@link protos.|Companies} to return. The service may
|
|
701
|
+
* return fewer than this value. If unspecified, at most 50 {@link protos.|Companies} will
|
|
516
702
|
* be returned. The maximum value is 1000; values greater than 1000 will be
|
|
517
703
|
* coerced to 1000.
|
|
518
704
|
* @param {string} [request.pageToken]
|
|
519
|
-
* Optional. A page token, received from a previous
|
|
705
|
+
* Optional. A page token, received from a previous {@link protos.|ListCompanies} call.
|
|
520
706
|
* Provide this to retrieve the subsequent page.
|
|
521
707
|
*
|
|
522
|
-
* When paginating, all other parameters provided to
|
|
708
|
+
* When paginating, all other parameters provided to {@link protos.|ListCompanies} must
|
|
523
709
|
* match the call that provided the page token.
|
|
524
710
|
* @param {string} [request.filter]
|
|
525
711
|
* Optional. Expression to filter the response.
|
|
526
712
|
* See syntax details at
|
|
527
713
|
* https://developers.google.com/ad-manager/api/beta/filters
|
|
528
714
|
*
|
|
529
|
-
*
|
|
530
|
-
*
|
|
531
|
-
*
|
|
532
|
-
*
|
|
533
|
-
*
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
*
|
|
537
|
-
*
|
|
538
|
-
*
|
|
539
|
-
*
|
|
540
|
-
*
|
|
541
|
-
*
|
|
542
|
-
*
|
|
543
|
-
*
|
|
544
|
-
* </ul>
|
|
715
|
+
* **Filterable fields:**
|
|
716
|
+
*
|
|
717
|
+
* * `address`
|
|
718
|
+
* * `comment`
|
|
719
|
+
* * `companyId`
|
|
720
|
+
* * `creditStatus`
|
|
721
|
+
* * `displayName`
|
|
722
|
+
* * `email`
|
|
723
|
+
* * `externalId`
|
|
724
|
+
* * `fax`
|
|
725
|
+
* * `name`
|
|
726
|
+
* * `phone`
|
|
727
|
+
* * `thirdPartyCompanyId`
|
|
728
|
+
* * `type`
|
|
729
|
+
* * `updateTime`
|
|
545
730
|
* @param {string} [request.orderBy]
|
|
546
731
|
* Optional. Expression to specify sorting order.
|
|
547
732
|
* See syntax details at
|
|
@@ -1346,6 +1531,39 @@ class CompanyServiceClient {
|
|
|
1346
1531
|
matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
|
|
1347
1532
|
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
|
|
1348
1533
|
}
|
|
1534
|
+
/**
|
|
1535
|
+
* Return a fully-qualified creativeWrapper resource name string.
|
|
1536
|
+
*
|
|
1537
|
+
* @param {string} network_code
|
|
1538
|
+
* @param {string} creative_wrapper
|
|
1539
|
+
* @returns {string} Resource name string.
|
|
1540
|
+
*/
|
|
1541
|
+
creativeWrapperPath(networkCode, creativeWrapper) {
|
|
1542
|
+
return this.pathTemplates.creativeWrapperPathTemplate.render({
|
|
1543
|
+
network_code: networkCode,
|
|
1544
|
+
creative_wrapper: creativeWrapper,
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Parse the network_code from CreativeWrapper resource.
|
|
1549
|
+
*
|
|
1550
|
+
* @param {string} creativeWrapperName
|
|
1551
|
+
* A fully-qualified path representing CreativeWrapper resource.
|
|
1552
|
+
* @returns {string} A string representing the network_code.
|
|
1553
|
+
*/
|
|
1554
|
+
matchNetworkCodeFromCreativeWrapperName(creativeWrapperName) {
|
|
1555
|
+
return this.pathTemplates.creativeWrapperPathTemplate.match(creativeWrapperName).network_code;
|
|
1556
|
+
}
|
|
1557
|
+
/**
|
|
1558
|
+
* Parse the creative_wrapper from CreativeWrapper resource.
|
|
1559
|
+
*
|
|
1560
|
+
* @param {string} creativeWrapperName
|
|
1561
|
+
* A fully-qualified path representing CreativeWrapper resource.
|
|
1562
|
+
* @returns {string} A string representing the creative_wrapper.
|
|
1563
|
+
*/
|
|
1564
|
+
matchCreativeWrapperFromCreativeWrapperName(creativeWrapperName) {
|
|
1565
|
+
return this.pathTemplates.creativeWrapperPathTemplate.match(creativeWrapperName).creative_wrapper;
|
|
1566
|
+
}
|
|
1349
1567
|
/**
|
|
1350
1568
|
* Return a fully-qualified customField resource name string.
|
|
1351
1569
|
*
|
|
@@ -1447,6 +1665,93 @@ class CompanyServiceClient {
|
|
|
1447
1665
|
matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
|
|
1448
1666
|
return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
|
|
1449
1667
|
}
|
|
1668
|
+
/**
|
|
1669
|
+
* Return a fully-qualified daiAuthenticationKey resource name string.
|
|
1670
|
+
*
|
|
1671
|
+
* @param {string} network_code
|
|
1672
|
+
* @param {string} dai_authentication_key
|
|
1673
|
+
* @returns {string} Resource name string.
|
|
1674
|
+
*/
|
|
1675
|
+
daiAuthenticationKeyPath(networkCode, daiAuthenticationKey) {
|
|
1676
|
+
return this.pathTemplates.daiAuthenticationKeyPathTemplate.render({
|
|
1677
|
+
network_code: networkCode,
|
|
1678
|
+
dai_authentication_key: daiAuthenticationKey,
|
|
1679
|
+
});
|
|
1680
|
+
}
|
|
1681
|
+
/**
|
|
1682
|
+
* Parse the network_code from DaiAuthenticationKey resource.
|
|
1683
|
+
*
|
|
1684
|
+
* @param {string} daiAuthenticationKeyName
|
|
1685
|
+
* A fully-qualified path representing DaiAuthenticationKey resource.
|
|
1686
|
+
* @returns {string} A string representing the network_code.
|
|
1687
|
+
*/
|
|
1688
|
+
matchNetworkCodeFromDaiAuthenticationKeyName(daiAuthenticationKeyName) {
|
|
1689
|
+
return this.pathTemplates.daiAuthenticationKeyPathTemplate.match(daiAuthenticationKeyName).network_code;
|
|
1690
|
+
}
|
|
1691
|
+
/**
|
|
1692
|
+
* Parse the dai_authentication_key from DaiAuthenticationKey resource.
|
|
1693
|
+
*
|
|
1694
|
+
* @param {string} daiAuthenticationKeyName
|
|
1695
|
+
* A fully-qualified path representing DaiAuthenticationKey resource.
|
|
1696
|
+
* @returns {string} A string representing the dai_authentication_key.
|
|
1697
|
+
*/
|
|
1698
|
+
matchDaiAuthenticationKeyFromDaiAuthenticationKeyName(daiAuthenticationKeyName) {
|
|
1699
|
+
return this.pathTemplates.daiAuthenticationKeyPathTemplate.match(daiAuthenticationKeyName).dai_authentication_key;
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
* Return a fully-qualified daiEncodingProfile resource name string.
|
|
1703
|
+
*
|
|
1704
|
+
* @param {string} network_code
|
|
1705
|
+
* @param {string} dai_encoding_profile
|
|
1706
|
+
* @returns {string} Resource name string.
|
|
1707
|
+
*/
|
|
1708
|
+
daiEncodingProfilePath(networkCode, daiEncodingProfile) {
|
|
1709
|
+
return this.pathTemplates.daiEncodingProfilePathTemplate.render({
|
|
1710
|
+
network_code: networkCode,
|
|
1711
|
+
dai_encoding_profile: daiEncodingProfile,
|
|
1712
|
+
});
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* Parse the network_code from DaiEncodingProfile resource.
|
|
1716
|
+
*
|
|
1717
|
+
* @param {string} daiEncodingProfileName
|
|
1718
|
+
* A fully-qualified path representing DaiEncodingProfile resource.
|
|
1719
|
+
* @returns {string} A string representing the network_code.
|
|
1720
|
+
*/
|
|
1721
|
+
matchNetworkCodeFromDaiEncodingProfileName(daiEncodingProfileName) {
|
|
1722
|
+
return this.pathTemplates.daiEncodingProfilePathTemplate.match(daiEncodingProfileName).network_code;
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
* Parse the dai_encoding_profile from DaiEncodingProfile resource.
|
|
1726
|
+
*
|
|
1727
|
+
* @param {string} daiEncodingProfileName
|
|
1728
|
+
* A fully-qualified path representing DaiEncodingProfile resource.
|
|
1729
|
+
* @returns {string} A string representing the dai_encoding_profile.
|
|
1730
|
+
*/
|
|
1731
|
+
matchDaiEncodingProfileFromDaiEncodingProfileName(daiEncodingProfileName) {
|
|
1732
|
+
return this.pathTemplates.daiEncodingProfilePathTemplate.match(daiEncodingProfileName).dai_encoding_profile;
|
|
1733
|
+
}
|
|
1734
|
+
/**
|
|
1735
|
+
* Return a fully-qualified defaultThirdPartyDataDeclaration resource name string.
|
|
1736
|
+
*
|
|
1737
|
+
* @param {string} network_code
|
|
1738
|
+
* @returns {string} Resource name string.
|
|
1739
|
+
*/
|
|
1740
|
+
defaultThirdPartyDataDeclarationPath(networkCode) {
|
|
1741
|
+
return this.pathTemplates.defaultThirdPartyDataDeclarationPathTemplate.render({
|
|
1742
|
+
network_code: networkCode,
|
|
1743
|
+
});
|
|
1744
|
+
}
|
|
1745
|
+
/**
|
|
1746
|
+
* Parse the network_code from DefaultThirdPartyDataDeclaration resource.
|
|
1747
|
+
*
|
|
1748
|
+
* @param {string} defaultThirdPartyDataDeclarationName
|
|
1749
|
+
* A fully-qualified path representing DefaultThirdPartyDataDeclaration resource.
|
|
1750
|
+
* @returns {string} A string representing the network_code.
|
|
1751
|
+
*/
|
|
1752
|
+
matchNetworkCodeFromDefaultThirdPartyDataDeclarationName(defaultThirdPartyDataDeclarationName) {
|
|
1753
|
+
return this.pathTemplates.defaultThirdPartyDataDeclarationPathTemplate.match(defaultThirdPartyDataDeclarationName).network_code;
|
|
1754
|
+
}
|
|
1450
1755
|
/**
|
|
1451
1756
|
* Return a fully-qualified deviceCapability resource name string.
|
|
1452
1757
|
*
|
|
@@ -1888,6 +2193,41 @@ class CompanyServiceClient {
|
|
|
1888
2193
|
matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1889
2194
|
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
|
|
1890
2195
|
}
|
|
2196
|
+
/**
|
|
2197
|
+
* Return a fully-qualified nativeStyle resource name string.
|
|
2198
|
+
*
|
|
2199
|
+
* @param {string} network_code
|
|
2200
|
+
* @param {string} native_style
|
|
2201
|
+
* @returns {string} Resource name string.
|
|
2202
|
+
*/
|
|
2203
|
+
nativeStylePath(networkCode, nativeStyle) {
|
|
2204
|
+
return this.pathTemplates.nativeStylePathTemplate.render({
|
|
2205
|
+
network_code: networkCode,
|
|
2206
|
+
native_style: nativeStyle,
|
|
2207
|
+
});
|
|
2208
|
+
}
|
|
2209
|
+
/**
|
|
2210
|
+
* Parse the network_code from NativeStyle resource.
|
|
2211
|
+
*
|
|
2212
|
+
* @param {string} nativeStyleName
|
|
2213
|
+
* A fully-qualified path representing NativeStyle resource.
|
|
2214
|
+
* @returns {string} A string representing the network_code.
|
|
2215
|
+
*/
|
|
2216
|
+
matchNetworkCodeFromNativeStyleName(nativeStyleName) {
|
|
2217
|
+
return this.pathTemplates.nativeStylePathTemplate.match(nativeStyleName)
|
|
2218
|
+
.network_code;
|
|
2219
|
+
}
|
|
2220
|
+
/**
|
|
2221
|
+
* Parse the native_style from NativeStyle resource.
|
|
2222
|
+
*
|
|
2223
|
+
* @param {string} nativeStyleName
|
|
2224
|
+
* A fully-qualified path representing NativeStyle resource.
|
|
2225
|
+
* @returns {string} A string representing the native_style.
|
|
2226
|
+
*/
|
|
2227
|
+
matchNativeStyleFromNativeStyleName(nativeStyleName) {
|
|
2228
|
+
return this.pathTemplates.nativeStylePathTemplate.match(nativeStyleName)
|
|
2229
|
+
.native_style;
|
|
2230
|
+
}
|
|
1891
2231
|
/**
|
|
1892
2232
|
* Return a fully-qualified network resource name string.
|
|
1893
2233
|
*
|
|
@@ -2009,6 +2349,40 @@ class CompanyServiceClient {
|
|
|
2009
2349
|
matchOrderFromOrderName(orderName) {
|
|
2010
2350
|
return this.pathTemplates.orderPathTemplate.match(orderName).order;
|
|
2011
2351
|
}
|
|
2352
|
+
/**
|
|
2353
|
+
* Return a fully-qualified partner resource name string.
|
|
2354
|
+
*
|
|
2355
|
+
* @param {string} network_code
|
|
2356
|
+
* @param {string} partner
|
|
2357
|
+
* @returns {string} Resource name string.
|
|
2358
|
+
*/
|
|
2359
|
+
partnerPath(networkCode, partner) {
|
|
2360
|
+
return this.pathTemplates.partnerPathTemplate.render({
|
|
2361
|
+
network_code: networkCode,
|
|
2362
|
+
partner: partner,
|
|
2363
|
+
});
|
|
2364
|
+
}
|
|
2365
|
+
/**
|
|
2366
|
+
* Parse the network_code from Partner resource.
|
|
2367
|
+
*
|
|
2368
|
+
* @param {string} partnerName
|
|
2369
|
+
* A fully-qualified path representing Partner resource.
|
|
2370
|
+
* @returns {string} A string representing the network_code.
|
|
2371
|
+
*/
|
|
2372
|
+
matchNetworkCodeFromPartnerName(partnerName) {
|
|
2373
|
+
return this.pathTemplates.partnerPathTemplate.match(partnerName)
|
|
2374
|
+
.network_code;
|
|
2375
|
+
}
|
|
2376
|
+
/**
|
|
2377
|
+
* Parse the partner from Partner resource.
|
|
2378
|
+
*
|
|
2379
|
+
* @param {string} partnerName
|
|
2380
|
+
* A fully-qualified path representing Partner resource.
|
|
2381
|
+
* @returns {string} A string representing the partner.
|
|
2382
|
+
*/
|
|
2383
|
+
matchPartnerFromPartnerName(partnerName) {
|
|
2384
|
+
return this.pathTemplates.partnerPathTemplate.match(partnerName).partner;
|
|
2385
|
+
}
|
|
2012
2386
|
/**
|
|
2013
2387
|
* Return a fully-qualified placement resource name string.
|
|
2014
2388
|
*
|
|
@@ -2506,6 +2880,39 @@ class CompanyServiceClient {
|
|
|
2506
2880
|
matchUserFromUserName(userName) {
|
|
2507
2881
|
return this.pathTemplates.userPathTemplate.match(userName).user;
|
|
2508
2882
|
}
|
|
2883
|
+
/**
|
|
2884
|
+
* Return a fully-qualified viewabilityProvider resource name string.
|
|
2885
|
+
*
|
|
2886
|
+
* @param {string} network_code
|
|
2887
|
+
* @param {string} viewability_provider
|
|
2888
|
+
* @returns {string} Resource name string.
|
|
2889
|
+
*/
|
|
2890
|
+
viewabilityProviderPath(networkCode, viewabilityProvider) {
|
|
2891
|
+
return this.pathTemplates.viewabilityProviderPathTemplate.render({
|
|
2892
|
+
network_code: networkCode,
|
|
2893
|
+
viewability_provider: viewabilityProvider,
|
|
2894
|
+
});
|
|
2895
|
+
}
|
|
2896
|
+
/**
|
|
2897
|
+
* Parse the network_code from ViewabilityProvider resource.
|
|
2898
|
+
*
|
|
2899
|
+
* @param {string} viewabilityProviderName
|
|
2900
|
+
* A fully-qualified path representing ViewabilityProvider resource.
|
|
2901
|
+
* @returns {string} A string representing the network_code.
|
|
2902
|
+
*/
|
|
2903
|
+
matchNetworkCodeFromViewabilityProviderName(viewabilityProviderName) {
|
|
2904
|
+
return this.pathTemplates.viewabilityProviderPathTemplate.match(viewabilityProviderName).network_code;
|
|
2905
|
+
}
|
|
2906
|
+
/**
|
|
2907
|
+
* Parse the viewability_provider from ViewabilityProvider resource.
|
|
2908
|
+
*
|
|
2909
|
+
* @param {string} viewabilityProviderName
|
|
2910
|
+
* A fully-qualified path representing ViewabilityProvider resource.
|
|
2911
|
+
* @returns {string} A string representing the viewability_provider.
|
|
2912
|
+
*/
|
|
2913
|
+
matchViewabilityProviderFromViewabilityProviderName(viewabilityProviderName) {
|
|
2914
|
+
return this.pathTemplates.viewabilityProviderPathTemplate.match(viewabilityProviderName).viewability_provider;
|
|
2915
|
+
}
|
|
2509
2916
|
/**
|
|
2510
2917
|
* Return a fully-qualified webProperty resource name string.
|
|
2511
2918
|
*
|