[The following Quote was taken from
http://www.google.com/apis/adwords/developer/adwords_api_services.html]
"When you send an addCriteria or updateCriteria request to add or
update keywords, the Google Ad Server sets the minCpc fields for the
added or updated keywords and sends them back in the response"
The method updateCriteria() returns void, so I would expect the
Criterion Objects passed in the Criterion[] parameter to be updated
after the method returns (to reflect the new state)
However they are not.
This means that in order to know the minCpc and status of a keyword
after updating it a getCriteria() is required.
Can anyone confirm this behaviour or has a way to resolve it ?
Thanks
-- Tomer Levinboim
On 23 Sep, 06:21, Tomer <levinboim.to...@gmail.com> wrote:
> Hi,
>
> [The following Quote was taken fromhttp://www.google.com/apis/adwords/developer/adwords_api_services.html]
Thanks
-- Tomer Levinboim
On Oct 9, 8:13 pm, mikeytag <mikey...@gmail.com> wrote:
> Tomer,
> I can confirm this same situation. Many times I am updating large
> groups of keywords at a time and would love to get the status and
> mincpc's back in the response. However, on success the updateCriteria
> service always returns void like you said. I am going to forward this
> thread along to the API support team, maybe this can get included in a
> future release.
> Mike
>
> On 23 Sep, 06:21,Tomer<levinboim.to...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > [The following Quote was taken fromhttp://www.google.com/apis/adwords/developer/adwords_api_services.html]
> > "When you send an addCriteria or updateCriteria request to add or
> > update keywords, the Google Ad Server sets the minCpc fields for the
> > added or updated keywords and sends them back in the response"
>
> > The method updateCriteria() returns void, so I would expect the
> > Criterion Objects passed in the Criterion[] parameter to be updated
> > after the method returns (to reflect the new state)
> > However they are not.
> > This means that in order to know the minCpc and status of a keyword
> > after updating it a getCriteria() is required.
>
> > Can anyone confirm this behaviour or has a way to resolve it ?
>
> > Thanks
> > --TomerLevinboim- Hide quoted text -
>
> - Show quoted text -
This was a bug in the docs, which has since been corrected.
updateCriteria() is designed to return void on success. However, I've
made a note that this would be a useful feature for you guys, and will
pass along the suggestion to my product manager.
-Aaron Karp
AdWords API Team