Re: when does oAuth access token expire?

2011-10-23 Thread Anash P. Oommen
Hi Bhavin, If you are using a client library to make calls, then most client libraries support switching from ClientLogin to AuthToken using a configuration key. If you don't, then you have to start by finding an oauth library that suits your needs and is on OAuth 1.0a. Some amount of intro materi

Re: when does oAuth access token expire?

2011-10-23 Thread Bhavin Shah
Thanks for the response Oldskool and Anash. Until now we were using auth-tokens in requests to various APIs. We are starting to migrate to v201109 and hope to use oAuth. Can you please point to couple of examples that use oAuth. I am unable to find, how do you supply oAuth-token in requests to APIs

Re: AuthorizationError.USER_PERMISSION_DENIE

2011-10-23 Thread Anash P. Oommen
Hi Alwin, If you think this is related to Google Apps, then things should start working fine once you complete your migration. If you need to change the login email, then see http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=24828 for details on how this can be done. You don't ne

Re: when does oAuth access token expire?

2011-10-23 Thread Anash P. Oommen
Hi Bhavin, If an OAuth token is invalid / expired / revoked, you will get an authentication error with appropriate error code in the API call response. You can use that to take remedial actions. See http://code.google.com/apis/adwords/docs/reference/v201101/CampaignService.AuthenticationError.h

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

Re: How to update campaign criteria in v201109?

2011-10-23 Thread Anash P. Oommen
Hi Neha, You can find relevant gender criterion ids at http://code.google.com/apis/adwords/docs/appendix/genders.html. To target/remove a gender, create/remove a Gender criteria with the appropriate id ( http://code.google.com/apis/adwords/docs/reference/latest/CampaignCriterionService.Gender.h

Re: how do I set daily budget to a campaign using java api v201101

2011-10-23 Thread Anash P. Oommen
Hi, You can modify http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201101/UpdateCampaign.java to suit your needs. As for budget amount, 1 unit of fundamental currency = 100 micros, so if your account's basic currency is INR, then you need to set 2500 as

Re: RateExceededError & QuotaExceededError

2011-10-23 Thread Anash P. Oommen
Hi Yaron, You should probably build a sleep and retry loop into your code to take care of RateExceededError/QuotaExceededError. Also, sandbox is meant for development, not for load testing. Do not test your code against sandbox beyond verifying functional accuracy. Cheers, Anash P. Oommen, AdW

Re: Adhoc Reporting Response Codes

2011-10-23 Thread Anash P. Oommen
Hi, Currently, you will get a 200 with error messages in the report if you send a bad report definition. So you will have to examine the report contents to figure out if the report failed or not. The reporting team is aware of the request you made to determine failure based on status code, but

Re: quality score change triggers customer sync service change?

2011-10-23 Thread Anash P. Oommen
Hi Tim, No, it won't. Customer sync service will only show changes that a customer made to his/her campaigns and related items. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blo

Adwords API

2011-10-23 Thread mayester
sometime all you need to do is look-up words in the dictionary or wiki- pedia website to find your answers.you know how you updated your information on your websites judges your own situation,you would know how to make your own decision about your business matter from there look up on the other w

Missing automatic placements data in reports

2011-10-23 Thread Edward Bells
Hi, I am trying to retrieve automatic placement data for a campaign. That campaign has only automatic placement data (no search network or managed placements data). Usually we get this data through the KEYWORDS_PERFORMANCE_REPORT report, using the 300 total content network row. For this specif

Re: how do I set daily budget to a campaign using java api v201101

2011-10-23 Thread dummy one
Hi , I am new to adwords . how do I set daily budget to a campaign using java api v201101 , I can't set it , I want my daily budget as Rs 25/ day .please provide me some code i have used as , Budget budget = new Budget(); budget.setPeriod(BudgetBudgetPeriod.DAILY); budget.setAmount(new

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