Ad Analytics call is failing with error "Too many fields requested." even with exactly 20 fields

Sunil Chepuri 0 Reputation points
2025-02-06T02:54:31.51+00:00

rest/adAnalytics call is failing by throwing an exception says {"message":"Too many fields requested. Maximum possible fields to request: 20","status":400}

But I'm passing only 20 fields in the call. Earlier it used to work fine I'm using version "202403"

These are the url params I was sending

?q=analytics&pivot=(value:CAMPAIGN)&accounts=List(urn%3Ali%3AsponsoredAccount%3AXXXXXXX)&timeGranularity=(value:DAILY)&dateRange=(start:(year:2024,month:11,day:06),end:(year:2025,month:02,day:07))&fields=viralPostClickJobApplyClicks,viralVideoCompletions,viralVideoFirstQuartileCompletions,viralVideoStarts,viralVideoThirdQuartileCompletions,viralVideoViews,externalWebsitePostClickConversions,externalWebsitePostViewConversions,oneClickLeadFormOpens,validWorkEmailLeads,fullScreenPlays,sends,headlineClicks,viralPostClickRegistrations,headlineImpressions,talentLeads,jobApplyClicks,jobApplications,dateRange,pivotValues&sortBy=(field:IMPRESSIONS,order:DESCENDING)

Microsoft Advertising
Microsoft Advertising
A platform for Microsoft's advertising efforts designed to manage all advertising and reporting for partner advertisers. Previously known as Bing Ads and adCenter.
90 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bailey Morris 0 Reputation points
    2025-02-11T08:22:51.7766667+00:00

    Your URL contains potentially problematic characters, such as end:(year:2025,month:02,day:07). Make sure all parameters are properly encoded and do not contain spaces or incorrect syntax.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.