We were earlier fetching Google Adwords Report using java APIS with the 
following fields:-

*Date,Cost,Impressions,Clicks,CostPerConversion,Ctr,ActiveViewCtr,AverageCpv,ConversionRate,AdGroupId,AdGroupName,AdGroupStatus,CampaignId,CampaignName,CampaignStatus,Conversions,Engagements,AveragePosition,CpcBid,AdNetworkType1,AdNetworkType2,Device*

Now as per new business requirement following fields need to be fetched in 
addition to which we were earlier fetching:-
*SearchAbsoluteTopImpressionShare,SearchExactMatchImpressionShare,SearchImpressionShare,SearchRankLostAbsoluteTopImpressionShare,SearchRankLostImpressionShare,SearchRankLostTopImpressionShare,SearchTopImpressionShare*

There is One Compulsory field missing, and we are not able to find out 
which is that field

Here is the exception stacktrace


[hdfs@stage google]$ java -cp 'lib/googleAdwordsSDK-0.0.1-
SNAPSHOT.jar:lib/*' sdf.googleAdwordsSDK.GoogleAdwordsCLI --function 
StreamReport --properties ads.properties


log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.
Shell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more info.
HTTP Response Code: 400, FieldPath: SearchImpressionShare, Type: 
ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT
 at com.google.api.ads.adwords.lib.utils.v201809.DetailedReportD
ownloadResponseException$Builder.build(DetailedReportDo
wnloadResponseException.java:35)
 at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.
handleResponse(AdHocReportDownloadHelperImpl.java:117)
 at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.
downloadReport(AdHocReportDownloadHelperImpl.java:60)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.google.api.ads.common.lib.utils.AdsUtilityInvocationHandler.
handleInvocation(AdsUtilityInvocationHandler.java:46)
 at com.google.common.reflect.AbstractInvocationHandler.invoke(A
bstractInvocationHandler.java:84)
 at com.sun.proxy.$Proxy23.downloadReport(Unknown Source)
 at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.
downloadReport(AdHocReportDownloadHelper.java:46)
 at com.google.api.ads.adwords.lib.utils.v201809.ReportDownloader.
downloadReport(ReportDownloader.java:65)
 at sdf.googleAdwordsSDK.GoogleAdwordsConnector.streamReport(Goo
gleAdwordsConnector.java:137)
 at sdf.googleAdwordsSDK.GoogleAdwordsCLI.streamGoogleAdwordsReport(
GoogleAdwordsCLI.java:122)
 at sdf.googleAdwordsSDK.GoogleAdwordsCLI.run(GoogleAdwordsCLI.java:81)
 at sdf.googleAdwordsSDK.GoogleAdwordsCLI.main(GoogleAdwordsCLI.java:26)
java.lang.RuntimeException: One of the compulsary Field is missing. Please 
refer README.
 at sdf.googleAdwordsSDK.GoogleAdwordsCLI.streamGoogleAdwordsReport(
GoogleAdwordsCLI.java:133)
 at sdf.googleAdwordsSDK.GoogleAdwordsCLI.run(GoogleAdwordsCLI.java:81)
 at sdf.googleAdwordsSDK.GoogleAdwordsCLI.main(GoogleAdwordsCLI.java:26)


Any help would be much appreciated!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eb502bb9-1f48-4169-bfab-32beffa5ac3c%40googlegroups.com.

Reply via email to