AdWords API Site targeting is incompatible with budget optimizer.

2009-07-24 Thread alan
122 One or more input elements failed validation. 0 budgetOptimizerSettings 92 false Site targeting is incompatible with budget optimizer. when i use budget optimizer and set system budget and set a limite value to '12', ad

AdWords API Re: Site targeting is incompatible with budget optimizer.

2009-07-31 Thread alan
92 error code ID of the Campaign:46367065 I create a Campaign with api(not use budgetOptimizer),and when I update it with budgetOptimizer , that's generating the error. My update campaign api code: Campaign ca = service.getCampaign(46367065); BudgetOptimizerSettings budgetOptimizer = new Budge

AdWords API Re: Site targeting is incompatible with budget optimizer.

2009-08-02 Thread alan
Hi,Eric, Thank you for your replay.I am waiting for your answer. Best, - Alan On Aug 1, 5:45 am, AdWords API Advisor wrote: > Hi Alan, > > Thanks for getting back to me with this information.  I was able to > replicate the issue and I am discussing it with the developers to see

AdWords API Re: Site targeting is incompatible with budget optimizer.

2009-08-19 Thread alan
Hi,Eric, Sorry to trouble you again. How is the problem going?I am waiting for the answer.and the question I had submitted is the big problem for our system . Thank you! Best Regard! On Aug 3, 9:26 am, alan wrote: > Hi,Eric, > > Thank you for your replay.I am waiting for your answer.

Multiple errors on Report Types Reference page

2014-04-03 Thread Alan Ho
We use the CSV format of the report fields table for data cross-checking and noticed few errors in the table. Tried to report this using in-page "Report a bug" but nothing has been heard so far. https://google-developers.appspot.com/adwords/api/docs/appendix/reports?hl=he#account KEYWORDS_PERFO

Re: Multiple errors on Report Types Reference page

2014-04-03 Thread Alan Ho
Display Name of each table should be unique? Thanks On Friday, April 4, 2014 3:18:58 AM UTC+8, Josh Radcliff (AdWords API Team) wrote: > > Hi Alan, > > Thanks for pointing this out. On the KEYWORDS_PERFORMANCE_REPORT I'm > seeing the Display Name ("Keyword")

Can anyone add some details to the READ_ONLY error?

2014-04-15 Thread Alan Coleman
Hello, Can anyone shed any light on the READ_ONLY error I'm receiving when attempting to create AdGroups in campaigns? The users of the app maintain that they've never seen anything in AdWords that resembles setting anything to READ_ONLY. As always, any help would be appreciated. Thank you

Re: Can anyone add some details to the READ_ONLY error?

2014-04-17 Thread Alan Coleman
gards, > Mike, AdWords API Advisor > > On Tuesday, April 15, 2014 5:07:24 AM UTC-4, Alan Coleman wrote: >> >> Hello, >> >> Can anyone shed any light on the READ_ONLY error I'm receiving when >> attempting to create AdGroups in campaigns? >> >>

Re: Can anyone add some details to the READ_ONLY error?

2014-04-17 Thread Alan Coleman
I need to find a resolution for this so as soon as I make some progress I'll let you know. Cheers! On Wednesday, April 16, 2014 7:11:07 PM UTC+1, ignacio.na...@gmail.com wrote: > > Hello Alan, > > I do have a similar problem with the API: while trying to upload AdGroups, &g

Re: Can anyone add some details to the READ_ONLY error?

2014-04-29 Thread Alan Coleman
This problem only arose with Client IDs created after the editing of content bid was sunset. I removed *$bid->contentBid = new Money(75); *From my AdAdGroups function and the problem was fixed. Thanks everyone! On Tuesday, April 15, 2014 10:07:24 AM UTC+1, Alan Coleman wrote: > &

Re: Can anyone add some details to the READ_ONLY error?

2014-04-29 Thread Alan Coleman
This problem only arose with Client IDs created after the editing of content bid was sunset. I removed *$bid->contentBid = new Money(75); *From my AdAdGroups function and the problem was fixed. Thanks everyone! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our

Recording unit allowance and usage

2014-05-14 Thread Alan Coleman
Hello everyone, I know that our unit allowance is 10,000 units per day. I'd like to be able to monitor our usage and store the information so we can plan and adapt our strategy where necessary. Is there any way we can do this? There is mention of units in the Request Info log but no figure att

Re: Recording unit allowance and usage

2014-05-14 Thread Alan Coleman
Many thanks On Wednesday, May 14, 2014 8:25:52 AM UTC, Alan Coleman wrote: > > Hello everyone, > > I know that our unit allowance is 10,000 units per day. > > I'd like to be able to monitor our usage and store the information so we > can plan and adapt our strategy where nec

Re: Recording unit allowance and usage

2014-05-14 Thread Alan Coleman
nk the post below covers your questions, but let me know if that's > not the case. > > https://groups.google.com/d/msg/adwords-api/a2Me1N3Va_0/gMCxXON5GJoJ > > Thanks, > Josh, AdWords API Team > > On Wednesday, May 14, 2014 5:47:07 AM UTC-4, Alan Coleman wrote: &g

Furnishing AdGroups without returning the AdGroupReturnValue to our application.

2014-06-18 Thread Alan Coleman
Hello everyone, We've built an app with the AdWords API and it's working really well. Our app creates AdGroups and furnishes them with Ads, Keywords and Negative Keywords. We create our Adgroups first and use the IDs from the *AdGroupReturnValue* to then create Ads, Keywords and Negative Keywo

Re: Furnishing AdGroups without returning the AdGroupReturnValue to our application.

2014-06-18 Thread Alan Coleman
Team) wrote: > > Alan, > > We don't support this at the moment. Each mutate request is atomic by its > own. It's recommended that the client application handle the error > conditions accordingly as every user may have a different requirement for > this. > >

RateExceededError returned with no fields

2014-06-18 Thread Alan Coleman
Hello everyone, I'm storing and handling any errors I receive back from the API, however I am occasionally getting the [RateExceededError ] without the accompanying fields (rateScope, rateName, retryAfterSeconds). I can't really handle this error without the accompanying details. Has anyone el

Re: RateExceededError returned with no fields

2014-06-18 Thread Alan Coleman
Doh! I'm reading the error back from storage and writing out. And of course the contents of <> are not displaying in HTML. Silly me! On Wednesday, June 18, 2014 5:37:12 PM UTC+1, Alan Coleman wrote: > > Hello everyone, > > I'm storing and handling any errors

Returning Campaign ID from AdGroupAdOperation

2014-07-18 Thread Alan Coleman
Hello everyone, I'm successfully using *AdGroupAdOperation* to write TextAds to Adgroups. The returning array of objects gives me the TextAd ID as well as the AdGroup ID it's been assigned to. Great. Is it possible for me however to return the ID of the Campaign that that owns the AdGroup in t

Re: Returning Campaign ID from AdGroupAdOperation

2014-07-18 Thread Alan Coleman
Looking at this, I'm going to be approaching the problem from another direction. I'll store the AdGroup ID's returned by the API and match them with Campaign IDs at a later stage. Thanks On Friday, July 18, 2014 2:00:00 PM UTC+1, Alan Coleman wrote: > > Hello everyone,

Question about Required Minimum Functionality

2014-07-21 Thread Alan Coleman
Hello everyone, I've been looking at the Required Minimum Functionality to obtain Standard Access . Our App uses Creation Functionality, for example *C.190 Create AdGroup*. Now from the documentation I gather we have to implement all

Avoiding CANNOT_TARGET_AND_EXCLUDE with Negative keywords

2014-07-23 Thread Alan Coleman
Hello everyone, I'm adding negative keywords to AdGroups via the API using the NegativeAdGroupCriterion. I understand the concept of CANNOT_TARGET_AND_EXCLUDE and why it is necessary, I just need to find a way of avoiding it in my app. 1) Is there a way I can skip adding a *Negative Keyword* i

Re: Avoiding CANNOT_TARGET_AND_EXCLUDE with Negative keywords

2014-07-24 Thread Alan Coleman
d be pretty straightforward. > > Cheers, > Josh, AdWords API Team > > On Wednesday, July 23, 2014 9:22:07 AM UTC-4, Alan Coleman wrote: >> >> Hello everyone, >> >> I'm adding negative keywords to AdGroups via the API using the >> NegativeAdGroupCrit

Copy a campaign

2014-08-04 Thread Alan Coleman
Hello everyone, I need to build some functionality into our application that creates a new Campaign furnished with AdGroups, TextAds and Keywords from a campaign that already exists - essentially *copy a campaign*. I can achieve this by using my local information to create a Campaign and furni

Re: Copy a campaign

2014-08-04 Thread Alan Coleman
oups, its keywords, etc. > > Cheers, > Josh, AdWords API Team > > On Monday, August 4, 2014 8:54:23 AM UTC-4, Alan Coleman wrote: >> >> Hello everyone, >> >> I need to build some functionality into our application that creates a >> new Campaign furnished

Basic or Standard API Access?

2014-08-05 Thread Alan Coleman
Hello, Does the API indicate the kind of access (Basic or Standard) afforded to a Developer Token in any way? For example in the AdWords User object that is returned to an application? Many thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: h

Suggestions as to which ReportDefinition.ReportType to use

2014-08-05 Thread Alan Coleman
Hello everyone, I've started running into START_INDEX_IS_TOO_HIGH issues with when retrieving large result sets of AdGroup names. So I'm going to follow the advice outlined here and use adHoc reportin

Only one account creation request was issued, but many duplicate accounts were created

2023-12-07 Thread Alan Li
Today, there was a problem in my company's production environment. The following code was called once, but a dozen duplicate accounts appeared on the Google advertising platform. Customer customer = new() { DescriptiveName = req.DescriptiveName, Cur

Re: Problem with Adwords Api

2013-01-27 Thread Alan Coleman
Hi Paul, This would probably explain why the above SOAP Request is not working for me. So has the Sandbox environment been scrapped in favour of developers using their own test accounts through MCC? Many thanks On Tuesday, January 15, 2013 4:00:36 PM UTC, Paul Matthews (AdWords API Team) wro

GetCampaigns.php working in Command line but not not in browser

2013-01-30 Thread Alan Coleman
Hello, I'm running *aw_api_php_lib_3.2.2 on localhost* I'm able to run GetCampaigns.php in the command line and return my data from Adwords. However running the same file through a browser returns a blank screen and no errors. Does anyone have any ideas? Many thanks -- -- =~=~=~=~=~=~=~=

Re: GetCampaigns.php working in Command line but not not in browser

2013-01-30 Thread Alan Coleman
If comment out the return line in the following, then the script works: // Don't run the example if the file is being included. if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { //return; } Does anyone know why this is? Many thanks On Tuesday, January 29, 2013 6:07:36 PM UT

Do I need to use OAuth 2.0 Authentication?

2013-01-30 Thread Alan Coleman
Hello everyone, A a newbie to the Google AdWords API I'm experimenting with the examples in v201209 I have GetCampaigns.php returning data from my test account successfully. However when I run GetCampaigns.php from a server I get an error: An error has occurred: Failed to get authToken. Reason

Do I need to use OAuth 2.0?

2013-01-30 Thread Alan Coleman
Hello everyone, As a newbie to the Google AdWords API I'm experimenting with the examples in v201209 I have GetCampaigns.php returning data from my test account successfully on localhost. However when I run GetCampaigns.php from a server I get an error:* An error has occurred: Failed to get a

DOMDocument error

2013-01-30 Thread Alan Coleman
Hello everyone, I'm running GetCampaigns.php successfully on my localhost (PHP Version 5.4.3) However when I run GetCampaigns.php on a server (PHP Version 5.4.8) I receive the following error: An error has occurred: Class 'DOMDocument' not found I have the correct extensions installed on bo

Re: DOMDocument error

2013-02-04 Thread Alan Coleman
Thanks Anash, I installed php-xml and everything is fine now. Cheers >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: Do I need to use OAuth 2.0?

2013-02-04 Thread Alan Coleman
Thanks again Anash and Marcos! On Monday, February 4, 2013 4:05:10 AM UTC, Anash P. Oommen (AdWords API Team) wrote: > > Hi Alan, > > ClientLogin is deprecated, so we recommend using OAuth 2.0 authentication > as a long-term approach. > http://code.google.com/p/google-api-

Having trouble with Selector fields in GetCampaigns.php

2013-02-04 Thread Alan Coleman
Hello everyone, I'm using GetCampaigns.php and am having trouble with $selector->fields. I'm selecting the following: *$selector->fields = array('Id', 'Name', 'Status', 'StartDate');* and writing them out like this: *printf("%s"."\n",$campaign->id);* *printf("%s"."\n",$campaign->name);* *prin

Re: Having trouble with Selector fields in GetCampaigns.php

2013-02-04 Thread Alan Coleman
f("%s"."\n",$campaign->startdate); printf(""."\n"); } print("")."\n"; } else { print "No campaigns were found.\n"; } // Advance the paging index. $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_

Re: Having trouble with Selector fields in GetCampaigns.php

2013-02-04 Thread Alan Coleman
Here's the error passed back when I try to use startDate An error has occurred: [SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'startDate'] On Monday, February 4, 2013 4:46:10 PM UTC, Alan Coleman wrote: > > Hello everyone, > > I'm using GetCam

Re: Having trouble with Selector fields in GetCampaigns.php

2013-02-04 Thread Alan Coleman
tDate and print_r(*$campaign*). To check what > fields are returned from API. > > On Monday, February 4, 2013 9:35:34 PM UTC+4, Alan Coleman wrote: >> >> Here's the error passed back when I try to use startDate An error has >> occurred: [SelectorError.INVALID_

Re: Having trouble with Selector fields in GetCampaigns.php

2013-02-04 Thread Alan Coleman
sue on our Bluehost LAMP stack. I'll talk to you via email. Thanks again. On Monday, February 4, 2013 8:44:00 PM UTC, Evgeniy Bogdanov wrote: > > You need to use $campaign->startDate instead of $campaign->startdate > > On Tuesday, February 5, 2013 12:39:36 AM UTC+4, Alan Coleman

Re: Having trouble with Selector fields in GetCampaigns.php

2013-02-04 Thread Alan Coleman
Whilst we're here Evgeniy, How do I pick up the other objects within Campaign Object, like CampaignStats Object ( [startDate] for example. Thanks On Monday, February 4, 2013 9:09:23 PM UTC, Alan Coleman wrote: > > Okay so the camel casing is preserved, but it's a bit od

Basic confusion over Selector Fields and Paths

2013-02-07 Thread Alan Coleman
Hello everyone, I'm a little confused about about Selector Fields. In this instance I'm using the AdGroupService, the appendix is here: https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201209-AdGroupService It may be easier if I explain my confusion by showing some PHP, t

Best practice for filtering multiple values

2013-02-07 Thread Alan Coleman
Hello everyone, Here's the scenario: I'm using the CampaignService and I'd like to filter on multiple values, in this instance it's Id. So I'd like to use the API to get an array of Ids, however I can't achieve that here because EQUALS doesn't support an array. $selector->predicates[] = new Pr

Re: Best practice for filtering multiple values

2013-02-07 Thread Alan Coleman
> > On Thursday, February 7, 2013 11:46:51 AM UTC+1, Alan Coleman wrote: >> >> Hello everyone, >> >> Here's the scenario: I'm using the CampaignService and I'd like to filter >> on multiple values, in this instance it's Id. >> >> S

Re: newbie to adword api - creating reports

2013-02-18 Thread Alan Coleman
Hi Takeshi, I'm a bit confused about the now-deprecated ReportsDefinitionService. Reporting Basics encourages us to update our applications to use AdHoc Reports: https://developers.google.com/adwords/api/docs/guides/reporting However the two examples above both contain reference to ReportDefin

Is it possible to set a negative keyword using the AdGroupCriterionService?

2013-02-20 Thread Alan Coleman
Hello everyone, I'd like to set a negative keyword in an adgroup. Can I do this using the AdGroupCriterionService? If so where do I set the field to negative? I've been reading through the NegativeAdGroupCriterion but the documentation indicates that criterionUse NEGATIVE is read only. https

Best practice suggestions to avoid DUPLICATE_ADGROUP_NAME

2013-02-26 Thread Alan Coleman
Hello everyone, I'm building an app that's adding AdGroups to Campaigns. The Campaign I'll be working with wont be new, I wont be creating it so I don't know what AdGroups already exist. Obviously I need to avoid DUPLICATE_ADGROUP_NAME as this will interrupt my process. I can think of two wa

Re: Is it possible to set a negative keyword using the AdGroupCriterionService?

2013-02-26 Thread Alan Coleman
Thanks Oliver, With your help this is how I got the process working in PHP, thank again: $adGroupCriterionService = $user->GetService('AdGroupCriterionService', ADWORDS_VERSION); // Declare variables $NegativeAdGroupId = $val['adGroupID']; // OVERIDE FOR TESTING $NegativeAdGroupId = 000

Re: Best practice suggestions to avoid DUPLICATE_ADGROUP_NAME

2013-02-26 Thread Alan Coleman
cordingly. For most languages you'll need to implement an exception > handler. > > It's safer than your solutions, which assume that nothing changes after > you retrieve a list of ad group names. > > > Hope this helps. > > > > On Tuesday, February 26, 20

partialFailure as a work round for a Policy Violation Error?

2013-03-01 Thread Alan Coleman
Hello everyone, I'm using the adGroupCriterionService to update multiple keywords from an array. This was working fine until I stumbled across a Policy Violation Error between two keywords. This is a false positive and unintentional. Ideally I'd like to be able to skip past any keywords returni

Re: partialFailure as a work round for a Policy Violation Error?

2013-03-04 Thread Alan Coleman
eam) wrote: > > Hi Alan, > > partialFailure should be set at the RequestHeader level in your soap > request, not the AdGroupCriterionOperation level. > > http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0" > xmlns:ns1=&qu

Re: partialFailure as a work round for a Policy Violation Error?

2013-03-07 Thread Alan Coleman
Paul & Takeshi, Thanks very much for all of your help, it doesn't go noticed and it's hugely appreciated. Cheers On Thursday, March 7, 2013 11:30:09 AM UTC, Paul Matthews wrote: > > Hi Alan, > > To send the param "partialFailure" to the server, we of

Is it possible to access clients in an MCC through the API?

2013-04-02 Thread Alan Coleman
Hello, My application can run a particular client id in an MCC. I'm currently adding these clients manually to my application as and when I need to use them. Ideally I'd like to be able to access all of the clients in an MCC through the API So that I can store them locally and set about some f

This may sound like a silly Question, but what version am I running?

2013-04-02 Thread Alan Coleman
Hello everyone, I've just spotted the following in AdWordsUser.php: private static $DEFAULT_VERSION = 'v201206'; However I was under the impression I was using version v201209. This is a little worrying as v201206 has now been sunset, although my application is still working. Generally, whe

Apostrophe's in a textAd

2013-04-09 Thread Alan Coleman
Hello everyone, This has to be a simple one. I'm trying to add an apostrophe in a textAd but the outcome is being escaped: Input to API: UK's Output from API: UK\'s I've tried inputting an HTML apostrophe but that reads as text once passed through the API. Any ideas would be greatly appreciat

Re: Apostrophe's in a textAd

2013-04-09 Thread Alan Coleman
Sorry to waste anyone's time but this was a PHP Issue with magic_quotes_gpc = on Thanks On Tuesday, April 9, 2013 10:01:15 AM UTC+1, Alan Coleman wrote: > > Hello everyone, > > This has to be a simple one. I'm trying to add an apostrophe in a textAd > but the

Re: Is it possible to access clients in an MCC through the API?

2013-04-10 Thread Alan Coleman
As always, thanks for your help Anash! On Tuesday, April 2, 2013 1:07:43 PM UTC+1, Alan Coleman wrote: > > Hello, > > My application can run a particular client id in an MCC. I'm currently > adding these clients manually to my application as and when I need to use > the

Performance overheads with Logging SOAP XML request and response

2013-04-22 Thread Alan Coleman
Hello everyone, Are there any performance overheads with logging SOAP XML request and response? Once my application has been deployed I wont need to log SOAP XML transactions, but will there be any benefit in turning them off. Which leads me to my second question. If I want to turn off SOAP XM

Remove or change the Content-Encoding of a SOAP request

2013-06-25 Thread Alan Coleman
The code below is a log of a SOAP request that forms part of my Google AdWords App. I'd like to be able to change or remove the Content-Encoding of the request as I think this may be be causing an error. It can be seen below on line 5. Any ideas would be appreciated. PHP Error: Notice: Fail

Re: Remove or change the Content-Encoding of a SOAP request

2013-06-26 Thread Alan Coleman
, June 25, 2013 10:39:03 PM UTC+1, Alan Coleman wrote: > > The code below is a log of a SOAP request that forms part of my Google > AdWords App. I'd like to be able to change or remove the Content-Encoding > of the request as I think this may be be causing an error. It can be seen

Re: Remove or change the Content-Encoding of a SOAP request

2013-06-26 Thread Alan Coleman
On Wednesday, June 26, 2013 10:27:56 PM UTC+1, Alan Coleman wrote: > > I set the COMPRESSION Setting to 0 in the settings.ini > > This was necessary to disable SOAP Content-Encoding when using AdWords PHP > Library adwords_api_php_4.2.5 > > Content-Encoding: deflate &g

Re: HTTP/1.1 415 Unsupported Media Type in PHP Library adwords_api_php_4.2.5

2013-06-27 Thread Alan Coleman
, June 27, 2013 8:37:38 AM UTC+1, Takeshi Hagikura (AdWords API Team) wrote: > > Hi Alan, > > What types of call did you made, soap call or AdHoc reports? > Can you please also post the soap logs (except for the sensitive > information)? > > Best, > - Takeshi, AdWords API T

Re: Best practice for migrating to v201302

2013-06-27 Thread Alan Coleman
Thanks Danial, I took this route and only encountered one issue, that was with the SOAP Compression: https://groups.google.com/forum/#!topic/adwords-api/1SCphmtfAsU On Thursday, June 27, 2013 11:40:18 AM UTC+1, Danial Klimkin wrote: > > Hello Alan, > > > I'd suggest opti

Re: oauth2 invalid grant with ruby-api gem

2013-06-30 Thread Alan Ho
If you already got access token or refresh from omniauth, you need to supply those tokens when instantiate API class e.g. in my case: AdwordsApi::Api.new({ :authentication => { method: 'OAuth2', oauth2_client_id: MYCLIENTID, oauth2_client_secret: MYCLIENTSECRET,

OAuth2 still asking for email & password values

2013-08-18 Thread Alan Coleman
Hello everyone, I'm moving my AdWords app from Client Login to OAuth2 authentication in preparation to migrate to v201306. I've read the documentation and understand the concept of OAuth2 and have experimented successfully with a little Google+ login script. I'm confused about how my app will

Re: Authorization Method

2013-08-19 Thread Alan Coleman
Anash, The link in your post throws a 404. Any chance you could dig this out for me, I'm interested because I'm having a little trouble moving over from Client Login to OAuth2. See here: https://developers.google.com/adwords/api/community/?place=msg%2Fadwords-api%2FNi7VJB6r-M4%2FZDMFJOBD9Z4J

Re: Issue migrating from v201209 to v201306

2013-08-20 Thread Alan Coleman
Hi Tommy, I tried to migrate from v201302 to v201306 using Client Login and received an error that informed me that Client Login is no longer supported. Thanks On Monday, July 29, 2013 4:03:06 PM UTC+1, Tommy Newman wrote: > > Thanks Anash, I have put a couple of issues there, but perhaps you c

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Alan Coleman
I am correct in thinking that Client Login has been deprecated in v201306? Many thanks On Tuesday, August 20, 2013 10:12:19 AM UTC+1, Takeshi Hagikura (AdWords API Team) wrote: > > Hi Alan, > > What script are you running when you see a validation error? > Please see this >

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Alan Coleman
n has been deprecated in > v201306? > Right. Actually it has been > deprecated<https://developers.google.com/accounts/docs/AuthForInstalledApps> > more > than a year ago. > > Best, > - Takeshi, AdWords API Team > > On Tuesday, August 20, 2013 6:44:44 PM UTC+9, Alan Coleman wr

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Alan Coleman
As always, thanks very much for taking the time to help. Cheers! On Tuesday, August 20, 2013 3:26:13 PM UTC+1, Takeshi Hagikura (AdWords API Team) wrote: > > Hi Alan, > > > Just one more question if I may, how long will the refresh_token last > for? > refresh_token nev

Issues running GetRefreshToken.php

2013-08-20 Thread Alan Coleman
Hello everyone, I'm trying to get hold of a refresh_token for my auth.ini file I understand from the guidethat I need to run GetRefreshToken.php, however there doesn't seem to be much advice on actually *how* to run this file. At t

Re: Issues running GetRefreshToken.php

2013-08-21 Thread Alan Coleman
20, 2013 10:38:02 PM UTC+1, Ewan Heming wrote: > > Hi Alan, > > What's the error you're getting? > > Regards, > > Ewan > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussio

Re: Issues running GetRefreshToken.php

2013-08-21 Thread Alan Coleman
n.php on line 48 and defined in C:\wamp\www\adwords.fbt\adwords_api_php_4.2.5\src\Google\Api\Ads\Common\Util\OAuth2Handler.php on line *67* * * Thoughts? Many thanks. On Wednesday, August 21, 2013 10:59:02 AM UTC+1, Alan Coleman wrote: > > Hi Ewan, > > Thanks for replying, I've

Re: Issues running GetRefreshToken.php

2013-08-28 Thread Alan Coleman
g. Any thoughts would be greatly appreciated, as usual. Many thanks On Thursday, August 22, 2013 12:25:37 AM UTC+1, Ewan Heming wrote: > > Hi Alan, > > As Evgeniy mentioned, there's probably something wrong with your PHP > configuration, but you could try addi

Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-29 Thread Alan Coleman
Hi Mark, I'm currently working through the same situation myself. Frustrating isn't the word! Are your *client_id* and *client_secret* pair from your MCC Account? I think this is important, although it's hidden away in the documentation. I'd be interested to know how you get on with this, I'll

Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-29 Thread Alan Coleman
Thanks Ewan! Look at me, giving out bad advice on the forum! On Thursday, August 29, 2013 12:20:49 PM UTC+1, Ewan Heming wrote: > > Hi Alan, > > You shouldn't need a new developer token as you can use any token with any > authorized AdWords account. You can also u

Re: Issues running GetRefreshToken.php

2013-09-03 Thread Alan Coleman
28, 2013 9:33:02 PM UTC+1, Alan Coleman wrote: > > Hi Ewan and Evgeniy, > > This doesn't seem to be the simple process the Google guys are making out. > I'm following this process: > https://code.google.com/p/google-api-adwords-php/wiki/OAuth2 > > I've added

Completed OAuth2 setup but still being asked for email and password pair

2013-09-03 Thread Alan Coleman
Hello everyone, I have completed my OAuth2 set up but am still receiving errors asking for the email and password pair. This was my process, as per the documentation: 1. Set up an application in the API Console 2. client_id and client_secret added to auth.ini 3. client_id and client_s

Re: Completed OAuth2 setup but still being asked for email and password pair

2013-09-04 Thread Alan Coleman
makes sense. So I'm one step closer, now I'm just getting this error: Your OAuth2 Credentials are incorrect. Please see the GetRefreshToken.php example. access_token required. Cheers! The saga continues. On Wednesday, September 4, 2013 5:56:40 PM UTC+1, Brett Baggott wrote: > >

Google APIs Console. Web or Installed applications?

2013-09-05 Thread Alan Coleman
Hello everyone, I'm still struggling with OAuth2 Authentication, so I thought I'd go back to the start and clear up any confusion. My application resides on a webserver and is run through a web browser. It is not installed on any devices. When creating a Client ID in the Google APIs Console

Simple Questions about the OAuth2 access_token and Redirect URI

2013-09-05 Thread Alan Coleman
Hello everyone, Apologies for my lack of understanding surrounding this topic and continuous post about the basics of the protocol. I'm passing *client_id*, *client_secret* and *refresh_token* to the Google OAuth2 Authorisation Server but my application is returning an *access token required*

Re: Google APIs Console. Web or Installed applications?

2013-09-09 Thread Alan Coleman
n use Installed for this, I'm one hurdle further along. Thanks again for your help, much appreciated. On Thursday, September 5, 2013 5:36:35 PM UTC+1, Brett Baggott wrote: > > Alan, I suggest that, at least for your testing, you specify an > "Installed" application,

Re: Simple Questions about the OAuth2 access_token and Redirect URI

2013-09-09 Thread Alan Coleman
he access token from returning to my application? Many thanks. On Thursday, September 5, 2013 5:58:03 PM UTC+1, Brett Baggott wrote: > > Alan, here's a link to Google's official explanation of the different > types of > projects<https://developers.google.com/accounts/do

Re: Simple Questions about the OAuth2 access_token and Redirect URI

2013-09-10 Thread Alan Coleman
is real world example. Thanks again On Tuesday, September 10, 2013 5:03:36 PM UTC+1, David Torres (AdWords API Team) wrote: > > Hi Alan, > > You use your refresh token to generate new access tokens. Then the access > token is the one you include in the API calls so your request

Re: Simple Questions about the OAuth2 access_token and Redirect URI

2013-09-11 Thread Alan Coleman
Okay, I'm going to follow Ewan Heming's tutorial and see how I get on with that: http://www.ewanheming.com/adwords-api-oauth-tutorial Thanks On Tuesday, September 10, 2013 11:14:42 PM UTC+1, Alan Coleman wrote: > > Hi David, > > Many thanks for taking the time to reply

Re: Simple Questions about the OAuth2 access_token and Redirect URI

2013-09-24 Thread Alan Coleman
Thanks to Ewan's fantastic tutorial I know have OAuth2 sorted. Using his simple example everything I've spent the last few weeks reading now makes sense. Cheers Ewan! On Thursday, September 12, 2013 10:49:18 AM UTC, Ewan Heming wrote: > > Hi Alan, > > You might fin

Re: Completed OAuth2 setup but still being asked for email and password pair

2013-09-24 Thread Alan Coleman
et. https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/auth.ini Thanks for everyone's help and apologies for any time wasting. On Tuesday, September 3, 2013 6:36:05 PM UTC, Alan Coleman wrote: > > Hello everyone, > > I have completed my OAuth2 se

Network is unreachable using OAuth2 Authentication (Localhost okay)

2013-10-05 Thread Alan Coleman
Hello, My app uses OAuth2 Authentication on my local machine and works flawlessly using the API Console and the Refresh Token to swap the Access Token when necessary. However on my live app I get the following error: *Fatal error: Uncaught exception 'OAuth2Exception' with message 'Failed to

Re: Network is unreachable using OAuth2 Authentication (Localhost okay)

2013-10-07 Thread Alan Coleman
ber 5, 2013 4:52:29 PM UTC+1, Alan Coleman wrote: > > Hello, > > My app uses OAuth2 Authentication on my local machine and works flawlessly > using the API Console and the Refresh Token to swap the Access Token when > necessary. > > However on my live app I get the follow

OAuth2 response - Server Port configuration

2013-10-07 Thread Alan Coleman
Hello everyone, I'm having some connection issues between my AdWords app on Bluehost hosting and Google's servers. After the user grants access and the authorization code is returned back to my server I'm receiving the following error. *Failed to connect to 2607:f8b0:400e:c02::54: Network is u

Does the OAuth2 return from user consent use port 443?

2013-10-09 Thread Alan Coleman
Hello everyone, After the user gives consent in the OAuth2 authentication process does the access token get sent back to the application server on port 443 ? I've been tracing my packets backwards and forwards using Wireshark and have come to the conclusion that it does, I'd just like someone e

Re: OAuth2 response - Server Port configuration

2013-10-10 Thread Alan Coleman
r not listening. Can you confirm that the user consent response (that contains the tokens) uses port 443? Sorry! I just repeated what's in my other post, but some clarification would be good. Thanks again. On Monday, October 7, 2013 9:33:06 PM UTC, Alan Coleman wrote: > > Hello e

Re: OAuth2 response - Server Port configuration

2013-10-10 Thread Alan Coleman
Hi Danial, On further investigation using Nmap it turns out that port 443 on my host is open. So I'm still trying to establish why I'm getting this error: *Failed to connect to 2607:f8b0:400e:c02::54: Network is unreachable* * * Thanks On Thursday, October 10, 2013 2:54:08 PM UTC, Al

Re: Does the OAuth2 return from user consent use port 443?

2013-10-10 Thread Alan Coleman
Danial, After further investigation it turns out that this avenue is a Red Herring. This pot can be closed or deleted. Thanks On Wednesday, October 9, 2013 8:36:00 PM UTC, Alan Coleman wrote: > > Hello everyone, > > After the user gives consent in the OAuth2 authentication proc

Re: OAuth2 response - Server Port configuration

2013-10-10 Thread Alan Coleman
Hi Danial, I've deleted the other post. The issue in this one is the focus now. Many thanks On Thursday, October 10, 2013 9:57:18 AM UTC, Danial Klimkin wrote: > > Hi Alan, > > > I see two threads about this issue on the forum from you. From the first > one it looks like

Re: OAuth2 response - Server Port configuration

2013-10-15 Thread Alan Coleman
Hi Danial, As always, thanks for getting back to me. Can you give me a hint on where I'm going to disable IPv6? Am I going to make changes to my code or is it a server side issue? Thanks again. On Friday, October 11, 2013 3:39:05 PM UTC+1, Danial Klimkin wrote: > > Hello Alan, >

Re: OAuth2 response - Server Port configuration

2013-10-16 Thread Alan Coleman
Thanks Danial, I'll let you know what My outcome is. All the best. On Wednesday, October 16, 2013 12:48:03 PM UTC, Danial Klimkin wrote: > > Hello Alan, > > > This is a server-side setup, unfortunately I can not provide any more > details as it completely depends on th

Re: OAuth2 response - Server Port configuration

2013-10-16 Thread Alan Coleman
Thanks again Danial, Just to confirm. You think that my server is currently trying to connect to Google's via IPv6 and that instead I should try IPv4 ? Many thanks. On Wednesday, October 16, 2013 12:48:03 PM UTC, Danial Klimkin wrote: > > Hello Alan, > > > This is

Re: OAuth2 response - Server Port configuration

2013-10-17 Thread Alan Coleman
> > Hello Alan, > > > Yes, looks like the DNS server returns you an IPv6 address which you can't > reach. You need to make sure your application can connect to port 443 of > the Google servers. > > > -Danial, AdWords API Team. > > > On Wednesday,

  1   2   >