Re: How to Add and Get specific location for my campaign

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

CampaignCriterion (Targeting) is a different entity from Campaign.
Please use CampaginCriterionService to add location targetings like this 
examplehttps://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201309/targeting/AddCampaignTargetingCriteria.java
.

Best,
- Takeshi, AdWords API Team

On Wednesday, February 26, 2014 8:47:29 PM UTC+9, Ashish Pathak wrote:

 Hi,

 I'm also facing same problem please provide some code to set location for 
 campaign.

 e.g I wan't to target USA how do i set that at the time of campaign 
 creation.

 'settings': [
   {
   'xsi_type': 'GeoTargetTypeSetting',
   'positiveGeoTargetType': 'DONT_CARE',
   'negativeGeoTargetType': 'DONT_CARE'
   },
   {
   'xsi_type': 'KeywordMatchSetting',
   'optIn': 'false'
   }
   ]


 On Tuesday, October 25, 2011 10:08:34 AM UTC+5:30, dummy one wrote:


 Hi,

 I want to add location say india to my campaign , how can it be done 
 ..Can you provide me some code example .


 Best Regards ,

 jana





 On Mon, Oct 24, 2011 at 8:01 AM, Anash P. Oommen 
 anash.p.oo...@google.com wrote:

 Hi,

 Location codes for geo targeting are available at 
 http://code.google.com/apis/adwords/docs/appendix/geotargeting.html.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

  -- 
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 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 adwor...@googlegroups.com
 To unsubscribe from this group, send email to
 adwords-api...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/adwords-api?hl=en




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to Add and Get specific location for my campaign

2014-02-26 Thread Ashish Pathak
Hi,

I'm also facing same problem please provide some code to set location for 
campaign.

e.g I wan't to target USA how do i set that at the time of campaign 
creation.

'settings': [
  {
  'xsi_type': 'GeoTargetTypeSetting',
  'positiveGeoTargetType': 'DONT_CARE',
  'negativeGeoTargetType': 'DONT_CARE'
  },
  {
  'xsi_type': 'KeywordMatchSetting',
  'optIn': 'false'
  }
  ]


On Tuesday, October 25, 2011 10:08:34 AM UTC+5:30, dummy one wrote:


 Hi,

 I want to add location say india to my campaign , how can it be done ..Can 
 you provide me some code example .


 Best Regards ,

 jana





 On Mon, Oct 24, 2011 at 8:01 AM, Anash P. Oommen 
 anash.p.oo...@google.comjavascript:
  wrote:

 Hi,

 Location codes for geo targeting are available at 
 http://code.google.com/apis/adwords/docs/appendix/geotargeting.html.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

  -- 
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 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 adwor...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 adwords-api...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/adwords-api?hl=en




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to Add and Get specific location for my campaign

2011-10-24 Thread dummy one
Hi,

I want to add location say india to my campaign , how can it be done ..Can
you provide me some code example .


Best Regards ,

jana





On Mon, Oct 24, 2011 at 8:01 AM, Anash P. Oommen 
anash.p.oommen+fo...@google.com wrote:

 Hi,

 Location codes for geo targeting are available at
 http://code.google.com/apis/adwords/docs/appendix/geotargeting.html.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

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


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


Re: How to Add and Get specific location for my campaign

2011-10-23 Thread dummy one
Hi ,

I want to add Australia , India as location for my campaign how can i
add it ,

I found code for generic model ..How can it be done in specific
manner ,

/ Set GeoTargetType.
GeoTargetTypeSetting geoSetting = new GeoTargetTypeSetting();
geoSetting.positiveGeoTargetType =
GeoTargetTypeSettingPositiveGeoTargetType.AREA_OF_INTEREST;
campaign.settings = new Setting[] {geoSetting};

// Create operation.
CampaignOperation operation = new CampaignOperation();
operation.@operator = Operator.SET;
operation.operand = campaign;

How to get those locations ?any help ?


On Fri, Oct 21, 2011 at 7:19 PM, dummy one dummyone...@gmail.com wrote:

 Hi ,

 I want to add Australia , India as location for my campaign how can i
 add it ,

 I found code for generic model ..How can it be done in specific
 manner ,

 / Set GeoTargetType.
 GeoTargetTypeSetting geoSetting = new GeoTargetTypeSetting();
 geoSetting.positiveGeoTargetType =
 GeoTargetTypeSettingPositiveGeoTargetType.AREA_OF_INTEREST;
 campaign.settings = new Setting[] {geoSetting};

 // Create operation.
 CampaignOperation operation = new CampaignOperation();
 operation.@operator = Operator.SET;
 operation.operand = campaign;

 How to get those locations ?any help ?

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


Re: How to Add and Get specific location for my campaign

2011-10-23 Thread Anash P. Oommen
Hi,

Location codes for geo targeting are available at 
http://code.google.com/apis/adwords/docs/appendix/geotargeting.html.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

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


How to Add and Get specific location for my campaign

2011-10-21 Thread dummy one
Hi ,

I want to add Australia , India as location for my campaign how can i
add it ,

I found code for generic model ..How can it be done in specific
manner ,

/ Set GeoTargetType.
GeoTargetTypeSetting geoSetting = new GeoTargetTypeSetting();
geoSetting.positiveGeoTargetType =
GeoTargetTypeSettingPositiveGeoTargetType.AREA_OF_INTEREST;
campaign.settings = new Setting[] {geoSetting};

// Create operation.
CampaignOperation operation = new CampaignOperation();
operation.@operator = Operator.SET;
operation.operand = campaign;

How to get those locations ?any help ?

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