document/literal support is EXPERIMENTAL in SOAP::Lite at
/usr/lib/perl5/site_perl/5.6.1/SOAP/Lite.pm line 2736.
Type 'Campaign' can't be found in a schema class 'SOAP::Serializer'
I've commented out the two lines that do the language and specific
geotargeting, because I know having it automatically casting to the
correct SOAP types is a likely cause of issues, but that doesn't seem
to be helping any. I've already searched the list, but nobody else has
reported this error.
We have plenty of other SOAP code running on our server, so I know the
environment is setup correctly.
Thoughts anyone?
I'm getting CustomReports, so I had to make some changes. The perl
examples have this:
my $report = {
'name' => 'test',
'aggregationType' => 'Summary',
'startDate' => '2005-02-15T00:00:00',
'endDate' => '2005-02-15T00:00:00',
'campaigns' => [ 3428923 ],
'customOptions' =>
["AveragePosition","Clicks","Cpc","Impressions"],
};
That needs to change to this:
my $report = {
'name' => 'test',
'aggregationType' => 'Summary',
'startDate' => '2005-02-15T00:00:00',
'endDate' => '2005-02-15T00:00:00',
'campaigns' => SOAP::Data->name(campaigns => qw/3428923/),
'customOptions' => SOAP::Data->name(customOptions =>
qw/AveragePosition Clicks Cpc Impressions/)
Then it'll work.
-B