@google-ads/admanager 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +152 -173
- 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 +237 -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 +6 -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 +1 -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/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/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 +7 -8
- 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 +12478 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +118 -3410
- 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 +30764 -11410
- package/build/protos/protos.js +93644 -43318
- package/build/protos/protos.json +9909 -3734
- package/build/src/index.d.ts +58 -1
- package/build/src/index.js +40 -2
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +441 -0
- package/build/src/v1/ad_break_service_client.js +624 -0
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +49 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +1607 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +2291 -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 +122 -0
- package/build/src/v1/ad_unit_service_client.d.ts +453 -12
- package/build/src/v1/ad_unit_service_client.js +632 -8
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_proto_list.json +49 -1
- package/build/src/v1/application_service_client.d.ts +1345 -0
- package/build/src/v1/application_service_client.js +1993 -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 +122 -0
- package/build/src/v1/audience_segment_service_client.d.ts +1345 -0
- package/build/src/v1/audience_segment_service_client.js +1993 -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 +122 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +447 -6
- package/build/src/v1/bandwidth_group_service_client.js +628 -4
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +49 -1
- package/build/src/v1/browser_language_service_client.d.ts +1345 -0
- package/build/src/v1/browser_language_service_client.js +1993 -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 +122 -0
- package/build/src/v1/browser_service_client.d.ts +1345 -0
- package/build/src/v1/browser_service_client.js +1993 -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 +122 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_key_service_client.js +1993 -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 +122 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_value_service_client.js +1993 -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 +122 -0
- package/build/src/v1/company_service_client.d.ts +447 -6
- package/build/src/v1/company_service_client.js +628 -4
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +49 -1
- package/build/src/v1/contact_service_client.d.ts +1456 -0
- package/build/src/v1/contact_service_client.js +2137 -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 +122 -0
- package/build/src/v1/content_bundle_service_client.d.ts +1345 -0
- package/build/src/v1/content_bundle_service_client.js +1993 -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 +122 -0
- package/build/src/v1/content_label_service_client.d.ts +1345 -0
- package/build/src/v1/content_label_service_client.js +1993 -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 +122 -0
- package/build/src/v1/content_service_client.d.ts +1345 -0
- package/build/src/v1/content_service_client.js +1993 -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 +122 -0
- package/build/src/v1/creative_template_service_client.d.ts +1345 -0
- package/build/src/v1/creative_template_service_client.js +1993 -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 +122 -0
- package/build/src/v1/custom_field_service_client.d.ts +610 -6
- package/build/src/v1/custom_field_service_client.js +845 -5
- 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 +49 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_key_service_client.js +624 -0
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_value_service_client.js +624 -0
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +49 -1
- package/build/src/v1/device_capability_service_client.d.ts +1345 -0
- package/build/src/v1/device_capability_service_client.js +1993 -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 +122 -0
- package/build/src/v1/device_category_service_client.d.ts +444 -3
- package/build/src/v1/device_category_service_client.js +626 -2
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +49 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +1346 -0
- package/build/src/v1/device_manufacturer_service_client.js +1993 -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 +122 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +441 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +624 -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 +49 -1
- package/build/src/v1/gapic_metadata.json +1026 -4
- package/build/src/v1/geo_target_service_client.d.ts +447 -6
- package/build/src/v1/geo_target_service_client.js +628 -4
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +49 -1
- package/build/src/v1/index.d.ts +19 -0
- package/build/src/v1/index.js +39 -1
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/mobile_carrier_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_carrier_service_client.js +1993 -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 +122 -0
- package/build/src/v1/mobile_device_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_device_service_client.js +1993 -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 +122 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +1352 -0
- package/build/src/v1/mobile_device_submodel_service_client.js +1997 -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 +122 -0
- package/build/src/v1/network_service_client.d.ts +441 -0
- package/build/src/v1/network_service_client.js +624 -0
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_service_client.js +626 -2
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_version_service_client.js +626 -2
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +49 -1
- package/build/src/v1/order_service_client.d.ts +447 -6
- package/build/src/v1/order_service_client.js +628 -4
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +49 -1
- package/build/src/v1/placement_service_client.d.ts +638 -6
- package/build/src/v1/placement_service_client.js +937 -61
- 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 +49 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_deal_service_client.js +626 -2
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_service_client.js +626 -2
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +49 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +441 -0
- package/build/src/v1/programmatic_buyer_service_client.js +624 -0
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +49 -1
- package/build/src/v1/report_service_client.d.ts +461 -17
- package/build/src/v1/report_service_client.js +634 -8
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +49 -1
- package/build/src/v1/role_service_client.d.ts +447 -3
- package/build/src/v1/role_service_client.js +628 -2
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +49 -1
- package/build/src/v1/site_service_client.d.ts +1506 -0
- package/build/src/v1/site_service_client.js +2209 -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 +122 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +441 -0
- package/build/src/v1/taxonomy_category_service_client.js +624 -0
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +49 -1
- package/build/src/v1/team_service_client.d.ts +1508 -0
- package/build/src/v1/team_service_client.js +2209 -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 +122 -0
- package/build/src/v1/user_service_client.d.ts +441 -0
- package/build/src/v1/user_service_client.js +624 -0
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +49 -1
- package/package.json +1 -1
|
@@ -168,18 +168,34 @@ class AdUnitServiceClient {
|
|
|
168
168
|
// Create useful helper objects for these.
|
|
169
169
|
this.pathTemplates = {
|
|
170
170
|
adBreakPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}'),
|
|
171
|
+
adReviewCenterAdPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}'),
|
|
171
172
|
adUnitPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adUnits/{ad_unit}'),
|
|
173
|
+
applicationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/applications/{application}'),
|
|
174
|
+
audienceSegmentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/audienceSegments/{audience_segment}'),
|
|
172
175
|
bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
|
|
176
|
+
browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
|
|
177
|
+
browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
|
|
178
|
+
cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
|
|
179
|
+
cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
|
|
173
180
|
companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
|
|
174
181
|
contactPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contacts/{contact}'),
|
|
182
|
+
contentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/content/{content}'),
|
|
183
|
+
contentBundlePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentBundles/{content_bundle}'),
|
|
184
|
+
contentLabelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentLabels/{content_label}'),
|
|
185
|
+
creativeTemplatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeTemplates/{creative_template}'),
|
|
175
186
|
customFieldPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customFields/{custom_field}'),
|
|
176
187
|
customTargetingKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingKeys/{custom_targeting_key}'),
|
|
177
188
|
customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
|
|
189
|
+
deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
|
|
178
190
|
deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
|
|
191
|
+
deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
|
|
179
192
|
entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
|
|
180
193
|
geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
|
|
181
194
|
labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
|
|
182
195
|
liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
|
|
196
|
+
mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
|
|
197
|
+
mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
|
|
198
|
+
mobileDeviceSubmodelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}'),
|
|
183
199
|
networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
|
|
184
200
|
operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
|
|
185
201
|
operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
|
|
@@ -190,9 +206,11 @@ class AdUnitServiceClient {
|
|
|
190
206
|
programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
|
|
191
207
|
reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
|
|
192
208
|
rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
|
|
209
|
+
sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
|
|
193
210
|
taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
|
|
194
211
|
teamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/teams/{team}'),
|
|
195
212
|
userPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/users/{user}'),
|
|
213
|
+
webPropertyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property}'),
|
|
196
214
|
};
|
|
197
215
|
// Some of the methods on this service return "paged" results,
|
|
198
216
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
|
@@ -389,8 +407,8 @@ class AdUnitServiceClient {
|
|
|
389
407
|
* @param {number} [request.pageSize]
|
|
390
408
|
* Optional. The maximum number of AdUnits to return. The service may return
|
|
391
409
|
* fewer than this value. If unspecified, at most 50 ad units will be
|
|
392
|
-
* returned. The maximum value is 1000; values
|
|
393
|
-
* 1000.
|
|
410
|
+
* returned. The maximum value is 1000; values greater than 1000 will be
|
|
411
|
+
* coerced to 1000.
|
|
394
412
|
* @param {string} [request.pageToken]
|
|
395
413
|
* Optional. A page token, received from a previous `ListAdUnits` call.
|
|
396
414
|
* Provide this to retrieve the subsequent page.
|
|
@@ -444,8 +462,8 @@ class AdUnitServiceClient {
|
|
|
444
462
|
* @param {number} [request.pageSize]
|
|
445
463
|
* Optional. The maximum number of AdUnits to return. The service may return
|
|
446
464
|
* fewer than this value. If unspecified, at most 50 ad units will be
|
|
447
|
-
* returned. The maximum value is 1000; values
|
|
448
|
-
* 1000.
|
|
465
|
+
* returned. The maximum value is 1000; values greater than 1000 will be
|
|
466
|
+
* coerced to 1000.
|
|
449
467
|
* @param {string} [request.pageToken]
|
|
450
468
|
* Optional. A page token, received from a previous `ListAdUnits` call.
|
|
451
469
|
* Provide this to retrieve the subsequent page.
|
|
@@ -529,8 +547,8 @@ class AdUnitServiceClient {
|
|
|
529
547
|
* @param {number} [request.pageSize]
|
|
530
548
|
* Optional. The maximum number of AdUnitSizes to return. The service may
|
|
531
549
|
* return fewer than this value. If unspecified, at most 50 ad unit sizes will
|
|
532
|
-
* be returned. The maximum value is 1000; values
|
|
533
|
-
* to 1000.
|
|
550
|
+
* be returned. The maximum value is 1000; values greater than 1000 will be
|
|
551
|
+
* coerced to 1000.
|
|
534
552
|
* @param {string} [request.pageToken]
|
|
535
553
|
* Optional. A page token, received from a previous `ListAdUnitSizes` call.
|
|
536
554
|
* Provide this to retrieve the subsequent page.
|
|
@@ -584,8 +602,8 @@ class AdUnitServiceClient {
|
|
|
584
602
|
* @param {number} [request.pageSize]
|
|
585
603
|
* Optional. The maximum number of AdUnitSizes to return. The service may
|
|
586
604
|
* return fewer than this value. If unspecified, at most 50 ad unit sizes will
|
|
587
|
-
* be returned. The maximum value is 1000; values
|
|
588
|
-
* to 1000.
|
|
605
|
+
* be returned. The maximum value is 1000; values greater than 1000 will be
|
|
606
|
+
* coerced to 1000.
|
|
589
607
|
* @param {string} [request.pageToken]
|
|
590
608
|
* Optional. A page token, received from a previous `ListAdUnitSizes` call.
|
|
591
609
|
* Provide this to retrieve the subsequent page.
|
|
@@ -676,6 +694,51 @@ class AdUnitServiceClient {
|
|
|
676
694
|
matchAdBreakFromAdBreakName(adBreakName) {
|
|
677
695
|
return this.pathTemplates.adBreakPathTemplate.match(adBreakName).ad_break;
|
|
678
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
* Return a fully-qualified adReviewCenterAd resource name string.
|
|
699
|
+
*
|
|
700
|
+
* @param {string} network_code
|
|
701
|
+
* @param {string} web_property_code
|
|
702
|
+
* @param {string} ad_review_center_ad
|
|
703
|
+
* @returns {string} Resource name string.
|
|
704
|
+
*/
|
|
705
|
+
adReviewCenterAdPath(networkCode, webPropertyCode, adReviewCenterAd) {
|
|
706
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.render({
|
|
707
|
+
network_code: networkCode,
|
|
708
|
+
web_property_code: webPropertyCode,
|
|
709
|
+
ad_review_center_ad: adReviewCenterAd,
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* Parse the network_code from AdReviewCenterAd resource.
|
|
714
|
+
*
|
|
715
|
+
* @param {string} adReviewCenterAdName
|
|
716
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
717
|
+
* @returns {string} A string representing the network_code.
|
|
718
|
+
*/
|
|
719
|
+
matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
720
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).network_code;
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Parse the web_property_code from AdReviewCenterAd resource.
|
|
724
|
+
*
|
|
725
|
+
* @param {string} adReviewCenterAdName
|
|
726
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
727
|
+
* @returns {string} A string representing the web_property_code.
|
|
728
|
+
*/
|
|
729
|
+
matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
730
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).web_property_code;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* Parse the ad_review_center_ad from AdReviewCenterAd resource.
|
|
734
|
+
*
|
|
735
|
+
* @param {string} adReviewCenterAdName
|
|
736
|
+
* A fully-qualified path representing AdReviewCenterAd resource.
|
|
737
|
+
* @returns {string} A string representing the ad_review_center_ad.
|
|
738
|
+
*/
|
|
739
|
+
matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName) {
|
|
740
|
+
return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).ad_review_center_ad;
|
|
741
|
+
}
|
|
679
742
|
/**
|
|
680
743
|
* Return a fully-qualified adUnit resource name string.
|
|
681
744
|
*
|
|
@@ -709,6 +772,72 @@ class AdUnitServiceClient {
|
|
|
709
772
|
matchAdUnitFromAdUnitName(adUnitName) {
|
|
710
773
|
return this.pathTemplates.adUnitPathTemplate.match(adUnitName).ad_unit;
|
|
711
774
|
}
|
|
775
|
+
/**
|
|
776
|
+
* Return a fully-qualified application resource name string.
|
|
777
|
+
*
|
|
778
|
+
* @param {string} network_code
|
|
779
|
+
* @param {string} application
|
|
780
|
+
* @returns {string} Resource name string.
|
|
781
|
+
*/
|
|
782
|
+
applicationPath(networkCode, application) {
|
|
783
|
+
return this.pathTemplates.applicationPathTemplate.render({
|
|
784
|
+
network_code: networkCode,
|
|
785
|
+
application: application,
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* Parse the network_code from Application resource.
|
|
790
|
+
*
|
|
791
|
+
* @param {string} applicationName
|
|
792
|
+
* A fully-qualified path representing Application resource.
|
|
793
|
+
* @returns {string} A string representing the network_code.
|
|
794
|
+
*/
|
|
795
|
+
matchNetworkCodeFromApplicationName(applicationName) {
|
|
796
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* Parse the application from Application resource.
|
|
800
|
+
*
|
|
801
|
+
* @param {string} applicationName
|
|
802
|
+
* A fully-qualified path representing Application resource.
|
|
803
|
+
* @returns {string} A string representing the application.
|
|
804
|
+
*/
|
|
805
|
+
matchApplicationFromApplicationName(applicationName) {
|
|
806
|
+
return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Return a fully-qualified audienceSegment resource name string.
|
|
810
|
+
*
|
|
811
|
+
* @param {string} network_code
|
|
812
|
+
* @param {string} audience_segment
|
|
813
|
+
* @returns {string} Resource name string.
|
|
814
|
+
*/
|
|
815
|
+
audienceSegmentPath(networkCode, audienceSegment) {
|
|
816
|
+
return this.pathTemplates.audienceSegmentPathTemplate.render({
|
|
817
|
+
network_code: networkCode,
|
|
818
|
+
audience_segment: audienceSegment,
|
|
819
|
+
});
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* Parse the network_code from AudienceSegment resource.
|
|
823
|
+
*
|
|
824
|
+
* @param {string} audienceSegmentName
|
|
825
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
826
|
+
* @returns {string} A string representing the network_code.
|
|
827
|
+
*/
|
|
828
|
+
matchNetworkCodeFromAudienceSegmentName(audienceSegmentName) {
|
|
829
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).network_code;
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* Parse the audience_segment from AudienceSegment resource.
|
|
833
|
+
*
|
|
834
|
+
* @param {string} audienceSegmentName
|
|
835
|
+
* A fully-qualified path representing AudienceSegment resource.
|
|
836
|
+
* @returns {string} A string representing the audience_segment.
|
|
837
|
+
*/
|
|
838
|
+
matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName) {
|
|
839
|
+
return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).audience_segment;
|
|
840
|
+
}
|
|
712
841
|
/**
|
|
713
842
|
* Return a fully-qualified bandwidthGroup resource name string.
|
|
714
843
|
*
|
|
@@ -742,6 +871,138 @@ class AdUnitServiceClient {
|
|
|
742
871
|
matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName) {
|
|
743
872
|
return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).bandwidth_group;
|
|
744
873
|
}
|
|
874
|
+
/**
|
|
875
|
+
* Return a fully-qualified browser resource name string.
|
|
876
|
+
*
|
|
877
|
+
* @param {string} network_code
|
|
878
|
+
* @param {string} browser
|
|
879
|
+
* @returns {string} Resource name string.
|
|
880
|
+
*/
|
|
881
|
+
browserPath(networkCode, browser) {
|
|
882
|
+
return this.pathTemplates.browserPathTemplate.render({
|
|
883
|
+
network_code: networkCode,
|
|
884
|
+
browser: browser,
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
* Parse the network_code from Browser resource.
|
|
889
|
+
*
|
|
890
|
+
* @param {string} browserName
|
|
891
|
+
* A fully-qualified path representing Browser resource.
|
|
892
|
+
* @returns {string} A string representing the network_code.
|
|
893
|
+
*/
|
|
894
|
+
matchNetworkCodeFromBrowserName(browserName) {
|
|
895
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* Parse the browser from Browser resource.
|
|
899
|
+
*
|
|
900
|
+
* @param {string} browserName
|
|
901
|
+
* A fully-qualified path representing Browser resource.
|
|
902
|
+
* @returns {string} A string representing the browser.
|
|
903
|
+
*/
|
|
904
|
+
matchBrowserFromBrowserName(browserName) {
|
|
905
|
+
return this.pathTemplates.browserPathTemplate.match(browserName).browser;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Return a fully-qualified browserLanguage resource name string.
|
|
909
|
+
*
|
|
910
|
+
* @param {string} network_code
|
|
911
|
+
* @param {string} browser_language
|
|
912
|
+
* @returns {string} Resource name string.
|
|
913
|
+
*/
|
|
914
|
+
browserLanguagePath(networkCode, browserLanguage) {
|
|
915
|
+
return this.pathTemplates.browserLanguagePathTemplate.render({
|
|
916
|
+
network_code: networkCode,
|
|
917
|
+
browser_language: browserLanguage,
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Parse the network_code from BrowserLanguage resource.
|
|
922
|
+
*
|
|
923
|
+
* @param {string} browserLanguageName
|
|
924
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
925
|
+
* @returns {string} A string representing the network_code.
|
|
926
|
+
*/
|
|
927
|
+
matchNetworkCodeFromBrowserLanguageName(browserLanguageName) {
|
|
928
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).network_code;
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* Parse the browser_language from BrowserLanguage resource.
|
|
932
|
+
*
|
|
933
|
+
* @param {string} browserLanguageName
|
|
934
|
+
* A fully-qualified path representing BrowserLanguage resource.
|
|
935
|
+
* @returns {string} A string representing the browser_language.
|
|
936
|
+
*/
|
|
937
|
+
matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
|
|
938
|
+
return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* Return a fully-qualified cmsMetadataKey resource name string.
|
|
942
|
+
*
|
|
943
|
+
* @param {string} network_code
|
|
944
|
+
* @param {string} cms_metadata_key
|
|
945
|
+
* @returns {string} Resource name string.
|
|
946
|
+
*/
|
|
947
|
+
cmsMetadataKeyPath(networkCode, cmsMetadataKey) {
|
|
948
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.render({
|
|
949
|
+
network_code: networkCode,
|
|
950
|
+
cms_metadata_key: cmsMetadataKey,
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* Parse the network_code from CmsMetadataKey resource.
|
|
955
|
+
*
|
|
956
|
+
* @param {string} cmsMetadataKeyName
|
|
957
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
958
|
+
* @returns {string} A string representing the network_code.
|
|
959
|
+
*/
|
|
960
|
+
matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
961
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).network_code;
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
* Parse the cms_metadata_key from CmsMetadataKey resource.
|
|
965
|
+
*
|
|
966
|
+
* @param {string} cmsMetadataKeyName
|
|
967
|
+
* A fully-qualified path representing CmsMetadataKey resource.
|
|
968
|
+
* @returns {string} A string representing the cms_metadata_key.
|
|
969
|
+
*/
|
|
970
|
+
matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName) {
|
|
971
|
+
return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).cms_metadata_key;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Return a fully-qualified cmsMetadataValue resource name string.
|
|
975
|
+
*
|
|
976
|
+
* @param {string} network_code
|
|
977
|
+
* @param {string} cms_metadata_value
|
|
978
|
+
* @returns {string} Resource name string.
|
|
979
|
+
*/
|
|
980
|
+
cmsMetadataValuePath(networkCode, cmsMetadataValue) {
|
|
981
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.render({
|
|
982
|
+
network_code: networkCode,
|
|
983
|
+
cms_metadata_value: cmsMetadataValue,
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Parse the network_code from CmsMetadataValue resource.
|
|
988
|
+
*
|
|
989
|
+
* @param {string} cmsMetadataValueName
|
|
990
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
991
|
+
* @returns {string} A string representing the network_code.
|
|
992
|
+
*/
|
|
993
|
+
matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
994
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).network_code;
|
|
995
|
+
}
|
|
996
|
+
/**
|
|
997
|
+
* Parse the cms_metadata_value from CmsMetadataValue resource.
|
|
998
|
+
*
|
|
999
|
+
* @param {string} cmsMetadataValueName
|
|
1000
|
+
* A fully-qualified path representing CmsMetadataValue resource.
|
|
1001
|
+
* @returns {string} A string representing the cms_metadata_value.
|
|
1002
|
+
*/
|
|
1003
|
+
matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName) {
|
|
1004
|
+
return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).cms_metadata_value;
|
|
1005
|
+
}
|
|
745
1006
|
/**
|
|
746
1007
|
* Return a fully-qualified company resource name string.
|
|
747
1008
|
*
|
|
@@ -808,6 +1069,138 @@ class AdUnitServiceClient {
|
|
|
808
1069
|
matchContactFromContactName(contactName) {
|
|
809
1070
|
return this.pathTemplates.contactPathTemplate.match(contactName).contact;
|
|
810
1071
|
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Return a fully-qualified content resource name string.
|
|
1074
|
+
*
|
|
1075
|
+
* @param {string} network_code
|
|
1076
|
+
* @param {string} content
|
|
1077
|
+
* @returns {string} Resource name string.
|
|
1078
|
+
*/
|
|
1079
|
+
contentPath(networkCode, content) {
|
|
1080
|
+
return this.pathTemplates.contentPathTemplate.render({
|
|
1081
|
+
network_code: networkCode,
|
|
1082
|
+
content: content,
|
|
1083
|
+
});
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* Parse the network_code from Content resource.
|
|
1087
|
+
*
|
|
1088
|
+
* @param {string} contentName
|
|
1089
|
+
* A fully-qualified path representing Content resource.
|
|
1090
|
+
* @returns {string} A string representing the network_code.
|
|
1091
|
+
*/
|
|
1092
|
+
matchNetworkCodeFromContentName(contentName) {
|
|
1093
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Parse the content from Content resource.
|
|
1097
|
+
*
|
|
1098
|
+
* @param {string} contentName
|
|
1099
|
+
* A fully-qualified path representing Content resource.
|
|
1100
|
+
* @returns {string} A string representing the content.
|
|
1101
|
+
*/
|
|
1102
|
+
matchContentFromContentName(contentName) {
|
|
1103
|
+
return this.pathTemplates.contentPathTemplate.match(contentName).content;
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Return a fully-qualified contentBundle resource name string.
|
|
1107
|
+
*
|
|
1108
|
+
* @param {string} network_code
|
|
1109
|
+
* @param {string} content_bundle
|
|
1110
|
+
* @returns {string} Resource name string.
|
|
1111
|
+
*/
|
|
1112
|
+
contentBundlePath(networkCode, contentBundle) {
|
|
1113
|
+
return this.pathTemplates.contentBundlePathTemplate.render({
|
|
1114
|
+
network_code: networkCode,
|
|
1115
|
+
content_bundle: contentBundle,
|
|
1116
|
+
});
|
|
1117
|
+
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Parse the network_code from ContentBundle resource.
|
|
1120
|
+
*
|
|
1121
|
+
* @param {string} contentBundleName
|
|
1122
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
1123
|
+
* @returns {string} A string representing the network_code.
|
|
1124
|
+
*/
|
|
1125
|
+
matchNetworkCodeFromContentBundleName(contentBundleName) {
|
|
1126
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Parse the content_bundle from ContentBundle resource.
|
|
1130
|
+
*
|
|
1131
|
+
* @param {string} contentBundleName
|
|
1132
|
+
* A fully-qualified path representing ContentBundle resource.
|
|
1133
|
+
* @returns {string} A string representing the content_bundle.
|
|
1134
|
+
*/
|
|
1135
|
+
matchContentBundleFromContentBundleName(contentBundleName) {
|
|
1136
|
+
return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* Return a fully-qualified contentLabel resource name string.
|
|
1140
|
+
*
|
|
1141
|
+
* @param {string} network_code
|
|
1142
|
+
* @param {string} content_label
|
|
1143
|
+
* @returns {string} Resource name string.
|
|
1144
|
+
*/
|
|
1145
|
+
contentLabelPath(networkCode, contentLabel) {
|
|
1146
|
+
return this.pathTemplates.contentLabelPathTemplate.render({
|
|
1147
|
+
network_code: networkCode,
|
|
1148
|
+
content_label: contentLabel,
|
|
1149
|
+
});
|
|
1150
|
+
}
|
|
1151
|
+
/**
|
|
1152
|
+
* Parse the network_code from ContentLabel resource.
|
|
1153
|
+
*
|
|
1154
|
+
* @param {string} contentLabelName
|
|
1155
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
1156
|
+
* @returns {string} A string representing the network_code.
|
|
1157
|
+
*/
|
|
1158
|
+
matchNetworkCodeFromContentLabelName(contentLabelName) {
|
|
1159
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* Parse the content_label from ContentLabel resource.
|
|
1163
|
+
*
|
|
1164
|
+
* @param {string} contentLabelName
|
|
1165
|
+
* A fully-qualified path representing ContentLabel resource.
|
|
1166
|
+
* @returns {string} A string representing the content_label.
|
|
1167
|
+
*/
|
|
1168
|
+
matchContentLabelFromContentLabelName(contentLabelName) {
|
|
1169
|
+
return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Return a fully-qualified creativeTemplate resource name string.
|
|
1173
|
+
*
|
|
1174
|
+
* @param {string} network_code
|
|
1175
|
+
* @param {string} creative_template
|
|
1176
|
+
* @returns {string} Resource name string.
|
|
1177
|
+
*/
|
|
1178
|
+
creativeTemplatePath(networkCode, creativeTemplate) {
|
|
1179
|
+
return this.pathTemplates.creativeTemplatePathTemplate.render({
|
|
1180
|
+
network_code: networkCode,
|
|
1181
|
+
creative_template: creativeTemplate,
|
|
1182
|
+
});
|
|
1183
|
+
}
|
|
1184
|
+
/**
|
|
1185
|
+
* Parse the network_code from CreativeTemplate resource.
|
|
1186
|
+
*
|
|
1187
|
+
* @param {string} creativeTemplateName
|
|
1188
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
1189
|
+
* @returns {string} A string representing the network_code.
|
|
1190
|
+
*/
|
|
1191
|
+
matchNetworkCodeFromCreativeTemplateName(creativeTemplateName) {
|
|
1192
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).network_code;
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* Parse the creative_template from CreativeTemplate resource.
|
|
1196
|
+
*
|
|
1197
|
+
* @param {string} creativeTemplateName
|
|
1198
|
+
* A fully-qualified path representing CreativeTemplate resource.
|
|
1199
|
+
* @returns {string} A string representing the creative_template.
|
|
1200
|
+
*/
|
|
1201
|
+
matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
|
|
1202
|
+
return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
|
|
1203
|
+
}
|
|
811
1204
|
/**
|
|
812
1205
|
* Return a fully-qualified customField resource name string.
|
|
813
1206
|
*
|
|
@@ -907,6 +1300,39 @@ class AdUnitServiceClient {
|
|
|
907
1300
|
matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
|
|
908
1301
|
return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
|
|
909
1302
|
}
|
|
1303
|
+
/**
|
|
1304
|
+
* Return a fully-qualified deviceCapability resource name string.
|
|
1305
|
+
*
|
|
1306
|
+
* @param {string} network_code
|
|
1307
|
+
* @param {string} device_capability
|
|
1308
|
+
* @returns {string} Resource name string.
|
|
1309
|
+
*/
|
|
1310
|
+
deviceCapabilityPath(networkCode, deviceCapability) {
|
|
1311
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.render({
|
|
1312
|
+
network_code: networkCode,
|
|
1313
|
+
device_capability: deviceCapability,
|
|
1314
|
+
});
|
|
1315
|
+
}
|
|
1316
|
+
/**
|
|
1317
|
+
* Parse the network_code from DeviceCapability resource.
|
|
1318
|
+
*
|
|
1319
|
+
* @param {string} deviceCapabilityName
|
|
1320
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1321
|
+
* @returns {string} A string representing the network_code.
|
|
1322
|
+
*/
|
|
1323
|
+
matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1324
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).network_code;
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* Parse the device_capability from DeviceCapability resource.
|
|
1328
|
+
*
|
|
1329
|
+
* @param {string} deviceCapabilityName
|
|
1330
|
+
* A fully-qualified path representing DeviceCapability resource.
|
|
1331
|
+
* @returns {string} A string representing the device_capability.
|
|
1332
|
+
*/
|
|
1333
|
+
matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName) {
|
|
1334
|
+
return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).device_capability;
|
|
1335
|
+
}
|
|
910
1336
|
/**
|
|
911
1337
|
* Return a fully-qualified deviceCategory resource name string.
|
|
912
1338
|
*
|
|
@@ -940,6 +1366,39 @@ class AdUnitServiceClient {
|
|
|
940
1366
|
matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName) {
|
|
941
1367
|
return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).device_category;
|
|
942
1368
|
}
|
|
1369
|
+
/**
|
|
1370
|
+
* Return a fully-qualified deviceManufacturer resource name string.
|
|
1371
|
+
*
|
|
1372
|
+
* @param {string} network_code
|
|
1373
|
+
* @param {string} device_manufacturer
|
|
1374
|
+
* @returns {string} Resource name string.
|
|
1375
|
+
*/
|
|
1376
|
+
deviceManufacturerPath(networkCode, deviceManufacturer) {
|
|
1377
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.render({
|
|
1378
|
+
network_code: networkCode,
|
|
1379
|
+
device_manufacturer: deviceManufacturer,
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1382
|
+
/**
|
|
1383
|
+
* Parse the network_code from DeviceManufacturer resource.
|
|
1384
|
+
*
|
|
1385
|
+
* @param {string} deviceManufacturerName
|
|
1386
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1387
|
+
* @returns {string} A string representing the network_code.
|
|
1388
|
+
*/
|
|
1389
|
+
matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1390
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).network_code;
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* Parse the device_manufacturer from DeviceManufacturer resource.
|
|
1394
|
+
*
|
|
1395
|
+
* @param {string} deviceManufacturerName
|
|
1396
|
+
* A fully-qualified path representing DeviceManufacturer resource.
|
|
1397
|
+
* @returns {string} A string representing the device_manufacturer.
|
|
1398
|
+
*/
|
|
1399
|
+
matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName) {
|
|
1400
|
+
return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).device_manufacturer;
|
|
1401
|
+
}
|
|
943
1402
|
/**
|
|
944
1403
|
* Return a fully-qualified entitySignalsMapping resource name string.
|
|
945
1404
|
*
|
|
@@ -1072,6 +1531,105 @@ class AdUnitServiceClient {
|
|
|
1072
1531
|
matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName) {
|
|
1073
1532
|
return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).live_stream_event;
|
|
1074
1533
|
}
|
|
1534
|
+
/**
|
|
1535
|
+
* Return a fully-qualified mobileCarrier resource name string.
|
|
1536
|
+
*
|
|
1537
|
+
* @param {string} network_code
|
|
1538
|
+
* @param {string} mobile_carrier
|
|
1539
|
+
* @returns {string} Resource name string.
|
|
1540
|
+
*/
|
|
1541
|
+
mobileCarrierPath(networkCode, mobileCarrier) {
|
|
1542
|
+
return this.pathTemplates.mobileCarrierPathTemplate.render({
|
|
1543
|
+
network_code: networkCode,
|
|
1544
|
+
mobile_carrier: mobileCarrier,
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Parse the network_code from MobileCarrier resource.
|
|
1549
|
+
*
|
|
1550
|
+
* @param {string} mobileCarrierName
|
|
1551
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1552
|
+
* @returns {string} A string representing the network_code.
|
|
1553
|
+
*/
|
|
1554
|
+
matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
|
|
1555
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
|
|
1556
|
+
}
|
|
1557
|
+
/**
|
|
1558
|
+
* Parse the mobile_carrier from MobileCarrier resource.
|
|
1559
|
+
*
|
|
1560
|
+
* @param {string} mobileCarrierName
|
|
1561
|
+
* A fully-qualified path representing MobileCarrier resource.
|
|
1562
|
+
* @returns {string} A string representing the mobile_carrier.
|
|
1563
|
+
*/
|
|
1564
|
+
matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
|
|
1565
|
+
return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
|
|
1566
|
+
}
|
|
1567
|
+
/**
|
|
1568
|
+
* Return a fully-qualified mobileDevice resource name string.
|
|
1569
|
+
*
|
|
1570
|
+
* @param {string} network_code
|
|
1571
|
+
* @param {string} mobile_device
|
|
1572
|
+
* @returns {string} Resource name string.
|
|
1573
|
+
*/
|
|
1574
|
+
mobileDevicePath(networkCode, mobileDevice) {
|
|
1575
|
+
return this.pathTemplates.mobileDevicePathTemplate.render({
|
|
1576
|
+
network_code: networkCode,
|
|
1577
|
+
mobile_device: mobileDevice,
|
|
1578
|
+
});
|
|
1579
|
+
}
|
|
1580
|
+
/**
|
|
1581
|
+
* Parse the network_code from MobileDevice resource.
|
|
1582
|
+
*
|
|
1583
|
+
* @param {string} mobileDeviceName
|
|
1584
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1585
|
+
* @returns {string} A string representing the network_code.
|
|
1586
|
+
*/
|
|
1587
|
+
matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
|
|
1588
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
|
|
1589
|
+
}
|
|
1590
|
+
/**
|
|
1591
|
+
* Parse the mobile_device from MobileDevice resource.
|
|
1592
|
+
*
|
|
1593
|
+
* @param {string} mobileDeviceName
|
|
1594
|
+
* A fully-qualified path representing MobileDevice resource.
|
|
1595
|
+
* @returns {string} A string representing the mobile_device.
|
|
1596
|
+
*/
|
|
1597
|
+
matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
|
|
1598
|
+
return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
|
|
1599
|
+
}
|
|
1600
|
+
/**
|
|
1601
|
+
* Return a fully-qualified mobileDeviceSubmodel resource name string.
|
|
1602
|
+
*
|
|
1603
|
+
* @param {string} network_code
|
|
1604
|
+
* @param {string} mobile_device_submodel
|
|
1605
|
+
* @returns {string} Resource name string.
|
|
1606
|
+
*/
|
|
1607
|
+
mobileDeviceSubmodelPath(networkCode, mobileDeviceSubmodel) {
|
|
1608
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.render({
|
|
1609
|
+
network_code: networkCode,
|
|
1610
|
+
mobile_device_submodel: mobileDeviceSubmodel,
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
/**
|
|
1614
|
+
* Parse the network_code from MobileDeviceSubmodel resource.
|
|
1615
|
+
*
|
|
1616
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1617
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1618
|
+
* @returns {string} A string representing the network_code.
|
|
1619
|
+
*/
|
|
1620
|
+
matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1621
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).network_code;
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
* Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
|
|
1625
|
+
*
|
|
1626
|
+
* @param {string} mobileDeviceSubmodelName
|
|
1627
|
+
* A fully-qualified path representing MobileDeviceSubmodel resource.
|
|
1628
|
+
* @returns {string} A string representing the mobile_device_submodel.
|
|
1629
|
+
*/
|
|
1630
|
+
matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
|
|
1631
|
+
return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
|
|
1632
|
+
}
|
|
1075
1633
|
/**
|
|
1076
1634
|
* Return a fully-qualified network resource name string.
|
|
1077
1635
|
*
|
|
@@ -1390,6 +1948,39 @@ class AdUnitServiceClient {
|
|
|
1390
1948
|
matchRoleFromRoleName(roleName) {
|
|
1391
1949
|
return this.pathTemplates.rolePathTemplate.match(roleName).role;
|
|
1392
1950
|
}
|
|
1951
|
+
/**
|
|
1952
|
+
* Return a fully-qualified site resource name string.
|
|
1953
|
+
*
|
|
1954
|
+
* @param {string} network_code
|
|
1955
|
+
* @param {string} site
|
|
1956
|
+
* @returns {string} Resource name string.
|
|
1957
|
+
*/
|
|
1958
|
+
sitePath(networkCode, site) {
|
|
1959
|
+
return this.pathTemplates.sitePathTemplate.render({
|
|
1960
|
+
network_code: networkCode,
|
|
1961
|
+
site: site,
|
|
1962
|
+
});
|
|
1963
|
+
}
|
|
1964
|
+
/**
|
|
1965
|
+
* Parse the network_code from Site resource.
|
|
1966
|
+
*
|
|
1967
|
+
* @param {string} siteName
|
|
1968
|
+
* A fully-qualified path representing Site resource.
|
|
1969
|
+
* @returns {string} A string representing the network_code.
|
|
1970
|
+
*/
|
|
1971
|
+
matchNetworkCodeFromSiteName(siteName) {
|
|
1972
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).network_code;
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* Parse the site from Site resource.
|
|
1976
|
+
*
|
|
1977
|
+
* @param {string} siteName
|
|
1978
|
+
* A fully-qualified path representing Site resource.
|
|
1979
|
+
* @returns {string} A string representing the site.
|
|
1980
|
+
*/
|
|
1981
|
+
matchSiteFromSiteName(siteName) {
|
|
1982
|
+
return this.pathTemplates.sitePathTemplate.match(siteName).site;
|
|
1983
|
+
}
|
|
1393
1984
|
/**
|
|
1394
1985
|
* Return a fully-qualified taxonomyCategory resource name string.
|
|
1395
1986
|
*
|
|
@@ -1489,6 +2080,39 @@ class AdUnitServiceClient {
|
|
|
1489
2080
|
matchUserFromUserName(userName) {
|
|
1490
2081
|
return this.pathTemplates.userPathTemplate.match(userName).user;
|
|
1491
2082
|
}
|
|
2083
|
+
/**
|
|
2084
|
+
* Return a fully-qualified webProperty resource name string.
|
|
2085
|
+
*
|
|
2086
|
+
* @param {string} network_code
|
|
2087
|
+
* @param {string} web_property
|
|
2088
|
+
* @returns {string} Resource name string.
|
|
2089
|
+
*/
|
|
2090
|
+
webPropertyPath(networkCode, webProperty) {
|
|
2091
|
+
return this.pathTemplates.webPropertyPathTemplate.render({
|
|
2092
|
+
network_code: networkCode,
|
|
2093
|
+
web_property: webProperty,
|
|
2094
|
+
});
|
|
2095
|
+
}
|
|
2096
|
+
/**
|
|
2097
|
+
* Parse the network_code from WebProperty resource.
|
|
2098
|
+
*
|
|
2099
|
+
* @param {string} webPropertyName
|
|
2100
|
+
* A fully-qualified path representing WebProperty resource.
|
|
2101
|
+
* @returns {string} A string representing the network_code.
|
|
2102
|
+
*/
|
|
2103
|
+
matchNetworkCodeFromWebPropertyName(webPropertyName) {
|
|
2104
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
|
|
2105
|
+
}
|
|
2106
|
+
/**
|
|
2107
|
+
* Parse the web_property from WebProperty resource.
|
|
2108
|
+
*
|
|
2109
|
+
* @param {string} webPropertyName
|
|
2110
|
+
* A fully-qualified path representing WebProperty resource.
|
|
2111
|
+
* @returns {string} A string representing the web_property.
|
|
2112
|
+
*/
|
|
2113
|
+
matchWebPropertyFromWebPropertyName(webPropertyName) {
|
|
2114
|
+
return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
|
|
2115
|
+
}
|
|
1492
2116
|
/**
|
|
1493
2117
|
* Terminate the gRPC channel and close the client.
|
|
1494
2118
|
*
|