Skip Menu |

This queue is for tickets about the Yahoo-Marketing CPAN distribution.

Report information
The Basics
Id: 56533
Status: new
Priority: 0/
Queue: Yahoo-Marketing

People
Owner: Nobody in particular
Requestors: sbrady [...] reachlocal.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Yahoo::Marketing::AdGroup bug
Date: Mon, 12 Apr 2010 11:49:50 -0700
To: bug-yahoo-marketing [...] rt.cpan.org
From: Sean Brady <sbrady [...] reachlocal.com>
Hello. I've come across an issue with one of the AdGroup elements - adAutoOptimizationON. It's required during an add operation. But in the code, it's under the _read_only_attributes. So the call fails. I've moved it in my local code, to the _user_setable_attributes sub, and the call works now: MOVED INTO HERE: sub _user_setable_attributes { return ( qw/ ID accountID adAutoOptimizationON advancedMatchON campaignID carrierConfig contentMatchMaxBid contentMatchON name sponsoredSearchMaxBid sponsoredSearchON status watchON / ); } MOVED FROM HERE: sub _read_only_attributes { return ( qw/ contentMatchBidStatus contentMatchMaxBidTimestamp contentMatchMinBid createTimestamp deleteTimestamp lastUpdateTimestamp sponsoredSearchMaxBidTimestamp / ); } Thank you, Sean Brady ReachLocal, Inc.