When I use the AdGroupCriterionService and call the get() method, the
API returns criteria for a given Campaign and AdGroup that don't
appear when I use the https://adwords.google.com for the same campaign
and adgroup.

This in itself wouldn't bother me, but we've written a windows service
that updates AdParams for every criterion in a given AdGroup, and this
service is failing with the following error:

com.google.api.adwords.lib.AdWordsApiException:
[AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @
operations[0].operand; trigger:'AdGroupId = 1111039073, CriterionId =
11022789203']

The trigger in this error states that either I'm using an invalid
AdGroupId or CriterionId.
The trouble is, that both of these values were returned to me from the
API.

The AdGroupId seems valid, as I can see the matching AdGroup on the
Campaign Management Page.
I cannot see a matching Keyword Criterion on the Campaign Management
Page for that AdGroup.

When I look closely at the Campaign Management page, I notice that the
keywords contain a status property, which doesn't seem to be available
through the API.

Is it possible that the API is returning criteria that don't have a
status of 'Eligible'?
Would this be the reason that I can't set AdParams against these
criteria?

If so, how can I determine via the API what the keyword criteria
status is?

If I'm barking up the wrong tree, what is going wrong that could be
causing this error?

Kind regards,
Scott Ferguson

-- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.

Reply via email to