idx
int64
0
165k
question
stringlengths
73
4.15k
target
stringlengths
5
918
len_question
int64
21
890
len_target
int64
3
255
39,600
public com . google . api . ads . adwords . axis . v201809 . cm . LevelOfDetail getLevelOfDetail ( ) { return levelOfDetail ; }
Gets the levelOfDetail value for this DimensionProperties .
39
14
39,601
public com . google . api . ads . adwords . axis . v201809 . cm . PageFeed getPageFeed ( ) { return pageFeed ; }
Gets the pageFeed value for this DynamicSearchAdsSetting .
33
14
39,602
public void setFlashAssetSize ( com . google . api . ads . admanager . axis . v201811 . Size flashAssetSize ) { this . flashAssetSize = flashAssetSize ; }
Sets the flashAssetSize value for this FlashRedirectOverlayCreative .
41
17
39,603
public com . google . api . ads . admanager . axis . v201805 . OriginForwardingType getOriginForwardingType ( ) { return originForwardingType ; }
Gets the originForwardingType value for this SecurityPolicySettings .
37
14
39,604
public void setOriginForwardingType ( com . google . api . ads . admanager . axis . v201805 . OriginForwardingType originForwardingType ) { this . originForwardingType = originForwardingType ; }
Sets the originForwardingType value for this SecurityPolicySettings .
48
14
39,605
public com . google . api . ads . admanager . axis . v201902 . CreativePolicyViolation [ ] getPolicyViolations ( ) { return policyViolations ; }
Gets the policyViolations value for this Creative .
37
11
39,606
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 parse...
Locates the target fields in the specified XML and uses a wildcard XPath to identify the first matching node and return it in a map .
223
29
39,607
public com . google . api . ads . adwords . axis . v201809 . cm . RichMediaAdRichMediaAdType getRichMediaAdType ( ) { return richMediaAdType ; }
Gets the richMediaAdType value for this RichMediaAd .
42
14
39,608
public com . google . api . ads . adwords . axis . v201809 . rm . CustomAffinityType getType ( ) { return type ; }
Gets the type value for this CustomAffinity .
33
11
39,609
public com . google . api . ads . adwords . axis . v201809 . cm . AdRotationMode getAdRotationMode ( ) { return adRotationMode ; }
Gets the adRotationMode value for this AdGroupAdRotationMode .
39
17
39,610
public com . google . api . ads . adwords . axis . v201809 . cm . PredicateOperator getOperator ( ) { return operator ; }
Gets the operator value for this Predicate .
34
10
39,611
public com . google . api . ads . adwords . axis . v201809 . cm . ShoppingProductChannel getChannel ( ) { return channel ; }
Gets the channel value for this ProductChannel .
32
10
39,612
public com . google . api . ads . admanager . axis . v201902 . AdSenseSettingsAdType getAdType ( ) { return adType ; }
Gets the adType value for this AdSenseSettings .
34
12
39,613
public void setFontFamily ( com . google . api . ads . admanager . axis . v201902 . AdSenseSettingsFontFamily fontFamily ) { this . fontFamily = fontFamily ; }
Sets the fontFamily value for this AdSenseSettings .
41
12
39,614
public com . google . api . ads . admanager . axis . v201902 . AdSenseSettingsFontSize getFontSize ( ) { return fontSize ; }
Gets the fontSize value for this AdSenseSettings .
32
12
39,615
public void setFontSize ( com . google . api . ads . admanager . axis . v201902 . AdSenseSettingsFontSize fontSize ) { this . fontSize = fontSize ; }
Sets the fontSize value for this AdSenseSettings .
39
12
39,616
public com . google . api . ads . adwords . axis . v201809 . o . MonthlySearchVolume [ ] getValue ( ) { return value ; }
Gets the value value for this MonthlySearchVolumeAttribute .
34
12
39,617
public com . google . api . ads . adwords . axis . v201809 . cm . AppConversionAppPlatform getAppPlatform ( ) { return appPlatform ; }
Gets the appPlatform value for this AppConversion .
36
12
39,618
public com . google . api . ads . adwords . axis . v201809 . cm . AppConversionAppConversionType getAppConversionType ( ) { return appConversionType ; }
Gets the appConversionType value for this AppConversion .
42
14
39,619
public com . google . api . ads . admanager . axis . v201805 . SecurityPolicySettings getSecurityPolicy ( ) { return securityPolicy ; }
Gets the securityPolicy value for this MediaLocationSettings .
32
12
39,620
public void setSecurityPolicy ( com . google . api . ads . admanager . axis . v201805 . SecurityPolicySettings securityPolicy ) { this . securityPolicy = securityPolicy ; }
Sets the securityPolicy value for this MediaLocationSettings .
39
12
39,621
public com . google . api . ads . adwords . axis . v201809 . rm . UserListLogicalRule [ ] getRules ( ) { return rules ; }
Gets the rules value for this LogicalUserList .
36
12
39,622
public com . google . api . ads . admanager . axis . v201902 . GrpTargetGender getTargetGender ( ) { return targetGender ; }
Gets the targetGender value for this GrpSettings .
33
12
39,623
public void setTimeUnit ( com . google . api . ads . admanager . axis . v201808 . TimeUnit timeUnit ) { this . timeUnit = timeUnit ; }
Sets the timeUnit value for this FrequencyCap .
38
11
39,624
public com . google . api . ads . admanager . axis . v201808 . ViewabilityProvider getViewabilityProvider ( ) { return viewabilityProvider ; }
Gets the viewabilityProvider value for this Company .
34
11
39,625
public com . google . api . ads . admanager . axis . v201808 . Technology [ ] getTargetedDeviceCategories ( ) { return targetedDeviceCategories ; }
Gets the targetedDeviceCategories value for this DeviceCategoryTargeting .
37
15
39,626
public void setTargetedDeviceCategories ( com . google . api . ads . admanager . axis . v201808 . Technology [ ] targetedDeviceCategories ) { this . targetedDeviceCategories = targetedDeviceCategories ; }
Sets the targetedDeviceCategories value for this DeviceCategoryTargeting .
48
15
39,627
public com . google . api . ads . admanager . axis . v201808 . Technology [ ] getExcludedDeviceCategories ( ) { return excludedDeviceCategories ; }
Gets the excludedDeviceCategories value for this DeviceCategoryTargeting .
37
15
39,628
public com . google . api . ads . admanager . axis . v201811 . BreakdownForecast getForecast ( ) { return forecast ; }
Gets the forecast value for this ForecastBreakdownEntry .
32
13
39,629
public void setForecast ( com . google . api . ads . admanager . axis . v201811 . BreakdownForecast forecast ) { this . forecast = forecast ; }
Sets the forecast value for this ForecastBreakdownEntry .
37
13
39,630
public void setVideoPosition ( com . google . api . ads . admanager . axis . v201808 . VideoPosition videoPosition ) { this . videoPosition = videoPosition ; }
Sets the videoPosition value for this VideoPositionTarget .
38
12
39,631
public com . google . api . ads . admanager . axis . v201808 . VideoBumperType getVideoBumperType ( ) { return videoBumperType ; }
Gets the videoBumperType value for this VideoPositionTarget .
37
14
39,632
public void setVideoBumperType ( com . google . api . ads . admanager . axis . v201808 . VideoBumperType videoBumperType ) { this . videoBumperType = videoBumperType ; }
Sets the videoBumperType value for this VideoPositionTarget .
48
14
39,633
public com . google . api . ads . admanager . axis . v201808 . VideoPositionWithinPod getVideoPositionWithinPod ( ) { return videoPositionWithinPod ; }
Gets the videoPositionWithinPod value for this VideoPositionTarget .
37
14
39,634
public com . google . api . ads . admanager . axis . v201811 . CompanyCreditStatus getCreditStatus ( ) { return creditStatus ; }
Gets the creditStatus value for this Company .
32
10
39,635
public void setCreativeTargetings ( com . google . api . ads . admanager . axis . v201805 . CreativeTargeting [ ] creativeTargetings ) { this . creativeTargetings = creativeTargetings ; }
Sets the creativeTargetings value for this LineItem .
46
12
39,636
public com . google . api . ads . admanager . axis . v201811 . AdRuleSlotBehavior getSlotBehavior ( ) { return slotBehavior ; }
Gets the slotBehavior value for this BaseAdRuleSlot .
36
14
39,637
public void setSlotBehavior ( com . google . api . ads . admanager . axis . v201811 . AdRuleSlotBehavior slotBehavior ) { this . slotBehavior = slotBehavior ; }
Sets the slotBehavior value for this BaseAdRuleSlot .
45
14
39,638
public void setChoices ( com . google . api . ads . admanager . axis . v201808 . ListStringCreativeTemplateVariableVariableChoice [ ] choices ) { this . choices = choices ; }
Sets the choices value for this ListStringCreativeTemplateVariable .
43
14
39,639
public void setSourceContentConfiguration ( com . google . api . ads . admanager . axis . v201808 . SourceContentConfiguration sourceContentConfiguration ) { this . sourceContentConfiguration = sourceContentConfiguration ; }
Sets the sourceContentConfiguration value for this CdnConfiguration .
43
13
39,640
public com . google . api . ads . admanager . axis . v201808 . CdnConfigurationStatus getCdnConfigurationStatus ( ) { return cdnConfigurationStatus ; }
Gets the cdnConfigurationStatus value for this CdnConfiguration .
37
14
39,641
public void setCdnConfigurationStatus ( com . google . api . ads . admanager . axis . v201808 . CdnConfigurationStatus cdnConfigurationStatus ) { this . cdnConfigurationStatus = cdnConfigurationStatus ; }
Sets the cdnConfigurationStatus value for this CdnConfiguration .
48
14
39,642
public void setResults ( com . google . api . ads . admanager . axis . v201808 . NativeStyle [ ] results ) { this . results = results ; }
Sets the results value for this NativeStylePage .
36
11
39,643
public com . google . api . ads . adwords . axis . v201809 . ch . ChangeStatus getFeedChangeStatus ( ) { return feedChangeStatus ; }
Gets the feedChangeStatus value for this FeedChangeData .
35
13
39,644
public com . google . api . ads . adwords . axis . v201809 . rm . CustomerMatchUploadKeyType getUploadKeyType ( ) { return uploadKeyType ; }
Gets the uploadKeyType value for this CrmBasedUserList .
38
15
39,645
public com . google . api . ads . adwords . axis . v201809 . rm . CrmDataSourceType getDataSourceType ( ) { return dataSourceType ; }
Gets the dataSourceType value for this CrmBasedUserList .
38
15
39,646
public com . google . api . ads . adwords . axis . v201809 . rm . DataUploadResult getDataUploadResult ( ) { return dataUploadResult ; }
Gets the dataUploadResult value for this CrmBasedUserList .
36
15
39,647
public void setMimeTypes ( com . google . api . ads . admanager . axis . v201902 . AssetCreativeTemplateVariableMimeType [ ] mimeTypes ) { this . mimeTypes = mimeTypes ; }
Sets the mimeTypes value for this AssetCreativeTemplateVariable .
50
15
39,648
public com . google . api . ads . adwords . axis . v201809 . ch . ChangeStatus getAdGroupChangeStatus ( ) { return adGroupChangeStatus ; }
Gets the adGroupChangeStatus value for this AdGroupChangeData .
37
15
39,649
public com . google . api . ads . admanager . axis . v201808 . Technology [ ] getTargetedDeviceCapabilities ( ) { return targetedDeviceCapabilities ; }
Gets the targetedDeviceCapabilities value for this DeviceCapabilityTargeting .
37
16
39,650
public void setTargetedDeviceCapabilities ( com . google . api . ads . admanager . axis . v201808 . Technology [ ] targetedDeviceCapabilities ) { this . targetedDeviceCapabilities = targetedDeviceCapabilities ; }
Sets the targetedDeviceCapabilities value for this DeviceCapabilityTargeting .
48
16
39,651
public com . google . api . ads . admanager . axis . v201805 . ListStringCreativeTemplateVariableVariableChoice [ ] getChoices ( ) { return choices ; }
Gets the choices value for this ListStringCreativeTemplateVariable .
38
14
39,652
public void setLicenseWindowStartDateTime ( com . google . api . ads . admanager . axis . v201805 . DateTime licenseWindowStartDateTime ) { this . licenseWindowStartDateTime = licenseWindowStartDateTime ; }
Sets the licenseWindowStartDateTime value for this SetTopBoxCreative .
50
17
39,653
public com . google . api . ads . adwords . axis . v201809 . cm . GeoRestriction getGeoRestriction ( ) { return geoRestriction ; }
Gets the geoRestriction value for this FeedItemGeoRestriction .
37
16
39,654
public void setFrequencyCapBehavior ( com . google . api . ads . admanager . axis . v201902 . FrequencyCapBehavior frequencyCapBehavior ) { this . frequencyCapBehavior = frequencyCapBehavior ; }
Sets the frequencyCapBehavior value for this AdRule .
49
13
39,655
public com . google . api . ads . admanager . axis . v201902 . BaseAdRuleSlot getMidroll ( ) { return midroll ; }
Gets the midroll value for this AdRule .
33
11
39,656
public com . google . api . ads . admanager . axis . v201902 . BaseAdRuleSlot getPostroll ( ) { return postroll ; }
Gets the postroll value for this AdRule .
33
11
39,657
public com . google . api . ads . admanager . axis . v201811 . CustomTargetingValueMatchType getMatchType ( ) { return matchType ; }
Gets the matchType value for this CustomTargetingValue .
35
13
39,658
public void setMatchType ( com . google . api . ads . admanager . axis . v201811 . CustomTargetingValueMatchType matchType ) { this . matchType = matchType ; }
Sets the matchType value for this CustomTargetingValue .
42
13
39,659
private Map < String , Object > readHeaderElements ( AdWordsSession adWordsSession ) { // The order here must match the order of the SoapHeader elements in the WSDL. Map < String , Object > mapToFill = Maps . newLinkedHashMap ( ) ; mapToFill . put ( "clientCustomerId" , adWordsSession . getClientCustomerId ( ) ) ; mapT...
Creates a map with data from the user s service session which is needed to set AdWords SOAP headers .
192
23
39,660
public com . google . api . ads . adwords . axis . v201809 . cm . AdUnionId getAdUnionId ( ) { return adUnionId ; }
Gets the adUnionId value for this TemplateAd .
36
12
39,661
public com . google . api . ads . adwords . axis . v201809 . cm . TemplateElement [ ] getTemplateElements ( ) { return templateElements ; }
Gets the templateElements value for this TemplateAd .
37
12
39,662
public com . google . api . ads . adwords . axis . v201809 . cm . Image getAdAsImage ( ) { return adAsImage ; }
Gets the adAsImage value for this TemplateAd .
34
12
39,663
public void setTargetedDateTimeRanges ( com . google . api . ads . admanager . axis . v201811 . DateTimeRange [ ] targetedDateTimeRanges ) { this . targetedDateTimeRanges = targetedDateTimeRanges ; }
Sets the targetedDateTimeRanges value for this DateTimeRangeTargeting .
54
17
39,664
public void setProvider ( com . google . api . ads . admanager . axis . v201811 . GrpProvider provider ) { this . provider = provider ; }
Sets the provider value for this GrpSettings .
35
11
39,665
public com . google . api . ads . adwords . axis . v201809 . cm . LocationTargetingStatus getTargetingStatus ( ) { return targetingStatus ; }
Gets the targetingStatus value for this Location .
36
10
39,666
public com . google . api . ads . adwords . axis . v201809 . cm . Location [ ] getParentLocations ( ) { return parentLocations ; }
Gets the parentLocations value for this Location .
36
11
39,667
public void setTargetingDimension ( com . google . api . ads . admanager . axis . v201805 . TargetingDimension targetingDimension ) { this . targetingDimension = targetingDimension ; }
Sets the targetingDimension value for this TargetingCriteriaBreakdown .
45
16
39,668
public void setCustomCreativeAssets ( com . google . api . ads . admanager . axis . v201811 . CustomCreativeAsset [ ] customCreativeAssets ) { this . customCreativeAssets = customCreativeAssets ; }
Sets the customCreativeAssets value for this CustomCreative .
54
15
39,669
public BatchJobUploadResponse uploadIncrementalBatchJobOperations ( final BatchJobMutateRequestInterface request , final boolean isLastRequest , BatchJobUploadStatus batchJobUploadStatus ) throws BatchJobException { Preconditions . checkNotNull ( batchJobUploadStatus , "Null batch job upload status" ) ; Preconditions ....
Incrementally uploads a batch job s operations and returns the response .
844
15
39,670
private URI initiateResumableUpload ( URI batchJobUploadUrl ) throws BatchJobException { // This follows the Google Cloud Storage guidelines for initiating resumable uploads: // https://cloud.google.com/storage/docs/resumable-uploads-xml HttpRequestFactory requestFactory = httpTransport . createRequestFactory ( req -> ...
Initiates the resumable upload by sending a request to Google Cloud Storage .
286
17
39,671
private ByteArrayContent postProcessContent ( ByteArrayContent content , boolean isFirstRequest , boolean isLastRequest ) throws IOException { if ( isFirstRequest && isLastRequest ) { return content ; } String serializedRequest = Streams . readAll ( content . getInputStream ( ) , UTF_8 ) ; serializedRequest = trimStart...
Post - processes the request content to conform to the requirements of Google Cloud Storage .
245
16
39,672
public com . google . api . ads . adwords . axis . v201809 . cm . ProductCanonicalConditionCondition getCondition ( ) { return condition ; }
Gets the condition value for this ProductCanonicalCondition .
35
13
39,673
public com . google . api . ads . adwords . axis . v201809 . cm . CustomParameter [ ] getParameters ( ) { return parameters ; }
Gets the parameters value for this CustomParameters .
33
10
39,674
public void setFrequencyCap ( com . google . api . ads . admanager . axis . v201811 . FrequencyCap frequencyCap ) { this . frequencyCap = frequencyCap ; }
Sets the frequencyCap value for this LabelFrequencyCap .
39
13
39,675
public void setTargetedContentMetadata ( com . google . api . ads . admanager . axis . v201811 . ContentMetadataKeyHierarchyTargeting [ ] targetedContentMetadata ) { this . targetedContentMetadata = targetedContentMetadata ; }
Sets the targetedContentMetadata value for this ContentTargeting .
56
14
39,676
public com . google . api . ads . admanager . axis . v201811 . VideoDeliveryType getDeliveryType ( ) { return deliveryType ; }
Gets the deliveryType value for this VideoMetadata .
32
12
39,677
public com . google . api . ads . admanager . axis . v201902 . ForecastBreakdown [ ] getBreakdowns ( ) { return breakdowns ; }
Gets the breakdowns value for this AvailabilityForecast .
35
12
39,678
public void setBreakdowns ( com . google . api . ads . admanager . axis . v201902 . ForecastBreakdown [ ] breakdowns ) { this . breakdowns = breakdowns ; }
Sets the breakdowns value for this AvailabilityForecast .
42
12
39,679
public void setContendingLineItems ( com . google . api . ads . admanager . axis . v201902 . ContendingLineItem [ ] contendingLineItems ) { this . contendingLineItems = contendingLineItems ; }
Sets the contendingLineItems value for this AvailabilityForecast .
50
14
39,680
public void setDemographicBreakdowns ( com . google . api . ads . admanager . axis . v201902 . GrpDemographicBreakdown [ ] demographicBreakdowns ) { this . demographicBreakdowns = demographicBreakdowns ; }
Sets the demographicBreakdowns value for this AvailabilityForecast .
49
13
39,681
public com . google . api . ads . adwords . axis . v201809 . cm . AssetType getAssetSubtype ( ) { return assetSubtype ; }
Gets the assetSubtype value for this Asset .
35
11
39,682
public void setAssetStatus ( com . google . api . ads . adwords . axis . v201809 . cm . AssetStatus assetStatus ) { this . assetStatus = assetStatus ; }
Sets the assetStatus value for this Asset .
40
10
39,683
public com . google . api . ads . adwords . axis . v201809 . cm . AdStrength getAdStrength ( ) { return adStrength ; }
Gets the adStrength value for this AdStrengthInfo .
33
12
39,684
public com . google . api . ads . adwords . axis . v201809 . cm . ProductPartitionType getPartitionType ( ) { return partitionType ; }
Gets the partitionType value for this ProductPartition .
36
12
39,685
public void setCaseValue ( com . google . api . ads . adwords . axis . v201809 . cm . ProductDimension caseValue ) { this . caseValue = caseValue ; }
Sets the caseValue value for this ProductPartition .
41
12
39,686
public void setArtworkType ( com . google . api . ads . admanager . axis . v201805 . RichMediaStudioCreativeArtworkType artworkType ) { this . artworkType = artworkType ; }
Sets the artworkType value for this BaseRichMediaStudioCreative .
45
15
39,687
public void setBillingAttribute ( com . google . api . ads . admanager . axis . v201805 . RichMediaStudioCreativeBillingAttribute billingAttribute ) { this . billingAttribute = billingAttribute ; }
Sets the billingAttribute value for this BaseRichMediaStudioCreative .
45
15
39,688
public void setRichMediaStudioChildAssetProperties ( com . google . api . ads . admanager . axis . v201805 . RichMediaStudioChildAssetProperty [ ] richMediaStudioChildAssetProperties ) { this . richMediaStudioChildAssetProperties = richMediaStudioChildAssetProperties ; }
Sets the richMediaStudioChildAssetProperties value for this BaseRichMediaStudioCreative .
64
20
39,689
public com . google . api . ads . adwords . axis . v201809 . rm . UserListConversionTypeCategory getCategory ( ) { return category ; }
Gets the category value for this UserListConversionType .
35
13
39,690
public void setStoreSalesUploadCommonMetadata ( com . google . api . ads . adwords . axis . v201809 . rm . StoreSalesUploadCommonMetadata storeSalesUploadCommonMetadata ) { this . storeSalesUploadCommonMetadata = storeSalesUploadCommonMetadata ; }
Sets the storeSalesUploadCommonMetadata value for this UploadMetadata .
60
16
39,691
public void setCampaignEstimateRequests ( com . google . api . ads . adwords . axis . v201809 . o . CampaignEstimateRequest [ ] campaignEstimateRequests ) { this . campaignEstimateRequests = campaignEstimateRequests ; }
Sets the campaignEstimateRequests value for this TrafficEstimatorSelector .
56
18
39,692
@ Override public String prettyPrint ( String xml ) { if ( xml == null ) { return xml ; } Source xmlSource = sanitizeXml ( xml ) ; if ( xmlSource == null ) { xmlSource = new StreamSource ( new StringReader ( xml ) ) ; } String formattedXml = formatXml ( xmlSource ) ; return formattedXml != null ? formattedXml : xml ; }
Transforms XML into a pretty - printed format with sensitive strings removed . If there is an error initializing formatting the XML message the formatting step will be skipped and the unformatted XML with sensitive strings removed will be returned .
87
45
39,693
public com . google . api . ads . adwords . axis . v201809 . cm . Location getLocation ( ) { return location ; }
Gets the location value for this LocationCriterion .
30
11
39,694
public com . google . api . ads . admanager . axis . v201808 . ProgressStep [ ] getSteps ( ) { return steps ; }
Gets the steps value for this WorkflowProgress .
32
11
39,695
public void setSubmissionTime ( com . google . api . ads . admanager . axis . v201808 . DateTime submissionTime ) { this . submissionTime = submissionTime ; }
Sets the submissionTime value for this WorkflowProgress .
39
12
39,696
public static long getClientCustomerId ( AdWordsSession session ) { String accountIdStr = session . getClientCustomerId ( ) ; // clientCustomerId might be absent from AdWordsSession, e.g., for // ReportDefinitionService.getReportFields() and CustomerService.getCustomers(). // In this case, use ONE virtual account to ha...
Get client customer ID from the adwords session and convert it to Long type .
156
16
39,697
public com . google . api . ads . adwords . axis . v201809 . cm . LabelAttribute getAttribute ( ) { return attribute ; }
Gets the attribute value for this Label .
31
9
39,698
public void setImageAssets ( com . google . api . ads . admanager . axis . v201808 . CreativeAsset [ ] imageAssets ) { this . imageAssets = imageAssets ; }
Sets the imageAssets value for this AspectRatioImageCreative .
44
17
39,699
public com . google . api . ads . admanager . axis . v201902 . VideoMetadata getMetadata ( ) { return metadata ; }
Gets the metadata value for this VideoRedirectAsset .
31
12