code stringlengths 73 34.1k | label stringclasses 1
value |
|---|---|
public com.google.api.ads.adwords.axis.v201809.cm.CallConversionType getCallConversionType() {
return callConversionType;
} | java |
private static ProductPartitionTreeImpl createNonEmptyAdGroupTree(Long adGroupId,
ListMultimap<Long, AdGroupCriterion> parentIdMap) {
Preconditions.checkNotNull(adGroupId, "Null ad group ID");
Preconditions.checkArgument(!parentIdMap.isEmpty(),
"parentIdMap passed for ad group ID %s is empty", adG... | java |
private static ProductPartitionTreeImpl createEmptyAdGroupTree(Long adGroupId,
BiddingStrategyConfiguration biddingStrategyConfig) {
Preconditions.checkNotNull(adGroupId, "Null ad group ID");
Preconditions.checkNotNull(biddingStrategyConfig, "Null bidding strategy configuration");
ProductPartitionNode... | java |
private OperationPair createSetBidOperation(ProductPartitionNode node) {
Preconditions.checkNotNull(node.getProductPartitionId(),
"Node for SET operation has no partition ID: %s", node);
Preconditions.checkArgument(node.getProductPartitionId().longValue() >= 0L,
"Node for SET operation has a neg... | java |
private List<OperationPair> createAddOperations(ProductPartitionNode node) {
AdGroupCriterionOperation addOp = new AdGroupCriterionOperation();
addOp.setOperator(Operator.ADD);
// Set the node's ID to a new temporary ID.
node.setProductPartitionId(idGenerator.next());
addOp.setOperand(ProductParti... | java |
private OperationPair createRemoveOperation(ProductPartitionNode node) {
Preconditions.checkNotNull(node.getProductPartitionId(),
"Node for REMOVE operation has no partition ID: %s", node);
Preconditions.checkArgument(node.getProductPartitionId().longValue() >= 0L,
"Node for REMOVE operation has... | java |
private static Money getBid(BiddableAdGroupCriterion biddableCriterion) {
BiddingStrategyConfiguration biddingConfig =
biddableCriterion.getBiddingStrategyConfiguration();
Money cpcBidAmount = null;
if (biddingConfig.getBids() != null) {
for (Bids bid : biddingConfig.getBids()) {
if (b... | java |
public com.google.api.ads.admanager.axis.v201902.ScalableType getScalableType() {
return scalableType;
} | java |
public void setDeliveryType(com.google.api.ads.admanager.axis.v201902.VideoDeliveryType deliveryType) {
this.deliveryType = deliveryType;
} | java |
public com.google.api.ads.admanager.axis.v201811.DateTime getStartTime() {
return startTime;
} | java |
public void setStartTime(com.google.api.ads.admanager.axis.v201811.DateTime startTime) {
this.startTime = startTime;
} | java |
public com.google.api.ads.admanager.axis.v201811.TargetingCriteriaBreakdown[] getTargetingCriteriaBreakdowns() {
return targetingCriteriaBreakdowns;
} | java |
public com.google.api.ads.admanager.axis.v201811.ContendingLineItem[] getContendingLineItems() {
return contendingLineItems;
} | java |
public com.google.api.ads.admanager.axis.v201811.AlternativeUnitTypeForecast[] getAlternativeUnitTypeForecasts() {
return alternativeUnitTypeForecasts;
} | java |
public com.google.api.ads.admanager.axis.v201811.GrpDemographicBreakdown[] getDemographicBreakdowns() {
return demographicBreakdowns;
} | java |
public com.google.api.ads.admanager.axis.v201902.CompanySettings getSettings() {
return settings;
} | java |
public void setSettings(com.google.api.ads.admanager.axis.v201902.CompanySettings settings) {
this.settings = settings;
} | java |
public void setViewabilityProvider(com.google.api.ads.admanager.axis.v201902.ViewabilityProvider viewabilityProvider) {
this.viewabilityProvider = viewabilityProvider;
} | java |
public com.google.api.ads.admanager.axis.v201902.RefreshType getRefreshType() {
return refreshType;
} | java |
public void setRefreshType(com.google.api.ads.admanager.axis.v201902.RefreshType refreshType) {
this.refreshType = refreshType;
} | java |
private void captureSoapXml(SOAPMessageContext context) {
SOAPMessage message = context.getMessage();
if ((Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY)) {
// Outbound message (request).
requestInfoXPathSet.parseMessage(lastRequestInfo, message);
} else {
// Inbound messag... | java |
public void addHeader(String namespace, String headerName, SOAPElement headerValue) {
this.soapHeaders.add(headerValue);
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.PromotionExtensionDiscountModifier getDiscountModifier() {
return discountModifier;
} | java |
public void setMoneyAmountOff(com.google.api.ads.adwords.axis.v201809.cm.MoneyWithCurrency moneyAmountOff) {
this.moneyAmountOff = moneyAmountOff;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.MoneyWithCurrency getOrdersOverAmount() {
return ordersOverAmount;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.PromotionExtensionOccasion getOccasion() {
return occasion;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.CustomParameters getPromotionUrlCustomParameters() {
return promotionUrlCustomParameters;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.AttributeFieldMapping[] getAttributeFieldMappings() {
return attributeFieldMappings;
} | java |
public com.google.api.ads.admanager.axis.v201808.Money getNetBillableRevenueOverride() {
return netBillableRevenueOverride;
} | java |
public com.google.api.ads.admanager.axis.v201808.Money getGrossBillableRevenueOverride() {
return grossBillableRevenueOverride;
} | java |
public void setBillableRevenueOverride(com.google.api.ads.admanager.axis.v201808.Money billableRevenueOverride) {
this.billableRevenueOverride = billableRevenueOverride;
} | java |
public void setBuiltInCreativePlaceholders(com.google.api.ads.admanager.axis.v201805.CreativePlaceholder[] builtInCreativePlaceholders) {
this.builtInCreativePlaceholders = builtInCreativePlaceholders;
} | java |
public com.google.api.ads.admanager.axis.v201805.DeliveryRateType getBuiltInDeliveryRateType() {
return builtInDeliveryRateType;
} | java |
public void setBuiltInDeliveryRateType(com.google.api.ads.admanager.axis.v201805.DeliveryRateType builtInDeliveryRateType) {
this.builtInDeliveryRateType = builtInDeliveryRateType;
} | java |
public void setBuiltInCreativeRotationType(com.google.api.ads.admanager.axis.v201805.CreativeRotationType builtInCreativeRotationType) {
this.builtInCreativeRotationType = builtInCreativeRotationType;
} | java |
public com.google.api.ads.admanager.axis.v201805.CompanionDeliveryOption getBuiltInCompanionDeliveryOption() {
return builtInCompanionDeliveryOption;
} | java |
public com.google.api.ads.admanager.axis.v201805.FrequencyCap[] getBuiltInFrequencyCaps() {
return builtInFrequencyCaps;
} | java |
public void setProductBuiltInTargeting(com.google.api.ads.admanager.axis.v201805.Targeting productBuiltInTargeting) {
this.productBuiltInTargeting = productBuiltInTargeting;
} | java |
public com.google.api.ads.admanager.axis.v201808.GeoTargeting getGeoSegment() {
return geoSegment;
} | java |
public com.google.api.ads.admanager.axis.v201808.CustomCriteria[] getCustomTargetingSegment() {
return customTargetingSegment;
} | java |
public void setUserDomainSegment(com.google.api.ads.admanager.axis.v201808.UserDomainTargeting userDomainSegment) {
this.userDomainSegment = userDomainSegment;
} | java |
public com.google.api.ads.admanager.axis.v201808.BrowserTargeting getBrowserSegment() {
return browserSegment;
} | java |
public com.google.api.ads.admanager.axis.v201808.BrowserLanguageTargeting getBrowserLanguageSegment() {
return browserLanguageSegment;
} | java |
public void setOperatingSystemSegment(com.google.api.ads.admanager.axis.v201808.OperatingSystemTargeting operatingSystemSegment) {
this.operatingSystemSegment = operatingSystemSegment;
} | java |
public com.google.api.ads.admanager.axis.v201808.MobileCarrierTargeting getMobileCarrierSegment() {
return mobileCarrierSegment;
} | java |
public com.google.api.ads.admanager.axis.v201808.DeviceCapabilityTargeting getDeviceCapabilitySegment() {
return deviceCapabilitySegment;
} | java |
public void setDeviceCategorySegment(com.google.api.ads.admanager.axis.v201808.DeviceCategoryTargeting deviceCategorySegment) {
this.deviceCategorySegment = deviceCategorySegment;
} | java |
public com.google.api.ads.admanager.axis.v201808.MobileDeviceTargeting getMobileDeviceSegment() {
return mobileDeviceSegment;
} | java |
public void setMobileDeviceSegment(com.google.api.ads.admanager.axis.v201808.MobileDeviceTargeting mobileDeviceSegment) {
this.mobileDeviceSegment = mobileDeviceSegment;
} | java |
public com.google.api.ads.admanager.axis.v201808.MobileDeviceSubmodelTargeting getMobileDeviceSubmodelSegment() {
return mobileDeviceSubmodelSegment;
} | java |
public void setSizeSegment(com.google.api.ads.admanager.axis.v201808.CreativePlaceholder[] sizeSegment) {
this.sizeSegment = sizeSegment;
} | java |
public com.google.api.ads.admanager.axis.v201808.MobileApplicationTargeting getMobileApplicationSegment() {
return mobileApplicationSegment;
} | java |
public void setVideoPositionSegment(com.google.api.ads.admanager.axis.v201808.VideoPositionTargeting videoPositionSegment) {
this.videoPositionSegment = videoPositionSegment;
} | java |
public com.google.api.ads.admanager.axis.v201805.ReportQueryAdUnitView getAdUnitView() {
return adUnitView;
} | java |
public com.google.api.ads.admanager.axis.v201805.Date getEndDate() {
return endDate;
} | java |
public com.google.api.ads.admanager.axis.v201805.Statement getStatement() {
return statement;
} | java |
public void setCmsSources(com.google.api.ads.admanager.axis.v201811.CmsContent[] cmsSources) {
this.cmsSources = cmsSources;
} | java |
private static Map<Long, SiteLinkFromFeed> getSiteLinksFromFeed(
AdWordsServicesInterface adWordsServices, AdWordsSession session, Feed feed)
throws RemoteException {
// Retrieve the feed's attribute mapping.
Multimap<Long, Integer> feedMappings =
getFeedMapping(adWordsServices, session, fee... | java |
private static Multimap<Long, Integer> getFeedMapping(AdWordsServicesInterface adWordsServices,
AdWordsSession session, Feed feed, long placeholderType) throws RemoteException {
// Get the FeedMappingService.
FeedMappingServiceInterface feedMappingService =
adWordsServices.get(session, FeedMapping... | java |
private static List<Feed> getFeeds(
AdWordsServicesInterface adWordsServices, AdWordsSession session) throws RemoteException {
FeedServiceInterface feedService = adWordsServices.get(session, FeedServiceInterface.class);
String query = "SELECT Id, Name, Attributes WHERE Origin = 'USER' AND FeedStatus = 'EN... | java |
private static List<FeedItem> getFeedItems(AdWordsServicesInterface adWordsServices,
AdWordsSession session, Feed feed) throws RemoteException {
// Get the FeedItemService.
FeedItemServiceInterface feedItemService =
adWordsServices.get(session, FeedItemServiceInterface.class);
String query = S... | java |
private static void deleteOldFeedItems(
AdWordsServicesInterface adWordsServices,
AdWordsSession session,
Set<Long> feedItemIds,
Feed feed)
throws RemoteException {
// Get the FeedItemService.
FeedItemServiceInterface feedItemService =
adWordsServices.get(session, FeedItemS... | java |
private static void createExtensionSetting(AdWordsServicesInterface adWordsServices,
AdWordsSession session,
Map<Long, SiteLinkFromFeed> feedItems,
CampaignFeed campaignFeed,
Set<Long> feedItemIds,
ExtensionSettingPlatform platformRestrictions) throws RemoteException {
// Get the Campa... | java |
private static CampaignFeed deleteCampaignFeed(AdWordsServicesInterface adWordsServices,
AdWordsSession session, CampaignFeed campaignFeed) throws RemoteException {
// Get the CampaignFeedService.
CampaignFeedServiceInterface campaignFeedService =
adWordsServices.get(session, CampaignFeedServiceIn... | java |
private static ExtensionSettingPlatform getPlatformRestictionsForCampaign(
CampaignFeed campaignFeed) {
String platformRestrictions = ExtensionSettingPlatform.NONE.getValue();
if (FunctionOperator.AND.equals(campaignFeed.getMatchingFunction().getOperator())) {
for (FunctionArgumentOperand argument ... | java |
private static Set<Long> getFeedItemIdsForCampaign(CampaignFeed campaignFeed)
throws RemoteException {
Set<Long> feedItemIds = Sets.newHashSet();
FunctionOperator functionOperator = campaignFeed.getMatchingFunction().getOperator();
if (FunctionOperator.IN.equals(functionOperator)) {
// Check i... | java |
private static List<CampaignFeed> getCampaignFeeds(AdWordsServicesInterface adWordsServices,
AdWordsSession session, Feed feed, int placeholderType) throws RemoteException {
// Get the CampaignFeedService.
CampaignFeedServiceInterface campaignFeedService =
adWordsServices.get(session, CampaignFeed... | java |
public com.google.api.ads.adwords.axis.v201809.cm.Money getBidFloor() {
return bidFloor;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.LevelOfDetail getLevelOfDetail() {
return levelOfDetail;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.PageFeed getPageFeed() {
return pageFeed;
} | java |
public void setFlashAssetSize(com.google.api.ads.admanager.axis.v201811.Size flashAssetSize) {
this.flashAssetSize = flashAssetSize;
} | java |
public com.google.api.ads.admanager.axis.v201805.OriginForwardingType getOriginForwardingType() {
return originForwardingType;
} | java |
public void setOriginForwardingType(com.google.api.ads.admanager.axis.v201805.OriginForwardingType originForwardingType) {
this.originForwardingType = originForwardingType;
} | java |
public com.google.api.ads.admanager.axis.v201902.CreativePolicyViolation[] getPolicyViolations() {
return policyViolations;
} | java |
public Map<String, String> extract(InputStream xml, String[] fields) {
Map<String, String> parsedFields = Maps.newHashMap();
try {
DocumentBuilder documentBuilder = documentBuilderSupplier.get();
if (documentBuilder == null) {
logger.warn("Could not create DocumentBuilder");
return p... | java |
public com.google.api.ads.adwords.axis.v201809.cm.RichMediaAdRichMediaAdType getRichMediaAdType() {
return richMediaAdType;
} | java |
public com.google.api.ads.adwords.axis.v201809.rm.CustomAffinityType getType() {
return type;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.AdRotationMode getAdRotationMode() {
return adRotationMode;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.PredicateOperator getOperator() {
return operator;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.ShoppingProductChannel getChannel() {
return channel;
} | java |
public com.google.api.ads.admanager.axis.v201902.AdSenseSettingsAdType getAdType() {
return adType;
} | java |
public void setFontFamily(com.google.api.ads.admanager.axis.v201902.AdSenseSettingsFontFamily fontFamily) {
this.fontFamily = fontFamily;
} | java |
public com.google.api.ads.admanager.axis.v201902.AdSenseSettingsFontSize getFontSize() {
return fontSize;
} | java |
public void setFontSize(com.google.api.ads.admanager.axis.v201902.AdSenseSettingsFontSize fontSize) {
this.fontSize = fontSize;
} | java |
public com.google.api.ads.adwords.axis.v201809.o.MonthlySearchVolume[] getValue() {
return value;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.AppConversionAppPlatform getAppPlatform() {
return appPlatform;
} | java |
public com.google.api.ads.adwords.axis.v201809.cm.AppConversionAppConversionType getAppConversionType() {
return appConversionType;
} | java |
public com.google.api.ads.admanager.axis.v201805.SecurityPolicySettings getSecurityPolicy() {
return securityPolicy;
} | java |
public void setSecurityPolicy(com.google.api.ads.admanager.axis.v201805.SecurityPolicySettings securityPolicy) {
this.securityPolicy = securityPolicy;
} | java |
public com.google.api.ads.adwords.axis.v201809.rm.UserListLogicalRule[] getRules() {
return rules;
} | java |
public com.google.api.ads.admanager.axis.v201902.GrpTargetGender getTargetGender() {
return targetGender;
} | java |
public void setTimeUnit(com.google.api.ads.admanager.axis.v201808.TimeUnit timeUnit) {
this.timeUnit = timeUnit;
} | java |
public com.google.api.ads.admanager.axis.v201808.ViewabilityProvider getViewabilityProvider() {
return viewabilityProvider;
} | java |
public com.google.api.ads.admanager.axis.v201808.Technology[] getTargetedDeviceCategories() {
return targetedDeviceCategories;
} | java |
public void setTargetedDeviceCategories(com.google.api.ads.admanager.axis.v201808.Technology[] targetedDeviceCategories) {
this.targetedDeviceCategories = targetedDeviceCategories;
} | java |
public com.google.api.ads.admanager.axis.v201808.Technology[] getExcludedDeviceCategories() {
return excludedDeviceCategories;
} | java |
public com.google.api.ads.admanager.axis.v201811.BreakdownForecast getForecast() {
return forecast;
} | java |
public void setForecast(com.google.api.ads.admanager.axis.v201811.BreakdownForecast forecast) {
this.forecast = forecast;
} | java |
public void setVideoPosition(com.google.api.ads.admanager.axis.v201808.VideoPosition videoPosition) {
this.videoPosition = videoPosition;
} | java |
public com.google.api.ads.admanager.axis.v201808.VideoBumperType getVideoBumperType() {
return videoBumperType;
} | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.