I am also getting errors "Invalid URL" - but it doesn't say whether the
display or the destination URL are invalid or both. Also displayURL
must be <35 chars. Should it / must it / must it not include the
http:// ???
Also, should URLs be uri_escape'd ? Is the URL syntactically incorrect
or not accepted by the google system for other URL requirement reasons
?
my $creative = {
'adGroupId' => $adgroup_id,
'headline' => 'Creative Headline',
'description1' => 'Line 1',
'description2' => 'Line 2',
'displayUrl' => 'www\.canoma\.com',
'destinationUrl' => uri_escape('http://www.canoma.com')
};
As with several other Google Adword perl source examples , this
http://www.google.com/apis/adwords/samples/perl/addcreatives.pl.txt one
doesnt work either. It would be very helpful (and save many hours of
repeated bughunting time if google could post working perl examples,
i.e. some that we would replace our email/pw/token, but would otherwise
compile & execute.)