/// <summary>Snippet for GetAdGroupFeedAsync</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 GetAdGroupFeedResourceNamesAsync()
        {
            // Create client
            AdGroupFeedServiceClient adGroupFeedServiceClient = await AdGroupFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            AdGroupFeedName resourceName = AdGroupFeedName.FromCustomerAdGroupFeed("[CUSTOMER]", "[AD_GROUP_FEED]");
            // Make the request
            AdGroupFeed response = await adGroupFeedServiceClient.GetAdGroupFeedAsync(resourceName);
        }
Exemplo n.º 2
0
        /// <summary>Snippet for GetAdGroupFeedAsync</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 GetAdGroupFeedAsync()
        {
            // Create client
            AdGroupFeedServiceClient adGroupFeedServiceClient = await AdGroupFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER]/adGroupFeeds/[AD_GROUP_FEED]";
            // Make the request
            AdGroupFeed response = await adGroupFeedServiceClient.GetAdGroupFeedAsync(resourceName);
        }
        /// <summary>Snippet for GetAdGroupFeedAsync</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 GetAdGroupFeedRequestObjectAsync()
        {
            // Create client
            AdGroupFeedServiceClient adGroupFeedServiceClient = await AdGroupFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetAdGroupFeedRequest request = new GetAdGroupFeedRequest
            {
                ResourceNameAsAdGroupFeedName = AdGroupFeedName.FromCustomerAdGroupFeed("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[FEED_ID]"),
            };
            // Make the request
            AdGroupFeed response = await adGroupFeedServiceClient.GetAdGroupFeedAsync(request);
        }
        /// <summary>Snippet for GetAdGroupFeedAsync</summary>
        public async Task GetAdGroupFeedAsync()
        {
            // Snippet: GetAdGroupFeedAsync(string, CallSettings)
            // Additional: GetAdGroupFeedAsync(string, CancellationToken)
            // Create client
            AdGroupFeedServiceClient adGroupFeedServiceClient = await AdGroupFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER]/adGroupFeeds/[AD_GROUP_FEED]";
            // Make the request
            AdGroupFeed response = await adGroupFeedServiceClient.GetAdGroupFeedAsync(resourceName);

            // End snippet
        }
        /// <summary>Snippet for GetAdGroupFeedAsync</summary>
        public async Task GetAdGroupFeedResourceNamesAsync()
        {
            // Snippet: GetAdGroupFeedAsync(AdGroupFeedName, CallSettings)
            // Additional: GetAdGroupFeedAsync(AdGroupFeedName, CancellationToken)
            // Create client
            AdGroupFeedServiceClient adGroupFeedServiceClient = await AdGroupFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            AdGroupFeedName resourceName = AdGroupFeedName.FromCustomerAdGroupFeed("[CUSTOMER]", "[AD_GROUP_FEED]");
            // Make the request
            AdGroupFeed response = await adGroupFeedServiceClient.GetAdGroupFeedAsync(resourceName);

            // End snippet
        }
Exemplo n.º 6
0
        /// <summary>Snippet for GetAdGroupFeedAsync</summary>
        public async Task GetAdGroupFeedRequestObjectAsync()
        {
            // Snippet: GetAdGroupFeedAsync(GetAdGroupFeedRequest, CallSettings)
            // Additional: GetAdGroupFeedAsync(GetAdGroupFeedRequest, CancellationToken)
            // Create client
            AdGroupFeedServiceClient adGroupFeedServiceClient = await AdGroupFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetAdGroupFeedRequest request = new GetAdGroupFeedRequest
            {
                ResourceNameAsAdGroupFeedName = AdGroupFeedName.FromCustomerAdGroupFeed("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[FEED_ID]"),
            };
            // Make the request
            AdGroupFeed response = await adGroupFeedServiceClient.GetAdGroupFeedAsync(request);

            // End snippet
        }