/// <summary>Snippet for GetAdGroupBidModifier</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetAdGroupBidModifierResourceNames() { // Create client AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create(); // Initialize request argument(s) AdGroupBidModifierName resourceName = AdGroupBidModifierName.FromCustomerAdGroupBidModifier("[CUSTOMER]", "[AD_GROUP_BID_MODIFIER]"); // Make the request AdGroupBidModifier response = adGroupBidModifierServiceClient.GetAdGroupBidModifier(resourceName); }
/// <summary>Snippet for GetAdGroupBidModifierAsync</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 GetAdGroupBidModifierRequestObjectAsync() { // Create client AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync(); // Initialize request argument(s) GetAdGroupBidModifierRequest request = new GetAdGroupBidModifierRequest { ResourceNameAsAdGroupBidModifierName = AdGroupBidModifierName.FromCustomerAdGroupBidModifier("[CUSTOMER]", "[AD_GROUP_BID_MODIFIER]"), }; // Make the request AdGroupBidModifier response = await adGroupBidModifierServiceClient.GetAdGroupBidModifierAsync(request); }
/// <summary>Snippet for GetAdGroupBidModifier</summary> public void GetAdGroupBidModifierRequestObject() { // Snippet: GetAdGroupBidModifier(GetAdGroupBidModifierRequest, CallSettings) // Create client AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create(); // Initialize request argument(s) GetAdGroupBidModifierRequest request = new GetAdGroupBidModifierRequest { ResourceNameAsAdGroupBidModifierName = AdGroupBidModifierName.FromCustomerAdGroupBidModifier("[CUSTOMER]", "[AD_GROUP_BID_MODIFIER]"), }; // Make the request AdGroupBidModifier response = adGroupBidModifierServiceClient.GetAdGroupBidModifier(request); // End snippet }
/// <summary>Snippet for GetAdGroupBidModifierAsync</summary> public async Task GetAdGroupBidModifierResourceNamesAsync() { // Snippet: GetAdGroupBidModifierAsync(AdGroupBidModifierName, CallSettings) // Additional: GetAdGroupBidModifierAsync(AdGroupBidModifierName, CancellationToken) // Create client AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync(); // Initialize request argument(s) AdGroupBidModifierName resourceName = AdGroupBidModifierName.FromCustomerAdGroupBidModifier("[CUSTOMER]", "[AD_GROUP_BID_MODIFIER]"); // Make the request AdGroupBidModifier response = await adGroupBidModifierServiceClient.GetAdGroupBidModifierAsync(resourceName); // End snippet }