Traffic Estimator Service returning DistinctError.DUPLICATE_ELEMENT

78 views
Skip to first unread message

Christian Borck

unread,
Nov 6, 2014, 11:31:15 AM11/6/14
to adwor...@googlegroups.com
This question is related to the traffic estimator. We like to get several estimates for a keyword (i.e. estimates for three different max-cpcs). Currently we’re doing three separate requests, one for each max-cpc. In an attempt to optimize this, we combined the three requests into one. As a result, we get duplicate-element errors (DistinctError.DUPLICATE_ELEMENT). Does this mean, that we can only have one estimate per keyword per request? The API documentation for AdGroupEstimateRequest states for the field keywordEstimateRequests: … This field must contain distinct elements … However, we’re unsure what „distinct“ means in this context; is only the keyword-id relevant?

The keywords we are estimating are existing keywords, thus the request
contains a campaign-id, ad-group-ids and keyword-ids.

Anash P. Oommen (AdWords API Team)

unread,
Nov 6, 2014, 3:39:40 PM11/6/14
to adwor...@googlegroups.com
Hi Christian,


Cheers,
Anash P. Oommen,
AdWords API Advisor.

Christian Borck

unread,
Nov 7, 2014, 4:11:48 AM11/7/14
to adwor...@googlegroups.com

Hi Anash,

Thanks for your quick reply. Unfortunately your link doesn't work properly.

I know, in fact we are sending multiple keywords per request already.
The issue is getting estimates for a distinct keyword, but for different maxCpc's within a single request, eg. estimates for:
"buy shoes" with maxCpc 0.5$
"buy shoes" with maxCpc 1.0$

Best regards,
Christian

anash

unread,
Nov 7, 2014, 9:55:02 AM11/7/14
to adwor...@googlegroups.com
Hi Christian, 


I think we allow only estimates for distinct keywords in a single request, even though the bid range is different. In your case, you'd need to send multiple requests.

Cheers,
Anash

Anash P. Oommen (AdWords API Team)

unread,
Nov 7, 2014, 1:19:53 PM11/7/14
to adwor...@googlegroups.com
Hi Christian,


That said, we don't support sending duplicate keywords in a single request, even though the bids being requested are separate. I'm afraid you can't optimize the requests by packing both estimates into a single API call.

Cheers
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages