/// <summary>Snippet for GetCampaignBidModifier</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetCampaignBidModifierResourceNames() { // Create client CampaignBidModifierServiceClient campaignBidModifierServiceClient = CampaignBidModifierServiceClient.Create(); // Initialize request argument(s) CampaignBidModifierName resourceName = CampaignBidModifierName.FromCustomerCampaignBidModifier("[CUSTOMER]", "[CAMPAIGN_BID_MODIFIER]"); // Make the request CampaignBidModifier response = campaignBidModifierServiceClient.GetCampaignBidModifier(resourceName); }
/// <summary>Snippet for GetCampaignBidModifierAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetCampaignBidModifierRequestObjectAsync() { // Create client CampaignBidModifierServiceClient campaignBidModifierServiceClient = await CampaignBidModifierServiceClient.CreateAsync(); // Initialize request argument(s) GetCampaignBidModifierRequest request = new GetCampaignBidModifierRequest { ResourceNameAsCampaignBidModifierName = CampaignBidModifierName.FromCustomerCampaignBidModifier("[CUSTOMER]", "[CAMPAIGN_BID_MODIFIER]"), }; // Make the request CampaignBidModifier response = await campaignBidModifierServiceClient.GetCampaignBidModifierAsync(request); }
/// <summary>Snippet for GetCampaignBidModifier</summary> public void GetCampaignBidModifierRequestObject() { // Snippet: GetCampaignBidModifier(GetCampaignBidModifierRequest, CallSettings) // Create client CampaignBidModifierServiceClient campaignBidModifierServiceClient = CampaignBidModifierServiceClient.Create(); // Initialize request argument(s) GetCampaignBidModifierRequest request = new GetCampaignBidModifierRequest { ResourceNameAsCampaignBidModifierName = CampaignBidModifierName.FromCustomerCampaignBidModifier("[CUSTOMER]", "[CAMPAIGN_BID_MODIFIER]"), }; // Make the request CampaignBidModifier response = campaignBidModifierServiceClient.GetCampaignBidModifier(request); // End snippet }
/// <summary>Snippet for GetCampaignBidModifierAsync</summary> public async Task GetCampaignBidModifierResourceNamesAsync() { // Snippet: GetCampaignBidModifierAsync(CampaignBidModifierName, CallSettings) // Additional: GetCampaignBidModifierAsync(CampaignBidModifierName, CancellationToken) // Create client CampaignBidModifierServiceClient campaignBidModifierServiceClient = await CampaignBidModifierServiceClient.CreateAsync(); // Initialize request argument(s) CampaignBidModifierName resourceName = CampaignBidModifierName.FromCustomerCampaignBidModifier("[CUSTOMER]", "[CAMPAIGN_BID_MODIFIER]"); // Make the request CampaignBidModifier response = await campaignBidModifierServiceClient.GetCampaignBidModifierAsync(resourceName); // End snippet }