Hello,
I am trying to set the same AdParams (AdParamId's are the same, so are
the values) for different criteria in the same AdGroup, all in one
mutate call. But it throws me a
AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES error.
The documentation states that "The same ad param cannot be specified
in multiple operations". Isn't this quite a bit limiting? How are we
supposed to set a bunch of AdParams for an entire AdGroup in one go?
Multiple calls to mutate() for each and every keyword would just kill
the backend. Or do I have to use the BulkMutateJob service, even if I
don't want to?
Or maybe (well, hopefully) I triggered a bug in the API. Any comments?
The data goes like this:
An array of AdParamOperations with 14 elements. Operator is SET. Each
AdParam with the same AdGroupId.
First 7 AdParams set the same paramIndex (1) and the same
insertionText ("4") but each with different criterionIds.
Second 7 AdParams set the other paramIndex (2) and the same
insertionText ("8" in this case) each with different criterionIds as
well. (Actually the order of criterionIds match the first 7
operations)
The result is an array of AdParamErrors:
[AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[2].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[3].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[4].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[5].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[6].operand; trigger:'AdParam already defined at index 1',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[9].operand; trigger:'AdParam already defined at index 8',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[10].operand; trigger:'AdParam already defined at index 8',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[11].operand; trigger:'AdParam already defined at index 8',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[12].operand; trigger:'AdParam already defined at index 8',
AdParamError.AD_PARAM_CANNOT_BE_SPECIFIED_MULTIPLE_TIMES @
operations[13].operand; trigger:'AdParam already defined at index 8']
Best,
Kemal
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
To unsubscribe from this group, send email to
adwords-api+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.