Subject: | POD for Google::Adwords::Campaign incorrect - networkTypes |
Date: | Wed, 25 Mar 2009 13:44:29 +0000 |
To: | bug-Google-Adwords [...] rt.cpan.org |
From: | Mike Astle <astle [...] lokku.com> |
In version 1.12.2.
http://search.cpan.org/~rohan/Google-Adwords-1.12.2/lib/Google/Adwords/Campaign.pm
This code is given as an example:
# target only the google search network
$campaign->networkTargeting({
networkTypes => [ 'GoogleSearch' ],
});
but that leads to a runtime error because of this line:
Google::Adwords::CampaignService::_create_campaign_params(/home/astle/code/ext/lib/perl5//Google/Adwords/CampaignService.pm:231):
231: my $network_ref $campaign->networkTargeting->networkTypes;
Looks to me like Google::Adwords::Campaign::networkTargeting wants a
Google::Adwords::NetworkTarget as its parameter.
-mike