Skip to content

Issue Report: /en-us/reference/api-overview - Get dsp targets list #329

Open
@DarkhanRhl

Description

Hello,

I am currently implementing Amazon Ads for DSP, and I have an issue with the creation of targets.

I need to retrieve the default assigned targetings, but it seems that if I call the URL to get default targetings (/dsp/v1/targets/list) too early, Amazon does not provide all the default targetings.

To create an ad group on Amazon, I follow these steps:

Create the ad group (/dsp/v1/adGroups).
Immediately after, get the default targetings (/dsp/v1/targets/list).
Assign targetings to the ad group, excluding the default ones.
Remove unused default targetings.
Here is the relevant documentation: Amazon DSP Universal Targeting API.

It seems that even if the Amazon API returns a 200 response, the ad group creation process might not be fully complete, and the default targetings are not yet properly assigned.

As a temporary workaround, I am using sleep(10000) to wait 10 seconds before retrieving the targetings, but this is not a reliable solution.

Do you have any suggestions?

Here’s a screenshot of my default targeting request.
Thanks for reading !

Capture d’écran 2024-11-19 à 10 40 47

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions