Hi Robert,

Using your existing XML example, you would want to set the xsi:type to
"Criterion":

<mutate xmlns="https://adwords.google.com/api/adwords/cm/v200906/
AdGroupCriterionService?wsdl">
  <operations>
    <operator>SET</operator>
    <operand>
      <adGroupId>XXXXXXXXX</adGroupId>
      <criterion xsi:type="Criterion">
        <id>XXXXXXXXXX</id>
      </criterion>
      <destinationUrl>XXXXXXXXXXXXXXXX</destinationUrl>
    </operand>
  </operations>
</mutate>

Best,
- Eric

On Feb 3, 12:22 pm, Ralph Heimburger <1stpo...@gmail.com> wrote:
> solve my issue.  the destinationUrl has to be outside the identifier.
>
>         operations = [{'operator': 'SET',
>                 'operand': {
>                 'type': 'BiddableAdGroupCriterion',
>                 'adGroupId': adgroup_id,
>                 'criterion': {
>                 'id': keywordid,
>                 },
>                 'destinationUrl': destUrl
>
>             }
>         }]
>
> On Feb 3, 12:06 pm, Ralph Heimburger <1stpo...@gmail.com> wrote:
>
>
>
> > I am having the same issue.  Here is my code:
>
> > keywordObject = {
> >             'type': 'BiddableAdGroupCriterion',
> >             'adGroupId': adgroup_id,
> >             'criterion': {
> >                 'id': keywordid,
> >                 'destinationUrl': destUrl
> >             }
> >         }
>
> > When I run this using V200909, I get no errors and the destinationUrl
> > is still blank

-- 
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