amzn / ads-advanced-tools-docs

Code samples and supplements for the Amazon Ads advanced tools center
https://advertising.amazon.com/API/docs/en-us/index
MIT No Attribution
88 stars 33 forks source link

Reporting V3 documentation: Sponsored Television - Targeting "groupBy" configuration parameter "campaigns" is not valid (should be replaced with "campaign") #175

Closed wolendranh closed 10 months ago

wolendranh commented 10 months ago

Describe the bug Reporting V3 documentation: Sponsored Television - Targeting "groupBy" configuration parameter "campaigns" is not valid (should be replaced with "campaign").

When creating ST targeting report with "campaigns" groupBy configuration param API will raise exception:

{"code":"400","detail":"configuration invalid groupBy values: (campaigns). Allowed values: (campaign, adGroup, targeting), '

So campaigns should be changed to campaign

URL of the content https://advertising.amazon.com/API/docs/en-us/guides/reporting/v3/report-types/targeting#sponsored-television

Description of what the documentation should say campaigns -> campaign

Screenshots

image
elizafarley commented 10 months ago

@wolendranh Thanks for calling this out! I've updated the docs to reflect the groupBy should be campaign.

I really appreciate you taking the time to leave detailed feedback on the documentation!