Hi Tim,

If you aren't attempting to transition the bidding strategy then you
should set the biddingTransition field of the operation to null.  This
will exclude that element from the SOAP XML request and no transition
will be attempted.

Best,
- Eric Koleda, AdWords API Team

On Feb 17, 12:50 pm, Tim <timcshie...@gmail.com> wrote:
> When attempting to update a campaign I'm getting an error about the
> biddingTransition. When sending the existing value, I get a
> TRANSITION_TO_ITSELF error. If I pass null, I get a REQUIRED error.
> How should this be set to successfully update the campaign if I don't
> want to change the biddingStrategy that was set when the campaign was
> created? The body of my soap request is as follows:
>
> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200909";>
>         <operations>
>                 <biddingTransition>
>                         <targetBiddingStrategy xsi:type="tns:ManualCPC"></
> targetBiddingStrategy>
>                 </biddingTransition>
>                 <operand>
>                         <id>49379031</id>
>                         <name>Test Campaign 3</name>
>                         <status>Active</status>
>                         <endDate>20371230</endDate>
>                         <budget>
>                                 <period>DAILY</period>
>                                 <amount>
>                                         <microAmount>250000</microAmount>
>                                         <ComparableValue.Type/>
>                                 </amount>
>                         </budget>
>                 </operand>
>                 <operator>SET</operator>
>                 <Operation.Type/>
>         </operations>
> </mutate>
>
> The fault response:
>     [faultcode] => soap:Server
>     [faultstring] => [BiddingTransitionError.TRANSITION_TO_ITSELF @
> operations[0].biddingTransition.targetBiddingStrategy]
>     [detail] => Array
>         (
>             [ApiExceptionFault] => Array
>                 (
>                     [message] =>
> [BiddingTransitionError.TRANSITION_TO_ITSELF @
> operations[0].biddingTransition.targetBiddingStrategy]
>                     [ApplicationException.Type] => ApiException
>                     [errors] => Array
>                         (
>                             [fieldPath] =>
> operations[0].biddingTransition.targetBiddingStrategy
>                             [trigger] =>
>                             [ApiError.Type] => BiddingTransitionError
>                             [reason] => TRANSITION_TO_ITSELF
>                         )
>
>                 )
>
>         )
>
> Thanks.

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

Reply via email to