I am trying to add CampaignNegatives using the Google API and the following code (using the v201101 perl client library): # Create keyword. my $keyword = Google::Ads::AdWords::v201101::Keyword->new({ text => "jupiter cruise", matchType => "BROAD" });
# Create negative campaign criterion. my $negative_campaign_criterion = Google::Ads::AdWords::v201101::NegativeCampaignCriterion->new({ campaignId => 59189471, criterion => $keyword }); # Create operation. my $operation = Google::Ads::AdWords::v201101::CampaignCriterionOperation->new({ operand => $negative_campaign_criterion, operator => "ADD" }); $soap_responses = ...->CampaignCriterionService()->mutate ({operations => [$operation]}); But when checking soap_responses afterwards, it contains the following faulstring: [Unmarshalling Error: ParseError at [row,col]:[1,1462] Message: http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributeNSNotUnique?criterion&type&http://www.w3.org/2001/XMLSchema-instance ] After beating my head to the keyboard and still can't figure out what it means I'm now desperate in any clue of what it could mean. I printed out the operation object: operation : $VAR1 = bless( do{\(my $o = 113)}, 'Google::Ads::AdWords::v201101::CampaignCriterionOperation' ); <operator>ADD</operator><operand xsi:type="xns:NegativeCampaignCriterion" xmlns:xns="https:// adwords.google.com/api/adwords/cm/v201101" ><campaignId>59189471</ campaignId><criterion xsi:type="Keyword" xsi:type="xns:NegativeCampaignCriterion" xmlns:xns="https:// adwords.google.com/api/adwords/cm/v201101" ><text>jupiter cruise</ text><matchType>BROAD</matchType></criterion></operand> and it seems well-formed, and it's created by the API so I guess it should work. Any clues? Best regards, Peter -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@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