Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 // Copyright 2012 Google Inc. All Rights Reserved.
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
 //       http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.api.ads.adwords.axis.utility.extension.delegates;
Specific AbstractBaseDelegate for com.google.api.ads.adwords.axis.v201402.o.TargetingIdeaServiceInterface.

Author(s):
Julian Toledo
public final class TargetingIdeaDelegate 
Default Constructor.

Parameters:
adWordsSession the adWordsSession to use with the delegate/service
  public TargetingIdeaDelegate(AdWordsSession adWordsSession) {
    super(adWordsSessionTargetingIdeaServiceInterface.class);
  }

  
Constructor with custom service.

Parameters:
adWordsSession the adWordsSession to use with the delegate/service
service the custom service class for the SOAP service
  public TargetingIdeaDelegate(AdWordsSession adWordsSession,
      TargetingIdeaServiceInterface service) {
    super(adWordsSessionservice);
  }

  
Retrieves a small number of TargetingIdeas for the ManagedCustomer associate with the adWordsSession, for a larger set use getBulkKeywordIdeas The TargetingIdeaSelector does not need fields.

Parameters:
targetingIdeaSelector a TargetingIdeaSelector
Returns:
a small number of TargetingIdeas for the ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
  public List<TargetingIdeaget(TargetingIdeaSelector targetingIdeaSelector)
      throws RemoteException {
    return Arrays.asList(getService().get(targetingIdeaSelector).getEntries());
  }

  
Retrieves all TargetingIdeas for the ManagedCustomer associate with the adWordsSession the TargetingIdeaSelector does not need fields.

Parameters:
targetingIdeaSelector a TargetingIdeaSelector this selector must specify a paging value, with numberResults set to 800 or less
Returns:
All the TargetingIdeas for the ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
  public List<TargetingIdeagetBulkKeywordIdeas(TargetingIdeaSelector targetingIdeaSelector)
      throws RemoteException {
    return Arrays.asList(getService().getBulkKeywordIdeas(targetingIdeaSelector).getEntries());
  }
New to GrepCode? Check out our FAQ X