Example #1
0
 /// <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 GetAdGroupBidModifier()
 {
     // Create client
     AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/adGroupBidModifiers/[AD_GROUP_BID_MODIFIER]";
     // Make the request
     AdGroupBidModifier response = adGroupBidModifierServiceClient.GetAdGroupBidModifier(resourceName);
 }
 /// <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.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]");
     // Make the request
     AdGroupBidModifier response = adGroupBidModifierServiceClient.GetAdGroupBidModifier(resourceName);
 }
Example #3
0
 /// <summary>Snippet for GetAdGroupBidModifier</summary>
 public void GetAdGroupBidModifier()
 {
     // Snippet: GetAdGroupBidModifier(string, CallSettings)
     // Create client
     AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/adGroupBidModifiers/[AD_GROUP_ID]~[CRITERION_ID]";
     // Make the request
     AdGroupBidModifier response = adGroupBidModifierServiceClient.GetAdGroupBidModifier(resourceName);
     // End snippet
 }
Example #4
0
 /// <summary>Snippet for GetAdGroupBidModifier</summary>
 public void GetAdGroupBidModifierResourceNames()
 {
     // Snippet: GetAdGroupBidModifier(AdGroupBidModifierName, CallSettings)
     // 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);
     // End snippet
 }
 /// <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 GetAdGroupBidModifierRequestObject()
 {
     // 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);
 }
 /// <summary>Snippet for MutateAdGroupBidModifiers</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateAdGroupBidModifiers()
 {
     // Create client
     AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     IEnumerable <AdGroupBidModifierOperation> operations = new AdGroupBidModifierOperation[]
     {
         new AdGroupBidModifierOperation(),
     };
     // Make the request
     MutateAdGroupBidModifiersResponse response = adGroupBidModifierServiceClient.MutateAdGroupBidModifiers(customerId, operations);
 }
Example #7
0
 /// <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.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]"),
     };
     // Make the request
     AdGroupBidModifier response = adGroupBidModifierServiceClient.GetAdGroupBidModifier(request);
     // End snippet
 }
 /// <summary>Snippet for MutateAdGroupBidModifiers</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateAdGroupBidModifiersRequestObject()
 {
     // Create client
     AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create();
     // Initialize request argument(s)
     MutateAdGroupBidModifiersRequest request = new MutateAdGroupBidModifiersRequest
     {
         CustomerId = "",
         Operations =
         {
             new AdGroupBidModifierOperation(),
         },
         PartialFailure = false,
         ValidateOnly   = false,
     };
     // Make the request
     MutateAdGroupBidModifiersResponse response = adGroupBidModifierServiceClient.MutateAdGroupBidModifiers(request);
 }
Example #9
0
 /// <summary>Snippet for MutateAdGroupBidModifiers</summary>
 public void MutateAdGroupBidModifiersRequestObject()
 {
     // Snippet: MutateAdGroupBidModifiers(MutateAdGroupBidModifiersRequest, CallSettings)
     // Create client
     AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create();
     // Initialize request argument(s)
     MutateAdGroupBidModifiersRequest request = new MutateAdGroupBidModifiersRequest
     {
         CustomerId = "",
         Operations =
         {
             new AdGroupBidModifierOperation(),
         },
         PartialFailure      = false,
         ValidateOnly        = false,
         ResponseContentType = ResponseContentTypeEnum.Types.ResponseContentType.Unspecified,
     };
     // Make the request
     MutateAdGroupBidModifiersResponse response = adGroupBidModifierServiceClient.MutateAdGroupBidModifiers(request);
     // End snippet
 }