Hello Huy, 

Thank you for sharing the details privately. The 
INVALID_FIELD_NAME_FOR_REPORT 
<https://developers.google.com/adwords/api/docs/reference/v201802/ReportDefinitionService.ReportDefinitionError.Reason>
 indicates 
that there is an invalid report name specified in the request. If you're 
looking to pull metrics at the ad level, you will be able to use the Ad 
Performance Report 
<https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report>.
 
This will return stats aggregated at the ad level, one row per ad. So the 
request query in Java will look something like this:

ReportQuery query = 
new ReportQuery.Builder() 
.fields("Id","AdType","AdGroupId","CampaignId","Description","Description1", 
"Description2", "Headline", "HeadlinePart1", "HeadlinePart2") 
.from(ReportDefinitionReportType.AD_PERFORMANCE_REPORT) 
.where("Status").in("ENABLED", "PAUSED") 
.during(ReportDefinitionDateRangeType.YESTERDAY) 
.build();

Please take a look at this guide 
<https://developers.google.com/adwords/api/docs/guides/uireports> which 
illustrates on how the API report map with the AdWords UI. If you continue 
to have an issue with this, please share a screenshot of the UI along with 
the complete report definition 
<https://developers.google.com/adwords/api/docs/guides/reporting#create_a_report_definition>,
 
so I can take a look.

Thanks,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/76937a6a-64f5-4437-b09b-915e16ec5b14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... huy . ngoquang
    • ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to