Hi Tang,
Your last example looks correct. Can you post the SOAP XML request
and response this is generating?
Best,
- Eric
On Feb 24, 5:40 am, Tang wrote:
> I also tried this :
>
> $geoTargetProx = new ProximityTarget();
>
> $legeopoint= new GeoPoint();
> $legeop
I also tried this :
$geoTargetProx = new ProximityTarget();
$legeopoint= new GeoPoint();
$legeopoint->latitudeInMicroDegrees=100;
$legeopoint->longitudeInMicroDegrees=100;
$geoTargetProx->geoPoint = $legeopoint;
$geo
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 lo
Hi Tang,
You'll want to use the CampaignTargetService to add a ProximityTarget:
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTargetService.html
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTargetService.ProximityTarget.html
To get the GeoPoint (latit