idx
int64
0
165k
question
stringlengths
73
4.15k
target
stringlengths
5
918
len_question
int64
21
890
len_target
int64
3
255
39,000
public com . google . api . ads . adwords . axis . v201809 . cm . BudgetBudgetDeliveryMethod getDeliveryMethod ( ) { return deliveryMethod ; }
Gets the deliveryMethod value for this Budget .
36
10
39,001
private Map < String , Object > readHeaderElements ( AdManagerSession adManagerSession ) { // The order here must match the order of the SoapRequestHeader elements in the WSDL. Map < String , Object > mapToFill = Maps . newLinkedHashMap ( ) ; mapToFill . put ( "networkCode" , adManagerSession . getNetworkCode ( ) ) ; m...
Creates a map with data from the user s service session which is needed to set Ad Manager SOAP headers .
121
23
39,002
public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupAdLabel getAdGroupAdLabel ( ) { return adGroupAdLabel ; }
Gets the adGroupAdLabel value for this Operand .
39
13
39,003
public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupAd getAdGroupAd ( ) { return adGroupAd ; }
Gets the adGroupAd value for this Operand .
36
12
39,004
public void setAdGroupBidModifier ( com . google . api . ads . adwords . axis . v201809 . cm . AdGroupBidModifier adGroupBidModifier ) { this . adGroupBidModifier = adGroupBidModifier ; }
Sets the adGroupBidModifier value for this Operand .
60
15
39,005
public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupCriterionLabel getAdGroupCriterionLabel ( ) { return adGroupCriterionLabel ; }
Gets the adGroupCriterionLabel value for this Operand .
42
14
39,006
public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupCriterion getAdGroupCriterion ( ) { return adGroupCriterion ; }
Gets the adGroupCriterion value for this Operand .
39
13
39,007
public com . google . api . ads . adwords . axis . v201809 . cm . AdGroupExtensionSetting getAdGroupExtensionSetting ( ) { return adGroupExtensionSetting ; }
Gets the adGroupExtensionSetting value for this Operand .
42
14
39,008
public void setAdGroupLabel ( com . google . api . ads . adwords . axis . v201809 . cm . AdGroupLabel adGroupLabel ) { this . adGroupLabel = adGroupLabel ; }
Sets the adGroupLabel value for this Operand .
45
12
39,009
public com . google . api . ads . adwords . axis . v201809 . cm . AdGroup getAdGroup ( ) { return adGroup ; }
Gets the adGroup value for this Operand .
33
11
39,010
public com . google . api . ads . adwords . axis . v201809 . cm . Ad getAd ( ) { return ad ; }
Gets the ad value for this Operand .
30
10
39,011
public com . google . api . ads . adwords . axis . v201809 . cm . Budget getBudget ( ) { return budget ; }
Gets the budget value for this Operand .
31
10
39,012
public void setCampaignCriterion ( com . google . api . ads . adwords . axis . v201809 . cm . CampaignCriterion campaignCriterion ) { this . campaignCriterion = campaignCriterion ; }
Sets the campaignCriterion value for this Operand .
45
12
39,013
public com . google . api . ads . adwords . axis . v201809 . cm . CampaignExtensionSetting getCampaignExtensionSetting ( ) { return campaignExtensionSetting ; }
Gets the campaignExtensionSetting value for this Operand .
39
13
39,014
public com . google . api . ads . adwords . axis . v201809 . cm . CampaignLabel getCampaignLabel ( ) { return campaignLabel ; }
Gets the campaignLabel value for this Operand .
33
11
39,015
public com . google . api . ads . adwords . axis . v201809 . cm . CampaignSharedSet getCampaignSharedSet ( ) { return campaignSharedSet ; }
Gets the campaignSharedSet value for this Operand .
39
13
39,016
public void setCampaign ( com . google . api . ads . adwords . axis . v201809 . cm . Campaign campaign ) { this . campaign = campaign ; }
Sets the campaign value for this Operand .
35
10
39,017
public com . google . api . ads . adwords . axis . v201809 . cm . CustomerExtensionSetting getCustomerExtensionSetting ( ) { return customerExtensionSetting ; }
Gets the customerExtensionSetting value for this Operand .
39
13
39,018
public com . google . api . ads . adwords . axis . v201809 . cm . ExtensionFeedItem getExtensionFeedItem ( ) { return extensionFeedItem ; }
Gets the extensionFeedItem value for this Operand .
37
12
39,019
public com . google . api . ads . adwords . axis . v201809 . cm . FeedItemTarget getFeedItemTarget ( ) { return feedItemTarget ; }
Gets the feedItemTarget value for this Operand .
36
12
39,020
public void setFeedItem ( com . google . api . ads . adwords . axis . v201809 . cm . FeedItem feedItem ) { this . feedItem = feedItem ; }
Sets the feedItem value for this Operand .
40
11
39,021
public com . google . api . ads . adwords . axis . v201809 . cm . Label getLabel ( ) { return label ; }
Gets the label value for this Operand .
30
10
39,022
public com . google . api . ads . adwords . axis . v201809 . cm . Media getMedia ( ) { return media ; }
Gets the media value for this Operand .
30
10
39,023
public com . google . api . ads . adwords . axis . v201809 . cm . SharedCriterion getSharedCriterion ( ) { return sharedCriterion ; }
Gets the sharedCriterion value for this Operand .
37
12
39,024
public void setSharedSet ( com . google . api . ads . adwords . axis . v201809 . cm . SharedSet sharedSet ) { this . sharedSet = sharedSet ; }
Sets the sharedSet value for this Operand .
41
11
39,025
public com . google . api . ads . adwords . axis . v201809 . cm . Image getImage ( ) { return image ; }
Gets the image value for this ImageAd .
30
10
39,026
public com . google . api . ads . admanager . axis . v201902 . TeamAccessType getTeamAccessType ( ) { return teamAccessType ; }
Gets the teamAccessType value for this Team .
34
11
39,027
public void setTeamAccessType ( com . google . api . ads . admanager . axis . v201902 . TeamAccessType teamAccessType ) { this . teamAccessType = teamAccessType ; }
Sets the teamAccessType value for this Team .
43
11
39,028
public com . google . api . ads . adwords . axis . v201809 . cm . ExemptionRequest [ ] getExemptionRequests ( ) { return exemptionRequests ; }
Gets the exemptionRequests value for this AdGroupCriterionOperation .
39
15
39,029
public void setMinute ( com . google . api . ads . admanager . axis . v201811 . MinuteOfHour minute ) { this . minute = minute ; }
Sets the minute value for this TimeOfDay .
36
11
39,030
public com . google . api . ads . adwords . axis . v201809 . rm . Member [ ] getMembersList ( ) { return membersList ; }
Gets the membersList value for this MutateMembersOperand .
34
14
39,031
private static List < Long > getAllCustomTargetingKeyIds ( AdManagerServices adManagerServices , AdManagerSession session ) throws RemoteException { List < Long > customTargetingKeyIds = new ArrayList <> ( ) ; // Get the CustomTargetingService. CustomTargetingServiceInterface customTargetingService = adManagerServices ...
Gets all custom targeting key IDs .
393
8
39,032
@ Override public void initialize ( HttpRequest httpRequest ) throws IOException { // Do not throw if execute fails, since Axis will handle unmarshalling the // fault. httpRequest . setThrowExceptionOnExecuteError ( false ) ; // For consistency with the default Axis HTTPSender and CommonsHTTPSender, do not // follow re...
Sets attributes of the request that are common to all requests for this handler .
107
16
39,033
private HttpRequest createHttpRequest ( MessageContext msgContext ) throws SOAPException , IOException { Message requestMessage = Preconditions . checkNotNull ( msgContext . getRequestMessage ( ) , "Null request message on message context" ) ; // Construct the output stream. String contentType = requestMessage . getCon...
Creates an HTTP request based on the message context .
366
11
39,034
private void setHttpRequestHeaders ( MessageContext msgContext , HttpRequest httpRequest ) { @ SuppressWarnings ( "unchecked" ) Map < Object , Object > requestHeaders = ( Map < Object , Object > ) msgContext . getProperty ( HTTPConstants . REQUEST_HEADERS ) ; if ( requestHeaders != null ) { for ( Entry < Object , Objec...
Sets HTTP request headers based on the Axis message context .
302
12
39,035
private Message createResponseMessage ( HttpResponse httpResponse ) throws IOException , AxisFault { int statusCode = httpResponse . getStatusCode ( ) ; String contentType = httpResponse . getContentType ( ) ; // The conditions below duplicate the logic in CommonsHTTPSender and HTTPSender. boolean shouldParseResponse =...
Returns a new Axis Message based on the contents of the HTTP response .
449
14
39,036
public void setAdvertiser ( com . google . api . ads . admanager . axis . v201902 . ProposalCompanyAssociation advertiser ) { this . advertiser = advertiser ; }
Sets the advertiser value for this Proposal .
42
11
39,037
public com . google . api . ads . admanager . axis . v201902 . ProposalCompanyAssociation [ ] getAgencies ( ) { return agencies ; }
Gets the agencies value for this Proposal .
35
10
39,038
public com . google . api . ads . admanager . axis . v201902 . SalespersonSplit [ ] getSecondarySalespeople ( ) { return secondarySalespeople ; }
Gets the secondarySalespeople value for this Proposal .
37
12
39,039
public void setSecondarySalespeople ( com . google . api . ads . admanager . axis . v201902 . SalespersonSplit [ ] secondarySalespeople ) { this . secondarySalespeople = secondarySalespeople ; }
Sets the secondarySalespeople value for this Proposal .
46
12
39,040
public com . google . api . ads . admanager . axis . v201902 . ProposalApprovalStatus getApprovalStatus ( ) { return approvalStatus ; }
Gets the approvalStatus value for this Proposal .
37
11
39,041
public com . google . api . ads . admanager . axis . v201902 . DateTime getActualExpiryTime ( ) { return actualExpiryTime ; }
Gets the actualExpiryTime value for this Proposal .
38
14
39,042
public void setActualExpiryTime ( com . google . api . ads . admanager . axis . v201902 . DateTime actualExpiryTime ) { this . actualExpiryTime = actualExpiryTime ; }
Sets the actualExpiryTime value for this Proposal .
51
14
39,043
public com . google . api . ads . admanager . axis . v201902 . RetractionDetails getLastRetractionDetails ( ) { return lastRetractionDetails ; }
Gets the lastRetractionDetails value for this Proposal .
36
13
39,044
public void setLastRetractionDetails ( com . google . api . ads . admanager . axis . v201902 . RetractionDetails lastRetractionDetails ) { this . lastRetractionDetails = lastRetractionDetails ; }
Sets the lastRetractionDetails value for this Proposal .
47
13
39,045
public com . google . api . ads . adwords . axis . v201809 . cm . GeoPoint getGeoPoint ( ) { return geoPoint ; }
Gets the geoPoint value for this Proximity .
34
12
39,046
public void setRadiusDistanceUnits ( com . google . api . ads . adwords . axis . v201809 . cm . ProximityDistanceUnits radiusDistanceUnits ) { this . radiusDistanceUnits = radiusDistanceUnits ; }
Sets the radiusDistanceUnits value for this Proximity .
53
14
39,047
public com . google . api . ads . adwords . axis . v201809 . cm . Address getAddress ( ) { return address ; }
Gets the address value for this Proximity .
30
11
39,048
public com . google . api . ads . adwords . axis . v201809 . mcm . ConversionTrackingSettings getConversionTrackingSettings ( ) { return conversionTrackingSettings ; }
Gets the conversionTrackingSettings value for this Customer .
41
12
39,049
public void setRemarketingSettings ( com . google . api . ads . adwords . axis . v201809 . mcm . RemarketingSettings remarketingSettings ) { this . remarketingSettings = remarketingSettings ; }
Sets the remarketingSettings value for this Customer .
48
11
39,050
public com . google . api . ads . admanager . axis . v201902 . DateRange getTimeSeriesDateRange ( ) { return timeSeriesDateRange ; }
Gets the timeSeriesDateRange value for this TimeSeries .
35
13
39,051
public void setTimeSeriesDateRange ( com . google . api . ads . admanager . axis . v201902 . DateRange timeSeriesDateRange ) { this . timeSeriesDateRange = timeSeriesDateRange ; }
Sets the timeSeriesDateRange value for this TimeSeries .
46
13
39,052
public com . google . api . ads . admanager . axis . v201902 . PeriodType getValuePeriodType ( ) { return valuePeriodType ; }
Gets the valuePeriodType value for this TimeSeries .
35
13
39,053
public void setValuePeriodType ( com . google . api . ads . admanager . axis . v201902 . PeriodType valuePeriodType ) { this . valuePeriodType = valuePeriodType ; }
Sets the valuePeriodType value for this TimeSeries .
46
13
39,054
public void setNetBillableRevenueOverride ( com . google . api . ads . admanager . axis . v201902 . Money netBillableRevenueOverride ) { this . netBillableRevenueOverride = netBillableRevenueOverride ; }
Sets the netBillableRevenueOverride value for this BillableRevenueOverrides .
53
20
39,055
public void setGrossBillableRevenueOverride ( com . google . api . ads . admanager . axis . v201902 . Money grossBillableRevenueOverride ) { this . grossBillableRevenueOverride = grossBillableRevenueOverride ; }
Sets the grossBillableRevenueOverride value for this BillableRevenueOverrides .
54
20
39,056
public com . google . api . ads . adwords . axis . v201809 . rm . UserListLogicalRuleOperator getOperator ( ) { return operator ; }
Gets the operator value for this UserListLogicalRule .
37
13
39,057
public com . google . api . ads . adwords . axis . v201809 . rm . LogicalUserListOperand [ ] getRuleOperands ( ) { return ruleOperands ; }
Gets the ruleOperands value for this UserListLogicalRule .
41
15
39,058
public com . google . api . ads . admanager . axis . v201902 . CreativeTargeting [ ] getCreativeTargetings ( ) { return creativeTargetings ; }
Gets the creativeTargetings value for this LineItem .
37
12
39,059
public void setContentStatement ( com . google . api . ads . admanager . axis . v201805 . Statement contentStatement ) { this . contentStatement = contentStatement ; }
Sets the contentStatement value for this ExcludeContentFromContentBundle .
37
16
39,060
public com . google . api . ads . admanager . axis . v201808 . Money getNetRate ( ) { return netRate ; }
Gets the netRate value for this ReconciliationLineItemReport .
30
15
39,061
public void setNetRate ( com . google . api . ads . admanager . axis . v201808 . Money netRate ) { this . netRate = netRate ; }
Sets the netRate value for this ReconciliationLineItemReport .
37
15
39,062
public void setNetBillableRevenue ( com . google . api . ads . admanager . axis . v201808 . Money netBillableRevenue ) { this . netBillableRevenue = netBillableRevenue ; }
Sets the netBillableRevenue value for this ReconciliationLineItemReport .
49
18
39,063
public com . google . api . ads . admanager . axis . v201808 . Money getGrossBillableRevenue ( ) { return grossBillableRevenue ; }
Gets the grossBillableRevenue value for this ReconciliationLineItemReport .
37
18
39,064
public void setGrossBillableRevenue ( com . google . api . ads . admanager . axis . v201808 . Money grossBillableRevenue ) { this . grossBillableRevenue = grossBillableRevenue ; }
Sets the grossBillableRevenue value for this ReconciliationLineItemReport .
50
18
39,065
public com . google . api . ads . admanager . axis . v201805 . DaiIngestErrorReason getReason ( ) { return reason ; }
Gets the reason value for this DaiIngestError .
32
12
39,066
public void setReason ( com . google . api . ads . admanager . axis . v201805 . DaiIngestErrorReason reason ) { this . reason = reason ; }
Sets the reason value for this DaiIngestError .
37
12
39,067
public void setCreativeTemplateVariableValues ( com . google . api . ads . admanager . axis . v201805 . BaseCreativeTemplateVariableValue [ ] creativeTemplateVariableValues ) { this . creativeTemplateVariableValues = creativeTemplateVariableValues ; }
Sets the creativeTemplateVariableValues value for this TemplateCreative .
53
14
39,068
public void setTimeWindows ( com . google . api . ads . admanager . axis . v201811 . DateTime [ ] timeWindows ) { this . timeWindows = timeWindows ; }
Sets the timeWindows value for this ForecastBreakdownOptions .
40
14
39,069
public void setNegotiationStatus ( com . google . api . ads . admanager . axis . v201902 . NegotiationStatus negotiationStatus ) { this . negotiationStatus = negotiationStatus ; }
Sets the negotiationStatus value for this ProposalMarketplaceInfo .
40
14
39,070
public com . google . api . ads . admanager . axis . v201811 . Technology [ ] getMobileCarriers ( ) { return mobileCarriers ; }
Gets the mobileCarriers value for this MobileCarrierTargeting .
34
15
39,071
public void setApprovalStatus ( com . google . api . ads . admanager . axis . v201902 . AudienceSegmentApprovalStatus approvalStatus ) { this . approvalStatus = approvalStatus ; }
Sets the approvalStatus value for this ThirdPartyAudienceSegment .
46
15
39,072
public com . google . api . ads . adwords . axis . v201809 . rm . PolicyViolationErrorPart [ ] getViolatingParts ( ) { return violatingParts ; }
Gets the violatingParts value for this PolicyViolationError .
39
13
39,073
public void setParentPath ( com . google . api . ads . admanager . axis . v201902 . AdUnitParent [ ] parentPath ) { this . parentPath = parentPath ; }
Sets the parentPath value for this AdUnit .
41
11
39,074
public void setAdUnitSizes ( com . google . api . ads . admanager . axis . v201902 . AdUnitSize [ ] adUnitSizes ) { this . adUnitSizes = adUnitSizes ; }
Sets the adUnitSizes value for this AdUnit .
49
13
39,075
public com . google . api . ads . admanager . axis . v201902 . ValueSourceType getAdSenseSettingsSource ( ) { return adSenseSettingsSource ; }
Gets the adSenseSettingsSource value for this AdUnit .
36
13
39,076
public com . google . api . ads . admanager . axis . v201902 . SmartSizeMode getSmartSizeMode ( ) { return smartSizeMode ; }
Gets the smartSizeMode value for this AdUnit .
34
12
39,077
public com . google . api . ads . admanager . axis . v201808 . NegotiationStatus getNegotiationStatus ( ) { return negotiationStatus ; }
Gets the negotiationStatus value for this ProposalMarketplaceInfo .
33
14
39,078
public com . google . api . ads . admanager . axis . v201808 . Technology [ ] getOperatingSystems ( ) { return operatingSystems ; }
Gets the operatingSystems value for this OperatingSystemTargeting .
35
14
39,079
public com . google . api . ads . admanager . axis . v201808 . VastRedirectType getVastRedirectType ( ) { return vastRedirectType ; }
Gets the vastRedirectType value for this VastRedirectCreative .
39
17
39,080
public void setChannelExclusivity ( com . google . api . ads . adwords . axis . v201809 . cm . ShoppingProductChannelExclusivity channelExclusivity ) { this . channelExclusivity = channelExclusivity ; }
Sets the channelExclusivity value for this ProductChannelExclusivity .
52
16
39,081
public void setBudget ( com . google . api . ads . admanager . axis . v201811 . Money budget ) { this . budget = budget ; }
Sets the budget value for this BuyerRfp .
34
12
39,082
public com . google . api . ads . admanager . axis . v201811 . CreativePlaceholder [ ] getCreativePlaceholders ( ) { return creativePlaceholders ; }
Gets the creativePlaceholders value for this BuyerRfp .
37
14
39,083
public void setRfpType ( com . google . api . ads . admanager . axis . v201811 . RfpType rfpType ) { this . rfpType = rfpType ; }
Sets the rfpType value for this BuyerRfp .
43
14
39,084
public com . google . api . ads . admanager . axis . v201805 . VideoPosition getVideoPosition ( ) { return videoPosition ; }
Gets the videoPosition value for this VideoPositionTarget .
31
12
39,085
private Set < OrderBy > copyOrderingSet ( ) { Set < OrderBy > orderingCopy = Sets . newLinkedHashSet ( ) ; for ( OrderBy order : this . ordering ) { OrderBy copyOrder = new OrderBy ( ) ; copyOrder . setField ( order . getField ( ) ) ; copyOrder . setSortOrder ( order . getSortOrder ( ) ) ; orderingCopy . add ( copyOrde...
Copies the whole set of OrderBy objects by creating new instances of each one in the given set .
98
21
39,086
private SelectorBuilderImpl singleValuePredicate ( String field , String propertyValue , PredicateOperator operator ) { Predicate predicate = new Predicate ( ) ; predicate . setField ( field ) ; predicate . setOperator ( operator ) ; String [ ] values = new String [ 1 ] ; values [ 0 ] = propertyValue ; predicate . setV...
Adds a predicate for the specified field property value and operator .
92
12
39,087
public com . google . api . ads . adwords . axis . v201809 . o . StatsEstimate getMin ( ) { return min ; }
Gets the min value for this KeywordEstimate .
32
12
39,088
public com . google . api . ads . adwords . axis . v201809 . o . StatsEstimate getMax ( ) { return max ; }
Gets the max value for this KeywordEstimate .
32
12
39,089
public void setReconciliationSource ( com . google . api . ads . admanager . axis . v201805 . BillFrom reconciliationSource ) { this . reconciliationSource = reconciliationSource ; }
Sets the reconciliationSource value for this ReconciliationLineItemReport .
41
15
39,090
public com . google . api . ads . admanager . axis . v201805 . BillableRevenueOverrides getBillableRevenueOverrides ( ) { return billableRevenueOverrides ; }
Gets the billableRevenueOverrides value for this ReconciliationLineItemReport .
46
20
39,091
public com . google . api . ads . admanager . axis . v201902 . LineItem getLineItem ( ) { return lineItem ; }
Gets the lineItem value for this ProspectiveLineItem .
31
13
39,092
public void setLineItem ( com . google . api . ads . admanager . axis . v201902 . LineItem lineItem ) { this . lineItem = lineItem ; }
Sets the lineItem value for this ProspectiveLineItem .
38
13
39,093
public com . google . api . ads . admanager . axis . v201805 . DateTime getErrorTime ( ) { return errorTime ; }
Gets the errorTime value for this OfflineError .
31
11
39,094
public void setErrorTime ( com . google . api . ads . admanager . axis . v201805 . DateTime errorTime ) { this . errorTime = errorTime ; }
Sets the errorTime value for this OfflineError .
38
11
39,095
public com . google . api . ads . admanager . axis . v201811 . DeliveryRateType getDeliveryRateType ( ) { return deliveryRateType ; }
Gets the deliveryRateType value for this LineItemSummary .
34
13
39,096
public void setDeliveryRateType ( com . google . api . ads . admanager . axis . v201811 . DeliveryRateType deliveryRateType ) { this . deliveryRateType = deliveryRateType ; }
Sets the deliveryRateType value for this LineItemSummary .
43
13
39,097
public com . google . api . ads . admanager . axis . v201811 . LineItemType getLineItemType ( ) { return lineItemType ; }
Gets the lineItemType value for this LineItemSummary .
34
13
39,098
public void setLineItemType ( com . google . api . ads . admanager . axis . v201811 . LineItemType lineItemType ) { this . lineItemType = lineItemType ; }
Sets the lineItemType value for this LineItemSummary .
43
13
39,099
public void setEnvironmentType ( com . google . api . ads . admanager . axis . v201811 . EnvironmentType environmentType ) { this . environmentType = environmentType ; }
Sets the environmentType value for this LineItemSummary .
38
12