/// <summary>Snippet for GetKeywordPlanAdGroupKeyword</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetKeywordPlanAdGroupKeyword()
 {
     // Create client
     KeywordPlanAdGroupKeywordServiceClient keywordPlanAdGroupKeywordServiceClient = KeywordPlanAdGroupKeywordServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/keywordPlanAdGroupKeywords/[KEYWORD_PLAN_AD_GROUP_KEYWORD_ID]";
     // Make the request
     KeywordPlanAdGroupKeyword response = keywordPlanAdGroupKeywordServiceClient.GetKeywordPlanAdGroupKeyword(resourceName);
 }
Exemple #2
0
 /// <summary>Snippet for GetKeywordPlanAdGroupKeyword</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetKeywordPlanAdGroupKeywordRequestObject()
 {
     // Create client
     KeywordPlanAdGroupKeywordServiceClient keywordPlanAdGroupKeywordServiceClient = KeywordPlanAdGroupKeywordServiceClient.Create();
     // Initialize request argument(s)
     GetKeywordPlanAdGroupKeywordRequest request = new GetKeywordPlanAdGroupKeywordRequest
     {
         ResourceNameAsKeywordPlanAdGroupKeywordName = KeywordPlanAdGroupKeywordName.FromCustomerKeywordPlanAdGroupKeyword("[CUSTOMER_ID]", "[KEYWORD_PLAN_AD_GROUP_KEYWORD_ID]"),
     };
     // Make the request
     KeywordPlanAdGroupKeyword response = keywordPlanAdGroupKeywordServiceClient.GetKeywordPlanAdGroupKeyword(request);
 }
 /// <summary>Snippet for GetKeywordPlanAdGroupKeyword</summary>
 public void GetKeywordPlanAdGroupKeywordResourceNames()
 {
     // Snippet: GetKeywordPlanAdGroupKeyword(KeywordPlanAdGroupKeywordName, CallSettings)
     // Create client
     KeywordPlanAdGroupKeywordServiceClient keywordPlanAdGroupKeywordServiceClient = KeywordPlanAdGroupKeywordServiceClient.Create();
     // Initialize request argument(s)
     KeywordPlanAdGroupKeywordName resourceName = KeywordPlanAdGroupKeywordName.FromCustomerKeywordPlanAdGroupKeyword("[CUSTOMER]", "[KEYWORD_PLAN_AD_GROUP_KEYWORD]");
     // Make the request
     KeywordPlanAdGroupKeyword response = keywordPlanAdGroupKeywordServiceClient.GetKeywordPlanAdGroupKeyword(resourceName);
     // End snippet
 }
 /// <summary>Snippet for MutateKeywordPlanAdGroupKeywords</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateKeywordPlanAdGroupKeywordsRequestObject()
 {
     // Create client
     KeywordPlanAdGroupKeywordServiceClient keywordPlanAdGroupKeywordServiceClient = KeywordPlanAdGroupKeywordServiceClient.Create();
     // Initialize request argument(s)
     MutateKeywordPlanAdGroupKeywordsRequest request = new MutateKeywordPlanAdGroupKeywordsRequest
     {
         CustomerId = "",
         Operations =
         {
             new KeywordPlanAdGroupKeywordOperation(),
         },
         PartialFailure = false,
         ValidateOnly   = false,
     };
     // Make the request
     MutateKeywordPlanAdGroupKeywordsResponse response = keywordPlanAdGroupKeywordServiceClient.MutateKeywordPlanAdGroupKeywords(request);
 }
 /// <summary>Snippet for MutateKeywordPlanAdGroupKeywords</summary>
 public void MutateKeywordPlanAdGroupKeywords()
 {
     // Snippet: MutateKeywordPlanAdGroupKeywords(string, IEnumerable<KeywordPlanAdGroupKeywordOperation>, CallSettings)
     // Create client
     KeywordPlanAdGroupKeywordServiceClient keywordPlanAdGroupKeywordServiceClient = KeywordPlanAdGroupKeywordServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     IEnumerable <KeywordPlanAdGroupKeywordOperation> operations = new KeywordPlanAdGroupKeywordOperation[]
     {
         new KeywordPlanAdGroupKeywordOperation(),
     };
     // Make the request
     MutateKeywordPlanAdGroupKeywordsResponse response = keywordPlanAdGroupKeywordServiceClient.MutateKeywordPlanAdGroupKeywords(customerId, operations);
     // End snippet
 }