Hi Eric,
Please have a look at my previous post as well. At
http://groups.google.com/group/adwords-api/browse_thread/thread/82bd7fcdff3afce1/,
you mentioned a valid soap structure.
How can I form that structure using different methods of objects of
type RelatedToKeywordSearchParameter, LanguageTargetSearchParameter,
CountryTargetSearchParameter etc instead of handcrafting the structure
myself.

If I do something like this
my $selector = Google::AdWords::v200909::Types::TargetingIdeaSelector-
>new({requestType => 'IDEAS',paging =>$paging,ideaType => 'KEYWORD'});
my $relatedToKeywordSearchParameter =
Google::AdWords::v200909::Types::RelatedToKeywordSearchParameter-
>new();
$relatedToKeywordSearchParameter->set_keywords(
                        [{text => "Monkey",matchType =>  "BROAD" }]);
my $languageTargetSearchParameter =
Google::AdWords::v200909::Types::LanguageTargetSearchParameter->new();
$languageTargetSearchParameter->set_languageTargets([{languageCode=>
"en"}]);

my $countryTargetSearchParameter =
Google::AdWords::v200909::Types::CountryTargetSearchParameter->new();
$countryTargetSearchParameter->set_countryTargets([{'countryCode' =>
"US"}]);

Then how am I supposed to call $selector->set_searchParameters or
something else so that I shall be able to create the desired structure
that you specified?

Thanks a lot in advance.
Suraiya

-- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.

Reply via email to