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
87 stars 33 forks source link

Issue Report: /en-us/reference/common-models/campaigns #234

Closed jasonhebert closed 5 months ago

jasonhebert commented 5 months ago

Describe the bug The documentation and examples for the Campaign common model describes an optimization object on the campaign that contains a list property called "placementBidAdjustment" but the API returns this property as "placementBidAdjustments" in the plural form.

URL of the content Provide the advanced tools center or GitHub URL where you see the bug.

Description of what the documentation currently says The schema section currently has the following paths optimization.placementBidAdjustment.placement, and optimization.placementBidAdjustment.percentage

The examples section currently shows:

"placementBidAdjustment": [
    {
        "placement": "string",
        "percentage": 0
    }
],

Description of what the documentation should say The schema section should have the following paths with the plural notation optimization.placementBidAdjustments.placement, and optimization.placementBidAdjustments.percentage

The examples section should show:

"placementBidAdjustments": [
    {
        "placement": "string",
        "percentage": 0
    }
],

Screenshots image image

Additional context Add any other context about the problem here.

elizafarley commented 5 months ago

Thanks for catching this! The documentation is incorrect in this case, and I have pushed a change to update it. It should be reflected soon.