Ejemplo n.º 1
0
        /// <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_ID]", "[REMARKETING_ACTION_ID]");
            // Make the request
            RemarketingAction response = await remarketingActionServiceClient.GetRemarketingActionAsync(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 GetRemarketingActionAsync()
        {
            // Create client
            RemarketingActionServiceClient remarketingActionServiceClient = await RemarketingActionServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER]/remarketingActions/[REMARKETING_ACTION]";
            // Make the request
            RemarketingAction response = await remarketingActionServiceClient.GetRemarketingActionAsync(resourceName);
        }
Ejemplo n.º 3
0
        /// <summary>Snippet for GetRemarketingActionAsync</summary>
        public async Task GetRemarketingActionAsync()
        {
            // Snippet: GetRemarketingActionAsync(string, CallSettings)
            // Additional: GetRemarketingActionAsync(string, CancellationToken)
            // Create client
            RemarketingActionServiceClient remarketingActionServiceClient = await RemarketingActionServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/remarketingActions/[REMARKETING_ACTION_ID]";
            // Make the request
            RemarketingAction response = await remarketingActionServiceClient.GetRemarketingActionAsync(resourceName);

            // End snippet
        }
Ejemplo n.º 4
0
        /// <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
        }