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;
  
  
  import java.util.List;

ExtendedManagedCustomer, encapsulates the com.google.api.ads.adwords.axis.v201409.mcm.ManagedCustomer level operations.

Author(s):
Julian Toledo
  
  public final class ExtendedManagedCustomer {
  
    private final DelegateLocator delegateLocator;
  
    private final ManagedCustomer managedCustomer;

  
Constructs an ExtendedManagedCustomer from a ManagedCustomer.

Parameters:
managedCustomer a ManagedCustomer to convert
adWordsSession the AdWordsSession for the MCC
  
    public ExtendedManagedCustomer(ManagedCustomer managedCustomerAdWordsSession adWordsSession) {
      // Creating a specific DelegateLocator for the CustomerId
      this. = managedCustomer;
      this. = new DelegateLocator(adWordsSessionmanagedCustomer);
    }

  
Constructs an ExtendedManagedCustomer from a Session.

Parameters:
adWordsSession the AdWordsSession for the MCC / with ClientCustomerId
Throws:
java.rmi.RemoteException for communication-related exceptions
java.lang.NumberFormatException for errors in the CustomerId
  
    public ExtendedManagedCustomer(AdWordsSession adWordsSession)
        throws NumberFormatExceptionRemoteException {
  
      if (adWordsSession.getClientCustomerId() != null) {
        ExtendedMcc extendedMcc = new ExtendedMcc(adWordsSession);
  
        // Get the ClientCustomerId from the AdWordsSession
        ManagedCustomer managedCustomer = extendedMcc.getManagedCustomer(
            adWordsSession.getClientCustomerId());
  
        // Creating a specific DelegateLocator for the CustomerId
        this. = managedCustomer;
  
        this. = new DelegateLocator(adWordsSessionmanagedCustomer);
      } else {
        throw new UtilityLibraryException(
            "Please set api.adwords.clientCustomerId in ads.properties");
      }
    }

  
Constructs an ExtendedManagedCustomer from a ManagedCustomer.

Parameters:
managedCustomer a ManagedCustomer to convert
delegateLocator the DelegateLocator for this account
 
       ManagedCustomer managedCustomerDelegateLocator delegateLocator) {
     // Creating a specific DelegateLocator for the CustomerId
     this. = managedCustomer;
     this. = delegateLocator;
   }

  
Creates a new ExtendedManagedCustomer using the ads.properties file and using OAuth2.

Returns:
the ExtendedManagedCustomer associated with the file
Throws:
com.google.api.ads.common.lib.exception.OAuthException if problem with OAuth2
com.google.api.ads.common.lib.conf.ConfigurationLoadException if problems loading the ad.properties file
com.google.api.ads.common.lib.exception.ValidationException if the AdWordsSession did not validate
java.rmi.RemoteException for communication-related exceptions
java.lang.NumberFormatException for errors in the CustomerId
 
     return new ExtendedManagedCustomer(AdWordsSessionUtil.fromFileWithOAuth2());
   }

  
Transforms a regular list of ManagedCustomers into a list of ExtendedManagedCustomers.

Parameters:
managedCustomers a list of ManagedCustomer to convert
adWordsSession the AdWordsSession for the MCC
Returns:
the converted list of ExtendedManagedCustomers
 
   public static List<ExtendedManagedCustomeras(List<ManagedCustomermanagedCustomers,
       AdWordsSession adWordsSession) {
     List<ExtendedManagedCustomerlistExtended = Lists.newArrayListWithCapacity(managedCustomers
         .size());
     for (ManagedCustomer managedCustomer : managedCustomers) {
       // Creating a specific DelegateLocator for the CustomerId
       listExtended.add(new ExtendedManagedCustomer(managedCustomeradWordsSession));
     }
     return listExtended;
   }

  
Retrieves the DelegateLocator for the Account (ManagedCustomer).

Returns:
the DelegateLocator for the Account (ManagedCustomer)
 
     return ;
   }

  
Retrieves the encapsulated ManagedCustomer.

Returns:
the encapsulated ManagedCustomer
 
     return ;
   }

  
Gets the Campaigns for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the Campaigns for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<CampaigngetCampaigns() throws RemoteException {
   }

  
Gets one Campaign for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaignId
Returns:
all the ExtendedCampaign for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public Campaign getCampaign(Long campaignIdthrows RemoteException {
     return .getCampaignDelegate().getByCampaignId(campaignId);
   }

  
Gets the Campaigns for the ExtendedManagedCustomer's ManagedCustomer by campaignStatus.

Parameters:
campaignStatus the Status of the Campaign
Returns:
all the Campaigns for the ExtendedManagedCustomer's ManagedCustomer that match the status
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<CampaigngetCampaignsByStatus(CampaignStatus campaignStatus)
       throws RemoteException {
     return .getCampaignDelegate().getByStatus(campaignStatus);
   }

  
Gets the Campaigns for the ExtendedManagedCustomer's ManagedCustomer by labelIds.

Parameters:
labelIds the Ids of the Labels to get the Campaigns
Returns:
all the Campaigns for the ExtendedManagedCustomer's ManagedCustomer that match the labelIds
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<CampaigngetCampaignsByLabelIds(List<LonglabelIds)
       throws RemoteException {
   }

  
Gets the ExtendedCampaigns for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the ExtendedCampaigns for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
     return ExtendedCampaign.as(.getCampaignDelegate().get(),
         );
   }

  
Gets one Campaign as Extended for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaignId the Id of the Campaign
Returns:
all the ExtendedCampaign for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public ExtendedCampaign getExtendedCampaign(Long campaignIdthrows RemoteException {
         );
   }

  
Gets the ExtendedCampaigns for the ExtendedManagedCustomer's ManagedCustomer by campaignStatus.

Parameters:
campaignStatus the status of the Campign
Returns:
all the ExtendedCampaigns for the ExtendedManagedCustomer's ManagedCustomer that match the campaignStatus
Throws:
java.rmi.RemoteException for communication-related exceptions
 
       throws RemoteException {
     return ExtendedCampaign.as(
         .getCampaignDelegate().getByStatus(campaignStatus), );
   }

  
Gets the ExtendedCampaigns for the ExtendedManagedCustomer's ManagedCustomer by labelIds.

Parameters:
labelIds the Ids of the Labels to get the ExtendedCampaigns
Returns:
all the ExtendedCampaigns for the ExtendedManagedCustomer's ManagedCustomer that match the labelIds
Throws:
java.rmi.RemoteException for communication-related exceptions
 
       throws RemoteException {
     return ExtendedCampaign.as(
   }

  
Inserts the Campaigns into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaigns the list of Campaigns to insert
Returns:
the updated list of ExtendedCampaign
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<ExtendedCampaigninsertCampaigns(List<Campaigncampaignsthrows RemoteException {
     return ExtendedCampaign.as(.getCampaignDelegate().insert(campaigns),
         );
   }

  
Inserts the Campaign into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaign the Campaign to insert
Returns:
the updated ExtendedCampaign
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public ExtendedCampaign insertCampaign(Campaign campaignthrows RemoteException {
         );
   }

  
Updates the Campaigns for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaigns the Campaigns to update
Returns:
the updated List<ExtendedCampaign>
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<ExtendedCampaignupdateCampaigns(List<Campaigncampaignsthrows RemoteException {
     return ExtendedCampaign.as(.getCampaignDelegate().update(campaigns),
         );
   }

  
Updates the Campaign into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaign the Campaign to update
Returns:
the updated ExtendedCampaign
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public ExtendedCampaign updateCampaign(Campaign campaignthrows RemoteException {
         );
   }

  
Gets the AdGroups as Extended for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the ExtendedAdGroups for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
     return ExtendedAdGroup.as(.getAdGroupDelegate().get(), );
   }

  
Gets the AdGroups for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the AdGroup for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<AdGroupgetAdGroups() throws RemoteException {
   }

  
Gets the CampaignCriterions for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the CampaignCriterions for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   }

  
Gets the AdGroupCriterions for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the AdGroupCriterions for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   }

  
Gets the AdGroupAds for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the AdGroupAds for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<AdGroupAdgetAdGroupAds() throws RemoteException {
   }

  
Gets the CampaignAdExtensions for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the CampaignAdExtensions for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   }

  
Gets the AdParams for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the AdParams for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<AdParamgetAdParams() throws RemoteException {
   }

  
Gets the BudgetOrders for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the BudgetOrders for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<BudgetOrdergetBudgetOrders() throws RemoteException {
   }

  
Inserts the BudgetOrder into the ExtendedManagedCustomer's ManagedCustomer.

Note: insertBudgetOrder is limited to one operation per request. See com.google.api.ads.adwords.axis.v201409.billing.BudgetOrderServiceInterface.

Parameters:
budgetOrder the BudgetOrder to insert
Returns:
the updated BudgetOrder
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public BudgetOrder insertBudgetOrder(BudgetOrder budgetOrderthrows RemoteException {
     return .getBudgetOrderDelegate().insert(budgetOrder);
   }

  
Updates the BudgetOrder for the ExtendedManagedCustomer's ManagedCustomer.

Note: updateBudgetOrder is limited to one operation per request. See com.google.api.ads.adwords.axis.v201409.billing.BudgetOrderServiceInterface.

Parameters:
budgetOrder the BudgetOrder to update
Returns:
the updated BudgetOrder
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public BudgetOrder updateBudgetOrder(BudgetOrder budgetOrderthrows RemoteException {
     return .getBudgetOrderDelegate().update(budgetOrder);
   }

  
Removes the BudgetOrder from the ExtendedManagedCustomer's ManagedCustomer.

Note: removeBudgetOrder is limited to one operation per request. See com.google.api.ads.adwords.axis.v201409.billing.BudgetOrderServiceInterface.

Parameters:
budgetOrder the BudgetOrder to remove
Returns:
the updated BudgetOrder
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public BudgetOrder removeBudgetOrder(BudgetOrder budgetOrderthrows RemoteException {
     return .getBudgetOrderDelegate().remove(budgetOrder);
   }

  
Gets the BillingAccounts for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the BillingAccounts for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   }

  
Gets the Budgets for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the Budgets for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<BudgetgetBudgets() throws RemoteException {
   }

  
Inserts the Budgets into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
budget the Budget to insert
Returns:
the updated Budget
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public Budget insertBudget(Budget budgetthrows RemoteException {
     return .getBudgetDelegate().insert(budget);
   }

  
Inserts the Budget into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
budgets the Budgets to insert
Returns:
the updated Budget
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<BudgetinsertBudgets(List<Budgetbudgetsthrows RemoteException {
     return .getBudgetDelegate().insert(budgets);
   }

  
Updates the Budget for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
budget the Budget to insert
Returns:
the updated Budget
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public Budget updateBudget(Budget budgetthrows RemoteException {
     return .getBudgetDelegate().update(budget);
   }

  
Updates the Budgets for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
budgets the Budgets to insert
Returns:
the updated list of Budgets
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<BudgetupdateBudgets(List<Budgetbudgetsthrows RemoteException {
     return .getBudgetDelegate().update(budgets);
   }

  
Removes the Budgets from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
budget the Budget to remove
Returns:
the updated Budget
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public Budget removeBudget(Budget budgetthrows RemoteException {
     return .getBudgetDelegate().remove(budget);
   }

  
Removes the Budgets from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
budgets the Budgets to remove
Returns:
the updated list of Budgets
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<BudgetremoveBudgets(List<Budgetbudgetsthrows RemoteException {
     return .getBudgetDelegate().remove(budgets);
   }

  
Gets the Feeds for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the Feeds for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedgetFeeds() throws RemoteException {
     return .getFeedDelegate().get();
   }

  
Gets the Feeds for the ExtendedManagedCustomer's ManagedCustomer by feedId.

Parameters:
feedId
Returns:
all the Feeds for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedgetFeeds(Long feedIdthrows RemoteException {
     return .getFeedDelegate().getByFeedId(feedId);
   }

  
Inserts the Feeds into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feed the Feed to insert
Returns:
the updated Feed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public Feed insertFeed(Feed feedthrows RemoteException {
     return .getFeedDelegate().insert(feed);
   }

  
Inserts the Feed into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feeds the Feeds to insert
Returns:
the updated Feed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedinsertFeeds(List<Feedfeedsthrows RemoteException {
     return .getFeedDelegate().insert(feeds);
   }

  
Updates the Feed for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feed the Feed to insert
Returns:
the updated Feed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public Feed updateFeed(Feed feedthrows RemoteException {
     return .getFeedDelegate().update(feed);
   }

  
Updates the Feeds for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feeds the Feeds to insert
Returns:
the updated list of Feeds
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedupdateFeeds(List<Feedfeedsthrows RemoteException {
     return .getFeedDelegate().update(feeds);
   }

  
Removes the Feeds from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feed the Feed to remove
Returns:
the updated Feed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public Feed removeFeed(Feed feedthrows RemoteException {
     return .getFeedDelegate().remove(feed);
   }

  
Removes the Feeds from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feeds the Feeds to remove
Returns:
the updated list of Feeds
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedremoveFeeds(List<Feedfeedsthrows RemoteException {
     return .getFeedDelegate().remove(feeds);
   }

  
Gets the FeedItems for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the FeedItems for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedItemgetFeedItems() throws RemoteException {
   }

  
Gets the FeedItems for the ExtendedManagedCustomer's ManagedCustomer by feedId.

Parameters:
feedId
Returns:
all the FeedItems for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedItemgetFeedItems(Long feedIdthrows RemoteException {
   }

  
Inserts the FeedItems into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedItem the FeedItem to insert
Returns:
the updated FeedItem
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public FeedItem insertFeedItem(FeedItem feedItemthrows RemoteException {
     return .getFeedItemDelegate().insert(feedItem);
   }

  
Inserts the FeedItem into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedItems the FeedItems to insert
Returns:
the updated FeedItem
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedIteminsertFeedItems(List<FeedItemfeedItemsthrows RemoteException {
     return .getFeedItemDelegate().insert(feedItems);
   }

  
Updates the FeedItem for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedItem the FeedItem to insert
Returns:
the updated FeedItem
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public FeedItem updateFeedItem(FeedItem feedItemthrows RemoteException {
     return .getFeedItemDelegate().update(feedItem);
   }

  
Updates the FeedItems for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedItems the FeedItems to insert
Returns:
the updated list of FeedItems
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedItemupdateFeedItems(List<FeedItemfeedItemsthrows RemoteException {
     return .getFeedItemDelegate().update(feedItems);
   }

  
Removes the FeedItems from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedItem the FeedItem to remove
Returns:
the updated FeedItem
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public FeedItem removeFeedItem(FeedItem feedItemthrows RemoteException {
     return .getFeedItemDelegate().remove(feedItem);
   }

  
Removes the FeedItems from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedItems the FeedItems to remove
Returns:
the updated list of FeedItems
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedItemremoveFeedItems(List<FeedItemfeedItemsthrows RemoteException {
     return .getFeedItemDelegate().remove(feedItems);
   }

  
Gets the FeedMappings for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the FeedMappings for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedMappinggetFeedMappings() throws RemoteException {
   }

  
Gets the FeedMappings for the ExtendedManagedCustomer's ManagedCustomer by feedId.

Parameters:
feedId
Returns:
all the FeedMappings for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedMappinggetFeedMappings(Long feedIdthrows RemoteException {
   }

  
Inserts the FeedMappings into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedMapping the FeedMapping to insert
Returns:
the updated FeedMapping
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public FeedMapping insertFeedMapping(FeedMapping feedMappingthrows RemoteException {
     return .getFeedMappingDelegate().insert(feedMapping);
   }

  
Inserts the FeedMapping into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedMappings the FeedMappings to insert
Returns:
the updated FeedMapping
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedMappinginsertFeedMappings(List<FeedMappingfeedMappings)
       throws RemoteException {
     return .getFeedMappingDelegate().insert(feedMappings);
   }

  
Updates the FeedMapping for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedMapping the FeedMapping to insert
Returns:
the updated FeedMapping
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public FeedMapping updateFeedMapping(FeedMapping feedMappingthrows RemoteException {
     return .getFeedMappingDelegate().update(feedMapping);
   }

  
Updates the FeedMappings for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedMappings the FeedMappings to insert
Returns:
the updated list of FeedMappings
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedMappingupdateFeedMappings(List<FeedMappingfeedMappings)
       throws RemoteException {
     return .getFeedMappingDelegate().update(feedMappings);
   }

  
Removes the FeedMappings from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedMapping the FeedMapping to remove
Returns:
the updated FeedMapping
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public FeedMapping removeFeedMapping(FeedMapping feedMappingthrows RemoteException {
     return .getFeedMappingDelegate().remove(feedMapping);
   }

  
Removes the FeedMappings from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
feedMappings the FeedMappings to remove
Returns:
the updated list of FeedMappings
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<FeedMappingremoveFeedMappings(List<FeedMappingfeedMappings)
       throws RemoteException {
     return .getFeedMappingDelegate().remove(feedMappings);
   }

  
Gets the CampaignFeeds for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the CampaignFeeds for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   }

  
Gets the CampaignFeeds for the ExtendedManagedCustomer's ManagedCustomer by feedId.

Parameters:
feedId
Returns:
all the CampaignFeeds for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<CampaignFeedgetCampaignFeeds(Long feedIdthrows RemoteException {
   }

  
Inserts the CampaignFeeds into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaignFeed the CampaignFeed to insert
Returns:
the updated CampaignFeed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public CampaignFeed insertCampaignFeed(CampaignFeed campaignFeedthrows RemoteException {
     return .getCampaignFeedDelegate().insert(campaignFeed);
   }

  
Inserts the CampaignFeed into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaignFeeds the CampaignFeeds to insert
Returns:
the updated CampaignFeed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<CampaignFeedinsertCampaignFeeds(List<CampaignFeedcampaignFeeds)
       throws RemoteException {
     return .getCampaignFeedDelegate().insert(campaignFeeds);
   }

  
Updates the CampaignFeed for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaignFeed the CampaignFeed to insert
Returns:
the updated CampaignFeed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public CampaignFeed updateCampaignFeed(CampaignFeed campaignFeedthrows RemoteException {
     return .getCampaignFeedDelegate().update(campaignFeed);
   }

  
Updates the CampaignFeeds for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaignFeeds the CampaignFeeds to insert
Returns:
the updated list of CampaignFeeds
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<CampaignFeedupdateCampaignFeeds(List<CampaignFeedcampaignFeeds)
       throws RemoteException {
     return .getCampaignFeedDelegate().update(campaignFeeds);
   }

  
Removes the CampaignFeeds from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaignFeed the CampaignFeed to remove
Returns:
the updated CampaignFeed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public CampaignFeed removeCampaignFeed(CampaignFeed campaignFeedthrows RemoteException {
     return .getCampaignFeedDelegate().remove(campaignFeed);
   }

  
Removes the CampaignFeeds from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
campaignFeeds the CampaignFeeds to remove
Returns:
the updated list of CampaignFeeds
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<CampaignFeedremoveCampaignFeeds(List<CampaignFeedcampaignFeeds)
       throws RemoteException {
     return .getCampaignFeedDelegate().remove(campaignFeeds);
   }

  
Gets the AdGroupFeeds for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the AdGroupFeeds for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<AdGroupFeedgetAdGroupFeeds() throws RemoteException {
   }

  
Gets the AdGroupFeeds for the ExtendedManagedCustomer's ManagedCustomer by feedId.

Parameters:
feedId the Id of the Feed to the the AdGroupFeed
Returns:
all the AdGroupFeeds for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<AdGroupFeedgetAdGroupFeeds(Long feedIdthrows RemoteException {
   }

  
Inserts the AdGroupFeeds into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
adGroupFeed the AdGroupFeed to insert
Returns:
the updated AdGroupFeed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public AdGroupFeed insertAdGroupFeed(AdGroupFeed adGroupFeedthrows RemoteException {
     return .getAdGroupFeedDelegate().insert(adGroupFeed);
   }

  
Inserts the AdGroupFeed into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
adGroupFeeds the AdGroupFeeds to insert
Returns:
the updated AdGroupFeed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<AdGroupFeedinsertAdGroupFeeds(List<AdGroupFeedadGroupFeeds)
       throws RemoteException {
     return .getAdGroupFeedDelegate().insert(adGroupFeeds);
   }

  
Updates the AdGroupFeed for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
adGroupFeed the AdGroupFeed to insert
Returns:
the updated AdGroupFeed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public AdGroupFeed updateAdGroupFeed(AdGroupFeed adGroupFeedthrows RemoteException {
     return .getAdGroupFeedDelegate().update(adGroupFeed);
   }

  
Updates the AdGroupFeeds for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
adGroupFeeds the AdGroupFeeds to insert
Returns:
the updated list of AdGroupFeeds
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<AdGroupFeedupdateAdGroupFeeds(List<AdGroupFeedadGroupFeeds)
       throws RemoteException {
     return .getAdGroupFeedDelegate().update(adGroupFeeds);
   }

  
Removes the AdGroupFeeds from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
adGroupFeed the AdGroupFeed to remove
Returns:
the updated AdGroupFeed
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public AdGroupFeed removeAdGroupFeed(AdGroupFeed adGroupFeedthrows RemoteException {
     return .getAdGroupFeedDelegate().remove(adGroupFeed);
   }

  
Removes the AdGroupFeeds from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
adGroupFeeds the AdGroupFeeds to remove
Returns:
the updated list of AdGroupFeeds
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<AdGroupFeedremoveAdGroupFeeds(List<AdGroupFeedadGroupFeeds)
       throws RemoteException {
     return .getAdGroupFeedDelegate().remove(adGroupFeeds);
   }

  
Gets the Labels for the ExtendedManagedCustomer's ManagedCustomer.

Returns:
all the Labels for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public List<LabelgetLabels() throws RemoteException {
     return .getLabelDelegate().get();
   }

  
Gets one Label for the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
labelId the Id of the Label
Returns:
one Label for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
 
   public Label getLabel(Long labelIdthrows RemoteException {
     return .getLabelDelegate().getByLabelId(labelId);
   }

  
Gets the Labels for the ExtendedManagedCustomer's ManagedCustomer by labelStatus.

Parameters:
labelStatus the Status of the Label
Returns:
all the Labels for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
  public List<LabelgetLabelsByStatus(LabelStatus labelStatus)
      throws RemoteException {
    return .getLabelDelegate().getByStatus(labelStatus);
  }

  
Gets the Labels for the ExtendedManagedCustomer's ManagedCustomer by labelName.

Parameters:
labelName the Name of the Label
Returns:
all the Labels for the ExtendedManagedCustomer's ManagedCustomer
Throws:
java.rmi.RemoteException for communication-related exceptions
  public List<LabelgetLabelsByName(String labelName)
      throws RemoteException {
    return .getLabelDelegate().getByName(labelName);
  }

  
Inserts Labels into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
labels the list of Labels to insert
Returns:
the inserted list of Labels
Throws:
java.rmi.RemoteException for communication-related exceptions
  public List<LabelinsertLabels(List<Labellabelsthrows RemoteException {
    return .getLabelDelegate().insert(labels);
  }

  
Inserts a Label into the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
label the Label to insert
Returns:
the inserted Label
Throws:
java.rmi.RemoteException for communication-related exceptions
  public Label insertLabel(Label labelthrows RemoteException {
    return .getLabelDelegate().insert(label);
  }

  
Removes Labels from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
labels the Labels to remove
Returns:
the removed Labels
Throws:
java.rmi.RemoteException for communication-related exceptions
  public List<LabelremoveLabels(List<Labellabelsthrows RemoteException {
    return .getLabelDelegate().remove(labels);
  }

  
Removes a Label from the ExtendedManagedCustomer's ManagedCustomer.

Parameters:
label the Label to remove
Returns:
the removed Label
Throws:
java.rmi.RemoteException for communication-related exceptions
  public Label removeLabel(Label labelthrows RemoteException {
    return .getLabelDelegate().remove(label);
  }
New to GrepCode? Check out our FAQ X