idx
int64
0
165k
question
stringlengths
73
4.15k
target
stringlengths
5
918
len_question
int64
21
890
len_target
int64
3
255
39,200
public com . google . api . ads . admanager . axis . v201805 . Money getCostInOrderCurrency ( ) { return costInOrderCurrency ; }
Gets the costInOrderCurrency value for this LineItemCreativeAssociationStats .
36
19
39,201
public com . google . api . ads . admanager . axis . v201808 . DayOfWeek getDayOfWeek ( ) { return dayOfWeek ; }
Gets the dayOfWeek value for this DayPart .
34
12
39,202
public void setDayOfWeek ( com . google . api . ads . admanager . axis . v201808 . DayOfWeek dayOfWeek ) { this . dayOfWeek = dayOfWeek ; }
Sets the dayOfWeek value for this DayPart .
43
12
39,203
public void setAdSenseSettingsSource ( com . google . api . ads . admanager . axis . v201808 . ValueSourceType adSenseSettingsSource ) { this . adSenseSettingsSource = adSenseSettingsSource ; }
Sets the adSenseSettingsSource value for this AdUnit .
47
13
39,204
public com . google . api . ads . admanager . axis . v201808 . LabelFrequencyCap [ ] getAppliedLabelFrequencyCaps ( ) { return appliedLabelFrequencyCaps ; }
Gets the appliedLabelFrequencyCaps value for this AdUnit .
44
15
39,205
public void setUserList ( com . google . api . ads . adwords . axis . v201809 . rm . UserList userList ) { this . userList = userList ; }
Sets the userList value for this LogicalUserListOperand .
40
15
39,206
public com . google . api . ads . admanager . axis . v201808 . GoalType getGoalType ( ) { return goalType ; }
Gets the goalType value for this Goal .
31
10
39,207
public void setGoalType ( com . google . api . ads . admanager . axis . v201808 . GoalType goalType ) { this . goalType = goalType ; }
Sets the goalType value for this Goal .
38
10
39,208
public com . google . api . ads . admanager . axis . v201805 . AdSenseSettingsFontFamily getFontFamily ( ) { return fontFamily ; }
Gets the fontFamily value for this AdSenseSettings .
34
12
39,209
public void setActions ( com . google . api . ads . admanager . axis . v201902 . ProgressAction [ ] actions ) { this . actions = actions ; }
Sets the actions value for this ProgressRule .
37
10
39,210
private Object createSoapHeader ( AdManagerServiceDescriptor adsServiceDescriptor ) throws InstantiationException , IllegalAccessException , ClassNotFoundException { return Class . forName ( adsServiceDescriptor . getInterfaceClass ( ) . getPackage ( ) . getName ( ) + ".SoapRequestHeader" ) . newInstance ( ) ; }
Creates a SOAP header .
75
7
39,211
public com . google . api . ads . adwords . axis . v201809 . cm . Level getLevel ( ) { return level ; }
Gets the level value for this FrequencyCap .
30
10
39,212
public void setPolicyViolations ( com . google . api . ads . admanager . axis . v201811 . CreativePolicyViolation [ ] policyViolations ) { this . policyViolations = policyViolations ; }
Sets the policyViolations value for this Creative .
46
11
39,213
public StatementBuilder withBindVariableValue ( String key , Value value ) { queryBuilder . withBindVariableValue ( key , value ) ; return this ; }
Adds a bind variable value to the statement .
32
9
39,214
public com . google . api . ads . adwords . axis . v201809 . cm . ConstantOperandUnit getUnit ( ) { return unit ; }
Gets the unit value for this ConstantOperand .
33
11
39,215
public void setCostInOrderCurrency ( com . google . api . ads . admanager . axis . v201811 . Money costInOrderCurrency ) { this . costInOrderCurrency = costInOrderCurrency ; }
Sets the costInOrderCurrency value for this LineItemCreativeAssociationStats .
49
19
39,216
public void setLogoImage ( com . google . api . ads . adwords . axis . v201809 . cm . Image logoImage ) { this . logoImage = logoImage ; }
Sets the logoImage value for this ResponsiveDisplayAd .
40
13
39,217
public com . google . api . ads . adwords . axis . v201809 . cm . Image getSquareMarketingImage ( ) { return squareMarketingImage ; }
Gets the squareMarketingImage value for this ResponsiveDisplayAd .
36
15
39,218
public void setDynamicDisplayAdSettings ( com . google . api . ads . adwords . axis . v201809 . cm . DynamicSettings dynamicDisplayAdSettings ) { this . dynamicDisplayAdSettings = dynamicDisplayAdSettings ; }
Sets the dynamicDisplayAdSettings value for this ResponsiveDisplayAd .
48
15
39,219
public com . google . api . ads . adwords . axis . v201809 . cm . DisplayAdFormatSetting getFormatSetting ( ) { return formatSetting ; }
Gets the formatSetting value for this ResponsiveDisplayAd .
35
13
39,220
private String getOAuth2Header ( OAuth2Compatible oAuth2Compatible ) throws OAuthException { if ( adsLibConfiguration . isAutoRefreshOAuth2TokenEnabled ( ) ) { try { oAuth2Helper . refreshCredential ( oAuth2Compatible . getOAuth2Credential ( ) ) ; } catch ( IOException e ) { throw new OAuthException ( "OAuth2 token cou...
Gets the OAuth2 header .
127
8
39,221
public com . google . api . ads . admanager . axis . v201902 . AdCategoryDto getAdCategory ( ) { return adCategory ; }
Gets the adCategory value for this Label .
33
10
39,222
public void setAdCategory ( com . google . api . ads . admanager . axis . v201902 . AdCategoryDto adCategory ) { this . adCategory = adCategory ; }
Sets the adCategory value for this Label .
40
10
39,223
public com . google . api . ads . admanager . axis . v201902 . LabelType [ ] getTypes ( ) { return types ; }
Gets the types value for this Label .
31
9
39,224
public void setTypes ( com . google . api . ads . admanager . axis . v201902 . LabelType [ ] types ) { this . types = types ; }
Sets the types value for this Label .
36
9
39,225
public com . google . api . ads . admanager . axis . v201805 . BaseAdRuleSlot getPreroll ( ) { return preroll ; }
Gets the preroll value for this AdRule .
33
11
39,226
public com . google . api . ads . admanager . axis . v201805 . SkippableAdType getSkippableAdType ( ) { return skippableAdType ; }
Gets the skippableAdType value for this BaseVideoCreative .
40
16
39,227
public void setSkippableAdType ( com . google . api . ads . admanager . axis . v201805 . SkippableAdType skippableAdType ) { this . skippableAdType = skippableAdType ; }
Sets the skippableAdType value for this BaseVideoCreative .
53
16
39,228
public void setSubmissionDateTime ( com . google . api . ads . admanager . axis . v201902 . DateTime submissionDateTime ) { this . submissionDateTime = submissionDateTime ; }
Sets the submissionDateTime value for this ReconciliationOrderReport .
43
15
39,229
public void setHtml5Features ( com . google . api . ads . admanager . axis . v201902 . Html5Feature [ ] html5Features ) { this . html5Features = html5Features ; }
Sets the html5Features value for this SwiffyFallbackAsset .
47
16
39,230
public com . google . api . ads . adwords . axis . v201809 . billing . BudgetOrder [ ] getValue ( ) { return value ; }
Gets the value value for this BudgetOrderReturnValue .
33
12
39,231
public com . google . api . ads . adwords . axis . v201809 . ch . ChangeStatus getCampaignChangeStatus ( ) { return campaignChangeStatus ; }
Gets the campaignChangeStatus value for this CampaignChangeData .
35
13
39,232
public com . google . api . ads . adwords . axis . v201809 . ch . AdGroupChangeData [ ] getChangedAdGroups ( ) { return changedAdGroups ; }
Gets the changedAdGroups value for this CampaignChangeData .
41
14
39,233
public void setTargetGender ( com . google . api . ads . admanager . axis . v201808 . GrpTargetGender targetGender ) { this . targetGender = targetGender ; }
Sets the targetGender value for this GrpSettings .
40
12
39,234
public com . google . api . ads . admanager . axis . v201808 . GrpProvider getProvider ( ) { return provider ; }
Gets the provider value for this GrpSettings .
30
11
39,235
public com . google . api . ads . admanager . axis . v201902 . TrafficTimeSeriesFilterCriteria getFilterCriteria ( ) { return filterCriteria ; }
Gets the filterCriteria value for this TrafficForecastAdjustment .
37
15
39,236
public void setFilterCriteria ( com . google . api . ads . admanager . axis . v201902 . TrafficTimeSeriesFilterCriteria filterCriteria ) { this . filterCriteria = filterCriteria ; }
Sets the filterCriteria value for this TrafficForecastAdjustment .
46
15
39,237
public com . google . api . ads . admanager . axis . v201902 . TrafficForecastAdjustmentSegment [ ] getForecastAdjustmentSegments ( ) { return forecastAdjustmentSegments ; }
Gets the forecastAdjustmentSegments value for this TrafficForecastAdjustment .
45
17
39,238
public void setForecastAdjustmentSegments ( com . google . api . ads . admanager . axis . v201902 . TrafficForecastAdjustmentSegment [ ] forecastAdjustmentSegments ) { this . forecastAdjustmentSegments = forecastAdjustmentSegments ; }
Sets the forecastAdjustmentSegments value for this TrafficForecastAdjustment .
58
17
39,239
public com . google . api . ads . adwords . axis . v201809 . cm . Money getMaxCpcBidCeiling ( ) { return maxCpcBidCeiling ; }
Gets the maxCpcBidCeiling value for this TargetOutrankShareBiddingScheme .
44
23
39,240
public void setMoneyWithCurrencyValue ( com . google . api . ads . adwords . axis . v201809 . cm . MoneyWithCurrency moneyWithCurrencyValue ) { this . moneyWithCurrencyValue = moneyWithCurrencyValue ; }
Sets the moneyWithCurrencyValue value for this FeedItemAttributeValue .
54
16
39,241
public com . google . api . ads . adwords . axis . v201809 . o . KeywordEstimate [ ] getKeywordEstimates ( ) { return keywordEstimates ; }
Gets the keywordEstimates value for this AdGroupEstimate .
40
14
39,242
public com . google . api . ads . admanager . axis . v201805 . Date getDate ( ) { return date ; }
Gets the date value for this DateTime .
28
10
39,243
public void setDate ( com . google . api . ads . admanager . axis . v201805 . Date date ) { this . date = date ; }
Sets the date value for this DateTime .
33
10
39,244
public com . google . api . ads . adwords . axis . v201809 . cm . BidSource getCpmBidSource ( ) { return cpmBidSource ; }
Gets the cpmBidSource value for this CpmBid .
39
16
39,245
public com . google . api . ads . adwords . axis . v201809 . cm . ConversionOptimizerEligibilityRejectionReason [ ] getRejectionReasons ( ) { return rejectionReasons ; }
Gets the rejectionReasons value for this ConversionOptimizerEligibility .
46
17
39,246
public com . google . api . ads . adwords . axis . v201809 . cm . Money getTotalAdjustments ( ) { return totalAdjustments ; }
Gets the totalAdjustments value for this BudgetOrder .
34
12
39,247
public com . google . api . ads . adwords . axis . v201809 . billing . BudgetOrderRequest getLastRequest ( ) { return lastRequest ; }
Gets the lastRequest value for this BudgetOrder .
34
11
39,248
public void setRules ( com . google . api . ads . admanager . axis . v201811 . ProgressRule [ ] rules ) { this . rules = rules ; }
Sets the rules value for this ProgressStep .
36
10
39,249
private HttpHeaders createHeaders ( String reportUrl , String version ) throws AuthenticationException { HttpHeaders httpHeaders = new HttpHeaders ( ) ; httpHeaders . setAuthorization ( authorizationHeaderProvider . getAuthorizationHeader ( session , reportUrl ) ) ; httpHeaders . setUserAgent ( userAgentCombiner . getU...
Creates the http headers object for this request populated from data in the session .
405
16
39,250
public com . google . api . ads . adwords . axis . v201809 . cm . VanityPharmaDisplayUrlMode getVanityPharmaDisplayUrlMode ( ) { return vanityPharmaDisplayUrlMode ; }
Gets the vanityPharmaDisplayUrlMode value for this VanityPharma .
46
16
39,251
public com . google . api . ads . adwords . axis . v201809 . cm . VanityPharmaText getVanityPharmaText ( ) { return vanityPharmaText ; }
Gets the vanityPharmaText value for this VanityPharma .
40
14
39,252
public com . google . api . ads . admanager . axis . v201805 . Size [ ] getSizes ( ) { return sizes ; }
Gets the sizes value for this LineItemCreativeAssociation .
31
14
39,253
public com . google . api . ads . adwords . axis . v201809 . cm . Operand getResult ( ) { return result ; }
Gets the result value for this MutateResult .
31
11
39,254
public com . google . api . ads . adwords . axis . v201809 . cm . ErrorList getErrorList ( ) { return errorList ; }
Gets the errorList value for this MutateResult .
33
12
39,255
public void setTargetedPositions ( com . google . api . ads . admanager . axis . v201811 . VideoPositionTarget [ ] targetedPositions ) { this . targetedPositions = targetedPositions ; }
Sets the targetedPositions value for this VideoPositionTargeting .
46
14
39,256
public void setLineItemCostPerUnit ( com . google . api . ads . admanager . axis . v201805 . Money lineItemCostPerUnit ) { this . lineItemCostPerUnit = lineItemCostPerUnit ; }
Sets the lineItemCostPerUnit value for this ReconciliationReportRow .
49
17
39,257
public void setDfpRevenue ( com . google . api . ads . admanager . axis . v201805 . Money dfpRevenue ) { this . dfpRevenue = dfpRevenue ; }
Sets the dfpRevenue value for this ReconciliationReportRow .
45
16
39,258
public com . google . api . ads . admanager . axis . v201805 . Money getThirdPartyRevenue ( ) { return thirdPartyRevenue ; }
Gets the thirdPartyRevenue value for this ReconciliationReportRow .
34
16
39,259
public void setThirdPartyRevenue ( com . google . api . ads . admanager . axis . v201805 . Money thirdPartyRevenue ) { this . thirdPartyRevenue = thirdPartyRevenue ; }
Sets the thirdPartyRevenue value for this ReconciliationReportRow .
45
16
39,260
public com . google . api . ads . admanager . axis . v201805 . Money getManualRevenue ( ) { return manualRevenue ; }
Gets the manualRevenue value for this ReconciliationReportRow .
33
15
39,261
public void setValue ( com . google . api . ads . adwords . axis . v201809 . rm . OfflineDataUpload [ ] value ) { this . value = value ; }
Sets the value value for this OfflineDataUploadReturnValue .
39
13
39,262
public com . google . api . ads . adwords . axis . v201809 . cm . GenderGenderType getGenderType ( ) { return genderType ; }
Gets the genderType value for this Gender .
34
10
39,263
public com . google . api . ads . admanager . axis . v201811 . CreativeSizeType getCreativeSizeType ( ) { return creativeSizeType ; }
Gets the creativeSizeType value for this CreativePlaceholder .
35
13
39,264
public void setCreativeSizeType ( com . google . api . ads . admanager . axis . v201811 . CreativeSizeType creativeSizeType ) { this . creativeSizeType = creativeSizeType ; }
Sets the creativeSizeType value for this CreativePlaceholder .
44
13
39,265
public com . google . api . ads . admanager . axis . v201808 . AdUnitTargeting [ ] getTargetedAdUnits ( ) { return targetedAdUnits ; }
Gets the targetedAdUnits value for this InventoryTargeting .
40
14
39,266
public void setTargetedAdUnits ( com . google . api . ads . admanager . axis . v201808 . AdUnitTargeting [ ] targetedAdUnits ) { this . targetedAdUnits = targetedAdUnits ; }
Sets the targetedAdUnits value for this InventoryTargeting .
51
14
39,267
public com . google . api . ads . admanager . axis . v201808 . AdUnitTargeting [ ] getExcludedAdUnits ( ) { return excludedAdUnits ; }
Gets the excludedAdUnits value for this InventoryTargeting .
40
14
39,268
public com . google . api . ads . adwords . axis . v201809 . ch . CustomerSyncErrorReason getReason ( ) { return reason ; }
Gets the reason value for this CustomerSyncError .
33
11
39,269
public com . google . api . ads . adwords . axis . v201809 . cm . CustomerFeed getOperand ( ) { return operand ; }
Gets the operand value for this CustomerFeedOperation .
33
12
39,270
public void setMetadata ( com . google . api . ads . admanager . axis . v201805 . VideoMetadata metadata ) { this . metadata = metadata ; }
Sets the metadata value for this VideoRedirectAsset .
36
12
39,271
public com . google . api . ads . adwords . axis . v201809 . cm . Money getTargetCpa ( ) { return targetCpa ; }
Gets the targetCpa value for this TargetCpaBiddingScheme .
34
17
39,272
public com . google . api . ads . adwords . axis . v201809 . cm . Money getMaxCpcBidFloor ( ) { return maxCpcBidFloor ; }
Gets the maxCpcBidFloor value for this TargetCpaBiddingScheme .
42
21
39,273
public com . google . api . ads . admanager . axis . v201805 . InventoryTargeting getInventoryRule ( ) { return inventoryRule ; }
Gets the inventoryRule value for this FirstPartyAudienceSegmentRule .
33
16
39,274
public com . google . api . ads . adwords . axis . v201809 . cm . BidSource getBidSource ( ) { return bidSource ; }
Gets the bidSource value for this CpaBid .
34
13
39,275
public void setScalableType ( com . google . api . ads . admanager . axis . v201805 . ScalableType scalableType ) { this . scalableType = scalableType ; }
Sets the scalableType value for this VideoMetadata .
41
12
39,276
public com . google . api . ads . admanager . axis . v201805 . Size getSize ( ) { return size ; }
Gets the size value for this VideoMetadata .
28
11
39,277
public void setSize ( com . google . api . ads . admanager . axis . v201805 . Size size ) { this . size = size ; }
Sets the size value for this VideoMetadata .
33
11
39,278
public com . google . api . ads . admanager . axis . v201805 . MimeType getMimeType ( ) { return mimeType ; }
Gets the mimeType value for this VideoMetadata .
34
13
39,279
public void setMimeType ( com . google . api . ads . admanager . axis . v201805 . MimeType mimeType ) { this . mimeType = mimeType ; }
Sets the mimeType value for this VideoMetadata .
43
13
39,280
public static InputStream wrapString ( String str , Charset charset ) { return new ByteArrayInputStream ( str . getBytes ( charset ) ) ; }
Wraps the provided string into an InputStream .
35
10
39,281
public static String readAll ( final InputStream inputStream , Charset charset ) throws IOException { return new ByteSource ( ) { @ Override public InputStream openStream ( ) { return inputStream ; } } . asCharSource ( charset ) . read ( ) ; }
Reads all input into memory close the steam and return as a String . Reads the input
60
19
39,282
public static void write ( String str , final OutputStream outputStream , Charset charset ) throws IOException { new ByteSink ( ) { @ Override public OutputStream openStream ( ) { return outputStream ; } } . asCharSink ( charset ) . write ( str ) ; }
Writes the specified string to stream with buffering and closes the stream .
64
15
39,283
public com . google . api . ads . admanager . axis . v201805 . AdExchangeEnvironment getAdExchangeEnvironment ( ) { return adExchangeEnvironment ; }
Gets the adExchangeEnvironment value for this BuyerRfp .
37
15
39,284
public com . google . api . ads . admanager . axis . v201805 . RfpType getRfpType ( ) { return rfpType ; }
Gets the rfpType value for this BuyerRfp .
34
14
39,285
public com . google . api . ads . admanager . axis . v201811 . CreativePlaceholder getCreative ( ) { return creative ; }
Gets the creative value for this ForecastBreakdownTarget .
31
13
39,286
public void setCreative ( com . google . api . ads . admanager . axis . v201811 . CreativePlaceholder creative ) { this . creative = creative ; }
Sets the creative value for this ForecastBreakdownTarget .
36
13
39,287
public com . google . api . ads . admanager . axis . v201902 . ValueSourceType getNameSource ( ) { return nameSource ; }
Gets the nameSource value for this Product .
32
10
39,288
public void setProductType ( com . google . api . ads . admanager . axis . v201902 . ProductType productType ) { this . productType = productType ; }
Sets the productType value for this Product .
38
10
39,289
public com . google . api . ads . admanager . axis . v201902 . Targeting getBuiltInTargeting ( ) { return builtInTargeting ; }
Gets the builtInTargeting value for this Product .
35
12
39,290
public com . google . api . ads . admanager . axis . v201811 . AudienceSegmentDataProvider getDataProvider ( ) { return dataProvider ; }
Gets the dataProvider value for this AudienceSegment .
35
13
39,291
public void setDataProvider ( com . google . api . ads . admanager . axis . v201811 . AudienceSegmentDataProvider dataProvider ) { this . dataProvider = dataProvider ; }
Sets the dataProvider value for this AudienceSegment .
42
13
39,292
public com . google . api . ads . adwords . axis . v201809 . rm . AddressInfo getAddressInfo ( ) { return addressInfo ; }
Gets the addressInfo value for this Member .
33
10
39,293
public com . google . api . ads . adwords . axis . v201809 . cm . CriterionUse getCriterionUse ( ) { return criterionUse ; }
Gets the criterionUse value for this AdGroupCriterion .
35
13
39,294
public com . google . api . ads . adwords . axis . v201809 . cm . Label [ ] getLabels ( ) { return labels ; }
Gets the labels value for this AdGroupCriterion .
33
12
39,295
public com . google . api . ads . admanager . axis . v201805 . PremiumFeature getPremiumFeature ( ) { return premiumFeature ; }
Gets the premiumFeature value for this PremiumRateValue .
31
12
39,296
public void setClickTags ( com . google . api . ads . admanager . axis . v201805 . ClickTag [ ] clickTags ) { this . clickTags = clickTags ; }
Sets the clickTags value for this CreativeAsset .
40
11
39,297
public com . google . api . ads . adwords . axis . v201809 . cm . QueryErrorReason getReason ( ) { return reason ; }
Gets the reason value for this QueryError .
32
10
39,298
private static SharedBiddingStrategy createBiddingStrategy ( AdWordsServicesInterface adWordsServices , AdWordsSession session ) throws RemoteException { // Get the BiddingStrategyService, which loads the required classes. BiddingStrategyServiceInterface biddingStrategyService = adWordsServices . get ( session , Biddin...
Creates the bidding strategy object .
408
7
39,299
private static Budget createSharedBudget ( AdWordsServicesInterface adWordsServices , AdWordsSession session ) throws RemoteException { // Get the BudgetService, which loads the required classes. BudgetServiceInterface budgetService = adWordsServices . get ( session , BudgetServiceInterface . class ) ; // Create a shar...
Creates an explicit budget to be used only to create the Campaign .
274
14