idx int64 0 41.2k | question stringlengths 74 4.04k | target stringlengths 7 750 |
|---|---|---|
39,000 | public com . google . api . ads . adwords . axis . v201809 . mcm . AccountLabel [ ] getLabels ( ) { return labels ; } | Gets the labels value for this AccountLabelReturnValue . |
39,001 | public com . google . api . ads . adwords . axis . v201809 . mcm . AccountLabel [ ] getAccountLabels ( ) { return accountLabels ; } | Gets the accountLabels value for this ManagedCustomer . |
39,002 | public com . google . api . ads . adwords . axis . v201809 . cm . Asset getAsset ( ) { return asset ; } | Gets the asset value for this AssetLink . |
39,003 | public com . google . api . ads . adwords . axis . v201809 . cm . ServedAssetFieldType getPinnedField ( ) { return pinnedField ; } | Gets the pinnedField value for this AssetLink . |
39,004 | public com . google . api . ads . adwords . axis . v201809 . cm . AssetPolicySummaryInfo getAssetPolicySummaryInfo ( ) { return assetPolicySummaryInfo ; } | Gets the assetPolicySummaryInfo value for this AssetLink . |
39,005 | public com . google . api . ads . adwords . axis . v201809 . cm . AssetPerformanceLabel getAssetPerformanceLabel ( ) { return assetPerformanceLabel ; } | Gets the assetPerformanceLabel value for this AssetLink . |
39,006 | public com . google . api . ads . admanager . axis . v201902 . BandwidthGroupTargeting getBandwidthGroupTargeting ( ) { return bandwidthGroupTargeting ; } | Gets the bandwidthGroupTargeting value for this TechnologyTargeting . |
39,007 | public void setBandwidthGroupTargeting ( com . google . api . ads . admanager . axis . v201902 . BandwidthGroupTargeting bandwidthGroupTargeting ) { this . bandwidthGroupTargeting = bandwidthGroupTargeting ; } | Sets the bandwidthGroupTargeting value for this TechnologyTargeting . |
39,008 | public com . google . api . ads . admanager . axis . v201902 . DeviceCategoryTargeting getDeviceCategoryTargeting ( ) { return deviceCategoryTargeting ; } | Gets the deviceCategoryTargeting value for this TechnologyTargeting . |
39,009 | public void setDeviceCategoryTargeting ( com . google . api . ads . admanager . axis . v201902 . DeviceCategoryTargeting deviceCategoryTargeting ) { this . deviceCategoryTargeting = deviceCategoryTargeting ; } | Sets the deviceCategoryTargeting value for this TechnologyTargeting . |
39,010 | public com . google . api . ads . admanager . axis . v201902 . MobileDeviceSubmodelTargeting getMobileDeviceSubmodelTargeting ( ) { return mobileDeviceSubmodelTargeting ; } | Gets the mobileDeviceSubmodelTargeting value for this TechnologyTargeting . |
39,011 | public void setMobileDeviceSubmodelTargeting ( com . google . api . ads . admanager . axis . v201902 . MobileDeviceSubmodelTargeting mobileDeviceSubmodelTargeting ) { this . mobileDeviceSubmodelTargeting = mobileDeviceSubmodelTargeting ; } | Sets the mobileDeviceSubmodelTargeting value for this TechnologyTargeting . |
39,012 | private void updateTokenWaitTime ( long waitForMillis ) { final long newTime = millisFromNow ( waitForMillis ) ; boolean done ; do { long oldTime = tokenWaitUntil . get ( ) ; if ( oldTime < newTime ) { done = tokenWaitUntil . compareAndSet ( oldTime , newTime ) ; } else { done = true ; } } while ( ! done ) ; } | Update the wait time for TOKEN scope . |
39,013 | private void updateAccountWaitTime ( long clientCustomerId , long waitForMillis ) { final long minWaitTime = millisFromNow ( waitForMillis ) ; AtomicLong recordedWaitTime = accountWaitUntil . computeIfAbsent ( clientCustomerId , k -> new AtomicLong ( minWaitTime ) ) ; long snapshotTime = recordedWaitTime . get ( ) ; while ( snapshotTime < minWaitTime ) { if ( recordedWaitTime . compareAndSet ( snapshotTime , minWaitTime ) ) { break ; } else { snapshotTime = recordedWaitTime . get ( ) ; } } } | Update the wait time for ACCOUNT scope . |
39,014 | private boolean checkRateExceededErrorAndUpdateWaitTime ( long clientCustomerId , Throwable throwable ) { if ( ReflectionUtil . isInstanceOf ( throwable , "ApiException" ) ) { try { Object [ ] errors = ( Object [ ] ) ReflectionUtil . invokeNoArgMethod ( throwable , "getErrors" ) ; if ( errors == null ) { return false ; } for ( Object error : errors ) { if ( ReflectionUtil . isInstanceOf ( error , "RateExceededError" ) ) { String rateScope = ( String ) ReflectionUtil . invokeNoArgMethod ( error , "getRateScope" ) ; Integer retryAfterSeconds = ( Integer ) ReflectionUtil . invokeNoArgMethod ( error , "getRetryAfterSeconds" ) ; logger . info ( "Encountered RateExceededError: scope={}, seconds={}." , rateScope , retryAfterSeconds ) ; if ( retryAfterSeconds == null ) { logger . warn ( "Unexpected rate exceeed error, missing retryAfterSeconds" ) ; } else if ( retryAfterSeconds != null ) { long waitForMillis = getWaitUntilMillis ( retryAfterSeconds . intValue ( ) ) ; if ( "DEVELOPER" . equals ( rateScope ) ) { updateTokenWaitTime ( waitForMillis ) ; return true ; } else if ( "ACCOUNT" . equals ( rateScope ) ) { updateAccountWaitTime ( clientCustomerId , waitForMillis ) ; return true ; } else { logger . warn ( "Unknown RateExceededError scope: " + rateScope , throwable ) ; } } } } } catch ( RateLimiterReflectionException e ) { logger . error ( "Encountered error during analysis using reflection." , e ) ; } } return false ; } | Check whether the invocation causes RateExceededError and update wait time accordingly . |
39,015 | private long getWaitUntilMillis ( int retryAfterSeconds ) { double multiplier = waitTimeNoiseFactor . get ( ) . nextDouble ( ) ; multiplier = multiplier * ( MAX_WAIT_TIME_MULTIPLIER - MIN_WAIT_TIME_MULTIPLIER ) + MIN_WAIT_TIME_MULTIPLIER ; double result = SECONDS . toMillis ( retryAfterSeconds ) * multiplier ; return ( long ) result ; } | Decides the actual wait time in milliseconds by applying a random multiplier to retryAfterSeconds . |
39,016 | public com . google . api . ads . adwords . axis . v201809 . rm . RuleItem [ ] getItems ( ) { return items ; } | Gets the items value for this RuleItemGroup . |
39,017 | public com . google . api . ads . admanager . axis . v201811 . MobileApplicationStore getAppStore ( ) { return appStore ; } | Gets the appStore value for this MobileApplication . |
39,018 | public void setAppStore ( com . google . api . ads . admanager . axis . v201811 . MobileApplicationStore appStore ) { this . appStore = appStore ; } | Sets the appStore value for this MobileApplication . |
39,019 | public com . google . api . ads . admanager . axis . v201811 . MobileApplicationPlatform getPlatform ( ) { return platform ; } | Gets the platform value for this MobileApplication . |
39,020 | public void setPreroll ( com . google . api . ads . admanager . axis . v201811 . BaseAdRuleSlot preroll ) { this . preroll = preroll ; } | Sets the preroll value for this AdRule . |
39,021 | public void setMidroll ( com . google . api . ads . admanager . axis . v201811 . BaseAdRuleSlot midroll ) { this . midroll = midroll ; } | Sets the midroll value for this AdRule . |
39,022 | public void setPostroll ( com . google . api . ads . admanager . axis . v201811 . BaseAdRuleSlot postroll ) { this . postroll = postroll ; } | Sets the postroll value for this AdRule . |
39,023 | public com . google . api . ads . adwords . axis . v201809 . cm . FeedItemSchedule [ ] getFeedItemSchedules ( ) { return feedItemSchedules ; } | Gets the feedItemSchedules value for this FeedItemScheduling . |
39,024 | public com . google . api . ads . admanager . axis . v201902 . BillFrom getReconciliationSource ( ) { return reconciliationSource ; } | Gets the reconciliationSource value for this ReconciliationLineItemReport . |
39,025 | public void setBillableRevenueOverrides ( com . google . api . ads . admanager . axis . v201902 . BillableRevenueOverrides billableRevenueOverrides ) { this . billableRevenueOverrides = billableRevenueOverrides ; } | Sets the billableRevenueOverrides value for this ReconciliationLineItemReport . |
39,026 | public com . google . api . ads . admanager . axis . v201805 . AdUnitParent [ ] getParentPath ( ) { return parentPath ; } | Gets the parentPath value for this AdUnit . |
39,027 | public com . google . api . ads . adwords . axis . v201809 . cm . FeedItemTargetType getTargetType ( ) { return targetType ; } | Gets the targetType value for this FeedItemTarget . |
39,028 | public com . google . api . ads . adwords . axis . v201809 . cm . FunctionArgumentOperand [ ] getLhsOperand ( ) { return lhsOperand ; } | Gets the lhsOperand value for this Function . |
39,029 | public com . google . api . ads . adwords . axis . v201809 . cm . FunctionArgumentOperand [ ] getRhsOperand ( ) { return rhsOperand ; } | Gets the rhsOperand value for this Function . |
39,030 | public com . google . api . ads . adwords . axis . v201809 . cm . OfflineConversionAdjustmentType getAdjustmentType ( ) { return adjustmentType ; } | Gets the adjustmentType value for this OfflineConversionAdjustmentFeed . |
39,031 | public void setHeaderChild ( Stub soapClient , String parentHeaderName , String childName , Object childValue ) { SOAPHeaderElement headerElement = ( SOAPHeaderElement ) getHeader ( soapClient , parentHeaderName ) ; Object headerObject = Preconditions . checkNotNull ( headerElement , "Parent header named %s does not exist" , parentHeaderName ) . getObjectValue ( ) ; try { BeanUtils . setProperty ( headerObject , childName , childValue ) ; } catch ( IllegalAccessException e ) { throw new ServiceException ( "Failed to set header child " + childName , e ) ; } catch ( InvocationTargetException e ) { throw new ServiceException ( "Failed to set header child " + childName , e ) ; } } | Updates the child attribute of headerName named childName to childValue . |
39,032 | public void setSecondaryImageAssets ( com . google . api . ads . admanager . axis . v201811 . CreativeAsset [ ] secondaryImageAssets ) { this . secondaryImageAssets = secondaryImageAssets ; } | Sets the secondaryImageAssets value for this ImageCreative . |
39,033 | public void setIngestSettings ( com . google . api . ads . admanager . axis . v201805 . MediaLocationSettings ingestSettings ) { this . ingestSettings = ingestSettings ; } | Sets the ingestSettings value for this SourceContentConfiguration . |
39,034 | public com . google . api . ads . admanager . axis . v201805 . MediaLocationSettings getDefaultDeliverySettings ( ) { return defaultDeliverySettings ; } | Gets the defaultDeliverySettings value for this SourceContentConfiguration . |
39,035 | public void setDefaultDeliverySettings ( com . google . api . ads . admanager . axis . v201805 . MediaLocationSettings defaultDeliverySettings ) { this . defaultDeliverySettings = defaultDeliverySettings ; } | Sets the defaultDeliverySettings value for this SourceContentConfiguration . |
39,036 | public com . google . api . ads . admanager . axis . v201902 . MasterPlaylistSettings getMasterPlaylistSettings ( ) { return masterPlaylistSettings ; } | Gets the masterPlaylistSettings value for this HlsSettings . |
39,037 | public void setMasterPlaylistSettings ( com . google . api . ads . admanager . axis . v201902 . MasterPlaylistSettings masterPlaylistSettings ) { this . masterPlaylistSettings = masterPlaylistSettings ; } | Sets the masterPlaylistSettings value for this HlsSettings . |
39,038 | public void setKeyword ( com . google . api . ads . adwords . axis . v201809 . cm . Keyword keyword ) { this . keyword = keyword ; } | Sets the keyword value for this KeywordEstimateRequest . |
39,039 | public com . google . api . ads . adwords . axis . v201809 . cm . Money getMaxCpc ( ) { return maxCpc ; } | Gets the maxCpc value for this KeywordEstimateRequest . |
39,040 | static AdGroupCriterion createCriterionForRemove ( ProductPartitionNode node , long adGroupId ) { Preconditions . checkNotNull ( node , "Null node" ) ; AdGroupCriterion adGroupCriterion = new AdGroupCriterion ( ) ; adGroupCriterion . setAdGroupId ( adGroupId ) ; adGroupCriterion . setCriterion ( new ProductPartition ( ) ) ; adGroupCriterion . getCriterion ( ) . setId ( node . getProductPartitionId ( ) ) ; return adGroupCriterion ; } | Returns a new AdGroupCriterion configured for a REMOVE operation . |
39,041 | static AdGroupCriterion createCriterionForAdd ( ProductPartitionNode node , long adGroupId , BiddingStrategyConfiguration biddingConfig ) { Preconditions . checkNotNull ( node , "Null node" ) ; Preconditions . checkNotNull ( biddingConfig , "Null bidding configuration" ) ; AdGroupCriterion adGroupCriterion ; if ( node . isExcludedUnit ( ) ) { adGroupCriterion = new NegativeAdGroupCriterion ( ) ; } else if ( node . isBiddableUnit ( ) ) { BiddableAdGroupCriterion biddableCriterion = new BiddableAdGroupCriterion ( ) ; if ( node . getBid ( ) != null ) { Money bidMoney = new Money ( ) ; bidMoney . setMicroAmount ( node . getBid ( ) ) ; CpcBid cpcBid = new CpcBid ( ) ; cpcBid . setBid ( bidMoney ) ; cpcBid . setCpcBidSource ( BidSource . CRITERION ) ; biddingConfig . setBids ( new Bids [ ] { cpcBid } ) ; biddableCriterion . setBiddingStrategyConfiguration ( biddingConfig ) ; } if ( node . getTrackingUrlTemplate ( ) != null ) { biddableCriterion . setTrackingUrlTemplate ( node . getTrackingUrlTemplate ( ) ) ; } biddableCriterion . setUrlCustomParameters ( createCustomParameters ( node ) ) ; adGroupCriterion = biddableCriterion ; } else { adGroupCriterion = new BiddableAdGroupCriterion ( ) ; } adGroupCriterion . setAdGroupId ( adGroupId ) ; ProductPartition partition = new ProductPartition ( ) ; partition . setId ( node . getProductPartitionId ( ) ) ; if ( node . getParent ( ) != null ) { partition . setParentCriterionId ( node . getParent ( ) . getProductPartitionId ( ) ) ; } partition . setCaseValue ( node . getDimension ( ) ) ; partition . setPartitionType ( node . isUnit ( ) ? ProductPartitionType . UNIT : ProductPartitionType . SUBDIVISION ) ; adGroupCriterion . setCriterion ( partition ) ; return adGroupCriterion ; } | Returns a new AdGroupCriterion configured for an ADD operation . |
39,042 | static AdGroupCriterion createCriterionForSetBiddableUnit ( ProductPartitionNode node , long adGroupId , BiddingStrategyConfiguration biddingConfig ) { Preconditions . checkNotNull ( node , "Null node" ) ; Preconditions . checkNotNull ( biddingConfig , "Null bidding configuration" ) ; Preconditions . checkArgument ( node . isBiddableUnit ( ) , "Node is not a biddable unit" ) ; BiddableAdGroupCriterion biddableCriterion = new BiddableAdGroupCriterion ( ) ; biddableCriterion . setAdGroupId ( adGroupId ) ; ProductPartition partition = new ProductPartition ( ) ; partition . setId ( node . getProductPartitionId ( ) ) ; if ( node . getParent ( ) != null ) { partition . setParentCriterionId ( node . getParent ( ) . getProductPartitionId ( ) ) ; } partition . setCaseValue ( node . getDimension ( ) ) ; partition . setPartitionType ( ProductPartitionType . UNIT ) ; biddableCriterion . setCriterion ( partition ) ; if ( node . getBid ( ) != null ) { Money bidMoney = new Money ( ) ; bidMoney . setMicroAmount ( node . getBid ( ) ) ; CpcBid cpcBid = new CpcBid ( ) ; cpcBid . setBid ( bidMoney ) ; biddingConfig . setBids ( new Bids [ ] { cpcBid } ) ; } else { biddingConfig . setBids ( new Bids [ 0 ] ) ; } biddableCriterion . setBiddingStrategyConfiguration ( biddingConfig ) ; if ( node . getTrackingUrlTemplate ( ) != null ) { biddableCriterion . setTrackingUrlTemplate ( node . getTrackingUrlTemplate ( ) ) ; } biddableCriterion . setUrlCustomParameters ( createCustomParameters ( node ) ) ; return biddableCriterion ; } | Returns a new AdGroupCriterion configured for a SET operation that will set the criterion s bid tracking template and custom parameters . |
39,043 | public com . google . api . ads . adwords . axis . v201809 . cm . Function getMatchingFunction ( ) { return matchingFunction ; } | Gets the matchingFunction value for this CampaignFeed . |
39,044 | public com . google . api . ads . adwords . axis . v201809 . rm . Rule getLeftOperand ( ) { return leftOperand ; } | Gets the leftOperand value for this CombinedRuleUserList . |
39,045 | public com . google . api . ads . adwords . axis . v201809 . rm . Rule getRightOperand ( ) { return rightOperand ; } | Gets the rightOperand value for this CombinedRuleUserList . |
39,046 | public com . google . api . ads . adwords . axis . v201809 . rm . CombinedRuleUserListRuleOperator getRuleOperator ( ) { return ruleOperator ; } | Gets the ruleOperator value for this CombinedRuleUserList . |
39,047 | private static List < AdUnit > getAllAdUnits ( AdManagerServices adManagerServices , AdManagerSession session ) throws RemoteException { List < AdUnit > adUnits = new ArrayList < > ( ) ; InventoryServiceInterface inventoryService = adManagerServices . get ( session , InventoryServiceInterface . class ) ; StatementBuilder statementBuilder = new StatementBuilder ( ) . orderBy ( "id ASC" ) . limit ( StatementBuilder . SUGGESTED_PAGE_LIMIT ) ; int totalResultSetSize = 0 ; do { AdUnitPage page = inventoryService . getAdUnitsByStatement ( statementBuilder . toStatement ( ) ) ; if ( page . getResults ( ) != null ) { totalResultSetSize = page . getTotalResultSetSize ( ) ; Collections . addAll ( adUnits , page . getResults ( ) ) ; } statementBuilder . increaseOffsetBy ( StatementBuilder . SUGGESTED_PAGE_LIMIT ) ; } while ( statementBuilder . getOffset ( ) < totalResultSetSize ) ; return adUnits ; } | Get all ad units . |
39,048 | private static void buildAndDisplayAdUnitTree ( AdUnit root , List < AdUnit > adUnits ) { Map < String , List < AdUnit > > treeMap = new HashMap < String , List < AdUnit > > ( ) ; for ( AdUnit adUnit : adUnits ) { if ( adUnit . getParentId ( ) != null ) { if ( treeMap . get ( adUnit . getParentId ( ) ) == null ) { treeMap . put ( adUnit . getParentId ( ) , new ArrayList < AdUnit > ( ) ) ; } treeMap . get ( adUnit . getParentId ( ) ) . add ( adUnit ) ; } } if ( root != null ) { displayInventoryTree ( root , treeMap ) ; } else { System . out . println ( "No root unit found." ) ; } } | Builds and displays an ad unit tree from ad units underneath the root ad unit . |
39,049 | private static void displayInventoryTree ( AdUnit root , Map < String , List < AdUnit > > treeMap ) { displayInventoryTreeHelper ( root , treeMap , 0 ) ; } | Displays the ad unit tree beginning at the root ad unit . |
39,050 | private static void displayInventoryTreeHelper ( AdUnit root , Map < String , List < AdUnit > > treeMap , int depth ) { System . out . println ( generateTab ( depth ) + root . getName ( ) + " (" + root . getId ( ) + ")" ) ; if ( treeMap . get ( root . getId ( ) ) != null ) { for ( AdUnit child : treeMap . get ( root . getId ( ) ) ) { displayInventoryTreeHelper ( child , treeMap , depth + 1 ) ; } } } | Helper for displaying inventory units . |
39,051 | public com . google . api . ads . admanager . axis . v201811 . Money getLineItemCostPerUnit ( ) { return lineItemCostPerUnit ; } | Gets the lineItemCostPerUnit value for this ReconciliationReportRow . |
39,052 | public com . google . api . ads . admanager . axis . v201811 . Money getContractedRevenue ( ) { return contractedRevenue ; } | Gets the contractedRevenue value for this ReconciliationReportRow . |
39,053 | public void setManualRevenue ( com . google . api . ads . admanager . axis . v201811 . Money manualRevenue ) { this . manualRevenue = manualRevenue ; } | Sets the manualRevenue value for this ReconciliationReportRow . |
39,054 | public com . google . api . ads . admanager . axis . v201811 . Money getReconciledRevenue ( ) { return reconciledRevenue ; } | Gets the reconciledRevenue value for this ReconciliationReportRow . |
39,055 | public String dateToString ( D date ) { try { return String . format ( DATE_PATTERN , ( Integer ) PropertyUtils . getProperty ( date , "year" ) , ( Integer ) PropertyUtils . getProperty ( date , "month" ) , ( Integer ) PropertyUtils . getProperty ( date , "day" ) ) ; } catch ( IllegalAccessException e ) { throw new IllegalStateException ( "Could not access class." , e ) ; } catch ( InvocationTargetException e ) { throw new IllegalStateException ( "Could not get field." , e ) ; } catch ( NoSuchMethodException e ) { throw new IllegalStateException ( "Could not get field." , e ) ; } } | Returns string representation of this date . |
39,056 | public com . google . api . ads . admanager . axis . v201805 . SourceContentConfiguration getSourceContentConfiguration ( ) { return sourceContentConfiguration ; } | Gets the sourceContentConfiguration value for this CdnConfiguration . |
39,057 | public void setNameSource ( com . google . api . ads . admanager . axis . v201808 . ValueSourceType nameSource ) { this . nameSource = nameSource ; } | Sets the nameSource value for this Product . |
39,058 | public com . google . api . ads . admanager . axis . v201808 . RoadblockingType getRoadblockingType ( ) { return roadblockingType ; } | Gets the roadblockingType value for this Product . |
39,059 | public com . google . api . ads . admanager . axis . v201808 . ProductMarketplaceInfo getProductMarketplaceInfo ( ) { return productMarketplaceInfo ; } | Gets the productMarketplaceInfo value for this Product . |
39,060 | public void setProductMarketplaceInfo ( com . google . api . ads . admanager . axis . v201808 . ProductMarketplaceInfo productMarketplaceInfo ) { this . productMarketplaceInfo = productMarketplaceInfo ; } | Sets the productMarketplaceInfo value for this Product . |
39,061 | public com . google . api . ads . adwords . axis . v201809 . cm . DayOfWeek getDayOfWeek ( ) { return dayOfWeek ; } | Gets the dayOfWeek value for this AdSchedule . |
39,062 | public com . google . api . ads . adwords . axis . v201809 . cm . MinuteOfHour getStartMinute ( ) { return startMinute ; } | Gets the startMinute value for this AdSchedule . |
39,063 | public com . google . api . ads . adwords . axis . v201809 . cm . MinuteOfHour getEndMinute ( ) { return endMinute ; } | Gets the endMinute value for this AdSchedule . |
39,064 | public com . google . api . ads . adwords . axis . v201809 . rm . CustomAffinityTokenTokenType getTokenType ( ) { return tokenType ; } | Gets the tokenType value for this CustomAffinityToken . |
39,065 | public com . google . api . ads . admanager . axis . v201902 . CustomCreativeAsset [ ] getCustomCreativeAssets ( ) { return customCreativeAssets ; } | Gets the customCreativeAssets value for this CustomCreative . |
39,066 | public com . google . api . ads . admanager . axis . v201902 . LockedOrientation getLockedOrientation ( ) { return lockedOrientation ; } | Gets the lockedOrientation value for this CustomCreative . |
39,067 | public com . google . api . ads . adwords . axis . v201809 . cm . Money getAmount ( ) { return amount ; } | Gets the amount value for this Budget . |
39,068 | public com . google . api . ads . adwords . axis . v201809 . cm . BudgetBudgetDeliveryMethod getDeliveryMethod ( ) { return deliveryMethod ; } | Gets the deliveryMethod value for this Budget . |
39,069 | private Map < String , Object > readHeaderElements ( AdManagerSession adManagerSession ) { Map < String , Object > mapToFill = Maps . newLinkedHashMap ( ) ; mapToFill . put ( "networkCode" , adManagerSession . getNetworkCode ( ) ) ; mapToFill . put ( "applicationName" , userAgentCombiner . getUserAgent ( adManagerSession . getApplicationName ( ) ) ) ; return mapToFill ; } | Creates a map with data from the user s service session which is needed to set Ad Manager SOAP headers . |
39,070 | public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupAdLabel getAdGroupAdLabel ( ) { return adGroupAdLabel ; } | Gets the adGroupAdLabel value for this Operand . |
39,071 | public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupAd getAdGroupAd ( ) { return adGroupAd ; } | Gets the adGroupAd value for this Operand . |
39,072 | public void setAdGroupBidModifier ( com . google . api . ads . adwords . axis . v201809 . cm . AdGroupBidModifier adGroupBidModifier ) { this . adGroupBidModifier = adGroupBidModifier ; } | Sets the adGroupBidModifier value for this Operand . |
39,073 | public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupCriterionLabel getAdGroupCriterionLabel ( ) { return adGroupCriterionLabel ; } | Gets the adGroupCriterionLabel value for this Operand . |
39,074 | public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupCriterion getAdGroupCriterion ( ) { return adGroupCriterion ; } | Gets the adGroupCriterion value for this Operand . |
39,075 | public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupExtensionSetting getAdGroupExtensionSetting ( ) { return adGroupExtensionSetting ; } | Gets the adGroupExtensionSetting value for this Operand . |
39,076 | public void setAdGroupLabel ( com . google . api . ads . adwords . axis . v201809 . cm . AdGroupLabel adGroupLabel ) { this . adGroupLabel = adGroupLabel ; } | Sets the adGroupLabel value for this Operand . |
39,077 | public com . google . api . ads . adwords . axis . v201809 . cm . AdGroup getAdGroup ( ) { return adGroup ; } | Gets the adGroup value for this Operand . |
39,078 | public com . google . api . ads . adwords . axis . v201809 . cm . Ad getAd ( ) { return ad ; } | Gets the ad value for this Operand . |
39,079 | public com . google . api . ads . adwords . axis . v201809 . cm . Budget getBudget ( ) { return budget ; } | Gets the budget value for this Operand . |
39,080 | public void setCampaignCriterion ( com . google . api . ads . adwords . axis . v201809 . cm . CampaignCriterion campaignCriterion ) { this . campaignCriterion = campaignCriterion ; } | Sets the campaignCriterion value for this Operand . |
39,081 | public com . google . api . ads . adwords . axis . v201809 . cm . CampaignExtensionSetting getCampaignExtensionSetting ( ) { return campaignExtensionSetting ; } | Gets the campaignExtensionSetting value for this Operand . |
39,082 | public com . google . api . ads . adwords . axis . v201809 . cm . CampaignLabel getCampaignLabel ( ) { return campaignLabel ; } | Gets the campaignLabel value for this Operand . |
39,083 | public com . google . api . ads . adwords . axis . v201809 . cm . CampaignSharedSet getCampaignSharedSet ( ) { return campaignSharedSet ; } | Gets the campaignSharedSet value for this Operand . |
39,084 | public void setCampaign ( com . google . api . ads . adwords . axis . v201809 . cm . Campaign campaign ) { this . campaign = campaign ; } | Sets the campaign value for this Operand . |
39,085 | public com . google . api . ads . adwords . axis . v201809 . cm . CustomerExtensionSetting getCustomerExtensionSetting ( ) { return customerExtensionSetting ; } | Gets the customerExtensionSetting value for this Operand . |
39,086 | public com . google . api . ads . adwords . axis . v201809 . cm . ExtensionFeedItem getExtensionFeedItem ( ) { return extensionFeedItem ; } | Gets the extensionFeedItem value for this Operand . |
39,087 | public com . google . api . ads . adwords . axis . v201809 . cm . FeedItemTarget getFeedItemTarget ( ) { return feedItemTarget ; } | Gets the feedItemTarget value for this Operand . |
39,088 | public void setFeedItem ( com . google . api . ads . adwords . axis . v201809 . cm . FeedItem feedItem ) { this . feedItem = feedItem ; } | Sets the feedItem value for this Operand . |
39,089 | public com . google . api . ads . adwords . axis . v201809 . cm . Label getLabel ( ) { return label ; } | Gets the label value for this Operand . |
39,090 | public com . google . api . ads . adwords . axis . v201809 . cm . Media getMedia ( ) { return media ; } | Gets the media value for this Operand . |
39,091 | public com . google . api . ads . adwords . axis . v201809 . cm . SharedCriterion getSharedCriterion ( ) { return sharedCriterion ; } | Gets the sharedCriterion value for this Operand . |
39,092 | public void setSharedSet ( com . google . api . ads . adwords . axis . v201809 . cm . SharedSet sharedSet ) { this . sharedSet = sharedSet ; } | Sets the sharedSet value for this Operand . |
39,093 | public com . google . api . ads . adwords . axis . v201809 . cm . Image getImage ( ) { return image ; } | Gets the image value for this ImageAd . |
39,094 | public com . google . api . ads . admanager . axis . v201902 . TeamAccessType getTeamAccessType ( ) { return teamAccessType ; } | Gets the teamAccessType value for this Team . |
39,095 | public void setTeamAccessType ( com . google . api . ads . admanager . axis . v201902 . TeamAccessType teamAccessType ) { this . teamAccessType = teamAccessType ; } | Sets the teamAccessType value for this Team . |
39,096 | public com . google . api . ads . adwords . axis . v201809 . cm . ExemptionRequest [ ] getExemptionRequests ( ) { return exemptionRequests ; } | Gets the exemptionRequests value for this AdGroupCriterionOperation . |
39,097 | public void setMinute ( com . google . api . ads . admanager . axis . v201811 . MinuteOfHour minute ) { this . minute = minute ; } | Sets the minute value for this TimeOfDay . |
39,098 | public com . google . api . ads . adwords . axis . v201809 . rm . Member [ ] getMembersList ( ) { return membersList ; } | Gets the membersList value for this MutateMembersOperand . |
39,099 | private static List < Long > getAllCustomTargetingKeyIds ( AdManagerServices adManagerServices , AdManagerSession session ) throws RemoteException { List < Long > customTargetingKeyIds = new ArrayList < > ( ) ; CustomTargetingServiceInterface customTargetingService = adManagerServices . get ( session , CustomTargetingServiceInterface . class ) ; StatementBuilder statementBuilder = new StatementBuilder ( ) . orderBy ( "id ASC" ) . limit ( StatementBuilder . SUGGESTED_PAGE_LIMIT ) ; int totalResultSetSize = 0 ; do { CustomTargetingKeyPage page = customTargetingService . getCustomTargetingKeysByStatement ( statementBuilder . toStatement ( ) ) ; if ( page . getResults ( ) != null ) { totalResultSetSize = page . getTotalResultSetSize ( ) ; int i = page . getStartIndex ( ) ; for ( CustomTargetingKey customTargetingKey : page . getResults ( ) ) { System . out . printf ( "%d) Custom targeting key with ID %d, name '%s', and " + "display name '%s' was found.%n" , i ++ , customTargetingKey . getId ( ) , customTargetingKey . getName ( ) , customTargetingKey . getDisplayName ( ) ) ; customTargetingKeyIds . add ( customTargetingKey . getId ( ) ) ; } } statementBuilder . increaseOffsetBy ( StatementBuilder . SUGGESTED_PAGE_LIMIT ) ; } while ( statementBuilder . getOffset ( ) < totalResultSetSize ) ; return customTargetingKeyIds ; } | Gets all custom targeting key IDs . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.