Assuming you attempt to use AD_PERFORMANCE_REPORT make sure you only use fields compatible for exactly that type of report. For instance, you use SearchImpressionShare which is -AFAIK- not supported by AD_PERFORMANCE_REPORT.
You may be using more fields intended for other reports. On Friday, December 21, 2018 at 12:57:47 AM UTC+1, Eric Foertsch wrote: > > Hello, > > I am trying to download some Ad Performance reports from the Google Ads > API and I am hitting a strangely formatted error. > > AdWordsReportsException: One or more AdWords Report download errors have >>> occurred. >> >> >>> Customer passed in invalid field name for a report type. (Error: >>> ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT, FieldPath: AdType, >>> Trigger: Cannot select a combination of AdType and ) >> >> > Here are the fields I am requesting: > > // Attributes > "AccountDescriptiveName", > "AdGroupId", > "CampaignId", > "CampaignName", > "CriterionId", > "CriterionType", > "ExternalCustomerId", > "AdType", > "Description", > "Description1", > "Description2", > "DisplayUrl", > "CreativeDestinationUrl", > "ExpandedTextAdDescription2", > "ExpandedTextAdHeadlinePart3", > "CreativeFinalUrls", > "Id", > "Labels", > "LabelIds", > "ImageAdUrl", > "ImageCreativeImageHeight", > "ImageCreativeImageWidth", > "ImageCreativeMimeType", > "ImageCreativeName", > "Status", > > // Segments > "Device", > "Date", > > // Metrics > "Conversions", > "AveragePosition", > "Clicks", > "Impressions", > "Cost", > "GmailForwards", > "GmailSaves", > "SearchImpressionShare", > "VideoViews", > "VideoViewRate", > "VideoQuartile100Rate", > "VideoQuartile25Rate", > "VideoQuartile50Rate", > "VideoQuartile75Rate" > > Looking at the documentation it doesn't look like there is a restriction > on AdType even though the error says that there is one. > > https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report#adtype > > Has anyone encountered this error before? > > > > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/42777bca-914c-453b-92d4-b58d53b8d5f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
