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/reference/api-overview - Get dsp targets list #329

Open
DarkhanRhl opened this issue Nov 19, 2024 · 0 comments
Open
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@DarkhanRhl
Copy link

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

@DarkhanRhl DarkhanRhl added bug Something isn't working documentation Improvements or additions to documentation labels Nov 19, 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