Thanks for your answer.

How can i define the GeoPoint ?

can you tell me why this code is not working ?

$geoTargetProx = new ProximityTarget();
$geoTargetProx->geoPoint = array(45.5987,4.5123);
$geoTargetProx->radiusDistanceUnits = 'KILOMETERS';
$geoTargetProx->radiusInUnits = '150';

thanks a lot

On 29 jan, 15:53, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi Tang,
>
> You'll want to use the CampaignTargetService to add a ProximityTarget:
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTarg...
>  http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTarg...
>
> To get theGeoPoint(latitude and longitude) you can use the
> GeoLocationService:
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/GeoLocationS...
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Jan 28, 11:52 am, Tang <guillaumedeneuv...@gmail.com> wrote:
>
> > Hi,
>
> > i succeed in creating a local campain, but i don't know how i can
> > define the target zone of the campain.
>
> > For example if i wan my campain to be displayed only at 20 km around
> > Paris town ?
>
> > thanks for your help
>
> > Tang

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