2 messages in com.googlegroups.adwords-apiRe: Adding a creative Bad Types error
FromSent OnAttachments
kenyatteg15 Mar 2005 19:29 
Toad17 Mar 2005 14:57 
Subject:Re: Adding a creative Bad Types error
From:Toad (goog@canoma.com)
Date:03/17/2005 02:57:10 PM
List:com.googlegroups.adwords-api

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.)