Esempio n. 1
0
 /// <summary>Snippet for GetRemarketingAction</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetRemarketingActionResourceNames()
 {
     // Create client
     RemarketingActionServiceClient remarketingActionServiceClient = RemarketingActionServiceClient.Create();
     // Initialize request argument(s)
     RemarketingActionName resourceName = RemarketingActionName.FromCustomerRemarketingAction("[CUSTOMER_ID]", "[REMARKETING_ACTION_ID]");
     // Make the request
     RemarketingAction response = remarketingActionServiceClient.GetRemarketingAction(resourceName);
 }
 /// <summary>Snippet for GetRemarketingAction</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetRemarketingAction()
 {
     // Create client
     RemarketingActionServiceClient remarketingActionServiceClient = RemarketingActionServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/remarketingActions/[REMARKETING_ACTION_ID]";
     // Make the request
     RemarketingAction response = remarketingActionServiceClient.GetRemarketingAction(resourceName);
 }
Esempio n. 3
0
 /// <summary>Snippet for GetRemarketingAction</summary>
 public void GetRemarketingAction()
 {
     // Snippet: GetRemarketingAction(string, CallSettings)
     // Create client
     RemarketingActionServiceClient remarketingActionServiceClient = RemarketingActionServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/remarketingActions/[REMARKETING_ACTION]";
     // Make the request
     RemarketingAction response = remarketingActionServiceClient.GetRemarketingAction(resourceName);
     // End snippet
 }
Esempio n. 4
0
 /// <summary>Snippet for GetRemarketingAction</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetRemarketingActionRequestObject()
 {
     // Create client
     RemarketingActionServiceClient remarketingActionServiceClient = RemarketingActionServiceClient.Create();
     // Initialize request argument(s)
     GetRemarketingActionRequest request = new GetRemarketingActionRequest
     {
         ResourceNameAsRemarketingActionName = RemarketingActionName.FromCustomerRemarketingAction("[CUSTOMER]", "[REMARKETING_ACTION]"),
     };
     // Make the request
     RemarketingAction response = remarketingActionServiceClient.GetRemarketingAction(request);
 }
 /// <summary>Snippet for MutateRemarketingActions</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateRemarketingActions()
 {
     // Create client
     RemarketingActionServiceClient remarketingActionServiceClient = RemarketingActionServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     IEnumerable <RemarketingActionOperation> operations = new RemarketingActionOperation[]
     {
         new RemarketingActionOperation(),
     };
     // Make the request
     MutateRemarketingActionsResponse response = remarketingActionServiceClient.MutateRemarketingActions(customerId, operations);
 }
 /// <summary>Snippet for MutateRemarketingActions</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateRemarketingActionsRequestObject()
 {
     // Create client
     RemarketingActionServiceClient remarketingActionServiceClient = RemarketingActionServiceClient.Create();
     // Initialize request argument(s)
     MutateRemarketingActionsRequest request = new MutateRemarketingActionsRequest
     {
         CustomerId = "",
         Operations =
         {
             new RemarketingActionOperation(),
         },
         PartialFailure = false,
         ValidateOnly   = false,
     };
     // Make the request
     MutateRemarketingActionsResponse response = remarketingActionServiceClient.MutateRemarketingActions(request);
 }