/// <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 GetRemarketingActionAsync</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 GetRemarketingActionResourceNamesAsync() { // Create client RemarketingActionServiceClient remarketingActionServiceClient = await RemarketingActionServiceClient.CreateAsync(); // Initialize request argument(s) RemarketingActionName resourceName = RemarketingActionName.FromCustomerRemarketingAction("[CUSTOMER]", "[REMARKETING_ACTION]"); // Make the request RemarketingAction response = await remarketingActionServiceClient.GetRemarketingActionAsync(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 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 GetRemarketingActionAsync</summary> public async Task GetRemarketingActionResourceNamesAsync() { // Snippet: GetRemarketingActionAsync(RemarketingActionName, CallSettings) // Additional: GetRemarketingActionAsync(RemarketingActionName, CancellationToken) // Create client RemarketingActionServiceClient remarketingActionServiceClient = await RemarketingActionServiceClient.CreateAsync(); // Initialize request argument(s) RemarketingActionName resourceName = RemarketingActionName.FromCustomerRemarketingAction("[CUSTOMER_ID]", "[REMARKETING_ACTION_ID]"); // Make the request RemarketingAction response = await remarketingActionServiceClient.GetRemarketingActionAsync(resourceName); // End snippet }