Re: 'PercentNewVisitors' is not valid for report type KEYWORDS_PERFORMANCE_REPORT

2014-03-20 Thread Danial Klimkin
Hello Thibault,


I am sorry I got this wrong the first time. This field is available in the 
KEYWORDS_PERFORMANCE_REPORT but starting with v201402 only.

I just ran a test against it and got this field back successfully. Please 
note the reporting reference lists the fields available in the latest API 
version only.


-Danial, AdWords API Team.


On Monday, March 17, 2014 6:46:44 PM UTC+4, Thibault Quillard wrote:
>
> Hi everyone, 
> I am trying to retrieve the "PercentNewVisitors" from 
> the KEYWORDS_PERFORMANCE_REPORT available in the Adword API.
>
> However, I always get this mistake : Column 'PercentNewVisitors' is not 
> valid for report type KEYWORDS_PERFORMANCE_REPORT. Double-check your SELECT 
> clause.
>
> Would you know the cause of this ? 
>
> Basically my query is : 
>
> select 
> CampaignName,
> CampaignStatus,
> PercentNewVisitors
>
> from
> KEYWORDS_PERFORMANCE_REPORT
>
> where
> where CampaignStatus = ACTIVE and AdGroupStatus = ENABLED and Status = 
> ACTIVE'
>
> during
> LAST_WEEK
>
>
> Thanks you !!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


I use OAuth2 with v201306 successfully and am attempting to migrate to v201402, and need help with running GetRefreshToken.java

2014-03-20 Thread steve . beaman
I have a api.adwords.clientId and a api.adwords.clientSecret obtained from:

https://console.developers.google.com/project/apps~astute-being-524/apiui/credential

I have pasted the clientId and clientSecret into the appropriate spots in 
ads.properties file.

I have run GetRefreshToken.java and at line 78,  am displayed a url to past 
in a browser.

I paste the url in a browers and see:

Error: redirect_uri_mismatch

Please let me know what I need to do to correct the situation.  I really 
need to get this migration complete before the Sunset date.

Thanks.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Basic or Standard access, where to check?

2014-03-20 Thread calford
Hi, 

How do i know if i have basic or standard access?
I applied for Standard access, but haven't heard back from Google regarding 
my application.
Is there a way to check if you have one or the other?

thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: INCOMPLETE_SIGNUP Error

2014-03-20 Thread matti
Hey Ray,

yes, my production MCC account is 659-157-4136 and I use the dev token from 
this account.

cheers,
Matthias

Am Mittwoch, 19. März 2014 20:55:39 UTC+1 schrieb Ray Tsang (AdWords API 
Team):
>
> Matthias,
>
> Did you use the production MCC Developer token?  What is the production 
> MCC CID?
>
> Cheers,
>
> Ray
>
> On Wednesday, March 19, 2014 7:23:53 AM UTC-4, ma...@supermatti.de wrote:
>>
>> Hi @all :-)
>>
>> I receive the error "QuotaCheckError.INCOMPLETE_SIGNUP" when I try to use 
>> the AdwordsApi for testing. I use the requested production token which is 
>> under review and created a test account which I connect to my app (test 
>> account has the test account badge on the top). Both MCC accounts have 
>> billing information and the TOS were accepted.
>>
>> Do you have an idea what else could be wrong? MCC ID of the test account 
>> is 238-047-2873.
>>
>> Cheers
>> Matthias
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: INCOMPLETE_SIGNUP Error

2014-03-20 Thread matti
Hey Ray,

yes, my products MCC account is 659-157-4136 and I use the dev token from 
this account.

cheers,
Matthias

Am Mittwoch, 19. März 2014 20:55:39 UTC+1 schrieb Ray Tsang (AdWords API 
Team):
>
> Matthias,
>
> Did you use the production MCC Developer token?  What is the production 
> MCC CID?
>
> Cheers,
>
> Ray
>
> On Wednesday, March 19, 2014 7:23:53 AM UTC-4, ma...@supermatti.de wrote:
>>
>> Hi @all :-)
>>
>> I receive the error "QuotaCheckError.INCOMPLETE_SIGNUP" when I try to use 
>> the AdwordsApi for testing. I use the requested production token which is 
>> under review and created a test account which I connect to my app (test 
>> account has the test account badge on the top). Both MCC accounts have 
>> billing information and the TOS were accepted.
>>
>> Do you have an idea what else could be wrong? MCC ID of the test account 
>> is 238-047-2873.
>>
>> Cheers
>> Matthias
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: OfflineConversionFeed Service returns INVALID_STRING_DATE_TIME

2014-03-20 Thread Christian
Hi, 
I was using v201309 and upgraded to v201402. I have the same issues on both 
versions. 
It was working with the following date? "20140316 235959"
Should I use this format. I found it in some other thread. "2014-03-16 
23:59:59"
Thanks for your help. 
Christian

Am Dienstag, 18. März 2014 12:26:20 UTC+1 schrieb Danial Klimkin:
>
> Hello Christian,
>
>
> Which API version do you use? For v201309, a timezone needs to be 
> specified. Also, make sure the timestamp is not in the future (accounting 
> for timezone).
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, March 18, 2014 5:37:30 AM UTC+4, Christian wrote:
>>
>> Hi, 
>> I'm using the OfflineConversionFeed Serivce. It worked fine during the 
>> last month. But no I get the following error INVALID_STRING_DATE_TIME. And 
>> I have no idea how to solve this. I provide the date in the following way: 
>> 20140316 235959. 
>> Regards Christian
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


GCLID Account Assignment

2014-03-20 Thread Christian
Hi, 
I have two adwords accounts in different currencies. Now I would like to 
upload offline conversions in the correct currency. How can I figure out to 
which account a gclid belongs to?
Regards 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: GCLID Account Assignment

2014-03-20 Thread Danial Klimkin
Hello Christian,


You can request a CLICK_PERFORMANCE_REPORT with GclId field:

  https://developers.google.com/adwords/api/docs/appendix/reports#click


-Danial, AdWords API Team.


On Thursday, March 20, 2014 1:59:05 PM UTC+4, Christian wrote:
>
> Hi, 
> I have two adwords accounts in different currencies. Now I would like to 
> upload offline conversions in the correct currency. How can I figure out to 
> which account a gclid belongs to?
> Regards 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Basic or Standard access, where to check?

2014-03-20 Thread Danial Klimkin
Hello,


Unfortunately this information is not yet available in the user interface. 
Please fill in this form to confirm the status:

  https://services.google.com/fb/forms/apicontact/


-Danial, AdWords API Team.


On Thursday, March 20, 2014 1:31:41 PM UTC+4, calford wrote:
>
> Hi, 
>
> How do i know if i have basic or standard access?
> I applied for Standard access, but haven't heard back from Google 
> regarding my application.
> Is there a way to check if you have one or the other?
>
> thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Authentication Process in Google Adword v201309?

2014-03-20 Thread Rishav Kumar


I am getting the credentials and storing it to a .dat file

oauth2_client_id = '12121212121212121'
oauth2_client_secret = 'JHJHJHJHJHJGHGH'
email="m...@my.com"
client_customer_id='hnjhjhjh'def main():
storage=Storage('c:\Mypath\SampleAD.dat')
credential =storage.get()
if credential is None:
scope=['https://adwords.google.com/api/adwords']
flow = OAuth2WebServerFlow(
 
client_id=oauth2_client_id,client_secret=oauth2_client_secret,scope=scope,user_agent='SampleAPI',redirect_uri='urn:ietf:wg:oauth:2.0:oob')
authorize_url = flow.step1_get_authorize_url()
print authorize_url
webbrowser.open(authorize_url,)
print ('Log in to your Google Account and open the following URL: 
\n%s\n'%authorize_url)
print 'After approving the token enter the verification code (if 
specified).'
code = raw_input('Code: ').strip()
try:
credential = flow.step2_exchange(code)
storage=Storage('Mypath\SampleAd.dat')
client = AdWordsClient(headers={'developerToken': '%s' % email,
'clientCustomerId': 
client_customer_id,
'userAgent': 'SampleAPI',
'oauth2credentials': credential
})
credentials = client.oauth2credentials
print 'OAuth2 authorization successful!'
credentials.refresh(httplib2.Http())
client.oauth2credentials = credentials
campaign_service = client.GetCampaignService(version='v201309')
print campaign_service
# OAuth2 credentials objects can be reused
credentials = client.oauth2credentials
client.oauth2credentials = credentials
http = httplib2.Http()
print http
print 'OAuth2 authorization successful!'
storage.put(credentials)
  except FlowExchangeError as e:
sys.exit('Authentication has failed: %s' % e)

After the Successful authentication I am trying to download the report. I 
am getting this ERROR

adspygoogle.adwords.AdWordsErrors.AdWordsReportError: HTTP code: 400, 
type:'QuotaCheckError.INVALID_TOKEN_HEADER', trigger: 'm...@my.com', field 
path: ''

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: I use OAuth2 with v201306 successfully and am attempting to migrate to v201402, and need help with running GetRefreshToken.java

2014-03-20 Thread Danial Klimkin
Hello Steve,


Please make sure you've created the API client with "Installed Application" 
type.

Also, when pasting the URL, you need to log in as your AdWords user in case 
it is a different account.


-Danial, AdWords API Team.


On Thursday, March 20, 2014 12:04:46 AM UTC+4, steve@revvim.com wrote:
>
> I have a api.adwords.clientId and a api.adwords.clientSecret obtained from:
>
>
> https://console.developers.google.com/project/apps~astute-being-524/apiui/credential
>
> I have pasted the clientId and clientSecret into the appropriate spots in 
> ads.properties file.
>
> I have run GetRefreshToken.java and at line 78,  am displayed a url to 
> past in a browser.
>
> I paste the url in a browers and see:
>
> Error: redirect_uri_mismatch
>
> Please let me know what I need to do to correct the situation.  I really 
> need to get this migration complete before the Sunset date.
>
> Thanks.
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: OfflineConversionFeed Service returns INVALID_STRING_DATE_TIME

2014-03-20 Thread Danial Klimkin
Hello Christian,


The format is "MMDD HHMMSS" or "MMDD HHMMSS TZ", though it appears 
there is a timezone related issue right now. We are looking into it.


-Danial, AdWords API Team.


On Thursday, March 20, 2014 1:44:11 PM UTC+4, Christian wrote:
>
> Hi, 
> I was using v201309 and upgraded to v201402. I have the same issues on 
> both versions. 
> It was working with the following date? "20140316 235959"
> Should I use this format. I found it in some other thread. "2014-03-16 
> 23:59:59"
> Thanks for your help. 
> Christian
>
> Am Dienstag, 18. März 2014 12:26:20 UTC+1 schrieb Danial Klimkin:
>>
>> Hello Christian,
>>
>>
>> Which API version do you use? For v201309, a timezone needs to be 
>> specified. Also, make sure the timestamp is not in the future (accounting 
>> for timezone).
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, March 18, 2014 5:37:30 AM UTC+4, Christian wrote:
>>>
>>> Hi, 
>>> I'm using the OfflineConversionFeed Serivce. It worked fine during the 
>>> last month. But no I get the following error INVALID_STRING_DATE_TIME. And 
>>> I have no idea how to solve this. I provide the date in the following way: 
>>> 20140316 235959. 
>>> Regards Christian
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Alert Service required MCC account.

2014-03-20 Thread Chirag
Hello Ray,

Any success?



On Saturday, March 8, 2014 12:10:43 AM UTC+5:30, Ray Tsang (AdWords API 
Team) wrote:
>
> Chirag,
>
> Thanks for the request and response.  I'll be investigating this more.
>
> Cheers,
>
> Ray
>
> On Thursday, March 6, 2014 5:58:45 PM UTC-5, Ray Tsang (AdWords API Team) 
> wrote:
>>
>> Chirag,
>>
>> Since you are using php, could I trouble you to try this 
>> example
>> ?
>>
>> Thanks,
>>
>> Ray
>>
>> On Thursday, March 6, 2014 4:24:10 AM UTC-5, Chirag wrote:
>>>
>>> Hello Ray,
>>>
>>> Sent you the new request header. I have permission for the user and not 
>>> the MCC account.
>>> Please note that i have same customerid set for request.
>>>
>>>
>>> On Thursday, March 6, 2014 12:23:25 AM UTC+5:30, Ray Tsang (AdWords API 
>>> Team) wrote:

 Chirag,

 I don't think you attached the latest request in the private message. 
  Please note that you can only get alerts with the ID that you have access 
 to (based on the clientCustomerId header).

 Thanks,

 Ray

 On Tuesday, March 4, 2014 2:26:07 PM UTC-5, Ray Tsang (AdWords API 
 Team) wrote:
>
> Chirag,
>
> I noticed that the RequestHeader.clientCustomerId is not the same as 
> the selector.query.clientCustomerIds.  Is the latter managed by the 
> former?
>
> Thanks,
>
> Ray
>
> On Tuesday, February 25, 2014 12:22:05 AM UTC-5, Chirag wrote:
>>
>> Hello Ray,
>>
>> request xml also sent.
>>
>>
>>
>> On Tuesday, February 25, 2014 1:41:10 AM UTC+5:30, Ray Tsang (AdWords 
>> API Team) wrote:
>>>
>>> Chirag,
>>>
>>> I only saw the response xml.  Could I trouble you to send the 
>>> request XML as well?
>>>
>>> Thanks,
>>>
>>> Ray
>>>
>>> On Monday, February 24, 2014 7:51:58 AM UTC+1, Chirag wrote:

 Hello Ray,

 Replied to author.



 On Wednesday, February 12, 2014 9:17:42 PM UTC+5:30, Ray Tsang 
 (AdWords API Team) wrote:
>
> Chirag,
>
> Just to confirm, you will need to set the clientCustomerIds to a 
> real CID rather than the sample 00.  If you have changed it 
> to the 
> real CID, please use the "Reply to Author" feature to send me your 
> request/response log/payload.
>
> Thanks!
>
> --
> Ray Tsang (AdWords API Advisor)
>
>
> On Wednesday, January 8, 2014 4:30:17 AM UTC-5, Chirag wrote:
>>
>> Hello,
>> Any update?
>> I am waiting for this.
>> As on thread you said this was possible but using API it is not 
>> possible.
>>
>>
>>
>> On Tuesday, December 3, 2013 10:52:24 PM UTC+5:30, Chirag wrote:
>>>
>>> Hello Paul,
>>>
>>> Yes, As you can see in my earlier post, i am using the same code 
>>> as your one.
>>> But as you are not getting any error, i have tryed once again 
>>> with no success.
>>> Please see my request id here, getting same error - "An error 
>>> has occurred: [AlertError.INVALID_CLIENT_ID_SELECTED @ 
>>> selector.query.clientExternalCustomerIds[0]] "
>>>
>>> My request Id : 
>>> requestId=0004eca46e3a88200aa4e603090b
>>>
>>> My Code : 
>>>
>>> // Create alert query.
>>> $query = new AlertQuery();
>>> $query->clientSpec = "ID_LIST";
>>> $query->clientCustomerIds = array(00);
>>> $query->filterSpec = "ALL";
>>> $query->triggerTimeSpec = "ALL_TIME";
>>>
>>> // Create selector.
>>> $selector = new AlertSelector();
>>> $selector->query = $query;
>>>
>>> // Create paging controls.
>>> $selector->paging = new Paging(0, 
>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>>
>>> On Tuesday, December 3, 2013 7:48:09 PM UTC+5:30, Paul Matthews 
>>> (AdWords API Team) wrote:

 Hi Chirag,

 Here's the code that I've got:

 $query = new AlertQuery();
 $query->clientSpec = "ID_LIST";
 $query->clientCustomerIds = array(00);
 $query->filterSpec = "ALL";
 $query->triggerTimeSpec = "ALL_TIME";
 $selector = new AlertSelector();
 $selector->query = $query;
  // Create paging controls.
 $selector->paging = new Paging(0, 
 AdWordsConstants::RECOMMENDED_PAGE_SIZE);


>>

Deprecation of returnMoneyInMicros

2014-03-20 Thread Dorian Kind
Hi all,

I just noticed that the returnMoneyInMicros header for ad-hoc reports is 
marked as deprecated. Does this mean that monetary values are always going 
to be reported in micros once the header is sunset?

Thanks and best regards,
Dorian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Error when creating campaign with enhanced cpc bidding strategy

2014-03-20 Thread Jeremy Aube
Also, it looks like it's still possible to enable enhanced cpc through the 
interface without have to create an explicit bidding strategy, so shouldn't 
it still be possible to do this through the API?

On Wednesday, March 19, 2014 5:05:37 PM UTC-4, Jeremy Aube wrote:
>
> Yes we had this working before with v201309 with the following request 
> difference:
>
>   
> MANUAL_CPC
> 
>   true
> 
>   
> 
>
> We knew this wouldn't work based on the migration instructions as well as 
> the CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN error we were getting. We 
> were hoping there might still be a way to enable enhanced cpc without 
> having to create a separate bidding strategy.
>
> On Wednesday, March 19, 2014 4:24:13 PM UTC-4, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Jeremy,
>>
>> There was indeed a change in v201402 - please see our migration 
>> page
>> .
>> That being said - were you able to create enhanced cpc bidding strategy 
>> previously?
>>
>> Anonymous bidding strategy means that you are creating an enhanced cpc 
>> bidding strategy as you create a new Campaign, rather than referencing to 
>> an existing ID.  You could create one via the 
>> BiddingStrategyService
>> .
>>
>> Please let me know if this behavior change is new for you.
>>
>> Cheers,
>>
>> Ray
>>
>> On Wednesday, March 19, 2014 4:01:15 PM UTC-4, Jeremy Aube wrote:
>>>
>>> Starting in v201402, it appears we can no longer set the bidding 
>>> strategy to enhanced cpc for new campaigns. Here is the SOAP request and 
>>> response:
>>>
>>> I, [2014-03-19T15:51:23.608579 #56895]  INFO -- : >> encoding="UTF-8"?>
>>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance"; xmlns:wsdl="
>>> https://adwords.google.com/api/adwords/cm/v201402"; xmlns:env="
>>> http://www.w3.org/2003/05/soap-envelope";>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201402";>
>>>   ***
>>>   ***
>>>   ***
>>> 
>>>   
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201402";>
>>>   
>>> ADD
>>> 
>>>   ***
>>>   PAUSED
>>>   
>>> 223925663
>>> DAILY
>>> 
>>>   1000
>>> 
>>> STANDARD
>>> false
>>> ACTIVE
>>>   
>>>   
>>> true
>>>   
>>>   SEARCH
>>>   
>>> true
>>> true
>>> false
>>>   
>>>   
>>> ENHANCED_CPC
>>>   
>>> 
>>>   
>>>   
>>> 
>>>   
>>> 
>>>
>>> I, [2014-03-19T15:51:27.253561 #56895]  INFO -- : 
>>> http://schemas.xmlsoap.org/soap/envelope/";>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201402";>
>>>   0004f4fafa60a6500ae6c9483b03
>>>   MutateJobService
>>>   getResult
>>>   1
>>>   752
>>> 
>>>   
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201402";>
>>>   
>>> 
>>>   
>>> 
>>>   
>>>   http://www.w3.org/2001/XMLSchema-instance"; 
>>> xsi:type="BiddingErrors">
>>> 
>>> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType
>>> ENHANCED_CPC
>>> 
>>> BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
>>> BiddingErrors
>>> INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
>>>   
>>> 
>>>   
>>> 
>>>   
>>> 
>>>
>>> I don't really get what invalid anonymous bidding strategy type means. 
>>> I'm hoping it doesn't mean we have to deal with another service in order to 
>>> set simple campaign settings, as having to do so for campaign criterion and 
>>> campaign budget has resulted in increased code complexity with no visible 
>>> gain for us.
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Problem in creating dynamic search ads campaign settings using DynamicSearchAdsSetting

2014-03-20 Thread Vikrant Pol
Hi All,

I am using google adwords api v201402. I want to create dynamic search ads 
dynamically using api, but by using this it creates normal campaigns but 
this not create dynamic search ads.

For this i refer below urls -

https://developers.google.com/adwords/api/docs/reference/v201402/CampaignService.Campaign
 

https://developers.google.com/adwords/api/docs/reference/v201402/CampaignService.DynamicSearchAdsSetting

https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupAdService.DynamicSearchAd


Please help me for creating dynamic search ads..

Regards,
Vikrant

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Getting INVALID_FIELD_VALUES_IN_DATE_TIME when uploading offline conversions.

2014-03-20 Thread Austin Bergstrom
Laura & Danial,

I am having the exact same problem. I did not change the date format for my 
uploads and they suddenly started failing with the same message on 3/17. I 
also do not include a time zone, but I will try that and let you know if 
that's what my problem is.

Danial, I attached an example of my xml. We have spoken before about the 
date format giving me errors and I haven't had any problems until 3/17.

-Austin



On Wednesday, March 19, 2014 5:15:14 AM UTC-4, Danial Klimkin wrote:
>
> Hello Laura,
>
>
> What is the API version you are using? Can you please send me exact XML 
> request and the server response for this error *over email* ("Reply to 
> author" button).
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, March 19, 2014 12:55:46 AM UTC+4, Laura Gonzalez wrote:
>>
>>
>> Hello, I am using the adwords-php-lib and I was uploading offline 
>> conversions few days ago and I was passing the date as "20140306 143017" 
>> (just an example) just by doing $conversionTime->format('Ymd His'). 
>> According to the documentation, time zone is optional, if it's not passed 
>> then it will set it as the one configured in my MMC account. 
>>
>> It was working fine until few days ago, I started getting 
>> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME (I didn't change anything in my 
>> code) and looking at the documentation I see the date formatting is 
>> correct. 
>>
>> https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.DateError
>>
>> After a couple of hours trying to figure it out, I included the time zone 
>> parameter to my request like this $conversionTime->format('Ymd His P') 
>> which converts date as "20140306 143017 -08:00", and now it seems to work 
>> just fine.
>>
>> I was wondering if something changed in the API side that made it 
>> required. If it is, then shouldn't be updated in the documentation too? 
>> Because I was relaying on it.
>>
>> Thank you.
>>
>> Laura Gonzalez.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201309";>
Mozilla/5.0 (AwApi-Java, AdWords-AppEngine/1.22.1, 
Common-Java/1.22.1, JAX-WS/Unknown, Java/1.7.0, maven)
REDACTED
REDACTED



https://adwords.google.com/api/adwords/cm/v201309"; 
xmlns:ns2="https://adwords.google.com/api/adwords/o/v201309"; 
xmlns:ns3="https://adwords.google.com/api/adwords/mcm/v201309"; 
xmlns:ns4="https://adwords.google.com/api/adwords/ch/v201309"; 
xmlns:ns5="https://adwords.google.com/api/adwords/billing/v201309"; 
xmlns:ns6="https://adwords.google.com/api/adwords/rm/v201309";>

ADD

REDACTED
Closed Won
20140319 163224
1.0







Re: OfflineConversionFeed Service returns INVALID_STRING_DATE_TIME

2014-03-20 Thread Christian
Hi Danial, 
thanks for your answer. What would the date with the TZ lock like? 
"MMDD HHMMSS Berlin"
Regards Christian


Am Donnerstag, 20. März 2014 11:49:35 UTC+1 schrieb Danial Klimkin:
>
> Hello Christian,
>
>
> The format is "MMDD HHMMSS" or "MMDD HHMMSS TZ", though it appears 
> there is a timezone related issue right now. We are looking into it.
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, March 20, 2014 1:44:11 PM UTC+4, Christian wrote:
>>
>> Hi, 
>> I was using v201309 and upgraded to v201402. I have the same issues on 
>> both versions. 
>> It was working with the following date? "20140316 235959"
>> Should I use this format. I found it in some other thread. "2014-03-16 
>> 23:59:59"
>> Thanks for your help. 
>> Christian
>>
>> Am Dienstag, 18. März 2014 12:26:20 UTC+1 schrieb Danial Klimkin:
>>>
>>> Hello Christian,
>>>
>>>
>>> Which API version do you use? For v201309, a timezone needs to be 
>>> specified. Also, make sure the timestamp is not in the future (accounting 
>>> for timezone).
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Tuesday, March 18, 2014 5:37:30 AM UTC+4, Christian wrote:

 Hi, 
 I'm using the OfflineConversionFeed Serivce. It worked fine during the 
 last month. But no I get the following error INVALID_STRING_DATE_TIME. And 
 I have no idea how to solve this. I provide the date in the following way: 
 20140316 235959. 
 Regards Christian

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Deprecation of returnMoneyInMicros

2014-03-20 Thread Josh Radcliff (AdWords API Team)
Hi Dorian,

Yes, that's correct.  As mentioned in the *ReturnMoneyMicros defaults to 
true* section of the v201402 release 
notes, 
the values will default to micros if not specified, and that field is 
eventually going to be removed.

Cheers,
Josh, AdWords API Team

On Thursday, March 20, 2014 7:32:01 AM UTC-4, Dorian Kind wrote:
>
> Hi all,
>
> I just noticed that the returnMoneyInMicros header for ad-hoc reports is 
> marked as deprecated. Does this mean that monetary values are always going 
> to be reported in micros once the header is sunset?
>
> Thanks and best regards,
> Dorian
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Error while Downloading Account Performance Report

2014-03-20 Thread Salem Hassan
Hi Ray,

I need to get the Account performance report at the MCC level (for all the 
accounts under my MCC).
Can you advise which Report should be used then..?
I could get the details like Login, CustomerId, and Name at MCC level by 
referring the 'GetAccountHierercy.cs' in the sample solution.
But i need more details like Clicks, Cost per Click etc which are not 
available with it.

Thanks




On Monday, March 17, 2014 7:47:53 PM UTC+5:30, Salem Hassan wrote:
>
>
> I'm using  OAuth 2.0 Authentication for Adwords API.
>
> I'm running the  'awapi_dotnet_lib_v16.7.0' sample solution (.NET Library) 
>  from google and in the 'AdWords.Examples.CSharp' I have the following tags 
> set in my app.config file:
>
> 
> 
> 
> 
>  value="xxx" />
> 
> 
>  value="xx" />
>
> I'm able to run the 'GetAccountHierarchy' functionality through command 
> line (v201402.GetAccountHierarchy) to fetch all the accounts under my MCC 
> (client centre).
> But, when I tries to run the DownloadCriteriaReport 
>  (v201402.DownloadCriteriaReport) to fetch Account Performance Report it 
> gives me error..
>
> *Message*: Report download errors occurred, see errors field for more 
> details.
>
> *Source*: Google.AdWords
>
> *Stack Trace*:   
>
>  at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>  
> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
> outputStream) in c:\src\MyProjects\now\Common library 
> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 304
>at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReportInternal(String
>  
> downloadUrl, String postBody, Boolean returnMoneyInMicros, String path) in 
> c:\src\MyProjects\now\Common library 
> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 253
>at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T 
> reportDefinition, Boolean returnMoneyInMicros, String path) in 
> c:\src\MyProjects\now\Common library 
> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 215
>at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T 
> reportDefinition, String path) in c:\src\MyProjects\now\Common library 
> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 195
>at 
> Google.Api.Ads.AdWords.Examples.CSharp.v201402.DownloadCriteriaReport.Run(AdWordsUser
>  
> user, String fileName) in 
> C:\Users\BGS002\Downloads\awapi_dotnet_lib_v16.7.0\examples\csharp\v201402\Reporting\DownloadCriteriaReport.cs:line
>  
> 112
>
> Here is the image : 
>
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
> Here is the code:
>
>  public void Run(AdWordsUser user, string fileName) {
>   ReportDefinition definition = new ReportDefinition();
>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>   definition.reportType = 
> ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT;
>   definition.downloadFormat = DownloadFormat.CSV;
>   definition.dateRangeType = ReportDefinitionDateRangeType.TODAY;
> 
>   // Create selector.
>   Selector selector = new Selector();
>   selector.fields = new string[] {"AdGroupId", "AdGroupName", 
> "Clicks", "Impressions"};
>
>   Predicate predicate = new Predicate();
>   predicate.field = "Status";
>   predicate.@operator = PredicateOperator.IN;
>   predicate.values = new string[] {"ACTIVE", "PAUSED"};
>   selector.predicates = new Predicate[] {predicate};
>  
>   definition.selector = selector;
>   definition.includeZeroImpressions = true;
>   string filePath = ExampleUtilities.GetHomeDir() + 
> Path.DirectorySeparatorChar + fileName;
>   try {
> ReportUtilities utilities = new ReportUtilities(user);
> utilities.ReportVersion = "v201402";
> 
> utilities.DownloadClientReport(definition, filePath);
> Console.WriteLine("Report was downloaded to '{0}'.", filePath);
>   } catch (Exception ex) {
> throw new System.ApplicationException("Failed to download 
> report.", ex);
>   }
> }
>
>
> I have also tried this on the web example with this code:
>
> protected void OnDownloadReportButtonClick(object sender, EventArgs e) {
>   ConfigureUserForOAuth();
>   ReportDefinition definition = new ReportDefinition();
>   string fileName = "GoogleAdwords.csv";
>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>   definition.reportType = 
> ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT;
>   definition.downloadFormat = DownloadFormat.CSV;
>   definition.dateRangeType = ReportDefinitionDateRangeType.TODAY;
>   // Create selector.
>   Selector selector = new Selector();
>   selector.fields = new string[] {"AccountId"};
>   definition.selec

Re: SSLHandshakeException suddenly occurring

2014-03-20 Thread Ian Hayes
Hi Ray,

Thanks for your reply!

We believe the issue is related to our corporate firewall - could you tell 
me the URL/IP used for ReportDownloader.downloadReport(), so that we can 
fix the firewall issue?

Thanks,
Ian

On Wednesday, March 19, 2014 4:12:42 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:
>
> Ian,
>
> It looks like a underlying issue w/ SSL connection.  It appears that you 
> are using Java.
> Would you be able to try a few things?  First - verify that SSL connection 
> works w/ the endpoint via curl or wget.  You won't be able to retrieve 
> anything but if SSL handshake fails then we know it's not isolated to Java.
>
> Secondly, please make sure your Java version is up to date and if you use 
> any custom keystores.
>
> Thanks,
>
> Ray
>
>
> On Wednesday, March 19, 2014 11:04:43 AM UTC-4, Ian Hayes wrote:
>>
>> Suddenly calls to the AdWords API that have been working for months are 
>> failing with :
>>
>> java.lang.RuntimeException: Error running Awql query SELECT Month, Cost 
>> FROM ACCOUNT_PERFORMANCE_REPORT DURING 20140301,20140331 
>>
>> Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed 
>> connection during handshake 
>> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) 
>>
>>
>> Has anyone else had similar issues or know what might cause them?
>>
>> Thanks!
>> Ian
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: PHP Client Library: An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'']

2014-03-20 Thread Daniel Mayans

Exactly the same problem.

MCC: 885-241-7816

Test MCC: 757-649-9457

Adwords account inside Test MCC: 591-860-8926

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: I use OAuth2 with v201306 successfully and am attempting to migrate to v201402, and need help with running GetRefreshToken.java

2014-03-20 Thread steve . beaman
Ok, I went to:

https://code.google.com/apis/console/b/0/?noredirect#project:294392641373:access

and created a new Client ID for installed applications.

I pasted the new clientId and clientSecret into the appropriate tags 
(api.adwords.clientID and api.adwords.clientSecret) in my ads.properties 
file.

I then ran GetRefreshToken.java, pasted the auathorizeUrl into a browser, 
and received the authorizationCode string.

I then set the authorizationCode = the authorizationString string in 
GetRefreshToken, recompiled, and reran GetRefreshToken.

So, the GetRefreshToken code snippet looks like"

String authorizeUrl =

authorizationFlow.newAuthorizationUrl().setRedirectUri(CALLBACK_URL).build();
System.out.println("Paste this url in your browser: \n" + authorizeUrl 
+ '\n');
// Wait for the authorization code.
System.out.println("Type the code you received here: ");
//String authorizationCode = new BufferedReader(new 
InputStreamReader(System.in)).readLine();
String authorizationCode = 
"4/16m3ojziyJynU1rk-vT4CvWSIxVv.shLjRoYgb94XMqTmHjyTFGMkdPq5iQI";
// Authorize the OAuth2 token.
GoogleAuthorizationCodeTokenRequest tokenRequest =
authorizationFlow.newTokenRequest(authorizationCode);
tokenRequest.setRedirectUri(CALLBACK_URL);
GoogleTokenResponse tokenResponse = tokenRequest.execute();

Now, when I run GetRefreshToken.java, I see:

com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request
{
  "error" : "invalid_grant",
  "error_description" : "Invalid code."
}

Please advise.  Thanks.








On Wednesday, March 19, 2014 1:04:46 PM UTC-7, steve@revvim.com wrote:

> I have a api.adwords.clientId and a api.adwords.clientSecret obtained from:
>
>
> https://console.developers.google.com/project/apps~astute-being-524/apiui/credential
>
> I have pasted the clientId and clientSecret into the appropriate spots in 
> ads.properties file.
>
> I have run GetRefreshToken.java and at line 78,  am displayed a url to 
> past in a browser.
>
> I paste the url in a browers and see:
>
> Error: redirect_uri_mismatch
>
> Please let me know what I need to do to correct the situation.  I really 
> need to get this migration complete before the Sunset date.
>
> Thanks.
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: I use OAuth2 with v201306 successfully and am attempting to migrate to v201402, and need help with running GetRefreshToken.java

2014-03-20 Thread steve . beaman
Ok, I went to:

https://code.google.com/apis/console/b/0/?noredirect#project:294392641373:access

and created a new Client ID for installed applications.  

On Wednesday, March 19, 2014 1:04:46 PM UTC-7, steve@revvim.com wrote:

> I have a api.adwords.clientId and a api.adwords.clientSecret obtained from:
>
>
> https://console.developers.google.com/project/apps~astute-being-524/apiui/credential
>
> I have pasted the clientId and clientSecret into the appropriate spots in 
> ads.properties file.
>
> I have run GetRefreshToken.java and at line 78,  am displayed a url to 
> past in a browser.
>
> I paste the url in a browers and see:
>
> Error: redirect_uri_mismatch
>
> Please let me know what I need to do to correct the situation.  I really 
> need to get this migration complete before the Sunset date.
>
> Thanks.
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


service account oauth2 node.js

2014-03-20 Thread mktprodawsharedacc
I'm developing an app, which is supposed to get data from our marketing 
department's adwords account (in our company), and thus need to work with 
adwords API.
Till now I have succeeded getting data from a test mcc account.
My app was identified by the  access token i created in the playground when 
I was connected as the  test mcc account.

now i'm trying to make a progress and *not *to use the playground anymore. 
I want my app, as a service account to go and get the access token, and 
then make a request. 

I need to understand: when I use the developer console in order to create 
the service account, does it matter which google account i'm connected to?
i mean, if this is the my adwords mcc test account (that i'm connected to 
at the moment), can it be also the google account containing the 
application's project?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Getting INVALID_FIELD_VALUES_IN_DATE_TIME when uploading offline conversions.

2014-03-20 Thread Mike Tipping
I have the same problem here since the 17th March. The issues seems to 
intermittent and if I retry the upload it eventually accepts it without any 
changes to the format of what I'm sending.

On Tuesday, 18 March 2014 20:55:46 UTC, Laura Gonzalez wrote:
>
>
> Hello, I am using the adwords-php-lib and I was uploading offline 
> conversions few days ago and I was passing the date as "20140306 143017" 
> (just an example) just by doing $conversionTime->format('Ymd His'). 
> According to the documentation, time zone is optional, if it's not passed 
> then it will set it as the one configured in my MMC account. 
>
> It was working fine until few days ago, I started getting 
> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME (I didn't change anything in my 
> code) and looking at the documentation I see the date formatting is 
> correct. 
>
> https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.DateError
>
> After a couple of hours trying to figure it out, I included the time zone 
> parameter to my request like this $conversionTime->format('Ymd His P') 
> which converts date as "20140306 143017 -08:00", and now it seems to work 
> just fine.
>
> I was wondering if something changed in the API side that made it 
> required. If it is, then shouldn't be updated in the documentation too? 
> Because I was relaying on it.
>
> Thank you.
>
> Laura Gonzalez.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: I use OAuth2 with v201306 successfully and am attempting to migrate to v201402, and need help with running GetRefreshToken.java

2014-03-20 Thread steve . beaman


On Wednesday, March 19, 2014 1:04:46 PM UTC-7, steve@revvim.com wrote:
>
> I have a api.adwords.clientId and a api.adwords.clientSecret obtained from:
>
>
> https://console.developers.google.com/project/apps~astute-being-524/apiui/credential
>
> I have pasted the clientId and clientSecret into the appropriate spots in 
> ads.properties file.
>
> I have run GetRefreshToken.java and at line 78,  am displayed a url to 
> past in a browser.
>
> I paste the url in a browers and see:
>
> Error: redirect_uri_mismatch
>
> Please let me know what I need to do to correct the situation.  I really 
> need to get this migration complete before the Sunset date.
>
> Thanks.
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Alert Service required MCC account.

2014-03-20 Thread Ray Tsang (AdWords API Team)
Chirag,

I'm sorry I don't have a resolution for this yet.

My apologies.

Ray

On Thursday, March 20, 2014 6:51:52 AM UTC-4, Chirag wrote:
>
> Hello Ray,
>
> Any success?
>
>
>
> On Saturday, March 8, 2014 12:10:43 AM UTC+5:30, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Chirag,
>>
>> Thanks for the request and response.  I'll be investigating this more.
>>
>> Cheers,
>>
>> Ray
>>
>> On Thursday, March 6, 2014 5:58:45 PM UTC-5, Ray Tsang (AdWords API Team) 
>> wrote:
>>>
>>> Chirag,
>>>
>>> Since you are using php, could I trouble you to try this 
>>> example
>>> ?
>>>
>>> Thanks,
>>>
>>> Ray
>>>
>>> On Thursday, March 6, 2014 4:24:10 AM UTC-5, Chirag wrote:

 Hello Ray,

 Sent you the new request header. I have permission for the user and not 
 the MCC account.
 Please note that i have same customerid set for request.


 On Thursday, March 6, 2014 12:23:25 AM UTC+5:30, Ray Tsang (AdWords API 
 Team) wrote:
>
> Chirag,
>
> I don't think you attached the latest request in the private message. 
>  Please note that you can only get alerts with the ID that you have 
> access 
> to (based on the clientCustomerId header).
>
> Thanks,
>
> Ray
>
> On Tuesday, March 4, 2014 2:26:07 PM UTC-5, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Chirag,
>>
>> I noticed that the RequestHeader.clientCustomerId is not the same as 
>> the selector.query.clientCustomerIds.  Is the latter managed by the 
>> former?
>>
>> Thanks,
>>
>> Ray
>>
>> On Tuesday, February 25, 2014 12:22:05 AM UTC-5, Chirag wrote:
>>>
>>> Hello Ray,
>>>
>>> request xml also sent.
>>>
>>>
>>>
>>> On Tuesday, February 25, 2014 1:41:10 AM UTC+5:30, Ray Tsang 
>>> (AdWords API Team) wrote:

 Chirag,

 I only saw the response xml.  Could I trouble you to send the 
 request XML as well?

 Thanks,

 Ray

 On Monday, February 24, 2014 7:51:58 AM UTC+1, Chirag wrote:
>
> Hello Ray,
>
> Replied to author.
>
>
>
> On Wednesday, February 12, 2014 9:17:42 PM UTC+5:30, Ray Tsang 
> (AdWords API Team) wrote:
>>
>> Chirag,
>>
>> Just to confirm, you will need to set the clientCustomerIds to a 
>> real CID rather than the sample 00.  If you have changed it 
>> to the 
>> real CID, please use the "Reply to Author" feature to send me your 
>> request/response log/payload.
>>
>> Thanks!
>>
>> --
>> Ray Tsang (AdWords API Advisor)
>>
>>
>> On Wednesday, January 8, 2014 4:30:17 AM UTC-5, Chirag wrote:
>>>
>>> Hello,
>>> Any update?
>>> I am waiting for this.
>>> As on thread you said this was possible but using API it is not 
>>> possible.
>>>
>>>
>>>
>>> On Tuesday, December 3, 2013 10:52:24 PM UTC+5:30, Chirag wrote:

 Hello Paul,

 Yes, As you can see in my earlier post, i am using the same 
 code as your one.
 But as you are not getting any error, i have tryed once again 
 with no success.
 Please see my request id here, getting same error - "An error 
 has occurred: [AlertError.INVALID_CLIENT_ID_SELECTED @ 
 selector.query.clientExternalCustomerIds[0]] "

 My request Id : 
 requestId=0004eca46e3a88200aa4e603090b

 My Code : 

 // Create alert query.
 $query = new AlertQuery();
 $query->clientSpec = "ID_LIST";
 $query->clientCustomerIds = array(00);
 $query->filterSpec = "ALL";
 $query->triggerTimeSpec = "ALL_TIME";

 // Create selector.
 $selector = new AlertSelector();
 $selector->query = $query;

 // Create paging controls.
 $selector->paging = new Paging(0, 
 AdWordsConstants::RECOMMENDED_PAGE_SIZE);

 On Tuesday, December 3, 2013 7:48:09 PM UTC+5:30, Paul Matthews 
 (AdWords API Team) wrote:
>
> Hi Chirag,
>
> Here's the code that I've got:
>
> $query = new AlertQuery();
> $query->clientSpec = "ID_LIST";
> $query->clientCustomerIds = array(00);
> $query->filterSpec = "ALL";
> $query->triggerTime

Re: Error while Downloading Account Performance Report

2014-03-20 Thread Ray Tsang (AdWords API Team)
Salem,

You'll need to use the customer ID for each customer you get and get the 
report for each of those customers.  You can set the customer ID 
dynamically in the code.

Thanks,

On Thursday, March 20, 2014 11:03:15 AM UTC-4, Salem Hassan wrote:
>
> Hi Ray,
>
> I need to get the Account performance report at the MCC level (for all the 
> accounts under my MCC).
> Can you advise which Report should be used then..?
> I could get the details like Login, CustomerId, and Name at MCC level by 
> referring the 'GetAccountHierercy.cs' in the sample solution.
> But i need more details like Clicks, Cost per Click etc which are not 
> available with it.
>
> Thanks
>
>
>
>
> On Monday, March 17, 2014 7:47:53 PM UTC+5:30, Salem Hassan wrote:
>>
>>
>> I'm using  OAuth 2.0 Authentication for Adwords API.
>>
>> I'm running the  'awapi_dotnet_lib_v16.7.0' sample solution (.NET 
>> Library)  from google and in the 'AdWords.Examples.CSharp' I have the 
>> following tags set in my app.config file:
>>
>> 
>> 
>> 
>> 
>> > value="xxx" />
>> 
>> 
>> > value="xx" />
>>
>> I'm able to run the 'GetAccountHierarchy' functionality through command 
>> line (v201402.GetAccountHierarchy) to fetch all the accounts under my MCC 
>> (client centre).
>> But, when I tries to run the DownloadCriteriaReport 
>>  (v201402.DownloadCriteriaReport) to fetch Account Performance Report it 
>> gives me error..
>>
>> *Message*: Report download errors occurred, see errors field for more 
>> details.
>>
>> *Source*: Google.AdWords
>>
>> *Stack Trace*:   
>>
>>  at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>>  
>> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
>> outputStream) in c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 304
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReportInternal(String
>>  
>> downloadUrl, String postBody, Boolean returnMoneyInMicros, String path) in 
>> c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 253
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T
>>  
>> reportDefinition, Boolean returnMoneyInMicros, String path) in 
>> c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 215
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T
>>  
>> reportDefinition, String path) in c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 195
>>at 
>> Google.Api.Ads.AdWords.Examples.CSharp.v201402.DownloadCriteriaReport.Run(AdWordsUser
>>  
>> user, String fileName) in 
>> C:\Users\BGS002\Downloads\awapi_dotnet_lib_v16.7.0\examples\csharp\v201402\Reporting\DownloadCriteriaReport.cs:line
>>  
>> 112
>>
>> Here is the image : 
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Here is the code:
>>
>>  public void Run(AdWordsUser user, string fileName) {
>>   ReportDefinition definition = new ReportDefinition();
>>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>>   definition.reportType = 
>> ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT;
>>   definition.downloadFormat = DownloadFormat.CSV;
>>   definition.dateRangeType = ReportDefinitionDateRangeType.TODAY;
>> 
>>   // Create selector.
>>   Selector selector = new Selector();
>>   selector.fields = new string[] {"AdGroupId", "AdGroupName", 
>> "Clicks", "Impressions"};
>>
>>   Predicate predicate = new Predicate();
>>   predicate.field = "Status";
>>   predicate.@operator = PredicateOperator.IN;
>>   predicate.values = new string[] {"ACTIVE", "PAUSED"};
>>   selector.predicates = new Predicate[] {predicate};
>>  
>>   definition.selector = selector;
>>   definition.includeZeroImpressions = true;
>>   string filePath = ExampleUtilities.GetHomeDir() + 
>> Path.DirectorySeparatorChar + fileName;
>>   try {
>> ReportUtilities utilities = new ReportUtilities(user);
>> utilities.ReportVersion = "v201402";
>> 
>> utilities.DownloadClientReport(definition, filePath);
>> Console.WriteLine("Report was downloaded to '{0}'.", filePath);
>>   } catch (Exception ex) {
>> throw new System.ApplicationException("Failed to download 
>> report.", ex);
>>   }
>> }
>>
>>
>> I have also tried this on the web example with this code:
>>
>> protected void OnDownloadReportButtonClick(object sender, EventArgs e) {
>>   ConfigureUserForOAuth();
>>   ReportDefinition definition = new ReportDefinition();
>>   string fileName = "GoogleAdwords.csv";
>>   definition.reportNa

Re: Getting INVALID_FIELD_VALUES_IN_DATE_TIME when uploading offline conversions.

2014-03-20 Thread Mike Tipping
Actually it was intermittent on Monday 17th, now it's constant.

On Thursday, 20 March 2014 16:02:51 UTC, Mike Tipping wrote:
>
> I have the same problem here since the 17th March. The issues seems to 
> intermittent and if I retry the upload it eventually accepts it without any 
> changes to the format of what I'm sending.
>
> On Tuesday, 18 March 2014 20:55:46 UTC, Laura Gonzalez wrote:
>>
>>
>> Hello, I am using the adwords-php-lib and I was uploading offline 
>> conversions few days ago and I was passing the date as "20140306 143017" 
>> (just an example) just by doing $conversionTime->format('Ymd His'). 
>> According to the documentation, time zone is optional, if it's not passed 
>> then it will set it as the one configured in my MMC account. 
>>
>> It was working fine until few days ago, I started getting 
>> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME (I didn't change anything in my 
>> code) and looking at the documentation I see the date formatting is 
>> correct. 
>>
>> https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.DateError
>>
>> After a couple of hours trying to figure it out, I included the time zone 
>> parameter to my request like this $conversionTime->format('Ymd His P') 
>> which converts date as "20140306 143017 -08:00", and now it seems to work 
>> just fine.
>>
>> I was wondering if something changed in the API side that made it 
>> required. If it is, then shouldn't be updated in the documentation too? 
>> Because I was relaying on it.
>>
>> Thank you.
>>
>> Laura Gonzalez.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Offline Conversion Feed DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

2014-03-20 Thread Ray Tsang (AdWords API Team)
Chris,

My apologies.  Could I trouble you to append the timezone to your original 
format?  The timezone should be the same as the timezone associated w/ the 
AW account that you are uploading the conversion to, e.g.:

20140315 222113 EST

Thanks,

Ray

On Wednesday, March 19, 2014 5:20:19 PM UTC-4, cbmam...@gmail.com wrote:
>
> Ray,
>   The format you are suggesting also produces an error but not exactly 
> the same one.
>
> snippet from the request:
>
> 
>
> ADD
>
> 
>
> 
> CPHt9bfblL0CFchZ7AodFGcAHA
>
> RTLead
>
> 2014-03-15 10:13:25
>
> 110.28
>
> 
> 
> response
>
> http://schemas.xmlsoap.org/soap/envelope/";>
>
> 
>
> 
>
> soap:Server
>
> DateError.INVALID_STRING_DATE_TIME @ ; 
> trigger:'2014-03-15 10:13:25'
>
> 
>
> https://adwords.google.com/api/adwords/cm/v201309";>
>
> DateError.INVALID_STRING_DATE_TIME @ ; 
> trigger:'2014-03-15 10:13:25'
>
> 
> ApiException
>
> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">
>
> 
>
> 2014-03-15 10:13:25
>
> 
> DateError.INVALID_STRING_DATE_TIME
>
> DateError
>
> INVALID_STRING_DATE_TIME
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
> Thanks,
> Chris
>
> On Wednesday, March 19, 2014 4:06:15 PM UTC-4, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Chris,
>>
>> Please make sure that the time is after the click time and also not in 
>> the future.  Secondly, can you try this format instead?
>>
>>   -MM-dd HH:mm:ss
>>
>> Cheers,
>>
>> On Wednesday, March 19, 2014 1:03:34 PM UTC-4, cbmam...@gmail.com wrote:
>>>
>>> We have had an upload of offline conversions working for a little over a 
>>> month using API V201309 and yesterday we started getting errors saying we 
>>> have an invalid date and time.
>>>
>>> snipped from the request:
>>>
>>> 
>>>
>>> ADD
>>>
>>> 
>>>
>>> 
>>> CPnNu5z-lb0CFSNk7AoduicA4A
>>>
>>> RTLead
>>>
>>> 20140315 222113
>>>
>>> 40.28
>>>
>>> 
>>>
>>> 
>>>
>>>
>>> and snipped from the response
>>>
>>> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">
>>>
>>> operations[0].operand
>>>
>>> 
>>>
>>> 
>>> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME
>>>
>>> DateError
>>>
>>> 
>>> INVALID_FIELD_VALUES_IN_DATE_TIME
>>>
>>> 
>>>
>>>
>>> The documentation doesn't list valid formats and the field is a string 
>>> rather than xsd:dateTime.  What should be valid and what happened?
>>>
>>>
>>> thanks,
>>>
>>> Chris
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: SSLHandshakeException suddenly occurring

2014-03-20 Thread Ray Tsang (AdWords API Team)
Ian,

The URL is documented in our Report 
guide. 
 For v201402, the endpoint 
is https://adwords.google.com/api/adwords/reportdownload/v201402.

Cheers,

Ray

On Thursday, March 20, 2014 11:33:24 AM UTC-4, Ian Hayes wrote:
>
> Hi Ray,
>
> Thanks for your reply!
>
> We believe the issue is related to our corporate firewall - could you tell 
> me the URL/IP used for ReportDownloader.downloadReport(), so that we can 
> fix the firewall issue?
>
> Thanks,
> Ian
>
> On Wednesday, March 19, 2014 4:12:42 PM UTC-4, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Ian,
>>
>> It looks like a underlying issue w/ SSL connection.  It appears that you 
>> are using Java.
>> Would you be able to try a few things?  First - verify that SSL 
>> connection works w/ the endpoint via curl or wget.  You won't be able to 
>> retrieve anything but if SSL handshake fails then we know it's not isolated 
>> to Java.
>>
>> Secondly, please make sure your Java version is up to date and if you use 
>> any custom keystores.
>>
>> Thanks,
>>
>> Ray
>>
>>
>> On Wednesday, March 19, 2014 11:04:43 AM UTC-4, Ian Hayes wrote:
>>>
>>> Suddenly calls to the AdWords API that have been working for months are 
>>> failing with :
>>>
>>> java.lang.RuntimeException: Error running Awql query SELECT Month, Cost 
>>> FROM ACCOUNT_PERFORMANCE_REPORT DURING 20140301,20140331 
>>>
>>> Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed 
>>> connection during handshake 
>>> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) 
>>>
>>>
>>> Has anyone else had similar issues or know what might cause them?
>>>
>>> Thanks!
>>> Ian
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Authentication Process in Google Adword v201309?

2014-03-20 Thread Ray Tsang (AdWords API Team)
Rishav,

Do you have the report logs?  Also, how are you using the Report Downloader?

Thanks,

Ray

On Thursday, March 20, 2014 5:24:07 AM UTC-4, Rishav Kumar wrote:
>
> I am getting the credentials and storing it to a .dat file
>
> oauth2_client_id = '12121212121212121'
> oauth2_client_secret = 'JHJHJHJHJHJGHGH'
> email="m...@my.com "
> client_customer_id='hnjhjhjh'def main():
> storage=Storage('c:\Mypath\SampleAD.dat')
> credential =storage.get()
> if credential is None:
> scope=['https://adwords.google.com/api/adwords']
> flow = OAuth2WebServerFlow(
>  
> client_id=oauth2_client_id,client_secret=oauth2_client_secret,scope=scope,user_agent='SampleAPI',redirect_uri='urn:ietf:wg:oauth:2.0:oob')
> authorize_url = flow.step1_get_authorize_url()
> print authorize_url
> webbrowser.open(authorize_url,)
> print ('Log in to your Google Account and open the following URL: 
> \n%s\n'%authorize_url)
> print 'After approving the token enter the verification code (if 
> specified).'
> code = raw_input('Code: ').strip()
> try:
> credential = flow.step2_exchange(code)
> storage=Storage('Mypath\SampleAd.dat')
> client = AdWordsClient(headers={'developerToken': '%s' % email,
> 'clientCustomerId': 
> client_customer_id,
> 'userAgent': 'SampleAPI',
> 'oauth2credentials': credential
> })
> credentials = client.oauth2credentials
> print 'OAuth2 authorization successful!'
> credentials.refresh(httplib2.Http())
> client.oauth2credentials = credentials
> campaign_service = client.GetCampaignService(version='v201309')
> print campaign_service
> # OAuth2 credentials objects can be reused
> credentials = client.oauth2credentials
> client.oauth2credentials = credentials
> http = httplib2.Http()
> print http
> print 'OAuth2 authorization successful!'
> storage.put(credentials)
>   except FlowExchangeError as e:
> sys.exit('Authentication has failed: %s' % e)
>
> After the Successful authentication I am trying to download the report. I 
> am getting this ERROR
>
> adspygoogle.adwords.AdWordsErrors.AdWordsReportError: HTTP code: 400, 
> type:'QuotaCheckError.INVALID_TOKEN_HEADER', trigger: 'm...@my.com 
> ', field path: ''
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: service account oauth2 node.js

2014-03-20 Thread Ray Tsang (AdWords API Team)
Hi,

Please review our authentication 
guide. 
 In most cases, you do not need a service account.  When using test 
accounts, please carefully review the test account 
guide
.

Cheers,

Ray

On Thursday, March 20, 2014 11:38:26 AM UTC-4, mktprodaw...@gmail.com wrote:
>
> I'm developing an app, which is supposed to get data from our marketing 
> department's adwords account (in our company), and thus need to work with 
> adwords API.
> Till now I have succeeded getting data from a test mcc account.
> My app was identified by the  access token i created in the playground 
> when I was connected as the  test mcc account.
>
> now i'm trying to make a progress and *not *to use the playground 
> anymore. I want my app, as a service account to go and get the access 
> token, and then make a request. 
>
> I need to understand: when I use the developer console in order to create 
> the service account, does it matter which google account i'm connected to?
> i mean, if this is the my adwords mcc test account (that i'm connected to 
> at the moment), can it be also the google account containing the 
> application's project?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Offline Conversion Feed DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

2014-03-20 Thread Ray Tsang (AdWords API Team)
Chris,

Just to clarify the timezone values - those are documented 
here: https://developers.google.com/adwords/api/docs/appendix/timezones
And that you should be able to specify a timezone thta's not the same as 
the AW account.

Cheers,

Ray

On Thursday, March 20, 2014 1:31:59 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:
>
> Chris,
>
> My apologies.  Could I trouble you to append the timezone to your original 
> format?  The timezone should be the same as the timezone associated w/ the 
> AW account that you are uploading the conversion to, e.g.:
>
> 20140315 222113 EST
>
> Thanks,
>
> Ray
>
> On Wednesday, March 19, 2014 5:20:19 PM UTC-4, cbmam...@gmail.com wrote:
>>
>> Ray,
>>   The format you are suggesting also produces an error but not 
>> exactly the same one.
>>
>> snippet from the request:
>>
>> 
>>
>> ADD
>>
>> 
>>
>> 
>> CPHt9bfblL0CFchZ7AodFGcAHA
>>
>> RTLead
>>
>> 2014-03-15 10:13:25
>>
>> 110.28
>>
>> 
>> 
>> response
>>
>> http://schemas.xmlsoap.org/soap/envelope/";>
>>
>> 
>>
>> 
>>
>> soap:Server
>>
>> DateError.INVALID_STRING_DATE_TIME @ ; 
>> trigger:'2014-03-15 10:13:25'
>>
>> 
>>
>> https://adwords.google.com/api/adwords/cm/v201309";>
>>
>> DateError.INVALID_STRING_DATE_TIME @ ; 
>> trigger:'2014-03-15 10:13:25'
>>
>> 
>> ApiException
>>
>> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">
>>
>> 
>>
>> 2014-03-15 10:13:25
>>
>> 
>> DateError.INVALID_STRING_DATE_TIME
>>
>> DateError
>>
>> INVALID_STRING_DATE_TIME
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>> Thanks,
>> Chris
>>
>> On Wednesday, March 19, 2014 4:06:15 PM UTC-4, Ray Tsang (AdWords API 
>> Team) wrote:
>>>
>>> Chris,
>>>
>>> Please make sure that the time is after the click time and also not in 
>>> the future.  Secondly, can you try this format instead?
>>>
>>>   -MM-dd HH:mm:ss
>>>
>>> Cheers,
>>>
>>> On Wednesday, March 19, 2014 1:03:34 PM UTC-4, cbmam...@gmail.com wrote:

 We have had an upload of offline conversions working for a little over 
 a month using API V201309 and yesterday we started getting errors saying 
 we 
 have an invalid date and time.

 snipped from the request:

 

 ADD

 

 
 CPnNu5z-lb0CFSNk7AoduicA4A

 RTLead

 20140315 222113

 40.28

 

 


 and snipped from the response

 http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">

 operations[0].operand

 

 
 DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

 DateError

 
 INVALID_FIELD_VALUES_IN_DATE_TIME

 


 The documentation doesn't list valid formats and the field is a string 
 rather than xsd:dateTime.  What should be valid and what happened?


 thanks,

 Chris

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: Offline Conversion Feed DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

2014-03-20 Thread Chris Marshall
Ray,
One of the other thread described trying -08:00 for the timezone.  I used 
-05:00 and that worked.

Thanks,
Chris

From: "Ray Tsang (AdWords API Team)" 
mailto:adwordsapiadvisor+...@google.com>>
Reply-To: 
"adwordsapiadvisor+...@google.com" 
mailto:adwordsapiadvisor+...@google.com>>
Date: Thursday, March 20, 2014 1:29 PM
To: "adwords-api@googlegroups.com" 
mailto:adwords-api@googlegroups.com>>
Subject: Re: Offline Conversion Feed DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

Chris,

Just to clarify the timezone values - those are documented here: 
https://developers.google.com/adwords/api/docs/appendix/timezones
And that you should be able to specify a timezone thta's not the same as the AW 
account.

Cheers,

Ray

On Thursday, March 20, 2014 1:31:59 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:
Chris,

My apologies.  Could I trouble you to append the timezone to your original 
format?  The timezone should be the same as the timezone associated w/ the AW 
account that you are uploading the conversion to, e.g.:

20140315 222113 EST

Thanks,

Ray

On Wednesday, March 19, 2014 5:20:19 PM UTC-4, cbmam...@gmail.com wrote:
Ray,
  The format you are suggesting also produces an error but not exactly the 
same one.

snippet from the request:



ADD



CPHt9bfblL0CFchZ7AodFGcAHA

RTLead

2014-03-15 10:13:25

110.28




response

http://schemas.xmlsoap.org/soap/envelope/";>





soap:Server

DateError.INVALID_STRING_DATE_TIME @ ; 
trigger:'2014-03-15 10:13:25'



https://adwords.google.com/api/adwords/cm/v201309";>

DateError.INVALID_STRING_DATE_TIME @ ; 
trigger:'2014-03-15 10:13:25'


ApiException

http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">



2014-03-15 10:13:25


DateError.INVALID_STRING_DATE_TIME

DateError

INVALID_STRING_DATE_TIME













Thanks,
Chris

On Wednesday, March 19, 2014 4:06:15 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:
Chris,

Please make sure that the time is after the click time and also not in the 
future.  Secondly, can you try this format instead?

  -MM-dd HH:mm:ss

Cheers,

On Wednesday, March 19, 2014 1:03:34 PM UTC-4, cbmam...@gmail.com wrote:
We have had an upload of offline conversions working for a little over a month 
using API V201309 and yesterday we started getting errors saying we have an 
invalid date and time.

snipped from the request:



ADD



CPnNu5z-lb0CFSNk7AoduicA4A

RTLead

20140315 222113

40.28






and snipped from the response

http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">

operations[0].operand




DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

DateError

INVALID_FIELD_VALUES_IN_DATE_TIME




The documentation doesn't list valid formats and the field is a string rather 
than xsd:dateTime.  What should be valid and what happened?


thanks,

Chris

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.

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

Re: Getting INVALID_FIELD_VALUES_IN_DATE_TIME when uploading offline conversions.

2014-03-20 Thread Laura Gonzalez
Have you tried appending the time zone to the conversion time field? That 
was what fixed it for me. 

Also there's a duplicate issue here, they also suggest you to add the 
timezone: https://groups.google.com/d/msg/adwords-api/PWuQuXjZoWA/YT2sbfFY40oJ

Hope this helps. 

On Thursday, March 20, 2014 10:04:42 AM UTC-7, Mike Tipping wrote:
>
> Actually it was intermittent on Monday 17th, now it's constant.
>
> On Thursday, 20 March 2014 16:02:51 UTC, Mike Tipping wrote:
>>
>> I have the same problem here since the 17th March. The issues seems to 
>> intermittent and if I retry the upload it eventually accepts it without any 
>> changes to the format of what I'm sending.
>>
>> On Tuesday, 18 March 2014 20:55:46 UTC, Laura Gonzalez wrote:
>>>
>>>
>>> Hello, I am using the adwords-php-lib and I was uploading offline 
>>> conversions few days ago and I was passing the date as "20140306 143017" 
>>> (just an example) just by doing $conversionTime->format('Ymd His'). 
>>> According to the documentation, time zone is optional, if it's not passed 
>>> then it will set it as the one configured in my MMC account. 
>>>
>>> It was working fine until few days ago, I started getting 
>>> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME (I didn't change anything in my 
>>> code) and looking at the documentation I see the date formatting is 
>>> correct. 
>>>
>>> https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.DateError
>>>
>>> After a couple of hours trying to figure it out, I included the time 
>>> zone parameter to my request like this $conversionTime->format('Ymd His P') 
>>> which converts date as "20140306 143017 -08:00", and now it seems to work 
>>> just fine.
>>>
>>> I was wondering if something changed in the API side that made it 
>>> required. If it is, then shouldn't be updated in the documentation too? 
>>> Because I was relaying on it.
>>>
>>> Thank you.
>>>
>>> Laura Gonzalez.
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.


Re: I use OAuth2 with v201306 successfully and am attempting to migrate to v201402, and need help with running GetRefreshToken.java

2014-03-20 Thread steve . beaman
Ok, I have figured out a much better way to do this.  

I assume that copying the authorizeUrl into a browser, and copying the 
resulting authorizationCode into a Windows command line all has to be done 
within a single user session.  And the line:

String authorizationCode = new BufferedReader(new 
InputStreamReader(System.in)).readLine();

stops execution until the user pastes the authorizationCode in.  

Instead of jumping through a ton of hoops necessary to run 
GetRefreshToken.java at the command line, I simply ripped out the following 
line:

String authorizationCode = new BufferedReader(new 
InputStreamReader(System.in)).readLine();

and replaced it with a line that reads the authorizationCode from a file 
that I have pasted the authorizationCode to.

I just run it all in my IDE in debug mode with a breakpoint set immediately 
before the file read.

That way it all happens within one user session, which apparently is 
required, and no CLASSPATH hoops to jump through!

Anyway, it works smoothly, and I now have the credential.getRefreshToken().




On Wednesday, March 19, 2014 1:04:46 PM UTC-7, steve@revvim.com wrote:

> I have a api.adwords.clientId and a api.adwords.clientSecret obtained from:
>
>
> https://console.developers.google.com/project/apps~astute-being-524/apiui/credential
>
> I have pasted the clientId and clientSecret into the appropriate spots in 
> ads.properties file.
>
> I have run GetRefreshToken.java and at line 78,  am displayed a url to 
> past in a browser.
>
> I paste the url in a browers and see:
>
> Error: redirect_uri_mismatch
>
> Please let me know what I need to do to correct the situation.  I really 
> need to get this migration complete before the Sunset date.
>
> Thanks.
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.