Hi Murali,

Here is an example of creating a CityTarget with the API:

  
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/tests/Google/Api/Ads/AdWords/v200909/CampaignTargetServiceTest.php#129

Best,
- Eric

On Dec 7, 5:09 am, Murali4044 <murali4...@gmail.com> wrote:
> In document
>
> When creating a city target for a campaign, set its cityName and
> provinceCode fields using one of the table rows below (the countryCode
> field will be US).
>
> can you give example for target abbeville in US.
>
> i am passing the values like CityTarget(Abbeville-US-AL). but i got
> error.
>
> Thanks in advance
> Murali
>
> On Dec 3, 11:29 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
>
>
>
>
>
>
> > Hi Murali,
>
> > These aren't functions, but rather classes based off of the AdWords
> > API schema.  The documentation on CityTarget is available here:
>
> >  http://code.google.com/apis/adwords/docs/reference/latest/CampaignTar...
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Dec 2, 8:17 am, Murali M <murali4...@gmail.com> wrote:
>
> > > Hi,
>
> > > In sandbox example there is CountryTarget('US') function. I need to
> > > target city and other location. i changed to CityTarget('US-AL'). but
> > > its not working. and i tried with "Metrocode" also but it showing error
> > > like:
>
> > > [RequiredError.REQUIRED @
> > > selector.campaignEstimateRequests[0].targets[0].countryCode,
> > > TargetError.INVALID_CITY_CODE @
> > > selector.campaignEstimateRequests[0].targets.targets[0];
> > > trigger:'US-AL']
>
> > > Thanks in advance
> > > Murali

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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