Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Report: /en-us/guides/reporting/v3/report-types/campaign #323

Open
andrew-j-walker opened this issue Oct 25, 2024 · 0 comments
Open
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@andrew-j-walker
Copy link

Describe the bug
The sample Amazon DSP: Campaign request is for a dspAudience report instead of a dspCampaign report. I'm wondering a copy/paste from the Audience page's sample went awry?

URL of the content
https://advertising.amazon.com/API/docs/en-us/guides/reporting/v3/report-types/campaign#amazon-dsp-campaign-summary-report-grouped-by-line-item-and-order

Description of what the documentation currently says

Amazon DSP: Campaign summary report grouped by line item and order

curl --location 'https://advertising-api.amazon.com/reporting/reports'
--header 'Content-Type: application/vnd.createasyncreportrequest.v3+json'
--header 'Amazon-Advertising-API-ClientId: amzn1.application-oa2-client.xxxxxxx'
--header 'Amazon-Advertising-API-Scope: xxxxxxxxx'
--header 'Authorization: Bearer Atza|xxxxxxxxxx'
--data { "name":"TEST", "startDate":"2024-03-05", "endDate":"2024-03-10", "configuration":{ "adProduct": "DEMAND_SIDE_PLATFORM", "groupBy":["lineItem", "order"], "columns":["lineItemName", "lineItemId", "lineItemComments", "lineItemType", "omsLineItemId", "orderName", "orderId", "orderCurrency", "omsProposalId"], "reportTypeId":"dspAudience", "timeUnit":"SUMMARY", "filters": [{"field":"advertiserId","values":["......."]}], "format":"GZIP_JSON" } }

Description of what the documentation should say
Since it's on the campaign page, I was hoping to find an example that pulls dspCampaign info (ideally one that still pulls by lineItem and order, but not sure if that's possible)

@andrew-j-walker andrew-j-walker added bug Something isn't working documentation Improvements or additions to documentation labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant